@chekinapp/ui 0.0.46 → 0.0.47

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
@@ -5767,49 +5767,9 @@ function ImageFullScreenView({ src, alt, onClose }) {
5767
5767
  ] });
5768
5768
  }
5769
5769
 
5770
- // src/loader/Loader.tsx
5771
- import { Loader2 as Loader22 } from "lucide-react";
5772
- import { useTranslation as useTranslation15 } from "react-i18next";
5773
- import { jsx as jsx72, jsxs as jsxs45 } from "react/jsx-runtime";
5774
- function Loader({
5775
- size = "md",
5776
- text,
5777
- className = "",
5778
- showText = true,
5779
- variant = "primary"
5780
- }) {
5781
- const { t } = useTranslation15();
5782
- const sizeClasses3 = {
5783
- sm: "h-4 w-4",
5784
- md: "h-8 w-8",
5785
- lg: "h-12 w-12"
5786
- };
5787
- const textSizeClasses = {
5788
- sm: "text-xs",
5789
- md: "text-sm",
5790
- lg: "text-base"
5791
- };
5792
- const variantClasses = {
5793
- primary: "text-[#4f46e5]",
5794
- secondary: "text-[#475569]",
5795
- ghost: "text-[#94a3b8]"
5796
- };
5797
- return /* @__PURE__ */ jsxs45(
5798
- "div",
5799
- {
5800
- className: cn("flex flex-col items-center justify-center gap-2", className),
5801
- role: "progressbar",
5802
- children: [
5803
- /* @__PURE__ */ jsx72("div", { className: cn("animate-spin", sizeClasses3[size], variantClasses[variant]), children: /* @__PURE__ */ jsx72(Loader22, { className: "h-full w-full" }) }),
5804
- showText && /* @__PURE__ */ jsx72("p", { className: cn(textSizeClasses[size], "font-medium text-[#475569]"), children: text || t("loading") })
5805
- ]
5806
- }
5807
- );
5808
- }
5809
-
5810
5770
  // src/metric-card/MetricCard.tsx
5811
5771
  import { CircleQuestionMark as CircleQuestionMark2, TrendingDown, TrendingUp } from "lucide-react";
