@chekinapp/ui 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -357,7 +357,6 @@ function cn(...inputs) {
357
357
  }
358
358
 
359
359
  // src/accordion/Accordion.tsx
360
- var import_Accordion = __toESM(require("./Accordion.module-5SXQLE6L.module.css"), 1);
361
360
  var import_jsx_runtime = require("react/jsx-runtime");
362
361
  var Accordion = AccordionPrimitive.Root;
363
362
  var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -366,8 +365,7 @@ var AccordionItem = React.forwardRef(({ className, ...props }, ref) => /* @__PUR
366
365
  ref,
367
366
  className: cn(
368
367
  "accordion__item",
369
- "transition-colors duration-200 ease-in-out",
370
- import_Accordion.default.accordion__item,
368
+ "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)]",
371
369
  className
372
370
  ),
373
371
  ...props
@@ -385,7 +383,7 @@ var AccordionTrigger = React.forwardRef(({ className, children, openIcon, closed
385
383
  "accordion__trigger",
386
384
  "flex h-auto w-full flex-1 items-center justify-between text-left outline-none transition-colors duration-200",
387
385
  "hover:no-underline disabled:pointer-events-none",
388
- import_Accordion.default.accordion__trigger,
386
+ "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)]",
389
387
  "group",
390
388
  className
391
389
  ),
@@ -397,8 +395,7 @@ var AccordionTrigger = React.forwardRef(({ className, children, openIcon, closed
397
395
  {
398
396
  className: cn(
399
397
  "accordion__icon",
400
- import_Accordion.default.accordion__icon,
401
- "shrink-0 rounded-full p-0.5",
398
+ "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",
402
399
  "transition-colors duration-200",
403
400
  "relative"
404
401
  ),
@@ -442,30 +439,19 @@ var AccordionContent = React.forwardRef(({ className, contentClassName, children
442
439
  "transition-all",
443
440
  "data-[state=closed]:animate-accordion-up",
444
441
  "data-[state=open]:animate-accordion-down",
445
- import_Accordion.default.accordion__content,
442
+ "text-[length:var(--accordion-content-font-size)] leading-[var(--accordion-content-line-height)] text-[var(--accordion-content-color)] data-[state=closed]:block",
446
443
  // TODO Uncomment the next line when dropdown position is fixed
447
444
  // 'overflow-hidden',
448
445
  className
449
446
  ),
450
447
  ...props,
451
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
452
- "div",
453
- {
454
- className: cn(
455
- "accordion__contentItem",
456
- import_Accordion.default.accordion__contentItem,
457
- contentClassName
458
- ),
459
- children
460
- }
461
- )
448
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: cn("accordion__contentItem px-6 pb-6 pt-2", contentClassName), children })
462
449
  }
463
450
  ));
464
451
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
465
452
 
466
453
  // src/alert-box/AlertBox.tsx
467
454
  var import_lucide_react2 = require("lucide-react");
468
- var import_AlertBox = __toESM(require("./AlertBox.module-PL4N3ELX.module.css"), 1);
469
455
  var import_jsx_runtime2 = require("react/jsx-runtime");
470
456
  var AlertType = /* @__PURE__ */ ((AlertType2) => {
471
457
  AlertType2["INFO"] = "INFO";
@@ -494,10 +480,10 @@ var sizeClasses = {
494
480
  ["L" /* L */]: "px-6 py-5 items-start"
495
481
  };
496
482
  var typeStyles = {
497
- ["INFO" /* INFO */]: import_AlertBox.default["alertBox--info"],
498
- ["WARNING" /* WARNING */]: import_AlertBox.default["alertBox--warning"],
499
- ["ERROR" /* ERROR */]: import_AlertBox.default["alertBox--error"],
500
- ["SUCCESS" /* SUCCESS */]: import_AlertBox.default["alertBox--success"],
483
+ ["INFO" /* INFO */]: "bg-[var(--alert-box-info-bg)] [&_svg]:text-[var(--alert-box-info-icon)]",
484
+ ["WARNING" /* WARNING */]: "bg-[var(--alert-box-warning-bg)] [&_svg]:text-[var(--alert-box-warning-icon)]",
485
+ ["ERROR" /* ERROR */]: "bg-[var(--alert-box-error-bg)] [&_svg]:text-[var(--alert-box-error-icon)]",
486
+ ["SUCCESS" /* SUCCESS */]: "bg-[var(--alert-box-success-bg)] text-[var(--alert-box-success-text)] [&_svg]:text-[var(--alert-box-success-icon)]",
501
487
  ["LIGHT" /* LIGHT */]: ""
502
488
  };
503
489
  function AlertBox({
@@ -514,8 +500,7 @@ function AlertBox({
514
500
  {
515
501
  "data-slot": "alert-box",
516
502
  className: cn(
517
- import_AlertBox.default.alertBox,
518
- "flex gap-3 [&_svg]:h-5 [&_svg]:w-5 [&_svg]:shrink-0",
503
+ "flex gap-3 rounded-[var(--alert-box-radius)] [&_svg]:h-5 [&_svg]:w-5 [&_svg]:shrink-0",
519
504
  sizeClasses[size],
520
505
  typeStyles[type],
521
506
  className
@@ -534,7 +519,6 @@ var AlertSizes = AlertSize;
534
519
  // src/audio-player/AudioPlayer.tsx
535
520
  var import_react = require("react");
536
521
  var import_lucide_react3 = require("lucide-react");
537
- var import_AudioPlayer = __toESM(require("./AudioPlayer.module-RDUQ533M.module.css"), 1);
538
522
  var import_jsx_runtime3 = require("react/jsx-runtime");
539
523
  function formatTime(seconds) {
540
524
  const mins = Math.floor(seconds / 60);
@@ -598,8 +582,7 @@ function AudioPlayer({ src, compact, className }) {
598
582
  {
599
583
  type: "button",
600
584
  className: cn(
601
- import_AudioPlayer.default.playButton,
602
- "inline-flex items-center justify-center",
585
+ "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)]",
603
586
  compact ? "h-6 min-w-6 p-1" : "h-8 min-w-8 p-1.5"
604
587
  ),
605
588
  onClick: togglePlayPause,
@@ -611,24 +594,18 @@ function AudioPlayer({ src, compact, className }) {
611
594
  "div",
612
595
  {
613
596
  ref: progressRef,
614
- className: cn(
615
- import_AudioPlayer.default.track,
616
- "h-1 flex-1 cursor-pointer overflow-hidden rounded-full"
617
- ),
597
+ className: "h-1 flex-1 cursor-pointer overflow-hidden rounded-full bg-[var(--audio-player-track-bg)]",
618
598
  onClick: handleSeek,
619
599
  children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
620
600
  "div",
621
601
  {
622
- className: cn(
623
- import_AudioPlayer.default.progress,
624
- "h-full transition-all duration-100 ease-linear"
625
- ),
602
+ className: "h-full bg-[var(--audio-player-progress-bg)] transition-all duration-100 ease-linear",
626
603
  style: { width: `${progress}%` }
627
604
  }
628
605
  )
629
606
  }
630
607
  ),
631
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: cn(import_AudioPlayer.default.time, "min-w-10 text-xs font-medium"), children: isPlaying || currentTime > 0 ? formatTime(currentTime) : formatTime(duration) })
608
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: "min-w-10 text-xs font-medium text-[var(--audio-player-time-color)]", children: isPlaying || currentTime > 0 ? formatTime(currentTime) : formatTime(duration) })
632
609
  ] })
633
610
  ] });
634
611
  }
