@chekinapp/ui 0.0.66 → 0.0.67

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
@@ -454,10 +454,118 @@ var BookmarkTabsTrigger = React3.forwardRef(({ className, variant, ...props }, r
454
454
  BookmarkTabsTrigger.displayName = "BookmarkTabsTrigger";
455
455
 
456
456
  // src/box-option-selector/BoxOptionSelector.tsx
457
- import { forwardRef as forwardRef4, useEffect as useEffect2, useState as useState2 } from "react";
457
+ import { forwardRef as forwardRef6, useEffect as useEffect2, useState as useState2 } from "react";
458
458
  import { useTranslation as useTranslation2 } from "react-i18next";
459
- import { jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
460
- var BoxOptionSelector = forwardRef4(
459
+
460
+ // src/switch/Switch.tsx
461
+ import * as React5 from "react";
462
+ import * as SwitchPrimitives from "@radix-ui/react-switch";
463
+ import { cva as cva4 } from "class-variance-authority";
464
+
465
+ // src/label/Label.tsx
466
+ import * as React4 from "react";
467
+ import * as LabelPrimitive from "@radix-ui/react-label";
468
+ import { cva as cva3 } from "class-variance-authority";
469
+ import { jsx as jsx7 } from "react/jsx-runtime";
470
+ var labelVariants = cva3(
471
+ "text-sm font-medium leading-none text-[var(--chekin-color-brand-navy)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70 peer-aria-busy:cursor-wait peer-aria-busy:opacity-70 peer-aria-readonly:cursor-default peer-aria-readonly:opacity-100"
472
+ );
473
+ var Label = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx7(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
474
+ Label.displayName = LabelPrimitive.Root.displayName;
475
+
476
+ // src/error-message/ErrorMessage.tsx
477
+ import { jsx as jsx8 } from "react/jsx-runtime";
478
+ function ErrorMessage({ className, children, disabled }) {
479
+ return /* @__PURE__ */ jsx8(
480
+ "div",
481
+ {
482
+ className: cn(
483
+ "mt-0.5 text-left text-sm font-medium text-[var(--error-message-color)]",
484
+ disabled && "opacity-30",
485
+ className
486
+ ),
487
+ children
488
+ }
489
+ );
490
+ }
491
+
492
+ // src/switch/Switch.tsx
493
+ import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
494
+ var switchVariants = cva4(
495
+ [
496
+ "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
497
+ "focus-visible:outline-none focus-visible:shadow-[var(--chekin-shadow-focus)]",
498
+ "disabled:cursor-not-allowed disabled:opacity-50 aria-busy:cursor-wait aria-busy:opacity-50",
499
+ "data-[state=checked]:bg-[var(--chekin-color-brand-blue)] data-[state=unchecked]:bg-[var(--chekin-color-gray-2)]"
500
+ ],
501
+ {
502
+ variants: {
503
+ size: {
504
+ default: "h-5 w-10",
505
+ lg: "h-5 w-10",
506
+ sm: "h-4 w-8"
507
+ },
508
+ readOnly: {
509
+ true: "cursor-default opacity-100"
510
+ }
511
+ },
512
+ defaultVariants: {
513
+ size: "default"
514
+ }
515
+ }
516
+ );
517
+ var switchThumbVariants = cva4(
518
+ "pointer-events-none block rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=unchecked]:translate-x-0",
519
+ {
520
+ variants: {
521
+ size: {
522
+ default: "h-4 w-4 data-[state=checked]:translate-x-5",
523
+ lg: "h-4 w-4 data-[state=checked]:translate-x-5",
524
+ sm: "h-3 w-3 data-[state=checked]:translate-x-4"
525
+ }
526
+ },
527
+ defaultVariants: {
528
+ size: "default"
529
+ }
530
+ }
531
+ );
532
+ var Switch = React5.forwardRef(
533
+ ({ className, size, readOnly, loading, onChange, value, id, label, error, ...props }, ref) => {
534
+ const generatedId = React5.useId();
535
+ const fieldId = id || generatedId;
536
+ const switchElement = /* @__PURE__ */ jsx9(
537
+ SwitchPrimitives.Root,
538
+ {
539
+ ref,
540
+ className: cn(switchVariants({ size, readOnly }), className),
541
+ disabled: props.disabled && !readOnly,
542
+ ...props,
543
+ id: fieldId,
544
+ onCheckedChange: readOnly ? void 0 : onChange,
545
+ checked: value,
546
+ value: String(value),
547
+ "aria-busy": loading,
548
+ "aria-readonly": readOnly,
549
+ children: /* @__PURE__ */ jsx9(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
550
+ }
551
+ );
552
+ if (!label && !error) {
553
+ return switchElement;
554
+ }
555
+ return /* @__PURE__ */ jsxs6("div", { children: [
556
+ /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-3", children: [
557
+ switchElement,
558
+ label && /* @__PURE__ */ jsx9(Label, { htmlFor: fieldId, className: "cursor-pointer text-base font-medium", children: label })
559
+ ] }),
560
+ error && /* @__PURE__ */ jsx9(ErrorMessage, { disabled: props.disabled, children: error })
561
+ ] });
562
+ }
563
+ );
564
+ Switch.displayName = SwitchPrimitives.Root.displayName;
565
+
566
+ // src/box-option-selector/BoxOptionSelector.tsx
567
+ import { jsx as jsx10, jsxs as jsxs7 } from "react/jsx-runtime";
568
+ var BoxOptionSelector = forwardRef6(
461
569
  ({
462
570
  id,
463
571
  title,
@@ -467,8 +575,7 @@ var BoxOptionSelector = forwardRef4(
467
575
  onChange,
468
576
  disabled = false,
469
577
  selectedValue,
470
- optionalLabel,
471
- switchComponent: SwitchComponent
578
+ optionalLabel
472
579
  }, ref) => {
473
580
  const { t } = useTranslation2();
474
581
  const [isSwitchActive, setIsSwitchActive] = useState2(false);
@@ -485,7 +592,7 @@ var BoxOptionSelector = forwardRef4(
485
592
  useEffect2(() => {
486
593
  setIsSwitchActive(selectedValue === switchProps?.value);
487
594
  }, [selectedValue, switchProps?.value]);
488
- return /* @__PURE__ */ jsxs6(
595
+ return /* @__PURE__ */ jsxs7(
489
596
  "div",
490
597
  {
491
598
  ref,
@@ -497,16 +604,16 @@ var BoxOptionSelector = forwardRef4(
497
604
  ),
498
605
  onClick: handleClick,
499
606
  children: [
500
- /* @__PURE__ */ jsxs6("div", { className: "flex w-full items-center justify-between gap-5", children: [
501
- /* @__PURE__ */ jsx7("h3", { className: "whitespace-nowrap text-base font-semibold leading-6", children: title }),
502
- switchProps && isSelected && SwitchComponent && /* @__PURE__ */ jsxs6(
607
+ /* @__PURE__ */ jsxs7("div", { className: "flex w-full items-center justify-between gap-5", children: [
608
+ /* @__PURE__ */ jsx10("h3", { className: "whitespace-nowrap text-base font-semibold leading-6", children: title }),
609
+ switchProps && isSelected && /* @__PURE__ */ jsxs7(
503
610
  "div",
504
611
  {
505
612
  onClick: (event) => event.stopPropagation(),
506
613
  className: "flex items-center gap-2",
507
614
  children: [
508
- /* @__PURE__ */ jsx7(
509
- SwitchComponent,
615
+ /* @__PURE__ */ jsx10(
616
+ Switch,
510
617
  {
511
618
  id: `optional-${id}`,
512
619
  value: isSwitchActive,
@@ -515,7 +622,7 @@ var BoxOptionSelector = forwardRef4(
515
622
  onChange: handleSwitchChange
516
623
  }
517
624
  ),
518
- /* @__PURE__ */ jsx7(
625
+ /* @__PURE__ */ jsx10(
519
626
  "span",
520
627
  {
521
628
  className: cn(
@@ -529,7 +636,7 @@ var BoxOptionSelector = forwardRef4(
529
636
  }
530
637
  )
531
638
  ] }),
532
- /* @__PURE__ */ jsx7("p", { className: "w-full text-sm font-medium leading-4 text-[var(--chekin-color-gray-1)]", children: description })
639
+ /* @__PURE__ */ jsx10("p", { className: "w-full text-sm font-medium leading-4 text-[var(--chekin-color-gray-1)]", children: description })
533
640
  ]
534
641
  }
535
642
  );
@@ -538,7 +645,7 @@ var BoxOptionSelector = forwardRef4(
538
645
  BoxOptionSelector.displayName = "BoxOptionSelector";
539
646
 
540
647
  // src/breadcrumbs/Breadcrumb.tsx
541
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
648
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
542
649
  function Breadcrumb({
543
650
  hidden,
544
651
  to,
@@ -558,19 +665,19 @@ function Breadcrumb({
558
665
  isLink && "transition-opacity hover:opacity-80",
559
666
  className
560
667
  );
561
- return /* @__PURE__ */ jsx8("li", { className: "flex gap-2.5", children: isLink ? /* @__PURE__ */ jsxs7(
668
+ return /* @__PURE__ */ jsx11("li", { className: "flex gap-2.5", children: isLink ? /* @__PURE__ */ jsxs8(
562
669
  LinkComponent,
563
670
  {
564
671
  "aria-current": current ? "page" : void 0,
565
672
  className: contentClassName,
566
673
  ...LinkComponent === "a" ? { href: to } : { to, href: to },
567
674
  children: [
568
- icon ? /* @__PURE__ */ jsx8("span", { className: "shrink-0", children: icon }) : null,
675
+ icon ? /* @__PURE__ */ jsx11("span", { className: "shrink-0", children: icon }) : null,
569
676
  children
570
677
  ]
571
678
  }
572
- ) : /* @__PURE__ */ jsxs7("div", { "aria-current": current ? "page" : void 0, className: contentClassName, children: [
573
- icon ? /* @__PURE__ */ jsx8("span", { className: "shrink-0", children: icon }) : null,
679
+ ) : /* @__PURE__ */ jsxs8("div", { "aria-current": current ? "page" : void 0, className: contentClassName, children: [
680
+ icon ? /* @__PURE__ */ jsx11("span", { className: "shrink-0", children: icon }) : null,
574
681
  children
575
682
  ] }) });
576
683
  }
@@ -583,7 +690,7 @@ import {
583
690
  isValidElement
584
691
  } from "react";
585
692
  import { ChevronRight } from "lucide-react";
586
- import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
693
+ import { jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
587
694
  function Breadcrumbs({ className, children }) {
588
695
  const items = Children.toArray(children).filter((child) => {
589
696
  if (!isValidElement(child)) {
@@ -591,11 +698,11 @@ function Breadcrumbs({ className, children }) {
591
698
  }
592
699
  return !child.props.hidden;
593
700
  });
594
- return /* @__PURE__ */ jsx9("nav", { className: cn("breadcrumbs", className), "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsx9("ul", { className: "m-0 flex list-none flex-wrap items-center gap-3 p-0", children: items.map((child, index) => {
701
+ return /* @__PURE__ */ jsx12("nav", { className: cn("breadcrumbs", className), "aria-label": "Breadcrumb", children: /* @__PURE__ */ jsx12("ul", { className: "m-0 flex list-none flex-wrap items-center gap-3 p-0", children: items.map((child, index) => {
595
702
  const isLastVisibleItem = items.length - 1 === index;
596
703
  const childWithProps = isValidElement(child) ? cloneElement(child, { current: isLastVisibleItem }) : child;
597
- return /* @__PURE__ */ jsxs8(Fragment2, { children: [
598
- index > 0 ? /* @__PURE__ */ jsx9(
704
+ return /* @__PURE__ */ jsxs9(Fragment2, { children: [
705
+ index > 0 ? /* @__PURE__ */ jsx12(
599
706
  ChevronRight,
600
707
  {
601
708
  "aria-hidden": "true",
@@ -609,13 +716,13 @@ function Breadcrumbs({ className, children }) {
609
716
  }
610
717
 
611
718
  // src/button/Button.tsx
612
- import * as React4 from "react";
719
+ import * as React6 from "react";
613
720
  import { Slot as Slot2 } from "@radix-ui/react-slot";
614
721
  import { useTranslation as useTranslation3 } from "react-i18next";
615
722
 
616
723
  // src/button/buttonVariants.ts
617
- import { cva as cva3 } from "class-variance-authority";
618
- var buttonVariants = cva3(
724
+ import { cva as cva5 } from "class-variance-authority";
725
+ var buttonVariants = cva5(
619
726
  [
620
727
  "button relative inline-flex items-center justify-center gap-2 whitespace-nowrap",
621
728
  "[font-family:var(--button-font-family)] [font-weight:var(--button-font-weight)]",
@@ -726,8 +833,8 @@ var buttonVariants = cva3(
726
833
  );
727
834
 
728
835
  // src/button/Button.tsx
729
- import { Fragment as Fragment3, jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
730
- var Button = React4.forwardRef(
836
+ import { Fragment as Fragment3, jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
837
+ var Button = React6.forwardRef(
731
838
  ({
732
839
  className,
733
840
  variant,
@@ -747,7 +854,7 @@ var Button = React4.forwardRef(
747
854
  const isDisabled = readOnly || disabled || loading;
748
855
  const classNames = cn(buttonVariants({ variant, size, shape, readOnly }), className);
749
856
  if (asChild) {
750
- return /* @__PURE__ */ jsx10(
857
+ return /* @__PURE__ */ jsx13(
751
858
  Slot2,
752
859
  {
753
860
  ref,
@@ -758,7 +865,7 @@ var Button = React4.forwardRef(
758
865
  }
759
866
  );
760
867
  }
761
- return /* @__PURE__ */ jsx10(
868
+ return /* @__PURE__ */ jsx13(
762
869
  "button",
763
870
  {
764
871
  ref,
@@ -766,9 +873,9 @@ var Button = React4.forwardRef(
766
873
  disabled: isDisabled,
767
874
  className: classNames,
768
875
  ...props,
769
- children: loading ? /* @__PURE__ */ jsxs9(Fragment3, { children: [
770
- /* @__PURE__ */ jsx10(Spinner, {}),
771
- showLoadingLabel ? /* @__PURE__ */ jsx10("span", { children: loadingText || t("please_wait") }) : null
876
+ children: loading ? /* @__PURE__ */ jsxs10(Fragment3, { children: [
877
+ /* @__PURE__ */ jsx13(Spinner, {}),
878
+ showLoadingLabel ? /* @__PURE__ */ jsx13("span", { children: loadingText || t("please_wait") }) : null
772
879
  ] }) : children
773
880
  }
774
881
  );
@@ -776,7 +883,7 @@ var Button = React4.forwardRef(
776
883
  );
777
884
  Button.displayName = "Button";
778
885
  function Spinner() {
779
- return /* @__PURE__ */ jsxs9(
886
+ return /* @__PURE__ */ jsxs10(
780
887
  "svg",
781
888
  {
782
889
  className: "h-4 w-4 animate-spin",
@@ -785,7 +892,7 @@ function Spinner() {
785
892
  viewBox: "0 0 24 24",
786
893
  "aria-hidden": "true",
787
894
  children: [
788
- /* @__PURE__ */ jsx10(
895
+ /* @__PURE__ */ jsx13(
789
896
  "circle",
790
897
  {
791
898
  className: "opacity-25",
@@ -796,7 +903,7 @@ function Spinner() {
796
903
  strokeWidth: "4"
797
904
  }
798
905
  ),
799
- /* @__PURE__ */ jsx10(
906
+ /* @__PURE__ */ jsx13(
800
907
  "path",
801
908
  {
802
909
  className: "opacity-75",
@@ -815,8 +922,8 @@ function Spinner() {
815
922
  import { Slot as Slot3 } from "@radix-ui/react-slot";
816
923
 
817
924
  // src/button-group/buttonGroupVariants.ts
818
- import { cva as cva4 } from "class-variance-authority";
819
- var buttonGroupVariants = cva4(
925
+ import { cva as cva6 } from "class-variance-authority";
926
+ var buttonGroupVariants = cva6(
820
927
  [
821
928
  "flex w-fit items-stretch",
822
929
  "has-[>[data-slot=button-group]]:gap-2",
@@ -877,14 +984,14 @@ var buttonGroupVariants = cva4(
877
984
  );
878
985
 
879
986
  // src/button-group/ButtonGroup.tsx
880
- import { jsx as jsx11 } from "react/jsx-runtime";
987
+ import { jsx as jsx14 } from "react/jsx-runtime";
881
988
  function ButtonGroup({
882
989
  className,
883
990
  orientation,
884
991
  seamless,
885
992
  ...props
886
993
  }) {
887
- return /* @__PURE__ */ jsx11(
994
+ return /* @__PURE__ */ jsx14(
888
995
  "div",
889
996
  {
890
997
  role: "group",
@@ -902,7 +1009,7 @@ function ButtonGroupText({
902
1009
  ...props
903
1010
  }) {
904
1011
  const Comp = asChild ? Slot3 : "div";
905
- return /* @__PURE__ */ jsx11(
1012
+ return /* @__PURE__ */ jsx14(
906
1013
  Comp,
907
1014
  {
908
1015
  "data-slot": "button-group-text",
@@ -918,11 +1025,11 @@ function ButtonGroupText({
918
1025
  ButtonGroupText.displayName = "ButtonGroupText";
919
1026
 
920
1027
  // src/buttons-group-label/ButtonsGroupLabel.tsx
921
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
1028
+ import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
922
1029
  function ButtonsGroupLabel({ children, label, className }) {
923
- return /* @__PURE__ */ jsxs10("div", { "data-slot": "buttons-group-label", className: cn(className), children: [
924
- /* @__PURE__ */ jsx12("div", { className: "mb-2 text-xs font-medium text-[var(--chekin-color-gray-1)]", children: label }),
925
- /* @__PURE__ */ jsx12("div", { children })
1030
+ return /* @__PURE__ */ jsxs11("div", { "data-slot": "buttons-group-label", className: cn(className), children: [
1031
+ /* @__PURE__ */ jsx15("div", { className: "mb-2 text-xs font-medium text-[var(--chekin-color-gray-1)]", children: label }),
1032
+ /* @__PURE__ */ jsx15("div", { children })
926
1033
  ] });
927
1034
  }
928
1035
  ButtonsGroupLabel.displayName = "ButtonsGroupLabel";
@@ -980,7 +1087,7 @@ var calendarClassNames = {
980
1087
  };
981
1088
 
982
1089
  // src/calendar/Calendar.tsx
983
- import { jsx as jsx13 } from "react/jsx-runtime";
1090
+ import { jsx as jsx16 } from "react/jsx-runtime";
984
1091
  function getMergedClassNames(defaultClassNames, userClassNames) {
985
1092
  return Object.keys(defaultClassNames).reduce(
986
1093
  (acc, key) => ({
@@ -1004,12 +1111,12 @@ function Calendar({
1004
1111
  const defaultComponents = {
1005
1112
  Chevron: (iconProps) => {
1006
1113
  if (iconProps.orientation === "left") {
1007
- return /* @__PURE__ */ jsx13(ChevronLeft, { size: 16, strokeWidth: 2, ...iconProps, "aria-hidden": "true" });
1114
+ return /* @__PURE__ */ jsx16(ChevronLeft, { size: 16, strokeWidth: 2, ...iconProps, "aria-hidden": "true" });
1008
1115
  }
1009
- return /* @__PURE__ */ jsx13(ChevronRight2, { size: 16, strokeWidth: 2, ...iconProps, "aria-hidden": "true" });
1116
+ return /* @__PURE__ */ jsx16(ChevronRight2, { size: 16, strokeWidth: 2, ...iconProps, "aria-hidden": "true" });
1010
1117
  }
1011
1118
  };
1012
- return /* @__PURE__ */ jsx13(
1119
+ return /* @__PURE__ */ jsx16(
1013
1120
  DayPicker,
1014
1121
  {
1015
1122
  "data-slot": "calendar",
@@ -1027,10 +1134,10 @@ function Calendar({
1027
1134
  Calendar.displayName = "Calendar";
1028
1135
 
1029
1136
  // src/card/Card.tsx
1030
- import * as React5 from "react";
1031
- import { jsx as jsx14 } from "react/jsx-runtime";
1032
- var Card = React5.forwardRef(
1033
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1137
+ import * as React7 from "react";
1138
+ import { jsx as jsx17 } from "react/jsx-runtime";
1139
+ var Card = React7.forwardRef(
1140
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1034
1141
  "div",
1035
1142
  {
1036
1143
  ref,
@@ -1044,8 +1151,8 @@ var Card = React5.forwardRef(
1044
1151
  )
1045
1152
  );
1046
1153
  Card.displayName = "Card";
1047
- var CardHeader = React5.forwardRef(
1048
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1154
+ var CardHeader = React7.forwardRef(
1155
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1049
1156
  "div",
1050
1157
  {
1051
1158
  ref,
@@ -1056,8 +1163,8 @@ var CardHeader = React5.forwardRef(
1056
1163
  )
1057
1164
  );
1058
1165
  CardHeader.displayName = "CardHeader";
1059
- var CardTitle = React5.forwardRef(
1060
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1166
+ var CardTitle = React7.forwardRef(
1167
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1061
1168
  "div",
1062
1169
  {
1063
1170
  ref,
@@ -1068,7 +1175,7 @@ var CardTitle = React5.forwardRef(
1068
1175
  )
1069
1176
  );
1070
1177
  CardTitle.displayName = "CardTitle";
1071
- var CardDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1178
+ var CardDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1072
1179
  "div",
1073
1180
  {
1074
1181
  ref,
@@ -1078,7 +1185,7 @@ var CardDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__
1078
1185
  }
1079
1186
  ));
1080
1187
  CardDescription.displayName = "CardDescription";
1081
- var CardContent = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1188
+ var CardContent = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1082
1189
  "div",
1083
1190
  {
1084
1191
  ref,
@@ -1088,8 +1195,8 @@ var CardContent = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
1088
1195
  }
1089
1196
  ));
1090
1197
  CardContent.displayName = "CardContent";
1091
- var CardFooter = React5.forwardRef(
1092
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1198
+ var CardFooter = React7.forwardRef(
1199
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx17(
1093
1200
  "div",
1094
1201
  {
1095
1202
  ref,
@@ -1106,8 +1213,8 @@ import { Children as Children2 } from "react";
1106
1213
  import { CircleCheck } from "lucide-react";
1107
1214
 
1108
1215
  // src/check-list/listVariants.ts
1109
- import { cva as cva5 } from "class-variance-authority";
1110
- var checkListRootVariants = cva5(
1216
+ import { cva as cva7 } from "class-variance-authority";
1217
+ var checkListRootVariants = cva7(
1111
1218
  "check-list-root m-0 flex w-full list-none flex-col p-0",
1112
1219
  {
1113
1220
  variants: {
@@ -1123,10 +1230,10 @@ var checkListRootVariants = cva5(
1123
1230
  );
1124
1231
  var listItemBase = "flex items-start gap-2 text-base [&_.check-list-icon]:h-6 [&_.check-list-icon]:w-6";
1125
1232
  var listItemMinimalOverrides = "[.check-list-root[data-size=minimal]_&]:gap-1.5 [.check-list-root[data-size=minimal]_&]:text-sm [.check-list-root[data-size=minimal]_&_.check-list-icon]:mt-0.5 [.check-list-root[data-size=minimal]_&_.check-list-icon]:h-[15px] [.check-list-root[data-size=minimal]_&_.check-list-icon]:w-[15px]";
1126
- var checkListItemVariants = cva5(`${listItemBase} ${listItemMinimalOverrides}`);
1233
+ var checkListItemVariants = cva7(`${listItemBase} ${listItemMinimalOverrides}`);
1127
1234
 
1128
1235
  // src/check-list/CheckList.tsx
1129
- import { jsx as jsx15, jsxs as jsxs11 } from "react/jsx-runtime";
1236
+ import { jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
1130
1237
  var CheckList = ({
1131
1238
  children,
1132
1239
  className,
@@ -1134,8 +1241,8 @@ var CheckList = ({
1134
1241
  size = "default"
1135
1242
  }) => {
1136
1243
  const items = Children2.toArray(children);
1137
- return /* @__PURE__ */ jsx15("ul", { className: cn(checkListRootVariants({ size }), className), "data-size": size, children: items.map((child, index) => /* @__PURE__ */ jsxs11("li", { className: cn(checkListItemVariants(), itemClassName), children: [
1138
- /* @__PURE__ */ jsx15(
1244
+ return /* @__PURE__ */ jsx18("ul", { className: cn(checkListRootVariants({ size }), className), "data-size": size, children: items.map((child, index) => /* @__PURE__ */ jsxs12("li", { className: cn(checkListItemVariants(), itemClassName), children: [
1245
+ /* @__PURE__ */ jsx18(
1139
1246
  CircleCheck,
1140
1247
  {
1141
1248
  className: "check-list-icon relative top-[2px] shrink-0",
@@ -1143,15 +1250,15 @@ var CheckList = ({
1143
1250
  stroke: "var(--check-list-icon-mark-color)"
1144
1251
  }
1145
1252
  ),
1146
- /* @__PURE__ */ jsx15("div", { className: "inline-block", children: child })
1253
+ /* @__PURE__ */ jsx18("div", { className: "inline-block", children: child })
1147
1254
  ] }, index)) });
1148
1255
  };
1149
1256
 
1150
1257
  // src/checkbox/BaseCheckbox.tsx
1151
- import * as React6 from "react";
1258
+ import * as React8 from "react";
1152
1259
  import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
1153
1260
  import { Check as Check2 } from "lucide-react";
1154
- import { jsx as jsx16 } from "react/jsx-runtime";
1261
+ import { jsx as jsx19 } from "react/jsx-runtime";
1155
1262
  var checkboxSizeClasses = {
1156
1263
  default: "h-6 w-6",
1157
1264
  m: "h-5 w-5",
@@ -1162,8 +1269,8 @@ var checkboxIconSizeClasses = {
1162
1269
  m: "h-4 w-4",
1163
1270
  s: "h-3 w-3"
1164
1271
  };
1165
- var BaseCheckbox = React6.forwardRef(
1166
- ({ className, loading, onCheckedChange, disabled, readOnly, size = "default", ...props }, ref) => /* @__PURE__ */ jsx16(
1272
+ var BaseCheckbox = React8.forwardRef(
1273
+ ({ className, loading, onCheckedChange, disabled, readOnly, size = "default", ...props }, ref) => /* @__PURE__ */ jsx19(
1167
1274
  CheckboxPrimitive.Root,
1168
1275
  {
1169
1276
  ref,
@@ -1181,11 +1288,11 @@ var BaseCheckbox = React6.forwardRef(
1181
1288
  disabled,
1182
1289
  "aria-busy": loading,
1183
1290
  "aria-readonly": readOnly,
1184
- children: /* @__PURE__ */ jsx16(
1291
+ children: /* @__PURE__ */ jsx19(
1185
1292
  CheckboxPrimitive.Indicator,
1186
1293
  {
1187
1294
  className: cn("flex items-center justify-center text-current"),
1188
- children: /* @__PURE__ */ jsx16(Check2, { className: cn("checkbox__icon", checkboxIconSizeClasses[size]) })
1295
+ children: /* @__PURE__ */ jsx19(Check2, { className: cn("checkbox__icon", checkboxIconSizeClasses[size]) })
1189
1296
  }
1190
1297
  )
1191
1298
  }
@@ -1194,22 +1301,11 @@ var BaseCheckbox = React6.forwardRef(
1194
1301
  BaseCheckbox.displayName = CheckboxPrimitive.Root.displayName;
1195
1302
 
1196
1303
  // src/checkbox/Checkbox.tsx
1197
- import * as React8 from "react";
1198
-
1199
- // src/label/Label.tsx
1200
- import * as React7 from "react";
1201
- import * as LabelPrimitive from "@radix-ui/react-label";
1202
- import { cva as cva6 } from "class-variance-authority";
1203
- import { jsx as jsx17 } from "react/jsx-runtime";
1204
- var labelVariants = cva6(
1205
- "text-sm font-medium leading-none text-[var(--chekin-color-brand-navy)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70 peer-aria-busy:cursor-wait peer-aria-busy:opacity-70 peer-aria-readonly:cursor-default peer-aria-readonly:opacity-100"
1206
- );
1207
- var Label = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx17(LabelPrimitive.Root, { ref, className: cn(labelVariants(), className), ...props }));
1208
- Label.displayName = LabelPrimitive.Root.displayName;
1304
+ import * as React9 from "react";
1209
1305
 
1210
1306
  // src/text-field/FieldError.tsx
1211
- import { jsx as jsx18 } from "react/jsx-runtime";
1212
- var FieldError = ({ id, className, children }) => /* @__PURE__ */ jsx18(
1307
+ import { jsx as jsx20 } from "react/jsx-runtime";
1308
+ var FieldError = ({ id, className, children }) => /* @__PURE__ */ jsx20(
1213
1309
  "p",
1214
1310
  {
1215
1311
  id,
@@ -1223,8 +1319,8 @@ var FieldError = ({ id, className, children }) => /* @__PURE__ */ jsx18(
1223
1319
  );
1224
1320
 
1225
1321
  // src/text-field/SupportingText.tsx
1226
- import { jsx as jsx19 } from "react/jsx-runtime";
1227
- var SupportingText = ({ id, className, children }) => /* @__PURE__ */ jsx19(
1322
+ import { jsx as jsx21 } from "react/jsx-runtime";
1323
+ var SupportingText = ({ id, className, children }) => /* @__PURE__ */ jsx21(
1228
1324
  "p",
1229
1325
  {
1230
1326
  id,
@@ -1234,7 +1330,7 @@ var SupportingText = ({ id, className, children }) => /* @__PURE__ */ jsx19(
1234
1330
  );
1235
1331
 
1236
1332
  // src/checkbox/Checkbox.tsx
1237
- import { jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
1333
+ import { jsx as jsx22, jsxs as jsxs13 } from "react/jsx-runtime";
1238
1334
  var rowSizeClasses = {
1239
1335
  default: "gap-2.5",
1240
1336
  m: "gap-2.5",
@@ -1245,7 +1341,7 @@ var labelSizeClasses = {
1245
1341
  m: "text-base",
1246
1342
  s: "text-sm"
1247
1343
  };
1248
- var Checkbox = React8.forwardRef(
1344
+ var Checkbox = React9.forwardRef(
1249
1345
  ({
1250
1346
  id,
1251
1347
  label,
@@ -1264,19 +1360,19 @@ var Checkbox = React8.forwardRef(
1264
1360
  supportingTextClassName,
1265
1361
  ...props
1266
1362
  }, ref) => {
1267
- const generatedId = React8.useId();
1363
+ const generatedId = React9.useId();
1268
1364
  const checkboxId = id || generatedId;
1269
1365
  const errorId = error ? `${checkboxId}-error` : void 0;
1270
1366
  const descriptionId = supportingText ? `${checkboxId}-desc` : void 0;
1271
1367
  const ariaDescribedBy = errorId || descriptionId || void 0;
1272
- return /* @__PURE__ */ jsxs12("div", { className: cn("flex w-full flex-col", className), children: [
1273
- /* @__PURE__ */ jsxs12(
1368
+ return /* @__PURE__ */ jsxs13("div", { className: cn("flex w-full flex-col", className), children: [
1369
+ /* @__PURE__ */ jsxs13(
1274
1370
  "div",
1275
1371
  {
1276
1372
  className: cn("flex items-center", rowSizeClasses[size], rowClassName),
1277
1373
  onClick: () => onWrapperClick?.(!value),
1278
1374
  children: [
1279
- /* @__PURE__ */ jsx20(
1375
+ /* @__PURE__ */ jsx22(
1280
1376
  BaseCheckbox,
1281
1377
  {
1282
1378
  id: checkboxId,
@@ -1291,7 +1387,7 @@ var Checkbox = React8.forwardRef(
1291
1387
  ...props
1292
1388
  }
1293
1389
  ),
1294
- label && /* @__PURE__ */ jsx20(
1390
+ label && /* @__PURE__ */ jsx22(
1295
1391
  Label,
1296
1392
  {
1297
1393
  htmlFor: checkboxId,
@@ -1307,28 +1403,28 @@ var Checkbox = React8.forwardRef(
1307
1403
  ]
1308
1404
  }
1309
1405
  ),
1310
- supportingText && !error && /* @__PURE__ */ jsx20(SupportingText, { id: descriptionId, className: supportingTextClassName, children: supportingText }),
1311
- error && /* @__PURE__ */ jsx20(FieldError, { id: errorId, className: errorClassName, children: error })
1406
+ supportingText && !error && /* @__PURE__ */ jsx22(SupportingText, { id: descriptionId, className: supportingTextClassName, children: supportingText }),
1407
+ error && /* @__PURE__ */ jsx22(FieldError, { id: errorId, className: errorClassName, children: error })
1312
1408
  ] });
1313
1409
  }
1314
1410
  );
1315
1411
  Checkbox.displayName = "Checkbox";
1316
1412
 
1317
1413
  // src/checkbox/CheckboxGroup.tsx
1318
- import * as React9 from "react";
1414
+ import * as React10 from "react";
1319
1415
 
1320
1416
  // src/scroll-area/ScrollArea.tsx
1321
1417
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
1322
- import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
1418
+ import { jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
1323
1419
  function ScrollArea({ className, children, ...props }) {
1324
- return /* @__PURE__ */ jsxs13(
1420
+ return /* @__PURE__ */ jsxs14(
1325
1421
  ScrollAreaPrimitive.Root,
1326
1422
  {
1327
1423
  "data-slot": "scroll-area",
1328
1424
  className: cn("relative overflow-hidden", className),
1329
1425
  ...props,
1330
1426
  children: [
1331
- /* @__PURE__ */ jsx21(
1427
+ /* @__PURE__ */ jsx23(
1332
1428
  ScrollAreaPrimitive.Viewport,
1333
1429
  {
1334
1430
  "data-slot": "scroll-area-viewport",
@@ -1336,8 +1432,8 @@ function ScrollArea({ className, children, ...props }) {
1336
1432
  children
1337
1433
  }
1338
1434
  ),
1339
- /* @__PURE__ */ jsx21(ScrollBar, {}),
1340
- /* @__PURE__ */ jsx21(ScrollAreaPrimitive.Corner, {})
1435
+ /* @__PURE__ */ jsx23(ScrollBar, {}),
1436
+ /* @__PURE__ */ jsx23(ScrollAreaPrimitive.Corner, {})
1341
1437
  ]
1342
1438
  }
1343
1439
  );
@@ -1347,7 +1443,7 @@ function ScrollBar({
1347
1443
  orientation = "vertical",
1348
1444
  ...props
1349
1445
  }) {
1350
- return /* @__PURE__ */ jsx21(
1446
+ return /* @__PURE__ */ jsx23(
1351
1447
  ScrollAreaPrimitive.ScrollAreaScrollbar,
1352
1448
  {
1353
1449
  "data-slot": "scroll-area-scrollbar",
@@ -1359,7 +1455,7 @@ function ScrollBar({
1359
1455
  className
1360
1456
  ),
1361
1457
  ...props,
1362
- children: /* @__PURE__ */ jsx21(
1458
+ children: /* @__PURE__ */ jsx23(
1363
1459
  ScrollAreaPrimitive.ScrollAreaThumb,
1364
1460
  {
1365
1461
  "data-slot": "scroll-area-thumb",
@@ -1370,24 +1466,8 @@ function ScrollBar({
1370
1466
  );
1371
1467
  }
1372
1468
 
1373
- // src/error-message/ErrorMessage.tsx
1374
- import { jsx as jsx22 } from "react/jsx-runtime";
1375
- function ErrorMessage({ className, children, disabled }) {
1376
- return /* @__PURE__ */ jsx22(
1377
- "div",
1378
- {
1379
- className: cn(
1380
- "mt-0.5 text-left text-sm font-medium text-[var(--error-message-color)]",
1381
- disabled && "opacity-30",
1382
- className
1383
- ),
1384
- children
1385
- }
1386
- );
1387
- }
1388
-
1389
1469
  // src/checkbox/CheckboxGroup.tsx
1390
- import { Fragment as Fragment4, jsx as jsx23, jsxs as jsxs14 } from "react/jsx-runtime";
1470
+ import { Fragment as Fragment4, jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
1391
1471
  var ScrollAreaWrapper = ({
1392
1472
  children,
1393
1473
  scrollable,
@@ -1396,7 +1476,7 @@ var ScrollAreaWrapper = ({
1396
1476
  if (!scrollable) {
1397
1477
  return children;
1398
1478
  }
1399
- return /* @__PURE__ */ jsx23(
1479
+ return /* @__PURE__ */ jsx24(
1400
1480
  ScrollArea,
1401
1481
  {
1402
1482
  className: "max-h-96 w-full overflow-hidden",
@@ -1405,7 +1485,7 @@ var ScrollAreaWrapper = ({
1405
1485
  }
1406
1486
  );
1407
1487
  };
1408
- var CheckboxGroup = React9.forwardRef(
1488
+ var CheckboxGroup = React10.forwardRef(
1409
1489
  ({
1410
1490
  options,
1411
1491
  value = [],
@@ -1419,7 +1499,7 @@ var CheckboxGroup = React9.forwardRef(
1419
1499
  error,
1420
1500
  ...props
1421
1501
  }, ref) => {
1422
- const selectAllId = React9.useId();
1502
+ const selectAllId = React10.useId();
1423
1503
  const handleOptionChange = (optionValue, checked) => {
1424
1504
  if (!onChange) return;
1425
1505
  if (checked) {
@@ -1441,10 +1521,10 @@ var CheckboxGroup = React9.forwardRef(
1441
1521
  (selectedValue) => availableOptions.some((option) => option.value === selectedValue)
1442
1522
  );
1443
1523
  const isAllSelected = selectedAvailableValues.length > 0 && selectedAvailableValues.length === availableOptions.length;
1444
- return /* @__PURE__ */ jsxs14("div", { ref, className: cn("space-y-2", className), ...props, children: [
1445
- showSelectAll && /* @__PURE__ */ jsxs14(Fragment4, { children: [
1446
- /* @__PURE__ */ jsxs14("div", { className: "flex items-center gap-2", children: [
1447
- /* @__PURE__ */ jsx23(
1524
+ return /* @__PURE__ */ jsxs15("div", { ref, className: cn("space-y-2", className), ...props, children: [
1525
+ showSelectAll && /* @__PURE__ */ jsxs15(Fragment4, { children: [
1526
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
1527
+ /* @__PURE__ */ jsx24(
1448
1528
  BaseCheckbox,
1449
1529
  {
1450
1530
  id: selectAllId,
@@ -1453,7 +1533,7 @@ var CheckboxGroup = React9.forwardRef(
1453
1533
  disabled: disabled || availableOptions.length === 0
1454
1534
  }
1455
1535
  ),
1456
- /* @__PURE__ */ jsx23(
1536
+ /* @__PURE__ */ jsx24(
1457
1537
  Label,
1458
1538
  {
1459
1539
  htmlFor: selectAllId,
@@ -1462,9 +1542,9 @@ var CheckboxGroup = React9.forwardRef(
1462
1542
  }
1463
1543
  )
1464
1544
  ] }),
1465
- /* @__PURE__ */ jsx23("hr", { className: "border-t border-chekin-gray-3" })
1545
+ /* @__PURE__ */ jsx24("hr", { className: "border-t border-chekin-gray-3" })
1466
1546
  ] }),
1467
- /* @__PURE__ */ jsx23(ScrollAreaWrapper, { scrollable, scrollHeight, children: /* @__PURE__ */ jsx23("div", { className: "space-y-2", children: options.map((option) => /* @__PURE__ */ jsx23(
1547
+ /* @__PURE__ */ jsx24(ScrollAreaWrapper, { scrollable, scrollHeight, children: /* @__PURE__ */ jsx24("div", { className: "space-y-2", children: options.map((option) => /* @__PURE__ */ jsx24(
1468
1548
  Checkbox,
1469
1549
  {
1470
1550
  label: option.label,
@@ -1474,7 +1554,7 @@ var CheckboxGroup = React9.forwardRef(
1474
1554
  },
1475
1555
  option.value
1476
1556
  )) }) }),
1477
- error && /* @__PURE__ */ jsx23(ErrorMessage, { disabled, children: error })
1557
+ error && /* @__PURE__ */ jsx24(ErrorMessage, { disabled, children: error })
1478
1558
  ] });
1479
1559
  }
1480
1560
  );
@@ -1521,12 +1601,12 @@ function toCssSize(size) {
1521
1601
  }
1522
1602
 
1523
1603
  // src/tooltip/Tooltip.tsx
1524
- import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
1604
+ import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
1525
1605
  function TooltipProvider({
1526
1606
  delayDuration = 0,
1527
1607
  ...props
1528
1608
  }) {
1529
- return /* @__PURE__ */ jsx24(
1609
+ return /* @__PURE__ */ jsx25(
1530
1610
  TooltipPrimitive.Provider,
1531
1611
  {
1532
1612
  "data-slot": "tooltip-provider",
@@ -1537,7 +1617,7 @@ function TooltipProvider({
1537
1617
  }
1538
1618
  var TooltipRoot = TooltipPrimitive.Root;
1539
1619
  function TooltipRootWrapper({ disabled = false, ...props }) {
1540
- return /* @__PURE__ */ jsx24(TooltipProvider, { children: /* @__PURE__ */ jsx24(
1620
+ return /* @__PURE__ */ jsx25(TooltipProvider, { children: /* @__PURE__ */ jsx25(
1541
1621
  TooltipPrimitive.Root,
1542
1622
  {
1543
1623
  "data-slot": "tooltip",
@@ -1547,7 +1627,7 @@ function TooltipRootWrapper({ disabled = false, ...props }) {
1547
1627
  ) });
1548
1628
  }
1549
1629
  function TooltipTrigger(props) {
1550
- return /* @__PURE__ */ jsx24(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1630
+ return /* @__PURE__ */ jsx25(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1551
1631
  }
1552
1632
  function TooltipContent({
1553
1633
  className,
@@ -1557,7 +1637,7 @@ function TooltipContent({
1557
1637
  container,
1558
1638
  ...props
1559
1639
  }) {
1560
- return /* @__PURE__ */ jsx24(TooltipPrimitive.Portal, { container: container ?? getCustomContainer(), children: /* @__PURE__ */ jsxs15(
1640
+ return /* @__PURE__ */ jsx25(TooltipPrimitive.Portal, { container: container ?? getCustomContainer(), children: /* @__PURE__ */ jsxs16(
1561
1641
  TooltipPrimitive.Content,
1562
1642
  {
1563
1643
  "data-slot": "tooltip-content",
@@ -1578,7 +1658,7 @@ function TooltipContent({
1578
1658
  ...props,
1579
1659
  children: [
1580
1660
  children,
1581
- /* @__PURE__ */ jsx24(
1661
+ /* @__PURE__ */ jsx25(
1582
1662
  TooltipPrimitive.Arrow,
1583
1663
  {
1584
1664
  className: cn(
@@ -1608,7 +1688,7 @@ function Tooltip({
1608
1688
  ...props
1609
1689
  }) {
1610
1690
  if (typeof content === "undefined") {
1611
- return /* @__PURE__ */ jsx24(TooltipProvider, { delayDuration, children: /* @__PURE__ */ jsx24(
1691
+ return /* @__PURE__ */ jsx25(TooltipProvider, { delayDuration, children: /* @__PURE__ */ jsx25(
1612
1692
  TooltipPrimitive.Root,
1613
1693
  {
1614
1694
  "data-slot": "tooltip",
@@ -1618,15 +1698,15 @@ function Tooltip({
1618
1698
  }
1619
1699
  ) });
1620
1700
  }
1621
- return /* @__PURE__ */ jsx24(TooltipProvider, { delayDuration, children: /* @__PURE__ */ jsxs15(
1701
+ return /* @__PURE__ */ jsx25(TooltipProvider, { delayDuration, children: /* @__PURE__ */ jsxs16(
1622
1702
  TooltipPrimitive.Root,
1623
1703
  {
1624
1704
  "data-slot": "tooltip",
1625
1705
  open: disabled ? false : void 0,
1626
1706
  ...props,
1627
1707
  children: [
1628
- /* @__PURE__ */ jsx24(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", asChild, children }),
1629
- /* @__PURE__ */ jsx24(
1708
+ /* @__PURE__ */ jsx25(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", asChild, children }),
1709
+ /* @__PURE__ */ jsx25(
1630
1710
  TooltipContent,
1631
1711
  {
1632
1712
  side,
@@ -1643,9 +1723,9 @@ function Tooltip({
1643
1723
  }
1644
1724
 
1645
1725
  // src/status-badge/StatusBadge.tsx
1646
- import { forwardRef as forwardRef11, memo } from "react";
1726
+ import { forwardRef as forwardRef12, memo } from "react";
1647
1727
  import { Check as Check3, Clock, X } from "lucide-react";
1648
- import { jsx as jsx25, jsxs as jsxs16 } from "react/jsx-runtime";
1728
+ import { jsx as jsx26, jsxs as jsxs17 } from "react/jsx-runtime";
1649
1729
  function StatusBadgeIcon({ variant, className }) {
1650
1730
  const iconProps = {
1651
1731
  size: 10,
@@ -1653,7 +1733,7 @@ function StatusBadgeIcon({ variant, className }) {
1653
1733
  };
1654
1734
  switch (variant) {
1655
1735
  case "clock-blue":
1656
- return /* @__PURE__ */ jsx25(
1736
+ return /* @__PURE__ */ jsx26(
1657
1737
  Clock,
1658
1738
  {
1659
1739
  ...iconProps,
@@ -1661,7 +1741,7 @@ function StatusBadgeIcon({ variant, className }) {
1661
1741
  }
1662
1742
  );
1663
1743
  case "tick-blue":
1664
- return /* @__PURE__ */ jsx25(
1744
+ return /* @__PURE__ */ jsx26(
1665
1745
  Check3,
1666
1746
  {
1667
1747
  ...iconProps,
@@ -1669,9 +1749,9 @@ function StatusBadgeIcon({ variant, className }) {
1669
1749
  }
1670
1750
  );
1671
1751
  case "tick-green":
1672
- return /* @__PURE__ */ jsx25(Check3, { ...iconProps, className: cn("text-emerald-600", className) });
1752
+ return /* @__PURE__ */ jsx26(Check3, { ...iconProps, className: cn("text-emerald-600", className) });
1673
1753
  case "x-red":
1674
- return /* @__PURE__ */ jsx25(
1754
+ return /* @__PURE__ */ jsx26(
1675
1755
  X,
1676
1756
  {
1677
1757
  ...iconProps,
@@ -1680,7 +1760,7 @@ function StatusBadgeIcon({ variant, className }) {
1680
1760
  );
1681
1761
  case "clock-grey":
1682
1762
  default:
1683
- return /* @__PURE__ */ jsx25(
1763
+ return /* @__PURE__ */ jsx26(
1684
1764
  Clock,
1685
1765
  {
1686
1766
  ...iconProps,
@@ -1726,7 +1806,7 @@ var variantStyles = {
1726
1806
  icon: "x-red"
1727
1807
  }
1728
1808
  };
1729
- var StatusBadgeInternal = forwardRef11(
1809
+ var StatusBadgeInternal = forwardRef12(
1730
1810
  ({
1731
1811
  children,
1732
1812
  variant = "neutral",
@@ -1746,7 +1826,7 @@ var StatusBadgeInternal = forwardRef11(
1746
1826
  if (hasText && hasIcon) return "py-1 pl-3 pr-2";
1747
1827
  return "px-3 py-1";
1748
1828
  })();
1749
- return /* @__PURE__ */ jsxs16(
1829
+ return /* @__PURE__ */ jsxs17(
1750
1830
  "div",
1751
1831
  {
1752
1832
  ref,
@@ -1760,8 +1840,8 @@ var StatusBadgeInternal = forwardRef11(
1760
1840
  ),
1761
1841
  ...props,
1762
1842
  children: [
1763
- hasIcon && /* @__PURE__ */ jsx25(StatusBadgeIcon, { variant: styles.icon, className: "size-4 flex-shrink-0" }),
1764
- hasText && /* @__PURE__ */ jsx25("span", { className: "whitespace-nowrap", children })
1843
+ hasIcon && /* @__PURE__ */ jsx26(StatusBadgeIcon, { variant: styles.icon, className: "size-4 flex-shrink-0" }),
1844
+ hasText && /* @__PURE__ */ jsx26("span", { className: "whitespace-nowrap", children })
1765
1845
  ]
1766
1846
  }
1767
1847
  );
@@ -1771,19 +1851,19 @@ StatusBadgeInternal.displayName = "StatusBadge";
1771
1851
  var StatusBadge = memo(StatusBadgeInternal);
1772
1852
 
1773
1853
  // src/comming-soon-badge/CommingSoonBadge.tsx
1774
- import { jsx as jsx26, jsxs as jsxs17 } from "react/jsx-runtime";
1854
+ import { jsx as jsx27, jsxs as jsxs18 } from "react/jsx-runtime";
1775
1855
  function CommingSoonBadge({ tooltip = true }) {
1776
1856
  const { t } = useTranslation4();
1777
- return /* @__PURE__ */ jsx26(TooltipProvider, { children: /* @__PURE__ */ jsxs17(Tooltip, { children: [
1778
- /* @__PURE__ */ jsx26(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx26(StatusBadge, { textOnly: true, variant: "success-blue", children: t("feature_coming_soon") }) }),
1779
- tooltip && /* @__PURE__ */ jsx26(TooltipContent, { variant: "dark", children: /* @__PURE__ */ jsx26("p", { className: "w-[216px] text-balance", children: t("feature_coming_soon_description") }) })
1857
+ return /* @__PURE__ */ jsx27(TooltipProvider, { children: /* @__PURE__ */ jsxs18(Tooltip, { children: [
1858
+ /* @__PURE__ */ jsx27(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsx27(StatusBadge, { textOnly: true, variant: "success-blue", children: t("feature_coming_soon") }) }),
1859
+ tooltip && /* @__PURE__ */ jsx27(TooltipContent, { variant: "dark", children: /* @__PURE__ */ jsx27("p", { className: "w-[216px] text-balance", children: t("feature_coming_soon_description") }) })
1780
1860
  ] }) });
1781
1861
  }
1782
1862
 
1783
1863
  // src/copy-icon/CopyIcon.tsx
1784
1864
  import { useState as useState3 } from "react";
1785
1865
  import { Check as Check4, Copy } from "lucide-react";
1786
- import { jsx as jsx27, jsxs as jsxs18 } from "react/jsx-runtime";
1866
+ import { jsx as jsx28, jsxs as jsxs19 } from "react/jsx-runtime";
1787
1867
  function CopyIcon({
1788
1868
  textToCopy,
1789
1869
  className,
@@ -1811,8 +1891,8 @@ function CopyIcon({
1811
1891
  console.error("Failed to copy text: ", error);
1812
1892
  }
1813
1893
  };
1814
- return /* @__PURE__ */ jsx27(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsxs18(Tooltip, { children: [
1815
- /* @__PURE__ */ jsx27(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs18(
1894
+ return /* @__PURE__ */ jsx28(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsxs19(Tooltip, { children: [
1895
+ /* @__PURE__ */ jsx28(TooltipTrigger, { asChild: true, children: /* @__PURE__ */ jsxs19(
1816
1896
  Button,
1817
1897
  {
1818
1898
  variant,
@@ -1830,14 +1910,14 @@ function CopyIcon({
1830
1910
  "aria-label": copied ? "Copied" : "Copy to clipboard",
1831
1911
  readOnly: copied,
1832
1912
  children: [
1833
- /* @__PURE__ */ jsx27(
1913
+ /* @__PURE__ */ jsx28(
1834
1914
  "div",
1835
1915
  {
1836
1916
  className: cn(
1837
1917
  "transition-all",
1838
1918
  copied ? "scale-100 opacity-100" : "scale-0 opacity-0"
1839
1919
  ),
1840
- children: /* @__PURE__ */ jsx27(
1920
+ children: /* @__PURE__ */ jsx28(
1841
1921
  Check4,
1842
1922
  {
1843
1923
  className: "stroke-[var(--copy-icon-success-color)]",
@@ -1848,28 +1928,28 @@ function CopyIcon({
1848
1928
  )
1849
1929
  }
1850
1930
  ),
1851
- /* @__PURE__ */ jsx27(
1931
+ /* @__PURE__ */ jsx28(
1852
1932
  "div",
1853
1933
  {
1854
1934
  className: cn(
1855
1935
  "absolute transition-all",
1856
1936
  copied ? "scale-0 opacity-0" : "scale-100 opacity-100"
1857
1937
  ),
1858
- children: /* @__PURE__ */ jsx27(Copy, { size: 13, strokeWidth: 2, "aria-hidden": "true" })
1938
+ children: /* @__PURE__ */ jsx28(Copy, { size: 13, strokeWidth: 2, "aria-hidden": "true" })
1859
1939
  }
1860
1940
  )
1861
1941
  ]
1862
1942
  }
1863
1943
  ) }),
1864
- /* @__PURE__ */ jsx27(TooltipContent, { className: "px-2 py-2 text-xs", children: tooltipText })
1944
+ /* @__PURE__ */ jsx28(TooltipContent, { className: "px-2 py-2 text-xs", children: tooltipText })
1865
1945
  ] }) });
1866
1946
  }
1867
1947
 
1868
1948
  // src/input/Input.tsx
1869
- import * as React10 from "react";
1870
- import { jsx as jsx28 } from "react/jsx-runtime";
1871
- var Input = React10.forwardRef(
1872
- ({ className, type, readOnly, ...props }, ref) => /* @__PURE__ */ jsx28(
1949
+ import * as React11 from "react";
1950
+ import { jsx as jsx29 } from "react/jsx-runtime";
1951
+ var Input = React11.forwardRef(
1952
+ ({ className, type, readOnly, ...props }, ref) => /* @__PURE__ */ jsx29(
1873
1953
  "input",
1874
1954
  {
1875
1955
  ref,
@@ -1892,11 +1972,11 @@ var Input = React10.forwardRef(
1892
1972
  Input.displayName = "Input";
1893
1973
 
1894
1974
  // src/copy-input/CopyInput.tsx
1895
- import { jsx as jsx29, jsxs as jsxs19 } from "react/jsx-runtime";
1975
+ import { jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
1896
1976
  function CopyInput({ value, className, ...props }) {
1897
1977
  const textToCopy = value?.toString() ?? "";
1898
- return /* @__PURE__ */ jsxs19("div", { className: cn("relative w-fit", className), children: [
1899
- /* @__PURE__ */ jsx29(
1978
+ return /* @__PURE__ */ jsxs20("div", { className: cn("relative w-fit", className), children: [
1979
+ /* @__PURE__ */ jsx30(
1900
1980
  Input,
1901
1981
  {
1902
1982
  readOnly: true,
@@ -1905,7 +1985,7 @@ function CopyInput({ value, className, ...props }) {
1905
1985
  ...props
1906
1986
  }
1907
1987
  ),
1908
- textToCopy && /* @__PURE__ */ jsx29(
1988
+ textToCopy && /* @__PURE__ */ jsx30(
1909
1989
  CopyIcon,
1910
1990
  {
1911
1991
  textToCopy,
@@ -1984,7 +2064,7 @@ function useCopyToClipboard({ value, onCopiedLink, onReset }) {
1984
2064
  }
1985
2065
 
1986
2066
  // src/copy-link-button/CopyLinkButton.tsx
1987
- import { jsxs as jsxs20 } from "react/jsx-runtime";
2067
+ import { jsxs as jsxs21 } from "react/jsx-runtime";
1988
2068
  function CopyLinkButton({
1989
2069
  className,
1990
2070
  link,
@@ -1998,7 +2078,7 @@ function CopyLinkButton({
1998
2078
  }) {
1999
2079
  const { t } = useTranslation5();
2000
2080
  const { isCopied, copy } = useCopyToClipboard({ value: link, onCopiedLink });
2001
- return /* @__PURE__ */ jsxs20(
2081
+ return /* @__PURE__ */ jsxs21(
2002
2082
  Button,
2003
2083
  {
2004
2084
  className,
@@ -2015,11 +2095,11 @@ function CopyLinkButton({
2015
2095
  }
2016
2096
 
2017
2097
  // src/copy-string/CopyString.tsx
2018
- import { jsx as jsx30, jsxs as jsxs21 } from "react/jsx-runtime";
2098
+ import { jsx as jsx31, jsxs as jsxs22 } from "react/jsx-runtime";
2019
2099
  function CopyString({ value = "", className, ...props }) {
2020
- return /* @__PURE__ */ jsxs21("div", { className: cn("flex w-fit items-center gap-1.5", className), ...props, children: [
2021
- /* @__PURE__ */ jsx30("div", { className: "copy-string_value w-full overflow-hidden text-ellipsis whitespace-nowrap text-left", children: value }),
2022
- /* @__PURE__ */ jsx30(CopyIcon, { textToCopy: value })
2100
+ return /* @__PURE__ */ jsxs22("div", { className: cn("flex w-fit items-center gap-1.5", className), ...props, children: [
2101
+ /* @__PURE__ */ jsx31("div", { className: "copy-string_value w-full overflow-hidden text-ellipsis whitespace-nowrap text-left", children: value }),
2102
+ /* @__PURE__ */ jsx31(CopyIcon, { textToCopy: value })
2023
2103
  ] });
2024
2104
  }
2025
2105
 
@@ -2033,19 +2113,19 @@ import {
2033
2113
 
2034
2114
  // src/table/Table.tsx
2035
2115
  import {
2036
- forwardRef as forwardRef13
2116
+ forwardRef as forwardRef14
2037
2117
  } from "react";
2038
2118
 
2039
2119
  // src/loading-bar/LoadingBar.tsx
2040
- import { jsx as jsx31 } from "react/jsx-runtime";
2120
+ import { jsx as jsx32 } from "react/jsx-runtime";
2041
2121
  function LoadingBar({ className }) {
2042
- return /* @__PURE__ */ jsx31("div", { className: cn("w-full p-4", className), children: /* @__PURE__ */ jsx31("div", { className: "relative h-1 w-full overflow-hidden rounded-full bg-[var(--chekin-color-white)]", children: /* @__PURE__ */ jsx31("div", { className: "absolute top-0 h-full animate-[chekin-loading-bar_0.8s_linear_infinite] rounded-full bg-[var(--primary)]" }) }) });
2122
+ return /* @__PURE__ */ jsx32("div", { className: cn("w-full p-4", className), children: /* @__PURE__ */ jsx32("div", { className: "relative h-1 w-full overflow-hidden rounded-full bg-[var(--chekin-color-white)]", children: /* @__PURE__ */ jsx32("div", { className: "absolute top-0 h-full animate-[chekin-loading-bar_0.8s_linear_infinite] rounded-full bg-[var(--primary)]" }) }) });
2043
2123
  }
2044
2124
 
2045
2125
  // src/table/Table.tsx
2046
- import { jsx as jsx32, jsxs as jsxs22 } from "react/jsx-runtime";
2047
- var Table = forwardRef13(
2048
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx32("div", { className: "relative w-full overflow-auto rounded-lg border border-[var(--table-border)]", children: /* @__PURE__ */ jsx32(
2126
+ import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
2127
+ var Table = forwardRef14(
2128
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx33("div", { className: "relative w-full overflow-auto rounded-lg border border-[var(--table-border)]", children: /* @__PURE__ */ jsx33(
2049
2129
  "table",
2050
2130
  {
2051
2131
  ref,
@@ -2055,7 +2135,7 @@ var Table = forwardRef13(
2055
2135
  ) })
2056
2136
  );
2057
2137
  Table.displayName = "Table";
2058
- var TableHeader = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2138
+ var TableHeader = forwardRef14(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
2059
2139
  "thead",
2060
2140
  {
2061
2141
  ref,
@@ -2068,7 +2148,7 @@ var TableHeader = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */
2068
2148
  }
2069
2149
  ));
2070
2150
  TableHeader.displayName = "TableHeader";
2071
- var TableBody = forwardRef13(({ className, children, isLoading, ...props }, ref) => /* @__PURE__ */ jsxs22(
2151
+ var TableBody = forwardRef14(({ className, children, isLoading, ...props }, ref) => /* @__PURE__ */ jsxs23(
2072
2152
  "tbody",
2073
2153
  {
2074
2154
  ref,
@@ -2077,14 +2157,14 @@ var TableBody = forwardRef13(({ className, children, isLoading, ...props }, ref)
2077
2157
  }),
2078
2158
  ...props,
2079
2159
  children: [
2080
- isLoading && /* @__PURE__ */ jsx32("tr", { className: "absolute bottom-0 left-0 right-0 top-0 z-20 cursor-wait bg-[var(--table-loading-overlay-bg)] opacity-50" }),
2081
- isLoading && /* @__PURE__ */ jsx32("tr", { className: "!m-0 !p-0", children: /* @__PURE__ */ jsx32("td", { className: "!m-0 !p-0", children: /* @__PURE__ */ jsx32(LoadingBar, { className: "absolute z-20 p-0" }) }) }),
2160
+ isLoading && /* @__PURE__ */ jsx33("tr", { className: "absolute bottom-0 left-0 right-0 top-0 z-20 cursor-wait bg-[var(--table-loading-overlay-bg)] opacity-50" }),
2161
+ isLoading && /* @__PURE__ */ jsx33("tr", { className: "!m-0 !p-0", children: /* @__PURE__ */ jsx33("td", { className: "!m-0 !p-0", children: /* @__PURE__ */ jsx33(LoadingBar, { className: "absolute z-20 p-0" }) }) }),
2082
2162
  children
2083
2163
  ]
2084
2164
  }
2085
2165
  ));
2086
2166
  TableBody.displayName = "TableBody";
2087
- var TableFooter = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2167
+ var TableFooter = forwardRef14(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
2088
2168
  "tfoot",
2089
2169
  {
2090
2170
  ref,
@@ -2096,8 +2176,8 @@ var TableFooter = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */
2096
2176
  }
2097
2177
  ));
2098
2178
  TableFooter.displayName = "TableFooter";
2099
- var TableRow = forwardRef13(
2100
- ({ className, clickable, ...props }, ref) => /* @__PURE__ */ jsx32(
2179
+ var TableRow = forwardRef14(
2180
+ ({ className, clickable, ...props }, ref) => /* @__PURE__ */ jsx33(
2101
2181
  "tr",
2102
2182
  {
2103
2183
  ref,
@@ -2111,7 +2191,7 @@ var TableRow = forwardRef13(
2111
2191
  )
2112
2192
  );
2113
2193
  TableRow.displayName = "TableRow";
2114
- var TableHead = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2194
+ var TableHead = forwardRef14(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
2115
2195
  "th",
2116
2196
  {
2117
2197
  ref,
@@ -2123,7 +2203,7 @@ var TableHead = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ j
2123
2203
  }
2124
2204
  ));
2125
2205
  TableHead.displayName = "TableHead";
2126
- var TableCell = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2206
+ var TableCell = forwardRef14(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
2127
2207
  "td",
2128
2208
  {
2129
2209
  ref,
@@ -2135,7 +2215,7 @@ var TableCell = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ j
2135
2215
  }
2136
2216
  ));
2137
2217
  TableCell.displayName = "TableCell";
2138
- var TableCaption = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ */ jsx32(
2218
+ var TableCaption = forwardRef14(({ className, ...props }, ref) => /* @__PURE__ */ jsx33(
2139
2219
  "caption",
2140
2220
  {
2141
2221
  ref,
@@ -2146,7 +2226,7 @@ var TableCaption = forwardRef13(({ className, ...props }, ref) => /* @__PURE__ *
2146
2226
  TableCaption.displayName = "TableCaption";
2147
2227
 
2148
2228
  // src/data-table/DataTable.tsx
2149
- import { jsx as jsx33, jsxs as jsxs23 } from "react/jsx-runtime";
2229
+ import { jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
2150
2230
  function DataTable({ columns, data }) {
2151
2231
  const { t } = useTranslation6();
2152
2232
  const table = useReactTable({
@@ -2154,16 +2234,16 @@ function DataTable({ columns, data }) {
2154
2234
  columns,
2155
2235
  getCoreRowModel: getCoreRowModel()
2156
2236
  });
2157
- return /* @__PURE__ */ jsx33("div", { className: "rounded-md border", children: /* @__PURE__ */ jsxs23(Table, { children: [
2158
- /* @__PURE__ */ jsx33(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx33(TableRow, { children: headerGroup.headers.map((header) => {
2159
- return /* @__PURE__ */ jsx33(TableHead, { children: header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext()) }, header.id);
2237
+ return /* @__PURE__ */ jsx34("div", { className: "rounded-md border", children: /* @__PURE__ */ jsxs24(Table, { children: [
2238
+ /* @__PURE__ */ jsx34(TableHeader, { children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ jsx34(TableRow, { children: headerGroup.headers.map((header) => {
2239
+ return /* @__PURE__ */ jsx34(TableHead, { children: header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext()) }, header.id);
2160
2240
  }) }, headerGroup.id)) }),
2161
- /* @__PURE__ */ jsx33(TableBody, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx33(TableRow, { "data-state": row.getIsSelected() && "selected", children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx33(TableCell, { children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id)) }, row.id)) : /* @__PURE__ */ jsx33(TableRow, { children: /* @__PURE__ */ jsx33(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: t("no_results") }) }) })
2241
+ /* @__PURE__ */ jsx34(TableBody, { children: table.getRowModel().rows?.length ? table.getRowModel().rows.map((row) => /* @__PURE__ */ jsx34(TableRow, { "data-state": row.getIsSelected() && "selected", children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx34(TableCell, { children: flexRender(cell.column.columnDef.cell, cell.getContext()) }, cell.id)) }, row.id)) : /* @__PURE__ */ jsx34(TableRow, { children: /* @__PURE__ */ jsx34(TableCell, { colSpan: columns.length, className: "h-24 text-center", children: t("no_results") }) }) })
2162
2242
  ] }) });
2163
2243
  }
2164
2244
 
2165
2245
  // src/dialog/Dialog.tsx
2166
- import * as React14 from "react";
2246
+ import * as React15 from "react";
2167
2247
  import * as DialogPrimitive from "@radix-ui/react-dialog";
2168
2248
  import { VisuallyHidden } from "@radix-ui/react-visually-hidden";
2169
2249
  import { XIcon } from "lucide-react";
@@ -2177,12 +2257,12 @@ function useScrollToTop() {
2177
2257
  }
2178
2258
 
2179
2259
  // src/hooks/use-abort-controller.ts
2180
- import React11 from "react";
2260
+ import React12 from "react";
2181
2261
  function useAbortController() {
2182
- const [abortController, setAbortController] = React11.useState(() => {
2262
+ const [abortController, setAbortController] = React12.useState(() => {
2183
2263
  return new AbortController();
2184
2264
  });
2185
- const setupAbortController = React11.useCallback(() => {
2265
+ const setupAbortController = React12.useCallback(() => {
2186
2266
  const abortController2 = new AbortController();
2187
2267
  setAbortController(abortController2);
2188
2268
  return abortController2.signal;
@@ -2465,7 +2545,7 @@ function useOutsideClick({
2465
2545
  }
2466
2546
 
2467
2547
  // src/hooks/use-screen-resize.ts
2468
- import React12 from "react";
2548
+ import React13 from "react";
2469
2549
  var eventName = "resize";
2470
2550
  function getMediaQuery(maxWidth, matchString) {
2471
2551
  if (matchString) {
@@ -2474,9 +2554,9 @@ function getMediaQuery(maxWidth, matchString) {
2474
2554
  return maxWidth ? `(max-width: ${maxWidth})` : null;
2475
2555
  }
2476
2556
  function useScreenResize(maxWidth, matchString) {
2477
- const [isInitialized, setIsInitialized] = React12.useState(false);
2478
- const [isMatch, setIsMatch] = React12.useState(false);
2479
- const handleResizeEvent = React12.useCallback(() => {
2557
+ const [isInitialized, setIsInitialized] = React13.useState(false);
2558
+ const [isMatch, setIsMatch] = React13.useState(false);
2559
+ const handleResizeEvent = React13.useCallback(() => {
2480
2560
  const mediaQuery = getMediaQuery(maxWidth, matchString);
2481
2561
  setIsInitialized(true);
2482
2562
  if (!mediaQuery) {
@@ -2486,7 +2566,7 @@ function useScreenResize(maxWidth, matchString) {
2486
2566
  const media = getWindow().matchMedia(mediaQuery);
2487
2567
  setIsMatch(media.matches);
2488
2568
  }, [maxWidth, matchString]);
2489
- React12.useEffect(() => {
2569
+ React13.useEffect(() => {
2490
2570
  handleResizeEvent();
2491
2571
  getWindow().addEventListener(eventName, handleResizeEvent);
2492
2572
  return () => {
@@ -3037,7 +3117,7 @@ function useKeyDown(key, cb, options) {
3037
3117
  }
3038
3118
 
3039
3119
  // src/hooks/use-iframe-focus-trap-fallback.ts
3040
- import * as React13 from "react";
3120
+ import * as React14 from "react";
3041
3121
  var IFRAME_FOCUSABLE_SELECTOR = [
3042
3122
  "a[href]",
3043
3123
  "area[href]",
@@ -3067,7 +3147,7 @@ function getFocusableElements(container) {
3067
3147
  });
3068
3148
  }
3069
3149
  function useIframeFocusTrapFallback(contentRef, onKeyDown) {
3070
- return React13.useCallback(
3150
+ return React14.useCallback(
3071
3151
  (event) => {
3072
3152
  onKeyDown?.(event);
3073
3153
  if (event.defaultPrevented || event.key !== "Tab") {
@@ -3195,9 +3275,9 @@ function useIsFormTouched({
3195
3275
  }
3196
3276
 
3197
3277
  // src/dialog/Dialog.tsx
3198
- import { jsx as jsx34, jsxs as jsxs24 } from "react/jsx-runtime";
3278
+ import { jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
3199
3279
  function useIframeTitleFix(titleRef) {
3200
- React14.useEffect(() => {
3280
+ React15.useEffect(() => {
3201
3281
  if (!window.chekinCustomDocument) {
3202
3282
  return;
3203
3283
  }
@@ -3213,20 +3293,20 @@ function useIframeTitleFix(titleRef) {
3213
3293
  }, [titleRef]);
3214
3294
  }
3215
3295
  function Dialog({ ...props }) {
3216
- return /* @__PURE__ */ jsx34(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
3296
+ return /* @__PURE__ */ jsx35(DialogPrimitive.Root, { "data-slot": "dialog", ...props });
3217
3297
  }
3218
3298
  function DialogTrigger({ ...props }) {
3219
- return /* @__PURE__ */ jsx34(DialogPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
3299
+ return /* @__PURE__ */ jsx35(DialogPrimitive.Trigger, { "data-slot": "dialog-trigger", ...props });
3220
3300
  }
3221
3301
  function DialogPortal({ ...props }) {
3222
- return /* @__PURE__ */ jsx34(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
3302
+ return /* @__PURE__ */ jsx35(DialogPrimitive.Portal, { "data-slot": "dialog-portal", ...props });
3223
3303
  }
3224
3304
  function DialogClose({ ...props }) {
3225
- return /* @__PURE__ */ jsx34(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
3305
+ return /* @__PURE__ */ jsx35(DialogPrimitive.Close, { "data-slot": "dialog-close", ...props });
3226
3306
  }
3227
3307
  var dialogOverlayClasses = "fixed inset-0 z-50 bg-[var(--dialog-overlay-bg)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0";
3228
3308
  var scrollableOverlayClasses = "fixed inset-0 z-50 flex flex-col items-center overflow-y-auto overscroll-none pb-[19px] pt-[20px]";
3229
- var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
3309
+ var DialogOverlay = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3230
3310
  DialogPrimitive.Overlay,
3231
3311
  {
3232
3312
  ref,
@@ -3238,7 +3318,7 @@ var DialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__P
3238
3318
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
3239
3319
  var dialogContentClasses = "relative z-50 my-auto w-full max-w-[calc(100%-2rem)] rounded-[var(--dialog-content-radius)] border border-[var(--dialog-content-border)] bg-[var(--dialog-content-bg)] p-6 text-[var(--dialog-content-text)] shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:max-w-2xl";
3240
3320
  var dialogCloseButtonClasses = "absolute right-4 top-4 flex size-6 items-center justify-center rounded-[var(--dialog-close-radius)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-chekin-focus disabled:pointer-events-none [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";
3241
- var DialogContent = React14.forwardRef(
3321
+ var DialogContent = React15.forwardRef(
3242
3322
  ({
3243
3323
  className,
3244
3324
  showCloseButton = true,
@@ -3248,10 +3328,10 @@ var DialogContent = React14.forwardRef(
3248
3328
  overlayClassName,
3249
3329
  ...props
3250
3330
  }, ref) => {
3251
- const contentRef = React14.useRef(null);
3331
+ const contentRef = React15.useRef(null);
3252
3332
  const combinedRef = useCombinedRef(contentRef, ref);
3253
3333
  const handleKeyDown = useIframeFocusTrapFallback(contentRef, props.onKeyDown);
3254
- const contentElement = /* @__PURE__ */ jsxs24(
3334
+ const contentElement = /* @__PURE__ */ jsxs25(
3255
3335
  DialogPrimitive.Content,
3256
3336
  {
3257
3337
  ref: combinedRef,
@@ -3261,14 +3341,14 @@ var DialogContent = React14.forwardRef(
3261
3341
  onKeyDown: handleKeyDown,
3262
3342
  children: [
3263
3343
  children,
3264
- showCloseButton && /* @__PURE__ */ jsxs24(
3344
+ showCloseButton && /* @__PURE__ */ jsxs25(
3265
3345
  DialogPrimitive.Close,
3266
3346
  {
3267
3347
  "data-slot": "dialog-close",
3268
3348
  className: dialogCloseButtonClasses,
3269
3349
  children: [
3270
- /* @__PURE__ */ jsx34(XIcon, {}),
3271
- /* @__PURE__ */ jsx34("span", { className: "sr-only", children: "Close" })
3350
+ /* @__PURE__ */ jsx35(XIcon, {}),
3351
+ /* @__PURE__ */ jsx35("span", { className: "sr-only", children: "Close" })
3272
3352
  ]
3273
3353
  }
3274
3354
  )
@@ -3276,7 +3356,7 @@ var DialogContent = React14.forwardRef(
3276
3356
  }
3277
3357
  );
3278
3358
  const portalContainer = container || (typeof window !== "undefined" ? window.chekinCustomDocument?.body : void 0);
3279
- return /* @__PURE__ */ jsx34(DialogPortal, { "data-slot": "dialog-portal", container: portalContainer, children: lockScroll ? /* @__PURE__ */ jsx34(
3359
+ return /* @__PURE__ */ jsx35(DialogPortal, { "data-slot": "dialog-portal", container: portalContainer, children: lockScroll ? /* @__PURE__ */ jsx35(
3280
3360
  DialogOverlay,
3281
3361
  {
3282
3362
  className: cn(
@@ -3286,7 +3366,7 @@ var DialogContent = React14.forwardRef(
3286
3366
  ),
3287
3367
  children: contentElement
3288
3368
  }
3289
- ) : /* @__PURE__ */ jsx34(
3369
+ ) : /* @__PURE__ */ jsx35(
3290
3370
  "div",
3291
3371
  {
3292
3372
  className: cn(
@@ -3300,7 +3380,7 @@ var DialogContent = React14.forwardRef(
3300
3380
  }
3301
3381
  );
3302
3382
  DialogContent.displayName = DialogPrimitive.Content.displayName;
3303
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx34(
3383
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx35(
3304
3384
  "div",
3305
3385
  {
3306
3386
  "data-slot": "dialog-header",
@@ -3309,7 +3389,7 @@ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ jsx34(
3309
3389
  }
3310
3390
  );
3311
3391
  DialogHeader.displayName = "DialogHeader";
3312
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx34(
3392
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx35(
3313
3393
  "div",
3314
3394
  {
3315
3395
  "data-slot": "dialog-footer",
@@ -3318,11 +3398,11 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ jsx34(
3318
3398
  }
3319
3399
  );
3320
3400
  DialogFooter.displayName = "DialogFooter";
3321
- var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => {
3322
- const titleRef = React14.useRef(null);
3401
+ var DialogTitle = React15.forwardRef(({ className, ...props }, ref) => {
3402
+ const titleRef = React15.useRef(null);
3323
3403
  const combinedRef = useCombinedRef(titleRef, ref);
3324
3404
  useIframeTitleFix(titleRef);
3325
- return /* @__PURE__ */ jsx34(
3405
+ return /* @__PURE__ */ jsx35(
3326
3406
  DialogPrimitive.Title,
3327
3407
  {
3328
3408
  ref: combinedRef,
@@ -3333,7 +3413,7 @@ var DialogTitle = React14.forwardRef(({ className, ...props }, ref) => {
3333
3413
  );
3334
3414
  });
3335
3415
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
3336
- var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx34(
3416
+ var DialogDescription = React15.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx35(
3337
3417
  DialogPrimitive.Description,
3338
3418
  {
3339
3419
  ref,
@@ -3343,11 +3423,11 @@ var DialogDescription = React14.forwardRef(({ className, ...props }, ref) => /*
3343
3423
  }
3344
3424
  ));
3345
3425
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
3346
- var DialogVisuallyHidden = ({ children }) => /* @__PURE__ */ jsx34(VisuallyHidden, { children });
3426
+ var DialogVisuallyHidden = ({ children }) => /* @__PURE__ */ jsx35(VisuallyHidden, { children });
3347
3427
  DialogVisuallyHidden.displayName = "DialogVisuallyHidden";
3348
3428
 
3349
3429
  // src/dialog/ConfirmationDialog.tsx
3350
- import { jsx as jsx35, jsxs as jsxs25 } from "react/jsx-runtime";
3430
+ import { jsx as jsx36, jsxs as jsxs26 } from "react/jsx-runtime";
3351
3431
  function ConfirmationDialog({
3352
3432
  open,
3353
3433
  onOpenChange,
@@ -3373,14 +3453,14 @@ function ConfirmationDialog({
3373
3453
  onCancel?.();
3374
3454
  onOpenChange(false);
3375
3455
  };
3376
- return /* @__PURE__ */ jsx35(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs25(DialogContent, { children: [
3377
- /* @__PURE__ */ jsxs25(DialogHeader, { children: [
3378
- /* @__PURE__ */ jsx35(DialogTitle, { children: title }),
3379
- /* @__PURE__ */ jsx35(DialogDescription, { children: description })
3456
+ return /* @__PURE__ */ jsx36(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs26(DialogContent, { children: [
3457
+ /* @__PURE__ */ jsxs26(DialogHeader, { children: [
3458
+ /* @__PURE__ */ jsx36(DialogTitle, { children: title }),
3459
+ /* @__PURE__ */ jsx36(DialogDescription, { children: description })
3380
3460
  ] }),
3381
- /* @__PURE__ */ jsxs25(DialogFooter, { className: "mt-2", children: [
3382
- /* @__PURE__ */ jsx35(Button, { variant: "outline", onClick: handleCancel, disabled: isLoading, children: cancelText }),
3383
- /* @__PURE__ */ jsx35(
3461
+ /* @__PURE__ */ jsxs26(DialogFooter, { className: "mt-2", children: [
3462
+ /* @__PURE__ */ jsx36(Button, { variant: "outline", onClick: handleCancel, disabled: isLoading, children: cancelText }),
3463
+ /* @__PURE__ */ jsx36(
3384
3464
  Button,
3385
3465
  {
3386
3466
  variant,
@@ -3395,9 +3475,9 @@ function ConfirmationDialog({
3395
3475
  }
3396
3476
 
3397
3477
  // src/default-select-trigger/DefaultSelectTrigger.tsx
3398
- import * as React15 from "react";
3399
- import { jsx as jsx36 } from "react/jsx-runtime";
3400
- var DefaultSelectTrigger = React15.forwardRef(
3478
+ import * as React16 from "react";
3479
+ import { jsx as jsx37 } from "react/jsx-runtime";
3480
+ var DefaultSelectTrigger = React16.forwardRef(
3401
3481
  ({
3402
3482
  className,
3403
3483
  disabled,
@@ -3409,7 +3489,7 @@ var DefaultSelectTrigger = React15.forwardRef(
3409
3489
  children,
3410
3490
  ...props
3411
3491
  }, ref) => {
3412
- return /* @__PURE__ */ jsx36(
3492
+ return /* @__PURE__ */ jsx37(
3413
3493
  "div",
3414
3494
  {
3415
3495
  ref,
@@ -3439,59 +3519,59 @@ DefaultSelectTrigger.displayName = "SelectTrigger";
3439
3519
  import { useState as useState17 } from "react";
3440
3520
 
3441
3521
  // src/dropdown-menu/DropdownMenu.tsx
3442
- import * as React16 from "react";
3522
+ import * as React17 from "react";
3443
3523
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
3444
3524
  import { Check as Check5, ChevronRight as ChevronRight3, Circle } from "lucide-react";
3445
3525
 
3446
3526
  // src/dropdown-menu/DropdownMenuItemContent.tsx
3447
- import { jsx as jsx37, jsxs as jsxs26 } from "react/jsx-runtime";
3527
+ import { jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
3448
3528
  function DropdownMenuItemContent({
3449
3529
  icon,
3450
3530
  label,
3451
3531
  description
3452
3532
  }) {
3453
- return /* @__PURE__ */ jsxs26("div", { className: "flex items-center gap-3 text-[var(--chekin-color-brand-navy)] [&_svg]:text-[#acacd5]", children: [
3533
+ return /* @__PURE__ */ jsxs27("div", { className: "flex items-center gap-3 text-[var(--chekin-color-brand-navy)] [&_svg]:text-[#acacd5]", children: [
3454
3534
  icon,
3455
- /* @__PURE__ */ jsxs26("div", { children: [
3456
- /* @__PURE__ */ jsx37("div", { children: label }),
3457
- description && /* @__PURE__ */ jsx37("div", { className: "text-xs text-[#666]", children: description })
3535
+ /* @__PURE__ */ jsxs27("div", { children: [
3536
+ /* @__PURE__ */ jsx38("div", { children: label }),
3537
+ description && /* @__PURE__ */ jsx38("div", { className: "text-xs text-[#666]", children: description })
3458
3538
  ] })
3459
3539
  ] });
3460
3540
  }
3461
3541
 
3462
3542
  // src/dropdown-menu/DropdownMenu.tsx
3463
- import { jsx as jsx38, jsxs as jsxs27 } from "react/jsx-runtime";
3543
+ import { jsx as jsx39, jsxs as jsxs28 } from "react/jsx-runtime";
3464
3544
  function DropdownMenu({
3465
3545
  ...props
3466
3546
  }) {
3467
- return /* @__PURE__ */ jsx38(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
3547
+ return /* @__PURE__ */ jsx39(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
3468
3548
  }
3469
3549
  function DropdownMenuPortal({
3470
3550
  ...props
3471
3551
  }) {
3472
- return /* @__PURE__ */ jsx38(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
3552
+ return /* @__PURE__ */ jsx39(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
3473
3553
  }
3474
3554
  function DropdownMenuTrigger({
3475
3555
  ...props
3476
3556
  }) {
3477
- return /* @__PURE__ */ jsx38(DropdownMenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
3557
+ return /* @__PURE__ */ jsx39(DropdownMenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
3478
3558
  }
3479
3559
  function DropdownMenuGroup({
3480
3560
  ...props
3481
3561
  }) {
3482
- return /* @__PURE__ */ jsx38(DropdownMenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
3562
+ return /* @__PURE__ */ jsx39(DropdownMenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
3483
3563
  }
3484
3564
  function DropdownMenuSub({
3485
3565
  ...props
3486
3566
  }) {
3487
- return /* @__PURE__ */ jsx38(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
3567
+ return /* @__PURE__ */ jsx39(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
3488
3568
  }
3489
3569
  function DropdownMenuRadioGroup({
3490
3570
  ...props
3491
3571
  }) {
3492
- return /* @__PURE__ */ jsx38(DropdownMenuPrimitive.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
3572
+ return /* @__PURE__ */ jsx39(DropdownMenuPrimitive.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
3493
3573
  }
3494
- var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
3574
+ var DropdownMenuSubTrigger = React17.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs28(
3495
3575
  DropdownMenuPrimitive.SubTrigger,
3496
3576
  {
3497
3577
  ref,
@@ -3508,12 +3588,12 @@ var DropdownMenuSubTrigger = React16.forwardRef(({ className, inset, children, .
3508
3588
  ...props,
3509
3589
  children: [
3510
3590
  children,
3511
- /* @__PURE__ */ jsx38(ChevronRight3, { className: "ml-auto" })
3591
+ /* @__PURE__ */ jsx39(ChevronRight3, { className: "ml-auto" })
3512
3592
  ]
3513
3593
  }
3514
3594
  ));
3515
3595
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
3516
- var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
3596
+ var DropdownMenuSubContent = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
3517
3597
  DropdownMenuPrimitive.SubContent,
3518
3598
  {
3519
3599
  ref,
@@ -3531,7 +3611,7 @@ var DropdownMenuSubContent = React16.forwardRef(({ className, ...props }, ref) =
3531
3611
  }
3532
3612
  ));
3533
3613
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
3534
- var DropdownMenuContent = React16.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ jsx38(DropdownMenuPrimitive.Portal, { container: container || getCustomContainer(), children: /* @__PURE__ */ jsx38(
3614
+ var DropdownMenuContent = React17.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ jsx39(DropdownMenuPrimitive.Portal, { container: container || getCustomContainer(), children: /* @__PURE__ */ jsx39(
3535
3615
  DropdownMenuPrimitive.Content,
3536
3616
  {
3537
3617
  ref,
@@ -3553,7 +3633,7 @@ var DropdownMenuContent = React16.forwardRef(({ className, sideOffset = 4, conta
3553
3633
  }
3554
3634
  ) }));
3555
3635
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
3556
- var DropdownMenuItem = React16.forwardRef(({ className, children, inset, active, leftSlot, ...props }, ref) => /* @__PURE__ */ jsxs27(
3636
+ var DropdownMenuItem = React17.forwardRef(({ className, children, inset, active, leftSlot, ...props }, ref) => /* @__PURE__ */ jsxs28(
3557
3637
  DropdownMenuPrimitive.Item,
3558
3638
  {
3559
3639
  ref,
@@ -3578,7 +3658,7 @@ var DropdownMenuItem = React16.forwardRef(({ className, children, inset, active,
3578
3658
  }
3579
3659
  ));
3580
3660
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
3581
- var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs27(
3661
+ var DropdownMenuCheckboxItem = React17.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs28(
3582
3662
  DropdownMenuPrimitive.CheckboxItem,
3583
3663
  {
3584
3664
  ref,
@@ -3593,12 +3673,12 @@ var DropdownMenuCheckboxItem = React16.forwardRef(({ className, children, checke
3593
3673
  ...props,
3594
3674
  children: [
3595
3675
  children,
3596
- /* @__PURE__ */ jsx38("span", { className: "ml-auto flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx38(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx38(Check5, { className: "h-4 w-4" }) }) })
3676
+ /* @__PURE__ */ jsx39("span", { className: "ml-auto flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx39(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx39(Check5, { className: "h-4 w-4" }) }) })
3597
3677
  ]
3598
3678
  }
3599
3679
  ));
3600
3680
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
3601
- var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs27(
3681
+ var DropdownMenuRadioItem = React17.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs28(
3602
3682
  DropdownMenuPrimitive.RadioItem,
3603
3683
  {
3604
3684
  ref,
@@ -3611,13 +3691,13 @@ var DropdownMenuRadioItem = React16.forwardRef(({ className, children, ...props
3611
3691
  ),
3612
3692
  ...props,
3613
3693
  children: [
3614
- /* @__PURE__ */ jsx38("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx38(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx38(Circle, { className: "h-2 w-2 fill-current" }) }) }),
3694
+ /* @__PURE__ */ jsx39("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx39(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx39(Circle, { className: "h-2 w-2 fill-current" }) }) }),
3615
3695
  children
3616
3696
  ]
3617
3697
  }
3618
3698
  ));
3619
3699
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
3620
- var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx38(
3700
+ var DropdownMenuLabel = React17.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx39(
3621
3701
  DropdownMenuPrimitive.Label,
3622
3702
  {
3623
3703
  ref,
@@ -3630,7 +3710,7 @@ var DropdownMenuLabel = React16.forwardRef(({ className, inset, ...props }, ref)
3630
3710
  }
3631
3711
  ));
3632
3712
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
3633
- var DropdownMenuSeparator = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx38(
3713
+ var DropdownMenuSeparator = React17.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx39(
3634
3714
  DropdownMenuPrimitive.Separator,
3635
3715
  {
3636
3716
  ref,
@@ -3643,7 +3723,7 @@ var DropdownMenuShortcut = ({
3643
3723
  className,
3644
3724
  ...props
3645
3725
  }) => {
3646
- return /* @__PURE__ */ jsx38(
3726
+ return /* @__PURE__ */ jsx39(
3647
3727
  "span",
3648
3728
  {
3649
3729
  className: cn("ml-auto text-xs tracking-widest opacity-60", className),
@@ -3654,9 +3734,9 @@ var DropdownMenuShortcut = ({
3654
3734
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
3655
3735
 
3656
3736
  // src/dropdown-menu/CheckboxDropdownGroup.tsx
3657
- import { forwardRef as forwardRef17 } from "react";
3658
- import { jsx as jsx39 } from "react/jsx-runtime";
3659
- var CheckboxDropdownGroup = forwardRef17(
3737
+ import { forwardRef as forwardRef18 } from "react";
3738
+ import { jsx as jsx40 } from "react/jsx-runtime";
3739
+ var CheckboxDropdownGroup = forwardRef18(
3660
3740
  ({ options, value = [], onChange, className = "", keepOpenOnSelect, multiple }, ref) => {
3661
3741
  const isMultipleMode = multiple ?? Array.isArray(value);
3662
3742
  const normalizedValue = Array.isArray(value) ? value : value ? [value] : [];
@@ -3675,7 +3755,7 @@ var CheckboxDropdownGroup = forwardRef17(
3675
3755
  const isChecked = (optionValue) => normalizedValue.some((v) => v.value === optionValue);
3676
3756
  const renderCheckboxItem = (option) => {
3677
3757
  const checked = option.checked ?? isChecked(option.value);
3678
- return /* @__PURE__ */ jsx39(
3758
+ return /* @__PURE__ */ jsx40(
3679
3759
  DropdownMenuCheckboxItem,
3680
3760
  {
3681
3761
  checked,
@@ -3698,19 +3778,19 @@ var CheckboxDropdownGroup = forwardRef17(
3698
3778
  option.value
3699
3779
  );
3700
3780
  };
3701
- return /* @__PURE__ */ jsx39("div", { ref, className, children: options.map(renderCheckboxItem) });
3781
+ return /* @__PURE__ */ jsx40("div", { ref, className, children: options.map(renderCheckboxItem) });
3702
3782
  }
3703
3783
  );
3704
3784
  CheckboxDropdownGroup.displayName = "CheckboxDropdownGroup";
3705
3785
 
3706
3786
  // src/dropdown-menu/CheckboxDropdownMultiGroup.tsx
3707
- import { forwardRef as forwardRef18, Fragment as Fragment5 } from "react";
3708
- import { jsx as jsx40, jsxs as jsxs28 } from "react/jsx-runtime";
3709
- var CheckboxDropdownMultiGroup = forwardRef18(({ groups, className = "", keepOpenOnSelect }, ref) => {
3710
- return /* @__PURE__ */ jsx40("div", { ref, className: cn("space-y-1", className), children: groups.map((group, index) => /* @__PURE__ */ jsxs28(Fragment5, { children: [
3711
- /* @__PURE__ */ jsxs28(DropdownMenuGroup, { children: [
3712
- /* @__PURE__ */ jsx40(DropdownMenuLabel, { children: group.label }),
3713
- group.multiple ? /* @__PURE__ */ jsx40(
3787
+ import { forwardRef as forwardRef19, Fragment as Fragment5 } from "react";
3788
+ import { jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
3789
+ var CheckboxDropdownMultiGroup = forwardRef19(({ groups, className = "", keepOpenOnSelect }, ref) => {
3790
+ return /* @__PURE__ */ jsx41("div", { ref, className: cn("space-y-1", className), children: groups.map((group, index) => /* @__PURE__ */ jsxs29(Fragment5, { children: [
3791
+ /* @__PURE__ */ jsxs29(DropdownMenuGroup, { children: [
3792
+ /* @__PURE__ */ jsx41(DropdownMenuLabel, { children: group.label }),
3793
+ group.multiple ? /* @__PURE__ */ jsx41(
3714
3794
  CheckboxDropdownGroup,
3715
3795
  {
3716
3796
  multiple: true,
@@ -3719,7 +3799,7 @@ var CheckboxDropdownMultiGroup = forwardRef18(({ groups, className = "", keepOpe
3719
3799
  value: group.value,
3720
3800
  keepOpenOnSelect
3721
3801
  }
3722
- ) : /* @__PURE__ */ jsx40(
3802
+ ) : /* @__PURE__ */ jsx41(
3723
3803
  CheckboxDropdownGroup,
3724
3804
  {
3725
3805
  multiple: false,
@@ -3730,15 +3810,15 @@ var CheckboxDropdownMultiGroup = forwardRef18(({ groups, className = "", keepOpe
3730
3810
  }
3731
3811
  )
3732
3812
  ] }),
3733
- index < groups.length - 1 && /* @__PURE__ */ jsx40(DropdownMenuSeparator, {})
3813
+ index < groups.length - 1 && /* @__PURE__ */ jsx41(DropdownMenuSeparator, {})
3734
3814
  ] }, group.label)) });
3735
3815
  });
3736
3816
  CheckboxDropdownMultiGroup.displayName = "CheckboxDropdownMultiGroup";
3737
3817
 
3738
3818
  // src/dropdown-menu/CustomCheckboxDropdownGroup.tsx
3739
- import { forwardRef as forwardRef19 } from "react";
3740
- import { jsx as jsx41, jsxs as jsxs29 } from "react/jsx-runtime";
3741
- var CustomCheckboxDropdownGroup = forwardRef19(({ options, value = [], onChange, keepOpenOnSelect, className = "", multiple }, ref) => {
3819
+ import { forwardRef as forwardRef20 } from "react";
3820
+ import { jsx as jsx42, jsxs as jsxs30 } from "react/jsx-runtime";
3821
+ var CustomCheckboxDropdownGroup = forwardRef20(({ options, value = [], onChange, keepOpenOnSelect, className = "", multiple }, ref) => {
3742
3822
  const isMultipleMode = multiple ?? Array.isArray(value);
3743
3823
  const normalizedValue = Array.isArray(value) ? value : value ? [value] : [];
3744
3824
  const handleCheckboxChange = (optionValue, checked) => {
@@ -3756,7 +3836,7 @@ var CustomCheckboxDropdownGroup = forwardRef19(({ options, value = [], onChange,
3756
3836
  const isChecked = (optionValue) => normalizedValue.some((v) => v.value === optionValue);
3757
3837
  const renderCheckboxItem = (option, idx) => {
3758
3838
  const checked = option.checked ?? isChecked(option.value);
3759
- return /* @__PURE__ */ jsxs29(
3839
+ return /* @__PURE__ */ jsxs30(
3760
3840
  DropdownMenuItem,
3761
3841
  {
3762
3842
  onClick: () => {
@@ -3773,7 +3853,7 @@ var CustomCheckboxDropdownGroup = forwardRef19(({ options, value = [], onChange,
3773
3853
  }
3774
3854
  },
3775
3855
  children: [
3776
- /* @__PURE__ */ jsx41(
3856
+ /* @__PURE__ */ jsx42(
3777
3857
  Checkbox,
3778
3858
  {
3779
3859
  id: `checkbox-${option.value}`,
@@ -3789,12 +3869,12 @@ var CustomCheckboxDropdownGroup = forwardRef19(({ options, value = [], onChange,
3789
3869
  option.label + idx
3790
3870
  );
3791
3871
  };
3792
- return /* @__PURE__ */ jsx41("div", { ref, className, children: options.map(renderCheckboxItem) });
3872
+ return /* @__PURE__ */ jsx42("div", { ref, className, children: options.map(renderCheckboxItem) });
3793
3873
  });
3794
3874
  CustomCheckboxDropdownGroup.displayName = "CustomCheckboxGroup";
3795
3875
 
3796
3876
  // src/dropdown-button/DropdownButton.tsx
3797
- import { jsx as jsx42, jsxs as jsxs30 } from "react/jsx-runtime";
3877
+ import { jsx as jsx43, jsxs as jsxs31 } from "react/jsx-runtime";
3798
3878
  function DropdownButton({
3799
3879
  trigger,
3800
3880
  children,
@@ -3803,9 +3883,9 @@ function DropdownButton({
3803
3883
  className
3804
3884
  }) {
3805
3885
  const [isOpen, setIsOpen] = useState17(false);
3806
- return /* @__PURE__ */ jsxs30(DropdownMenu, { onOpenChange: setIsOpen, modal, children: [
3807
- /* @__PURE__ */ jsx42(DropdownMenuTrigger, { asChild: true, children: typeof trigger === "function" ? trigger(isOpen) : trigger }),
3808
- /* @__PURE__ */ jsx42(
3886
+ return /* @__PURE__ */ jsxs31(DropdownMenu, { onOpenChange: setIsOpen, modal, children: [
3887
+ /* @__PURE__ */ jsx43(DropdownMenuTrigger, { asChild: true, children: typeof trigger === "function" ? trigger(isOpen) : trigger }),
3888
+ /* @__PURE__ */ jsx43(
3809
3889
  DropdownMenuContent,
3810
3890
  {
3811
3891
  container: getCustomContainer(),
@@ -3819,9 +3899,9 @@ function DropdownButton({
3819
3899
  }
3820
3900
 
3821
3901
  // src/empty/Empty.tsx
3822
- import { jsx as jsx43 } from "react/jsx-runtime";
3902
+ import { jsx as jsx44 } from "react/jsx-runtime";
3823
3903
  function Empty({ className, ...props }) {
3824
- return /* @__PURE__ */ jsx43(
3904
+ return /* @__PURE__ */ jsx44(
3825
3905
  "div",
3826
3906
  {
3827
3907
  "data-slot": "empty",
@@ -3835,9 +3915,9 @@ function Empty({ className, ...props }) {
3835
3915
  }
3836
3916
 
3837
3917
  // src/empty/EmptyHeader.tsx
3838
- import { jsx as jsx44 } from "react/jsx-runtime";
3918
+ import { jsx as jsx45 } from "react/jsx-runtime";
3839
3919
  function EmptyHeader({ className, ...props }) {
3840
- return /* @__PURE__ */ jsx44(
3920
+ return /* @__PURE__ */ jsx45(
3841
3921
  "div",
3842
3922
  {
3843
3923
  "data-slot": "empty-header",
@@ -3848,9 +3928,9 @@ function EmptyHeader({ className, ...props }) {
3848
3928
  }
3849
3929
 
3850
3930
  // src/empty/EmptyTitle.tsx
3851
- import { jsx as jsx45 } from "react/jsx-runtime";
3931
+ import { jsx as jsx46 } from "react/jsx-runtime";
3852
3932
  function EmptyTitle({ className, ...props }) {
3853
- return /* @__PURE__ */ jsx45(
3933
+ return /* @__PURE__ */ jsx46(
3854
3934
  "div",
3855
3935
  {
3856
3936
  "data-slot": "empty-title",
@@ -3864,9 +3944,9 @@ function EmptyTitle({ className, ...props }) {
3864
3944
  }
3865
3945
 
3866
3946
  // src/empty/EmptyDescription.tsx
3867
- import { jsx as jsx46 } from "react/jsx-runtime";
3947
+ import { jsx as jsx47 } from "react/jsx-runtime";
3868
3948
  function EmptyDescription({ className, ...props }) {
3869
- return /* @__PURE__ */ jsx46(
3949
+ return /* @__PURE__ */ jsx47(
3870
3950
  "div",
3871
3951
  {
3872
3952
  "data-slot": "empty-description",
@@ -3880,9 +3960,9 @@ function EmptyDescription({ className, ...props }) {
3880
3960
  }
3881
3961
 
3882
3962
  // src/empty/EmptyContent.tsx
3883
- import { jsx as jsx47 } from "react/jsx-runtime";
3963
+ import { jsx as jsx48 } from "react/jsx-runtime";
3884
3964
  function EmptyContent({ className, ...props }) {
3885
- return /* @__PURE__ */ jsx47(
3965
+ return /* @__PURE__ */ jsx48(
3886
3966
  "div",
3887
3967
  {
3888
3968
  "data-slot": "empty-content",
@@ -3896,9 +3976,9 @@ function EmptyContent({ className, ...props }) {
3896
3976
  }
3897
3977
 
3898
3978
  // src/empty/EmptyMedia.tsx
3899
- import { cva as cva7 } from "class-variance-authority";
3900
- import { jsx as jsx48 } from "react/jsx-runtime";
3901
- var emptyMediaVariants = cva7(
3979
+ import { cva as cva8 } from "class-variance-authority";
3980
+ import { jsx as jsx49 } from "react/jsx-runtime";
3981
+ var emptyMediaVariants = cva8(
3902
3982
  "mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
3903
3983
  {
3904
3984
  variants: {
@@ -3917,7 +3997,7 @@ function EmptyMedia({
3917
3997
  variant = "default",
3918
3998
  ...props
3919
3999
  }) {
3920
- return /* @__PURE__ */ jsx48(
4000
+ return /* @__PURE__ */ jsx49(
3921
4001
  "div",
3922
4002
  {
3923
4003
  "data-slot": "empty-icon",
@@ -3933,7 +4013,7 @@ import { Tag } from "lucide-react";
3933
4013
  import { useTranslation as useTranslation7 } from "react-i18next";
3934
4014
 
3935
4015
  // src/halo-icon/HaloIcon.tsx
3936
- import { forwardRef as forwardRef20 } from "react";
4016
+ import { forwardRef as forwardRef21 } from "react";
3937
4017
 
3938
4018
  // src/halo-icon/constants.ts
3939
4019
  var HALO_ICON_STATUS = {
@@ -3944,7 +4024,7 @@ var HALO_ICON_STATUS = {
3944
4024
  };
3945
4025
 
3946
4026
  // src/halo-icon/HaloIcon.tsx
3947
- import { jsx as jsx49 } from "react/jsx-runtime";
4027
+ import { jsx as jsx50 } from "react/jsx-runtime";
3948
4028
  var statusStyles = {
3949
4029
  [HALO_ICON_STATUS.inactive]: {
3950
4030
  background: "bg-[var(--chekin-color-surface-input-empty)]",
@@ -3963,7 +4043,7 @@ var statusStyles = {
3963
4043
  color: "text-[var(--error-message-color)]"
3964
4044
  }
3965
4045
  };
3966
- var HaloIcon = forwardRef20(
4046
+ var HaloIcon = forwardRef21(
3967
4047
  ({
3968
4048
  children,
3969
4049
  variant = "default",
@@ -3972,7 +4052,7 @@ var HaloIcon = forwardRef20(
3972
4052
  className
3973
4053
  }, ref) => {
3974
4054
  const styles = statusStyles[status];
3975
- return /* @__PURE__ */ jsx49(
4055
+ return /* @__PURE__ */ jsx50(
3976
4056
  "div",
3977
4057
  {
3978
4058
  ref,
@@ -3995,7 +4075,7 @@ var HaloIcon = forwardRef20(
3995
4075
  HaloIcon.displayName = "HaloIcon";
3996
4076
 
3997
4077
  // src/empty-section-placeholder/EmptySectionPlaceholder.tsx
3998
- import { jsx as jsx50, jsxs as jsxs31 } from "react/jsx-runtime";
4078
+ import { jsx as jsx51, jsxs as jsxs32 } from "react/jsx-runtime";
3999
4079
  function EmptySectionPlaceholder({
4000
4080
  title,
4001
4081
  subtitle,
@@ -4003,15 +4083,15 @@ function EmptySectionPlaceholder({
4003
4083
  className
4004
4084
  }) {
4005
4085
  const { t } = useTranslation7();
4006
- return /* @__PURE__ */ jsxs31(
4086
+ return /* @__PURE__ */ jsxs32(
4007
4087
  "div",
4008
4088
  {
4009
4089
  className: cn("flex flex-col items-center justify-center gap-6 py-6", className),
4010
4090
  children: [
4011
- /* @__PURE__ */ jsx50(HaloIcon, { status: "ACTIVE", className: "h-20 w-20 [&>svg]:h-10 [&>svg]:w-10", children: icon || /* @__PURE__ */ jsx50(Tag, { size: 40 }) }),
4012
- /* @__PURE__ */ jsxs31("div", { className: "flex flex-col items-center gap-2", children: [
4013
- /* @__PURE__ */ jsx50("div", { className: "font-medium leading-6", children: title || t("nothing_found") }),
4014
- subtitle && /* @__PURE__ */ jsx50("div", { className: "text-sm leading-6 text-[var(--chekin-color-gray-1)]", children: subtitle })
4091
+ /* @__PURE__ */ jsx51(HaloIcon, { status: "ACTIVE", className: "h-20 w-20 [&>svg]:h-10 [&>svg]:w-10", children: icon || /* @__PURE__ */ jsx51(Tag, { size: 40 }) }),
4092
+ /* @__PURE__ */ jsxs32("div", { className: "flex flex-col items-center gap-2", children: [
4093
+ /* @__PURE__ */ jsx51("div", { className: "font-medium leading-6", children: title || t("nothing_found") }),
4094
+ subtitle && /* @__PURE__ */ jsx51("div", { className: "text-sm leading-6 text-[var(--chekin-color-gray-1)]", children: subtitle })
4015
4095
  ] })
4016
4096
  ]
4017
4097
  }
@@ -4019,10 +4099,10 @@ function EmptySectionPlaceholder({
4019
4099
  }
4020
4100
 
4021
4101
  // src/external-link/ExternalLink.tsx
4022
- import * as React17 from "react";
4023
- import { jsx as jsx51, jsxs as jsxs32 } from "react/jsx-runtime";
4024
- var ExternalLink = React17.forwardRef(
4025
- ({ className, children, showIcon = true, target = "_blank", rel, ...props }, ref) => /* @__PURE__ */ jsxs32(
4102
+ import * as React18 from "react";
4103
+ import { jsx as jsx52, jsxs as jsxs33 } from "react/jsx-runtime";
4104
+ var ExternalLink = React18.forwardRef(
4105
+ ({ className, children, showIcon = true, target = "_blank", rel, ...props }, ref) => /* @__PURE__ */ jsxs33(
4026
4106
  "a",
4027
4107
  {
4028
4108
  ref,
@@ -4037,7 +4117,7 @@ var ExternalLink = React17.forwardRef(
4037
4117
  ...props,
4038
4118
  children: [
4039
4119
  children,
4040
- showIcon && /* @__PURE__ */ jsxs32(
4120
+ showIcon && /* @__PURE__ */ jsxs33(
4041
4121
  "svg",
4042
4122
  {
4043
4123
  width: "14",
@@ -4050,9 +4130,9 @@ var ExternalLink = React17.forwardRef(
4050
4130
  strokeLinejoin: "round",
4051
4131
  "aria-hidden": "true",
4052
4132
  children: [
4053
- /* @__PURE__ */ jsx51("path", { d: "M5.5 2.5 H11.5 V 8.5" }),
4054
- /* @__PURE__ */ jsx51("path", { d: "M11.5 2.5 L6 8" }),
4055
- /* @__PURE__ */ jsx51("path", { d: "M10 9 V12 H2 V4 H5" })
4133
+ /* @__PURE__ */ jsx52("path", { d: "M5.5 2.5 H11.5 V 8.5" }),
4134
+ /* @__PURE__ */ jsx52("path", { d: "M11.5 2.5 L6 8" }),
4135
+ /* @__PURE__ */ jsx52("path", { d: "M10 9 V12 H2 V4 H5" })
4056
4136
  ]
4057
4137
  }
4058
4138
  )
@@ -4064,12 +4144,12 @@ ExternalLink.displayName = "ExternalLink";
4064
4144
 
4065
4145
  // src/file-input-button/FileInputButton.tsx
4066
4146
  import {
4067
- forwardRef as forwardRef22,
4147
+ forwardRef as forwardRef23,
4068
4148
  useCallback as useCallback16
4069
4149
  } from "react";
4070
4150
  import { Upload } from "lucide-react";
4071
- import { jsx as jsx52, jsxs as jsxs33 } from "react/jsx-runtime";
4072
- var FileInputButton = forwardRef22(
4151
+ import { jsx as jsx53, jsxs as jsxs34 } from "react/jsx-runtime";
4152
+ var FileInputButton = forwardRef23(
4073
4153
  ({
4074
4154
  label,
4075
4155
  onChange,
@@ -4088,8 +4168,8 @@ var FileInputButton = forwardRef22(
4088
4168
  },
4089
4169
  [onChange]
4090
4170
  );
4091
- const iconElement = icon !== void 0 ? icon : /* @__PURE__ */ jsx52(Upload, { className: "h-4 w-4" });
4092
- return /* @__PURE__ */ jsx52(
4171
+ const iconElement = icon !== void 0 ? icon : /* @__PURE__ */ jsx53(Upload, { className: "h-4 w-4" });
4172
+ return /* @__PURE__ */ jsx53(
4093
4173
  Button,
4094
4174
  {
4095
4175
  asChild: true,
@@ -4097,8 +4177,8 @@ var FileInputButton = forwardRef22(
4097
4177
  size,
4098
4178
  disabled,
4099
4179
  className: cn("justify-start", buttonClassName),
4100
- children: /* @__PURE__ */ jsxs33("label", { className: cn("cursor-pointer", className), children: [
4101
- /* @__PURE__ */ jsx52(
4180
+ children: /* @__PURE__ */ jsxs34("label", { className: cn("cursor-pointer", className), children: [
4181
+ /* @__PURE__ */ jsx53(
4102
4182
  "input",
4103
4183
  {
4104
4184
  ref,
@@ -4110,7 +4190,7 @@ var FileInputButton = forwardRef22(
4110
4190
  }
4111
4191
  ),
4112
4192
  iconElement,
4113
- label && /* @__PURE__ */ jsx52("span", { className: "ml-1.5", children: label })
4193
+ label && /* @__PURE__ */ jsx53("span", { className: "ml-1.5", children: label })
4114
4194
  ] })
4115
4195
  }
4116
4196
  );
@@ -4119,9 +4199,9 @@ var FileInputButton = forwardRef22(
4119
4199
  FileInputButton.displayName = "FileInputButton";
4120
4200
 
4121
4201
  // src/form-box/Content.tsx
4122
- import { jsx as jsx53 } from "react/jsx-runtime";
4202
+ import { jsx as jsx54 } from "react/jsx-runtime";
4123
4203
  function Content5({ children, className, ...props }) {
4124
- return /* @__PURE__ */ jsx53(
4204
+ return /* @__PURE__ */ jsx54(
4125
4205
  "div",
4126
4206
  {
4127
4207
  className: cn(
@@ -4135,9 +4215,9 @@ function Content5({ children, className, ...props }) {
4135
4215
  }
4136
4216
 
4137
4217
  // src/form-box/Header.tsx
4138
- import { jsx as jsx54 } from "react/jsx-runtime";
4218
+ import { jsx as jsx55 } from "react/jsx-runtime";
4139
4219
  function Header2({ children, className, ...props }) {
4140
- return /* @__PURE__ */ jsx54(
4220
+ return /* @__PURE__ */ jsx55(
4141
4221
  "h2",
4142
4222
  {
4143
4223
  className: cn(
@@ -4151,9 +4231,9 @@ function Header2({ children, className, ...props }) {
4151
4231
  }
4152
4232
 
4153
4233
  // src/form-box/Root.tsx
4154
- import { jsx as jsx55 } from "react/jsx-runtime";
4155
- function Root9({ children, nested, className, ...props }) {
4156
- return /* @__PURE__ */ jsx55(
4234
+ import { jsx as jsx56 } from "react/jsx-runtime";
4235
+ function Root10({ children, nested, className, ...props }) {
4236
+ return /* @__PURE__ */ jsx56(
4157
4237
  "div",
4158
4238
  {
4159
4239
  className: cn(
@@ -4168,9 +4248,9 @@ function Root9({ children, nested, className, ...props }) {
4168
4248
  }
4169
4249
 
4170
4250
  // src/form-box/SubHeader.tsx
4171
- import { jsx as jsx56 } from "react/jsx-runtime";
4251
+ import { jsx as jsx57 } from "react/jsx-runtime";
4172
4252
  function SubHeader({ children, className, ...props }) {
4173
- return /* @__PURE__ */ jsx56(
4253
+ return /* @__PURE__ */ jsx57(
4174
4254
  "h4",
4175
4255
  {
4176
4256
  className: cn(
@@ -4185,7 +4265,7 @@ function SubHeader({ children, className, ...props }) {
4185
4265
 
4186
4266
  // src/form-box/index.ts
4187
4267
  var FormBox = {
4188
- Root: Root9,
4268
+ Root: Root10,
4189
4269
  Header: Header2,
4190
4270
  SubHeader,
4191
4271
  Content: Content5
@@ -4193,13 +4273,13 @@ var FormBox = {
4193
4273
 
4194
4274
  // src/free-text-field/FreeTextField.tsx
4195
4275
  import {
4196
- forwardRef as forwardRef23,
4197
- useId as useId3,
4276
+ forwardRef as forwardRef24,
4277
+ useId as useId4,
4198
4278
  useState as useState18
4199
4279
  } from "react";
4200
4280
  import { useTranslation as useTranslation8 } from "react-i18next";
4201
- import { jsx as jsx57, jsxs as jsxs34 } from "react/jsx-runtime";
4202
- var FreeTextField = forwardRef23(
4281
+ import { jsx as jsx58, jsxs as jsxs35 } from "react/jsx-runtime";
4282
+ var FreeTextField = forwardRef24(
4203
4283
  ({
4204
4284
  label,
4205
4285
  error,
@@ -4221,7 +4301,7 @@ var FreeTextField = forwardRef23(
4221
4301
  ...inputProps
4222
4302
  }, ref) => {
4223
4303
  const { t } = useTranslation8();
4224
- const inputId = useId3();
4304
+ const inputId = useId4();
4225
4305
  const [internalValue, setInternalValue] = useState18(defaultValue ?? "");
4226
4306
  const [isFocused, setIsFocused] = useState18(false);
4227
4307
  const currentValue = value !== void 0 ? value : internalValue;
@@ -4252,7 +4332,7 @@ var FreeTextField = forwardRef23(
4252
4332
  );
4253
4333
  const inputPlaceholder = fieldStyle === "new" ? label : placeholder;
4254
4334
  const showFloatingLabel = fieldStyle === "new" && !isEmpty && Boolean(label);
4255
- return /* @__PURE__ */ jsxs34(
4335
+ return /* @__PURE__ */ jsxs35(
4256
4336
  "div",
4257
4337
  {
4258
4338
  className: cn(
@@ -4260,8 +4340,8 @@ var FreeTextField = forwardRef23(
4260
4340
  className
4261
4341
  ),
4262
4342
  children: [
4263
- fieldStyle === "current" && label && /* @__PURE__ */ jsxs34("div", { className: "flex items-center gap-1", children: [
4264
- /* @__PURE__ */ jsx57(
4343
+ fieldStyle === "current" && label && /* @__PURE__ */ jsxs35("div", { className: "flex items-center gap-1", children: [
4344
+ /* @__PURE__ */ jsx58(
4265
4345
  "label",
4266
4346
  {
4267
4347
  htmlFor: inputId,
@@ -4269,14 +4349,14 @@ var FreeTextField = forwardRef23(
4269
4349
  children: label
4270
4350
  }
4271
4351
  ),
4272
- optional && /* @__PURE__ */ jsxs34("span", { className: "text-base leading-4 text-[var(--chekin-color-brand-navy)] [&_em]:text-[var(--chekin-color-gray-2)]", children: [
4352
+ optional && /* @__PURE__ */ jsxs35("span", { className: "text-base leading-4 text-[var(--chekin-color-brand-navy)] [&_em]:text-[var(--chekin-color-gray-2)]", children: [
4273
4353
  "- ",
4274
- /* @__PURE__ */ jsx57("em", { children: optionalLabel || t("optional") })
4354
+ /* @__PURE__ */ jsx58("em", { children: optionalLabel || t("optional") })
4275
4355
  ] }),
4276
- tooltip && /* @__PURE__ */ jsx57("div", { className: "h-4 w-4 shrink-0", children: tooltip })
4356
+ tooltip && /* @__PURE__ */ jsx58("div", { className: "h-4 w-4 shrink-0", children: tooltip })
4277
4357
  ] }),
4278
- /* @__PURE__ */ jsxs34("div", { className: fieldBoxClassName, children: [
4279
- /* @__PURE__ */ jsx57(
4358
+ /* @__PURE__ */ jsxs35("div", { className: fieldBoxClassName, children: [
4359
+ /* @__PURE__ */ jsx58(
4280
4360
  "input",
4281
4361
  {
4282
4362
  ref,
@@ -4292,15 +4372,15 @@ var FreeTextField = forwardRef23(
4292
4372
  ...inputProps
4293
4373
  }
4294
4374
  ),
4295
- icon && /* @__PURE__ */ jsx57("div", { className: "flex h-6 w-6 shrink-0 items-center justify-center", children: icon }),
4296
- showFloatingLabel && /* @__PURE__ */ jsx57(
4375
+ icon && /* @__PURE__ */ jsx58("div", { className: "flex h-6 w-6 shrink-0 items-center justify-center", children: icon }),
4376
+ showFloatingLabel && /* @__PURE__ */ jsx58(
4297
4377
  "div",
4298
4378
  {
4299
4379
  className: cn(
4300
4380
  "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]",
4301
4381
  autocompleted && "to-[var(--chekin-color-surface-autocomplete)]"
4302
4382
  ),
4303
- children: /* @__PURE__ */ jsx57(
4383
+ children: /* @__PURE__ */ jsx58(
4304
4384
  "span",
4305
4385
  {
4306
4386
  className: cn(
@@ -4313,8 +4393,8 @@ var FreeTextField = forwardRef23(
4313
4393
  }
4314
4394
  )
4315
4395
  ] }),
4316
- supportingText && /* @__PURE__ */ jsx57("p", { className: "m-0 text-xs italic leading-normal text-[var(--chekin-color-gray-2)]", children: supportingText }),
4317
- error && /* @__PURE__ */ jsx57("p", { className: "m-0 text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: error })
4396
+ supportingText && /* @__PURE__ */ jsx58("p", { className: "m-0 text-xs italic leading-normal text-[var(--chekin-color-gray-2)]", children: supportingText }),
4397
+ error && /* @__PURE__ */ jsx58("p", { className: "m-0 text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: error })
4318
4398
  ]
4319
4399
  }
4320
4400
  );
@@ -4323,10 +4403,10 @@ var FreeTextField = forwardRef23(
4323
4403
  FreeTextField.displayName = "FreeTextField";
4324
4404
 
4325
4405
  // src/framed-icon/FramedIcon.tsx
4326
- import * as React18 from "react";
4327
- import { cva as cva8 } from "class-variance-authority";
4328
- import { jsx as jsx58 } from "react/jsx-runtime";
4329
- var framedIconVariants = cva8("inline-flex items-center justify-center shrink-0", {
4406
+ import * as React19 from "react";
4407
+ import { cva as cva9 } from "class-variance-authority";
4408
+ import { jsx as jsx59 } from "react/jsx-runtime";
4409
+ var framedIconVariants = cva9("inline-flex items-center justify-center shrink-0", {
4330
4410
  variants: {
4331
4411
  size: {
4332
4412
  s: "w-8 h-8",
@@ -4347,8 +4427,8 @@ var framedIconVariants = cva8("inline-flex items-center justify-center shrink-0"
4347
4427
  },
4348
4428
  defaultVariants: { size: "m", shape: "rounded", tone: "info" }
4349
4429
  });
4350
- var FramedIcon = React18.forwardRef(
4351
- ({ className, size, shape, tone, children, ...props }, ref) => /* @__PURE__ */ jsx58(
4430
+ var FramedIcon = React19.forwardRef(
4431
+ ({ className, size, shape, tone, children, ...props }, ref) => /* @__PURE__ */ jsx59(
4352
4432
  "span",
4353
4433
  {
4354
4434
  ref,
@@ -4363,7 +4443,7 @@ FramedIcon.displayName = "FramedIcon";
4363
4443
 
4364
4444
  // src/help-tooltip/HelpTooltip.tsx
4365
4445
  import { CircleQuestionMark } from "lucide-react";
4366
- import { Fragment as Fragment6, jsx as jsx59, jsxs as jsxs35 } from "react/jsx-runtime";
4446
+ import { Fragment as Fragment6, jsx as jsx60, jsxs as jsxs36 } from "react/jsx-runtime";
4367
4447
  function HelpTooltip({
4368
4448
  content,
4369
4449
  side,
@@ -4382,12 +4462,12 @@ function HelpTooltip({
4382
4462
  className
4383
4463
  );
4384
4464
  const triggerStyle = { width: size, height: size };
4385
- const triggerContent = /* @__PURE__ */ jsxs35(Fragment6, { children: [
4386
- /* @__PURE__ */ jsx59(CircleQuestionMark, { "aria-hidden": "true", style: { width: size, height: size } }),
4387
- /* @__PURE__ */ jsx59("span", { className: "absolute -left-0.5 -top-0.5 h-5 w-5" })
4465
+ const triggerContent = /* @__PURE__ */ jsxs36(Fragment6, { children: [
4466
+ /* @__PURE__ */ jsx60(CircleQuestionMark, { "aria-hidden": "true", style: { width: size, height: size } }),
4467
+ /* @__PURE__ */ jsx60("span", { className: "absolute -left-0.5 -top-0.5 h-5 w-5" })
4388
4468
  ] });
4389
- return /* @__PURE__ */ jsx59(TooltipProvider, { children: /* @__PURE__ */ jsxs35(TooltipRoot, { children: [
4390
- /* @__PURE__ */ jsx59(TooltipTrigger, { asChild: true, onClick, children: triggerAs === "button" ? /* @__PURE__ */ jsx59(
4469
+ return /* @__PURE__ */ jsx60(TooltipProvider, { children: /* @__PURE__ */ jsxs36(TooltipRoot, { children: [
4470
+ /* @__PURE__ */ jsx60(TooltipTrigger, { asChild: true, onClick, children: triggerAs === "button" ? /* @__PURE__ */ jsx60(
4391
4471
  "button",
4392
4472
  {
4393
4473
  type: "button",
@@ -4396,8 +4476,8 @@ function HelpTooltip({
4396
4476
  style: triggerStyle,
4397
4477
  children: triggerContent
4398
4478
  }
4399
- ) : /* @__PURE__ */ jsx59("span", { "aria-label": label, className: triggerClassName, style: triggerStyle, children: triggerContent }) }),
4400
- /* @__PURE__ */ jsx59(
4479
+ ) : /* @__PURE__ */ jsx60("span", { "aria-label": label, className: triggerClassName, style: triggerStyle, children: triggerContent }) }),
4480
+ /* @__PURE__ */ jsx60(
4401
4481
  TooltipContent,
4402
4482
  {
4403
4483
  variant,
@@ -4410,14 +4490,14 @@ function HelpTooltip({
4410
4490
  }
4411
4491
 
4412
4492
  // src/svg-icon/SvgIcon.tsx
4413
- import { forwardRef as forwardRef25 } from "react";
4414
- import { jsx as jsx60 } from "react/jsx-runtime";
4493
+ import { forwardRef as forwardRef26 } from "react";
4494
+ import { jsx as jsx61 } from "react/jsx-runtime";
4415
4495
  var SIZE_MAP = {
4416
4496
  sm: 16,
4417
4497
  md: 20,
4418
4498
  lg: 24
4419
4499
  };
4420
- var SvgIcon = forwardRef25(
4500
+ var SvgIcon = forwardRef26(
4421
4501
  ({ as: Component, size = "md", label, ...props }, ref) => {
4422
4502
  const px = typeof size === "number" ? size : SIZE_MAP[size];
4423
4503
  const labeledFromProp = label !== void 0;
@@ -4427,7 +4507,7 @@ var SvgIcon = forwardRef25(
4427
4507
  role: "img",
4428
4508
  ...labeledFromProp && { "aria-label": label }
4429
4509
  } : { "aria-hidden": true };
4430
- return /* @__PURE__ */ jsx60(
4510
+ return /* @__PURE__ */ jsx61(
4431
4511
  Component,
4432
4512
  {
4433
4513
  ref,
@@ -4443,10 +4523,10 @@ var SvgIcon = forwardRef25(
4443
4523
  SvgIcon.displayName = "SvgIcon";
4444
4524
 
4445
4525
  // src/icon-button/IconButton.tsx
4446
- import * as React19 from "react";
4447
- import { cva as cva9 } from "class-variance-authority";
4448
- import { jsx as jsx61, jsxs as jsxs36 } from "react/jsx-runtime";
4449
- var iconButtonVariants = cva9(
4526
+ import * as React20 from "react";
4527
+ import { cva as cva10 } from "class-variance-authority";
4528
+ import { jsx as jsx62, jsxs as jsxs37 } from "react/jsx-runtime";
4529
+ var iconButtonVariants = cva10(
4450
4530
  [
4451
4531
  "relative inline-flex items-center justify-center shrink-0",
4452
4532
  "transition-colors duration-150 ease-out outline-none",
@@ -4474,7 +4554,7 @@ var iconButtonVariants = cva9(
4474
4554
  defaultVariants: { size: "m", shape: "rounded", variant: "secondary" }
4475
4555
  }
4476
4556
  );
4477
- var IconButton = React19.forwardRef(
4557
+ var IconButton = React20.forwardRef(
4478
4558
  ({
4479
4559
  className,
4480
4560
  size,
@@ -4488,7 +4568,7 @@ var IconButton = React19.forwardRef(
4488
4568
  type = "button",
4489
4569
  ...props
4490
4570
  }, ref) => {
4491
- const button = /* @__PURE__ */ jsx61(
4571
+ const button = /* @__PURE__ */ jsx62(
4492
4572
  "button",
4493
4573
  {
4494
4574
  ref,
@@ -4504,18 +4584,18 @@ var IconButton = React19.forwardRef(
4504
4584
  }
4505
4585
  );
4506
4586
  if (!tooltip) return button;
4507
- return /* @__PURE__ */ jsxs36(Tooltip, { children: [
4508
- /* @__PURE__ */ jsx61(TooltipTrigger, { asChild: true, children: button }),
4509
- /* @__PURE__ */ jsx61(TooltipContent, { children: tooltip })
4587
+ return /* @__PURE__ */ jsxs37(Tooltip, { children: [
4588
+ /* @__PURE__ */ jsx62(TooltipTrigger, { asChild: true, children: button }),
4589
+ /* @__PURE__ */ jsx62(TooltipContent, { children: tooltip })
4510
4590
  ] });
4511
4591
  }
4512
4592
  );
4513
4593
  IconButton.displayName = "IconButton";
4514
4594
 
4515
4595
  // src/info-box/InfoBox.tsx
4516
- import { jsx as jsx62 } from "react/jsx-runtime";
4596
+ import { jsx as jsx63 } from "react/jsx-runtime";
4517
4597
  function InfoBox({ className, children }) {
4518
- return /* @__PURE__ */ jsx62(
4598
+ return /* @__PURE__ */ jsx63(
4519
4599
  "div",
4520
4600
  {
4521
4601
  className: cn(
@@ -4529,7 +4609,7 @@ function InfoBox({ className, children }) {
4529
4609
 
4530
4610
  // src/image/Image.tsx
4531
4611
  import { useState as useState19 } from "react";
4532
- import { jsx as jsx63 } from "react/jsx-runtime";
4612
+ import { jsx as jsx64 } from "react/jsx-runtime";
4533
4613
  function Image2({
4534
4614
  src,
4535
4615
  alt,
@@ -4538,7 +4618,7 @@ function Image2({
4538
4618
  ...props
4539
4619
  }) {
4540
4620
  const [error, setError] = useState19(false);
4541
- return /* @__PURE__ */ jsx63(
4621
+ return /* @__PURE__ */ jsx64(
4542
4622
  "img",
4543
4623
  {
4544
4624
  src: error ? fallbackSrc : src,
@@ -4552,7 +4632,7 @@ function Image2({
4552
4632
  }
4553
4633
 
4554
4634
  // src/input-otp/InputOTP.tsx
4555
- import * as React20 from "react";
4635
+ import * as React21 from "react";
4556
4636
 
4557
4637
  // src/input-otp/InputOTPContext.ts
4558
4638
  import { createContext, useContext } from "react";
@@ -4812,7 +4892,7 @@ function useInputOTPSlot(index) {
4812
4892
  }
4813
4893
 
4814
4894
  // src/input-otp/InputOTP.tsx
4815
- import { jsx as jsx64 } from "react/jsx-runtime";
4895
+ import { jsx as jsx65 } from "react/jsx-runtime";
4816
4896
  function InputOTP({
4817
4897
  maxLength,
4818
4898
  value = "",
@@ -4824,7 +4904,7 @@ function InputOTP({
4824
4904
  autoFocus = false
4825
4905
  }) {
4826
4906
  const { containerRef, contextValue, handleContainerFocusIn, handleContainerFocusOut } = useInputOTP({ maxLength, value, onChange, disabled, autoFocus, error });
4827
- return /* @__PURE__ */ jsx64(InputOTPContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx64(
4907
+ return /* @__PURE__ */ jsx65(InputOTPContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx65(
4828
4908
  "div",
4829
4909
  {
4830
4910
  ref: containerRef,
@@ -4837,11 +4917,11 @@ function InputOTP({
4837
4917
  }
4838
4918
  ) });
4839
4919
  }
4840
- var InputOTPGroup = React20.forwardRef(
4841
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx64("div", { ref, className: cn("flex items-center", className), ...props })
4920
+ var InputOTPGroup = React21.forwardRef(
4921
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx65("div", { ref, className: cn("flex items-center", className), ...props })
4842
4922
  );
4843
4923
  InputOTPGroup.displayName = "InputOTPGroup";
4844
- var InputOTPSlot = React20.forwardRef(
4924
+ var InputOTPSlot = React21.forwardRef(
4845
4925
  ({ index, className, ...props }, ref) => {
4846
4926
  const {
4847
4927
  char,
@@ -4855,7 +4935,7 @@ var InputOTPSlot = React20.forwardRef(
4855
4935
  handlePasteEvent,
4856
4936
  focusSlot
4857
4937
  } = useInputOTPSlot(index);
4858
- return /* @__PURE__ */ jsx64(
4938
+ return /* @__PURE__ */ jsx65(
4859
4939
  "div",
4860
4940
  {
4861
4941
  ref,
@@ -4867,7 +4947,7 @@ var InputOTPSlot = React20.forwardRef(
4867
4947
  ),
4868
4948
  onClick: focusSlot,
4869
4949
  ...props,
4870
- children: /* @__PURE__ */ jsx64(
4950
+ children: /* @__PURE__ */ jsx65(
4871
4951
  "input",
4872
4952
  {
4873
4953
  ref: setInputRef,
@@ -4890,14 +4970,14 @@ var InputOTPSlot = React20.forwardRef(
4890
4970
  }
4891
4971
  );
4892
4972
  InputOTPSlot.displayName = "InputOTPSlot";
4893
- var InputOTPSeparator = React20.forwardRef(
4894
- (props, ref) => /* @__PURE__ */ jsx64("div", { ref, role: "separator", ...props })
4973
+ var InputOTPSeparator = React21.forwardRef(
4974
+ (props, ref) => /* @__PURE__ */ jsx65("div", { ref, role: "separator", ...props })
4895
4975
  );
4896
4976
  InputOTPSeparator.displayName = "InputOTPSeparator";
4897
4977
 
4898
4978
  // src/icons-dropdown/IconsDropdown.tsx
4899
4979
  import { useState as useState21 } from "react";
4900
- import { jsx as jsx65, jsxs as jsxs37 } from "react/jsx-runtime";
4980
+ import { jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
4901
4981
  function IconsDropdown({
4902
4982
  icons,
4903
4983
  onChange,
@@ -4913,14 +4993,14 @@ function IconsDropdown({
4913
4993
  setOpen(value);
4914
4994
  onOpenChangeProp?.(value);
4915
4995
  }
4916
- return /* @__PURE__ */ jsxs37(DropdownMenu, { open, onOpenChange: handleOpenChange, children: [
4917
- /* @__PURE__ */ jsx65(DropdownMenuTrigger, { asChild: true, children }),
4918
- /* @__PURE__ */ jsx65(
4996
+ return /* @__PURE__ */ jsxs38(DropdownMenu, { open, onOpenChange: handleOpenChange, children: [
4997
+ /* @__PURE__ */ jsx66(DropdownMenuTrigger, { asChild: true, children }),
4998
+ /* @__PURE__ */ jsx66(
4919
4999
  DropdownMenuContent,
4920
5000
  {
4921
5001
  align: position === "right" ? "end" : "start",
4922
5002
  className: "max-h-48 w-auto overflow-y-auto p-6 shadow-[0px_5px_15px_rgba(26,148,255,0.16)]",
4923
- children: /* @__PURE__ */ jsx65(
5003
+ children: /* @__PURE__ */ jsx66(
4924
5004
  "div",
4925
5005
  {
4926
5006
  className: "grid gap-1",
@@ -4929,7 +5009,7 @@ function IconsDropdown({
4929
5009
  const isSelected = entry.name === selectedIcon;
4930
5010
  const iconColor = isSelected ? "var(--chekin-color-brand-blue)" : "var(--chekin-color-gray-1)";
4931
5011
  const IconComponent = entry.icon;
4932
- return /* @__PURE__ */ jsx65(
5012
+ return /* @__PURE__ */ jsx66(
4933
5013
  "button",
4934
5014
  {
4935
5015
  type: "button",
@@ -4942,7 +5022,7 @@ function IconsDropdown({
4942
5022
  "hover:bg-[var(--chekin-color-surface-input-empty)]",
4943
5023
  isSelected && "bg-[color-mix(in_srgb,var(--chekin-color-brand-blue)_10%,transparent)]"
4944
5024
  ),
4945
- children: /* @__PURE__ */ jsx65(IconComponent, { size: 24, color: iconColor })
5025
+ children: /* @__PURE__ */ jsx66(IconComponent, { size: 24, color: iconColor })
4946
5026
  },
4947
5027
  entry.name
4948
5028
  );
@@ -5396,7 +5476,7 @@ function registerUiKitI18n(i18n, options = {}) {
5396
5476
 
5397
5477
  // src/large-modal/LargeModal.tsx
5398
5478
  import { X as X2 } from "lucide-react";
5399
- import { jsx as jsx66, jsxs as jsxs38 } from "react/jsx-runtime";
5479
+ import { jsx as jsx67, jsxs as jsxs39 } from "react/jsx-runtime";
5400
5480
  function LargeModal({
5401
5481
  open,
5402
5482
  onOpenChange,
@@ -5413,7 +5493,7 @@ function LargeModal({
5413
5493
  allowContentOverflow = false
5414
5494
  }) {
5415
5495
  const portalContainer = container ?? getCustomContainer();
5416
- return /* @__PURE__ */ jsx66(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs38(
5496
+ return /* @__PURE__ */ jsx67(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs39(
5417
5497
  DialogContent,
5418
5498
  {
5419
5499
  showCloseButton: false,
@@ -5437,24 +5517,24 @@ function LargeModal({
5437
5517
  }
5438
5518
  },
5439
5519
  children: [
5440
- /* @__PURE__ */ jsxs38(DialogHeader, { className: "flex-shrink-0 flex-row items-center justify-between rounded-t-2xl border-b border-[#e5e6ee] bg-[var(--chekin-color-white)] p-6", children: [
5441
- /* @__PURE__ */ jsxs38("div", { children: [
5442
- /* @__PURE__ */ jsx66(DialogTitle, { className: "text-lg font-semibold text-[var(--chekin-color-brand-navy)]", children: header }),
5443
- subHeader && /* @__PURE__ */ jsx66("div", { children: subHeader })
5520
+ /* @__PURE__ */ jsxs39(DialogHeader, { className: "flex-shrink-0 flex-row items-center justify-between rounded-t-2xl border-b border-[#e5e6ee] bg-[var(--chekin-color-white)] p-6", children: [
5521
+ /* @__PURE__ */ jsxs39("div", { children: [
5522
+ /* @__PURE__ */ jsx67(DialogTitle, { className: "text-lg font-semibold text-[var(--chekin-color-brand-navy)]", children: header }),
5523
+ subHeader && /* @__PURE__ */ jsx67("div", { children: subHeader })
5444
5524
  ] }),
5445
- withCloseButton && /* @__PURE__ */ jsx66(
5525
+ withCloseButton && /* @__PURE__ */ jsx67(
5446
5526
  "button",
5447
5527
  {
5448
5528
  type: "button",
5449
5529
  onClick: () => onOpenChange?.(false),
5450
5530
  className: "rounded-full p-1 text-[var(--chekin-color-brand-navy)] hover:bg-[var(--chekin-color-surface-input-empty)]",
5451
5531
  "aria-label": "Close",
5452
- children: /* @__PURE__ */ jsx66(X2, { className: "h-5 w-5" })
5532
+ children: /* @__PURE__ */ jsx67(X2, { className: "h-5 w-5" })
5453
5533
  }
5454
5534
  ),
5455
- /* @__PURE__ */ jsx66(DialogDescription, { className: "sr-only", children: screenReaderText })
5535
+ /* @__PURE__ */ jsx67(DialogDescription, { className: "sr-only", children: screenReaderText })
5456
5536
  ] }),
5457
- /* @__PURE__ */ jsx66(
5537
+ /* @__PURE__ */ jsx67(
5458
5538
  "div",
5459
5539
  {
5460
5540
  className: cn(
@@ -5464,7 +5544,7 @@ function LargeModal({
5464
5544
  children
5465
5545
  }
5466
5546
  ),
5467
- footer && /* @__PURE__ */ jsx66(DialogFooter, { className: "p-4", children: footer })
5547
+ footer && /* @__PURE__ */ jsx67(DialogFooter, { className: "p-4", children: footer })
5468
5548
  ]
5469
5549
  }
5470
5550
  ) });
@@ -5473,20 +5553,20 @@ function LargeModal({
5473
5553
  // src/learn-more-button/LearnMoreButton.tsx
5474
5554
  import { BookOpenIcon } from "lucide-react";
5475
5555
  import { useTranslation as useTranslation9 } from "react-i18next";
5476
- import { jsx as jsx67, jsxs as jsxs39 } from "react/jsx-runtime";
5556
+ import { jsx as jsx68, jsxs as jsxs40 } from "react/jsx-runtime";
5477
5557
  function LearnMoreButton({ label, ...props }) {
5478
5558
  const { t } = useTranslation9();
5479
- return /* @__PURE__ */ jsxs39(Button, { variant: "link", ...props, children: [
5480
- /* @__PURE__ */ jsx67(BookOpenIcon, { className: "size-5 text-[var(--button-link-text)]" }),
5559
+ return /* @__PURE__ */ jsxs40(Button, { variant: "link", ...props, children: [
5560
+ /* @__PURE__ */ jsx68(BookOpenIcon, { className: "size-5 text-[var(--button-link-text)]" }),
5481
5561
  label || t("learn_more")
5482
5562
  ] });
5483
5563
  }
5484
5564
 
5485
5565
  // src/link/Link.tsx
5486
- import { forwardRef as forwardRef28, memo as memo2 } from "react";
5487
- import { jsx as jsx68 } from "react/jsx-runtime";
5488
- var LinkInternal = forwardRef28(
5489
- ({ disabled = false, className, children, ...props }, ref) => /* @__PURE__ */ jsx68(
5566
+ import { forwardRef as forwardRef29, memo as memo2 } from "react";
5567
+ import { jsx as jsx69 } from "react/jsx-runtime";
5568
+ var LinkInternal = forwardRef29(
5569
+ ({ disabled = false, className, children, ...props }, ref) => /* @__PURE__ */ jsx69(
5490
5570
  "a",
5491
5571
  {
5492
5572
  ref,
@@ -5510,7 +5590,7 @@ var Link = memo2(LinkInternal);
5510
5590
  import { useState as useState22 } from "react";
5511
5591
  import { RotateCw, X as X3, ZoomIn, ZoomOut } from "lucide-react";
5512
5592
  import { useTranslation as useTranslation10 } from "react-i18next";
5513
- import { jsx as jsx69, jsxs as jsxs40 } from "react/jsx-runtime";
5593
+ import { jsx as jsx70, jsxs as jsxs41 } from "react/jsx-runtime";
5514
5594
  function ImageFullScreenView({ src, alt, onClose }) {
5515
5595
  const { t } = useTranslation10();
5516
5596
  const [scale, setScale] = useState22(1);
@@ -5519,9 +5599,9 @@ function ImageFullScreenView({ src, alt, onClose }) {
5519
5599
  const zoomIn = () => setScale((value) => Math.min(value + 0.25, 3));
5520
5600
  const zoomOut = () => setScale((value) => Math.max(value - 0.25, 0.5));
5521
5601
  const rotate = () => setRotation((value) => (value + 90) % 360);
5522
- return /* @__PURE__ */ jsxs40("div", { className: "fixed inset-0 z-[300] flex flex-col items-center justify-center bg-black/90", children: [
5523
- /* @__PURE__ */ jsxs40("div", { className: "absolute right-4 top-4 z-[301] flex gap-2", children: [
5524
- /* @__PURE__ */ jsx69(
5602
+ return /* @__PURE__ */ jsxs41("div", { className: "fixed inset-0 z-[300] flex flex-col items-center justify-center bg-black/90", children: [
5603
+ /* @__PURE__ */ jsxs41("div", { className: "absolute right-4 top-4 z-[301] flex gap-2", children: [
5604
+ /* @__PURE__ */ jsx70(
5525
5605
  Button,
5526
5606
  {
5527
5607
  variant: "ghost",
@@ -5529,10 +5609,10 @@ function ImageFullScreenView({ src, alt, onClose }) {
5529
5609
  onClick: zoomIn,
5530
5610
  className: "rounded-full text-white hover:bg-white/20",
5531
5611
  "aria-label": t("zoom_in"),
5532
- children: /* @__PURE__ */ jsx69(ZoomIn, { className: "h-6 w-6" })
5612
+ children: /* @__PURE__ */ jsx70(ZoomIn, { className: "h-6 w-6" })
5533
5613
  }
5534
5614
  ),
5535
- /* @__PURE__ */ jsx69(
5615
+ /* @__PURE__ */ jsx70(
5536
5616
  Button,
5537
5617
  {
5538
5618
  variant: "ghost",
@@ -5540,10 +5620,10 @@ function ImageFullScreenView({ src, alt, onClose }) {
5540
5620
  onClick: zoomOut,
5541
5621
  className: "rounded-full text-white hover:bg-white/20",
5542
5622
  "aria-label": t("zoom_out"),
5543
- children: /* @__PURE__ */ jsx69(ZoomOut, { className: "h-6 w-6" })
5623
+ children: /* @__PURE__ */ jsx70(ZoomOut, { className: "h-6 w-6" })
5544
5624
  }
5545
5625
  ),
5546
- /* @__PURE__ */ jsx69(
5626
+ /* @__PURE__ */ jsx70(
5547
5627
  Button,
5548
5628
  {
5549
5629
  variant: "ghost",
@@ -5551,10 +5631,10 @@ function ImageFullScreenView({ src, alt, onClose }) {
5551
5631
  onClick: rotate,
5552
5632
  className: "rounded-full text-white hover:bg-white/20",
5553
5633
  "aria-label": t("rotate"),
5554
- children: /* @__PURE__ */ jsx69(RotateCw, { className: "h-6 w-6" })
5634
+ children: /* @__PURE__ */ jsx70(RotateCw, { className: "h-6 w-6" })
5555
5635
  }
5556
5636
  ),
5557
- /* @__PURE__ */ jsx69(
5637
+ /* @__PURE__ */ jsx70(
5558
5638
  Button,
5559
5639
  {
5560
5640
  variant: "ghost",
@@ -5562,11 +5642,11 @@ function ImageFullScreenView({ src, alt, onClose }) {
5562
5642
  onClick: onClose,
5563
5643
  className: "rounded-full text-white hover:bg-white/20",
5564
5644
  "aria-label": t("close"),
5565
- children: /* @__PURE__ */ jsx69(X3, { className: "h-6 w-6" })
5645
+ children: /* @__PURE__ */ jsx70(X3, { className: "h-6 w-6" })
5566
5646
  }
5567
5647
  )
5568
5648
  ] }),
5569
- /* @__PURE__ */ jsx69(
5649
+ /* @__PURE__ */ jsx70(
5570
5650
  "div",
5571
5651
  {
5572
5652
  className: "flex h-full w-full cursor-move items-center justify-center overflow-hidden",
@@ -5575,7 +5655,7 @@ function ImageFullScreenView({ src, alt, onClose }) {
5575
5655
  onClose();
5576
5656
  }
5577
5657
  },
5578
- children: /* @__PURE__ */ jsx69(
5658
+ children: /* @__PURE__ */ jsx70(
5579
5659
  "div",
5580
5660
  {
5581
5661
  style: {
@@ -5583,7 +5663,7 @@ function ImageFullScreenView({ src, alt, onClose }) {
5583
5663
  transition: "transform 0.2s ease-in-out"
5584
5664
  },
5585
5665
  className: "max-h-[90%] max-w-[90%]",
5586
- children: /* @__PURE__ */ jsx69(
5666
+ children: /* @__PURE__ */ jsx70(
5587
5667
  Image2,
5588
5668
  {
5589
5669
  src: src || "",
@@ -5597,14 +5677,14 @@ function ImageFullScreenView({ src, alt, onClose }) {
5597
5677
  )
5598
5678
  }
5599
5679
  ),
5600
- /* @__PURE__ */ jsx69("div", { className: "absolute bottom-4 left-0 right-0 text-center text-sm text-white/70", children: /* @__PURE__ */ jsx69("p", { children: t("esc_to_close") }) })
5680
+ /* @__PURE__ */ jsx70("div", { className: "absolute bottom-4 left-0 right-0 text-center text-sm text-white/70", children: /* @__PURE__ */ jsx70("p", { children: t("esc_to_close") }) })
5601
5681
  ] });
5602
5682
  }
5603
5683
 
5604
5684
  // src/modal/Modal.tsx
5605
- import { forwardRef as forwardRef29, useRef as useRef16 } from "react";
5685
+ import { forwardRef as forwardRef30, useRef as useRef16 } from "react";
5606
5686
  import { X as X4 } from "lucide-react";
5607
- import { jsx as jsx70, jsxs as jsxs41 } from "react/jsx-runtime";
5687
+ import { jsx as jsx71, jsxs as jsxs42 } from "react/jsx-runtime";
5608
5688
  var preventDefault = (event) => {
5609
5689
  event.preventDefault();
5610
5690
  };
@@ -5637,7 +5717,7 @@ function Modal({
5637
5717
  onOpenChange?.(false);
5638
5718
  onClose?.();
5639
5719
  };
5640
- return /* @__PURE__ */ jsx70(Dialog, { open, onOpenChange, modal, children: /* @__PURE__ */ jsxs41(
5720
+ return /* @__PURE__ */ jsx71(Dialog, { open, onOpenChange, modal, children: /* @__PURE__ */ jsxs42(
5641
5721
  DialogContent,
5642
5722
  {
5643
5723
  ref: contentRef,
@@ -5656,7 +5736,7 @@ function Modal({
5656
5736
  lockScroll,
5657
5737
  ...!text && { "aria-describedby": void 0 },
5658
5738
  children: [
5659
- withCloseButton && /* @__PURE__ */ jsx70(
5739
+ withCloseButton && /* @__PURE__ */ jsx71(
5660
5740
  "button",
5661
5741
  {
5662
5742
  type: "button",
@@ -5666,14 +5746,14 @@ function Modal({
5666
5746
  "absolute right-4 top-4 z-10 rounded-full p-1 text-[var(--chekin-color-brand-blue)] hover:bg-[#f4f6f8]"
5667
5747
  ),
5668
5748
  "aria-label": "Close",
5669
- children: /* @__PURE__ */ jsx70(X4, { className: "h-5 w-5" })
5749
+ children: /* @__PURE__ */ jsx71(X4, { className: "h-5 w-5" })
5670
5750
  }
5671
5751
  ),
5672
- (icon || iconSrc || iconProps?.src) && /* @__PURE__ */ jsx70("div", { className: "modal__icon mx-auto mt-4 select-none", children: icon ?? /* @__PURE__ */ jsx70("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5673
- title ? /* @__PURE__ */ jsx70(DialogTitle, { className: cn("modal__title", "px-6 text-lg font-bold"), children: title }) : /* @__PURE__ */ jsx70(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx70(DialogTitle, { children: "Dialog" }) }),
5674
- text && /* @__PURE__ */ jsx70(DialogDescription, { className: cn("modal__text", "text-base"), children: text }),
5752
+ (icon || iconSrc || iconProps?.src) && /* @__PURE__ */ jsx71("div", { className: "modal__icon mx-auto mt-4 select-none", children: icon ?? /* @__PURE__ */ jsx71("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5753
+ title ? /* @__PURE__ */ jsx71(DialogTitle, { className: cn("modal__title", "px-6 text-lg font-bold"), children: title }) : /* @__PURE__ */ jsx71(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx71(DialogTitle, { children: "Dialog" }) }),
5754
+ text && /* @__PURE__ */ jsx71(DialogDescription, { className: cn("modal__text", "text-base"), children: text }),
5675
5755
  children,
5676
- buttons && /* @__PURE__ */ jsx70(
5756
+ buttons && /* @__PURE__ */ jsx71(
5677
5757
  "div",
5678
5758
  {
5679
5759
  className: cn(
@@ -5687,8 +5767,8 @@ function Modal({
5687
5767
  }
5688
5768
  ) });
5689
5769
  }
5690
- var ModalButton = forwardRef29(
5691
- ({ children, size, className, ...props }, ref) => /* @__PURE__ */ jsx70(
5770
+ var ModalButton = forwardRef30(
5771
+ ({ children, size, className, ...props }, ref) => /* @__PURE__ */ jsx71(
5692
5772
  Button,
5693
5773
  {
5694
5774
  ref,
@@ -5706,8 +5786,8 @@ Modal.displayName = "Modal";
5706
5786
  import { memo as memo3 } from "react";
5707
5787
 
5708
5788
  // src/circular-loader/CircularLoader.tsx
5709
- import React21 from "react";
5710
- import { jsx as jsx71, jsxs as jsxs42 } from "react/jsx-runtime";
5789
+ import React22 from "react";
5790
+ import { jsx as jsx72, jsxs as jsxs43 } from "react/jsx-runtime";
5711
5791
  var loaderSizePixels = {
5712
5792
  sm: 16,
5713
5793
  md: 32,
@@ -5718,7 +5798,7 @@ var labelSizeClassName = {
5718
5798
  md: "text-sm",
5719
5799
  lg: "text-base"
5720
5800
  };
5721
- var CircularLoader = React21.memo(
5801
+ var CircularLoader = React22.memo(
5722
5802
  ({
5723
5803
  visible = true,
5724
5804
  size = "md",
@@ -5729,7 +5809,7 @@ var CircularLoader = React21.memo(
5729
5809
  className
5730
5810
  }) => {
5731
5811
  if (!visible) return null;
5732
- return /* @__PURE__ */ jsxs42(
5812
+ return /* @__PURE__ */ jsxs43(
5733
5813
  "div",
5734
5814
  {
5735
5815
  className: cn(
@@ -5739,7 +5819,7 @@ var CircularLoader = React21.memo(
5739
5819
  ),
5740
5820
  role: "progressbar",
5741
5821
  children: [
5742
- /* @__PURE__ */ jsxs42(
5822
+ /* @__PURE__ */ jsxs43(
5743
5823
  "svg",
5744
5824
  {
5745
5825
  viewBox: "25 25 50 50",
@@ -5749,7 +5829,7 @@ var CircularLoader = React21.memo(
5749
5829
  height: toCssSize(height ?? width ?? loaderSizePixels[size])
5750
5830
  },
5751
5831
  children: [
5752
- /* @__PURE__ */ jsx71(
5832
+ /* @__PURE__ */ jsx72(
5753
5833
  "circle",
5754
5834
  {
5755
5835
  r: "20",
@@ -5759,7 +5839,7 @@ var CircularLoader = React21.memo(
5759
5839
  strokeWidth: "7"
5760
5840
  }
5761
5841
  ),
5762
- /* @__PURE__ */ jsxs42(
5842
+ /* @__PURE__ */ jsxs43(
5763
5843
  "circle",
5764
5844
  {
5765
5845
  r: "20",
@@ -5771,7 +5851,7 @@ var CircularLoader = React21.memo(
5771
5851
  strokeLinecap: "round",
5772
5852
  strokeWidth: "7",
5773
5853
  children: [
5774
- /* @__PURE__ */ jsx71(
5854
+ /* @__PURE__ */ jsx72(
5775
5855
  "animateTransform",
5776
5856
  {
5777
5857
  attributeName: "transform",
@@ -5782,7 +5862,7 @@ var CircularLoader = React21.memo(
5782
5862
  type: "rotate"
5783
5863
  }
5784
5864
  ),
5785
- /* @__PURE__ */ jsx71(
5865
+ /* @__PURE__ */ jsx72(
5786
5866
  "animate",
5787
5867
  {
5788
5868
  attributeName: "stroke-dasharray",
@@ -5794,7 +5874,7 @@ var CircularLoader = React21.memo(
5794
5874
  values: "1 200;90 200;90 200"
5795
5875
  }
5796
5876
  ),
5797
- /* @__PURE__ */ jsx71(
5877
+ /* @__PURE__ */ jsx72(
5798
5878
  "animate",
5799
5879
  {
5800
5880
  attributeName: "stroke-dashoffset",
@@ -5812,7 +5892,7 @@ var CircularLoader = React21.memo(
5812
5892
  ]
5813
5893
  }
5814
5894
  ),
5815
- label && /* @__PURE__ */ jsx71("div", { className: cn(labelSizeClassName[size], "font-medium text-chekin-gray-1"), children: label })
5895
+ label && /* @__PURE__ */ jsx72("div", { className: cn(labelSizeClassName[size], "font-medium text-chekin-gray-1"), children: label })
5816
5896
  ]
5817
5897
  }
5818
5898
  );
@@ -5821,8 +5901,8 @@ var CircularLoader = React21.memo(
5821
5901
  CircularLoader.displayName = "CircularLoader";
5822
5902
 
5823
5903
  // src/modal-loader/ModalLoader.tsx
5824
- import { jsx as jsx72 } from "react/jsx-runtime";
5825
- var ModalLoader = memo3(({ visible, className }) => /* @__PURE__ */ jsx72(
5904
+ import { jsx as jsx73 } from "react/jsx-runtime";
5905
+ var ModalLoader = memo3(({ visible, className }) => /* @__PURE__ */ jsx73(
5826
5906
  "div",
5827
5907
  {
5828
5908
  className: cn(
@@ -5830,17 +5910,17 @@ var ModalLoader = memo3(({ visible, className }) => /* @__PURE__ */ jsx72(
5830
5910
  visible ? "flex" : "hidden",
5831
5911
  className
5832
5912
  ),
5833
- children: /* @__PURE__ */ jsx72("div", { className: "mb-[60px]", children: /* @__PURE__ */ jsx72(CircularLoader, { size: "lg", className: "[--circular-loader-color:#475569]" }) })
5913
+ children: /* @__PURE__ */ jsx73("div", { className: "mb-[60px]", children: /* @__PURE__ */ jsx73(CircularLoader, { size: "lg", className: "[--circular-loader-color:#475569]" }) })
5834
5914
  }
5835
5915
  ));
5836
5916
  ModalLoader.displayName = "ModalLoader";
5837
5917
 
5838
5918
  // src/numbered-list/NumberedList.tsx
5839
5919
  import { Children as Children3 } from "react";
5840
- import { jsx as jsx73 } from "react/jsx-runtime";
5920
+ import { jsx as jsx74 } from "react/jsx-runtime";
5841
5921
  var NumberedList = ({ children, className, itemClassName }) => {
5842
5922
  const items = Array.isArray(children) ? Children3.toArray(children) : [children];
5843
- return /* @__PURE__ */ jsx73(
5923
+ return /* @__PURE__ */ jsx74(
5844
5924
  "ol",
5845
5925
  {
5846
5926
  className: cn(
@@ -5848,7 +5928,7 @@ var NumberedList = ({ children, className, itemClassName }) => {
5848
5928
  className
5849
5929
  ),
5850
5930
  type: "1",
5851
- children: items.map((child, index) => /* @__PURE__ */ jsx73(
5931
+ children: items.map((child, index) => /* @__PURE__ */ jsx74(
5852
5932
  "li",
5853
5933
  {
5854
5934
  className: cn(
@@ -5859,7 +5939,7 @@ var NumberedList = ({ children, className, itemClassName }) => {
5859
5939
  before:text-[var(--numbered-list-marker-text)] before:content-[counter(item)]`,
5860
5940
  itemClassName
5861
5941
  ),
5862
- children: /* @__PURE__ */ jsx73("div", { children: child })
5942
+ children: /* @__PURE__ */ jsx74("div", { children: child })
5863
5943
  },
5864
5944
  index
5865
5945
  ))
@@ -5869,7 +5949,7 @@ var NumberedList = ({ children, className, itemClassName }) => {
5869
5949
 
5870
5950
  // src/overlay-loader/OverlayLoader.tsx
5871
5951
  import { useTranslation as useTranslation11 } from "react-i18next";
5872
- import { jsx as jsx74, jsxs as jsxs43 } from "react/jsx-runtime";
5952
+ import { jsx as jsx75, jsxs as jsxs44 } from "react/jsx-runtime";
5873
5953
  function OverlayLoader({
5874
5954
  isLoading,
5875
5955
  children,
@@ -5881,16 +5961,16 @@ function OverlayLoader({
5881
5961
  }) {
5882
5962
  const { t } = useTranslation11();
5883
5963
  const resolvedLabel = label || t("loading");
5884
- return /* @__PURE__ */ jsxs43("div", { className: cn("relative", className), children: [
5964
+ return /* @__PURE__ */ jsxs44("div", { className: cn("relative", className), children: [
5885
5965
  children,
5886
- isLoading && /* @__PURE__ */ jsx74(
5966
+ isLoading && /* @__PURE__ */ jsx75(
5887
5967
  "div",
5888
5968
  {
5889
5969
  className: cn(
5890
5970
  "absolute inset-0 flex items-center justify-center bg-[rgb(255_255_255_/_0.6)]",
5891
5971
  overlayClassName
5892
5972
  ),
5893
- children: /* @__PURE__ */ jsx74(
5973
+ children: /* @__PURE__ */ jsx75(
5894
5974
  CircularLoader,
5895
5975
  {
5896
5976
  size: loaderSize,
@@ -5908,13 +5988,13 @@ import { useTranslation as useTranslation12 } from "react-i18next";
5908
5988
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight4, ChevronsLeft, ChevronsRight } from "lucide-react";
5909
5989
 
5910
5990
  // src/select/Select.tsx
5911
- import { forwardRef as forwardRef31, useId as useId4, useState as useState23 } from "react";
5991
+ import { forwardRef as forwardRef32, useId as useId5, useState as useState23 } from "react";
5912
5992
 
5913
5993
  // src/select/components.tsx
5914
- import * as React22 from "react";
5994
+ import * as React23 from "react";
5915
5995
  import * as SelectPrimitive from "@radix-ui/react-select";
5916
5996
  import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
5917
- import { jsx as jsx75, jsxs as jsxs44 } from "react/jsx-runtime";
5997
+ import { jsx as jsx76, jsxs as jsxs45 } from "react/jsx-runtime";
5918
5998
  var SelectRoot = SelectPrimitive.Root;
5919
5999
  var SelectGroup = SelectPrimitive.Group;
5920
6000
  var SelectValue = SelectPrimitive.Value;
@@ -5923,7 +6003,7 @@ var selectSizeClassNames = {
5923
6003
  sm: "text-sm",
5924
6004
  md: "text-base"
5925
6005
  };
5926
- var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs44(
6006
+ var SelectTrigger = React23.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs45(
5927
6007
  SelectPrimitive.Trigger,
5928
6008
  {
5929
6009
  ref,
@@ -5938,7 +6018,7 @@ var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...p
5938
6018
  ...props,
5939
6019
  children: [
5940
6020
  children,
5941
- /* @__PURE__ */ jsx75(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx75(
6021
+ /* @__PURE__ */ jsx76(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx76(
5942
6022
  ChevronDownIcon,
5943
6023
  {
5944
6024
  size: 16,
@@ -5950,27 +6030,27 @@ var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...p
5950
6030
  }
5951
6031
  ));
5952
6032
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
5953
- var SelectScrollUpButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
6033
+ var SelectScrollUpButton = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5954
6034
  SelectPrimitive.ScrollUpButton,
5955
6035
  {
5956
6036
  ref,
5957
6037
  className: cn("flex cursor-default items-center justify-center py-1", className),
5958
6038
  ...props,
5959
- children: /* @__PURE__ */ jsx75(ChevronUpIcon, { size: 16, strokeWidth: 2 })
6039
+ children: /* @__PURE__ */ jsx76(ChevronUpIcon, { size: 16, strokeWidth: 2 })
5960
6040
  }
5961
6041
  ));
5962
6042
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
5963
- var SelectScrollDownButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
6043
+ var SelectScrollDownButton = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
5964
6044
  SelectPrimitive.ScrollDownButton,
5965
6045
  {
5966
6046
  ref,
5967
6047
  className: cn("flex cursor-default items-center justify-center py-1", className),
5968
6048
  ...props,
5969
- children: /* @__PURE__ */ jsx75(ChevronDownIcon, { size: 16, strokeWidth: 2 })
6049
+ children: /* @__PURE__ */ jsx76(ChevronDownIcon, { size: 16, strokeWidth: 2 })
5970
6050
  }
5971
6051
  ));
5972
6052
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
5973
- var SelectContent = React22.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx75(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs44(
6053
+ var SelectContent = React23.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx76(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs45(
5974
6054
  SelectPrimitive.Content,
5975
6055
  {
5976
6056
  ref,
@@ -5988,8 +6068,8 @@ var SelectContent = React22.forwardRef(({ className, children, position = "poppe
5988
6068
  position,
5989
6069
  ...props,
5990
6070
  children: [
5991
- /* @__PURE__ */ jsx75(SelectScrollUpButton, {}),
5992
- /* @__PURE__ */ jsx75(
6071
+ /* @__PURE__ */ jsx76(SelectScrollUpButton, {}),
6072
+ /* @__PURE__ */ jsx76(
5993
6073
  SelectPrimitive.Viewport,
5994
6074
  {
5995
6075
  className: cn(
@@ -5999,12 +6079,12 @@ var SelectContent = React22.forwardRef(({ className, children, position = "poppe
5999
6079
  children
6000
6080
  }
6001
6081
  ),
6002
- /* @__PURE__ */ jsx75(SelectScrollDownButton, {})
6082
+ /* @__PURE__ */ jsx76(SelectScrollDownButton, {})
6003
6083
  ]
6004
6084
  }
6005
6085
  ) }));
6006
6086
  SelectContent.displayName = SelectPrimitive.Content.displayName;
6007
- var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
6087
+ var SelectLabel = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
6008
6088
  SelectPrimitive.Label,
6009
6089
  {
6010
6090
  ref,
@@ -6016,7 +6096,7 @@ var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PUR
6016
6096
  }
6017
6097
  ));
6018
6098
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
6019
- var SelectItem = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs44(
6099
+ var SelectItem = React23.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs45(
6020
6100
  SelectPrimitive.Item,
6021
6101
  {
6022
6102
  ref,
@@ -6030,13 +6110,13 @@ var SelectItem = React22.forwardRef(({ className, children, size = "sm", ...prop
6030
6110
  ),
6031
6111
  ...props,
6032
6112
  children: [
6033
- /* @__PURE__ */ jsx75("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx75(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx75(CheckIcon, { size: 16, strokeWidth: 2 }) }) }),
6034
- /* @__PURE__ */ jsx75(SelectPrimitive.ItemText, { children })
6113
+ /* @__PURE__ */ jsx76("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx76(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx76(CheckIcon, { size: 16, strokeWidth: 2 }) }) }),
6114
+ /* @__PURE__ */ jsx76(SelectPrimitive.ItemText, { children })
6035
6115
  ]
6036
6116
  }
6037
6117
  ));
6038
6118
  SelectItem.displayName = SelectPrimitive.Item.displayName;
6039
- var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
6119
+ var SelectSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx76(
6040
6120
  SelectPrimitive.Separator,
6041
6121
  {
6042
6122
  ref,
@@ -6047,7 +6127,7 @@ var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @_
6047
6127
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
6048
6128
 
6049
6129
  // src/select/Select.tsx
6050
- import { jsx as jsx76, jsxs as jsxs45 } from "react/jsx-runtime";
6130
+ import { jsx as jsx77, jsxs as jsxs46 } from "react/jsx-runtime";
6051
6131
  var SelectInner = ({
6052
6132
  placeholder,
6053
6133
  label,
@@ -6064,7 +6144,7 @@ var SelectInner = ({
6064
6144
  onValueChange,
6065
6145
  disabled
6066
6146
  }, ref) => {
6067
- const id = useId4();
6147
+ const id = useId5();
6068
6148
  const [isOpen, setIsOpen] = useState23(false);
6069
6149
  const hasValue = Boolean(value);
6070
6150
  const showLabel = hasValue || isOpen;
@@ -6075,8 +6155,8 @@ var SelectInner = ({
6075
6155
  const handleOpenChange = (open) => {
6076
6156
  setIsOpen(open);
6077
6157
  };
6078
- return /* @__PURE__ */ jsxs45("div", { className: cn("group relative w-[300px]", className, containerClassName), children: [
6079
- label && showLabel && /* @__PURE__ */ jsx76(
6158
+ return /* @__PURE__ */ jsxs46("div", { className: cn("group relative w-[300px]", className, containerClassName), children: [
6159
+ label && showLabel && /* @__PURE__ */ jsx77(
6080
6160
  "label",
6081
6161
  {
6082
6162
  htmlFor: id,
@@ -6084,7 +6164,7 @@ var SelectInner = ({
6084
6164
  children: label
6085
6165
  }
6086
6166
  ),
6087
- /* @__PURE__ */ jsxs45(
6167
+ /* @__PURE__ */ jsxs46(
6088
6168
  SelectRoot,
6089
6169
  {
6090
6170
  value,
@@ -6092,8 +6172,8 @@ var SelectInner = ({
6092
6172
  onOpenChange: handleOpenChange,
6093
6173
  disabled,
6094
6174
  children: [
6095
- /* @__PURE__ */ jsx76(SelectTrigger, { id, ref, size, className: triggerClassName, children: /* @__PURE__ */ jsx76(SelectValue, { placeholder }) }),
6096
- /* @__PURE__ */ jsx76(SelectContent, { children: children ?? options?.map((option) => /* @__PURE__ */ jsx76(
6175
+ /* @__PURE__ */ jsx77(SelectTrigger, { id, ref, size, className: triggerClassName, children: /* @__PURE__ */ jsx77(SelectValue, { placeholder }) }),
6176
+ /* @__PURE__ */ jsx77(SelectContent, { children: children ?? options?.map((option) => /* @__PURE__ */ jsx77(
6097
6177
  SelectItem,
6098
6178
  {
6099
6179
  value: String(option.value),
@@ -6106,21 +6186,21 @@ var SelectInner = ({
6106
6186
  ]
6107
6187
  }
6108
6188
  ),
6109
- Boolean(supportingText || errorText) && /* @__PURE__ */ jsxs45("div", { className: "flex min-h-[15px] justify-between pt-1", children: [
6110
- supportingText && !errorText && /* @__PURE__ */ jsx76("span", { className: "text-xs italic leading-[15px] text-[var(--chekin-color-gray-1)]", children: supportingText }),
6111
- errorText && /* @__PURE__ */ jsx76("span", { className: "ml-auto text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: errorText })
6189
+ Boolean(supportingText || errorText) && /* @__PURE__ */ jsxs46("div", { className: "flex min-h-[15px] justify-between pt-1", children: [
6190
+ supportingText && !errorText && /* @__PURE__ */ jsx77("span", { className: "text-xs italic leading-[15px] text-[var(--chekin-color-gray-1)]", children: supportingText }),
6191
+ errorText && /* @__PURE__ */ jsx77("span", { className: "ml-auto text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: errorText })
6112
6192
  ] })
6113
6193
  ] });
6114
6194
  };
6115
- var SelectForward = forwardRef31(SelectInner);
6195
+ var SelectForward = forwardRef32(SelectInner);
6116
6196
  SelectForward.displayName = "Select";
6117
6197
  var Select = SelectForward;
6118
6198
 
6119
6199
  // src/select/MultiSelect.tsx
6120
6200
  import * as SelectPrimitive2 from "@radix-ui/react-select";
6121
6201
  import { CheckIcon as CheckIcon2 } from "lucide-react";
6122
- import { forwardRef as forwardRef32, useId as useId5, useState as useState24 } from "react";
6123
- import { jsx as jsx77, jsxs as jsxs46 } from "react/jsx-runtime";
6202
+ import { forwardRef as forwardRef33, useId as useId6, useState as useState24 } from "react";
6203
+ import { jsx as jsx78, jsxs as jsxs47 } from "react/jsx-runtime";
6124
6204
  var MultiSelectInner = ({
6125
6205
  label,
6126
6206
  value = [],
@@ -6130,7 +6210,7 @@ var MultiSelectInner = ({
6130
6210
  placeholder,
6131
6211
  disabled
6132
6212
  }, ref) => {
6133
- const id = useId5();
6213
+ const id = useId6();
6134
6214
  const [open, setOpen] = useState24(false);
6135
6215
  const hasValue = value.length > 0;
6136
6216
  const showLabel = hasValue || open;
@@ -6147,8 +6227,8 @@ var MultiSelectInner = ({
6147
6227
  return value.some((v) => String(v) === String(optionValue));
6148
6228
  };
6149
6229
  const displayText = value.length > 0 ? `${value.length} selected` : placeholder || "Select options";
6150
- return /* @__PURE__ */ jsxs46("div", { ref, className: cn("group relative w-[300px]", className), children: [
6151
- label && showLabel && /* @__PURE__ */ jsx77(
6230
+ return /* @__PURE__ */ jsxs47("div", { ref, className: cn("group relative w-[300px]", className), children: [
6231
+ label && showLabel && /* @__PURE__ */ jsx78(
6152
6232
  "label",
6153
6233
  {
6154
6234
  htmlFor: id,
@@ -6156,7 +6236,7 @@ var MultiSelectInner = ({
6156
6236
  children: label
6157
6237
  }
6158
6238
  ),
6159
- /* @__PURE__ */ jsxs46(
6239
+ /* @__PURE__ */ jsxs47(
6160
6240
  SelectPrimitive2.Root,
6161
6241
  {
6162
6242
  open,
@@ -6164,11 +6244,11 @@ var MultiSelectInner = ({
6164
6244
  value: "",
6165
6245
  disabled,
6166
6246
  children: [
6167
- /* @__PURE__ */ jsx77(SelectTrigger, { id, children: /* @__PURE__ */ jsx77("span", { className: "text-sm", children: displayText }) }),
6168
- /* @__PURE__ */ jsx77(SelectContent, { children: options?.map(({ value: optionValue, label: optionLabel }) => {
6247
+ /* @__PURE__ */ jsx78(SelectTrigger, { id, children: /* @__PURE__ */ jsx78("span", { className: "text-sm", children: displayText }) }),
6248
+ /* @__PURE__ */ jsx78(SelectContent, { children: options?.map(({ value: optionValue, label: optionLabel }) => {
6169
6249
  const stringValue = String(optionValue);
6170
6250
  const selected = isSelected(optionValue);
6171
- return /* @__PURE__ */ jsxs46(
6251
+ return /* @__PURE__ */ jsxs47(
6172
6252
  "div",
6173
6253
  {
6174
6254
  role: "option",
@@ -6183,8 +6263,8 @@ var MultiSelectInner = ({
6183
6263
  selected && "bg-[#f9fafb]"
6184
6264
  ),
6185
6265
  children: [
6186
- /* @__PURE__ */ jsx77("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: selected && /* @__PURE__ */ jsx77(CheckIcon2, { size: 16, strokeWidth: 2 }) }),
6187
- /* @__PURE__ */ jsx77("span", { children: optionLabel })
6266
+ /* @__PURE__ */ jsx78("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: selected && /* @__PURE__ */ jsx78(CheckIcon2, { size: 16, strokeWidth: 2 }) }),
6267
+ /* @__PURE__ */ jsx78("span", { children: optionLabel })
6188
6268
  ]
6189
6269
  },
6190
6270
  stringValue
@@ -6195,12 +6275,12 @@ var MultiSelectInner = ({
6195
6275
  )
6196
6276
  ] });
6197
6277
  };
6198
- var MultiSelect = forwardRef32(MultiSelectInner);
6278
+ var MultiSelect = forwardRef33(MultiSelectInner);
6199
6279
 
6200
6280
  // src/select/InfinitySelect.tsx
6201
6281
  import { useVirtualizer } from "@tanstack/react-virtual";
6202
- import { useCallback as useCallback19, useEffect as useEffect24, useId as useId6, useRef as useRef17, useState as useState25 } from "react";
6203
- import { jsx as jsx78, jsxs as jsxs47 } from "react/jsx-runtime";
6282
+ import { useCallback as useCallback19, useEffect as useEffect24, useId as useId7, useRef as useRef17, useState as useState25 } from "react";
6283
+ import { jsx as jsx79, jsxs as jsxs48 } from "react/jsx-runtime";
6204
6284
  function InfinitySelect({
6205
6285
  label,
6206
6286
  className,
@@ -6214,7 +6294,7 @@ function InfinitySelect({
6214
6294
  itemHeight = 35,
6215
6295
  maxHeight = 300
6216
6296
  }) {
6217
- const id = useId6();
6297
+ const id = useId7();
6218
6298
  const parentRef = useRef17(null);
6219
6299
  const [isOpen, setIsOpen] = useState25(false);
6220
6300
  const virtualizer = useVirtualizer({
@@ -6240,8 +6320,8 @@ function InfinitySelect({
6240
6320
  onValueChange?.(selectedValue);
6241
6321
  setIsOpen(false);
6242
6322
  };
6243
- return /* @__PURE__ */ jsxs47("div", { className: cn("group relative min-w-[300px]", className), children: [
6244
- /* @__PURE__ */ jsx78(
6323
+ return /* @__PURE__ */ jsxs48("div", { className: cn("group relative min-w-[300px]", className), children: [
6324
+ /* @__PURE__ */ jsx79(
6245
6325
  "label",
6246
6326
  {
6247
6327
  htmlFor: id,
@@ -6249,7 +6329,7 @@ function InfinitySelect({
6249
6329
  children: label
6250
6330
  }
6251
6331
  ),
6252
- /* @__PURE__ */ jsxs47(
6332
+ /* @__PURE__ */ jsxs48(
6253
6333
  SelectRoot,
6254
6334
  {
6255
6335
  value,
@@ -6257,8 +6337,8 @@ function InfinitySelect({
6257
6337
  open: isOpen,
6258
6338
  onOpenChange: setIsOpen,
6259
6339
  children: [
6260
- /* @__PURE__ */ jsx78(SelectTrigger, { id, children: /* @__PURE__ */ jsx78(SelectValue, { placeholder }) }),
6261
- /* @__PURE__ */ jsx78(SelectContent, { children: /* @__PURE__ */ jsx78(
6340
+ /* @__PURE__ */ jsx79(SelectTrigger, { id, children: /* @__PURE__ */ jsx79(SelectValue, { placeholder }) }),
6341
+ /* @__PURE__ */ jsx79(SelectContent, { children: /* @__PURE__ */ jsx79(
6262
6342
  "div",
6263
6343
  {
6264
6344
  ref: parentRef,
@@ -6266,7 +6346,7 @@ function InfinitySelect({
6266
6346
  height: `${Math.min(maxHeight, virtualizer.getTotalSize())}px`,
6267
6347
  overflow: "auto"
6268
6348
  },
6269
- children: /* @__PURE__ */ jsx78(
6349
+ children: /* @__PURE__ */ jsx79(
6270
6350
  "div",
6271
6351
  {
6272
6352
  style: {
@@ -6277,7 +6357,7 @@ function InfinitySelect({
6277
6357
  children: virtualizer.getVirtualItems().map((virtualItem) => {
6278
6358
  const isLoading = virtualItem.index >= options.length;
6279
6359
  const option = options[virtualItem.index];
6280
- return /* @__PURE__ */ jsx78(
6360
+ return /* @__PURE__ */ jsx79(
6281
6361
  "div",
6282
6362
  {
6283
6363
  style: {
@@ -6288,10 +6368,10 @@ function InfinitySelect({
6288
6368
  height: `${virtualItem.size}px`,
6289
6369
  transform: `translateY(${virtualItem.start}px)`
6290
6370
  },
6291
- children: isLoading || !option ? /* @__PURE__ */ jsx78("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ jsxs47("div", { className: "flex items-center gap-2 text-sm text-[var(--chekin-color-gray-1)]", children: [
6292
- /* @__PURE__ */ jsx78("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }),
6371
+ children: isLoading || !option ? /* @__PURE__ */ jsx79("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ jsxs48("div", { className: "flex items-center gap-2 text-sm text-[var(--chekin-color-gray-1)]", children: [
6372
+ /* @__PURE__ */ jsx79("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }),
6293
6373
  "Loading more..."
6294
- ] }) }) : /* @__PURE__ */ jsx78(
6374
+ ] }) }) : /* @__PURE__ */ jsx79(
6295
6375
  SelectItem,
6296
6376
  {
6297
6377
  value: String(option.value),
@@ -6314,7 +6394,7 @@ function InfinitySelect({
6314
6394
  }
6315
6395
 
6316
6396
  // src/pagination/Pagination.tsx
6317
- import { jsx as jsx79, jsxs as jsxs48 } from "react/jsx-runtime";
6397
+ import { jsx as jsx80, jsxs as jsxs49 } from "react/jsx-runtime";
6318
6398
  var pageSizeOptions = [10, 20, 25, 30, 40, 50];
6319
6399
  function Pagination({
6320
6400
  page,
@@ -6353,7 +6433,7 @@ function Pagination({
6353
6433
  if (totalItems === 0 || !shouldShowPagination) {
6354
6434
  return null;
6355
6435
  }
6356
- return /* @__PURE__ */ jsxs48(
6436
+ return /* @__PURE__ */ jsxs49(
6357
6437
  "div",
6358
6438
  {
6359
6439
  className: cn(
@@ -6361,24 +6441,24 @@ function Pagination({
6361
6441
  className
6362
6442
  ),
6363
6443
  children: [
6364
- /* @__PURE__ */ jsx79("div", { className: "mr-auto flex-1 self-start font-medium text-[var(--chekin-color-gray-1)] sm:self-center", children: getInfoText() }),
6365
- /* @__PURE__ */ jsxs48("div", { className: "ml-auto flex w-full items-center gap-8 sm:w-fit", children: [
6366
- !isSimpleVariant && showPageSizeSelector && /* @__PURE__ */ jsxs48("div", { className: "hidden items-center gap-2 sm:flex", children: [
6367
- /* @__PURE__ */ jsx79("p", { className: "font-medium text-[var(--chekin-color-gray-1)]", children: t("rows_per_page") }),
6368
- /* @__PURE__ */ jsx79(
6444
+ /* @__PURE__ */ jsx80("div", { className: "mr-auto flex-1 self-start font-medium text-[var(--chekin-color-gray-1)] sm:self-center", children: getInfoText() }),
6445
+ /* @__PURE__ */ jsxs49("div", { className: "ml-auto flex w-full items-center gap-8 sm:w-fit", children: [
6446
+ !isSimpleVariant && showPageSizeSelector && /* @__PURE__ */ jsxs49("div", { className: "hidden items-center gap-2 sm:flex", children: [
6447
+ /* @__PURE__ */ jsx80("p", { className: "font-medium text-[var(--chekin-color-gray-1)]", children: t("rows_per_page") }),
6448
+ /* @__PURE__ */ jsx80(
6369
6449
  Select,
6370
6450
  {
6371
6451
  value: pageSize.toString(),
6372
6452
  onValueChange: (value) => onPageSizeChange(parseInt(value, 10)),
6373
6453
  triggerClassName: "h-8 w-[67px]",
6374
6454
  containerClassName: "w-[67px] gap-0",
6375
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx79(SelectItem, { value: size.toString(), children: size }, size))
6455
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx80(SelectItem, { value: size.toString(), children: size }, size))
6376
6456
  }
6377
6457
  )
6378
6458
  ] }),
6379
- !isSimpleVariant && /* @__PURE__ */ jsx79("div", { className: "flex w-fit items-center justify-center font-medium", children: t("page_of_pages", { page, pages }) }),
6380
- /* @__PURE__ */ jsxs48("div", { className: "ml-auto flex items-center gap-2 sm:ml-0", children: [
6381
- !isSimpleVariant && /* @__PURE__ */ jsxs48(
6459
+ !isSimpleVariant && /* @__PURE__ */ jsx80("div", { className: "flex w-fit items-center justify-center font-medium", children: t("page_of_pages", { page, pages }) }),
6460
+ /* @__PURE__ */ jsxs49("div", { className: "ml-auto flex items-center gap-2 sm:ml-0", children: [
6461
+ !isSimpleVariant && /* @__PURE__ */ jsxs49(
6382
6462
  Button,
6383
6463
  {
6384
6464
  variant: "outline",
@@ -6387,12 +6467,12 @@ function Pagination({
6387
6467
  onClick: goToFirstPage,
6388
6468
  disabled: !canGoPrevious,
6389
6469
  children: [
6390
- /* @__PURE__ */ jsx79("span", { className: "sr-only hidden", children: t("go_to_first_page") }),
6391
- /* @__PURE__ */ jsx79(ChevronsLeft, {})
6470
+ /* @__PURE__ */ jsx80("span", { className: "sr-only hidden", children: t("go_to_first_page") }),
6471
+ /* @__PURE__ */ jsx80(ChevronsLeft, {})
6392
6472
  ]
6393
6473
  }
6394
6474
  ),
6395
- /* @__PURE__ */ jsxs48(
6475
+ /* @__PURE__ */ jsxs49(
6396
6476
  Button,
6397
6477
  {
6398
6478
  variant: isSimpleVariant ? "link" : "outline",
@@ -6403,12 +6483,12 @@ function Pagination({
6403
6483
  onClick: goToPreviousPage,
6404
6484
  disabled: !canGoPrevious,
6405
6485
  children: [
6406
- /* @__PURE__ */ jsx79("span", { className: "sr-only hidden", children: t("go_to_previous_page") }),
6407
- /* @__PURE__ */ jsx79(ChevronLeft2, {})
6486
+ /* @__PURE__ */ jsx80("span", { className: "sr-only hidden", children: t("go_to_previous_page") }),
6487
+ /* @__PURE__ */ jsx80(ChevronLeft2, {})
6408
6488
  ]
6409
6489
  }
6410
6490
  ),
6411
- /* @__PURE__ */ jsxs48(
6491
+ /* @__PURE__ */ jsxs49(
6412
6492
  Button,
6413
6493
  {
6414
6494
  variant: isSimpleVariant ? "link" : "outline",
@@ -6419,12 +6499,12 @@ function Pagination({
6419
6499
  onClick: goToNextPage,
6420
6500
  disabled: !canGoNext,
6421
6501
  children: [
6422
- /* @__PURE__ */ jsx79("span", { className: "sr-only hidden", children: t("go_to_next_page") }),
6423
- /* @__PURE__ */ jsx79(ChevronRight4, {})
6502
+ /* @__PURE__ */ jsx80("span", { className: "sr-only hidden", children: t("go_to_next_page") }),
6503
+ /* @__PURE__ */ jsx80(ChevronRight4, {})
6424
6504
  ]
6425
6505
  }
6426
6506
  ),
6427
- !isSimpleVariant && /* @__PURE__ */ jsxs48(
6507
+ !isSimpleVariant && /* @__PURE__ */ jsxs49(
6428
6508
  Button,
6429
6509
  {
6430
6510
  variant: "outline",
@@ -6433,8 +6513,8 @@ function Pagination({
6433
6513
  onClick: goToLastPage,
6434
6514
  disabled: !canGoNext,
6435
6515
  children: [
6436
- /* @__PURE__ */ jsx79("span", { className: "sr-only hidden", children: t("go_to_last_page") }),
6437
- /* @__PURE__ */ jsx79(ChevronsRight, {})
6516
+ /* @__PURE__ */ jsx80("span", { className: "sr-only hidden", children: t("go_to_last_page") }),
6517
+ /* @__PURE__ */ jsx80(ChevronsRight, {})
6438
6518
  ]
6439
6519
  }
6440
6520
  )
@@ -6446,15 +6526,15 @@ function Pagination({
6446
6526
  }
6447
6527
 
6448
6528
  // src/popover/Popover.tsx
6449
- import * as React23 from "react";
6529
+ import * as React24 from "react";
6450
6530
  import * as RadixPopover from "@radix-ui/react-popover";
6451
- import { jsx as jsx80 } from "react/jsx-runtime";
6531
+ import { jsx as jsx81 } from "react/jsx-runtime";
6452
6532
  var Popover = RadixPopover.Root;
6453
6533
  var PopoverTrigger = RadixPopover.Trigger;
6454
6534
  var PopoverAnchor = RadixPopover.Anchor;
6455
6535
  var PopoverPortal = RadixPopover.Portal;
6456
6536
  var PopoverClose = RadixPopover.Close;
6457
- var PopoverContent = React23.forwardRef(({ className, sideOffset = 4, align = "center", ...props }, ref) => /* @__PURE__ */ jsx80(RadixPopover.Portal, { children: /* @__PURE__ */ jsx80(
6537
+ var PopoverContent = React24.forwardRef(({ className, sideOffset = 4, align = "center", ...props }, ref) => /* @__PURE__ */ jsx81(RadixPopover.Portal, { children: /* @__PURE__ */ jsx81(
6458
6538
  RadixPopover.Content,
6459
6539
  {
6460
6540
  ref,
@@ -6474,7 +6554,7 @@ PopoverContent.displayName = "PopoverContent";
6474
6554
  // src/popover/PopoverWithTooltip.tsx
6475
6555
  import * as PopoverPrimitive from "@radix-ui/react-popover";
6476
6556
  import * as TooltipPrimitive2 from "@radix-ui/react-tooltip";
6477
- import { jsx as jsx81, jsxs as jsxs49 } from "react/jsx-runtime";
6557
+ import { jsx as jsx82, jsxs as jsxs50 } from "react/jsx-runtime";
6478
6558
  function PopoverWithTooltip({
6479
6559
  children,
6480
6560
  popoverContent,
@@ -6484,10 +6564,10 @@ function PopoverWithTooltip({
6484
6564
  popoverContentClassName,
6485
6565
  tooltipVariant = "light"
6486
6566
  }) {
6487
- return /* @__PURE__ */ jsx81(TooltipPrimitive2.Provider, { delayDuration: 0, children: /* @__PURE__ */ jsxs49(TooltipPrimitive2.Root, { open: open ? false : void 0, children: [
6488
- /* @__PURE__ */ jsxs49(PopoverPrimitive.Root, { open, onOpenChange, children: [
6489
- /* @__PURE__ */ jsx81(TooltipPrimitive2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx81(PopoverPrimitive.Trigger, { asChild: true, children }) }),
6490
- /* @__PURE__ */ jsx81(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx81(
6567
+ return /* @__PURE__ */ jsx82(TooltipPrimitive2.Provider, { delayDuration: 0, children: /* @__PURE__ */ jsxs50(TooltipPrimitive2.Root, { open: open ? false : void 0, children: [
6568
+ /* @__PURE__ */ jsxs50(PopoverPrimitive.Root, { open, onOpenChange, children: [
6569
+ /* @__PURE__ */ jsx82(TooltipPrimitive2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx82(PopoverPrimitive.Trigger, { asChild: true, children }) }),
6570
+ /* @__PURE__ */ jsx82(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx82(
6491
6571
  PopoverPrimitive.Content,
6492
6572
  {
6493
6573
  align: "center",
@@ -6505,7 +6585,7 @@ function PopoverWithTooltip({
6505
6585
  }
6506
6586
  ) })
6507
6587
  ] }),
6508
- /* @__PURE__ */ jsx81(TooltipPrimitive2.Portal, { children: /* @__PURE__ */ jsxs49(
6588
+ /* @__PURE__ */ jsx82(TooltipPrimitive2.Portal, { children: /* @__PURE__ */ jsxs50(
6509
6589
  TooltipPrimitive2.Content,
6510
6590
  {
6511
6591
  sideOffset: 5,
@@ -6522,7 +6602,7 @@ function PopoverWithTooltip({
6522
6602
  ),
6523
6603
  children: [
6524
6604
  tooltipContent,
6525
- /* @__PURE__ */ jsx81(
6605
+ /* @__PURE__ */ jsx82(
6526
6606
  TooltipPrimitive2.Arrow,
6527
6607
  {
6528
6608
  className: cn(
@@ -6541,14 +6621,14 @@ function PopoverWithTooltip({
6541
6621
  }
6542
6622
 
6543
6623
  // src/radio/Radio.tsx
6544
- import { forwardRef as forwardRef35 } from "react";
6624
+ import { forwardRef as forwardRef36 } from "react";
6545
6625
 
6546
6626
  // src/radio-group/RadioGroup.tsx
6547
- import * as React24 from "react";
6627
+ import * as React25 from "react";
6548
6628
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
6549
6629
  import { Circle as Circle2 } from "lucide-react";
6550
- import { jsx as jsx82 } from "react/jsx-runtime";
6551
- var RadioGroup2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx82(
6630
+ import { jsx as jsx83 } from "react/jsx-runtime";
6631
+ var RadioGroup2 = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx83(
6552
6632
  RadioGroupPrimitive.Root,
6553
6633
  {
6554
6634
  ref,
@@ -6557,7 +6637,7 @@ var RadioGroup2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
6557
6637
  }
6558
6638
  ));
6559
6639
  RadioGroup2.displayName = RadioGroupPrimitive.Root.displayName;
6560
- var RadioGroupItem = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx82(
6640
+ var RadioGroupItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx83(
6561
6641
  RadioGroupPrimitive.Item,
6562
6642
  {
6563
6643
  ref,
@@ -6568,7 +6648,7 @@ var RadioGroupItem = React24.forwardRef(({ className, ...props }, ref) => /* @__
6568
6648
  className
6569
6649
  ),
6570
6650
  ...props,
6571
- children: /* @__PURE__ */ jsx82(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx82(Circle2, { className: "h-2.5 w-2.5 fill-current text-current" }) })
6651
+ children: /* @__PURE__ */ jsx83(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx83(Circle2, { className: "h-2.5 w-2.5 fill-current text-current" }) })
6572
6652
  }
6573
6653
  ));
6574
6654
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
@@ -6595,8 +6675,8 @@ function useRadioOptions({ options, defaultValue, onChange }) {
6595
6675
  }
6596
6676
 
6597
6677
  // src/radio/Radio.tsx
6598
- import { Fragment as Fragment7, jsx as jsx83, jsxs as jsxs50 } from "react/jsx-runtime";
6599
- var Radio = forwardRef35(
6678
+ import { Fragment as Fragment7, jsx as jsx84, jsxs as jsxs51 } from "react/jsx-runtime";
6679
+ var Radio = forwardRef36(
6600
6680
  ({ options, value, onChange, error, className = "", disabled = false, renderOption }, ref) => {
6601
6681
  const { selectedValue, handleValueChange } = useRadioOptions({
6602
6682
  options,
@@ -6609,8 +6689,8 @@ var Radio = forwardRef35(
6609
6689
  }
6610
6690
  return option.value === selectedValue;
6611
6691
  };
6612
- return /* @__PURE__ */ jsxs50(Fragment7, { children: [
6613
- /* @__PURE__ */ jsx83(
6692
+ return /* @__PURE__ */ jsxs51(Fragment7, { children: [
6693
+ /* @__PURE__ */ jsx84(
6614
6694
  RadioGroup2,
6615
6695
  {
6616
6696
  ref,
@@ -6618,7 +6698,7 @@ var Radio = forwardRef35(
6618
6698
  onValueChange: handleValueChange,
6619
6699
  className: cn(className, "radio"),
6620
6700
  disabled,
6621
- children: options.map((option) => /* @__PURE__ */ jsx83(
6701
+ children: options.map((option) => /* @__PURE__ */ jsx84(
6622
6702
  "label",
6623
6703
  {
6624
6704
  className: cn(
@@ -6626,8 +6706,8 @@ var Radio = forwardRef35(
6626
6706
  "flex cursor-pointer items-center gap-2",
6627
6707
  (disabled || option.disabled) && "cursor-default opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
6628
6708
  ),
6629
- children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ jsxs50(Fragment7, { children: [
6630
- /* @__PURE__ */ jsx83(
6709
+ children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ jsxs51(Fragment7, { children: [
6710
+ /* @__PURE__ */ jsx84(
6631
6711
  RadioGroupItem,
6632
6712
  {
6633
6713
  value: option.value,
@@ -6636,29 +6716,29 @@ var Radio = forwardRef35(
6636
6716
  className: "radio__indicator"
6637
6717
  }
6638
6718
  ),
6639
- /* @__PURE__ */ jsx83("p", { className: "radio_label", children: option.label })
6719
+ /* @__PURE__ */ jsx84("p", { className: "radio_label", children: option.label })
6640
6720
  ] })
6641
6721
  },
6642
6722
  option.value
6643
6723
  ))
6644
6724
  }
6645
6725
  ),
6646
- error && /* @__PURE__ */ jsx83(ErrorMessage, { children: error })
6726
+ error && /* @__PURE__ */ jsx84(ErrorMessage, { children: error })
6647
6727
  ] });
6648
6728
  }
6649
6729
  );
6650
6730
  Radio.displayName = "Radio";
6651
6731
 
6652
6732
  // src/radio/RadioWithBorder.tsx
6653
- import { jsx as jsx84, jsxs as jsxs51 } from "react/jsx-runtime";
6733
+ import { jsx as jsx85, jsxs as jsxs52 } from "react/jsx-runtime";
6654
6734
  function RadioWithBorder({ ...props }) {
6655
- return /* @__PURE__ */ jsx84(
6735
+ return /* @__PURE__ */ jsx85(
6656
6736
  Radio,
6657
6737
  {
6658
6738
  ...props,
6659
6739
  renderOption: ({ option, isSelected }) => {
6660
6740
  const data = option.data;
6661
- return /* @__PURE__ */ jsxs51(
6741
+ return /* @__PURE__ */ jsxs52(
6662
6742
  "div",
6663
6743
  {
6664
6744
  className: cn(
@@ -6666,7 +6746,7 @@ function RadioWithBorder({ ...props }) {
6666
6746
  isSelected && "border-[var(--chekin-color-brand-blue)] bg-[var(--chekin-color-surface-autocomplete)]"
6667
6747
  ),
6668
6748
  children: [
6669
- /* @__PURE__ */ jsx84(
6749
+ /* @__PURE__ */ jsx85(
6670
6750
  RadioGroupItem,
6671
6751
  {
6672
6752
  className: "mt-1",
@@ -6675,12 +6755,12 @@ function RadioWithBorder({ ...props }) {
6675
6755
  disabled: option.disabled
6676
6756
  }
6677
6757
  ),
6678
- /* @__PURE__ */ jsxs51("div", { className: "space-y-1 leading-6", children: [
6679
- /* @__PURE__ */ jsxs51("p", { className: "flex items-center gap-3 font-semibold", children: [
6758
+ /* @__PURE__ */ jsxs52("div", { className: "space-y-1 leading-6", children: [
6759
+ /* @__PURE__ */ jsxs52("p", { className: "flex items-center gap-3 font-semibold", children: [
6680
6760
  option.label,
6681
- data?.subLabel && /* @__PURE__ */ jsx84("span", { className: "rounded bg-[color-mix(in_srgb,var(--chekin-color-brand-blue)_10%,transparent)] px-2 py-1 text-sm font-semibold leading-4 text-[var(--chekin-color-brand-blue)]", children: data.subLabel })
6761
+ data?.subLabel && /* @__PURE__ */ jsx85("span", { className: "rounded bg-[color-mix(in_srgb,var(--chekin-color-brand-blue)_10%,transparent)] px-2 py-1 text-sm font-semibold leading-4 text-[var(--chekin-color-brand-blue)]", children: data.subLabel })
6682
6762
  ] }),
6683
- data?.description && /* @__PURE__ */ jsx84("p", { className: "text-sm font-medium text-[var(--chekin-color-gray-1)]", children: data.description })
6763
+ data?.description && /* @__PURE__ */ jsx85("p", { className: "text-sm font-medium text-[var(--chekin-color-gray-1)]", children: data.description })
6684
6764
  ] })
6685
6765
  ]
6686
6766
  }
@@ -6691,12 +6771,12 @@ function RadioWithBorder({ ...props }) {
6691
6771
  }
6692
6772
 
6693
6773
  // src/radio-cards-group/RadioCardsGroup.tsx
6694
- import { forwardRef as forwardRef36, memo as memo4, useEffect as useEffect25 } from "react";
6695
- import { Fragment as Fragment8, jsx as jsx85, jsxs as jsxs52 } from "react/jsx-runtime";
6774
+ import { forwardRef as forwardRef37, memo as memo4, useEffect as useEffect25 } from "react";
6775
+ import { Fragment as Fragment8, jsx as jsx86, jsxs as jsxs53 } from "react/jsx-runtime";
6696
6776
  var isValueSelectOption = (value) => {
6697
6777
  return value?.value !== void 0;
6698
6778
  };
6699
- var RadioCardsGroup = forwardRef36(
6779
+ var RadioCardsGroup = forwardRef37(
6700
6780
  ({
6701
6781
  options,
6702
6782
  onChange,
@@ -6724,8 +6804,8 @@ var RadioCardsGroup = forwardRef36(
6724
6804
  [defaultValue, onChange, options, value]
6725
6805
  );
6726
6806
  const currentValue = isValueSelectOption(value) ? value.value : value;
6727
- return /* @__PURE__ */ jsxs52(Fragment8, { children: [
6728
- /* @__PURE__ */ jsx85(
6807
+ return /* @__PURE__ */ jsxs53(Fragment8, { children: [
6808
+ /* @__PURE__ */ jsx86(
6729
6809
  Radio,
6730
6810
  {
6731
6811
  ref,
@@ -6735,7 +6815,7 @@ var RadioCardsGroup = forwardRef36(
6735
6815
  disabled,
6736
6816
  className: cn("flex flex-wrap gap-4", className),
6737
6817
  renderOption: ({ option, isSelected }) => {
6738
- return /* @__PURE__ */ jsxs52(
6818
+ return /* @__PURE__ */ jsxs53(
6739
6819
  "div",
6740
6820
  {
6741
6821
  className: cn(
@@ -6750,7 +6830,7 @@ var RadioCardsGroup = forwardRef36(
6750
6830
  cardClassName
6751
6831
  ),
6752
6832
  children: [
6753
- /* @__PURE__ */ jsx85("div", { children: /* @__PURE__ */ jsx85(
6833
+ /* @__PURE__ */ jsx86("div", { children: /* @__PURE__ */ jsx86(
6754
6834
  RadioGroupItem,
6755
6835
  {
6756
6836
  value: option.value,
@@ -6758,8 +6838,8 @@ var RadioCardsGroup = forwardRef36(
6758
6838
  disabled: disabled || option.disabled
6759
6839
  }
6760
6840
  ) }),
6761
- /* @__PURE__ */ jsxs52("div", { className: "w-full cursor-pointer", children: [
6762
- /* @__PURE__ */ jsx85(
6841
+ /* @__PURE__ */ jsxs53("div", { className: "w-full cursor-pointer", children: [
6842
+ /* @__PURE__ */ jsx86(
6763
6843
  "label",
6764
6844
  {
6765
6845
  htmlFor: `radio-${option.value}`,
@@ -6770,7 +6850,7 @@ var RadioCardsGroup = forwardRef36(
6770
6850
  children: option.label
6771
6851
  }
6772
6852
  ),
6773
- option.description && /* @__PURE__ */ jsx85("div", { className: "radioCardDescription mt-2", children: option.description })
6853
+ option.description && /* @__PURE__ */ jsx86("div", { className: "radioCardDescription mt-2", children: option.description })
6774
6854
  ] })
6775
6855
  ]
6776
6856
  }
@@ -6778,14 +6858,14 @@ var RadioCardsGroup = forwardRef36(
6778
6858
  }
6779
6859
  }
6780
6860
  ),
6781
- error && /* @__PURE__ */ jsx85("div", { className: "mt-2 text-left text-sm text-[#ff2467]", children: error })
6861
+ error && /* @__PURE__ */ jsx86("div", { className: "mt-2 text-left text-sm text-[#ff2467]", children: error })
6782
6862
  ] });
6783
6863
  }
6784
6864
  );
6785
6865
  var MemoizedRadioCardsGroup = memo4(RadioCardsGroup);
6786
6866
 
6787
6867
  // src/rating-progress/RatingProgress.tsx
6788
- import { jsx as jsx86, jsxs as jsxs53 } from "react/jsx-runtime";
6868
+ import { jsx as jsx87, jsxs as jsxs54 } from "react/jsx-runtime";
6789
6869
  var getRatingColor = (score, maxScore) => {
6790
6870
  const percentage = score / maxScore * 100;
6791
6871
  if (percentage === 0) return "#ff2765";
@@ -6804,7 +6884,7 @@ function RatingProgress({
6804
6884
  }) {
6805
6885
  const percentage = Math.max(0, Math.min(100, score / maxScore * 100));
6806
6886
  const color = getRatingColor(score, maxScore);
6807
- return /* @__PURE__ */ jsxs53(
6887
+ return /* @__PURE__ */ jsxs54(
6808
6888
  "div",
6809
6889
  {
6810
6890
  className: cn(
@@ -6812,13 +6892,13 @@ function RatingProgress({
6812
6892
  className
6813
6893
  ),
6814
6894
  children: [
6815
- /* @__PURE__ */ jsxs53("div", { className: "flex w-full items-start justify-between text-sm font-medium leading-6", children: [
6816
- /* @__PURE__ */ jsx86("p", { className: "min-w-0 flex-1", children: label }),
6817
- /* @__PURE__ */ jsx86("p", { className: "shrink-0 whitespace-pre", children: score.toFixed(1) })
6895
+ /* @__PURE__ */ jsxs54("div", { className: "flex w-full items-start justify-between text-sm font-medium leading-6", children: [
6896
+ /* @__PURE__ */ jsx87("p", { className: "min-w-0 flex-1", children: label }),
6897
+ /* @__PURE__ */ jsx87("p", { className: "shrink-0 whitespace-pre", children: score.toFixed(1) })
6818
6898
  ] }),
6819
- /* @__PURE__ */ jsxs53("div", { className: "relative w-full", children: [
6820
- /* @__PURE__ */ jsx86("div", { className: "h-1.5 w-full rounded-[24px] bg-[var(--chekin-color-gray-3)]" }),
6821
- /* @__PURE__ */ jsx86(
6899
+ /* @__PURE__ */ jsxs54("div", { className: "relative w-full", children: [
6900
+ /* @__PURE__ */ jsx87("div", { className: "h-1.5 w-full rounded-[24px] bg-[var(--chekin-color-gray-3)]" }),
6901
+ /* @__PURE__ */ jsx87(
6822
6902
  "div",
6823
6903
  {
6824
6904
  className: "absolute left-0 top-0 h-1.5 rounded-[24px] transition-all duration-300 ease-out",
@@ -6836,7 +6916,7 @@ function RatingProgress({
6836
6916
 
6837
6917
  // src/rating-radio-group/RatingRadioGroup.tsx
6838
6918
  import { Star } from "lucide-react";
6839
- import { jsx as jsx87, jsxs as jsxs54 } from "react/jsx-runtime";
6919
+ import { jsx as jsx88, jsxs as jsxs55 } from "react/jsx-runtime";
6840
6920
  var getStarColor = (optionValue) => (value) => {
6841
6921
  if (value >= optionValue) return "#facc15";
6842
6922
  return "var(--chekin-color-gray-1)";
@@ -6849,10 +6929,10 @@ function RatingRadioGroup({
6849
6929
  className,
6850
6930
  options
6851
6931
  }) {
6852
- return /* @__PURE__ */ jsxs54("fieldset", { className: cn("relative [all:unset]", className), children: [
6853
- label && /* @__PURE__ */ jsx87("legend", { className: "mb-2", children: label }),
6854
- /* @__PURE__ */ jsx87("div", { className: "RatingRadioGroup__list flex gap-2", children: options.map((option) => /* @__PURE__ */ jsxs54("label", { children: [
6855
- /* @__PURE__ */ jsx87(
6932
+ return /* @__PURE__ */ jsxs55("fieldset", { className: cn("relative [all:unset]", className), children: [
6933
+ label && /* @__PURE__ */ jsx88("legend", { className: "mb-2", children: label }),
6934
+ /* @__PURE__ */ jsx88("div", { className: "RatingRadioGroup__list flex gap-2", children: options.map((option) => /* @__PURE__ */ jsxs55("label", { children: [
6935
+ /* @__PURE__ */ jsx88(
6856
6936
  "input",
6857
6937
  {
6858
6938
  className: "peer absolute h-0 w-0 opacity-0",
@@ -6863,7 +6943,7 @@ function RatingRadioGroup({
6863
6943
  onChange: () => onChange?.(option.value)
6864
6944
  }
6865
6945
  ),
6866
- /* @__PURE__ */ jsx87(
6946
+ /* @__PURE__ */ jsx88(
6867
6947
  Star,
6868
6948
  {
6869
6949
  className: "cursor-pointer rounded peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-[#385bf8]",
@@ -6878,10 +6958,10 @@ function RatingRadioGroup({
6878
6958
  }
6879
6959
 
6880
6960
  // src/rating-stars/RatingStars.tsx
6881
- import * as React25 from "react";
6961
+ import * as React26 from "react";
6882
6962
  import { Star as Star2 } from "lucide-react";
6883
6963
  import { useTranslation as useTranslation13 } from "react-i18next";
6884
- import { jsx as jsx88, jsxs as jsxs55 } from "react/jsx-runtime";
6964
+ import { jsx as jsx89, jsxs as jsxs56 } from "react/jsx-runtime";
6885
6965
  function RatingStars({
6886
6966
  rating,
6887
6967
  maxRating = 5,
@@ -6898,7 +6978,7 @@ function RatingStars({
6898
6978
  const { t } = useTranslation13();
6899
6979
  const normalizedRating = Math.max(0, Math.min(maxRating, rating));
6900
6980
  const stars = Array.from({ length: maxRating }, (_, index) => index + 1);
6901
- const componentId = React25.useId();
6981
+ const componentId = React26.useId();
6902
6982
  const decimal = normalizedRating - Math.floor(normalizedRating);
6903
6983
  const partialStarIndex = decimal > 0 ? Math.ceil(normalizedRating) : -1;
6904
6984
  const gradientId = `star-gradient-${componentId.replace(/:/g, "")}`;
@@ -6911,18 +6991,18 @@ function RatingStars({
6911
6991
  }
6912
6992
  return emptyColor;
6913
6993
  };
6914
- return /* @__PURE__ */ jsxs55("div", { className: cn("flex flex-col items-start gap-2", className), children: [
6915
- showText && /* @__PURE__ */ jsxs55("p", { className: "text-4xl font-medium", children: [
6994
+ return /* @__PURE__ */ jsxs56("div", { className: cn("flex flex-col items-start gap-2", className), children: [
6995
+ showText && /* @__PURE__ */ jsxs56("p", { className: "text-4xl font-medium", children: [
6916
6996
  normalizedRating,
6917
6997
  "/",
6918
6998
  maxRating
6919
6999
  ] }),
6920
- /* @__PURE__ */ jsxs55("div", { className: "flex items-center gap-1", children: [
6921
- /* @__PURE__ */ jsx88("svg", { width: "0", height: "0", style: { position: "absolute" }, children: /* @__PURE__ */ jsx88("defs", { children: /* @__PURE__ */ jsxs55("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
6922
- /* @__PURE__ */ jsx88("stop", { offset: `${decimal * 100}%`, stopColor: filledColor }),
6923
- /* @__PURE__ */ jsx88("stop", { offset: `${decimal * 100}%`, stopColor: emptyColor })
7000
+ /* @__PURE__ */ jsxs56("div", { className: "flex items-center gap-1", children: [
7001
+ /* @__PURE__ */ jsx89("svg", { width: "0", height: "0", style: { position: "absolute" }, children: /* @__PURE__ */ jsx89("defs", { children: /* @__PURE__ */ jsxs56("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
7002
+ /* @__PURE__ */ jsx89("stop", { offset: `${decimal * 100}%`, stopColor: filledColor }),
7003
+ /* @__PURE__ */ jsx89("stop", { offset: `${decimal * 100}%`, stopColor: emptyColor })
6924
7004
  ] }) }) }),
6925
- stars.map((star) => /* @__PURE__ */ jsx88(
7005
+ stars.map((star) => /* @__PURE__ */ jsx89(
6926
7006
  Star2,
6927
7007
  {
6928
7008
  size,
@@ -6934,22 +7014,22 @@ function RatingStars({
6934
7014
  star
6935
7015
  ))
6936
7016
  ] }),
6937
- (reviewCount !== void 0 || description) && /* @__PURE__ */ jsxs55("div", { className: "flex flex-col font-medium text-[var(--chekin-color-gray-1)]", children: [
6938
- reviewCount !== void 0 && /* @__PURE__ */ jsxs55("p", { className: "text-xs leading-4", children: [
7017
+ (reviewCount !== void 0 || description) && /* @__PURE__ */ jsxs56("div", { className: "flex flex-col font-medium text-[var(--chekin-color-gray-1)]", children: [
7018
+ reviewCount !== void 0 && /* @__PURE__ */ jsxs56("p", { className: "text-xs leading-4", children: [
6939
7019
  reviewCount,
6940
7020
  " ",
6941
7021
  reviewsLabel || t("reviews")
6942
7022
  ] }),
6943
- description && /* @__PURE__ */ jsx88("p", { className: "text-sm leading-6", children: description })
7023
+ description && /* @__PURE__ */ jsx89("p", { className: "text-sm leading-6", children: description })
6944
7024
  ] })
6945
7025
  ] });
6946
7026
  }
6947
7027
 
6948
7028
  // src/rotate-arrow/RotateArrow.tsx
6949
7029
  import { ChevronDown } from "lucide-react";
6950
- import { jsx as jsx89 } from "react/jsx-runtime";
7030
+ import { jsx as jsx90 } from "react/jsx-runtime";
6951
7031
  function RotateArrow({ shouldRotate, className }) {
6952
- return /* @__PURE__ */ jsx89(
7032
+ return /* @__PURE__ */ jsx90(
6953
7033
  ChevronDown,
6954
7034
  {
6955
7035
  size: 16,
@@ -6965,9 +7045,9 @@ function RotateArrow({ shouldRotate, className }) {
6965
7045
 
6966
7046
  // src/search-button/SearchButton.tsx
6967
7047
  import { Search } from "lucide-react";
6968
- import { jsx as jsx90 } from "react/jsx-runtime";
7048
+ import { jsx as jsx91 } from "react/jsx-runtime";
6969
7049
  function SearchButton({ onClick, className, icon, ariaLabel }) {
6970
- return /* @__PURE__ */ jsx90(
7050
+ return /* @__PURE__ */ jsx91(
6971
7051
  "button",
6972
7052
  {
6973
7053
  onClick,
@@ -6978,7 +7058,7 @@ function SearchButton({ onClick, className, icon, ariaLabel }) {
6978
7058
  "data-testid": "search-button",
6979
7059
  "aria-label": ariaLabel,
6980
7060
  type: "button",
6981
- children: icon || /* @__PURE__ */ jsx90(Search, { size: 14, strokeWidth: 4 })
7061
+ children: icon || /* @__PURE__ */ jsx91(Search, { size: 14, strokeWidth: 4 })
6982
7062
  }
6983
7063
  );
6984
7064
  }
@@ -6986,7 +7066,7 @@ function SearchButton({ onClick, className, icon, ariaLabel }) {
6986
7066
  // src/search-input/SearchInput.tsx
6987
7067
  import { Loader2, Search as Search2, X as X5 } from "lucide-react";
6988
7068
  import { useTranslation as useTranslation14 } from "react-i18next";
6989
- import { jsx as jsx91, jsxs as jsxs56 } from "react/jsx-runtime";
7069
+ import { jsx as jsx92, jsxs as jsxs57 } from "react/jsx-runtime";
6990
7070
  function SearchInput({
6991
7071
  disabled,
6992
7072
  invalid,
@@ -7005,15 +7085,15 @@ function SearchInput({
7005
7085
  const isBlocked = Boolean(disabled) || Boolean(loading);
7006
7086
  const optionalLabel = optional ? typeof optional === "string" ? optional : t("optional") : void 0;
7007
7087
  const hasLabelMeta = Boolean(optionalLabel) || Boolean(tooltip);
7008
- return /* @__PURE__ */ jsxs56("div", { className: cn("input-wrapper", wrapperClassName), children: [
7009
- (label || hasLabelMeta) && /* @__PURE__ */ jsxs56("div", { className: "mb-2 inline-flex max-w-full items-center gap-1.5 text-sm font-medium text-[var(--chekin-color-brand-navy)]", children: [
7010
- label && /* @__PURE__ */ jsx91("span", { className: "min-w-0 truncate", children: label }),
7011
- optionalLabel && /* @__PURE__ */ jsx91("span", { className: "shrink-0 text-xs font-normal text-[var(--chekin-color-gray-2)]", children: optionalLabel }),
7012
- tooltip && /* @__PURE__ */ jsx91(HelpTooltip, { content: tooltip, side: "top", size: 16 })
7088
+ return /* @__PURE__ */ jsxs57("div", { className: cn("input-wrapper", wrapperClassName), children: [
7089
+ (label || hasLabelMeta) && /* @__PURE__ */ jsxs57("div", { className: "mb-2 inline-flex max-w-full items-center gap-1.5 text-sm font-medium text-[var(--chekin-color-brand-navy)]", children: [
7090
+ label && /* @__PURE__ */ jsx92("span", { className: "min-w-0 truncate", children: label }),
7091
+ optionalLabel && /* @__PURE__ */ jsx92("span", { className: "shrink-0 text-xs font-normal text-[var(--chekin-color-gray-2)]", children: optionalLabel }),
7092
+ tooltip && /* @__PURE__ */ jsx92(HelpTooltip, { content: tooltip, side: "top", size: 16 })
7013
7093
  ] }),
7014
- /* @__PURE__ */ jsxs56("div", { className: "relative", children: [
7015
- /* @__PURE__ */ jsx91(Search2, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[var(--chekin-color-gray-2)]" }),
7016
- /* @__PURE__ */ jsx91(
7094
+ /* @__PURE__ */ jsxs57("div", { className: "relative", children: [
7095
+ /* @__PURE__ */ jsx92(Search2, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[var(--chekin-color-gray-2)]" }),
7096
+ /* @__PURE__ */ jsx92(
7017
7097
  Input,
7018
7098
  {
7019
7099
  ...props,
@@ -7031,15 +7111,15 @@ function SearchInput({
7031
7111
  )
7032
7112
  }
7033
7113
  ),
7034
- (loading || onReset) && /* @__PURE__ */ jsxs56("div", { className: "absolute right-2 top-1/2 flex -translate-y-1/2 items-center gap-1", children: [
7035
- loading && /* @__PURE__ */ jsx91(
7114
+ (loading || onReset) && /* @__PURE__ */ jsxs57("div", { className: "absolute right-2 top-1/2 flex -translate-y-1/2 items-center gap-1", children: [
7115
+ loading && /* @__PURE__ */ jsx92(
7036
7116
  Loader2,
7037
7117
  {
7038
7118
  "aria-hidden": "true",
7039
7119
  className: "h-5 w-5 animate-spin text-[var(--chekin-color-gray-2)]"
7040
7120
  }
7041
7121
  ),
7042
- onReset && /* @__PURE__ */ jsx91(
7122
+ onReset && /* @__PURE__ */ jsx92(
7043
7123
  Button,
7044
7124
  {
7045
7125
  variant: "ghost",
@@ -7047,7 +7127,7 @@ function SearchInput({
7047
7127
  disabled: isBlocked,
7048
7128
  className: "h-7 w-7 p-0 text-[var(--chekin-color-gray-2)]",
7049
7129
  "aria-label": t("reset_search"),
7050
- children: /* @__PURE__ */ jsx91(X5, { className: "h-5 w-5" })
7130
+ children: /* @__PURE__ */ jsx92(X5, { className: "h-5 w-5" })
7051
7131
  }
7052
7132
  )
7053
7133
  ] })
@@ -7057,7 +7137,7 @@ function SearchInput({
7057
7137
 
7058
7138
  // src/search-input/DebouncedSearchInput.tsx
7059
7139
  import { useState as useState27 } from "react";
7060
- import { jsx as jsx92 } from "react/jsx-runtime";
7140
+ import { jsx as jsx93 } from "react/jsx-runtime";
7061
7141
  function DebouncedSearchInput({
7062
7142
  onChange,
7063
7143
  placeholder,
@@ -7073,7 +7153,7 @@ function DebouncedSearchInput({
7073
7153
  onChange(value);
7074
7154
  }
7075
7155
  });
7076
- return /* @__PURE__ */ jsx92(
7156
+ return /* @__PURE__ */ jsx93(
7077
7157
  SearchInput,
7078
7158
  {
7079
7159
  onChange: handleInputChange,
@@ -7085,8 +7165,8 @@ function DebouncedSearchInput({
7085
7165
  }
7086
7166
 
7087
7167
  // src/section-tag/sectionTagVariants.ts
7088
- import { cva as cva10 } from "class-variance-authority";
7089
- var sectionTagVariants = cva10(
7168
+ import { cva as cva11 } from "class-variance-authority";
7169
+ var sectionTagVariants = cva11(
7090
7170
  "relative -mt-1 ml-5 inline-flex items-center justify-center px-4 py-1 text-sm font-semibold text-white",
7091
7171
  {
7092
7172
  variants: {
@@ -7102,9 +7182,9 @@ var sectionTagVariants = cva10(
7102
7182
  );
7103
7183
 
7104
7184
  // src/section-tag/SectionTag.tsx
7105
- import { jsx as jsx93 } from "react/jsx-runtime";
7185
+ import { jsx as jsx94 } from "react/jsx-runtime";
7106
7186
  function SectionTag({ children, color = "green", className }) {
7107
- return /* @__PURE__ */ jsx93("div", { className: cn(sectionTagVariants({ color }), className), children });
7187
+ return /* @__PURE__ */ jsx94("div", { className: cn(sectionTagVariants({ color }), className), children });
7108
7188
  }
7109
7189
 
7110
7190
  // src/section-tag/constants.ts
@@ -7115,7 +7195,7 @@ var SectionTagColors = /* @__PURE__ */ ((SectionTagColors2) => {
7115
7195
  })(SectionTagColors || {});
7116
7196
 
7117
7197
  // src/section/Section.tsx
7118
- import { forwardRef as forwardRef37 } from "react";
7198
+ import { forwardRef as forwardRef38 } from "react";
7119
7199
  import { CircleHelp } from "lucide-react";
7120
7200
  import { useTranslation as useTranslation15 } from "react-i18next";
7121
7201
 
@@ -7127,20 +7207,20 @@ var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
7127
7207
  })(SubSectionSize || {});
7128
7208
 
7129
7209
  // src/section/Section.tsx
7130
- import { jsx as jsx94, jsxs as jsxs57 } from "react/jsx-runtime";
7210
+ import { jsx as jsx95, jsxs as jsxs58 } from "react/jsx-runtime";
7131
7211
  function TooltipInfo({ content, className }) {
7132
- return /* @__PURE__ */ jsx94(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx94(
7212
+ return /* @__PURE__ */ jsx95(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx95(
7133
7213
  "button",
7134
7214
  {
7135
7215
  type: "button",
7136
7216
  className: cn("inline-flex text-[var(--chekin-color-gray-1)]", className),
7137
7217
  onClick: (event) => event.stopPropagation(),
7138
7218
  "aria-label": typeof content === "string" ? content : "More information",
7139
- children: /* @__PURE__ */ jsx94(CircleHelp, { className: "h-4 w-4" })
7219
+ children: /* @__PURE__ */ jsx95(CircleHelp, { className: "h-4 w-4" })
7140
7220
  }
7141
7221
  ) });
7142
7222
  }
7143
- var Section = forwardRef37(
7223
+ var Section = forwardRef38(
7144
7224
  ({
7145
7225
  children,
7146
7226
  title,
@@ -7157,7 +7237,7 @@ var Section = forwardRef37(
7157
7237
  size
7158
7238
  }, ref) => {
7159
7239
  const { t } = useTranslation15();
7160
- return /* @__PURE__ */ jsxs57(
7240
+ return /* @__PURE__ */ jsxs58(
7161
7241
  "div",
7162
7242
  {
7163
7243
  ref,
@@ -7169,8 +7249,8 @@ var Section = forwardRef37(
7169
7249
  className
7170
7250
  ),
7171
7251
  children: [
7172
- (title || subtitle) && /* @__PURE__ */ jsxs57("div", { className: "flex flex-col gap-2", children: [
7173
- title && /* @__PURE__ */ jsxs57(
7252
+ (title || subtitle) && /* @__PURE__ */ jsxs58("div", { className: "flex flex-col gap-2", children: [
7253
+ title && /* @__PURE__ */ jsxs58(
7174
7254
  "div",
7175
7255
  {
7176
7256
  className: cn(
@@ -7180,17 +7260,17 @@ var Section = forwardRef37(
7180
7260
  ),
7181
7261
  children: [
7182
7262
  title,
7183
- titleTooltip && /* @__PURE__ */ jsx94("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx94(TooltipInfo, { content: titleTooltip }) }),
7184
- linkContent && /* @__PURE__ */ jsx94("div", { className: "ml-6 text-sm font-semibold text-[var(--chekin-color-brand-blue)] no-underline hover:opacity-70 active:opacity-100", children: linkContent })
7263
+ titleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7264
+ linkContent && /* @__PURE__ */ jsx95("div", { className: "ml-6 text-sm font-semibold text-[var(--chekin-color-brand-blue)] no-underline hover:opacity-70 active:opacity-100", children: linkContent })
7185
7265
  ]
7186
7266
  }
7187
7267
  ),
7188
- subtitle && /* @__PURE__ */ jsxs57("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7189
- /* @__PURE__ */ jsx94("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7190
- subtitleTooltip && /* @__PURE__ */ jsx94("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx94(TooltipInfo, { content: subtitleTooltip }) })
7268
+ subtitle && /* @__PURE__ */ jsxs58("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7269
+ /* @__PURE__ */ jsx95("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7270
+ subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
7191
7271
  ] })
7192
7272
  ] }),
7193
- loading && showLoader ? /* @__PURE__ */ jsx94(
7273
+ loading && showLoader ? /* @__PURE__ */ jsx95(
7194
7274
  CircularLoader,
7195
7275
  {
7196
7276
  size: "md",
@@ -7204,8 +7284,8 @@ var Section = forwardRef37(
7204
7284
  }
7205
7285
  );
7206
7286
  Section.displayName = "Section";
7207
- var SubSection = forwardRef37(
7208
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx94(
7287
+ var SubSection = forwardRef38(
7288
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
7209
7289
  Section,
7210
7290
  {
7211
7291
  ref,
@@ -7218,8 +7298,8 @@ var SubSection = forwardRef37(
7218
7298
  )
7219
7299
  );
7220
7300
  SubSection.displayName = "SubSection";
7221
- var DividingSubsection = forwardRef37(
7222
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx94(
7301
+ var DividingSubsection = forwardRef38(
7302
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
7223
7303
  SubSection,
7224
7304
  {
7225
7305
  ref,
@@ -7232,14 +7312,14 @@ DividingSubsection.displayName = "DividingSubsection";
7232
7312
 
7233
7313
  // src/separator/Separator.tsx
7234
7314
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
7235
- import { jsx as jsx95 } from "react/jsx-runtime";
7315
+ import { jsx as jsx96 } from "react/jsx-runtime";
7236
7316
  function Separator3({
7237
7317
  className,
7238
7318
  orientation = "horizontal",
7239
7319
  decorative = true,
7240
7320
  ...props
7241
7321
  }) {
7242
- return /* @__PURE__ */ jsx95(
7322
+ return /* @__PURE__ */ jsx96(
7243
7323
  SeparatorPrimitive.Root,
7244
7324
  {
7245
7325
  "data-slot": "separator",
@@ -7255,7 +7335,7 @@ function Separator3({
7255
7335
  }
7256
7336
 
7257
7337
  // src/section-group/SectionGroup.tsx
7258
- import { jsx as jsx96, jsxs as jsxs58 } from "react/jsx-runtime";
7338
+ import { jsx as jsx97, jsxs as jsxs59 } from "react/jsx-runtime";
7259
7339
  var SectionGroupItem = ({
7260
7340
  className,
7261
7341
  contentClassName,
@@ -7264,17 +7344,17 @@ var SectionGroupItem = ({
7264
7344
  children,
7265
7345
  divider = true
7266
7346
  }) => {
7267
- return /* @__PURE__ */ jsxs58("section", { className: cn("flex flex-col gap-5", className), children: [
7268
- divider && /* @__PURE__ */ jsx96("div", { className: cn("h-px w-full bg-[var(--section-group-divider-bg)]") }),
7269
- (title || subtitle) && /* @__PURE__ */ jsxs58("div", { className: "flex flex-col gap-1 px-8", children: [
7270
- title && /* @__PURE__ */ jsx96("h3", { className: "text-sm font-semibold leading-6 text-[var(--section-group-muted-text)]", children: title }),
7271
- subtitle && /* @__PURE__ */ jsx96("p", { className: "text-sm font-medium leading-6 text-[var(--section-group-muted-text)]", children: subtitle })
7347
+ return /* @__PURE__ */ jsxs59("section", { className: cn("flex flex-col gap-5", className), children: [
7348
+ divider && /* @__PURE__ */ jsx97("div", { className: cn("h-px w-full bg-[var(--section-group-divider-bg)]") }),
7349
+ (title || subtitle) && /* @__PURE__ */ jsxs59("div", { className: "flex flex-col gap-1 px-8", children: [
7350
+ title && /* @__PURE__ */ jsx97("h3", { className: "text-sm font-semibold leading-6 text-[var(--section-group-muted-text)]", children: title }),
7351
+ subtitle && /* @__PURE__ */ jsx97("p", { className: "text-sm font-medium leading-6 text-[var(--section-group-muted-text)]", children: subtitle })
7272
7352
  ] }),
7273
- /* @__PURE__ */ jsx96("div", { className: cn("flex flex-col gap-4 px-8", contentClassName), children })
7353
+ /* @__PURE__ */ jsx97("div", { className: cn("flex flex-col gap-4 px-8", contentClassName), children })
7274
7354
  ] });
7275
7355
  };
7276
7356
  var SectionGroupRoot = ({ className, title, actions, children }) => {
7277
- return /* @__PURE__ */ jsxs58(
7357
+ return /* @__PURE__ */ jsxs59(
7278
7358
  "div",
7279
7359
  {
7280
7360
  className: cn(
@@ -7283,18 +7363,18 @@ var SectionGroupRoot = ({ className, title, actions, children }) => {
7283
7363
  className
7284
7364
  ),
7285
7365
  children: [
7286
- (title || actions) && /* @__PURE__ */ jsxs58("div", { className: "flex items-center gap-6 px-8", children: [
7287
- title && /* @__PURE__ */ jsx96("h2", { className: "flex-1 text-lg font-bold leading-6 text-[var(--section-group-title-color)] opacity-90", children: title }),
7288
- actions && /* @__PURE__ */ jsx96("div", { className: "flex items-center gap-2", children: actions })
7366
+ (title || actions) && /* @__PURE__ */ jsxs59("div", { className: "flex items-center gap-6 px-8", children: [
7367
+ title && /* @__PURE__ */ jsx97("h2", { className: "flex-1 text-lg font-bold leading-6 text-[var(--section-group-title-color)] opacity-90", children: title }),
7368
+ actions && /* @__PURE__ */ jsx97("div", { className: "flex items-center gap-2", children: actions })
7289
7369
  ] }),
7290
7370
  children
7291
7371
  ]
7292
7372
  }
7293
7373
  );
7294
7374
  };
7295
- var SectionGroupLabel = ({ id, title, description }) => /* @__PURE__ */ jsxs58("div", { id, children: [
7296
- /* @__PURE__ */ jsx96("div", { className: "font-semibold leading-6", children: title }),
7297
- description && /* @__PURE__ */ jsx96("div", { className: "text-sm font-medium leading-6 text-[var(--section-group-muted-text)]", children: description })
7375
+ var SectionGroupLabel = ({ id, title, description }) => /* @__PURE__ */ jsxs59("div", { id, children: [
7376
+ /* @__PURE__ */ jsx97("div", { className: "font-semibold leading-6", children: title }),
7377
+ description && /* @__PURE__ */ jsx97("div", { className: "text-sm font-medium leading-6 text-[var(--section-group-muted-text)]", children: description })
7298
7378
  ] });
7299
7379
  var SectionGroup = Object.assign(SectionGroupRoot, {
7300
7380
  Item: SectionGroupItem,
@@ -7304,24 +7384,24 @@ var SectionGroup = Object.assign(SectionGroupRoot, {
7304
7384
  // src/sheet/Sheet.tsx
7305
7385
  import * as SheetPrimitive from "@radix-ui/react-dialog";
7306
7386
  import { XIcon as XIcon2 } from "lucide-react";
7307
- import { jsx as jsx97, jsxs as jsxs59 } from "react/jsx-runtime";
7387
+ import { jsx as jsx98, jsxs as jsxs60 } from "react/jsx-runtime";
7308
7388
  function Sheet({ ...props }) {
7309
- return /* @__PURE__ */ jsx97(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
7389
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
7310
7390
  }
7311
7391
  function SheetTrigger({ ...props }) {
7312
- return /* @__PURE__ */ jsx97(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
7392
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
7313
7393
  }
7314
7394
  function SheetClose({ ...props }) {
7315
- return /* @__PURE__ */ jsx97(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
7395
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
7316
7396
  }
7317
7397
  function SheetPortal({ ...props }) {
7318
- return /* @__PURE__ */ jsx97(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
7398
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
7319
7399
  }
7320
7400
  function SheetOverlay({
7321
7401
  className,
7322
7402
  ...props
7323
7403
  }) {
7324
- return /* @__PURE__ */ jsx97(
7404
+ return /* @__PURE__ */ jsx98(
7325
7405
  SheetPrimitive.Overlay,
7326
7406
  {
7327
7407
  "data-slot": "sheet-overlay",
@@ -7339,9 +7419,9 @@ function SheetContent({
7339
7419
  side = "right",
7340
7420
  ...props
7341
7421
  }) {
7342
- return /* @__PURE__ */ jsxs59(SheetPortal, { children: [
7343
- /* @__PURE__ */ jsx97(SheetOverlay, {}),
7344
- /* @__PURE__ */ jsxs59(
7422
+ return /* @__PURE__ */ jsxs60(SheetPortal, { children: [
7423
+ /* @__PURE__ */ jsx98(SheetOverlay, {}),
7424
+ /* @__PURE__ */ jsxs60(
7345
7425
  SheetPrimitive.Content,
7346
7426
  {
7347
7427
  "data-slot": "sheet-content",
@@ -7356,9 +7436,9 @@ function SheetContent({
7356
7436
  ...props,
7357
7437
  children: [
7358
7438
  children,
7359
- /* @__PURE__ */ jsxs59(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-[var(--chekin-radius-small)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-[var(--chekin-shadow-focus)] disabled:pointer-events-none", children: [
7360
- /* @__PURE__ */ jsx97(XIcon2, { className: "size-4" }),
7361
- /* @__PURE__ */ jsx97("span", { className: "sr-only", children: "Close" })
7439
+ /* @__PURE__ */ jsxs60(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-[var(--chekin-radius-small)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-[var(--chekin-shadow-focus)] disabled:pointer-events-none", children: [
7440
+ /* @__PURE__ */ jsx98(XIcon2, { className: "size-4" }),
7441
+ /* @__PURE__ */ jsx98("span", { className: "sr-only", children: "Close" })
7362
7442
  ] })
7363
7443
  ]
7364
7444
  }
@@ -7366,7 +7446,7 @@ function SheetContent({
7366
7446
  ] });
7367
7447
  }
7368
7448
  function SheetHeader({ className, ...props }) {
7369
- return /* @__PURE__ */ jsx97(
7449
+ return /* @__PURE__ */ jsx98(
7370
7450
  "div",
7371
7451
  {
7372
7452
  "data-slot": "sheet-header",
@@ -7376,7 +7456,7 @@ function SheetHeader({ className, ...props }) {
7376
7456
  );
7377
7457
  }
7378
7458
  function SheetFooter({ className, ...props }) {
7379
- return /* @__PURE__ */ jsx97(
7459
+ return /* @__PURE__ */ jsx98(
7380
7460
  "div",
7381
7461
  {
7382
7462
  "data-slot": "sheet-footer",
@@ -7389,7 +7469,7 @@ function SheetTitle({
7389
7469
  className,
7390
7470
  ...props
7391
7471
  }) {
7392
- return /* @__PURE__ */ jsx97(
7472
+ return /* @__PURE__ */ jsx98(
7393
7473
  SheetPrimitive.Title,
7394
7474
  {
7395
7475
  "data-slot": "sheet-title",
@@ -7402,7 +7482,7 @@ function SheetDescription({
7402
7482
  className,
7403
7483
  ...props
7404
7484
  }) {
7405
- return /* @__PURE__ */ jsx97(
7485
+ return /* @__PURE__ */ jsx98(
7406
7486
  SheetPrimitive.Description,
7407
7487
  {
7408
7488
  "data-slot": "sheet-description",
@@ -7413,15 +7493,15 @@ function SheetDescription({
7413
7493
  }
7414
7494
 
7415
7495
  // src/sidebar/Sidebar.tsx
7416
- import * as React26 from "react";
7496
+ import * as React27 from "react";
7417
7497
  import { Slot as Slot4 } from "@radix-ui/react-slot";
7418
- import { cva as cva11 } from "class-variance-authority";
7498
+ import { cva as cva12 } from "class-variance-authority";
7419
7499
  import { ArrowLeftFromLineIcon, ArrowRightFromLineIcon } from "lucide-react";
7420
7500
 
7421
7501
  // src/skeleton/Skeleton.tsx
7422
- import { jsx as jsx98 } from "react/jsx-runtime";
7502
+ import { jsx as jsx99 } from "react/jsx-runtime";
7423
7503
  function Skeleton({ className, ...props }) {
7424
- return /* @__PURE__ */ jsx98(
7504
+ return /* @__PURE__ */ jsx99(
7425
7505
  "div",
7426
7506
  {
7427
7507
  "data-slot": "skeleton",
@@ -7451,7 +7531,7 @@ function useSidebarMenuButton() {
7451
7531
  }
7452
7532
 
7453
7533
  // src/sidebar/SidebarIcon.tsx
7454
- import { jsx as jsx99 } from "react/jsx-runtime";
7534
+ import { jsx as jsx100 } from "react/jsx-runtime";
7455
7535
  var SidebarIcon = ({
7456
7536
  children,
7457
7537
  isActive: isActiveProp,
@@ -7468,7 +7548,7 @@ var SidebarIcon = ({
7468
7548
  }
7469
7549
  return highlighted ? "bg-[var(--chekin-color-surface-pressed)]" : "bg-[var(--chekin-color-surface-input-empty)]";
7470
7550
  })();
7471
- return /* @__PURE__ */ jsx99(
7551
+ return /* @__PURE__ */ jsx100(
7472
7552
  "div",
7473
7553
  {
7474
7554
  className: cn(
@@ -7501,12 +7581,12 @@ function useSidebarSafe() {
7501
7581
  }
7502
7582
 
7503
7583
  // src/sidebar/Sidebar.tsx
7504
- import { jsx as jsx100, jsxs as jsxs60 } from "react/jsx-runtime";
7584
+ import { jsx as jsx101, jsxs as jsxs61 } from "react/jsx-runtime";
7505
7585
  var SIDEBAR_COOKIE_NAME_DEFAULT = "sidebar_state";
7506
7586
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
7507
7587
  var SIDEBAR_WIDTH_MOBILE = "18rem";
7508
7588
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
7509
- var SidebarProvider = React26.forwardRef(
7589
+ var SidebarProvider = React27.forwardRef(
7510
7590
  ({
7511
7591
  defaultOpen = true,
7512
7592
  open: openProp,
@@ -7518,10 +7598,10 @@ var SidebarProvider = React26.forwardRef(
7518
7598
  ...props
7519
7599
  }, ref) => {
7520
7600
  const isMobile2 = useIsMobile({ breakpoint: 641 });
7521
- const [openMobile, setOpenMobile] = React26.useState(false);
7522
- const [_open, _setOpen] = React26.useState(defaultOpen);
7601
+ const [openMobile, setOpenMobile] = React27.useState(false);
7602
+ const [_open, _setOpen] = React27.useState(defaultOpen);
7523
7603
  const open = openProp ?? _open;
7524
- const setOpen = React26.useCallback(
7604
+ const setOpen = React27.useCallback(
7525
7605
  (value) => {
7526
7606
  const openState = typeof value === "function" ? value(open) : value;
7527
7607
  if (setOpenProp) {
@@ -7533,10 +7613,10 @@ var SidebarProvider = React26.forwardRef(
7533
7613
  },
7534
7614
  [setOpenProp, open, stateName]
7535
7615
  );
7536
- const toggleSidebar = React26.useCallback(() => {
7616
+ const toggleSidebar = React27.useCallback(() => {
7537
7617
  return isMobile2 ? setOpenMobile((value) => !value) : setOpen((value) => !value);
7538
7618
  }, [isMobile2, setOpen]);
7539
- React26.useEffect(() => {
7619
+ React27.useEffect(() => {
7540
7620
  const handleKeyDown = (event) => {
7541
7621
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
7542
7622
  event.preventDefault();
@@ -7547,7 +7627,7 @@ var SidebarProvider = React26.forwardRef(
7547
7627
  return () => window.removeEventListener("keydown", handleKeyDown);
7548
7628
  }, [toggleSidebar]);
7549
7629
  const state = open ? "expanded" : "collapsed";
7550
- const contextValue = React26.useMemo(
7630
+ const contextValue = React27.useMemo(
7551
7631
  () => ({
7552
7632
  state,
7553
7633
  open,
@@ -7559,7 +7639,7 @@ var SidebarProvider = React26.forwardRef(
7559
7639
  }),
7560
7640
  [state, open, setOpen, isMobile2, openMobile, setOpenMobile, toggleSidebar]
7561
7641
  );
7562
- return /* @__PURE__ */ jsx100(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx100(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx100(
7642
+ return /* @__PURE__ */ jsx101(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx101(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx101(
7563
7643
  "div",
7564
7644
  {
7565
7645
  style,
@@ -7575,7 +7655,7 @@ var SidebarProvider = React26.forwardRef(
7575
7655
  }
7576
7656
  );
7577
7657
  SidebarProvider.displayName = "SidebarProvider";
7578
- var Sidebar = React26.forwardRef(
7658
+ var Sidebar = React27.forwardRef(
7579
7659
  ({
7580
7660
  side = "left",
7581
7661
  variant = "sidebar",
@@ -7586,7 +7666,7 @@ var Sidebar = React26.forwardRef(
7586
7666
  }, ref) => {
7587
7667
  const { isMobile: isMobile2, state, openMobile, setOpenMobile } = useSidebar();
7588
7668
  if (collapsible === "none") {
7589
- return /* @__PURE__ */ jsx100(
7669
+ return /* @__PURE__ */ jsx101(
7590
7670
  "div",
7591
7671
  {
7592
7672
  className: cn(
@@ -7600,7 +7680,7 @@ var Sidebar = React26.forwardRef(
7600
7680
  );
7601
7681
  }
7602
7682
  if (isMobile2) {
7603
- return /* @__PURE__ */ jsx100(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs60(
7683
+ return /* @__PURE__ */ jsx101(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs61(
7604
7684
  SheetContent,
7605
7685
  {
7606
7686
  "data-sidebar": "sidebar",
@@ -7612,16 +7692,16 @@ var Sidebar = React26.forwardRef(
7612
7692
  style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
7613
7693
  side,
7614
7694
  children: [
7615
- /* @__PURE__ */ jsxs60(SheetHeader, { className: "sr-only", children: [
7616
- /* @__PURE__ */ jsx100(SheetTitle, { children: "Sidebar" }),
7617
- /* @__PURE__ */ jsx100(SheetDescription, { children: "Displays the mobile sidebar." })
7695
+ /* @__PURE__ */ jsxs61(SheetHeader, { className: "sr-only", children: [
7696
+ /* @__PURE__ */ jsx101(SheetTitle, { children: "Sidebar" }),
7697
+ /* @__PURE__ */ jsx101(SheetDescription, { children: "Displays the mobile sidebar." })
7618
7698
  ] }),
7619
- /* @__PURE__ */ jsx100("div", { className: "flex h-full w-full flex-col", children })
7699
+ /* @__PURE__ */ jsx101("div", { className: "flex h-full w-full flex-col", children })
7620
7700
  ]
7621
7701
  }
7622
7702
  ) });
7623
7703
  }
7624
- return /* @__PURE__ */ jsxs60(
7704
+ return /* @__PURE__ */ jsxs61(
7625
7705
  "div",
7626
7706
  {
7627
7707
  ref,
@@ -7632,7 +7712,7 @@ var Sidebar = React26.forwardRef(
7632
7712
  "data-variant": variant,
7633
7713
  "data-side": side,
7634
7714
  children: [
7635
- /* @__PURE__ */ jsx100(
7715
+ /* @__PURE__ */ jsx101(
7636
7716
  "div",
7637
7717
  {
7638
7718
  className: cn(
@@ -7643,7 +7723,7 @@ var Sidebar = React26.forwardRef(
7643
7723
  )
7644
7724
  }
7645
7725
  ),
7646
- /* @__PURE__ */ jsx100(
7726
+ /* @__PURE__ */ jsx101(
7647
7727
  "div",
7648
7728
  {
7649
7729
  className: cn(
@@ -7653,7 +7733,7 @@ var Sidebar = React26.forwardRef(
7653
7733
  className
7654
7734
  ),
7655
7735
  ...props,
7656
- children: /* @__PURE__ */ jsx100(
7736
+ children: /* @__PURE__ */ jsx101(
7657
7737
  "div",
7658
7738
  {
7659
7739
  "data-sidebar": "sidebar",
@@ -7669,9 +7749,9 @@ var Sidebar = React26.forwardRef(
7669
7749
  }
7670
7750
  );
7671
7751
  Sidebar.displayName = "Sidebar";
7672
- var SidebarTrigger = React26.forwardRef(({ className, onClick, icon, ...props }, ref) => {
7752
+ var SidebarTrigger = React27.forwardRef(({ className, onClick, icon, ...props }, ref) => {
7673
7753
  const { toggleSidebar, open, isMobile: isMobile2, openMobile } = useSidebar();
7674
- return /* @__PURE__ */ jsxs60(
7754
+ return /* @__PURE__ */ jsxs61(
7675
7755
  Button,
7676
7756
  {
7677
7757
  ref,
@@ -7689,17 +7769,17 @@ var SidebarTrigger = React26.forwardRef(({ className, onClick, icon, ...props },
7689
7769
  },
7690
7770
  ...props,
7691
7771
  children: [
7692
- icon || (isMobile2 ? openMobile : open) ? icon || /* @__PURE__ */ jsx100(ArrowLeftFromLineIcon, {}) : /* @__PURE__ */ jsx100(ArrowRightFromLineIcon, {}),
7693
- /* @__PURE__ */ jsx100("span", { className: "sr-only", children: "Toggle Sidebar" })
7772
+ icon || (isMobile2 ? openMobile : open) ? icon || /* @__PURE__ */ jsx101(ArrowLeftFromLineIcon, {}) : /* @__PURE__ */ jsx101(ArrowRightFromLineIcon, {}),
7773
+ /* @__PURE__ */ jsx101("span", { className: "sr-only", children: "Toggle Sidebar" })
7694
7774
  ]
7695
7775
  }
7696
7776
  );
7697
7777
  });
7698
7778
  SidebarTrigger.displayName = "SidebarTrigger";
7699
- var SidebarRail = React26.forwardRef(
7779
+ var SidebarRail = React27.forwardRef(
7700
7780
  ({ className, ...props }, ref) => {
7701
7781
  const { toggleSidebar } = useSidebar();
7702
- return /* @__PURE__ */ jsx100(
7782
+ return /* @__PURE__ */ jsx101(
7703
7783
  "button",
7704
7784
  {
7705
7785
  ref,
@@ -7722,8 +7802,8 @@ var SidebarRail = React26.forwardRef(
7722
7802
  }
7723
7803
  );
7724
7804
  SidebarRail.displayName = "SidebarRail";
7725
- var SidebarInset = React26.forwardRef(
7726
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7805
+ var SidebarInset = React27.forwardRef(
7806
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7727
7807
  "main",
7728
7808
  {
7729
7809
  ref,
@@ -7737,7 +7817,7 @@ var SidebarInset = React26.forwardRef(
7737
7817
  )
7738
7818
  );
7739
7819
  SidebarInset.displayName = "SidebarInset";
7740
- var SidebarInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7820
+ var SidebarInput = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7741
7821
  Input,
7742
7822
  {
7743
7823
  ref,
@@ -7747,8 +7827,8 @@ var SidebarInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PU
7747
7827
  }
7748
7828
  ));
7749
7829
  SidebarInput.displayName = "SidebarInput";
7750
- var SidebarHeader = React26.forwardRef(
7751
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7830
+ var SidebarHeader = React27.forwardRef(
7831
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7752
7832
  "div",
7753
7833
  {
7754
7834
  ref,
@@ -7759,8 +7839,8 @@ var SidebarHeader = React26.forwardRef(
7759
7839
  )
7760
7840
  );
7761
7841
  SidebarHeader.displayName = "SidebarHeader";
7762
- var SidebarFooter = React26.forwardRef(
7763
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7842
+ var SidebarFooter = React27.forwardRef(
7843
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7764
7844
  "div",
7765
7845
  {
7766
7846
  ref,
@@ -7771,7 +7851,7 @@ var SidebarFooter = React26.forwardRef(
7771
7851
  )
7772
7852
  );
7773
7853
  SidebarFooter.displayName = "SidebarFooter";
7774
- var SidebarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7854
+ var SidebarSeparator = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7775
7855
  Separator3,
7776
7856
  {
7777
7857
  ref,
@@ -7781,8 +7861,8 @@ var SidebarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @
7781
7861
  }
7782
7862
  ));
7783
7863
  SidebarSeparator.displayName = "SidebarSeparator";
7784
- var SidebarContent = React26.forwardRef(
7785
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7864
+ var SidebarContent = React27.forwardRef(
7865
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7786
7866
  "div",
7787
7867
  {
7788
7868
  ref,
@@ -7796,8 +7876,8 @@ var SidebarContent = React26.forwardRef(
7796
7876
  )
7797
7877
  );
7798
7878
  SidebarContent.displayName = "SidebarContent";
7799
- var SidebarGroup = React26.forwardRef(
7800
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7879
+ var SidebarGroup = React27.forwardRef(
7880
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7801
7881
  "div",
7802
7882
  {
7803
7883
  ref,
@@ -7808,9 +7888,9 @@ var SidebarGroup = React26.forwardRef(
7808
7888
  )
7809
7889
  );
7810
7890
  SidebarGroup.displayName = "SidebarGroup";
7811
- var SidebarGroupLabel = React26.forwardRef(({ className, asChild = false, ...props }, ref) => {
7891
+ var SidebarGroupLabel = React27.forwardRef(({ className, asChild = false, ...props }, ref) => {
7812
7892
  const Comp = asChild ? Slot4 : "div";
7813
- return /* @__PURE__ */ jsx100(
7893
+ return /* @__PURE__ */ jsx101(
7814
7894
  Comp,
7815
7895
  {
7816
7896
  ref,
@@ -7825,9 +7905,9 @@ var SidebarGroupLabel = React26.forwardRef(({ className, asChild = false, ...pro
7825
7905
  );
7826
7906
  });
7827
7907
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
7828
- var SidebarGroupAction = React26.forwardRef(({ className, asChild = false, ...props }, ref) => {
7908
+ var SidebarGroupAction = React27.forwardRef(({ className, asChild = false, ...props }, ref) => {
7829
7909
  const Comp = asChild ? Slot4 : "button";
7830
- return /* @__PURE__ */ jsx100(
7910
+ return /* @__PURE__ */ jsx101(
7831
7911
  Comp,
7832
7912
  {
7833
7913
  ref,
@@ -7841,8 +7921,8 @@ var SidebarGroupAction = React26.forwardRef(({ className, asChild = false, ...pr
7841
7921
  );
7842
7922
  });
7843
7923
  SidebarGroupAction.displayName = "SidebarGroupAction";
7844
- var SidebarGroupContent = React26.forwardRef(
7845
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7924
+ var SidebarGroupContent = React27.forwardRef(
7925
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7846
7926
  "div",
7847
7927
  {
7848
7928
  ref,
@@ -7853,8 +7933,8 @@ var SidebarGroupContent = React26.forwardRef(
7853
7933
  )
7854
7934
  );
7855
7935
  SidebarGroupContent.displayName = "SidebarGroupContent";
7856
- var SidebarMenu = React26.forwardRef(
7857
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7936
+ var SidebarMenu = React27.forwardRef(
7937
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7858
7938
  "ul",
7859
7939
  {
7860
7940
  ref,
@@ -7865,8 +7945,8 @@ var SidebarMenu = React26.forwardRef(
7865
7945
  )
7866
7946
  );
7867
7947
  SidebarMenu.displayName = "SidebarMenu";
7868
- var SidebarMenuItem = React26.forwardRef(
7869
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
7948
+ var SidebarMenuItem = React27.forwardRef(
7949
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7870
7950
  "li",
7871
7951
  {
7872
7952
  ref,
@@ -7877,7 +7957,7 @@ var SidebarMenuItem = React26.forwardRef(
7877
7957
  )
7878
7958
  );
7879
7959
  SidebarMenuItem.displayName = "SidebarMenuItem";
7880
- var sidebarMenuButtonVariants = cva11(
7960
+ var sidebarMenuButtonVariants = cva12(
7881
7961
  "peer/menu-button group/menu-button relative flex min-h-[40px] w-full items-center gap-2 rounded-lg px-2 text-left text-md font-medium capitalize outline-none transition-[width,height,padding,color,background-color] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 group-data-[collapsible=icon]:!size-10 group-data-[collapsible=icon]:!p-2 [&>*:not(:first-child)]:truncate [&>*:nth-child(2)]:grow [&>svg]:size-4 [&>svg]:shrink-0 data-[active=false]:data-[highlighted=false]:bg-transparent data-[active=false]:data-[highlighted=false]:text-[var(--chekin-color-gray-1)] data-[active=false]:data-[highlighted=false]:hover:bg-[var(--chekin-color-surface-input-empty)] data-[active=false]:data-[highlighted=true]:bg-transparent data-[active=false]:data-[highlighted=true]:hover:bg-[var(--chekin-color-surface-input-empty)] data-[active=true]:data-[highlighted=false]:bg-[var(--chekin-color-surface-pressed)] data-[active=true]:data-[highlighted=false]:font-semibold data-[active=true]:data-[highlighted=false]:text-[var(--chekin-color-gray-1)] data-[active=true]:data-[highlighted=true]:bg-[var(--chekin-color-surface-pressed)] data-[active=true]:data-[highlighted=true]:font-semibold data-[active=true]:data-[highlighted=true]:text-[var(--chekin-color-brand-blue)]",
7882
7962
  {
7883
7963
  variants: {
@@ -7897,7 +7977,7 @@ var sidebarMenuButtonVariants = cva11(
7897
7977
  }
7898
7978
  }
7899
7979
  );
7900
- var SidebarMenuButton = React26.forwardRef(
7980
+ var SidebarMenuButton = React27.forwardRef(
7901
7981
  ({
7902
7982
  asChild = false,
7903
7983
  isActive = false,
@@ -7910,7 +7990,7 @@ var SidebarMenuButton = React26.forwardRef(
7910
7990
  }, ref) => {
7911
7991
  const Comp = asChild ? Slot4 : "button";
7912
7992
  const { isMobile: isMobile2, state } = useSidebar();
7913
- const button = /* @__PURE__ */ jsx100(
7993
+ const button = /* @__PURE__ */ jsx101(
7914
7994
  Comp,
7915
7995
  {
7916
7996
  ref,
@@ -7923,12 +8003,12 @@ var SidebarMenuButton = React26.forwardRef(
7923
8003
  }
7924
8004
  );
7925
8005
  if (!tooltip) {
7926
- return /* @__PURE__ */ jsx100(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: button });
8006
+ return /* @__PURE__ */ jsx101(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: button });
7927
8007
  }
7928
8008
  const tooltipProps = typeof tooltip === "string" ? { children: tooltip } : tooltip;
7929
- return /* @__PURE__ */ jsx100(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: /* @__PURE__ */ jsxs60(Tooltip, { children: [
7930
- /* @__PURE__ */ jsx100(TooltipTrigger, { asChild: true, children: button }),
7931
- /* @__PURE__ */ jsx100(
8009
+ return /* @__PURE__ */ jsx101(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: /* @__PURE__ */ jsxs61(Tooltip, { children: [
8010
+ /* @__PURE__ */ jsx101(TooltipTrigger, { asChild: true, children: button }),
8011
+ /* @__PURE__ */ jsx101(
7932
8012
  TooltipContent,
7933
8013
  {
7934
8014
  side: "right",
@@ -7943,9 +8023,9 @@ var SidebarMenuButton = React26.forwardRef(
7943
8023
  }
7944
8024
  );
7945
8025
  SidebarMenuButton.displayName = "SidebarMenuButton";
7946
- var SidebarMenuAction = React26.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
8026
+ var SidebarMenuAction = React27.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
7947
8027
  const Comp = asChild ? Slot4 : "button";
7948
- return /* @__PURE__ */ jsx100(
8028
+ return /* @__PURE__ */ jsx101(
7949
8029
  Comp,
7950
8030
  {
7951
8031
  ref,
@@ -7960,11 +8040,11 @@ var SidebarMenuAction = React26.forwardRef(({ className, asChild = false, showOn
7960
8040
  );
7961
8041
  });
7962
8042
  SidebarMenuAction.displayName = "SidebarMenuAction";
7963
- var SidebarMenuBadge = React26.forwardRef(
8043
+ var SidebarMenuBadge = React27.forwardRef(
7964
8044
  ({ className, ...props }, ref) => {
7965
8045
  const { open, isMobile: isMobile2, openMobile } = useSidebar();
7966
8046
  const isOpen = isMobile2 ? openMobile : open;
7967
- return /* @__PURE__ */ jsx100(
8047
+ return /* @__PURE__ */ jsx101(
7968
8048
  "div",
7969
8049
  {
7970
8050
  ref,
@@ -7980,9 +8060,9 @@ var SidebarMenuBadge = React26.forwardRef(
7980
8060
  }
7981
8061
  );
7982
8062
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
7983
- var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...props }, ref) => {
7984
- const width = React26.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
7985
- return /* @__PURE__ */ jsxs60(
8063
+ var SidebarMenuSkeleton = React27.forwardRef(({ className, showIcon = false, ...props }, ref) => {
8064
+ const width = React27.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
8065
+ return /* @__PURE__ */ jsxs61(
7986
8066
  "div",
7987
8067
  {
7988
8068
  ref,
@@ -7990,8 +8070,8 @@ var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...
7990
8070
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
7991
8071
  ...props,
7992
8072
  children: [
7993
- showIcon && /* @__PURE__ */ jsx100(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
7994
- /* @__PURE__ */ jsx100(
8073
+ showIcon && /* @__PURE__ */ jsx101(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
8074
+ /* @__PURE__ */ jsx101(
7995
8075
  Skeleton,
7996
8076
  {
7997
8077
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -8004,8 +8084,8 @@ var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...
8004
8084
  );
8005
8085
  });
8006
8086
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
8007
- var SidebarMenuSub = React26.forwardRef(
8008
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx100(
8087
+ var SidebarMenuSub = React27.forwardRef(
8088
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8009
8089
  "ul",
8010
8090
  {
8011
8091
  ref,
@@ -8019,11 +8099,11 @@ var SidebarMenuSub = React26.forwardRef(
8019
8099
  )
8020
8100
  );
8021
8101
  SidebarMenuSub.displayName = "SidebarMenuSub";
8022
- var SidebarMenuSubItem = React26.forwardRef(
8023
- ({ ...props }, ref) => /* @__PURE__ */ jsx100("li", { ref, ...props })
8102
+ var SidebarMenuSubItem = React27.forwardRef(
8103
+ ({ ...props }, ref) => /* @__PURE__ */ jsx101("li", { ref, ...props })
8024
8104
  );
8025
8105
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
8026
- var sidebarMenuSubButtonVariants = cva11(
8106
+ var sidebarMenuSubButtonVariants = cva12(
8027
8107
  "flex min-w-0 items-center gap-2 overflow-hidden rounded-md px-2 text-left text-[var(--chekin-color-gray-1)] outline-none transition-colors duration-200 hover:bg-[var(--chekin-color-surface-input-empty)] hover:text-[var(--chekin-color-brand-navy)] focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-[var(--chekin-color-surface-pressed)] data-[active=true]:font-medium data-[active=true]:text-[var(--chekin-color-brand-navy)] group-data-[collapsible=icon]:hidden [&>span:nth-child(2)]:truncate [&>svg]:shrink-0",
8028
8108
  {
8029
8109
  variants: {
@@ -8043,7 +8123,7 @@ var sidebarMenuSubButtonVariants = cva11(
8043
8123
  }
8044
8124
  }
8045
8125
  );
8046
- var SidebarMenuSubButton = React26.forwardRef(
8126
+ var SidebarMenuSubButton = React27.forwardRef(
8047
8127
  ({
8048
8128
  asChild = false,
8049
8129
  isActive,
@@ -8053,7 +8133,7 @@ var SidebarMenuSubButton = React26.forwardRef(
8053
8133
  ...props
8054
8134
  }, ref) => {
8055
8135
  const Comp = asChild ? Slot4 : "a";
8056
- return /* @__PURE__ */ jsx100(
8136
+ return /* @__PURE__ */ jsx101(
8057
8137
  Comp,
8058
8138
  {
8059
8139
  ref,
@@ -8073,24 +8153,24 @@ var VALUE_PART = 1;
8073
8153
  var getSidebarState = (stateName) => document.cookie.split("; ").find((row) => row.startsWith(`${stateName}=`))?.split("=")[VALUE_PART] === "true";
8074
8154
 
8075
8155
  // src/signature-canvas/SignatureCanvas.tsx
8076
- import { forwardRef as forwardRef39, Fragment as Fragment9, useEffect as useEffect27, useRef as useRef18 } from "react";
8156
+ import { forwardRef as forwardRef40, Fragment as Fragment9, useEffect as useEffect27, useRef as useRef18 } from "react";
8077
8157
  import { useTranslation as useTranslation16 } from "react-i18next";
8078
8158
  import ReactSignatureCanvas from "react-signature-pad-wrapper";
8079
8159
 
8080
8160
  // src/assets/icons/sign-finger.svg
8081
- import * as React27 from "react";
8082
- import { jsx as jsx101, jsxs as jsxs61 } from "react/jsx-runtime";
8083
- var SvgSignFinger = (props) => /* @__PURE__ */ jsxs61("svg", { xmlns: "http://www.w3.org/2000/svg", width: 37.198, height: 40.76, viewBox: "0 0 37.198 40.76", ...props, children: [
8084
- /* @__PURE__ */ jsx101("defs", { children: /* @__PURE__ */ jsx101("style", { children: ".a{fill:#385cf8;}" }) }),
8085
- /* @__PURE__ */ jsx101("g", { transform: "translate(-84.883 29)", children: /* @__PURE__ */ jsxs61("g", { transform: "translate(0.883 4)", children: [
8086
- /* @__PURE__ */ jsx101("path", { className: "a", d: "M277.71,362.455a1.332,1.332,0,0,1-.878-.329,1.3,1.3,0,0,1-.38-1.387,3.537,3.537,0,0,0,.169-.893,5.514,5.514,0,0,1-3.179,2.525,3.567,3.567,0,0,1-3.507-1.314c-2.184-2.386-.695-5.062.393-7.017,1.283-2.3,1.246-2.67.553-3.119a2.672,2.672,0,0,0-2.116.117c-4.225,1.539-9.992,7.866-10.476,9.508a1.326,1.326,0,0,1-1.641.89,1.306,1.306,0,0,1-.9-1.623c.788-2.673,7.317-9.487,12.1-11.23a4.9,4.9,0,0,1,4.483.151,3.3,3.3,0,0,1,1.619,3.488,10.132,10.132,0,0,1-1.306,3.081c-1.5,2.7-1.374,3.317-.749,4,.554.605.873.536.977.514.8-.173,2.068-1.774,2.823-4.156a1.329,1.329,0,0,1,2.4-.282c.106.174,1.819,6.2.176,6.955A1.334,1.334,0,0,1,277.71,362.455Z", transform: "translate(-171.695 -381.124)" }),
8087
- /* @__PURE__ */ jsx101("g", { transform: "translate(95.422 -22.82)", children: /* @__PURE__ */ jsx101("g", { transform: "translate(0)", children: /* @__PURE__ */ jsx101("path", { className: "a", d: "M67.007,14.641l-5.781-3.81a3.935,3.935,0,0,0-4.257,0l-.127.084V2.548a2.578,2.578,0,0,0-5.155,0V19.6a.626.626,0,0,1-.306.542.642.642,0,0,1-.627.028l-4.138-2.046a2.768,2.768,0,0,0-1.221-.285,2.718,2.718,0,0,0-2.73,2.7v.486a.634.634,0,0,0,.205.466l7.438,6.862a8.4,8.4,0,0,0,5.715,2.228H62a6.415,6.415,0,0,0,6.444-6.371V17.291A3.169,3.169,0,0,0,67.007,14.641Z", transform: "translate(-42.666)" }) }) })
8161
+ import * as React28 from "react";
8162
+ import { jsx as jsx102, jsxs as jsxs62 } from "react/jsx-runtime";
8163
+ var SvgSignFinger = (props) => /* @__PURE__ */ jsxs62("svg", { xmlns: "http://www.w3.org/2000/svg", width: 37.198, height: 40.76, viewBox: "0 0 37.198 40.76", ...props, children: [
8164
+ /* @__PURE__ */ jsx102("defs", { children: /* @__PURE__ */ jsx102("style", { children: ".a{fill:#385cf8;}" }) }),
8165
+ /* @__PURE__ */ jsx102("g", { transform: "translate(-84.883 29)", children: /* @__PURE__ */ jsxs62("g", { transform: "translate(0.883 4)", children: [
8166
+ /* @__PURE__ */ jsx102("path", { className: "a", d: "M277.71,362.455a1.332,1.332,0,0,1-.878-.329,1.3,1.3,0,0,1-.38-1.387,3.537,3.537,0,0,0,.169-.893,5.514,5.514,0,0,1-3.179,2.525,3.567,3.567,0,0,1-3.507-1.314c-2.184-2.386-.695-5.062.393-7.017,1.283-2.3,1.246-2.67.553-3.119a2.672,2.672,0,0,0-2.116.117c-4.225,1.539-9.992,7.866-10.476,9.508a1.326,1.326,0,0,1-1.641.89,1.306,1.306,0,0,1-.9-1.623c.788-2.673,7.317-9.487,12.1-11.23a4.9,4.9,0,0,1,4.483.151,3.3,3.3,0,0,1,1.619,3.488,10.132,10.132,0,0,1-1.306,3.081c-1.5,2.7-1.374,3.317-.749,4,.554.605.873.536.977.514.8-.173,2.068-1.774,2.823-4.156a1.329,1.329,0,0,1,2.4-.282c.106.174,1.819,6.2.176,6.955A1.334,1.334,0,0,1,277.71,362.455Z", transform: "translate(-171.695 -381.124)" }),
8167
+ /* @__PURE__ */ jsx102("g", { transform: "translate(95.422 -22.82)", children: /* @__PURE__ */ jsx102("g", { transform: "translate(0)", children: /* @__PURE__ */ jsx102("path", { className: "a", d: "M67.007,14.641l-5.781-3.81a3.935,3.935,0,0,0-4.257,0l-.127.084V2.548a2.578,2.578,0,0,0-5.155,0V19.6a.626.626,0,0,1-.306.542.642.642,0,0,1-.627.028l-4.138-2.046a2.768,2.768,0,0,0-1.221-.285,2.718,2.718,0,0,0-2.73,2.7v.486a.634.634,0,0,0,.205.466l7.438,6.862a8.4,8.4,0,0,0,5.715,2.228H62a6.415,6.415,0,0,0,6.444-6.371V17.291A3.169,3.169,0,0,0,67.007,14.641Z", transform: "translate(-42.666)" }) }) })
8088
8168
  ] }) })
8089
8169
  ] });
8090
8170
  var sign_finger_default = SvgSignFinger;
8091
8171
 
8092
8172
  // src/signature-canvas/SignatureCanvas.tsx
8093
- import { jsx as jsx102, jsxs as jsxs62 } from "react/jsx-runtime";
8173
+ import { jsx as jsx103, jsxs as jsxs63 } from "react/jsx-runtime";
8094
8174
  var CANVAS_PROPS = {
8095
8175
  width: "250px",
8096
8176
  height: "174px"
@@ -8102,12 +8182,12 @@ var SIGNATURE_PROPS = {
8102
8182
  dotSize: 1
8103
8183
  };
8104
8184
  function breakIntoLines(text = "") {
8105
- return text.split("\n").map((line, index) => /* @__PURE__ */ jsxs62(Fragment9, { children: [
8185
+ return text.split("\n").map((line, index) => /* @__PURE__ */ jsxs63(Fragment9, { children: [
8106
8186
  line,
8107
- /* @__PURE__ */ jsx102("br", {})
8187
+ /* @__PURE__ */ jsx103("br", {})
8108
8188
  ] }, index));
8109
8189
  }
8110
- var SignatureCanvas = forwardRef39(
8190
+ var SignatureCanvas = forwardRef40(
8111
8191
  ({ onClear, hasSignature, onEnd, onEnable, className, enabled }, ref) => {
8112
8192
  const { t } = useTranslation16();
8113
8193
  const internalRef = useRef18(null);
@@ -8120,8 +8200,8 @@ var SignatureCanvas = forwardRef39(
8120
8200
  signPad?.removeEventListener("endStroke", onEnd);
8121
8201
  };
8122
8202
  }, [onEnd]);
8123
- return /* @__PURE__ */ jsxs62("div", { className: cn("relative inline-flex flex-col", className), children: [
8124
- !enabled && /* @__PURE__ */ jsxs62(
8203
+ return /* @__PURE__ */ jsxs63("div", { className: cn("relative inline-flex flex-col", className), children: [
8204
+ !enabled && /* @__PURE__ */ jsxs63(
8125
8205
  "button",
8126
8206
  {
8127
8207
  type: "button",
@@ -8133,8 +8213,8 @@ var SignatureCanvas = forwardRef39(
8133
8213
  onClick: onEnable,
8134
8214
  "data-testid": "signature-placeholder",
8135
8215
  children: [
8136
- /* @__PURE__ */ jsx102(SvgIcon, { as: sign_finger_default, size: 41, className: "w-[37px] opacity-[0.55]" }),
8137
- /* @__PURE__ */ jsx102(
8216
+ /* @__PURE__ */ jsx103(SvgIcon, { as: sign_finger_default, size: 41, className: "w-[37px] opacity-[0.55]" }),
8217
+ /* @__PURE__ */ jsx103(
8138
8218
  "span",
8139
8219
  {
8140
8220
  className: cn(
@@ -8147,7 +8227,7 @@ var SignatureCanvas = forwardRef39(
8147
8227
  ]
8148
8228
  }
8149
8229
  ),
8150
- /* @__PURE__ */ jsx102(
8230
+ /* @__PURE__ */ jsx103(
8151
8231
  "div",
8152
8232
  {
8153
8233
  className: cn(
@@ -8155,7 +8235,7 @@ var SignatureCanvas = forwardRef39(
8155
8235
  "border-[var(--signature-canvas-border)] shadow-[var(--signature-canvas-shadow)]",
8156
8236
  "box-border max-[320px]:overflow-hidden"
8157
8237
  ),
8158
- children: /* @__PURE__ */ jsx102(
8238
+ children: /* @__PURE__ */ jsx103(
8159
8239
  ReactSignatureCanvas,
8160
8240
  {
8161
8241
  ref: combinedRef,
@@ -8166,13 +8246,13 @@ var SignatureCanvas = forwardRef39(
8166
8246
  )
8167
8247
  }
8168
8248
  ),
8169
- /* @__PURE__ */ jsx102(
8249
+ /* @__PURE__ */ jsx103(
8170
8250
  "div",
8171
8251
  {
8172
8252
  className: cn("text-right", {
8173
8253
  invisible: !enabled || !hasSignature
8174
8254
  }),
8175
- children: /* @__PURE__ */ jsx102(
8255
+ children: /* @__PURE__ */ jsx103(
8176
8256
  Button,
8177
8257
  {
8178
8258
  variant: "link",
@@ -8192,17 +8272,17 @@ var SignatureCanvas = forwardRef39(
8192
8272
  SignatureCanvas.displayName = "SignatureCanvas";
8193
8273
 
8194
8274
  // src/slider/Slider.tsx
8195
- import * as React34 from "react";
8275
+ import * as React35 from "react";
8196
8276
 
8197
8277
  // src/slider/SliderControls.tsx
8198
- import * as React29 from "react";
8278
+ import * as React30 from "react";
8199
8279
  import { ChevronLeft as ChevronLeft3, ChevronRight as ChevronRight5 } from "lucide-react";
8200
8280
 
8201
8281
  // src/slider/SliderContext.tsx
8202
- import * as React28 from "react";
8203
- var SliderContext = React28.createContext(null);
8282
+ import * as React29 from "react";
8283
+ var SliderContext = React29.createContext(null);
8204
8284
  function useSliderContext(componentName) {
8205
- const context = React28.useContext(SliderContext);
8285
+ const context = React29.useContext(SliderContext);
8206
8286
  if (!context) {
8207
8287
  throw new Error(`${componentName} must be used within SliderRoot`);
8208
8288
  }
@@ -8210,14 +8290,14 @@ function useSliderContext(componentName) {
8210
8290
  }
8211
8291
 
8212
8292
  // src/slider/SliderControls.tsx
8213
- import { jsx as jsx103 } from "react/jsx-runtime";
8214
- var SliderPrevious = React29.forwardRef(
8293
+ import { jsx as jsx104 } from "react/jsx-runtime";
8294
+ var SliderPrevious = React30.forwardRef(
8215
8295
  ({ className, children, onClick, ...props }, ref) => {
8216
8296
  const { canGoPrevious, goToPrevious } = useSliderContext("SliderPrevious");
8217
8297
  if (!canGoPrevious) {
8218
8298
  return null;
8219
8299
  }
8220
- return /* @__PURE__ */ jsx103(
8300
+ return /* @__PURE__ */ jsx104(
8221
8301
  "button",
8222
8302
  {
8223
8303
  ref,
@@ -8235,19 +8315,19 @@ var SliderPrevious = React29.forwardRef(
8235
8315
  goToPrevious();
8236
8316
  },
8237
8317
  ...props,
8238
- children: children ?? /* @__PURE__ */ jsx103(ChevronLeft3, { className: "size-4" })
8318
+ children: children ?? /* @__PURE__ */ jsx104(ChevronLeft3, { className: "size-4" })
8239
8319
  }
8240
8320
  );
8241
8321
  }
8242
8322
  );
8243
8323
  SliderPrevious.displayName = "SliderPrevious";
8244
- var SliderNext = React29.forwardRef(
8324
+ var SliderNext = React30.forwardRef(
8245
8325
  ({ className, children, onClick, ...props }, ref) => {
8246
8326
  const { canGoNext, goToNext } = useSliderContext("SliderNext");
8247
8327
  if (!canGoNext) {
8248
8328
  return null;
8249
8329
  }
8250
- return /* @__PURE__ */ jsx103(
8330
+ return /* @__PURE__ */ jsx104(
8251
8331
  "button",
8252
8332
  {
8253
8333
  ref,
@@ -8265,7 +8345,7 @@ var SliderNext = React29.forwardRef(
8265
8345
  goToNext();
8266
8346
  },
8267
8347
  ...props,
8268
- children: children ?? /* @__PURE__ */ jsx103(ChevronRight5, { className: "size-4" })
8348
+ children: children ?? /* @__PURE__ */ jsx104(ChevronRight5, { className: "size-4" })
8269
8349
  }
8270
8350
  );
8271
8351
  }
@@ -8273,9 +8353,9 @@ var SliderNext = React29.forwardRef(
8273
8353
  SliderNext.displayName = "SliderNext";
8274
8354
 
8275
8355
  // src/slider/SliderRoot.tsx
8276
- import * as React30 from "react";
8277
- import { jsx as jsx104 } from "react/jsx-runtime";
8278
- var SliderRoot = React30.forwardRef(
8356
+ import * as React31 from "react";
8357
+ import { jsx as jsx105 } from "react/jsx-runtime";
8358
+ var SliderRoot = React31.forwardRef(
8279
8359
  ({
8280
8360
  className,
8281
8361
  index: controlledIndex,
@@ -8286,8 +8366,8 @@ var SliderRoot = React30.forwardRef(
8286
8366
  children,
8287
8367
  ...props
8288
8368
  }, ref) => {
8289
- const [uncontrolledIndex, setUncontrolledIndex] = React30.useState(defaultIndex);
8290
- const [registeredSlideCount, setRegisteredSlideCount] = React30.useState(0);
8369
+ const [uncontrolledIndex, setUncontrolledIndex] = React31.useState(defaultIndex);
8370
+ const [registeredSlideCount, setRegisteredSlideCount] = React31.useState(0);
8291
8371
  const slideCount = controlledSlideCount ?? registeredSlideCount;
8292
8372
  const isControlled = controlledIndex !== void 0;
8293
8373
  const index = isControlled ? controlledIndex : uncontrolledIndex;
@@ -8295,7 +8375,7 @@ var SliderRoot = React30.forwardRef(
8295
8375
  const normalizedIndex = Math.min(Math.max(index, 0), maxIndex);
8296
8376
  const canGoPrevious = loop ? slideCount > 1 : normalizedIndex > 0;
8297
8377
  const canGoNext = loop ? slideCount > 1 : normalizedIndex < maxIndex;
8298
- const setIndex = React30.useCallback(
8378
+ const setIndex = React31.useCallback(
8299
8379
  (nextIndex) => {
8300
8380
  const clampedIndex = Math.min(Math.max(nextIndex, 0), maxIndex);
8301
8381
  if (!isControlled) {
@@ -8305,23 +8385,23 @@ var SliderRoot = React30.forwardRef(
8305
8385
  },
8306
8386
  [isControlled, maxIndex, onIndexChange]
8307
8387
  );
8308
- const goToPrevious = React30.useCallback(() => {
8388
+ const goToPrevious = React31.useCallback(() => {
8309
8389
  if (!canGoPrevious) {
8310
8390
  return;
8311
8391
  }
8312
8392
  setIndex(normalizedIndex === 0 ? maxIndex : normalizedIndex - 1);
8313
8393
  }, [canGoPrevious, maxIndex, normalizedIndex, setIndex]);
8314
- const goToNext = React30.useCallback(() => {
8394
+ const goToNext = React31.useCallback(() => {
8315
8395
  if (!canGoNext) {
8316
8396
  return;
8317
8397
  }
8318
8398
  setIndex(normalizedIndex === maxIndex ? 0 : normalizedIndex + 1);
8319
8399
  }, [canGoNext, maxIndex, normalizedIndex, setIndex]);
8320
- const registerSlide = React30.useCallback(() => {
8400
+ const registerSlide = React31.useCallback(() => {
8321
8401
  setRegisteredSlideCount((count) => count + 1);
8322
8402
  return () => setRegisteredSlideCount((count) => Math.max(0, count - 1));
8323
8403
  }, []);
8324
- const contextValue = React30.useMemo(
8404
+ const contextValue = React31.useMemo(
8325
8405
  () => ({
8326
8406
  index: normalizedIndex,
8327
8407
  slideCount,
@@ -8345,7 +8425,7 @@ var SliderRoot = React30.forwardRef(
8345
8425
  registerSlide
8346
8426
  ]
8347
8427
  );
8348
- return /* @__PURE__ */ jsx104(SliderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx104(
8428
+ return /* @__PURE__ */ jsx105(SliderContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx105(
8349
8429
  "div",
8350
8430
  {
8351
8431
  ref,
@@ -8360,12 +8440,12 @@ var SliderRoot = React30.forwardRef(
8360
8440
  SliderRoot.displayName = "SliderRoot";
8361
8441
 
8362
8442
  // src/slider/SliderSlide.tsx
8363
- import * as React31 from "react";
8364
- import { jsx as jsx105 } from "react/jsx-runtime";
8365
- var SliderSlide = React31.forwardRef(({ className, ...props }, ref) => {
8443
+ import * as React32 from "react";
8444
+ import { jsx as jsx106 } from "react/jsx-runtime";
8445
+ var SliderSlide = React32.forwardRef(({ className, ...props }, ref) => {
8366
8446
  const { registerSlide } = useSliderContext("SliderSlide");
8367
- React31.useEffect(() => registerSlide(), [registerSlide]);
8368
- return /* @__PURE__ */ jsx105(
8447
+ React32.useEffect(() => registerSlide(), [registerSlide]);
8448
+ return /* @__PURE__ */ jsx106(
8369
8449
  "div",
8370
8450
  {
8371
8451
  ref,
@@ -8378,11 +8458,11 @@ var SliderSlide = React31.forwardRef(({ className, ...props }, ref) => {
8378
8458
  SliderSlide.displayName = "SliderSlide";
8379
8459
 
8380
8460
  // src/slider/SliderTrack.tsx
8381
- import * as React32 from "react";
8382
- import { jsx as jsx106 } from "react/jsx-runtime";
8383
- var SliderTrack = React32.forwardRef(({ className, style, ...props }, ref) => {
8461
+ import * as React33 from "react";
8462
+ import { jsx as jsx107 } from "react/jsx-runtime";
8463
+ var SliderTrack = React33.forwardRef(({ className, style, ...props }, ref) => {
8384
8464
  const { index } = useSliderContext("SliderTrack");
8385
- return /* @__PURE__ */ jsx106(
8465
+ return /* @__PURE__ */ jsx107(
8386
8466
  "div",
8387
8467
  {
8388
8468
  ref,
@@ -8399,9 +8479,9 @@ var SliderTrack = React32.forwardRef(({ className, style, ...props }, ref) => {
8399
8479
  SliderTrack.displayName = "SliderTrack";
8400
8480
 
8401
8481
  // src/slider/SliderViewport.tsx
8402
- import * as React33 from "react";
8403
- import { jsx as jsx107 } from "react/jsx-runtime";
8404
- var SliderViewport = React33.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx107(
8482
+ import * as React34 from "react";
8483
+ import { jsx as jsx108 } from "react/jsx-runtime";
8484
+ var SliderViewport = React34.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx108(
8405
8485
  "div",
8406
8486
  {
8407
8487
  ref,
@@ -8413,12 +8493,12 @@ var SliderViewport = React33.forwardRef(({ className, ...props }, ref) => /* @__
8413
8493
  SliderViewport.displayName = "SliderViewport";
8414
8494
 
8415
8495
  // src/slider/Slider.tsx
8416
- import { jsx as jsx108, jsxs as jsxs63 } from "react/jsx-runtime";
8496
+ import { jsx as jsx109, jsxs as jsxs64 } from "react/jsx-runtime";
8417
8497
  function Slider({ children, slideCount, ...props }) {
8418
- return /* @__PURE__ */ jsxs63(SliderRoot, { slideCount: slideCount ?? React34.Children.count(children), ...props, children: [
8419
- /* @__PURE__ */ jsx108(SliderViewport, { children: /* @__PURE__ */ jsx108(SliderTrack, { children: React34.Children.map(children, (slide) => /* @__PURE__ */ jsx108(SliderSlide, { children: slide })) }) }),
8420
- /* @__PURE__ */ jsx108(SliderPrevious, {}),
8421
- /* @__PURE__ */ jsx108(SliderNext, {})
8498
+ return /* @__PURE__ */ jsxs64(SliderRoot, { slideCount: slideCount ?? React35.Children.count(children), ...props, children: [
8499
+ /* @__PURE__ */ jsx109(SliderViewport, { children: /* @__PURE__ */ jsx109(SliderTrack, { children: React35.Children.map(children, (slide) => /* @__PURE__ */ jsx109(SliderSlide, { children: slide })) }) }),
8500
+ /* @__PURE__ */ jsx109(SliderPrevious, {}),
8501
+ /* @__PURE__ */ jsx109(SliderNext, {})
8422
8502
  ] });
8423
8503
  }
8424
8504
 
@@ -8426,85 +8506,6 @@ function Slider({ children, slideCount, ...props }) {
8426
8506
  import { memo as memo5 } from "react";
8427
8507
  import { Pencil, Trash2 } from "lucide-react";
8428
8508
  import { useTranslation as useTranslation17 } from "react-i18next";
8429
-
8430
- // src/switch/Switch.tsx
8431
- import * as React35 from "react";
8432
- import * as SwitchPrimitives from "@radix-ui/react-switch";
8433
- import { cva as cva12 } from "class-variance-authority";
8434
- import { jsx as jsx109, jsxs as jsxs64 } from "react/jsx-runtime";
8435
- var switchVariants = cva12(
8436
- [
8437
- "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors",
8438
- "focus-visible:outline-none focus-visible:shadow-[var(--chekin-shadow-focus)]",
8439
- "disabled:cursor-not-allowed disabled:opacity-50 aria-busy:cursor-wait aria-busy:opacity-50",
8440
- "data-[state=checked]:bg-[var(--chekin-color-brand-blue)] data-[state=unchecked]:bg-[var(--chekin-color-gray-2)]"
8441
- ],
8442
- {
8443
- variants: {
8444
- size: {
8445
- default: "h-5 w-10",
8446
- lg: "h-5 w-10",
8447
- sm: "h-4 w-8"
8448
- },
8449
- readOnly: {
8450
- true: "cursor-default opacity-100"
8451
- }
8452
- },
8453
- defaultVariants: {
8454
- size: "default"
8455
- }
8456
- }
8457
- );
8458
- var switchThumbVariants = cva12(
8459
- "pointer-events-none block rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=unchecked]:translate-x-0",
8460
- {
8461
- variants: {
8462
- size: {
8463
- default: "h-4 w-4 data-[state=checked]:translate-x-5",
8464
- lg: "h-4 w-4 data-[state=checked]:translate-x-5",
8465
- sm: "h-3 w-3 data-[state=checked]:translate-x-4"
8466
- }
8467
- },
8468
- defaultVariants: {
8469
- size: "default"
8470
- }
8471
- }
8472
- );
8473
- var Switch = React35.forwardRef(
8474
- ({ className, size, readOnly, loading, onChange, value, id, label, error, ...props }, ref) => {
8475
- const generatedId = React35.useId();
8476
- const fieldId = id || generatedId;
8477
- const switchElement = /* @__PURE__ */ jsx109(
8478
- SwitchPrimitives.Root,
8479
- {
8480
- ref,
8481
- className: cn(switchVariants({ size, readOnly }), className),
8482
- disabled: props.disabled && !readOnly,
8483
- ...props,
8484
- id: fieldId,
8485
- onCheckedChange: readOnly ? void 0 : onChange,
8486
- checked: value,
8487
- value: String(value),
8488
- "aria-busy": loading,
8489
- "aria-readonly": readOnly,
8490
- children: /* @__PURE__ */ jsx109(SwitchPrimitives.Thumb, { className: cn(switchThumbVariants({ size })) })
8491
- }
8492
- );
8493
- if (!label && !error) {
8494
- return switchElement;
8495
- }
8496
- return /* @__PURE__ */ jsxs64("div", { children: [
8497
- /* @__PURE__ */ jsxs64("div", { className: "flex items-center gap-3", children: [
8498
- switchElement,
8499
- label && /* @__PURE__ */ jsx109(Label, { htmlFor: fieldId, className: "cursor-pointer font-medium", children: label })
8500
- ] }),
8501
- error && /* @__PURE__ */ jsx109(ErrorMessage, { disabled: props.disabled, children: error })
8502
- ] });
8503
- }
8504
- );
8505
- Switch.displayName = SwitchPrimitives.Root.displayName;
8506
-
8507
- // src/small-grid-single-item/SmallGridSingleItem.tsx
8508
8509
  import { jsx as jsx110, jsxs as jsxs65 } from "react/jsx-runtime";
8509
8510
  var SmallGridSingleItem = memo5(
8510
8511
  ({
@@ -13934,7 +13935,7 @@ export {
13934
13935
  FormBox,
13935
13936
  Content5 as FormBoxContent,
13936
13937
  Header2 as FormBoxHeader,
13937
- Root9 as FormBoxRoot,
13938
+ Root10 as FormBoxRoot,
13938
13939
  SubHeader as FormBoxSubHeader,
13939
13940
  FramedIcon,
13940
13941
  FreeTextField,