5812
- import { jsx as jsx73, jsxs as jsxs46 } from "react/jsx-runtime";
5772
+ import { jsx as jsx72, jsxs as jsxs45 } from "react/jsx-runtime";
5813
5773
  var metricCardVariantClasses = {
5814
5774
  blue: "bg-[linear-gradient(122deg,#e6f0ff_36.37%,#f6f9ff_86.4%)] text-[#385cf8] [&_[data-slot=metric-card-icon]]:bg-[#dbeafe]",
5815
5775
  green: "bg-[linear-gradient(122deg,#ddfbf4_36.37%,#f5fefc_86.4%)] text-[#2bc29f] [&_[data-slot=metric-card-icon]]:bg-[#cff9ef]",
@@ -5827,7 +5787,7 @@ function MetricCard({
5827
5787
  loading = false,
5828
5788
  className
5829
5789
  }) {
5830
- return /* @__PURE__ */ jsxs46(
5790
+ return /* @__PURE__ */ jsxs45(
5831
5791
  "div",
5832
5792
  {
5833
5793
  className: cn(
@@ -5837,7 +5797,7 @@ function MetricCard({
5837
5797
  className
5838
5798
  ),
5839
5799
  children: [
5840
- /* @__PURE__ */ jsx73(
5800
+ /* @__PURE__ */ jsx72(
5841
5801
  "div",
5842
5802
  {
5843
5803
  "data-slot": "metric-card-icon",
@@ -5845,22 +5805,22 @@ function MetricCard({
5845
5805
  children: icon
5846
5806
  }
5847
5807
  ),
5848
- /* @__PURE__ */ jsxs46("div", { className: "flex flex-1 flex-col gap-4", children: [
5849
- /* @__PURE__ */ jsxs46("div", { className: "flex items-center gap-1", children: [
5850
- /* @__PURE__ */ jsx73("h4", { className: "whitespace-nowrap text-base font-medium leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
5851
- tooltip && /* @__PURE__ */ jsx73(Tooltip, { side: "right", content: tooltip, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx73(
5808
+ /* @__PURE__ */ jsxs45("div", { className: "flex flex-1 flex-col gap-4", children: [
5809
+ /* @__PURE__ */ jsxs45("div", { className: "flex items-center gap-1", children: [
5810
+ /* @__PURE__ */ jsx72("h4", { className: "whitespace-nowrap text-base font-medium leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
5811
+ tooltip && /* @__PURE__ */ jsx72(Tooltip, { side: "right", content: tooltip, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx72(
5852
5812
  "button",
5853
5813
  {
5854
5814
  type: "button",
5855
5815
  className: "inline-flex text-[var(--chekin-color-gray-1)]",
5856
5816
  "aria-label": tooltip,
5857
- children: /* @__PURE__ */ jsx73(CircleQuestionMark2, { className: "h-4 w-4" })
5817
+ children: /* @__PURE__ */ jsx72(CircleQuestionMark2, { className: "h-4 w-4" })
5858
5818
  }
5859
5819
  ) })
5860
5820
  ] }),
5861
- /* @__PURE__ */ jsxs46("div", { className: "flex items-center justify-between gap-2", children: [
5862
- /* @__PURE__ */ jsx73("div", { className: "text-2xl font-bold leading-6", children: value }),
5863
- !!percentage && /* @__PURE__ */ jsxs46(
5821
+ /* @__PURE__ */ jsxs45("div", { className: "flex items-center justify-between gap-2", children: [
5822
+ /* @__PURE__ */ jsx72("div", { className: "text-2xl font-bold leading-6", children: value }),
5823
+ !!percentage && /* @__PURE__ */ jsxs45(
5864
5824
  "div",
5865
5825
  {
5866
5826
  className: cn(
@@ -5868,7 +5828,7 @@ function MetricCard({
5868
5828
  percentage < 0 && "text-[var(--chekin-color-brand-red)]"
5869
5829
  ),
5870
5830
  children: [
5871
- percentage < 0 ? /* @__PURE__ */ jsx73(TrendingDown, {}) : /* @__PURE__ */ jsx73(TrendingUp, {}),
5831
+ percentage < 0 ? /* @__PURE__ */ jsx72(TrendingDown, {}) : /* @__PURE__ */ jsx72(TrendingUp, {}),
5872
5832
  percentage,
5873
5833
  "%"
5874
5834
  ]
@@ -5893,7 +5853,7 @@ var METRIC_CARD_VARIANTS = {
5893
5853
  // src/modal/Modal.tsx
5894
5854
  import { forwardRef as forwardRef31, useRef as useRef14 } from "react";
5895
5855
  import { X as X5 } from "lucide-react";
5896
- import { jsx as jsx74, jsxs as jsxs47 } from "react/jsx-runtime";
5856
+ import { jsx as jsx73, jsxs as jsxs46 } from "react/jsx-runtime";
5897
5857
  var preventDefault = (event) => {
5898
5858
  event.preventDefault();
5899
5859
  };
@@ -5925,7 +5885,7 @@ function Modal({
5925
5885
  onOpenChange?.(false);
5926
5886
  onClose?.();
5927
5887
  };
5928
- return /* @__PURE__ */ jsx74(Dialog, { open, onOpenChange, modal, children: /* @__PURE__ */ jsxs47(
5888
+ return /* @__PURE__ */ jsx73(Dialog, { open, onOpenChange, modal, children: /* @__PURE__ */ jsxs46(
5929
5889
  DialogContent,
5930
5890
  {
5931
5891
  ref: contentRef,
@@ -5944,7 +5904,7 @@ function Modal({
5944
5904
  lockScroll,
5945
5905
  ...!text && { "aria-describedby": void 0 },
5946
5906
  children: [
5947
- withCloseButton && /* @__PURE__ */ jsx74(
5907
+ withCloseButton && /* @__PURE__ */ jsx73(
5948
5908
  "button",
5949
5909
  {
5950
5910
  type: "button",
@@ -5954,14 +5914,14 @@ function Modal({
5954
5914
  "absolute right-4 top-4 z-10 rounded-full p-1 text-[var(--chekin-color-brand-blue)] hover:bg-[#f4f6f8]"
5955
5915
  ),
5956
5916
  "aria-label": "Close",
5957
- children: /* @__PURE__ */ jsx74(X5, { className: "h-5 w-5" })
5917
+ children: /* @__PURE__ */ jsx73(X5, { className: "h-5 w-5" })
5958
5918
  }
5959
5919
  ),
5960
- (iconSrc || iconProps?.src) && /* @__PURE__ */ jsx74("div", { className: "modal__icon mx-auto mt-4 select-none", children: /* @__PURE__ */ jsx74("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5961
- title ? /* @__PURE__ */ jsx74(DialogTitle, { className: cn("modal__title", "px-6 text-lg font-bold"), children: title }) : /* @__PURE__ */ jsx74(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx74(DialogTitle, { children: "Dialog" }) }),
5962
- text && /* @__PURE__ */ jsx74(DialogDescription, { className: cn("modal__text", "text-base"), children: text }),
5920
+ (iconSrc || iconProps?.src) && /* @__PURE__ */ jsx73("div", { className: "modal__icon mx-auto mt-4 select-none", children: /* @__PURE__ */ jsx73("img", { src: iconSrc, alt: iconAlt ?? "", ...iconProps }) }),
5921
+ title ? /* @__PURE__ */ jsx73(DialogTitle, { className: cn("modal__title", "px-6 text-lg font-bold"), children: title }) : /* @__PURE__ */ jsx73(DialogVisuallyHidden, { children: /* @__PURE__ */ jsx73(DialogTitle, { children: "Dialog" }) }),
5922
+ text && /* @__PURE__ */ jsx73(DialogDescription, { className: cn("modal__text", "text-base"), children: text }),
5963
5923
  children,
5964
- buttons && /* @__PURE__ */ jsx74(
5924
+ buttons && /* @__PURE__ */ jsx73(
5965
5925
  "div",
5966
5926
  {
5967
5927
  className: cn(
@@ -5976,7 +5936,7 @@ function Modal({
5976
5936
  ) });
5977
5937
  }
5978
5938
  var ModalButton = forwardRef31(
5979
- ({ children, size, className, ...props }, ref) => /* @__PURE__ */ jsx74(
5939
+ ({ children, size, className, ...props }, ref) => /* @__PURE__ */ jsx73(
5980
5940
  Button,
5981
5941
  {
5982
5942
  ref,
@@ -5992,6 +5952,105 @@ Modal.displayName = "Modal";
5992
5952
 
5993
5953
  // src/modal-loader/ModalLoader.tsx
5994
5954
  import { memo as memo4 } from "react";
5955
+
5956
+ // src/circular-loader/CircularLoader.tsx
5957
+ import React21 from "react";
5958
+ import { jsx as jsx74, jsxs as jsxs47 } from "react/jsx-runtime";
5959
+ var CircularLoader = React21.memo(
5960
+ ({ visible = true, height, width, position, label, className }) => {
5961
+ if (!visible) return null;
5962
+ return /* @__PURE__ */ jsxs47(
5963
+ "div",
5964
+ {
5965
+ className: cn(
5966
+ "main-loader flex flex-col items-center justify-center gap-2",
5967
+ position === "center" && "h-full",
5968
+ className
5969
+ ),
5970
+ role: "progressbar",
5971
+ children: [
5972
+ /* @__PURE__ */ jsxs47(
5973
+ "svg",
5974
+ {
5975
+ viewBox: "25 25 50 50",
5976
+ className: "main-loader__svg text-[var(--circular-loader-color)]",
5977
+ style: {
5978
+ width: toCssSize(width),
5979
+ height: toCssSize(height)
5980
+ },
5981
+ children: [
5982
+ /* @__PURE__ */ jsx74(
5983
+ "circle",
5984
+ {
5985
+ r: "20",
5986
+ cy: "50",
5987
+ cx: "50",
5988
+ className: "cover fill-none stroke-current opacity-5",
5989
+ strokeWidth: "7"
5990
+ }
5991
+ ),
5992
+ /* @__PURE__ */ jsxs47(
5993
+ "circle",
5994
+ {
5995
+ r: "20",
5996
+ cy: "50",
5997
+ cx: "50",
5998
+ className: "circle fill-none stroke-current",
5999
+ strokeDasharray: "1 200",
6000
+ strokeDashoffset: "0",
6001
+ strokeLinecap: "round",
6002
+ strokeWidth: "7",
6003
+ children: [
6004
+ /* @__PURE__ */ jsx74(
6005
+ "animateTransform",
6006
+ {
6007
+ attributeName: "transform",
6008
+ dur: "2.25s",
6009
+ from: "0 50 50",
6010
+ repeatCount: "indefinite",
6011
+ to: "360 50 50",
6012
+ type: "rotate"
6013
+ }
6014
+ ),
6015
+ /* @__PURE__ */ jsx74(
6016
+ "animate",
6017
+ {
6018
+ attributeName: "stroke-dasharray",
6019
+ calcMode: "spline",
6020
+ dur: "1.8s",
6021
+ keyTimes: "0;0.5;1",
6022
+ keySplines: "0.42 0 0.58 1;0.42 0 0.58 1",
6023
+ repeatCount: "indefinite",
6024
+ values: "1 200;90 200;90 200"
6025
+ }
6026
+ ),
6027
+ /* @__PURE__ */ jsx74(
6028
+ "animate",
6029
+ {
6030
+ attributeName: "stroke-dashoffset",
6031
+ calcMode: "spline",
6032
+ dur: "1.8s",
6033
+ keyTimes: "0;0.5;1",
6034
+ keySplines: "0.42 0 0.58 1;0.42 0 0.58 1",
6035
+ repeatCount: "indefinite",
6036
+ values: "0;-35;-125"
6037
+ }
6038
+ )
6039
+ ]
6040
+ }
6041
+ )
6042
+ ]
6043
+ }
6044
+ ),
6045
+ label && /* @__PURE__ */ jsx74("div", { className: "text-sm font-medium text-chekin-gray-1", children: label })
6046
+ ]
6047
+ }
6048
+ );
6049
+ }
6050
+ );
6051
+ CircularLoader.displayName = "CircularLoader";
6052
+
6053
+ // src/modal-loader/ModalLoader.tsx
5995
6054
  import { jsx as jsx75 } from "react/jsx-runtime";
5996
6055
  var ModalLoader = memo4(({ visible, className }) => /* @__PURE__ */ jsx75(
5997
6056
  "div",
@@ -6001,23 +6060,29 @@ var ModalLoader = memo4(({ visible, className }) => /* @__PURE__ */ jsx75(
6001
6060
  visible ? "flex" : "hidden",
6002
6061
  className
6003
6062
  ),
6004
- children: /* @__PURE__ */ jsx75("div", { className: "mb-[60px]", children: /* @__PURE__ */ jsx75(Loader, { size: "lg", showText: false, variant: "secondary" }) })
6063
+ children: /* @__PURE__ */ jsx75("div", { className: "mb-[60px]", children: /* @__PURE__ */ jsx75(
6064
+ CircularLoader,
6065
+ {
6066
+ width: 48,
6067
+ height: 48,
6068
+ className: "[--circular-loader-color:#475569]"
6069
+ }
6070
+ ) })
6005
6071
  }
6006
6072
  ));
6007
6073
  ModalLoader.displayName = "ModalLoader";
6008
6074
 
6009
6075
  // src/overlay-loader/OverlayLoader.tsx
6076
+ import { useTranslation as useTranslation15 } from "react-i18next";
6010
6077
  import { jsx as jsx76, jsxs as jsxs48 } from "react/jsx-runtime";
6011
6078
  function OverlayLoader({
6012
6079
  isLoading,
6013
6080
  children,
6014
- loaderSize = "md",
6015
- loaderText,
6016
- showText = true,
6017
- loaderVariant = "primary",
6081
+ label,
6018
6082
  className = "",
6019
6083
  overlayClassName = ""
6020
6084
  }) {
6085
+ const { t } = useTranslation15();
6021
6086
  return /* @__PURE__ */ jsxs48("div", { className: cn("relative", className), children: [
6022
6087
  children,
6023
6088
  isLoading && /* @__PURE__ */ jsx76(
@@ -6027,15 +6092,7 @@ function OverlayLoader({
6027
6092
  "absolute inset-0 flex items-center justify-center bg-[rgb(255_255_255_/_0.6)]",
6028
6093
  overlayClassName
6029
6094
  ),
6030
- children: /* @__PURE__ */ jsx76(
6031
- Loader,
6032
- {
6033
- size: loaderSize,
6034
- text: loaderText,
6035
- showText,
6036
- variant: loaderVariant
6037
- }
6038
- )
6095
+ children: /* @__PURE__ */ jsx76(CircularLoader, { width: 48, height: 48, label: label || t("loading") })
6039
6096
  }
6040
6097
  )
6041
6098
  ] });
@@ -6044,14 +6101,14 @@ function OverlayLoader({
6044
6101
  // src/page-loader/PageLoader.tsx
6045
6102
  import { useTranslation as useTranslation16 } from "react-i18next";
6046
6103
  import { jsx as jsx77, jsxs as jsxs49 } from "react/jsx-runtime";
6047
- function PageLoader({ className, description, ...props }) {
6104
+ function PageLoader({ className, description, label }) {
6048
6105
  const { t } = useTranslation16();
6049
6106
  return /* @__PURE__ */ jsx77(
6050
6107
  "div",
6051
6108
  {
6052
6109
  className: cn("flex min-h-[300px] flex-col items-center justify-center", className),
6053
6110
  children: /* @__PURE__ */ jsxs49("div", { className: "flex flex-col items-center rounded-lg border border-[var(--chekin-color-gray-3)] bg-[rgb(255_255_255_/_0.8)] p-8 shadow-sm backdrop-blur-sm", children: [
6054
- /* @__PURE__ */ jsx77(Loader, { size: "lg", ...props, variant: "primary" }),
6111
+ /* @__PURE__ */ jsx77(CircularLoader, { width: 48, height: 48, label: label || t("loading") }),
6055
6112
  /* @__PURE__ */ jsx77("p", { className: "mt-4 max-w-xs text-center text-sm text-[var(--chekin-color-gray-1)]", children: description || t("loading_data_description") })
6056
6113
  ] })
6057
6114
  }
@@ -6066,7 +6123,7 @@ import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight4, ChevronsLef
6066
6123
  import { forwardRef as forwardRef33, useId as useId5, useState as useState19 } from "react";
6067
6124
 
6068
6125
  // src/select/components.tsx
6069
- import * as React21 from "react";
6126
+ import * as React22 from "react";
6070
6127
  import * as SelectPrimitive from "@radix-ui/react-select";
6071
6128
  import { CheckIcon as CheckIcon2, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
6072
6129
  import { jsx as jsx78, jsxs as jsxs50 } from "react/jsx-runtime";
@@ -6078,7 +6135,7 @@ var selectSizeClassNames = {
6078
6135
  sm: "text-sm",
6079
6136
  md: "text-base"
6080
6137
  };
6081
- var SelectTrigger = React21.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs50(
6138
+ var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs50(
6082
6139
  SelectPrimitive.Trigger,
6083
6140
  {
6084
6141
  ref,
@@ -6105,7 +6162,7 @@ var SelectTrigger = React21.forwardRef(({ className, children, size = "sm", ...p
6105
6162
  }
6106
6163
  ));
6107
6164
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
6108
- var SelectScrollUpButton = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6165
+ var SelectScrollUpButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6109
6166
  SelectPrimitive.ScrollUpButton,
6110
6167
  {
6111
6168
  ref,
@@ -6115,7 +6172,7 @@ var SelectScrollUpButton = React21.forwardRef(({ className, ...props }, ref) =>
6115
6172
  }
6116
6173
  ));
6117
6174
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
6118
- var SelectScrollDownButton = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6175
+ var SelectScrollDownButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6119
6176
  SelectPrimitive.ScrollDownButton,
6120
6177
  {
6121
6178
  ref,
@@ -6125,7 +6182,7 @@ var SelectScrollDownButton = React21.forwardRef(({ className, ...props }, ref) =
6125
6182
  }
6126
6183
  ));
6127
6184
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
6128
- var SelectContent = React21.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx78(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs50(
6185
+ var SelectContent = React22.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx78(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs50(
6129
6186
  SelectPrimitive.Content,
6130
6187
  {
6131
6188
  ref,
@@ -6159,7 +6216,7 @@ var SelectContent = React21.forwardRef(({ className, children, position = "poppe
6159
6216
  }
6160
6217
  ) }));
6161
6218
  SelectContent.displayName = SelectPrimitive.Content.displayName;
6162
- var SelectLabel = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6219
+ var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6163
6220
  SelectPrimitive.Label,
6164
6221
  {
6165
6222
  ref,
@@ -6171,7 +6228,7 @@ var SelectLabel = React21.forwardRef(({ className, ...props }, ref) => /* @__PUR
6171
6228
  }
6172
6229
  ));
6173
6230
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
6174
- var SelectItem = React21.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs50(
6231
+ var SelectItem = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs50(
6175
6232
  SelectPrimitive.Item,
6176
6233
  {
6177
6234
  ref,
@@ -6191,7 +6248,7 @@ var SelectItem = React21.forwardRef(({ className, children, size = "sm", ...prop
6191
6248
  }
6192
6249
  ));
6193
6250
  SelectItem.displayName = SelectPrimitive.Item.displayName;
6194
- var SelectSeparator = React21.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6251
+ var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6195
6252
  SelectPrimitive.Separator,
6196
6253
  {
6197
6254
  ref,
@@ -6601,7 +6658,7 @@ function Pagination({
6601
6658
  }
6602
6659
 
6603
6660
  // src/popover/Popover.tsx
6604
- import * as React22 from "react";
6661
+ import * as React23 from "react";
6605
6662
  import * as RadixPopover from "@radix-ui/react-popover";
6606
6663
  import { jsx as jsx83 } from "react/jsx-runtime";
6607
6664
  var Popover = RadixPopover.Root;
@@ -6609,7 +6666,7 @@ var PopoverTrigger = RadixPopover.Trigger;
6609
6666
  var PopoverAnchor = RadixPopover.Anchor;
6610
6667
  var PopoverPortal = RadixPopover.Portal;
6611
6668
  var PopoverClose = RadixPopover.Close;
6612
- var PopoverContent = React22.forwardRef(({ className, sideOffset = 4, align = "center", ...props }, ref) => /* @__PURE__ */ jsx83(RadixPopover.Portal, { children: /* @__PURE__ */ jsx83(
6669
+ var PopoverContent = React23.forwardRef(({ className, sideOffset = 4, align = "center", ...props }, ref) => /* @__PURE__ */ jsx83(RadixPopover.Portal, { children: /* @__PURE__ */ jsx83(
6613
6670
  RadixPopover.Content,
6614
6671
  {
6615
6672
  ref,
@@ -6699,11 +6756,11 @@ function PopoverWithTooltip({
6699
6756
  import { forwardRef as forwardRef37 } from "react";
6700
6757
 
6701
6758
  // src/radio-group/RadioGroup.tsx
6702
- import * as React23 from "react";
6759
+ import * as React24 from "react";
6703
6760
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
6704
6761
  import { Circle as Circle2 } from "lucide-react";
6705
6762
  import { jsx as jsx85 } from "react/jsx-runtime";
6706
- var RadioGroup2 = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
6763
+ var RadioGroup2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
6707
6764
  RadioGroupPrimitive.Root,
6708
6765
  {
6709
6766
  ref,
@@ -6712,7 +6769,7 @@ var RadioGroup2 = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
6712
6769
  }
6713
6770
  ));
6714
6771
  RadioGroup2.displayName = RadioGroupPrimitive.Root.displayName;
6715
- var RadioGroupItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
6772
+ var RadioGroupItem = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
6716
6773
  RadioGroupPrimitive.Item,
6717
6774
  {
6718
6775
  ref,
@@ -6933,7 +6990,7 @@ function RatingRadioGroup({
6933
6990
  }
6934
6991
 
6935
6992
  // src/rating-stars/RatingStars.tsx
6936
- import * as React24 from "react";
6993
+ import * as React25 from "react";
6937
6994
  import { Star as Star2 } from "lucide-react";
6938
6995
  import { useTranslation as useTranslation18 } from "react-i18next";
6939
6996
  import { jsx as jsx90, jsxs as jsxs60 } from "react/jsx-runtime";
@@ -6953,7 +7010,7 @@ function RatingStars({
6953
7010
  const { t } = useTranslation18();
6954
7011
  const normalizedRating = Math.max(0, Math.min(maxRating, rating));
6955
7012
  const stars = Array.from({ length: maxRating }, (_, index) => index + 1);
6956
- const componentId = React24.useId();
7013
+ const componentId = React25.useId();
6957
7014
  const decimal = normalizedRating - Math.floor(normalizedRating);
6958
7015
  const partialStarIndex = decimal > 0 ? Math.ceil(normalizedRating) : -1;
6959
7016
  const gradientId = `star-gradient-${componentId.replace(/:/g, "")}`;
@@ -7034,7 +7091,7 @@ function SearchButton({ onClick, className, icon, ariaLabel }) {
7034
7091
  }
7035
7092
 
7036
7093
  // src/search-input/SearchInput.tsx
7037
- import { Loader2 as Loader23, Search as Search2, X as X6 } from "lucide-react";
7094
+ import { Loader2 as Loader22, Search as Search2, X as X6 } from "lucide-react";
7038
7095
  import { useTranslation as useTranslation19 } from "react-i18next";
7039
7096
  import { jsx as jsx93, jsxs as jsxs61 } from "react/jsx-runtime";
7040
7097
  function SearchInput({
@@ -7083,7 +7140,7 @@ function SearchInput({
7083
7140
  ),
7084
7141
  (loading || onReset) && /* @__PURE__ */ jsxs61("div", { className: "absolute right-2 top-1/2 flex -translate-y-1/2 items-center gap-1", children: [
7085
7142
  loading && /* @__PURE__ */ jsx93(
7086
- Loader23,
7143
+ Loader22,
7087
7144
  {
7088
7145
  "aria-hidden": "true",
7089
7146
  className: "h-5 w-5 animate-spin text-[var(--chekin-color-gray-2)]"
@@ -7138,6 +7195,7 @@ var SectionTagColors = /* @__PURE__ */ ((SectionTagColors2) => {
7138
7195
  // src/section/Section.tsx
7139
7196
  import { forwardRef as forwardRef38 } from "react";
7140
7197
  import { CircleHelp } from "lucide-react";
7198
+ import { useTranslation as useTranslation20 } from "react-i18next";
7141
7199
 
7142
7200
  // src/section/constants.ts
7143
7201
  var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
@@ -7174,42 +7232,53 @@ var Section = forwardRef38(
7174
7232
  linkContent,
7175
7233
  hidden,
7176
7234
  size
7177
- }, ref) => /* @__PURE__ */ jsxs62(
7178
- "div",
7179
- {
7180
- ref,
7181
- className: cn(
7182
- "mb-6 box-border flex w-full cursor-default flex-col gap-6 rounded-lg border border-solid border-[var(--chekin-color-gray-3)] bg-white px-6 py-10",
7183
- loading && "cursor-progress",
7184
- disabled && "pointer-events-none opacity-50",
7185
- { "!hidden": hidden },
7186
- className
7187
- ),
7188
- children: [
7189
- (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: "flex flex-col gap-2", children: [
7190
- title && /* @__PURE__ */ jsxs62(
7191
- "div",
7235
+ }, ref) => {
7236
+ const { t } = useTranslation20();
7237
+ return /* @__PURE__ */ jsxs62(
7238
+ "div",
7239
+ {
7240
+ ref,
7241
+ className: cn(
7242
+ "mb-6 box-border flex w-full cursor-default flex-col gap-6 rounded-lg border border-solid border-[var(--chekin-color-gray-3)] bg-white px-6 py-10",
7243
+ loading && "cursor-progress",
7244
+ disabled && "pointer-events-none opacity-50",
7245
+ { "!hidden": hidden },
7246
+ className
7247
+ ),
7248
+ children: [
7249
+ (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: "flex flex-col gap-2", children: [
7250
+ title && /* @__PURE__ */ jsxs62(
7251
+ "div",
7252
+ {
7253
+ className: cn(
7254
+ "flex max-w-[85%] items-center text-lg font-bold text-[var(--chekin-color-brand-navy)] md:max-w-full",
7255
+ size !== 0 /* L */ && "subsection-title"
7256
+ ),
7257
+ children: [
7258
+ title,
7259
+ titleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7260
+ 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 })
7261
+ ]
7262
+ }
7263
+ ),
7264
+ subtitle && /* @__PURE__ */ jsxs62("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7265
+ /* @__PURE__ */ jsx95("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7266
+ subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
7267
+ ] })
7268
+ ] }),
7269
+ loading && showLoader ? /* @__PURE__ */ jsx95(
7270
+ CircularLoader,
7192
7271
  {
7193
- className: cn(
7194
- "flex max-w-[85%] items-center text-lg font-bold text-[var(--chekin-color-brand-navy)] md:max-w-full",
7195
- size !== 0 /* L */ && "subsection-title"
7196
- ),
7197
- children: [
7198
- title,
7199
- titleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7200
- 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 })
7201
- ]
7272
+ width: 32,
7273
+ height: 32,
7274
+ label: t("loading"),
7275
+ className: "mx-auto mb-3 mt-2.5"
7202
7276
  }
7203
- ),
7204
- subtitle && /* @__PURE__ */ jsxs62("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7205
- /* @__PURE__ */ jsx95("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7206
- subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
7207
- ] })
7208
- ] }),
7209
- loading && showLoader ? /* @__PURE__ */ jsx95(Loader, { className: "mx-auto mb-3 mt-2.5" }) : children
7210
- ]
7211
- }
7212
- )
7277
+ ) : children
7278
+ ]
7279
+ }
7280
+ );
7281
+ }
7213
7282
  );
7214
7283
  Section.displayName = "Section";
7215
7284
  var SubSection = forwardRef38(
@@ -7542,7 +7611,7 @@ function SheetDescription({
7542
7611
  }
7543
7612
 
7544
7613
  // src/sidebar/Sidebar.tsx
7545
- import * as React25 from "react";
7614
+ import * as React26 from "react";
7546
7615
  import { Slot as Slot4 } from "@radix-ui/react-slot";
7547
7616
  import { cva as cva11 } from "class-variance-authority";
7548
7617
  import { ArrowLeftFromLineIcon, ArrowRightFromLineIcon } from "lucide-react";
@@ -7635,7 +7704,7 @@ var SIDEBAR_COOKIE_NAME_DEFAULT = "sidebar_state";
7635
7704
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
7636
7705
  var SIDEBAR_WIDTH_MOBILE = "18rem";
7637
7706
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
7638
- var SidebarProvider = React25.forwardRef(
7707
+ var SidebarProvider = React26.forwardRef(
7639
7708
  ({
7640
7709
  defaultOpen = true,
7641
7710
  open: openProp,
@@ -7647,10 +7716,10 @@ var SidebarProvider = React25.forwardRef(
7647
7716
  ...props
7648
7717
  }, ref) => {
7649
7718
  const isMobile = useIsMobile({ breakpoint: 641 });
7650
- const [openMobile, setOpenMobile] = React25.useState(false);
7651
- const [_open, _setOpen] = React25.useState(defaultOpen);
7719
+ const [openMobile, setOpenMobile] = React26.useState(false);
7720
+ const [_open, _setOpen] = React26.useState(defaultOpen);
7652
7721
  const open = openProp ?? _open;
7653
- const setOpen = React25.useCallback(
7722
+ const setOpen = React26.useCallback(
7654
7723
  (value) => {
7655
7724
  const openState = typeof value === "function" ? value(open) : value;
7656
7725
  if (setOpenProp) {
@@ -7662,10 +7731,10 @@ var SidebarProvider = React25.forwardRef(
7662
7731
  },
7663
7732
  [setOpenProp, open, stateName]
7664
7733
  );
7665
- const toggleSidebar = React25.useCallback(() => {
7734
+ const toggleSidebar = React26.useCallback(() => {
7666
7735
  return isMobile ? setOpenMobile((value) => !value) : setOpen((value) => !value);
7667
7736
  }, [isMobile, setOpen]);
7668
- React25.useEffect(() => {
7737
+ React26.useEffect(() => {
7669
7738
  const handleKeyDown = (event) => {
7670
7739
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
7671
7740
  event.preventDefault();
@@ -7676,7 +7745,7 @@ var SidebarProvider = React25.forwardRef(
7676
7745
  return () => window.removeEventListener("keydown", handleKeyDown);
7677
7746
  }, [toggleSidebar]);
7678
7747
  const state = open ? "expanded" : "collapsed";
7679
- const contextValue = React25.useMemo(
7748
+ const contextValue = React26.useMemo(
7680
7749
  () => ({
7681
7750
  state,
7682
7751
  open,
@@ -7701,7 +7770,7 @@ var SidebarProvider = React25.forwardRef(
7701
7770
  }
7702
7771
  );
7703
7772
  SidebarProvider.displayName = "SidebarProvider";
7704
- var Sidebar = React25.forwardRef(
7773
+ var Sidebar = React26.forwardRef(
7705
7774
  ({
7706
7775
  side = "left",
7707
7776
  variant = "sidebar",
@@ -7795,7 +7864,7 @@ var Sidebar = React25.forwardRef(
7795
7864
  }
7796
7865
  );
7797
7866
  Sidebar.displayName = "Sidebar";
7798
- var SidebarTrigger = React25.forwardRef(({ className, onClick, icon, ...props }, ref) => {
7867
+ var SidebarTrigger = React26.forwardRef(({ className, onClick, icon, ...props }, ref) => {
7799
7868
  const { toggleSidebar, open, isMobile, openMobile } = useSidebar();
7800
7869
  return /* @__PURE__ */ jsxs66(
7801
7870
  Button,
@@ -7822,7 +7891,7 @@ var SidebarTrigger = React25.forwardRef(({ className, onClick, icon, ...props },
7822
7891
  );
7823
7892
  });
7824
7893
  SidebarTrigger.displayName = "SidebarTrigger";
7825
- var SidebarRail = React25.forwardRef(
7894
+ var SidebarRail = React26.forwardRef(
7826
7895
  ({ className, ...props }, ref) => {
7827
7896
  const { toggleSidebar } = useSidebar();
7828
7897
  return /* @__PURE__ */ jsx102(
@@ -7848,7 +7917,7 @@ var SidebarRail = React25.forwardRef(
7848
7917
  }
7849
7918
  );
7850
7919
  SidebarRail.displayName = "SidebarRail";
7851
- var SidebarInset = React25.forwardRef(
7920
+ var SidebarInset = React26.forwardRef(
7852
7921
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7853
7922
  "main",
7854
7923
  {
@@ -7863,7 +7932,7 @@ var SidebarInset = React25.forwardRef(
7863
7932
  )
7864
7933
  );
7865
7934
  SidebarInset.displayName = "SidebarInset";
7866
- var SidebarInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7935
+ var SidebarInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7867
7936
  Input,
7868
7937
  {
7869
7938
  ref,
@@ -7873,7 +7942,7 @@ var SidebarInput = React25.forwardRef(({ className, ...props }, ref) => /* @__PU
7873
7942
  }
7874
7943
  ));
7875
7944
  SidebarInput.displayName = "SidebarInput";
7876
- var SidebarHeader = React25.forwardRef(
7945
+ var SidebarHeader = React26.forwardRef(
7877
7946
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7878
7947
  "div",
7879
7948
  {
@@ -7885,7 +7954,7 @@ var SidebarHeader = React25.forwardRef(
7885
7954
  )
7886
7955
  );
7887
7956
  SidebarHeader.displayName = "SidebarHeader";
7888
- var SidebarFooter = React25.forwardRef(
7957
+ var SidebarFooter = React26.forwardRef(
7889
7958
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7890
7959
  "div",
7891
7960
  {
@@ -7897,7 +7966,7 @@ var SidebarFooter = React25.forwardRef(
7897
7966
  )
7898
7967
  );
7899
7968
  SidebarFooter.displayName = "SidebarFooter";
7900
- var SidebarSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7969
+ var SidebarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7901
7970
  Separator3,
7902
7971
  {
7903
7972
  ref,
@@ -7907,7 +7976,7 @@ var SidebarSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @
7907
7976
  }
7908
7977
  ));
7909
7978
  SidebarSeparator.displayName = "SidebarSeparator";
7910
- var SidebarContent = React25.forwardRef(
7979
+ var SidebarContent = React26.forwardRef(
7911
7980
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7912
7981
  "div",
7913
7982
  {
@@ -7922,7 +7991,7 @@ var SidebarContent = React25.forwardRef(
7922
7991
  )
7923
7992
  );
7924
7993
  SidebarContent.displayName = "SidebarContent";
7925
- var SidebarGroup = React25.forwardRef(
7994
+ var SidebarGroup = React26.forwardRef(
7926
7995
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7927
7996
  "div",
7928
7997
  {
@@ -7934,7 +8003,7 @@ var SidebarGroup = React25.forwardRef(
7934
8003
  )
7935
8004
  );
7936
8005
  SidebarGroup.displayName = "SidebarGroup";
7937
- var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
8006
+ var SidebarGroupLabel = React26.forwardRef(({ className, asChild = false, ...props }, ref) => {
7938
8007
  const Comp = asChild ? Slot4 : "div";
7939
8008
  return /* @__PURE__ */ jsx102(
7940
8009
  Comp,
@@ -7951,7 +8020,7 @@ var SidebarGroupLabel = React25.forwardRef(({ className, asChild = false, ...pro
7951
8020
  );
7952
8021
  });
7953
8022
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
7954
- var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...props }, ref) => {
8023
+ var SidebarGroupAction = React26.forwardRef(({ className, asChild = false, ...props }, ref) => {
7955
8024
  const Comp = asChild ? Slot4 : "button";
7956
8025
  return /* @__PURE__ */ jsx102(
7957
8026
  Comp,
@@ -7967,7 +8036,7 @@ var SidebarGroupAction = React25.forwardRef(({ className, asChild = false, ...pr
7967
8036
  );
7968
8037
  });
7969
8038
  SidebarGroupAction.displayName = "SidebarGroupAction";
7970
- var SidebarGroupContent = React25.forwardRef(
8039
+ var SidebarGroupContent = React26.forwardRef(
7971
8040
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7972
8041
  "div",
7973
8042
  {
@@ -7979,7 +8048,7 @@ var SidebarGroupContent = React25.forwardRef(
7979
8048
  )
7980
8049
  );
7981
8050
  SidebarGroupContent.displayName = "SidebarGroupContent";
7982
- var SidebarMenu = React25.forwardRef(
8051
+ var SidebarMenu = React26.forwardRef(
7983
8052
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7984
8053
  "ul",
7985
8054
  {
@@ -7991,7 +8060,7 @@ var SidebarMenu = React25.forwardRef(
7991
8060
  )
7992
8061
  );
7993
8062
  SidebarMenu.displayName = "SidebarMenu";
7994
- var SidebarMenuItem = React25.forwardRef(
8063
+ var SidebarMenuItem = React26.forwardRef(
7995
8064
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7996
8065
  "li",
7997
8066
  {
@@ -8023,7 +8092,7 @@ var sidebarMenuButtonVariants = cva11(
8023
8092
  }
8024
8093
  }
8025
8094
  );
8026
- var SidebarMenuButton = React25.forwardRef(
8095
+ var SidebarMenuButton = React26.forwardRef(
8027
8096
  ({
8028
8097
  asChild = false,
8029
8098
  isActive = false,
@@ -8069,7 +8138,7 @@ var SidebarMenuButton = React25.forwardRef(
8069
8138
  }
8070
8139
  );
8071
8140
  SidebarMenuButton.displayName = "SidebarMenuButton";
8072
- var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
8141
+ var SidebarMenuAction = React26.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
8073
8142
  const Comp = asChild ? Slot4 : "button";
8074
8143
  return /* @__PURE__ */ jsx102(
8075
8144
  Comp,
@@ -8086,7 +8155,7 @@ var SidebarMenuAction = React25.forwardRef(({ className, asChild = false, showOn
8086
8155
  );
8087
8156
  });
8088
8157
  SidebarMenuAction.displayName = "SidebarMenuAction";
8089
- var SidebarMenuBadge = React25.forwardRef(
8158
+ var SidebarMenuBadge = React26.forwardRef(
8090
8159
  ({ className, ...props }, ref) => {
8091
8160
  const { open, isMobile, openMobile } = useSidebar();
8092
8161
  const isOpen = isMobile ? openMobile : open;
@@ -8106,8 +8175,8 @@ var SidebarMenuBadge = React25.forwardRef(
8106
8175
  }
8107
8176
  );
8108
8177
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
8109
- var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...props }, ref) => {
8110
- const width = React25.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
8178
+ var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...props }, ref) => {
8179
+ const width = React26.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
8111
8180
  return /* @__PURE__ */ jsxs66(
8112
8181
  "div",
8113
8182
  {
@@ -8130,7 +8199,7 @@ var SidebarMenuSkeleton = React25.forwardRef(({ className, showIcon = false, ...
8130
8199
  );
8131
8200
  });
8132
8201
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
8133
- var SidebarMenuSub = React25.forwardRef(
8202
+ var SidebarMenuSub = React26.forwardRef(
8134
8203
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8135
8204
  "ul",
8136
8205
  {
@@ -8145,7 +8214,7 @@ var SidebarMenuSub = React25.forwardRef(
8145
8214
  )
8146
8215
  );
8147
8216
  SidebarMenuSub.displayName = "SidebarMenuSub";
8148
- var SidebarMenuSubItem = React25.forwardRef(
8217
+ var SidebarMenuSubItem = React26.forwardRef(
8149
8218
  ({ ...props }, ref) => /* @__PURE__ */ jsx102("li", { ref, ...props })
8150
8219
  );
8151
8220
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
@@ -8169,7 +8238,7 @@ var sidebarMenuSubButtonVariants = cva11(
8169
8238
  }
8170
8239
  }
8171
8240
  );
8172
- var SidebarMenuSubButton = React25.forwardRef(
8241
+ var SidebarMenuSubButton = React26.forwardRef(
8173
8242
  ({
8174
8243
  asChild = false,
8175
8244
  isActive,
@@ -8198,107 +8267,10 @@ SidebarMenuSubButton.displayName = "SidebarMenuSubButton";
8198
8267
  var VALUE_PART = 1;
8199
8268
  var getSidebarState = (stateName) => document.cookie.split("; ").find((row) => row.startsWith(`${stateName}=`))?.split("=")[VALUE_PART] === "true";
8200
8269
 
8201
- // src/circular-loader/CircularLoader.tsx
8202
- import React26 from "react";
8203
- import { jsx as jsx103, jsxs as jsxs67 } from "react/jsx-runtime";
8204
- var CircularLoader = React26.memo(
8205
- ({ visible = true, height, width, position, label, className }) => {
8206
- if (!visible) return null;
8207
- return /* @__PURE__ */ jsxs67(
8208
- "div",
8209
- {
8210
- className: cn(
8211
- "main-loader flex flex-col items-center justify-center gap-2",
8212
- position === "center" && "h-full",
8213
- className
8214
- ),
8215
- role: "progressbar",
8216
- children: [
8217
- /* @__PURE__ */ jsxs67(
8218
- "svg",
8219
- {
8220
- viewBox: "25 25 50 50",
8221
- className: "main-loader__svg text-[var(--circular-loader-color)]",
8222
- style: {
8223
- width: toCssSize(width),
8224
- height: toCssSize(height)
8225
- },
8226
- children: [
8227
- /* @__PURE__ */ jsx103(
8228
- "circle",
8229
- {
8230
- r: "20",
8231
- cy: "50",
8232
- cx: "50",
8233
- className: "cover fill-none stroke-current opacity-5",
8234
- strokeWidth: "7"
8235
- }
8236
- ),
8237
- /* @__PURE__ */ jsxs67(
8238
- "circle",
8239
- {
8240
- r: "20",
8241
- cy: "50",
8242
- cx: "50",
8243
- className: "circle fill-none stroke-current",
8244
- strokeDasharray: "1 200",
8245
- strokeDashoffset: "0",
8246
- strokeLinecap: "round",
8247
- strokeWidth: "7",
8248
- children: [
8249
- /* @__PURE__ */ jsx103(
8250
- "animateTransform",
8251
- {
8252
- attributeName: "transform",
8253
- dur: "2.25s",
8254
- from: "0 50 50",
8255
- repeatCount: "indefinite",
8256
- to: "360 50 50",
8257
- type: "rotate"
8258
- }
8259
- ),
8260
- /* @__PURE__ */ jsx103(
8261
- "animate",
8262
- {
8263
- attributeName: "stroke-dasharray",
8264
- calcMode: "spline",
8265
- dur: "1.8s",
8266
- keyTimes: "0;0.5;1",
8267
- keySplines: "0.42 0 0.58 1;0.42 0 0.58 1",
8268
- repeatCount: "indefinite",
8269
- values: "1 200;90 200;90 200"
8270
- }
8271
- ),
8272
- /* @__PURE__ */ jsx103(
8273
- "animate",
8274
- {
8275
- attributeName: "stroke-dashoffset",
8276
- calcMode: "spline",
8277
- dur: "1.8s",
8278
- keyTimes: "0;0.5;1",
8279
- keySplines: "0.42 0 0.58 1;0.42 0 0.58 1",
8280
- repeatCount: "indefinite",
8281
- values: "0;-35;-125"
8282
- }
8283
- )
8284
- ]
8285
- }
8286
- )
8287
- ]
8288
- }
8289
- ),
8290
- label && /* @__PURE__ */ jsx103("div", { className: "text-sm font-medium text-chekin-gray-1", children: label })
8291
- ]
8292
- }
8293
- );
8294
- }
8295
- );
8296
- CircularLoader.displayName = "CircularLoader";
8297
-
8298
8270
  // src/small-grid-single-item/SmallGridSingleItem.tsx
8299
8271
  import { memo as memo5 } from "react";
8300
8272
  import { Pencil, Trash2 } from "lucide-react";
8301
- import { jsx as jsx104, jsxs as jsxs68 } from "react/jsx-runtime";
8273
+ import { jsx as jsx103, jsxs as jsxs67 } from "react/jsx-runtime";
8302
8274
  var SmallGridSingleItem = memo5(
8303
8275
  ({
8304
8276
  title,
@@ -8314,7 +8286,7 @@ var SmallGridSingleItem = memo5(
8314
8286
  const handleClick = (event) => {
8315
8287
  if (!disabled && onClick) onClick(event);
8316
8288
  };
8317
- return /* @__PURE__ */ jsxs68(
8289
+ return /* @__PURE__ */ jsxs67(
8318
8290
  "div",
8319
8291
  {
8320
8292
  onClick: handleClick,
@@ -8328,24 +8300,24 @@ var SmallGridSingleItem = memo5(
8328
8300
  className
8329
8301
  ),
8330
8302
  children: [
8331
- /* @__PURE__ */ jsxs68("div", { children: [
8332
- /* @__PURE__ */ jsx104("div", { className: "line-clamp-2 overflow-hidden text-ellipsis break-all", children: title }),
8333
- subtitle && /* @__PURE__ */ jsx104("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-[var(--chekin-color-gray-2)]", children: subtitle })
8303
+ /* @__PURE__ */ jsxs67("div", { children: [
8304
+ /* @__PURE__ */ jsx103("div", { className: "line-clamp-2 overflow-hidden text-ellipsis break-all", children: title }),
8305
+ subtitle && /* @__PURE__ */ jsx103("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-[var(--chekin-color-gray-2)]", children: subtitle })
8334
8306
  ] }),
8335
- !readOnly && /* @__PURE__ */ jsxs68("div", { className: "flex h-full items-center justify-end gap-2", children: [
8336
- onDelete && /* @__PURE__ */ jsx104(
8307
+ !readOnly && /* @__PURE__ */ jsxs67("div", { className: "flex h-full items-center justify-end gap-2", children: [
8308
+ onDelete && /* @__PURE__ */ jsx103(
8337
8309
  Button,
8338
8310
  {
8339
8311
  disabled,
8340
8312
  onClick: onDelete,
8341
8313
  size: "icon",
8342
8314
  variant: "outline",
8343
- children: /* @__PURE__ */ jsx104(Trash2, { className: "h-5 w-5 text-[var(--chekin-color-brand-red)]" })
8315
+ children: /* @__PURE__ */ jsx103(Trash2, { className: "h-5 w-5 text-[var(--chekin-color-brand-red)]" })
8344
8316
  }
8345
8317
  ),
8346
- onEdit && /* @__PURE__ */ jsx104(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ jsx104(Pencil, { className: "h-5 w-5 text-[var(--chekin-color-brand-blue)]" }) })
8318
+ onEdit && /* @__PURE__ */ jsx103(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ jsx103(Pencil, { className: "h-5 w-5 text-[var(--chekin-color-brand-blue)]" }) })
8347
8319
  ] }),
8348
- error && /* @__PURE__ */ jsx104("div", { className: "absolute bottom-1 right-2 text-xs text-[var(--chekin-color-brand-red)]", children: error })
8320
+ error && /* @__PURE__ */ jsx103("div", { className: "absolute bottom-1 right-2 text-xs text-[var(--chekin-color-brand-red)]", children: error })
8349
8321
  ]
8350
8322
  }
8351
8323
  );
@@ -8354,9 +8326,9 @@ var SmallGridSingleItem = memo5(
8354
8326
  SmallGridSingleItem.displayName = "SmallGridSingleItem";
8355
8327
 
8356
8328
  // src/sorting-action/SortingAction.tsx
8357
- import { useTranslation as useTranslation20 } from "react-i18next";
8329
+ import { useTranslation as useTranslation21 } from "react-i18next";
8358
8330
  import { ArrowDown, ArrowDownUpIcon, ArrowUp, Minus as Minus2 } from "lucide-react";
8359
- import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
8331
+ import { jsx as jsx104, jsxs as jsxs68 } from "react/jsx-runtime";
8360
8332
  function SortingAction({
8361
8333
  value,
8362
8334
  onSortChange,
@@ -8365,9 +8337,9 @@ function SortingAction({
8365
8337
  variant = "by_other",
8366
8338
  onOpenChange
8367
8339
  }) {
8368
- const { t } = useTranslation20();
8369
- return /* @__PURE__ */ jsxs69(DropdownMenu, { open, onOpenChange, children: [
8370
- /* @__PURE__ */ jsx105(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx105(
8340
+ const { t } = useTranslation21();
8341
+ return /* @__PURE__ */ jsxs68(DropdownMenu, { open, onOpenChange, children: [
8342
+ /* @__PURE__ */ jsx104(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx104(
8371
8343
  "button",
8372
8344
  {
8373
8345
  type: "button",
@@ -8376,36 +8348,36 @@ function SortingAction({
8376
8348
  className
8377
8349
  ),
8378
8350
  "aria-label": "Open sorting menu",
8379
- children: /* @__PURE__ */ jsx105(ArrowDownUpIcon, { className: "h-4 w-4 text-[var(--chekin-color-gray-1)] group-hover/trigger:text-[var(--chekin-color-brand-navy)]" })
8351
+ children: /* @__PURE__ */ jsx104(ArrowDownUpIcon, { className: "h-4 w-4 text-[var(--chekin-color-gray-1)] group-hover/trigger:text-[var(--chekin-color-brand-navy)]" })
8380
8352
  }
8381
8353
  ) }),
8382
- /* @__PURE__ */ jsxs69(DropdownMenuContent, { className: "w-full max-w-[256px]", align: "start", children: [
8383
- /* @__PURE__ */ jsxs69(
8354
+ /* @__PURE__ */ jsxs68(DropdownMenuContent, { className: "w-full max-w-[256px]", align: "start", children: [
8355
+ /* @__PURE__ */ jsxs68(
8384
8356
  DropdownMenuItem,
8385
8357
  {
8386
8358
  active: value === "asc",
8387
8359
  className: cn(value === "asc" && "text-[var(--chekin-color-brand-blue)]"),
8388
8360
  onClick: () => onSortChange?.("asc"),
8389
8361
  children: [
8390
- /* @__PURE__ */ jsx105(ArrowUp, { className: "h-4 w-4" }),
8362
+ /* @__PURE__ */ jsx104(ArrowUp, { className: "h-4 w-4" }),
8391
8363
  variant === "by_text" ? t("sort_a_z") : t("sort_in_asc")
8392
8364
  ]
8393
8365
  }
8394
8366
  ),
8395
- /* @__PURE__ */ jsxs69(
8367
+ /* @__PURE__ */ jsxs68(
8396
8368
  DropdownMenuItem,
8397
8369
  {
8398
8370
  active: value === "desc",
8399
8371
  className: cn(value === "desc" && "text-[var(--chekin-color-brand-blue)]"),
8400
8372
  onClick: () => onSortChange?.("desc"),
8401
8373
  children: [
8402
- /* @__PURE__ */ jsx105(ArrowDown, { className: "h-4 w-4" }),
8374
+ /* @__PURE__ */ jsx104(ArrowDown, { className: "h-4 w-4" }),
8403
8375
  variant === "by_text" ? t("sort_z_a") : t("sort_in_desc")
8404
8376
  ]
8405
8377
  }
8406
8378
  ),
8407
- value && /* @__PURE__ */ jsxs69(DropdownMenuItem, { onClick: () => onSortChange?.(null), children: [
8408
- /* @__PURE__ */ jsx105(Minus2, { className: "h-4 w-4" }),
8379
+ value && /* @__PURE__ */ jsxs68(DropdownMenuItem, { onClick: () => onSortChange?.(null), children: [
8380
+ /* @__PURE__ */ jsx104(Minus2, { className: "h-4 w-4" }),
8409
8381
  t("clear_sorting")
8410
8382
  ] })
8411
8383
  ] })
@@ -8414,9 +8386,9 @@ function SortingAction({
8414
8386
 
8415
8387
  // src/status-button/StatusButton.tsx
8416
8388
  import { useMemo as useMemo5 } from "react";
8417
- import { useTranslation as useTranslation21 } from "react-i18next";
8418
- import { AlertCircle as AlertCircle2, CheckCircle, Loader2 as Loader24 } from "lucide-react";
8419
- import { jsx as jsx106, jsxs as jsxs70 } from "react/jsx-runtime";
8389
+ import { useTranslation as useTranslation22 } from "react-i18next";
8390
+ import { AlertCircle as AlertCircle2, CheckCircle, Loader2 as Loader23 } from "lucide-react";
8391
+ import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
8420
8392
  function StatusButton({
8421
8393
  hidden,
8422
8394
  status,
@@ -8430,11 +8402,11 @@ function StatusButton({
8430
8402
  variant = "default",
8431
8403
  ...props
8432
8404
  }) {
8433
- const { t } = useTranslation21();
8405
+ const { t } = useTranslation22();
8434
8406
  const configMap = useMemo5(() => {
8435
8407
  const defaultLoadingConfig = {
8436
8408
  text: loadingText ?? `${t("saving")}...`,
8437
- icon: /* @__PURE__ */ jsx106(Loader24, { className: "h-4 w-4 animate-spin" }),
8409
+ icon: /* @__PURE__ */ jsx105(Loader23, { className: "h-4 w-4 animate-spin" }),
8438
8410
  variant,
8439
8411
  isLoading: true
8440
8412
  };
@@ -8444,13 +8416,13 @@ function StatusButton({
8444
8416
  validating: { ...defaultLoadingConfig, text: t("validating") },
8445
8417
  error: {
8446
8418
  text: t("error"),
8447
- icon: /* @__PURE__ */ jsx106(AlertCircle2, { className: "h-4 w-4" }),
8419
+ icon: /* @__PURE__ */ jsx105(AlertCircle2, { className: "h-4 w-4" }),
8448
8420
  variant: "destructive",
8449
8421
  isLoading: false
8450
8422
  },
8451
8423
  success: {
8452
8424
  text: successText ?? t("saved_exclamation"),
8453
- icon: /* @__PURE__ */ jsx106(CheckCircle, { className: "h-4 w-4" }),
8425
+ icon: /* @__PURE__ */ jsx105(CheckCircle, { className: "h-4 w-4" }),
8454
8426
  variant,
8455
8427
  isLoading: false
8456
8428
  },
@@ -8466,7 +8438,7 @@ function StatusButton({
8466
8438
  if (hidden) {
8467
8439
  return null;
8468
8440
  }
8469
- return /* @__PURE__ */ jsxs70(
8441
+ return /* @__PURE__ */ jsxs69(
8470
8442
  Button,
8471
8443
  {
8472
8444
  className: cn(
@@ -8482,7 +8454,7 @@ function StatusButton({
8482
8454
  ...props,
8483
8455
  children: [
8484
8456
  config.icon,
8485
- /* @__PURE__ */ jsx106("span", { children: config.text })
8457
+ /* @__PURE__ */ jsx105("span", { children: config.text })
8486
8458
  ]
8487
8459
  }
8488
8460
  );
@@ -8490,37 +8462,37 @@ function StatusButton({
8490
8462
 
8491
8463
  // src/status-box/StatusBox.tsx
8492
8464
  import { AlertTriangleIcon, CheckIcon as CheckIcon4, XIcon as XIcon3 } from "lucide-react";
8493
- import { jsx as jsx107, jsxs as jsxs71 } from "react/jsx-runtime";
8465
+ import { jsx as jsx106, jsxs as jsxs70 } from "react/jsx-runtime";
8494
8466
  function StatusBox({ status, title, text }) {
8495
8467
  if (status === "success") {
8496
- return /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-3 rounded-lg border border-green-100 bg-green-50 p-4", children: [
8497
- /* @__PURE__ */ jsx107("div", { className: "rounded-full bg-green-100 p-1", children: /* @__PURE__ */ jsx107(CheckIcon4, { className: "h-5 w-5 text-green-600" }) }),
8498
- /* @__PURE__ */ jsxs71("div", { children: [
8499
- /* @__PURE__ */ jsx107("p", { className: "font-semibold text-green-800", children: title }),
8500
- /* @__PURE__ */ jsx107("p", { className: "text-sm text-green-700", children: text })
8468
+ return /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-3 rounded-lg border border-green-100 bg-green-50 p-4", children: [
8469
+ /* @__PURE__ */ jsx106("div", { className: "rounded-full bg-green-100 p-1", children: /* @__PURE__ */ jsx106(CheckIcon4, { className: "h-5 w-5 text-green-600" }) }),
8470
+ /* @__PURE__ */ jsxs70("div", { children: [
8471
+ /* @__PURE__ */ jsx106("p", { className: "font-semibold text-green-800", children: title }),
8472
+ /* @__PURE__ */ jsx106("p", { className: "text-sm text-green-700", children: text })
8501
8473
  ] })
8502
8474
  ] });
8503
8475
  }
8504
8476
  if (status === "failed") {
8505
- return /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-3 rounded-lg border border-red-100 bg-red-50 p-4", children: [
8506
- /* @__PURE__ */ jsx107("div", { className: "rounded-full bg-red-100 p-1", children: /* @__PURE__ */ jsx107(XIcon3, { className: "h-5 w-5 text-red-600" }) }),
8507
- /* @__PURE__ */ jsxs71("div", { children: [
8508
- /* @__PURE__ */ jsx107("p", { className: "font-semibold text-red-800", children: title }),
8509
- /* @__PURE__ */ jsx107("p", { className: "text-sm text-red-700", children: text })
8477
+ return /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-3 rounded-lg border border-red-100 bg-red-50 p-4", children: [
8478
+ /* @__PURE__ */ jsx106("div", { className: "rounded-full bg-red-100 p-1", children: /* @__PURE__ */ jsx106(XIcon3, { className: "h-5 w-5 text-red-600" }) }),
8479
+ /* @__PURE__ */ jsxs70("div", { children: [
8480
+ /* @__PURE__ */ jsx106("p", { className: "font-semibold text-red-800", children: title }),
8481
+ /* @__PURE__ */ jsx106("p", { className: "text-sm text-red-700", children: text })
8510
8482
  ] })
8511
8483
  ] });
8512
8484
  }
8513
- return /* @__PURE__ */ jsxs71("div", { className: "flex items-center gap-3 rounded-lg border border-amber-100 bg-amber-50 p-4", children: [
8514
- /* @__PURE__ */ jsx107("div", { className: "rounded-full bg-amber-100 p-1", children: /* @__PURE__ */ jsx107(AlertTriangleIcon, { className: "h-5 w-5 text-amber-600" }) }),
8515
- /* @__PURE__ */ jsxs71("div", { children: [
8516
- /* @__PURE__ */ jsx107("p", { className: "font-semibold text-amber-800", children: title }),
8517
- /* @__PURE__ */ jsx107("p", { className: "text-sm text-amber-700", children: text })
8485
+ return /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-3 rounded-lg border border-amber-100 bg-amber-50 p-4", children: [
8486
+ /* @__PURE__ */ jsx106("div", { className: "rounded-full bg-amber-100 p-1", children: /* @__PURE__ */ jsx106(AlertTriangleIcon, { className: "h-5 w-5 text-amber-600" }) }),
8487
+ /* @__PURE__ */ jsxs70("div", { children: [
8488
+ /* @__PURE__ */ jsx106("p", { className: "font-semibold text-amber-800", children: title }),
8489
+ /* @__PURE__ */ jsx106("p", { className: "text-sm text-amber-700", children: text })
8518
8490
  ] })
8519
8491
  ] });
8520
8492
  }
8521
8493
 
8522
8494
  // src/stepper/Stepper.tsx
8523
- import { jsx as jsx108 } from "react/jsx-runtime";
8495
+ import { jsx as jsx107 } from "react/jsx-runtime";
8524
8496
  function Stepper({
8525
8497
  totalSteps,
8526
8498
  activeStep,
@@ -8529,7 +8501,7 @@ function Stepper({
8529
8501
  }) {
8530
8502
  if (totalSteps <= 0) return null;
8531
8503
  const clampedActiveStep = Math.max(1, Math.min(totalSteps, activeStep));
8532
- return /* @__PURE__ */ jsx108(
8504
+ return /* @__PURE__ */ jsx107(
8533
8505
  "div",
8534
8506
  {
8535
8507
  className: cn("flex w-full items-center gap-2", className),
@@ -8540,7 +8512,7 @@ function Stepper({
8540
8512
  children: new Array(totalSteps).fill(null).map((_, stepIndex) => {
8541
8513
  const stepNumber = stepIndex + 1;
8542
8514
  const isActive = cumulative ? stepNumber <= clampedActiveStep : stepNumber === clampedActiveStep;
8543
- return /* @__PURE__ */ jsx108(
8515
+ return /* @__PURE__ */ jsx107(
8544
8516
  "span",
8545
8517
  {
8546
8518
  className: cn(
@@ -8557,14 +8529,14 @@ function Stepper({
8557
8529
 
8558
8530
  // src/switch-blocks/SwitchBlocks.tsx
8559
8531
  import { forwardRef as forwardRef41, memo as memo6 } from "react";
8560
- import { jsx as jsx109 } from "react/jsx-runtime";
8532
+ import { jsx as jsx108 } from "react/jsx-runtime";
8561
8533
  var SwitchBlocksInternal = forwardRef41(
8562
- ({ options, value, onChange, disabled, className }, ref) => /* @__PURE__ */ jsx109(
8534
+ ({ options, value, onChange, disabled, className }, ref) => /* @__PURE__ */ jsx108(
8563
8535
  "div",
8564
8536
  {
8565
8537
  ref,
8566
8538
  className: cn("flex flex-wrap items-center justify-start gap-4", className),
8567
- children: options.map((option) => /* @__PURE__ */ jsx109(
8539
+ children: options.map((option) => /* @__PURE__ */ jsx108(
8568
8540
  BoxOptionSelector,
8569
8541
  {
8570
8542
  id: option.id,
@@ -8586,7 +8558,7 @@ var SwitchBlocks = memo6(SwitchBlocksInternal);
8586
8558
 
8587
8559
  // src/switch-group/SwitchGroup.tsx
8588
8560
  import * as React27 from "react";
8589
- import { jsx as jsx110, jsxs as jsxs72 } from "react/jsx-runtime";
8561
+ import { jsx as jsx109, jsxs as jsxs71 } from "react/jsx-runtime";
8590
8562
  var SwitchGroup = React27.forwardRef(
8591
8563
  ({ options, value = [], onChange, disabled = false, className, error, ...props }, ref) => {
8592
8564
  const handleOptionChange = (optionValue, checked) => {
@@ -8597,9 +8569,9 @@ var SwitchGroup = React27.forwardRef(
8597
8569
  }
8598
8570
  onChange(value.filter((selectedValue) => selectedValue !== optionValue));
8599
8571
  };
8600
- return /* @__PURE__ */ jsxs72("div", { ref, className: cn("w-full space-y-4", className), ...props, children: [
8601
- options.map((option) => /* @__PURE__ */ jsxs72("div", { className: "flex items-center justify-between gap-4", children: [
8602
- /* @__PURE__ */ jsx110("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs72(
8572
+ return /* @__PURE__ */ jsxs71("div", { ref, className: cn("w-full space-y-4", className), ...props, children: [
8573
+ options.map((option) => /* @__PURE__ */ jsxs71("div", { className: "flex items-center justify-between gap-4", children: [
8574
+ /* @__PURE__ */ jsx109("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs71(
8603
8575
  Label,
8604
8576
  {
8605
8577
  className: cn(
@@ -8608,7 +8580,7 @@ var SwitchGroup = React27.forwardRef(
8608
8580
  ),
8609
8581
  children: [
8610
8582
  option.label,
8611
- option.description && /* @__PURE__ */ jsxs72(
8583
+ option.description && /* @__PURE__ */ jsxs71(
8612
8584
  "span",
8613
8585
  {
8614
8586
  className: cn(
@@ -8625,7 +8597,7 @@ var SwitchGroup = React27.forwardRef(
8625
8597
  ]
8626
8598
  }
8627
8599
  ) }),
8628
- /* @__PURE__ */ jsx110(
8600
+ /* @__PURE__ */ jsx109(
8629
8601
  Switch,
8630
8602
  {
8631
8603
  value: value.includes(option.value),
@@ -8635,7 +8607,7 @@ var SwitchGroup = React27.forwardRef(
8635
8607
  }
8636
8608
  )
8637
8609
  ] }, option.value)),
8638
- error && /* @__PURE__ */ jsx110(ErrorMessage, { disabled, children: error })
8610
+ error && /* @__PURE__ */ jsx109(ErrorMessage, { disabled, children: error })
8639
8611
  ] });
8640
8612
  }
8641
8613
  );
@@ -8645,7 +8617,7 @@ SwitchGroup.displayName = "SwitchGroup";
8645
8617
  import { forwardRef as forwardRef43 } from "react";
8646
8618
  import * as TabsPrimitive2 from "@radix-ui/react-tabs";
8647
8619
  import { cva as cva12 } from "class-variance-authority";
8648
- import { jsx as jsx111 } from "react/jsx-runtime";
8620
+ import { jsx as jsx110 } from "react/jsx-runtime";
8649
8621
  var Tabs = TabsPrimitive2.Root;
8650
8622
  var tabsListVariants = cva12("inline-flex items-center", {
8651
8623
  variants: {
@@ -8659,7 +8631,7 @@ var tabsListVariants = cva12("inline-flex items-center", {
8659
8631
  }
8660
8632
  });
8661
8633
  var TabsList = forwardRef43(
8662
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx111(
8634
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx110(
8663
8635
  TabsPrimitive2.List,
8664
8636
  {
8665
8637
  ref,
@@ -8683,7 +8655,7 @@ var tabsTriggerVariants = cva12(
8683
8655
  }
8684
8656
  }
8685
8657
  );
8686
- var TabsTrigger = forwardRef43(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx111(
8658
+ var TabsTrigger = forwardRef43(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx110(
8687
8659
  TabsPrimitive2.Trigger,
8688
8660
  {
8689
8661
  ref,
@@ -8692,11 +8664,11 @@ var TabsTrigger = forwardRef43(({ className, variant, ...props }, ref) => /* @__
8692
8664
  }
8693
8665
  ));
8694
8666
  TabsTrigger.displayName = TabsPrimitive2.Trigger.displayName;
8695
- var TabsContent = forwardRef43(({ className, ...props }, ref) => /* @__PURE__ */ jsx111(TabsPrimitive2.Content, { ref, className, tabIndex: -1, ...props }));
8667
+ var TabsContent = forwardRef43(({ className, ...props }, ref) => /* @__PURE__ */ jsx110(TabsPrimitive2.Content, { ref, className, tabIndex: -1, ...props }));
8696
8668
  TabsContent.displayName = TabsPrimitive2.Content.displayName;
8697
8669
 
8698
8670
  // src/tabbed-section/TabbedSection.tsx
8699
- import { jsx as jsx112, jsxs as jsxs73 } from "react/jsx-runtime";
8671
+ import { jsx as jsx111, jsxs as jsxs72 } from "react/jsx-runtime";
8700
8672
  function TabbedSection({
8701
8673
  triggers,
8702
8674
  value,
@@ -8718,8 +8690,8 @@ function TabbedSection({
8718
8690
  "[&>div:first-child]:gap-3",
8719
8691
  className
8720
8692
  );
8721
- return /* @__PURE__ */ jsxs73(Tabs, { value: activeTab, onValueChange: onTabChange, className: "w-full", children: [
8722
- /* @__PURE__ */ jsx112(
8693
+ return /* @__PURE__ */ jsxs72(Tabs, { value: activeTab, onValueChange: onTabChange, className: "w-full", children: [
8694
+ /* @__PURE__ */ jsx111(
8723
8695
  BookmarkTabsList,
8724
8696
  {
8725
8697
  variant,
@@ -8727,12 +8699,12 @@ function TabbedSection({
8727
8699
  children: triggers
8728
8700
  }
8729
8701
  ),
8730
- /* @__PURE__ */ jsx112("div", { className: contentContainerClassName, children })
8702
+ /* @__PURE__ */ jsx111("div", { className: contentContainerClassName, children })
8731
8703
  ] });
8732
8704
  }
8733
8705
 
8734
8706
  // src/table-placeholder/TablePlaceholder.tsx
8735
- import { jsx as jsx113, jsxs as jsxs74 } from "react/jsx-runtime";
8707
+ import { jsx as jsx112, jsxs as jsxs73 } from "react/jsx-runtime";
8736
8708
  function TablePlaceholder({
8737
8709
  children,
8738
8710
  text,
@@ -8745,21 +8717,21 @@ function TablePlaceholder({
8745
8717
  if (!visible) {
8746
8718
  return null;
8747
8719
  }
8748
- const content = /* @__PURE__ */ jsxs74("div", { className: "flex flex-col items-center justify-center px-4 py-14 text-center", children: [
8749
- iconSlot && /* @__PURE__ */ jsx113("div", { className: "mb-6", children: iconSlot }),
8750
- title && /* @__PURE__ */ jsx113("h3", { className: "mb-2 text-lg font-semibold", children: title }),
8751
- text && /* @__PURE__ */ jsx113("p", { className: "text-md max-w-sm font-medium", children: text }),
8752
- children && /* @__PURE__ */ jsx113("div", { className: "mt-6", children })
8720
+ const content = /* @__PURE__ */ jsxs73("div", { className: "flex flex-col items-center justify-center px-4 py-14 text-center", children: [
8721
+ iconSlot && /* @__PURE__ */ jsx112("div", { className: "mb-6", children: iconSlot }),
8722
+ title && /* @__PURE__ */ jsx112("h3", { className: "mb-2 text-lg font-semibold", children: title }),
8723
+ text && /* @__PURE__ */ jsx112("p", { className: "text-md max-w-sm font-medium", children: text }),
8724
+ children && /* @__PURE__ */ jsx112("div", { className: "mt-6", children })
8753
8725
  ] });
8754
8726
  if (insideTable) {
8755
- return /* @__PURE__ */ jsx113("tr", { children: /* @__PURE__ */ jsx113("td", { colSpan: 100, className, children: content }) });
8727
+ return /* @__PURE__ */ jsx112("tr", { children: /* @__PURE__ */ jsx112("td", { colSpan: 100, className, children: content }) });
8756
8728
  }
8757
- return /* @__PURE__ */ jsx113("div", { className, children: content });
8729
+ return /* @__PURE__ */ jsx112("div", { className, children: content });
8758
8730
  }
8759
8731
 
8760
8732
  // src/task-card/TaskCard.tsx
8761
8733
  import { ArrowRight } from "lucide-react";
8762
- import { jsx as jsx114, jsxs as jsxs75 } from "react/jsx-runtime";
8734
+ import { jsx as jsx113, jsxs as jsxs74 } from "react/jsx-runtime";
8763
8735
  function TaskCard({
8764
8736
  title,
8765
8737
  description,
@@ -8770,7 +8742,7 @@ function TaskCard({
8770
8742
  }) {
8771
8743
  const shouldShowCount = count !== void 0 && count > 1;
8772
8744
  const shouldShowActions = shouldShowCount || onClick;
8773
- return /* @__PURE__ */ jsxs75(
8745
+ return /* @__PURE__ */ jsxs74(
8774
8746
  "div",
8775
8747
  {
8776
8748
  className: cn(
@@ -8786,7 +8758,7 @@ function TaskCard({
8786
8758
  role: onClick ? "button" : void 0,
8787
8759
  tabIndex: onClick ? 0 : void 0,
8788
8760
  children: [
8789
- /* @__PURE__ */ jsx114(
8761
+ /* @__PURE__ */ jsx113(
8790
8762
  "div",
8791
8763
  {
8792
8764
  className: cn(
@@ -8796,12 +8768,12 @@ function TaskCard({
8796
8768
  )
8797
8769
  }
8798
8770
  ),
8799
- /* @__PURE__ */ jsxs75("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
8800
- /* @__PURE__ */ jsx114("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
8801
- /* @__PURE__ */ jsx114("p", { className: "m-0 w-full text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]", children: description })
8771
+ /* @__PURE__ */ jsxs74("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
8772
+ /* @__PURE__ */ jsx113("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
8773
+ /* @__PURE__ */ jsx113("p", { className: "m-0 w-full text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]", children: description })
8802
8774
  ] }),
8803
- shouldShowActions && /* @__PURE__ */ jsxs75("div", { className: "flex shrink-0 items-center gap-1", children: [
8804
- shouldShowCount && /* @__PURE__ */ jsx114(
8775
+ shouldShowActions && /* @__PURE__ */ jsxs74("div", { className: "flex shrink-0 items-center gap-1", children: [
8776
+ shouldShowCount && /* @__PURE__ */ jsx113(
8805
8777
  "div",
8806
8778
  {
8807
8779
  className: cn(
@@ -8812,7 +8784,7 @@ function TaskCard({
8812
8784
  children: count
8813
8785
  }
8814
8786
  ),
8815
- onClick && /* @__PURE__ */ jsx114(
8787
+ onClick && /* @__PURE__ */ jsx113(
8816
8788
  "button",
8817
8789
  {
8818
8790
  className: "flex h-8 w-0 min-w-0 cursor-pointer items-center justify-center overflow-hidden rounded-md border-0 bg-transparent p-0 text-[var(--chekin-color-gray-1)] opacity-0 transition-[width,opacity,min-width] duration-300 ease-in-out hover:bg-black/5 focus-visible:w-8 focus-visible:min-w-8 focus-visible:opacity-100 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[var(--chekin-color-brand-blue)] group-hover:w-8 group-hover:min-w-8 group-hover:opacity-100",
@@ -8822,7 +8794,7 @@ function TaskCard({
8822
8794
  },
8823
8795
  "aria-label": "View details",
8824
8796
  type: "button",
8825
- children: /* @__PURE__ */ jsx114(ArrowRight, { className: "h-5 w-5" })
8797
+ children: /* @__PURE__ */ jsx113(ArrowRight, { className: "h-5 w-5" })
8826
8798
  }
8827
8799
  )
8828
8800
  ] })
@@ -8910,7 +8882,7 @@ var toggleVariants = cva13(
8910
8882
  );
8911
8883
 
8912
8884
  // src/toggle-group/ToggleGroup.tsx
8913
- import { jsx as jsx115, jsxs as jsxs76 } from "react/jsx-runtime";
8885
+ import { jsx as jsx114, jsxs as jsxs75 } from "react/jsx-runtime";
8914
8886
  var ToggleGroupContext = React28.createContext({
8915
8887
  size: "default",
8916
8888
  variant: "default",
@@ -8918,7 +8890,7 @@ var ToggleGroupContext = React28.createContext({
8918
8890
  });
8919
8891
  var ToggleGroup = React28.forwardRef(({ className, variant, size, theme, children, ...props }, ref) => {
8920
8892
  const isTabVariant = variant === "tab";
8921
- return /* @__PURE__ */ jsx115(
8893
+ return /* @__PURE__ */ jsx114(
8922
8894
  ToggleGroupPrimitive.Root,
8923
8895
  {
8924
8896
  ref,
@@ -8928,7 +8900,7 @@ var ToggleGroup = React28.forwardRef(({ className, variant, size, theme, childre
8928
8900
  className
8929
8901
  ),
8930
8902
  ...props,
8931
- children: /* @__PURE__ */ jsx115(ToggleGroupContext.Provider, { value: { variant, size, theme }, children })
8903
+ children: /* @__PURE__ */ jsx114(ToggleGroupContext.Provider, { value: { variant, size, theme }, children })
8932
8904
  }
8933
8905
  );
8934
8906
  });
@@ -8937,7 +8909,7 @@ var ToggleGroupItem = React28.forwardRef(({ className, children, variant, size,
8937
8909
  const context = React28.useContext(ToggleGroupContext);
8938
8910
  const resolvedVariant = context.variant || variant;
8939
8911
  const isTabVariant = resolvedVariant === "tab";
8940
- return /* @__PURE__ */ jsx115(
8912
+ return /* @__PURE__ */ jsx114(
8941
8913
  ToggleGroupPrimitive.Item,
8942
8914
  {
8943
8915
  ref,
@@ -8950,9 +8922,9 @@ var ToggleGroupItem = React28.forwardRef(({ className, children, variant, size,
8950
8922
  className
8951
8923
  ),
8952
8924
  ...props,
8953
- children: isTabVariant ? /* @__PURE__ */ jsxs76("span", { className: "inline-grid", children: [
8954
- /* @__PURE__ */ jsx115("span", { className: "invisible col-start-1 row-start-1 font-semibold", children }),
8955
- /* @__PURE__ */ jsx115("span", { className: "col-start-1 row-start-1", children })
8925
+ children: isTabVariant ? /* @__PURE__ */ jsxs75("span", { className: "inline-grid", children: [
8926
+ /* @__PURE__ */ jsx114("span", { className: "invisible col-start-1 row-start-1 font-semibold", children }),
8927
+ /* @__PURE__ */ jsx114("span", { className: "col-start-1 row-start-1", children })
8956
8928
  ] }) : children
8957
8929
  }
8958
8930
  );
@@ -8966,7 +8938,7 @@ import {
8966
8938
  isValidElement as isValidElement3,
8967
8939
  useEffect as useEffect23
8968
8940
  } from "react";
8969
- import { jsx as jsx116, jsxs as jsxs77 } from "react/jsx-runtime";
8941
+ import { jsx as jsx115, jsxs as jsxs76 } from "react/jsx-runtime";
8970
8942
  var getValueArray2 = (value) => {
8971
8943
  if (value) {
8972
8944
  return Array.isArray(value) ? value : [value];
@@ -9062,16 +9034,16 @@ function TogglesInternal({
9062
9034
  onValueChange: handleValueChange,
9063
9035
  ...multiple ? { type: "multiple", value: currentValue } : { type: "single", value: currentValue[0] ?? "" }
9064
9036
  };
9065
- return /* @__PURE__ */ jsxs77("div", { ref, className, children: [
9066
- label && /* @__PURE__ */ jsx116("div", { className: "mb-2", children: /* @__PURE__ */ jsx116("div", { className: "select-none text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
9067
- /* @__PURE__ */ jsx116(ToggleGroup, { className: groupClassName, ...toggleGroupProps, children: options.map((option, index) => {
9037
+ return /* @__PURE__ */ jsxs76("div", { ref, className, children: [
9038
+ label && /* @__PURE__ */ jsx115("div", { className: "mb-2", children: /* @__PURE__ */ jsx115("div", { className: "select-none text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
9039
+ /* @__PURE__ */ jsx115(ToggleGroup, { className: groupClassName, ...toggleGroupProps, children: options.map((option, index) => {
9068
9040
  const isSelected = Boolean(
9069
9041
  getValueArray2(value).find((selectedValue) => selectedValue === option.value)
9070
9042
  );
9071
9043
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
9072
9044
  const isMinSelected = getValueArray2(value).length <= minSelected;
9073
9045
  const isItemReadOnly = readOnly || isMinSelected && isSelected || readonlyItems?.includes(option.value);
9074
- return /* @__PURE__ */ jsx116(
9046
+ return /* @__PURE__ */ jsx115(
9075
9047
  ToggleGroupItem,
9076
9048
  {
9077
9049
  value: String(option.value),
@@ -9090,15 +9062,15 @@ var Toggles = forwardRef45(TogglesInternal);
9090
9062
  import * as React29 from "react";
9091
9063
  import * as LabelPrimitive2 from "@radix-ui/react-label";
9092
9064
  import { cva as cva14 } from "class-variance-authority";
9093
- import { useTranslation as useTranslation22 } from "react-i18next";
9065
+ import { useTranslation as useTranslation23 } from "react-i18next";
9094
9066
 
9095
9067
  // src/text-field/EndIcon.tsx
9096
- import { jsx as jsx117 } from "react/jsx-runtime";
9097
- var EndIcon = ({ children }) => /* @__PURE__ */ jsx117("div", { className: "pointer-events-none absolute right-3.5 top-1/2 -translate-y-1/2 [&>*]:pointer-events-auto", children });
9068
+ import { jsx as jsx116 } from "react/jsx-runtime";
9069
+ var EndIcon = ({ children }) => /* @__PURE__ */ jsx116("div", { className: "pointer-events-none absolute right-3.5 top-1/2 -translate-y-1/2 [&>*]:pointer-events-auto", children });
9098
9070
 
9099
9071
  // src/text-field/FieldError.tsx
9100
- import { jsx as jsx118 } from "react/jsx-runtime";
9101
- var FieldError = ({ id, children }) => /* @__PURE__ */ jsx118(
9072
+ import { jsx as jsx117 } from "react/jsx-runtime";
9073
+ var FieldError = ({ id, children }) => /* @__PURE__ */ jsx117(
9102
9074
  "p",
9103
9075
  {
9104
9076
  id,
@@ -9109,11 +9081,11 @@ var FieldError = ({ id, children }) => /* @__PURE__ */ jsx118(
9109
9081
  );
9110
9082
 
9111
9083
  // src/text-field/SupportingText.tsx
9112
- import { jsx as jsx119 } from "react/jsx-runtime";
9113
- var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx119("p", { id, className: "mt-1 text-xs italic text-[var(--chekin-color-gray-2)]", children });
9084
+ import { jsx as jsx118 } from "react/jsx-runtime";
9085
+ var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx118("p", { id, className: "mt-1 text-xs italic text-[var(--chekin-color-gray-2)]", children });
9114
9086
 
9115
9087
  // src/text-field/TextField.tsx
9116
- import { jsx as jsx120, jsxs as jsxs78 } from "react/jsx-runtime";
9088
+ import { jsx as jsx119, jsxs as jsxs77 } from "react/jsx-runtime";
9117
9089
  var textFieldRootClasses = [
9118
9090
  "[--text-field-height:2.75rem]",
9119
9091
  "[--text-field-radius:8px]",
@@ -9220,7 +9192,7 @@ var TextField = React29.forwardRef(
9220
9192
  readOnly,
9221
9193
  ...props
9222
9194
  }, ref) => {
9223
- const { t } = useTranslation22();
9195
+ const { t } = useTranslation23();
9224
9196
  const hasError = Boolean(error);
9225
9197
  const autoId = React29.useId();
9226
9198
  const inputId = props.id || autoId;
@@ -9234,7 +9206,7 @@ var TextField = React29.forwardRef(
9234
9206
  const errorId = error ? `${inputId}-error` : void 0;
9235
9207
  const ariaDescribedBy = errorId || descriptionId || void 0;
9236
9208
  if (variant === "floating") {
9237
- return /* @__PURE__ */ jsxs78(
9209
+ return /* @__PURE__ */ jsxs77(
9238
9210
  "div",
9239
9211
  {
9240
9212
  className: cn(
@@ -9243,8 +9215,8 @@ var TextField = React29.forwardRef(
9243
9215
  wrapperClassName
9244
9216
  ),
9245
9217
  children: [
9246
- /* @__PURE__ */ jsxs78("div", { className: "relative", children: [
9247
- /* @__PURE__ */ jsx120(
9218
+ /* @__PURE__ */ jsxs77("div", { className: "relative", children: [
9219
+ /* @__PURE__ */ jsx119(
9248
9220
  "input",
9249
9221
  {
9250
9222
  id: inputId,
@@ -9258,7 +9230,7 @@ var TextField = React29.forwardRef(
9258
9230
  ...props
9259
9231
  }
9260
9232
  ),
9261
- label && /* @__PURE__ */ jsx120(
9233
+ label && /* @__PURE__ */ jsx119(
9262
9234
  LabelPrimitive2.Root,
9263
9235
  {
9264
9236
  htmlFor: inputId,
@@ -9272,17 +9244,17 @@ var TextField = React29.forwardRef(
9272
9244
  children: label
9273
9245
  }
9274
9246
  ),
9275
- endIcon && /* @__PURE__ */ jsx120(EndIcon, { children: endIcon })
9247
+ endIcon && /* @__PURE__ */ jsx119(EndIcon, { children: endIcon })
9276
9248
  ] }),
9277
- supportingText && !hasError && /* @__PURE__ */ jsx120(SupportingText, { id: descriptionId, children: supportingText }),
9278
- hasError && /* @__PURE__ */ jsx120(FieldError, { id: errorId, children: error })
9249
+ supportingText && !hasError && /* @__PURE__ */ jsx119(SupportingText, { id: descriptionId, children: supportingText }),
9250
+ hasError && /* @__PURE__ */ jsx119(FieldError, { id: errorId, children: error })
9279
9251
  ]
9280
9252
  }
9281
9253
  );
9282
9254
  }
9283
- return /* @__PURE__ */ jsxs78("div", { className: cn("flex w-full flex-col", textFieldRootClasses, wrapperClassName), children: [
9284
- label && /* @__PURE__ */ jsxs78("div", { className: "mb-1 flex items-center gap-1", children: [
9285
- /* @__PURE__ */ jsx120(
9255
+ return /* @__PURE__ */ jsxs77("div", { className: cn("flex w-full flex-col", textFieldRootClasses, wrapperClassName), children: [
9256
+ label && /* @__PURE__ */ jsxs77("div", { className: "mb-1 flex items-center gap-1", children: [
9257
+ /* @__PURE__ */ jsx119(
9286
9258
  LabelPrimitive2.Root,
9287
9259
  {
9288
9260
  htmlFor: inputId,
@@ -9290,14 +9262,14 @@ var TextField = React29.forwardRef(
9290
9262
  children: label
9291
9263
  }
9292
9264
  ),
9293
- optional && /* @__PURE__ */ jsxs78("span", { className: "text-base leading-4", children: [
9294
- /* @__PURE__ */ jsx120("span", { className: "text-[var(--chekin-color-brand-navy)]", children: "- " }),
9295
- /* @__PURE__ */ jsx120("span", { className: "italic text-[var(--chekin-color-gray-2)]", children: optionalLabel || t("optional") })
9265
+ optional && /* @__PURE__ */ jsxs77("span", { className: "text-base leading-4", children: [
9266
+ /* @__PURE__ */ jsx119("span", { className: "text-[var(--chekin-color-brand-navy)]", children: "- " }),
9267
+ /* @__PURE__ */ jsx119("span", { className: "italic text-[var(--chekin-color-gray-2)]", children: optionalLabel || t("optional") })
9296
9268
  ] }),
9297
9269
  tooltip
9298
9270
  ] }),
9299
- /* @__PURE__ */ jsxs78("div", { className: "relative", children: [
9300
- /* @__PURE__ */ jsx120(
9271
+ /* @__PURE__ */ jsxs77("div", { className: "relative", children: [
9272
+ /* @__PURE__ */ jsx119(
9301
9273
  "input",
9302
9274
  {
9303
9275
  id: inputId,
@@ -9311,10 +9283,10 @@ var TextField = React29.forwardRef(
9311
9283
  ...props
9312
9284
  }
9313
9285
  ),
9314
- endIcon && /* @__PURE__ */ jsx120(EndIcon, { children: endIcon })
9286
+ endIcon && /* @__PURE__ */ jsx119(EndIcon, { children: endIcon })
9315
9287
  ] }),
9316
- supportingText && !hasError && /* @__PURE__ */ jsx120(SupportingText, { id: descriptionId, children: supportingText }),
9317
- hasError && /* @__PURE__ */ jsx120(FieldError, { id: errorId, children: error })
9288
+ supportingText && !hasError && /* @__PURE__ */ jsx119(SupportingText, { id: descriptionId, children: supportingText }),
9289
+ hasError && /* @__PURE__ */ jsx119(FieldError, { id: errorId, children: error })
9318
9290
  ] });
9319
9291
  }
9320
9292
  );
@@ -9322,12 +9294,12 @@ TextField.displayName = "TextField";
9322
9294
 
9323
9295
  // src/textarea/Textarea.tsx
9324
9296
  import { forwardRef as forwardRef47, useId as useId10 } from "react";
9325
- import { jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
9297
+ import { jsx as jsx120, jsxs as jsxs78 } from "react/jsx-runtime";
9326
9298
  var Textarea = forwardRef47(
9327
9299
  ({ className, textareaClassName, label, disabled, name, invalid, ...textareaProps }, ref) => {
9328
9300
  const inputId = useId10();
9329
- return /* @__PURE__ */ jsxs79("div", { className: cn("relative", className), children: [
9330
- /* @__PURE__ */ jsx121(
9301
+ return /* @__PURE__ */ jsxs78("div", { className: cn("relative", className), children: [
9302
+ /* @__PURE__ */ jsx120(
9331
9303
  "textarea",
9332
9304
  {
9333
9305
  ref,
@@ -9343,7 +9315,7 @@ var Textarea = forwardRef47(
9343
9315
  ...textareaProps
9344
9316
  }
9345
9317
  ),
9346
- label && /* @__PURE__ */ jsx121(
9318
+ label && /* @__PURE__ */ jsx120(
9347
9319
  "label",
9348
9320
  {
9349
9321
  htmlFor: inputId,
@@ -9361,34 +9333,34 @@ var Textarea = forwardRef47(
9361
9333
  Textarea.displayName = "Textarea";
9362
9334
 
9363
9335
  // src/three-dots-loader/ThreeDotsLoader.tsx
9364
- import { Fragment as Fragment11, jsx as jsx122, jsxs as jsxs80 } from "react/jsx-runtime";
9336
+ import { Fragment as Fragment11, jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
9365
9337
  function Dots({
9366
9338
  height,
9367
9339
  width,
9368
9340
  color
9369
9341
  }) {
9370
- return /* @__PURE__ */ jsxs80(
9342
+ return /* @__PURE__ */ jsxs79(
9371
9343
  "span",
9372
9344
  {
9373
9345
  className: "inline-flex items-center justify-center gap-[15%]",
9374
9346
  style: { height, width },
9375
9347
  "aria-hidden": "true",
9376
9348
  children: [
9377
- /* @__PURE__ */ jsx122(
9349
+ /* @__PURE__ */ jsx121(
9378
9350
  "span",
9379
9351
  {
9380
9352
  className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.32s]",
9381
9353
  style: { backgroundColor: color }
9382
9354
  }
9383
9355
  ),
9384
- /* @__PURE__ */ jsx122(
9356
+ /* @__PURE__ */ jsx121(
9385
9357
  "span",
9386
9358
  {
9387
9359
  className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.16s]",
9388
9360
  style: { backgroundColor: color }
9389
9361
  }
9390
9362
  ),
9391
- /* @__PURE__ */ jsx122(
9363
+ /* @__PURE__ */ jsx121(
9392
9364
  "span",
9393
9365
  {
9394
9366
  className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full",
@@ -9407,9 +9379,9 @@ function ThreeDotsLoader({
9407
9379
  className,
9408
9380
  labelPlacement = "right"
9409
9381
  }) {
9410
- const dots = /* @__PURE__ */ jsx122(Dots, { color, height, width });
9382
+ const dots = /* @__PURE__ */ jsx121(Dots, { color, height, width });
9411
9383
  if (label) {
9412
- return /* @__PURE__ */ jsx122(
9384
+ return /* @__PURE__ */ jsx121(
9413
9385
  "div",
9414
9386
  {
9415
9387
  className: cn(
@@ -9417,22 +9389,22 @@ function ThreeDotsLoader({
9417
9389
  className
9418
9390
  ),
9419
9391
  role: "progressbar",
9420
- children: labelPlacement === "right" ? /* @__PURE__ */ jsxs80(Fragment11, { children: [
9392
+ children: labelPlacement === "right" ? /* @__PURE__ */ jsxs79(Fragment11, { children: [
9421
9393
  dots,
9422
- /* @__PURE__ */ jsx122("div", { children: label })
9423
- ] }) : /* @__PURE__ */ jsxs80(Fragment11, { children: [
9424
- /* @__PURE__ */ jsx122("div", { children: label }),
9394
+ /* @__PURE__ */ jsx121("div", { children: label })
9395
+ ] }) : /* @__PURE__ */ jsxs79(Fragment11, { children: [
9396
+ /* @__PURE__ */ jsx121("div", { children: label }),
9425
9397
  dots
9426
9398
  ] })
9427
9399
  }
9428
9400
  );
9429
9401
  }
9430
- return /* @__PURE__ */ jsx122("div", { className, children: dots });
9402
+ return /* @__PURE__ */ jsx121("div", { role: "progressbar", className, children: dots });
9431
9403
  }
9432
9404
 
9433
9405
  // src/uploaded-files-list/UploadedFilesList.tsx
9434
9406
  import { X as X7 } from "lucide-react";
9435
- import { jsx as jsx123, jsxs as jsxs81 } from "react/jsx-runtime";
9407
+ import { jsx as jsx122, jsxs as jsxs80 } from "react/jsx-runtime";
9436
9408
  function UploadedFilesList({
9437
9409
  files,
9438
9410
  onRemoveFile,
@@ -9441,20 +9413,20 @@ function UploadedFilesList({
9441
9413
  if (!files.length) {
9442
9414
  return null;
9443
9415
  }
9444
- return /* @__PURE__ */ jsx123("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ jsxs81(
9416
+ return /* @__PURE__ */ jsx122("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ jsxs80(
9445
9417
  "div",
9446
9418
  {
9447
9419
  className: "flex cursor-default items-center gap-2 rounded border border-[var(--chekin-color-gray-2)] bg-[var(--chekin-color-surface-pressed)] py-1.5 pl-3 pr-1.5",
9448
9420
  children: [
9449
- /* @__PURE__ */ jsx123("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9450
- /* @__PURE__ */ jsx123(
9421
+ /* @__PURE__ */ jsx122("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9422
+ /* @__PURE__ */ jsx122(
9451
9423
  "button",
9452
9424
  {
9453
9425
  type: "button",
9454
9426
  onClick: () => onRemoveFile(file.name),
9455
9427
  className: "flex h-[18px] w-[18px] shrink-0 cursor-pointer items-center justify-center rounded bg-[var(--chekin-color-gray-1)] transition-all hover:shadow-md active:opacity-95",
9456
9428
  "aria-label": `Remove ${file.name}`,
9457
- children: /* @__PURE__ */ jsx123(X7, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9429
+ children: /* @__PURE__ */ jsx122(X7, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9458
9430
  }
9459
9431
  )
9460
9432
  ]
@@ -9464,9 +9436,9 @@ function UploadedFilesList({
9464
9436
  }
9465
9437
 
9466
9438
  // src/wide-button/WideButton.tsx
9467
- import { jsx as jsx124 } from "react/jsx-runtime";
9439
+ import { jsx as jsx123 } from "react/jsx-runtime";
9468
9440
  function WideButton({ className, disabled, ...props }) {
9469
- return /* @__PURE__ */ jsx124(
9441
+ return /* @__PURE__ */ jsx123(
9470
9442
  Button,
9471
9443
  {
9472
9444
  variant: "ghost",
@@ -9490,22 +9462,22 @@ import { Calendar as Calendar2 } from "lucide-react";
9490
9462
  import * as React30 from "react";
9491
9463
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
9492
9464
  import Draggable from "react-draggable";
9493
- import { jsx as jsx125, jsxs as jsxs82 } from "react/jsx-runtime";
9465
+ import { jsx as jsx124, jsxs as jsxs81 } from "react/jsx-runtime";
9494
9466
  var DRAWER_CLOSE_THRESHOLD = 72;
9495
9467
  var DRAWER_MIN_OVERLAY_OPACITY = 0.1;
9496
9468
  function Drawer({ ...props }) {
9497
- return /* @__PURE__ */ jsx125(DialogPrimitive2.Root, { "data-slot": "drawer", ...props });
9469
+ return /* @__PURE__ */ jsx124(DialogPrimitive2.Root, { "data-slot": "drawer", ...props });
9498
9470
  }
9499
9471
  function DrawerTrigger({ ...props }) {
9500
- return /* @__PURE__ */ jsx125(DialogPrimitive2.Trigger, { "data-slot": "drawer-trigger", ...props });
9472
+ return /* @__PURE__ */ jsx124(DialogPrimitive2.Trigger, { "data-slot": "drawer-trigger", ...props });
9501
9473
  }
9502
9474
  function DrawerPortal({ ...props }) {
9503
- return /* @__PURE__ */ jsx125(DialogPrimitive2.Portal, { "data-slot": "drawer-portal", ...props });
9475
+ return /* @__PURE__ */ jsx124(DialogPrimitive2.Portal, { "data-slot": "drawer-portal", ...props });
9504
9476
  }
9505
9477
  function DrawerClose({ ...props }) {
9506
- return /* @__PURE__ */ jsx125(DialogPrimitive2.Close, { "data-slot": "drawer-close", ...props });
9478
+ return /* @__PURE__ */ jsx124(DialogPrimitive2.Close, { "data-slot": "drawer-close", ...props });
9507
9479
  }
9508
- var DrawerOverlay = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx125(
9480
+ var DrawerOverlay = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx124(
9509
9481
  DialogPrimitive2.Overlay,
9510
9482
  {
9511
9483
  ref,
@@ -9554,14 +9526,14 @@ var DrawerContent = React30.forwardRef(
9554
9526
  },
9555
9527
  [onClose]
9556
9528
  );
9557
- return /* @__PURE__ */ jsxs82(DrawerPortal, { container: finalContainer, children: [
9558
- lockScroll ? /* @__PURE__ */ jsx125(
9529
+ return /* @__PURE__ */ jsxs81(DrawerPortal, { container: finalContainer, children: [
9530
+ lockScroll ? /* @__PURE__ */ jsx124(
9559
9531
  DrawerOverlay,
9560
9532
  {
9561
9533
  style: { opacity: overlayOpacity },
9562
9534
  onClick: closeOnOverlayClick ? onClose : void 0
9563
9535
  }
9564
- ) : /* @__PURE__ */ jsx125(
9536
+ ) : /* @__PURE__ */ jsx124(
9565
9537
  "div",
9566
9538
  {
9567
9539
  className: cn(DrawerOverlayClasses),
@@ -9569,7 +9541,7 @@ var DrawerContent = React30.forwardRef(
9569
9541
  onClick: closeOnOverlayClick ? onClose : void 0
9570
9542
  }
9571
9543
  ),
9572
- /* @__PURE__ */ jsx125(
9544
+ /* @__PURE__ */ jsx124(
9573
9545
  DialogPrimitive2.Content,
9574
9546
  {
9575
9547
  asChild: true,
@@ -9585,7 +9557,7 @@ var DrawerContent = React30.forwardRef(
9585
9557
  }
9586
9558
  },
9587
9559
  ...props,
9588
- children: /* @__PURE__ */ jsx125("div", { className: "fixed inset-x-0 bottom-0 top-auto z-50 outline-none", children: /* @__PURE__ */ jsx125(
9560
+ children: /* @__PURE__ */ jsx124("div", { className: "fixed inset-x-0 bottom-0 top-auto z-50 outline-none", children: /* @__PURE__ */ jsx124(
9589
9561
  Draggable,
9590
9562
  {
9591
9563
  axis: "y",
@@ -9595,7 +9567,7 @@ var DrawerContent = React30.forwardRef(
9595
9567
  onDrag: handleDrag,
9596
9568
  onStop: handleStop,
9597
9569
  position: { x: 0, y: dragOffsetY },
9598
- children: /* @__PURE__ */ jsxs82(
9570
+ children: /* @__PURE__ */ jsxs81(
9599
9571
  "div",
9600
9572
  {
9601
9573
  ref: nodeRef,
@@ -9604,15 +9576,15 @@ var DrawerContent = React30.forwardRef(
9604
9576
  className
9605
9577
  ),
9606
9578
  children: [
9607
- showHandle && /* @__PURE__ */ jsx125(
9579
+ showHandle && /* @__PURE__ */ jsx124(
9608
9580
  "div",
9609
9581
  {
9610
9582
  "data-drawer-handle": true,
9611
9583
  className: "mx-auto flex h-8 w-24 cursor-grab touch-none items-center justify-center active:cursor-grabbing",
9612
- children: /* @__PURE__ */ jsx125("span", { className: "block h-1.5 w-12 rounded-full bg-[#D9D7D3]" })
9584
+ children: /* @__PURE__ */ jsx124("span", { className: "block h-1.5 w-12 rounded-full bg-[#D9D7D3]" })
9613
9585
  }
9614
9586
  ),
9615
- /* @__PURE__ */ jsx125("div", { className: "min-h-0 flex-1 overflow-y-auto", children })
9587
+ /* @__PURE__ */ jsx124("div", { className: "min-h-0 flex-1 overflow-y-auto", children })
9616
9588
  ]
9617
9589
  }
9618
9590
  )
@@ -9624,7 +9596,7 @@ var DrawerContent = React30.forwardRef(
9624
9596
  }
9625
9597
  );
9626
9598
  DrawerContent.displayName = DialogPrimitive2.Content.displayName;
9627
- var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx125(
9599
+ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx124(
9628
9600
  "div",
9629
9601
  {
9630
9602
  className: cn("flex flex-col gap-2 px-5 pt-2 text-center", className),
@@ -9632,9 +9604,9 @@ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx125(
9632
9604
  }
9633
9605
  );
9634
9606
  DrawerHeader.displayName = "DrawerHeader";
9635
- var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx125("div", { className: cn("flex flex-col gap-2 p-5", className), ...props });
9607
+ var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx124("div", { className: cn("flex flex-col gap-2 p-5", className), ...props });
9636
9608
  DrawerFooter.displayName = "DrawerFooter";
9637
- var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx125(
9609
+ var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx124(
9638
9610
  DialogPrimitive2.Title,
9639
9611
  {
9640
9612
  ref,
@@ -9644,7 +9616,7 @@ var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
9644
9616
  }
9645
9617
  ));
9646
9618
  DrawerTitle.displayName = DialogPrimitive2.Title.displayName;
9647
- var DrawerDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx125(
9619
+ var DrawerDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx124(
9648
9620
  DialogPrimitive2.Description,
9649
9621
  {
9650
9622
  ref,
@@ -10077,7 +10049,7 @@ function useDatePickerWheel({
10077
10049
  }
10078
10050
 
10079
10051
  // src/datepicker/DatePickerWheelColumn.tsx
10080
- import { jsx as jsx126, jsxs as jsxs83 } from "react/jsx-runtime";
10052
+ import { jsx as jsx125, jsxs as jsxs82 } from "react/jsx-runtime";
10081
10053
  var spacerHeight = DATE_PICKER_OPTION_HEIGHT * DATE_PICKER_WHEEL_BUFFER_OPTIONS;
10082
10054
  function DatePickerWheelColumn({
10083
10055
  id,
@@ -10091,7 +10063,7 @@ function DatePickerWheelColumn({
10091
10063
  onOptionSelect,
10092
10064
  column
10093
10065
  }) {
10094
- return /* @__PURE__ */ jsx126("div", { className: "relative z-10 min-w-0", children: /* @__PURE__ */ jsxs83(
10066
+ return /* @__PURE__ */ jsx125("div", { className: "relative z-10 min-w-0", children: /* @__PURE__ */ jsxs82(
10095
10067
  "div",
10096
10068
  {
10097
10069
  id,
@@ -10108,14 +10080,14 @@ function DatePickerWheelColumn({
10108
10080
  WebkitOverflowScrolling: "touch"
10109
10081
  },
10110
10082
  children: [
10111
- /* @__PURE__ */ jsx126("div", { style: { height: `${spacerHeight}px` } }),
10083
+ /* @__PURE__ */ jsx125("div", { style: { height: `${spacerHeight}px` } }),
10112
10084
  items.map((item, index) => {
10113
10085
  const { style } = getWheelOptionStyles(
10114
10086
  index,
10115
10087
  scrollTop,
10116
10088
  DATE_PICKER_OPTION_HEIGHT
10117
10089
  );
10118
- return /* @__PURE__ */ jsx126(
10090
+ return /* @__PURE__ */ jsx125(
10119
10091
  "button",
10120
10092
  {
10121
10093
  id: `${id}-option-${index}`,
@@ -10131,14 +10103,14 @@ function DatePickerWheelColumn({
10131
10103
  `${column}-${item}-${index}`
10132
10104
  );
10133
10105
  }),
10134
- /* @__PURE__ */ jsx126("div", { style: { height: `${spacerHeight}px` } })
10106
+ /* @__PURE__ */ jsx125("div", { style: { height: `${spacerHeight}px` } })
10135
10107
  ]
10136
10108
  }
10137
10109
  ) });
10138
10110
  }
10139
10111
 
10140
10112
  // src/datepicker/DatePickerContent.tsx
10141
- import { jsx as jsx127, jsxs as jsxs84 } from "react/jsx-runtime";
10113
+ import { jsx as jsx126, jsxs as jsxs83 } from "react/jsx-runtime";
10142
10114
  function DatePickerBody({
10143
10115
  baseId,
10144
10116
  label,
@@ -10160,19 +10132,19 @@ function DatePickerBody({
10160
10132
  onOptionSelect,
10161
10133
  onDone
10162
10134
  }) {
10163
- return /* @__PURE__ */ jsxs84("div", { className: "px-6 pb-4 pt-1 bg-white", children: [
10164
- /* @__PURE__ */ jsxs84("div", { className: "relative overflow-hidden rounded-[24px]", children: [
10165
- /* @__PURE__ */ jsx127("div", { className: "pointer-events-none absolute inset-x-0 top-0 z-20 h-16 bg-gradient-to-b from-white via-white/80 to-transparent" }),
10166
- /* @__PURE__ */ jsx127("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 z-20 h-16 bg-gradient-to-t from-white via-white/80 to-transparent" }),
10167
- /* @__PURE__ */ jsx127(
10135
+ return /* @__PURE__ */ jsxs83("div", { className: "px-6 pb-4 pt-1 bg-white", children: [
10136
+ /* @__PURE__ */ jsxs83("div", { className: "relative overflow-hidden rounded-[24px]", children: [
10137
+ /* @__PURE__ */ jsx126("div", { className: "pointer-events-none absolute inset-x-0 top-0 z-20 h-16 bg-gradient-to-b from-white via-white/80 to-transparent" }),
10138
+ /* @__PURE__ */ jsx126("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 z-20 h-16 bg-gradient-to-t from-white via-white/80 to-transparent" }),
10139
+ /* @__PURE__ */ jsx126(
10168
10140
  "div",
10169
10141
  {
10170
10142
  "aria-hidden": true,
10171
10143
  className: "pointer-events-none absolute inset-x-0 top-1/2 z-0 h-8 -translate-y-1/2 rounded-[12px] bg-black/[0.04]"
10172
10144
  }
10173
10145
  ),
10174
- /* @__PURE__ */ jsxs84("div", { className: "relative grid grid-cols-[1.35fr_0.7fr_1fr] gap-1", children: [
10175
- /* @__PURE__ */ jsx127(
10146
+ /* @__PURE__ */ jsxs83("div", { className: "relative grid grid-cols-[1.35fr_0.7fr_1fr] gap-1", children: [
10147
+ /* @__PURE__ */ jsx126(
10176
10148
  DatePickerWheelColumn,
10177
10149
  {
10178
10150
  id: `${baseId}-month`,
@@ -10187,7 +10159,7 @@ function DatePickerBody({
10187
10159
  onOptionSelect
10188
10160
  }
10189
10161
  ),
10190
- /* @__PURE__ */ jsx127(
10162
+ /* @__PURE__ */ jsx126(
10191
10163
  DatePickerWheelColumn,
10192
10164
  {
10193
10165
  id: `${baseId}-day`,
@@ -10202,7 +10174,7 @@ function DatePickerBody({
10202
10174
  onOptionSelect
10203
10175
  }
10204
10176
  ),
10205
- /* @__PURE__ */ jsx127(
10177
+ /* @__PURE__ */ jsx126(
10206
10178
  DatePickerWheelColumn,
10207
10179
  {
10208
10180
  id: `${baseId}-year`,
@@ -10219,7 +10191,7 @@ function DatePickerBody({
10219
10191
  )
10220
10192
  ] })
10221
10193
  ] }),
10222
- /* @__PURE__ */ jsx127(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
10194
+ /* @__PURE__ */ jsx126(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
10223
10195
  ] });
10224
10196
  }
10225
10197
  function DatePickerContent({
@@ -10247,7 +10219,7 @@ function DatePickerContent({
10247
10219
  onColumnKeyDown,
10248
10220
  onOptionSelect
10249
10221
  }) {
10250
- const body = /* @__PURE__ */ jsx127(
10222
+ const body = /* @__PURE__ */ jsx126(
10251
10223
  DatePickerBody,
10252
10224
  {
10253
10225
  baseId,
@@ -10272,27 +10244,27 @@ function DatePickerContent({
10272
10244
  }
10273
10245
  );
10274
10246
  if (isMobile) {
10275
- return /* @__PURE__ */ jsx127(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs84(
10247
+ return /* @__PURE__ */ jsx126(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs83(
10276
10248
  DrawerContent,
10277
10249
  {
10278
10250
  onClose: () => onOpenChange(false),
10279
10251
  className: "rounded-none rounded-t-[32px] border-0 p-0",
10280
10252
  children: [
10281
- /* @__PURE__ */ jsx127(DrawerTitle, { className: "sr-only", children: title }),
10282
- /* @__PURE__ */ jsx127(DrawerDescription, { className: "sr-only", children: label }),
10253
+ /* @__PURE__ */ jsx126(DrawerTitle, { className: "sr-only", children: title }),
10254
+ /* @__PURE__ */ jsx126(DrawerDescription, { className: "sr-only", children: label }),
10283
10255
  body
10284
10256
  ]
10285
10257
  }
10286
10258
  ) });
10287
10259
  }
10288
- return /* @__PURE__ */ jsx127(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs84(
10260
+ return /* @__PURE__ */ jsx126(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs83(
10289
10261
  DialogContent,
10290
10262
  {
10291
10263
  className: "max-w-[520px] rounded-[28px] border-0 p-0 shadow-xl",
10292
10264
  showCloseButton: false,
10293
10265
  children: [
10294
- /* @__PURE__ */ jsx127(DialogTitle, { className: "sr-only", children: title }),
10295
- /* @__PURE__ */ jsx127(DialogDescription, { className: "sr-only", children: label }),
10266
+ /* @__PURE__ */ jsx126(DialogTitle, { className: "sr-only", children: title }),
10267
+ /* @__PURE__ */ jsx126(DialogDescription, { className: "sr-only", children: label }),
10296
10268
  body
10297
10269
  ]
10298
10270
  }
@@ -10316,12 +10288,12 @@ var DEVICE = {
10316
10288
 
10317
10289
  // src/field-trigger/FieldTrigger.tsx
10318
10290
  import * as React32 from "react";
10319
- import { Loader2 as Loader25 } from "lucide-react";
10320
- import { useTranslation as useTranslation23 } from "react-i18next";
10291
+ import { Loader2 as Loader24 } from "lucide-react";
10292
+ import { useTranslation as useTranslation24 } from "react-i18next";
10321
10293
 
10322
10294
  // src/field-error-message/FieldErrorMessage.tsx
10323
10295
  import { AlertCircle as AlertCircle3 } from "lucide-react";
10324
- import { jsx as jsx128, jsxs as jsxs85 } from "react/jsx-runtime";
10296
+ import { jsx as jsx127, jsxs as jsxs84 } from "react/jsx-runtime";
10325
10297
  function FieldErrorMessage({
10326
10298
  id,
10327
10299
  message,
@@ -10332,7 +10304,7 @@ function FieldErrorMessage({
10332
10304
  }) {
10333
10305
  const content = message ?? children;
10334
10306
  if (!content) return null;
10335
- return /* @__PURE__ */ jsxs85(
10307
+ return /* @__PURE__ */ jsxs84(
10336
10308
  "p",
10337
10309
  {
10338
10310
  id,
@@ -10344,21 +10316,21 @@ function FieldErrorMessage({
10344
10316
  ),
10345
10317
  ...props,
10346
10318
  children: [
10347
- /* @__PURE__ */ jsx128(
10319
+ /* @__PURE__ */ jsx127(
10348
10320
  AlertCircle3,
10349
10321
  {
10350
10322
  className: "h-[18px] w-[18px] shrink-0 text-white",
10351
10323
  fill: "var(--error-message-color)"
10352
10324
  }
10353
10325
  ),
10354
- /* @__PURE__ */ jsx128("span", { children: content })
10326
+ /* @__PURE__ */ jsx127("span", { children: content })
10355
10327
  ]
10356
10328
  }
10357
10329
  );
10358
10330
  }
10359
10331
 
10360
10332
  // src/field-trigger/FieldTrigger.tsx
10361
- import { Fragment as Fragment12, jsx as jsx129, jsxs as jsxs86 } from "react/jsx-runtime";
10333
+ import { Fragment as Fragment12, jsx as jsx128, jsxs as jsxs85 } from "react/jsx-runtime";
10362
10334
  var FieldTrigger = React32.forwardRef(
10363
10335
  ({
10364
10336
  as = "button",
@@ -10390,20 +10362,20 @@ var FieldTrigger = React32.forwardRef(
10390
10362
  onKeyDown,
10391
10363
  ...props
10392
10364
  }, ref) => {
10393
- const { t } = useTranslation23();
10365
+ const { t } = useTranslation24();
10394
10366
  const hasValue = Boolean(valueText);
10395
10367
  const isRaised = hasValue || forceFloatingLabel;
10396
10368
  const optionalLabel = optional ? typeof optional === "string" ? optional : t("optional") : void 0;
10397
10369
  const visibleLabelText = labelText ?? label;
10398
10370
  const hasLabelMeta = Boolean(optionalLabel) || Boolean(tooltip);
10399
- const resolvedLabelText = visibleLabelText && hasLabelMeta ? /* @__PURE__ */ jsxs86("span", { className: "inline-flex max-w-full items-center gap-1.5 align-middle", children: [
10400
- /* @__PURE__ */ jsx129("span", { className: "min-w-0 truncate", children: visibleLabelText }),
10401
- optionalLabel && /* @__PURE__ */ jsxs86("span", { className: "shrink-0 text-[12px] relative top-[1px] font-normal leading-4 text-current opacity-70", children: [
10371
+ const resolvedLabelText = visibleLabelText && hasLabelMeta ? /* @__PURE__ */ jsxs85("span", { className: "inline-flex max-w-full items-center gap-1.5 align-middle", children: [
10372
+ /* @__PURE__ */ jsx128("span", { className: "min-w-0 truncate", children: visibleLabelText }),
10373
+ optionalLabel && /* @__PURE__ */ jsxs85("span", { className: "shrink-0 text-[12px] relative top-[1px] font-normal leading-4 text-current opacity-70", children: [
10402
10374
  "(",
10403
10375
  optionalLabel,
10404
10376
  ")"
10405
10377
  ] }),
10406
- tooltip && /* @__PURE__ */ jsx129(
10378
+ tooltip && /* @__PURE__ */ jsx128(
10407
10379
  HelpTooltip,
10408
10380
  {
10409
10381
  content: tooltip,
@@ -10419,10 +10391,10 @@ var FieldTrigger = React32.forwardRef(
10419
10391
  const hasInvalidState = Boolean(error);
10420
10392
  const errorMessage = typeof error === "string" ? error : void 0;
10421
10393
  const isBlocked = Boolean(disabled) || Boolean(loading);
10422
- const resolvedTrailingAdornment = loading || trailingAdornment ? /* @__PURE__ */ jsxs86("span", { className: "flex items-center gap-2", children: [
10394
+ const resolvedTrailingAdornment = loading || trailingAdornment ? /* @__PURE__ */ jsxs85("span", { className: "flex items-center gap-2", children: [
10423
10395
  trailingAdornment,
10424
- loading && /* @__PURE__ */ jsx129(
10425
- Loader25,
10396
+ loading && /* @__PURE__ */ jsx128(
10397
+ Loader24,
10426
10398
  {
10427
10399
  "aria-hidden": "true",
10428
10400
  className: "h-5 w-5 animate-spin text-[var(--chekin-color-gray-1)]"
@@ -10437,8 +10409,8 @@ var FieldTrigger = React32.forwardRef(
10437
10409
  disabled ? "cursor-not-allowed opacity-50" : loading ? "cursor-progress" : isAirbnbVariant ? "cursor-pointer" : "cursor-text",
10438
10410
  className
10439
10411
  );
10440
- const sharedContent = /* @__PURE__ */ jsxs86(Fragment12, { children: [
10441
- /* @__PURE__ */ jsxs86(
10412
+ const sharedContent = /* @__PURE__ */ jsxs85(Fragment12, { children: [
10413
+ /* @__PURE__ */ jsxs85(
10442
10414
  "span",
10443
10415
  {
10444
10416
  className: cn(
@@ -10447,7 +10419,7 @@ var FieldTrigger = React32.forwardRef(
10447
10419
  contentClassName
10448
10420
  ),
10449
10421
  children: [
10450
- /* @__PURE__ */ jsx129(
10422
+ /* @__PURE__ */ jsx128(
10451
10423
  "span",
10452
10424
  {
10453
10425
  id: labelId,
@@ -10460,7 +10432,7 @@ var FieldTrigger = React32.forwardRef(
10460
10432
  children: animatedLabel
10461
10433
  }
10462
10434
  ),
10463
- children ? children : hasValue ? /* @__PURE__ */ jsx129(
10435
+ children ? children : hasValue ? /* @__PURE__ */ jsx128(
10464
10436
  "span",
10465
10437
  {
10466
10438
  id: valueId,
@@ -10471,11 +10443,11 @@ var FieldTrigger = React32.forwardRef(
10471
10443
  ),
10472
10444
  children: valueText
10473
10445
  }
10474
- ) : /* @__PURE__ */ jsx129("span", { id: helperTextId, className: "sr-only", children: placeholder ?? label })
10446
+ ) : /* @__PURE__ */ jsx128("span", { id: helperTextId, className: "sr-only", children: placeholder ?? label })
10475
10447
  ]
10476
10448
  }
10477
10449
  ),
10478
- resolvedTrailingAdornment && /* @__PURE__ */ jsx129(
10450
+ resolvedTrailingAdornment && /* @__PURE__ */ jsx128(
10479
10451
  "span",
10480
10452
  {
10481
10453
  "aria-hidden": "true",
@@ -10487,9 +10459,9 @@ var FieldTrigger = React32.forwardRef(
10487
10459
  }
10488
10460
  )
10489
10461
  ] });
10490
- return /* @__PURE__ */ jsxs86("div", { className: "w-full", children: [
10491
- topLabel && /* @__PURE__ */ jsx129("p", { className: "mb-3 text-[16px] font-semibold leading-5 text-[#222222]", children: topLabel }),
10492
- as === "button" ? /* @__PURE__ */ jsx129(
10462
+ return /* @__PURE__ */ jsxs85("div", { className: "w-full", children: [
10463
+ topLabel && /* @__PURE__ */ jsx128("p", { className: "mb-3 text-[16px] font-semibold leading-5 text-[#222222]", children: topLabel }),
10464
+ as === "button" ? /* @__PURE__ */ jsx128(
10493
10465
  "button",
10494
10466
  {
10495
10467
  id,
@@ -10506,7 +10478,7 @@ var FieldTrigger = React32.forwardRef(
10506
10478
  ...props,
10507
10479
  children: sharedContent
10508
10480
  }
10509
- ) : /* @__PURE__ */ jsx129(
10481
+ ) : /* @__PURE__ */ jsx128(
10510
10482
  "div",
10511
10483
  {
10512
10484
  id,
@@ -10523,14 +10495,14 @@ var FieldTrigger = React32.forwardRef(
10523
10495
  children: sharedContent
10524
10496
  }
10525
10497
  ),
10526
- errorMessage && !hideErrorMessage && /* @__PURE__ */ jsx129(FieldErrorMessage, { id: errorId, message: errorMessage })
10498
+ errorMessage && !hideErrorMessage && /* @__PURE__ */ jsx128(FieldErrorMessage, { id: errorId, message: errorMessage })
10527
10499
  ] });
10528
10500
  }
10529
10501
  );
10530
10502
  FieldTrigger.displayName = "FieldTrigger";
10531
10503
 
10532
10504
  // src/datepicker/DatePicker.tsx
10533
- import { jsx as jsx130, jsxs as jsxs87 } from "react/jsx-runtime";
10505
+ import { jsx as jsx129, jsxs as jsxs86 } from "react/jsx-runtime";
10534
10506
  var DEFAULT_MIN_DATE = new Date(1920, 0, 1);
10535
10507
  var DatePicker = React33.forwardRef(
10536
10508
  ({
@@ -10647,8 +10619,8 @@ var DatePicker = React33.forwardRef(
10647
10619
  setIsOpen(false);
10648
10620
  }
10649
10621
  }, [isBlocked]);
10650
- return /* @__PURE__ */ jsxs87("div", { className: cn("relative w-full max-w-[var(--max-field-width)]", className), children: [
10651
- name && /* @__PURE__ */ jsx130(
10622
+ return /* @__PURE__ */ jsxs86("div", { className: cn("relative w-full max-w-[var(--max-field-width)]", className), children: [
10623
+ name && /* @__PURE__ */ jsx129(
10652
10624
  "input",
10653
10625
  {
10654
10626
  type: "hidden",
@@ -10656,7 +10628,7 @@ var DatePicker = React33.forwardRef(
10656
10628
  value: resolvedValue ? formatDateInputValue(resolvedValue) : ""
10657
10629
  }
10658
10630
  ),
10659
- /* @__PURE__ */ jsx130(
10631
+ /* @__PURE__ */ jsx129(
10660
10632
  FieldTrigger,
10661
10633
  {
10662
10634
  id: triggerId,
@@ -10683,10 +10655,10 @@ var DatePicker = React33.forwardRef(
10683
10655
  onClick: handleTriggerClick,
10684
10656
  onKeyDown: handleTriggerKeyDown,
10685
10657
  onBlur,
10686
- trailingAdornment: /* @__PURE__ */ jsx130(Calendar2, { className: "h-5 w-5 text-[#1F1F1B]", strokeWidth: 2 })
10658
+ trailingAdornment: /* @__PURE__ */ jsx129(Calendar2, { className: "h-5 w-5 text-[#1F1F1B]", strokeWidth: 2 })
10687
10659
  }
10688
10660
  ),
10689
- /* @__PURE__ */ jsx130(
10661
+ /* @__PURE__ */ jsx129(
10690
10662
  DatePickerContent,
10691
10663
  {
10692
10664
  baseId: pickerId,
@@ -10720,7 +10692,7 @@ var DatePicker = React33.forwardRef(
10720
10692
  DatePicker.displayName = "DatePicker";
10721
10693
 
10722
10694
  // src/responsive-sheet/ResponsiveSheet.tsx
10723
- import { jsx as jsx131, jsxs as jsxs88 } from "react/jsx-runtime";
10695
+ import { jsx as jsx130, jsxs as jsxs87 } from "react/jsx-runtime";
10724
10696
  function ResponsiveSheet({
10725
10697
  open,
10726
10698
  onClose,
@@ -10755,7 +10727,7 @@ function ResponsiveSheet({
10755
10727
  event.preventDefault();
10756
10728
  }
10757
10729
  };
10758
- const content = /* @__PURE__ */ jsxs88(
10730
+ const content = /* @__PURE__ */ jsxs87(
10759
10731
  "div",
10760
10732
  {
10761
10733
  className: cn(
@@ -10763,7 +10735,7 @@ function ResponsiveSheet({
10763
10735
  contentClassName
10764
10736
  ),
10765
10737
  children: [
10766
- title ? /* @__PURE__ */ jsx131(
10738
+ title ? /* @__PURE__ */ jsx130(
10767
10739
  "div",
10768
10740
  {
10769
10741
  className: cn(
@@ -10773,7 +10745,7 @@ function ResponsiveSheet({
10773
10745
  children: title
10774
10746
  }
10775
10747
  ) : null,
10776
- description ? /* @__PURE__ */ jsx131(
10748
+ description ? /* @__PURE__ */ jsx130(
10777
10749
  "p",
10778
10750
  {
10779
10751
  className: cn(
@@ -10788,7 +10760,7 @@ function ResponsiveSheet({
10788
10760
  }
10789
10761
  );
10790
10762
  if (isMobileMode) {
10791
- return /* @__PURE__ */ jsx131(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs88(
10763
+ return /* @__PURE__ */ jsx130(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs87(
10792
10764
  DrawerContent,
10793
10765
  {
10794
10766
  onClose,
@@ -10798,14 +10770,14 @@ function ResponsiveSheet({
10798
10770
  onEscapeKeyDown: handleEscapeKeyDown,
10799
10771
  className: cn(className, drawerClassName),
10800
10772
  children: [
10801
- title ? /* @__PURE__ */ jsx131(DrawerTitle, { className: "sr-only", children: title }) : null,
10802
- description ? /* @__PURE__ */ jsx131(DrawerDescription, { className: "sr-only", children: description }) : null,
10773
+ title ? /* @__PURE__ */ jsx130(DrawerTitle, { className: "sr-only", children: title }) : null,
10774
+ description ? /* @__PURE__ */ jsx130(DrawerDescription, { className: "sr-only", children: description }) : null,
10803
10775
  content
10804
10776
  ]
10805
10777
  }
10806
10778
  ) });
10807
10779
  }
10808
- return /* @__PURE__ */ jsx131(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs88(
10780
+ return /* @__PURE__ */ jsx130(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs87(
10809
10781
  DialogContent,
10810
10782
  {
10811
10783
  showCloseButton,
@@ -10815,8 +10787,8 @@ function ResponsiveSheet({
10815
10787
  className: cn("max-w-[560px] border-0 p-0 shadow-xl", className, dialogClassName),
10816
10788
  lockScroll: false,
10817
10789
  children: [
10818
- title ? /* @__PURE__ */ jsx131(DialogTitle, { className: "sr-only", children: title }) : null,
10819
- description ? /* @__PURE__ */ jsx131(DialogDescription, { className: "sr-only", children: description }) : null,
10790
+ title ? /* @__PURE__ */ jsx130(DialogTitle, { className: "sr-only", children: title }) : null,
10791
+ description ? /* @__PURE__ */ jsx130(DialogDescription, { className: "sr-only", children: description }) : null,
10820
10792
  content
10821
10793
  ]
10822
10794
  }
@@ -10825,7 +10797,7 @@ function ResponsiveSheet({
10825
10797
 
10826
10798
  // src/airbnb/input/Input.tsx
10827
10799
  import * as React34 from "react";
10828
- import { jsx as jsx132 } from "react/jsx-runtime";
10800
+ import { jsx as jsx131 } from "react/jsx-runtime";
10829
10801
  var getInputValue = (value) => value != null ? String(value) : "";
10830
10802
  var AirbnbInput = React34.forwardRef(
10831
10803
  ({
@@ -10908,7 +10880,7 @@ var AirbnbInput = React34.forwardRef(
10908
10880
  setIsFocused(false);
10909
10881
  onBlur?.(event);
10910
10882
  };
10911
- return /* @__PURE__ */ jsx132("div", { className: cn("w-full max-w-[var(--max-field-width)]", wrapperClassName), children: /* @__PURE__ */ jsx132(
10883
+ return /* @__PURE__ */ jsx131("div", { className: cn("w-full max-w-[var(--max-field-width)]", wrapperClassName), children: /* @__PURE__ */ jsx131(
10912
10884
  FieldTrigger,
10913
10885
  {
10914
10886
  as: "div",
@@ -10940,7 +10912,7 @@ var AirbnbInput = React34.forwardRef(
10940
10912
  forceFloatingLabel: shouldShowLabel,
10941
10913
  forceLabelText: hasLabelMeta,
10942
10914
  hideErrorMessage: !renderErrorMessage,
10943
- children: /* @__PURE__ */ jsx132(
10915
+ children: /* @__PURE__ */ jsx131(
10944
10916
  "input",
10945
10917
  {
10946
10918
  ...props,
@@ -10983,7 +10955,7 @@ import { ChevronDown as ChevronDown2 } from "lucide-react";
10983
10955
  import * as React39 from "react";
10984
10956
 
10985
10957
  // src/airbnb/select/SelectDesktopMenu.tsx
10986
- import { jsx as jsx133, jsxs as jsxs89 } from "react/jsx-runtime";
10958
+ import { jsx as jsx132, jsxs as jsxs88 } from "react/jsx-runtime";
10987
10959
  function SelectDesktopMenu({
10988
10960
  id,
10989
10961
  options,
@@ -11002,7 +10974,7 @@ function SelectDesktopMenu({
11002
10974
  noOptionsMessage
11003
10975
  }) {
11004
10976
  const emptyMessage = noOptionsMessage?.();
11005
- return /* @__PURE__ */ jsxs89(
10977
+ return /* @__PURE__ */ jsxs88(
11006
10978
  "div",
11007
10979
  {
11008
10980
  id,
@@ -11015,12 +10987,12 @@ function SelectDesktopMenu({
11015
10987
  onKeyDown,
11016
10988
  className: cn("max-h-[280px] overflow-y-auto p-2 outline-none", menuClassName),
11017
10989
  children: [
11018
- options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx133("div", { className: "px-4 py-3 text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
10990
+ options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx132("div", { className: "px-4 py-3 text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
11019
10991
  options.map((option, index) => {
11020
10992
  const isSelected = selectedValue?.value === option.value;
11021
10993
  const isHighlighted = index === highlightedIndex;
11022
10994
  const optionKey = `${String(option.value)}-${index}`;
11023
- return /* @__PURE__ */ jsx133(
10995
+ return /* @__PURE__ */ jsx132(
11024
10996
  "button",
11025
10997
  {
11026
10998
  id: getOptionId2(index),
@@ -11052,7 +11024,7 @@ function SelectDesktopMenu({
11052
11024
  }
11053
11025
 
11054
11026
  // src/airbnb/select/SelectDesktopContent.tsx
11055
- import { jsx as jsx134 } from "react/jsx-runtime";
11027
+ import { jsx as jsx133 } from "react/jsx-runtime";
11056
11028
  function SelectDesktopContent({
11057
11029
  isOpen,
11058
11030
  listboxId,
@@ -11073,14 +11045,14 @@ function SelectDesktopContent({
11073
11045
  noOptionsMessage
11074
11046
  }) {
11075
11047
  if (!isOpen) return null;
11076
- return /* @__PURE__ */ jsx134(
11048
+ return /* @__PURE__ */ jsx133(
11077
11049
  "div",
11078
11050
  {
11079
11051
  className: cn(
11080
11052
  "absolute left-0 right-0 top-[calc(100%+8px)] z-20 overflow-hidden rounded-[20px] border border-[#DEDAD2] bg-white shadow-[0_14px_30px_rgba(18,18,18,0.08)]",
11081
11053
  dropdownClassName
11082
11054
  ),
11083
- children: /* @__PURE__ */ jsx134(
11055
+ children: /* @__PURE__ */ jsx133(
11084
11056
  SelectDesktopMenu,
11085
11057
  {
11086
11058
  id: listboxId,
@@ -11178,7 +11150,7 @@ function getMobileOptionStyles(index, scrollTop) {
11178
11150
  }
11179
11151
 
11180
11152
  // src/airbnb/select/SelectMobileWheel.tsx
11181
- import { jsx as jsx135, jsxs as jsxs90 } from "react/jsx-runtime";
11153
+ import { jsx as jsx134, jsxs as jsxs89 } from "react/jsx-runtime";
11182
11154
  function SelectMobileWheel({
11183
11155
  id,
11184
11156
  options,
@@ -11197,7 +11169,7 @@ function SelectMobileWheel({
11197
11169
  }) {
11198
11170
  const spacerHeight2 = getWheelSpacerHeight();
11199
11171
  const emptyMessage = noOptionsMessage?.();
11200
- return /* @__PURE__ */ jsxs90(
11172
+ return /* @__PURE__ */ jsxs89(
11201
11173
  "div",
11202
11174
  {
11203
11175
  id,
@@ -11209,10 +11181,10 @@ function SelectMobileWheel({
11209
11181
  onKeyDown,
11210
11182
  className: cn("relative overflow-hidden outline-none", menuClassName),
11211
11183
  children: [
11212
- options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx135("div", { className: "flex min-h-[160px] items-center justify-center px-4 text-center text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
11213
- /* @__PURE__ */ jsx135("div", { className: "pointer-events-none absolute inset-x-0 top-0 h-16 bg-gradient-to-b from-white via-white/80 to-transparent" }),
11214
- /* @__PURE__ */ jsx135("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-white via-white/80 to-transparent" }),
11215
- /* @__PURE__ */ jsx135(
11184
+ options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx134("div", { className: "flex min-h-[160px] items-center justify-center px-4 text-center text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
11185
+ /* @__PURE__ */ jsx134("div", { className: "pointer-events-none absolute inset-x-0 top-0 h-16 bg-gradient-to-b from-white via-white/80 to-transparent" }),
11186
+ /* @__PURE__ */ jsx134("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-white via-white/80 to-transparent" }),
11187
+ /* @__PURE__ */ jsx134(
11216
11188
  "div",
11217
11189
  {
11218
11190
  "aria-hidden": true,
@@ -11222,7 +11194,7 @@ function SelectMobileWheel({
11222
11194
  )
11223
11195
  }
11224
11196
  ),
11225
- /* @__PURE__ */ jsxs90(
11197
+ /* @__PURE__ */ jsxs89(
11226
11198
  "div",
11227
11199
  {
11228
11200
  ref: listRef,
@@ -11237,11 +11209,11 @@ function SelectMobileWheel({
11237
11209
  WebkitOverflowScrolling: "touch"
11238
11210
  },
11239
11211
  children: [
11240
- /* @__PURE__ */ jsx135("div", { style: { height: `${spacerHeight2}px` } }),
11212
+ /* @__PURE__ */ jsx134("div", { style: { height: `${spacerHeight2}px` } }),
11241
11213
  options.map((option, index) => {
11242
11214
  const { distance, style } = getMobileOptionStyles(index, scrollTop);
11243
11215
  const optionKey = `${String(option.value)}-${index}`;
11244
- return /* @__PURE__ */ jsx135(
11216
+ return /* @__PURE__ */ jsx134(
11245
11217
  "button",
11246
11218
  {
11247
11219
  id: getOptionId2(index),
@@ -11262,7 +11234,7 @@ function SelectMobileWheel({
11262
11234
  optionKey
11263
11235
  );
11264
11236
  }),
11265
- /* @__PURE__ */ jsx135("div", { style: { height: `${spacerHeight2}px` } })
11237
+ /* @__PURE__ */ jsx134("div", { style: { height: `${spacerHeight2}px` } })
11266
11238
  ]
11267
11239
  }
11268
11240
  )
@@ -11272,7 +11244,7 @@ function SelectMobileWheel({
11272
11244
  }
11273
11245
 
11274
11246
  // src/airbnb/select/SelectMobileContent.tsx
11275
- import { jsx as jsx136, jsxs as jsxs91 } from "react/jsx-runtime";
11247
+ import { jsx as jsx135, jsxs as jsxs90 } from "react/jsx-runtime";
11276
11248
  function SelectMobileContent({
11277
11249
  open,
11278
11250
  onOpenChange,
@@ -11296,11 +11268,11 @@ function SelectMobileContent({
11296
11268
  getOptionId: getOptionId2,
11297
11269
  noOptionsMessage
11298
11270
  }) {
11299
- return /* @__PURE__ */ jsx136(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs91(DrawerContent, { onClose, lockScroll: false, children: [
11300
- /* @__PURE__ */ jsx136(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
11301
- /* @__PURE__ */ jsx136(DrawerDescription, { className: "sr-only", children: label }),
11302
- /* @__PURE__ */ jsxs91("div", { className: "px-6 pb-4 pt-1", children: [
11303
- /* @__PURE__ */ jsx136(
11271
+ return /* @__PURE__ */ jsx135(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs90(DrawerContent, { onClose, lockScroll: false, children: [
11272
+ /* @__PURE__ */ jsx135(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
11273
+ /* @__PURE__ */ jsx135(DrawerDescription, { className: "sr-only", children: label }),
11274
+ /* @__PURE__ */ jsxs90("div", { className: "px-6 pb-4 pt-1", children: [
11275
+ /* @__PURE__ */ jsx135(
11304
11276
  SelectMobileWheel,
11305
11277
  {
11306
11278
  id: listboxId,
@@ -11319,7 +11291,7 @@ function SelectMobileContent({
11319
11291
  noOptionsMessage
11320
11292
  }
11321
11293
  ),
11322
- /* @__PURE__ */ jsx136(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
11294
+ /* @__PURE__ */ jsx135(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
11323
11295
  ] })
11324
11296
  ] }) });
11325
11297
  }
@@ -11327,7 +11299,7 @@ function SelectMobileContent({
11327
11299
  // src/airbnb/select/SelectTrigger.tsx
11328
11300
  import * as React35 from "react";
11329
11301
  import { ChevronDown } from "lucide-react";
11330
- import { jsx as jsx137 } from "react/jsx-runtime";
11302
+ import { jsx as jsx136 } from "react/jsx-runtime";
11331
11303
  var SelectTrigger2 = React35.forwardRef(
11332
11304
  ({
11333
11305
  id,
@@ -11353,7 +11325,7 @@ var SelectTrigger2 = React35.forwardRef(
11353
11325
  onKeyDown,
11354
11326
  onBlur
11355
11327
  }, ref) => {
11356
- return /* @__PURE__ */ jsx137(
11328
+ return /* @__PURE__ */ jsx136(
11357
11329
  FieldTrigger,
11358
11330
  {
11359
11331
  id,
@@ -11382,7 +11354,7 @@ var SelectTrigger2 = React35.forwardRef(
11382
11354
  onClick,
11383
11355
  onKeyDown,
11384
11356
  onBlur,
11385
- trailingAdornment: /* @__PURE__ */ jsx137(
11357
+ trailingAdornment: /* @__PURE__ */ jsx136(
11386
11358
  ChevronDown,
11387
11359
  {
11388
11360
  className: open ? "h-6 w-6 rotate-180 text-[#1F1F1B] transition-transform" : "h-6 w-6 text-[#1F1F1B] transition-transform"
@@ -11744,7 +11716,7 @@ function useSelectIds({ name, hasValue, error, hideErrorMessage }) {
11744
11716
  }
11745
11717
 
11746
11718
  // src/airbnb/select/Select.tsx
11747
- import { jsx as jsx138, jsxs as jsxs92 } from "react/jsx-runtime";
11719
+ import { jsx as jsx137, jsxs as jsxs91 } from "react/jsx-runtime";
11748
11720
  var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11749
11721
  options = [],
11750
11722
  value,
@@ -11921,13 +11893,13 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11921
11893
  handleMobileOpenChange(false);
11922
11894
  }
11923
11895
  };
11924
- return /* @__PURE__ */ jsxs92(
11896
+ return /* @__PURE__ */ jsxs91(
11925
11897
  "div",
11926
11898
  {
11927
11899
  ref: containerRef,
11928
11900
  className: cn("relative w-full max-w-[var(--max-field-width)]", className),
11929
11901
  children: [
11930
- name && /* @__PURE__ */ jsx138("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
11902
+ name && /* @__PURE__ */ jsx137("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
11931
11903
  renderTrigger ? renderTrigger({
11932
11904
  id: triggerId,
11933
11905
  open: isOpen,
@@ -11949,7 +11921,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11949
11921
  onClick: handleTriggerClick,
11950
11922
  onKeyDown: handleRootTriggerKeyDown,
11951
11923
  onBlur
11952
- }) : /* @__PURE__ */ jsx138(
11924
+ }) : /* @__PURE__ */ jsx137(
11953
11925
  SelectTrigger2,
11954
11926
  {
11955
11927
  id: triggerId,
@@ -11977,7 +11949,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11977
11949
  onBlur
11978
11950
  }
11979
11951
  ),
11980
- isMobile ? /* @__PURE__ */ jsx138(
11952
+ isMobile ? /* @__PURE__ */ jsx137(
11981
11953
  SelectMobileContent,
11982
11954
  {
11983
11955
  open: isOpen,
@@ -12002,7 +11974,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
12002
11974
  getOptionId: getOptionId2,
12003
11975
  noOptionsMessage
12004
11976
  }
12005
- ) : /* @__PURE__ */ jsx138(
11977
+ ) : /* @__PURE__ */ jsx137(
12006
11978
  SelectDesktopContent,
12007
11979
  {
12008
11980
  isOpen,
@@ -12036,7 +12008,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
12036
12008
  });
12037
12009
 
12038
12010
  // src/airbnb/phone-field/PhoneField.tsx
12039
- import { jsx as jsx139, jsxs as jsxs93 } from "react/jsx-runtime";
12011
+ import { jsx as jsx138, jsxs as jsxs92 } from "react/jsx-runtime";
12040
12012
  function formatPhoneCodeOptionLabel(option) {
12041
12013
  const label = String(option.label);
12042
12014
  const value = String(option.value);
@@ -12083,9 +12055,9 @@ var PhoneField = React40.forwardRef(
12083
12055
  const hasInvalidState = Boolean(error) || Boolean(invalid);
12084
12056
  const isBlocked = Boolean(disabled) || Boolean(loading);
12085
12057
  const isCodeBlocked = isBlocked || Boolean(codeReadOnly);
12086
- return /* @__PURE__ */ jsxs93("div", { className: cn("w-full max-w-[var(--max-field-width)]", className), children: [
12087
- name && /* @__PURE__ */ jsx139("input", { type: "hidden", name, value: combinedValue, disabled }),
12088
- codeName && /* @__PURE__ */ jsx139(
12058
+ return /* @__PURE__ */ jsxs92("div", { className: cn("w-full max-w-[var(--max-field-width)]", className), children: [
12059
+ name && /* @__PURE__ */ jsx138("input", { type: "hidden", name, value: combinedValue, disabled }),
12060
+ codeName && /* @__PURE__ */ jsx138(
12089
12061
  "input",
12090
12062
  {
12091
12063
  type: "hidden",
@@ -12094,7 +12066,7 @@ var PhoneField = React40.forwardRef(
12094
12066
  disabled
12095
12067
  }
12096
12068
  ),
12097
- numberName && /* @__PURE__ */ jsx139(
12069
+ numberName && /* @__PURE__ */ jsx138(
12098
12070
  "input",
12099
12071
  {
12100
12072
  type: "hidden",
@@ -12103,7 +12075,7 @@ var PhoneField = React40.forwardRef(
12103
12075
  disabled
12104
12076
  }
12105
12077
  ),
12106
- topLabel && /* @__PURE__ */ jsx139(
12078
+ topLabel && /* @__PURE__ */ jsx138(
12107
12079
  "label",
12108
12080
  {
12109
12081
  htmlFor: inputId,
@@ -12111,8 +12083,8 @@ var PhoneField = React40.forwardRef(
12111
12083
  children: topLabel
12112
12084
  }
12113
12085
  ),
12114
- /* @__PURE__ */ jsxs93("div", { className: "flex items-stretch", children: [
12115
- /* @__PURE__ */ jsx139(
12086
+ /* @__PURE__ */ jsxs92("div", { className: "flex items-stretch", children: [
12087
+ /* @__PURE__ */ jsx138(
12116
12088
  AirbnbSelect,
12117
12089
  {
12118
12090
  ref,
@@ -12143,7 +12115,7 @@ var PhoneField = React40.forwardRef(
12143
12115
  onClick,
12144
12116
  onKeyDown,
12145
12117
  valueLabel
12146
- }) => /* @__PURE__ */ jsxs93(
12118
+ }) => /* @__PURE__ */ jsxs92(
12147
12119
  "button",
12148
12120
  {
12149
12121
  id,
@@ -12165,8 +12137,8 @@ var PhoneField = React40.forwardRef(
12165
12137
  triggerDisabled ? "cursor-not-allowed opacity-50" : triggerLoading ? "cursor-progress" : "cursor-pointer"
12166
12138
  ),
12167
12139
  children: [
12168
- /* @__PURE__ */ jsx139("span", { children: valueLabel ?? codePlaceholder }),
12169
- /* @__PURE__ */ jsx139(
12140
+ /* @__PURE__ */ jsx138("span", { children: valueLabel ?? codePlaceholder }),
12141
+ /* @__PURE__ */ jsx138(
12170
12142
  ChevronDown2,
12171
12143
  {
12172
12144
  className: cn("h-5 w-5 transition-transform", open ? "rotate-180" : ""),
@@ -12178,7 +12150,7 @@ var PhoneField = React40.forwardRef(
12178
12150
  )
12179
12151
  }
12180
12152
  ),
12181
- /* @__PURE__ */ jsx139(
12153
+ /* @__PURE__ */ jsx138(
12182
12154
  AirbnbInput,
12183
12155
  {
12184
12156
  id: inputId,
@@ -12210,7 +12182,7 @@ var PhoneField = React40.forwardRef(
12210
12182
  }
12211
12183
  )
12212
12184
  ] }),
12213
- error && /* @__PURE__ */ jsx139(FieldErrorMessage, { message: error })
12185
+ error && /* @__PURE__ */ jsx138(FieldErrorMessage, { message: error })
12214
12186
  ] });
12215
12187
  }
12216
12188
  );
@@ -12218,15 +12190,15 @@ PhoneField.displayName = "PhoneField";
12218
12190
 
12219
12191
  // src/airbnb/search-input/SearchInput.tsx
12220
12192
  import * as React41 from "react";
12221
- import { useTranslation as useTranslation24 } from "react-i18next";
12193
+ import { useTranslation as useTranslation25 } from "react-i18next";
12222
12194
  import { Search as Search3, X as X8 } from "lucide-react";
12223
- import { jsx as jsx140, jsxs as jsxs94 } from "react/jsx-runtime";
12195
+ import { jsx as jsx139, jsxs as jsxs93 } from "react/jsx-runtime";
12224
12196
  var AirbnbSearchInput = React41.forwardRef(({ onReset, placeholder, wrapperClassName, ...props }, ref) => {
12225
- const { t } = useTranslation24();
12197
+ const { t } = useTranslation25();
12226
12198
  const placeholderText = placeholder || t("search_property") + "...";
12227
- return /* @__PURE__ */ jsxs94("div", { className: cn("input-wrapper relative", wrapperClassName), children: [
12228
- /* @__PURE__ */ jsx140(Search3, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]" }),
12229
- /* @__PURE__ */ jsx140(
12199
+ return /* @__PURE__ */ jsxs93("div", { className: cn("input-wrapper relative", wrapperClassName), children: [
12200
+ /* @__PURE__ */ jsx139(Search3, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]" }),
12201
+ /* @__PURE__ */ jsx139(
12230
12202
  "input",
12231
12203
  {
12232
12204
  ...props,
@@ -12245,13 +12217,13 @@ var AirbnbSearchInput = React41.forwardRef(({ onReset, placeholder, wrapperClass
12245
12217
  )
12246
12218
  }
12247
12219
  ),
12248
- onReset && /* @__PURE__ */ jsx140(
12220
+ onReset && /* @__PURE__ */ jsx139(
12249
12221
  Button,
12250
12222
  {
12251
12223
  variant: "ghost",
12252
12224
  onClick: onReset,
12253
12225
  className: "absolute right-0 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]",
12254
- children: /* @__PURE__ */ jsx140(X8, { className: "h-5 w-5" })
12226
+ children: /* @__PURE__ */ jsx139(X8, { className: "h-5 w-5" })
12255
12227
  }
12256
12228
  )
12257
12229
  ] });
@@ -12263,7 +12235,7 @@ import * as React42 from "react";
12263
12235
  import { ChevronDown as ChevronDown3, Search as Search4 } from "lucide-react";
12264
12236
  import { useVirtualizer as useVirtualizer2 } from "@tanstack/react-virtual";
12265
12237
  import { useCallback as useCallback25 } from "react";
12266
- import { jsx as jsx141, jsxs as jsxs95 } from "react/jsx-runtime";
12238
+ import { jsx as jsx140, jsxs as jsxs94 } from "react/jsx-runtime";
12267
12239
  var ROW_HEIGHT = 48;
12268
12240
  var DESKTOP_LIST_HEIGHT = 280;
12269
12241
  var MOBILE_LIST_HEIGHT = 420;
@@ -12432,7 +12404,7 @@ var SearchableSelectInternal = ({
12432
12404
  }
12433
12405
  }
12434
12406
  }
12435
- const content = /* @__PURE__ */ jsx141(
12407
+ const content = /* @__PURE__ */ jsx140(
12436
12408
  SearchableSelectContent,
12437
12409
  {
12438
12410
  inputId: searchInputId,
@@ -12460,9 +12432,9 @@ var SearchableSelectInternal = ({
12460
12432
  }
12461
12433
  );
12462
12434
  React42.useImperativeHandle(ref, () => triggerRef.current, []);
12463
- return /* @__PURE__ */ jsxs95("div", { ref: containerRef, className: cn("relative w-full max-w-[425px]", className), children: [
12464
- name && /* @__PURE__ */ jsx141("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
12465
- /* @__PURE__ */ jsx141(
12435
+ return /* @__PURE__ */ jsxs94("div", { ref: containerRef, className: cn("relative w-full max-w-[425px]", className), children: [
12436
+ name && /* @__PURE__ */ jsx140("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
12437
+ /* @__PURE__ */ jsx140(
12466
12438
  FieldTrigger,
12467
12439
  {
12468
12440
  id: `${reactId}-trigger`,
@@ -12497,7 +12469,7 @@ var SearchableSelectInternal = ({
12497
12469
  },
12498
12470
  onKeyDown: handleTriggerKeyDown,
12499
12471
  onBlur,
12500
- trailingAdornment: /* @__PURE__ */ jsx141(
12472
+ trailingAdornment: /* @__PURE__ */ jsx140(
12501
12473
  ChevronDown3,
12502
12474
  {
12503
12475
  className: cn(
@@ -12508,7 +12480,7 @@ var SearchableSelectInternal = ({
12508
12480
  )
12509
12481
  }
12510
12482
  ),
12511
- isMobile ? /* @__PURE__ */ jsx141(
12483
+ isMobile ? /* @__PURE__ */ jsx140(
12512
12484
  Drawer,
12513
12485
  {
12514
12486
  open,
@@ -12520,13 +12492,13 @@ var SearchableSelectInternal = ({
12520
12492
  }
12521
12493
  closeSelect();
12522
12494
  },
12523
- children: /* @__PURE__ */ jsxs95(DrawerContent, { onClose: closeSelect, lockScroll: false, children: [
12524
- /* @__PURE__ */ jsx141(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
12525
- /* @__PURE__ */ jsx141(DrawerDescription, { className: "sr-only", children: label }),
12526
- /* @__PURE__ */ jsx141("div", { className: "px-5 pb-5 pt-1", children: content })
12495
+ children: /* @__PURE__ */ jsxs94(DrawerContent, { onClose: closeSelect, lockScroll: false, children: [
12496
+ /* @__PURE__ */ jsx140(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
12497
+ /* @__PURE__ */ jsx140(DrawerDescription, { className: "sr-only", children: label }),
12498
+ /* @__PURE__ */ jsx140("div", { className: "px-5 pb-5 pt-1", children: content })
12527
12499
  ] })
12528
12500
  }
12529
- ) : open ? /* @__PURE__ */ jsx141(
12501
+ ) : open ? /* @__PURE__ */ jsx140(
12530
12502
  "div",
12531
12503
  {
12532
12504
  className: cn(
@@ -12593,16 +12565,16 @@ function SearchableSelectContent({
12593
12565
  virtualizer.scrollToIndex(highlightedIndex, { align: "auto" });
12594
12566
  }
12595
12567
  }, [highlightedIndex, virtualizer]);
12596
- return /* @__PURE__ */ jsxs95("div", { className: "p-2", children: [
12597
- /* @__PURE__ */ jsxs95("div", { className: "relative mb-2", children: [
12598
- /* @__PURE__ */ jsx141(
12568
+ return /* @__PURE__ */ jsxs94("div", { className: "p-2", children: [
12569
+ /* @__PURE__ */ jsxs94("div", { className: "relative mb-2", children: [
12570
+ /* @__PURE__ */ jsx140(
12599
12571
  Search4,
12600
12572
  {
12601
12573
  "aria-hidden": "true",
12602
12574
  className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[#9696B9]"
12603
12575
  }
12604
12576
  ),
12605
- /* @__PURE__ */ jsx141(
12577
+ /* @__PURE__ */ jsx140(
12606
12578
  "input",
12607
12579
  {
12608
12580
  id: inputId,
@@ -12621,7 +12593,7 @@ function SearchableSelectContent({
12621
12593
  }
12622
12594
  )
12623
12595
  ] }),
12624
- loading && options.length === 0 ? /* @__PURE__ */ jsx141("div", { className: "px-4 py-5 text-center text-base leading-6 text-[#6C6C6C]", children: loadingText }) : options.length === 0 ? /* @__PURE__ */ jsx141("div", { className: "px-4 py-5 text-center text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : /* @__PURE__ */ jsx141(
12596
+ loading && options.length === 0 ? /* @__PURE__ */ jsx140("div", { className: "px-4 py-5 text-center text-base leading-6 text-[#6C6C6C]", children: loadingText }) : options.length === 0 ? /* @__PURE__ */ jsx140("div", { className: "px-4 py-5 text-center text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : /* @__PURE__ */ jsx140(
12625
12597
  "div",
12626
12598
  {
12627
12599
  id: listboxId,
@@ -12630,7 +12602,7 @@ function SearchableSelectContent({
12630
12602
  "aria-labelledby": labelId,
12631
12603
  className: cn("overflow-y-auto outline-none", menuClassName),
12632
12604
  style: { height: Math.min(height, rowCount * ROW_HEIGHT) },
12633
- children: /* @__PURE__ */ jsx141(
12605
+ children: /* @__PURE__ */ jsx140(
12634
12606
  "div",
12635
12607
  {
12636
12608
  className: "relative w-full",
@@ -12638,7 +12610,7 @@ function SearchableSelectContent({
12638
12610
  children: virtualItems.map((virtualItem) => {
12639
12611
  const option = options[virtualItem.index];
12640
12612
  if (!option) {
12641
- return /* @__PURE__ */ jsx141(
12613
+ return /* @__PURE__ */ jsx140(
12642
12614
  "div",
12643
12615
  {
12644
12616
  className: "absolute left-0 top-0 flex w-full items-center px-4 text-base leading-6 text-[#6C6C6C]",
@@ -12653,7 +12625,7 @@ function SearchableSelectContent({
12653
12625
  }
12654
12626
  const isSelected = value?.value === option.value;
12655
12627
  const isHighlighted = virtualItem.index === highlightedIndex;
12656
- return /* @__PURE__ */ jsx141(
12628
+ return /* @__PURE__ */ jsx140(
12657
12629
  "button",
12658
12630
  {
12659
12631
  id: getOptionId(idPrefix, virtualItem.index),
@@ -12675,7 +12647,7 @@ function SearchableSelectContent({
12675
12647
  height: `${virtualItem.size}px`,
12676
12648
  transform: `translateY(${virtualItem.start}px)`
12677
12649
  },
12678
- children: /* @__PURE__ */ jsx141("span", { className: "truncate text-center", children: String(option.label) })
12650
+ children: /* @__PURE__ */ jsx140("span", { className: "truncate text-center", children: String(option.label) })
12679
12651
  },
12680
12652
  `${String(option.value)}-${virtualItem.index}`
12681
12653
  );
@@ -12833,7 +12805,6 @@ export {
12833
12805
  LargeModal,
12834
12806
  LearnMoreButton,
12835
12807
  Link,
12836
- Loader,
12837
12808
  LoadingBar,
12838
12809
  METRIC_CARD_VARIANTS,
12839
12810
  MetricCard,