@@ -637,7 +614,6 @@ AudioPlayer.displayName = "AudioPlayer";
637
614
  // src/avatar/Avatar.tsx
638
615
  var React2 = __toESM(require("react"), 1);
639
616
  var AvatarPrimitive = __toESM(require("@radix-ui/react-avatar"), 1);
640
- var import_Avatar = __toESM(require("./Avatar.module-VPJKIZT3.module.css"), 1);
641
617
  var import_jsx_runtime4 = require("react/jsx-runtime");
642
618
  var sizeClasses2 = {
643
619
  sm: "h-8 w-8",
@@ -669,7 +645,7 @@ var Avatar = React2.forwardRef(({ className, src, alt, fallback, size = "md", fa
669
645
  {
670
646
  className: cn(
671
647
  "flex h-full w-full items-center justify-center rounded-full font-medium",
672
- !fallbackClassName && import_Avatar.default.fallback,
648
+ !fallbackClassName && "bg-[var(--avatar-fallback-bg)] text-[var(--avatar-fallback-text)]",
673
649
  fallbackClassName
674
650
  ),
675
651
  children: fallback
@@ -722,7 +698,6 @@ Badge.displayName = "Badge";
722
698
 
723
699
  // src/beta-badge/BetaBadge.tsx
724
700
  var import_react_i18next = require("react-i18next");
725
- var import_BetaBadge = __toESM(require("./BetaBadge.module-W2AGK53A.module.css"), 1);
726
701
  var import_jsx_runtime6 = require("react/jsx-runtime");
727
702
  function BetaBadge({
728
703
  className,
@@ -737,9 +712,8 @@ function BetaBadge({
737
712
  {
738
713
  "data-slot": "beta-badge",
739
714
  className: cn(
740
- import_BetaBadge.default.betaBadge,
741
- "rounded-sm px-2 py-1 text-sm/4 font-semibold uppercase",
742
- readOnly && import_BetaBadge.default["betaBadge--readonly"],
715
+ "rounded-sm bg-[var(--beta-badge-bg)] px-2 py-1 text-sm/4 font-semibold uppercase text-[var(--beta-badge-text)]",
716
+ readOnly && "bg-[var(--beta-badge-readonly-bg)] text-[var(--beta-badge-readonly-text)]",
743
717
  className
744
718
  ),
745
719
  ...props,
@@ -830,7 +804,6 @@ BookmarkTabsTrigger.displayName = "BookmarkTabsTrigger";
830
804
  // src/box-option-selector/BoxOptionSelector.tsx
831
805
  var import_react2 = require("react");
832
806
  var import_react_i18next2 = require("react-i18next");
833
- var import_BoxOptionSelector = __toESM(require("./BoxOptionSelector.module-24AKP2OJ.module.css"), 1);
834
807
  var import_jsx_runtime8 = require("react/jsx-runtime");
835
808
  var BoxOptionSelector = (0, import_react2.forwardRef)(
836
809
  ({
@@ -866,9 +839,8 @@ var BoxOptionSelector = (0, import_react2.forwardRef)(
866
839
  ref,
867
840
  "data-slot": "box-option-selector",
868
841
  className: cn(
869
- import_BoxOptionSelector.default.boxOption,
870
- "flex min-h-[116px] w-full max-w-[400px] cursor-pointer flex-col gap-4 rounded-lg border p-4 transition-all duration-200",
871
- isSelected && import_BoxOptionSelector.default["boxOption--selected"],
842
+ "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)]",
843
+ isSelected && "border-[var(--box-option-selected-border)] bg-[var(--box-option-selected-bg)] hover:bg-[var(--box-option-selected-bg)]",
872
844
  disabled && "cursor-not-allowed opacity-50"
873
845
  ),
874
846
  onClick: handleClick,
@@ -1834,15 +1806,14 @@ function ScrollBar({
1834
1806
  }
1835
1807
 
1836
1808
  // src/error-message/ErrorMessage.tsx
1837
- var import_styles = __toESM(require("./styles.module-VIYXJAAX.module.css"), 1);
1838
1809
  var import_jsx_runtime22 = require("react/jsx-runtime");
1839
1810
  function ErrorMessage({ className, children, disabled }) {
1840
1811
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1841
1812
  "div",
1842
1813
  {
1843
1814
  className: cn(
1844
- import_styles.default.ErrorMessage,
1845
- disabled && import_styles.default.ErrorMessage__disabled,
1815
+ "mt-0.5 text-left text-sm font-medium text-[var(--error-message-color)]",
1816
+ disabled && "opacity-30",
1846
1817
  className
1847
1818
  ),
1848
1819
  children
@@ -2018,7 +1989,7 @@ var StatusBadgeInternal = (0, import_react4.forwardRef)(
2018
1989
  disabled = false,
2019
1990
  ...props
2020
1991
  }, ref) => {
2021
- const styles25 = variantStyles[variant];
1992
+ const styles = variantStyles[variant];
2022
1993
  const hasText = !iconOnly && (children || !textOnly);
2023
1994
  const hasIcon = !textOnly && showIcon;
2024
1995
  const padding = (() => {
@@ -2033,15 +2004,15 @@ var StatusBadgeInternal = (0, import_react4.forwardRef)(
2033
2004
  ref,
2034
2005
  className: cn(
2035
2006
  "inline-flex cursor-default items-center justify-center gap-1 rounded-3xl text-[14px] font-medium leading-4",
2036
- styles25.container,
2037
- styles25.text,
2007
+ styles.container,
2008
+ styles.text,
2038
2009
  padding,
2039
2010
  disabled && "opacity-50",
2040
2011
  className
2041
2012
  ),
2042
2013
  ...props,
2043
2014
  children: [
2044
- hasIcon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StatusBadgeIcon, { variant: styles25.icon, className: "size-4 flex-shrink-0" }),
2015
+ hasIcon && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(StatusBadgeIcon, { variant: styles.icon, className: "size-4 flex-shrink-0" }),
2045
2016
  hasText && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "whitespace-nowrap", children })
2046
2017
  ]
2047
2018
  }
@@ -2248,18 +2219,9 @@ var import_react_table = require("@tanstack/react-table");
2248
2219
  var import_react7 = require("react");
2249
2220
 
2250
2221
  // src/loading-bar/LoadingBar.tsx
2251
- var import_styles2 = __toESM(require("./styles.module-I3PJNRXG.module.css"), 1);
2252
2222
  var import_jsx_runtime28 = require("react/jsx-runtime");
2253
2223
  function LoadingBar({ className }) {
2254
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cn("w-full p-4", className), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "relative h-1 w-full overflow-hidden rounded-full bg-[var(--chekin-color-white)]", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2255
- "div",
2256
- {
2257
- className: cn(
2258
- "absolute top-0 h-full rounded-full bg-[var(--primary)]",
2259
- import_styles2.default.bar
2260
- )
2261
- }
2262
- ) }) });
2224
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: cn("w-full p-4", className), children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "relative h-1 w-full overflow-hidden rounded-full bg-[var(--chekin-color-white)]", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { className: "absolute top-0 h-full animate-chekin-loading-bar rounded-full bg-[var(--primary)]" }) }) });
2263
2225
  }
2264
2226
 
2265
2227
  // src/table/Table.tsx
@@ -3902,19 +3864,19 @@ var HaloIcon = (0, import_react34.forwardRef)(
3902
3864
  size = "M",
3903
3865
  className
3904
3866
  }, ref) => {
3905
- const styles25 = statusStyles[status];
3867
+ const styles = statusStyles[status];
3906
3868
  return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
3907
3869
  "div",
3908
3870
  {
3909
3871
  ref,
3910
3872
  className: cn(
3911
3873
  "halo-icon flex items-center justify-center rounded-[50%]",
3912
- styles25.color,
3874
+ styles.color,
3913
3875
  {
3914
3876
  "h-6 w-6 [&>svg]:h-4 [&>svg]:w-4": size === "M",
3915
3877
  "h-8 w-8 [&>svg]:h-5 [&>svg]:w-5": size === "L",
3916
3878
  "h-11 w-11 [&>svg]:h-5 [&>svg]:w-5": size === "XL",
3917
- [styles25.background]: variant === "default"
3879
+ [styles.background]: variant === "default"
3918
3880
  },
3919
3881
  className
3920
3882
  ),
@@ -4488,27 +4450,48 @@ var FileInputButton = (0, import_react36.forwardRef)(
4488
4450
  FileInputButton.displayName = "FileInputButton";
4489
4451
 
4490
4452
  // src/form-box/Content.tsx
4491
- var import_FormBox = __toESM(require("./FormBox.module-WG4SQBRR.module.css"), 1);
4492
4453
  var import_jsx_runtime54 = require("react/jsx-runtime");
4493
4454
  function Content5({ children, className, ...props }) {
4494
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: cn(import_FormBox.default.content, className), ...props, children });
4455
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
4456
+ "div",
4457
+ {
4458
+ className: cn(
4459
+ "flex flex-wrap content-start items-start gap-4 self-stretch",
4460
+ className
4461
+ ),
4462
+ ...props,
4463
+ children
4464
+ }
4465
+ );
4495
4466
  }
4496
4467
 
4497
4468
  // src/form-box/Header.tsx
4498
- var import_FormBox2 = __toESM(require("./FormBox.module-WG4SQBRR.module.css"), 1);
4499
4469
  var import_jsx_runtime55 = require("react/jsx-runtime");
4500
4470
  function Header2({ children, className, ...props }) {
4501
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("h2", { className: cn(import_FormBox2.default.header, className), ...props, children });
4471
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
4472
+ "h2",
4473
+ {
4474
+ className: cn(
4475
+ "m-0 flex items-center gap-2 self-stretch p-0 text-2xl font-semibold leading-normal text-[var(--chekin-color-brand-navy)]",
4476
+ className
4477
+ ),
4478
+ ...props,
4479
+ children
4480
+ }
4481
+ );
4502
4482
  }
4503
4483
 
4504
4484
  // src/form-box/Root.tsx
4505
- var import_FormBox3 = __toESM(require("./FormBox.module-WG4SQBRR.module.css"), 1);
4506
4485
  var import_jsx_runtime56 = require("react/jsx-runtime");
4507
4486
  function Root10({ children, nested, className, ...props }) {
4508
4487
  return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
4509
4488
  "div",
4510
4489
  {
4511
- className: cn(import_FormBox3.default.wrapper, nested && import_FormBox3.default.wrapperNested, className),
4490
+ className: cn(
4491
+ "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]",
4492
+ nested && "border-0 p-0",
4493
+ className
4494
+ ),
4512
4495
  ...props,
4513
4496
  children
4514
4497
  }
@@ -4516,10 +4499,19 @@ function Root10({ children, nested, className, ...props }) {
4516
4499
  }
4517
4500
 
4518
4501
  // src/form-box/SubHeader.tsx
4519
- var import_FormBox4 = __toESM(require("./FormBox.module-WG4SQBRR.module.css"), 1);
4520
4502
  var import_jsx_runtime57 = require("react/jsx-runtime");
4521
4503
  function SubHeader({ children, className, ...props }) {
4522
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("h4", { className: cn(import_FormBox4.default.subHeader, className), ...props, children });
4504
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4505
+ "h4",
4506
+ {
4507
+ className: cn(
4508
+ "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)]",
4509
+ className
4510
+ ),
4511
+ ...props,
4512
+ children
4513
+ }
4514
+ );
4523
4515
  }
4524
4516
 
4525
4517
  // src/form-box/index.ts
@@ -4533,7 +4525,6 @@ var FormBox = {
4533
4525
  // src/free-text-field/FreeTextField.tsx
4534
4526
  var import_react37 = require("react");
4535
4527
  var import_react_i18next10 = require("react-i18next");
4536
- var import_styles3 = __toESM(require("./styles.module-SHDCFZJR.module.css"), 1);
4537
4528
  var import_jsx_runtime58 = require("react/jsx-runtime");
4538
4529
  var FreeTextField = (0, import_react37.forwardRef)(
4539
4530
  ({
@@ -4579,65 +4570,81 @@ var FreeTextField = (0, import_react37.forwardRef)(
4579
4570
  onBlur?.(event);
4580
4571
  };
4581
4572
  const fieldBoxClassName = cn(
4582
- import_styles3.default.fieldBox,
4583
- autocompleted && import_styles3.default.fieldBoxAutocompleted,
4584
- isErrorWrong && !autocompleted && import_styles3.default.fieldBoxErrorWrong,
4585
- !autocompleted && !isErrorWrong && !isEmpty && import_styles3.default.fieldBoxFilled,
4586
- !autocompleted && !isErrorWrong && isEmpty && import_styles3.default.fieldBoxEmpty,
4587
- isFocused && !hasError && import_styles3.default.fieldBoxFocused
4573
+ "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",
4574
+ autocompleted && "border-[var(--chekin-color-brand-navy)] bg-[var(--chekin-color-surface-autocomplete)]",
4575
+ isErrorWrong && !autocompleted && "border-[var(--error-message-color)] bg-white",
4576
+ !autocompleted && !isErrorWrong && !isEmpty && "border-[var(--chekin-color-brand-navy)] bg-white",
4577
+ !autocompleted && !isErrorWrong && isEmpty && "border-[rgba(22,22,67,0.2)] bg-[var(--chekin-color-surface-input-empty)]",
4578
+ isFocused && !hasError && "border-[var(--chekin-color-brand-blue)]"
4588
4579
  );
4589
4580
  const inputPlaceholder = fieldStyle === "new" ? label : placeholder;
4590
4581
  const showFloatingLabel = fieldStyle === "new" && !isEmpty && Boolean(label);
4591
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: cn(import_styles3.default.container, className), children: [
4592
- fieldStyle === "current" && label && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: import_styles3.default.labelRow, children: [
4593
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("label", { htmlFor: inputId, className: import_styles3.default.labelText, children: label }),
4594
- optional && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: import_styles3.default.optionalText, children: [
4595
- "- ",
4596
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("em", { children: optionalLabel || t("optional") })
4597
- ] }),
4598
- tooltip && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: import_styles3.default.tooltip, children: tooltip })
4599
- ] }),
4600
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: fieldBoxClassName, children: [
4601
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4602
- "input",
4603
- {
4604
- ref,
4605
- id: inputId,
4606
- className: import_styles3.default.input,
4607
- placeholder: inputPlaceholder,
4608
- value,
4609
- defaultValue: value === void 0 ? defaultValue : void 0,
4610
- onChange: handleChange,
4611
- onFocus: handleFocus,
4612
- onBlur: handleBlur,
4613
- disabled,
4614
- ...inputProps
4615
- }
4582
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
4583
+ "div",
4584
+ {
4585
+ className: cn(
4586
+ "relative flex w-[300px] flex-col gap-1 [font-family:var(--chekin-font-family-primary)]",
4587
+ className
4616
4588
  ),
4617
- icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: import_styles3.default.icon, children: icon }),
4618
- showFloatingLabel && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4619
- "div",
4620
- {
4621
- className: cn(
4622
- import_styles3.default.floatingLabel,
4623
- autocompleted && import_styles3.default.floatingLabelAutocompleted
4589
+ children: [
4590
+ fieldStyle === "current" && label && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-1", children: [
4591
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4592
+ "label",
4593
+ {
4594
+ htmlFor: inputId,
4595
+ className: "text-base font-medium leading-4 text-[var(--chekin-color-brand-navy)]",
4596
+ children: label
4597
+ }
4624
4598
  ),
4625
- children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4626
- "span",
4599
+ optional && /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: "text-base leading-4 text-[var(--chekin-color-brand-navy)] [&_em]:text-[var(--chekin-color-gray-2)]", children: [
4600
+ "- ",
4601
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("em", { children: optionalLabel || t("optional") })
4602
+ ] }),
4603
+ tooltip && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "h-4 w-4 shrink-0", children: tooltip })
4604
+ ] }),
4605
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: fieldBoxClassName, children: [
4606
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4607
+ "input",
4608
+ {
4609
+ ref,
4610
+ id: inputId,
4611
+ 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)]",
4612
+ placeholder: inputPlaceholder,
4613
+ value,
4614
+ defaultValue: value === void 0 ? defaultValue : void 0,
4615
+ onChange: handleChange,
4616
+ onFocus: handleFocus,
4617
+ onBlur: handleBlur,
4618
+ disabled,
4619
+ ...inputProps
4620
+ }
4621
+ ),
4622
+ icon && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex h-6 w-6 shrink-0 items-center justify-center", children: icon }),
4623
+ showFloatingLabel && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4624
+ "div",
4627
4625
  {
4628
4626
  className: cn(
4629
- import_styles3.default.floatingLabelText,
4630
- isErrorWrong && import_styles3.default.floatingLabelTextError
4627
+ "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]",
4628
+ autocompleted && "to-[var(--chekin-color-surface-autocomplete)]"
4631
4629
  ),
4632
- children: label
4630
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4631
+ "span",
4632
+ {
4633
+ className: cn(
4634
+ "whitespace-nowrap text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]",
4635
+ isErrorWrong && "text-[var(--error-message-color)]"
4636
+ ),
4637
+ children: label
4638
+ }
4639
+ )
4633
4640
  }
4634
4641
  )
4635
- }
4636
- )
4637
- ] }),
4638
- supportingText && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: import_styles3.default.supportingText, children: supportingText }),
4639
- error && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: import_styles3.default.errorText, children: error })
4640
- ] });
4642
+ ] }),
4643
+ supportingText && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "m-0 text-xs italic leading-normal text-[var(--chekin-color-gray-2)]", children: supportingText }),
4644
+ error && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("p", { className: "m-0 text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: error })
4645
+ ]
4646
+ }
4647
+ );
4641
4648
  }
4642
4649
  );
4643
4650
  FreeTextField.displayName = "FreeTextField";
@@ -6074,8 +6081,14 @@ function Loader({
6074
6081
 
6075
6082
  // src/metric-card/MetricCard.tsx
6076
6083
  var import_lucide_react23 = require("lucide-react");
6077
- var import_MetricCard = __toESM(require("./MetricCard.module-LEV46BXD.module.css"), 1);
6078
6084
  var import_jsx_runtime75 = require("react/jsx-runtime");
6085
+ var metricCardVariantClasses = {
6086
+ blue: "bg-[linear-gradient(122deg,#e6f0ff_36.37%,#f6f9ff_86.4%)] text-[#385cf8] [&_[data-slot=metric-card-icon]]:bg-[#dbeafe]",
6087
+ green: "bg-[linear-gradient(122deg,#ddfbf4_36.37%,#f5fefc_86.4%)] text-[#2bc29f] [&_[data-slot=metric-card-icon]]:bg-[#cff9ef]",
6088
+ orange: "bg-[linear-gradient(122deg,#ffeddc_36.37%,#fffaf5_86.4%)] text-[#f5721a] [&_[data-slot=metric-card-icon]]:bg-[#ffe5cd]",
6089
+ purple: "bg-[linear-gradient(122deg,#f5edff_36.37%,#fcfaff_86.4%)] text-[#9a51ff] [&_[data-slot=metric-card-icon]]:bg-[#f0e5ff]",
6090
+ yellow: "bg-[linear-gradient(122deg,#fff8e5_36.37%,#fffbef_86.4%)] text-[#ce8b0b] [&_[data-slot=metric-card-icon]]:bg-[#ffeeb2]"
6091
+ };
6079
6092
  function MetricCard({
6080
6093
  title,
6081
6094
  value,
@@ -6090,37 +6103,41 @@ function MetricCard({
6090
6103
  "div",
6091
6104
  {
6092
6105
  className: cn(
6093
- import_MetricCard.default.MetricCard,
6094
- import_MetricCard.default[`MetricCard--${variant}`],
6095
- loading && import_MetricCard.default["MetricCard--loading"],
6106
+ "flex w-full min-w-52 gap-2 rounded-lg border border-[var(--chekin-color-gray-3)] p-4",
6107
+ metricCardVariantClasses[variant],
6108
+ loading && "cursor-progress opacity-60",
6096
6109
  className
6097
6110
  ),
6098
6111
  children: [
6099
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: import_MetricCard.default.MetricCard__iconContainer, children: icon }),
6100
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: import_MetricCard.default.MetricCard__content, children: [
6101
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: import_MetricCard.default.MetricCard__header, children: [
6102
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("h4", { className: import_MetricCard.default.MetricCard__title, children: title }),
6112
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6113
+ "div",
6114
+ {
6115
+ "data-slot": "metric-card-icon",
6116
+ className: "flex h-6 w-6 shrink-0 items-center justify-center rounded-full mix-blend-multiply",
6117
+ children: icon
6118
+ }
6119
+ ),
6120
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex flex-1 flex-col gap-4", children: [
6121
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex items-center gap-1", children: [
6122
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("h4", { className: "whitespace-nowrap text-base font-medium leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
6103
6123
  tooltip && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Tooltip, { side: "right", content: tooltip, contentClassName: "max-w-64", children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6104
6124
  "button",
6105
6125
  {
6106
6126
  type: "button",
6107
- className: cn(
6108
- "inline-flex text-[var(--chekin-color-gray-1)]",
6109
- import_MetricCard.default.MetricCard__tooltip
6110
- ),
6127
+ className: "inline-flex text-[var(--chekin-color-gray-1)]",
6111
6128
  "aria-label": tooltip,
6112
6129
  children: /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_lucide_react23.CircleQuestionMark, { className: "h-4 w-4" })
6113
6130
  }
6114
6131
  ) })
6115
6132
  ] }),
6116
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: import_MetricCard.default.MetricCard__footer, children: [
6117
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: import_MetricCard.default.MetricCard__value, children: value }),
6133
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
6134
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("div", { className: "text-2xl font-bold leading-6", children: value }),
6118
6135
  !!percentage && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6119
6136
  "div",
6120
6137
  {
6121
6138
  className: cn(
6122
- import_MetricCard.default.MetricCard__percentage,
6123
- percentage < 0 ? import_MetricCard.default["--negative"] : ""
6139
+ "inline-flex items-center gap-x-1 text-base font-semibold leading-6 text-[#059669]",
6140
+ percentage < 0 && "text-[var(--chekin-color-brand-red)]"
6124
6141
  ),
6125
6142
  children: [
6126
6143
  percentage < 0 ? /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_lucide_react23.TrendingDown, {}) : /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(import_lucide_react23.TrendingUp, {}),
@@ -6148,7 +6165,6 @@ var METRIC_CARD_VARIANTS = {
6148
6165
  // src/modal/Modal.tsx
6149
6166
  var import_react47 = require("react");
6150
6167
  var import_lucide_react24 = require("lucide-react");
6151
- var import_styles4 = __toESM(require("./styles.module-74HHIGIE.module.css"), 1);
6152
6168
  var import_jsx_runtime76 = require("react/jsx-runtime");
6153
6169
  var preventDefault = (event) => {
6154
6170
  event.preventDefault();
@@ -6192,9 +6208,9 @@ function Modal({
6192
6208
  overlayClassName,
6193
6209
  className: cn(
6194
6210
  "modal__content",
6195
- import_styles4.default.modal__content,
6211
+ "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)]",
6196
6212
  scrollableOverlay && "min-h-0",
6197
- size === "compact" && import_styles4.default.modal__contentCompact,
6213
+ size === "compact" && "w-[360px] min-w-0",
6198
6214
  className
6199
6215
  ),
6200
6216
  lockScroll,
@@ -6205,16 +6221,28 @@ function Modal({
6205
6221
  {
6206
6222
  type: "button",
6207
6223
  onClick: handleClose,
6208
- className: cn("modal__close", import_styles4.default.modal__close),
6224
+ className: cn(
6225
+ "modal__close",
6226
+ "absolute right-4 top-4 z-10 rounded-full p-1 text-[var(--chekin-color-brand-blue)] hover:bg-[#f4f6f8]"
6227
+ ),
6209
6228
  "aria-label": "Close",
6210
6229
  children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(import_lucide_react24.X, { className: "h-5 w-5" })
6211
6230
  }
6212
6231
  ),
6213
- (iconSrc || iconProps?.src) && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: cn("modal__icon", import_styles4.default.modal__icon), children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
6214
- title ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogTitle, { className: cn("modal__title", import_styles4.default.modal__title), children: title }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogVisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogTitle, { children: "Dialog" }) }),
6215
- text && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogDescription, { className: cn("modal__text", import_styles4.default.modal__text), children: text }),
6232
+ (iconSrc || iconProps?.src) && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "modal__icon mx-auto mt-4 select-none", children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
6233
+ title ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogTitle, { className: cn("modal__title", "px-6 text-lg font-bold"), children: title }) : /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogVisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogTitle, { children: "Dialog" }) }),
6234
+ text && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(DialogDescription, { className: cn("modal__text", "text-base"), children: text }),
6216
6235
  children,
6217
- buttons && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: cn("modal__buttons-wrapper", import_styles4.default.modal__buttonsWrapper), children: buttons })
6236
+ buttons && /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
6237
+ "div",
6238
+ {
6239
+ className: cn(
6240
+ "modal__buttons-wrapper",
6241
+ "mb-2 mt-6 flex flex-col items-center justify-center gap-y-4"
6242
+ ),
6243
+ children: buttons
6244
+ }
6245
+ )
6218
6246
  ]
6219
6247
  }
6220
6248
  ) });
@@ -6224,7 +6252,7 @@ var ModalButton = (0, import_react47.forwardRef)(
6224
6252
  Button,
6225
6253
  {
6226
6254
  ref,
6227
- className: cn("modal__button", import_styles4.default.modal__button, className),
6255
+ className: cn("modal__button", "min-w-[210px]", className),
6228
6256
  size: size && "lg",
6229
6257
  ...props,
6230
6258
  children
@@ -6994,7 +7022,6 @@ function useRadioOptions({ options, defaultValue, onChange }) {
6994
7022
  }
6995
7023
 
6996
7024
  // src/radio/Radio.tsx
6997
- var import_styles5 = __toESM(require("./styles.module-REEJNJNW.module.css"), 1);
6998
7025
  var import_jsx_runtime88 = require("react/jsx-runtime");
6999
7026
  var Radio = (0, import_react53.forwardRef)(
7000
7027
  ({ options, value, onChange, error, className = "", disabled = false, renderOption }, ref) => {
@@ -7023,8 +7050,8 @@ var Radio = (0, import_react53.forwardRef)(
7023
7050
  {
7024
7051
  className: cn(
7025
7052
  "radio__wrapper",
7026
- import_styles5.default.radio__wrapper,
7027
- (disabled || option.disabled) && import_styles5.default.radio__wrapper_disabled
7053
+ "flex cursor-pointer items-center gap-2",
7054
+ (disabled || option.disabled) && "cursor-default opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
7028
7055
  ),
7029
7056
  children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(import_jsx_runtime88.Fragment, { children: [
7030
7057
  /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
@@ -7036,7 +7063,7 @@ var Radio = (0, import_react53.forwardRef)(
7036
7063
  className: "radio__indicator"
7037
7064
  }
7038
7065
  ),
7039
- /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: cn(import_styles5.default.radio__label, "radio_label"), children: option.label })
7066
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("p", { className: "radio_label", children: option.label })
7040
7067
  ] })
7041
7068
  },
7042
7069
  option.value
@@ -7136,7 +7163,6 @@ function RatingProgress({
7136
7163
 
7137
7164
  // src/rating-radio-group/RatingRadioGroup.tsx
7138
7165
  var import_lucide_react29 = require("lucide-react");
7139
- var import_styles6 = __toESM(require("./styles.module-H7R2VV2Q.module.css"), 1);
7140
7166
  var import_jsx_runtime91 = require("react/jsx-runtime");
7141
7167
  var getStarColor = (optionValue) => (value) => {
7142
7168
  if (value >= optionValue) return "#facc15";
@@ -7150,13 +7176,13 @@ function RatingRadioGroup({
7150
7176
  className,
7151
7177
  options
7152
7178
  }) {
7153
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("fieldset", { className: cn(className, import_styles6.default.RatingRadioGroup), children: [
7154
- label && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("legend", { className: import_styles6.default.RatingRadioGroup__legend, children: label }),
7155
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: cn(import_styles6.default.RatingRadioGroup__list, "RatingRadioGroup__list"), children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("label", { className: import_styles6.default.RatingRadioGroup__label, children: [
7179
+ return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("fieldset", { className: cn("relative [all:unset]", className), children: [
7180
+ label && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("legend", { className: "mb-2", children: label }),
7181
+ /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "RatingRadioGroup__list flex gap-2", children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("label", { children: [
7156
7182
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7157
7183
  "input",
7158
7184
  {
7159
- className: import_styles6.default.RatingRadioGroup__input,
7185
+ className: "peer absolute h-0 w-0 opacity-0",
7160
7186
  type: "radio",
7161
7187
  name,
7162
7188
  checked: value === option.value,
@@ -7167,7 +7193,7 @@ function RatingRadioGroup({
7167
7193
  /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(
7168
7194
  import_lucide_react29.Star,
7169
7195
  {
7170
- className: import_styles6.default.RatingRadioGroup__star,
7196
+ className: "cursor-pointer rounded peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-[#385bf8]",
7171
7197
  size: 24,
7172
7198
  "aria-label": option.label,
7173
7199
  color: getStarColor(option.value)(value || 0),
@@ -7393,7 +7419,6 @@ var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
7393
7419
  })(SubSectionSize || {});
7394
7420
 
7395
7421
  // src/section/Section.tsx
7396
- var import_Section = __toESM(require("./Section.module-6UJGBE6B.module.css"), 1);
7397
7422
  var import_jsx_runtime97 = require("react/jsx-runtime");
7398
7423
  function TooltipInfo({ content, className }) {
7399
7424
  return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
@@ -7426,45 +7451,62 @@ var Section = (0, import_react54.forwardRef)(
7426
7451
  {
7427
7452
  ref,
7428
7453
  className: cn(
7429
- import_Section.default.section,
7430
- loading && import_Section.default.section_loading,
7431
- disabled && import_Section.default.section_disabled,
7454
+ "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",
7455
+ loading && "cursor-progress",
7456
+ disabled && "pointer-events-none opacity-50",
7432
7457
  { "!hidden": hidden },
7433
7458
  className
7434
7459
  ),
7435
7460
  children: [
7436
- (title || subtitle) && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: import_Section.default.section__header, children: [
7461
+ (title || subtitle) && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "flex flex-col gap-2", children: [
7437
7462
  title && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
7438
7463
  "div",
7439
7464
  {
7440
7465
  className: cn(
7441
- import_Section.default.section__title,
7442
- size === 0 /* L */ && import_Section.default.section__titleLarge
7466
+ "flex max-w-[85%] items-center text-lg font-bold text-[var(--chekin-color-brand-navy)] md:max-w-full",
7467
+ size !== 0 /* L */ && "subsection-title"
7443
7468
  ),
7444
7469
  children: [
7445
7470
  title,
7446
- titleTooltip && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: import_Section.default.section__titleTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(TooltipInfo, { content: titleTooltip }) }),
7447
- linkContent && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: import_Section.default.section__titleLink, children: linkContent })
7471
+ titleTooltip && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "ml-2.5", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(TooltipInfo, { content: titleTooltip }) }),
7472
+ linkContent && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "ml-6 text-sm font-semibold text-[var(--chekin-color-brand-blue)] no-underline hover:opacity-70 active:opacity-100", children: linkContent })
7448
7473
  ]
7449
7474
  }
7450
7475
  ),
7451
- subtitle && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: import_Section.default.section__subtitleWrapper, children: [
7452
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: import_Section.default.section__subtitle, children: subtitle }),
7453
- subtitleTooltip && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: import_Section.default.section__subtitleTooltip, children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(TooltipInfo, { content: subtitleTooltip }) })
7476
+ subtitle && /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7477
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7478
+ subtitleTooltip && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(TooltipInfo, { content: subtitleTooltip }) })
7454
7479
  ] })
7455
7480
  ] }),
7456
- loading && showLoader ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Loader, { className: import_Section.default.section__loader }) : children
7481
+ loading && showLoader ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Loader, { className: "mx-auto mb-3 mt-2.5" }) : children
7457
7482
  ]
7458
7483
  }
7459
7484
  )
7460
7485
  );
7461
7486
  Section.displayName = "Section";
7462
7487
  var SubSection = (0, import_react54.forwardRef)(
7463
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Section, { ref, className: cn(import_Section.default.section_sub, className), ...props })
7488
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7489
+ Section,
7490
+ {
7491
+ ref,
7492
+ className: cn(
7493
+ "m-0 box-border rounded-none border-none bg-transparent p-0 [&_.subsection-title]:text-base [&_.subsection-title]:font-semibold",
7494
+ className
7495
+ ),
7496
+ ...props
7497
+ }
7498
+ )
7464
7499
  );
7465
7500
  SubSection.displayName = "SubSection";
7466
7501
  var DividingSubsection = (0, import_react54.forwardRef)(
7467
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(SubSection, { ref, className: cn(import_Section.default.section_dividing, className), ...props })
7502
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7503
+ SubSection,
7504
+ {
7505
+ ref,
7506
+ className: cn("border-0 border-t border-solid border-t-[#f1f1f1] pt-6", className),
7507
+ ...props
7508
+ }
7509
+ )
7468
7510
  );
7469
7511
  DividingSubsection.displayName = "DividingSubsection";
7470
7512
 
@@ -7472,7 +7514,6 @@ DividingSubsection.displayName = "DividingSubsection";
7472
7514
  var import_react55 = require("react");
7473
7515
 
7474
7516
  // src/selector-button/SelectorButton.tsx
7475
- var import_styles7 = __toESM(require("./styles.module-AAYSW4RF.module.css"), 1);
7476
7517
  var import_jsx_runtime98 = require("react/jsx-runtime");
7477
7518
  function SelectorButton({
7478
7519
  active,
@@ -7501,12 +7542,15 @@ function SelectorButton({
7501
7542
  return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
7502
7543
  "label",
7503
7544
  {
7504
- className: cn(import_styles7.default.styledButton, "selector-button", className, {
7505
- [import_styles7.default.active]: active,
7506
- [import_styles7.default.disabled]: disabled,
7507
- [import_styles7.default.loading]: loading,
7508
- [import_styles7.default.readOnly]: readOnly
7509
- }),
7545
+ className: cn(
7546
+ "selector-button box-border flex h-12 min-w-[117px] cursor-pointer select-none items-center rounded-[6px] border border-[#cecede] bg-[#f2f2fa] px-4 text-left text-[15px] font-semibold text-[#9696b9] outline-none transition-all duration-75 ease-in-out hover:border-[#385bf8] active:opacity-100 [&_input]:absolute [&_input]:h-0 [&_input]:w-0 [&_input]:cursor-pointer [&_input]:opacity-0",
7547
+ active && "active border-[#385bf8] bg-white text-[#385bf8]",
7548
+ disabled && "disabled cursor-not-allowed opacity-30 hover:border-[#cecede]",
7549
+ loading && "loading cursor-progress",
7550
+ readOnly && "readOnly cursor-default",
7551
+ readOnly && !active && "hover:border-transparent",
7552
+ className
7553
+ ),
7510
7554
  ...props,
7511
7555
  children: [
7512
7556
  /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
@@ -7520,7 +7564,7 @@ function SelectorButton({
7520
7564
  readOnly
7521
7565
  }
7522
7566
  ),
7523
- /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: import_styles7.default.content, children })
7567
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("div", { className: "flex h-full items-center", children })
7524
7568
  ]
7525
7569
  }
7526
7570
  );
@@ -7528,7 +7572,6 @@ function SelectorButton({
7528
7572
  SelectorButton.displayName = "SelectorButton";
7529
7573
 
7530
7574
  // src/selectors/Selectors.tsx
7531
- var import_styles8 = __toESM(require("./styles.module-4AVOK5SA.module.css"), 1);
7532
7575
  var import_jsx_runtime99 = require("react/jsx-runtime");
7533
7576
  var getValueArray = (value) => {
7534
7577
  if (value) {
@@ -7587,15 +7630,15 @@ function SelectorsInternal({
7587
7630
  onAnySelectorActive?.(isAnyActive);
7588
7631
  }, [isAnyActive, onAnySelectorActive]);
7589
7632
  return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)(import_jsx_runtime99.Fragment, { children: [
7590
- label && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: import_styles8.default.labelWrapper, children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: cn(import_styles8.default.name, "label"), children: label }) }),
7633
+ label && /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "flex [&_span]:ml-[5px]", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("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 }) }),
7591
7634
  /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(
7592
7635
  "div",
7593
7636
  {
7594
7637
  ref,
7595
- className: cn(className, {
7596
- [import_styles8.default.selectorsWrapperTab]: variant === "TAB",
7597
- [import_styles8.default.selectorsWrapperDefault]: variant !== "TAB"
7598
- }),
7638
+ className: cn(
7639
+ 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]",
7640
+ className
7641
+ ),
7599
7642
  children: options.map((option, index) => {
7600
7643
  const isSelected = getValueArray(value).includes(option.value);
7601
7644
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
@@ -7612,11 +7655,13 @@ function SelectorsInternal({
7612
7655
  disabled: isDisabled,
7613
7656
  onClick: (event) => onClick?.(event, option),
7614
7657
  onChange: handleChange(option),
7615
- className: variant === "TAB" ? cn(import_styles8.default.selectorButton, {
7616
- [import_styles8.default.active]: isSelected,
7617
- [import_styles8.default.readOnly]: isReadOnly,
7618
- [import_styles8.default.sizeSm]: size === "sm"
7619
- }) : "selector-button",
7658
+ className: variant === "TAB" ? cn(
7659
+ "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",
7660
+ 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",
7661
+ isReadOnly && !isSelected && "readOnly cursor-default hover:bg-transparent hover:text-[var(--chekin-color-gray-1)]",
7662
+ size === "sm" && "py-[7px] text-sm font-medium leading-6",
7663
+ size === "sm" && isSelected && "py-[7px] text-sm font-bold leading-6"
7664
+ ) : "selector-button",
7620
7665
  children: getSelectorContent(option.label, isDisabled, isReadOnly, isSelected)
7621
7666
  },
7622
7667
  `${option.value}-${index}`
@@ -8978,7 +9023,6 @@ function TablePlaceholder({
8978
9023
 
8979
9024
  // src/task-card/TaskCard.tsx
8980
9025
  var import_lucide_react41 = require("lucide-react");
8981
- var import_TaskCard = __toESM(require("./TaskCard.module-AVGS4US3.module.css"), 1);
8982
9026
  var import_jsx_runtime116 = require("react/jsx-runtime");
8983
9027
  function TaskCard({
8984
9028
  title,
@@ -8994,27 +9038,40 @@ function TaskCard({
8994
9038
  "div",
8995
9039
  {
8996
9040
  className: cn(
8997
- import_TaskCard.default.TaskCard,
8998
- import_TaskCard.default[`TaskCard--${eventType}`],
8999
- onClick && import_TaskCard.default["TaskCard--clickable"],
9041
+ "relative box-border flex min-h-[48px] min-w-[360px] items-center gap-4 overflow-hidden rounded-lg p-2 transition-colors duration-200",
9042
+ eventType === "error" && "bg-red-50",
9043
+ eventType === "warning" && "bg-amber-50",
9044
+ onClick && 'group cursor-pointer before:pointer-events-none before:absolute before:inset-0 before:rounded-lg before:content-[""]',
9045
+ onClick && eventType === "error" && "hover:before:bg-red-100 hover:before:mix-blend-multiply",
9046
+ onClick && eventType === "warning" && "hover:before:bg-amber-100 hover:before:mix-blend-multiply",
9000
9047
  className
9001
9048
  ),
9002
9049
  onClick,
9003
9050
  role: onClick ? "button" : void 0,
9004
9051
  tabIndex: onClick ? 0 : void 0,
9005
9052
  children: [
9006
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { className: import_TaskCard.default.TaskCard__indicator }),
9007
- /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: import_TaskCard.default.TaskCard__content, children: [
9008
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("h4", { className: import_TaskCard.default.TaskCard__title, children: title }),
9009
- /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("p", { className: import_TaskCard.default.TaskCard__date, children: description })
9053
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
9054
+ "div",
9055
+ {
9056
+ className: cn(
9057
+ "relative w-1 shrink-0 self-stretch rounded-sm",
9058
+ eventType === "error" && "bg-chekin-red",
9059
+ eventType === "warning" && "bg-amber-500"
9060
+ )
9061
+ }
9062
+ ),
9063
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
9064
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-chekin-navy", children: title }),
9065
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("p", { className: "m-0 w-full text-sm font-medium leading-6 text-chekin-gray-1", children: description })
9010
9066
  ] }),
9011
- shouldShowActions && /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: import_TaskCard.default.TaskCard__actions, children: [
9067
+ shouldShowActions && /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)("div", { className: "flex shrink-0 items-center gap-1", children: [
9012
9068
  shouldShowCount && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
9013
9069
  "div",
9014
9070
  {
9015
9071
  className: cn(
9016
- import_TaskCard.default.TaskCard__count,
9017
- import_TaskCard.default[`TaskCard__count--${eventType}`]
9072
+ 'relative flex h-6 w-6 items-center justify-center rounded-full text-center text-sm font-semibold leading-6 before:absolute before:inset-0 before:rounded-full before:mix-blend-multiply before:content-[""]',
9073
+ eventType === "error" && "text-chekin-red before:bg-red-100",
9074
+ eventType === "warning" && "text-amber-700 before:bg-amber-100"
9018
9075
  ),
9019
9076
  children: count
9020
9077
  }
@@ -9022,7 +9079,7 @@ function TaskCard({
9022
9079
  onClick && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
9023
9080
  "button",
9024
9081
  {
9025
- className: import_TaskCard.default.TaskCard__arrowButton,
9082
+ className: "flex h-8 w-0 min-w-0 cursor-pointer items-center justify-center overflow-hidden rounded-md border-0 bg-transparent p-0 text-chekin-gray-1 opacity-0 transition-[width,opacity,min-width] duration-300 ease-in-out hover:bg-black/5 focus-visible:w-8 focus-visible:min-w-8 focus-visible:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-chekin-blue group-hover:w-8 group-hover:min-w-8 group-hover:opacity-100",
9026
9083
  onClick: (event) => {
9027
9084
  event.stopPropagation();
9028
9085
  onClick?.();
@@ -9294,8 +9351,24 @@ var import_jsx_runtime121 = require("react/jsx-runtime");
9294
9351
  var SupportingText = ({ id, children }) => /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("p", { id, className: "mt-1 text-xs italic text-chekin-gray-2", children });
9295
9352
 
9296
9353
  // src/text-field/TextField.tsx
9297
- var import_textField = __toESM(require("./textField.module-5W2LJGIC.module.css"), 1);
9298
9354
  var import_jsx_runtime122 = require("react/jsx-runtime");
9355
+ var textFieldRootClasses = [
9356
+ "[--text-field-height:2.75rem]",
9357
+ "[--text-field-radius:8px]",
9358
+ "[--text-field-padding-x:0.875rem]",
9359
+ "[--text-field-padding-y:0.625rem]",
9360
+ "[--text-field-bg-empty:#f4f6f8]",
9361
+ "[--text-field-bg-filled:#ffffff]",
9362
+ "[--text-field-border-empty:rgba(22,22,67,0.2)]",
9363
+ "[--text-field-border-filled:#161643]",
9364
+ "[--text-field-border-error:#ff2467]",
9365
+ "[--text-field-text:#161643]",
9366
+ "[--text-field-placeholder:#6b6b95]",
9367
+ "[--text-field-label:#161643]",
9368
+ "[--text-field-supporting:#9696b9]",
9369
+ "[--text-field-error:#ff2467]",
9370
+ "[--text-field-focus-ring:rgba(56,91,248,0.2)]"
9371
+ ];
9299
9372
  var inputVariants = (0, import_class_variance_authority14.cva)(
9300
9373
  [
9301
9374
  "flex w-full border text-base font-medium leading-5 outline-none transition-colors",
@@ -9402,7 +9475,11 @@ var TextField = React29.forwardRef(
9402
9475
  return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)(
9403
9476
  "div",
9404
9477
  {
9405
- className: cn("relative flex w-full flex-col", import_textField.default.root, wrapperClassName),
9478
+ className: cn(
9479
+ "relative flex w-full flex-col",
9480
+ textFieldRootClasses,
9481
+ wrapperClassName
9482
+ ),
9406
9483
  children: [
9407
9484
  /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: "relative", children: [
9408
9485
  /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
@@ -9441,7 +9518,7 @@ var TextField = React29.forwardRef(
9441
9518
  }
9442
9519
  );
9443
9520
  }
9444
- return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: cn("flex w-full flex-col", import_textField.default.root, wrapperClassName), children: [
9521
+ return /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: cn("flex w-full flex-col", textFieldRootClasses, wrapperClassName), children: [
9445
9522
  label && /* @__PURE__ */ (0, import_jsx_runtime122.jsxs)("div", { className: "mb-1 flex items-center gap-1", children: [
9446
9523
  /* @__PURE__ */ (0, import_jsx_runtime122.jsx)(
9447
9524
  LabelPrimitive2.Root,
@@ -9483,12 +9560,11 @@ TextField.displayName = "TextField";
9483
9560
 
9484
9561
  // src/textarea/Textarea.tsx
9485
9562
  var import_react67 = require("react");
9486
- var import_styles9 = __toESM(require("./styles.module-6FWQEZTQ.module.css"), 1);
9487
9563
  var import_jsx_runtime123 = require("react/jsx-runtime");
9488
9564
  var Textarea = (0, import_react67.forwardRef)(
9489
9565
  ({ className, textareaClassName, label, disabled, name, invalid, ...textareaProps }, ref) => {
9490
9566
  const inputId = (0, import_react67.useId)();
9491
- return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: cn(import_styles9.default.container, className), children: [
9567
+ return /* @__PURE__ */ (0, import_jsx_runtime123.jsxs)("div", { className: cn("relative", className), children: [
9492
9568
  /* @__PURE__ */ (0, import_jsx_runtime123.jsx)(
9493
9569
  "textarea",
9494
9570
  {
@@ -9496,10 +9572,12 @@ var Textarea = (0, import_react67.forwardRef)(
9496
9572
  id: inputId,
9497
9573
  name,
9498
9574
  disabled,
9499
- className: cn(import_styles9.default.textarea, textareaClassName, {
9500
- [import_styles9.default.textareaError]: invalid,
9501
- [import_styles9.default.textareaDisabled]: disabled
9502
- }),
9575
+ className: cn(
9576
+ "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",
9577
+ invalid && "border-[#ff2467] focus:border-[#ff2467]",
9578
+ disabled && "cursor-not-allowed resize-none border-[#9696b9] bg-[#f4f6f8] text-[#9696b9] placeholder:text-[#9696b9]",
9579
+ textareaClassName
9580
+ ),
9503
9581
  ...textareaProps
9504
9582
  }
9505
9583
  ),
@@ -9507,10 +9585,11 @@ var Textarea = (0, import_react67.forwardRef)(
9507
9585
  "label",
9508
9586
  {
9509
9587
  htmlFor: inputId,
9510
- className: cn(import_styles9.default.label, {
9511
- [import_styles9.default.labelError]: invalid,
9512
- [import_styles9.default.labelDisabled]: disabled
9513
- }),
9588
+ className: cn(
9589
+ "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",
9590
+ invalid && "text-[#ff2467] peer-focus:text-[#ff2467]",
9591
+ disabled && "text-[#9696b9]"
9592
+ ),
9514
9593
  children: label
9515
9594
  }
9516
9595
  )
@@ -9527,18 +9606,43 @@ var LABEL_PLACEMENT = /* @__PURE__ */ ((LABEL_PLACEMENT2) => {
9527
9606
  })(LABEL_PLACEMENT || {});
9528
9607
 
9529
9608
  // src/three-dots-loader/ThreeDotsLoader.tsx
9530
- var import_styles10 = __toESM(require("./styles.module-Y6YCV6UA.module.css"), 1);
9531
9609
  var import_jsx_runtime124 = require("react/jsx-runtime");
9532
9610
  function Dots({
9533
9611
  height,
9534
9612
  width,
9535
9613
  color
9536
9614
  }) {
9537
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)("span", { className: import_styles10.default.dots, style: { height, width }, "aria-hidden": "true", children: [
9538
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("span", { className: import_styles10.default.dot, style: { backgroundColor: color } }),
9539
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("span", { className: import_styles10.default.dot, style: { backgroundColor: color } }),
9540
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("span", { className: import_styles10.default.dot, style: { backgroundColor: color } })
9541
- ] });
9615
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(
9616
+ "span",
9617
+ {
9618
+ className: "inline-flex items-center justify-center gap-[15%]",
9619
+ style: { height, width },
9620
+ "aria-hidden": "true",
9621
+ children: [
9622
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
9623
+ "span",
9624
+ {
9625
+ className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.32s]",
9626
+ style: { backgroundColor: color }
9627
+ }
9628
+ ),
9629
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
9630
+ "span",
9631
+ {
9632
+ className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.16s]",
9633
+ style: { backgroundColor: color }
9634
+ }
9635
+ ),
9636
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
9637
+ "span",
9638
+ {
9639
+ className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full",
9640
+ style: { backgroundColor: color }
9641
+ }
9642
+ )
9643
+ ]
9644
+ }
9645
+ );
9542
9646
  }
9543
9647
  function ThreeDotsLoader({
9544
9648
  height = 30,
@@ -9550,13 +9654,22 @@ function ThreeDotsLoader({
9550
9654
  }) {
9551
9655
  const dots = /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(Dots, { color, height, width });
9552
9656
  if (label) {
9553
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { className: cn(import_styles10.default.Loader, className), children: labelPlacement === 0 /* right */ ? /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
9554
- dots,
9555
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { children: label })
9556
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
9557
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { children: label }),
9558
- dots
9559
- ] }) });
9657
+ return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
9658
+ "div",
9659
+ {
9660
+ className: cn(
9661
+ "flex items-center justify-center gap-x-[13px] [&>div]:text-sm [&>div]:font-bold [&>div]:uppercase [&>div]:text-[#9696b9] [&>div]:opacity-50",
9662
+ className
9663
+ ),
9664
+ children: labelPlacement === 0 /* right */ ? /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
9665
+ dots,
9666
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { children: label })
9667
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime124.jsxs)(import_jsx_runtime124.Fragment, { children: [
9668
+ /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { children: label }),
9669
+ dots
9670
+ ] })
9671
+ }
9672
+ );
9560
9673
  }
9561
9674
  return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)("div", { className, children: dots });
9562
9675
  }