@chekinapp/ui 0.0.50 → 0.0.52

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
@@ -622,7 +622,7 @@ var buttonVariants = cva3(
622
622
  "button relative inline-flex items-center justify-center gap-2 whitespace-nowrap",
623
623
  "[font-family:var(--button-font-family)] [font-weight:var(--button-font-weight)]",
624
624
  "transition-all duration-150 ease-out outline-none",
625
- "focus-visible:shadow-[var(--button-focus-shadow)]",
625
+ "focus-visible:[box-shadow:var(--button-focus-shadow)]",
626
626
  "disabled:pointer-events-none disabled:opacity-50",
627
627
  "[&_svg]:pointer-events-none [&_svg]:size-[var(--button-icon-size)] [&_svg]:shrink-0",
628
628
  'before:absolute before:inset-0 before:rounded-[inherit] before:content-[""]',
@@ -2798,7 +2798,7 @@ var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__P
2798
2798
  ));
2799
2799
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
2800
2800
  var dialogContentClasses = "relative z-50 my-auto w-full max-w-[calc(100%-2rem)] rounded-[var(--dialog-content-radius)] border border-[var(--dialog-content-border)] bg-[var(--dialog-content-bg)] p-6 text-[var(--dialog-content-text)] shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 sm:max-w-2xl";
2801
- var dialogCloseButtonClasses = "absolute right-4 top-4 rounded-[var(--dialog-close-radius)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-chekin-focus disabled:pointer-events-none [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";
2801
+ var dialogCloseButtonClasses = "absolute right-4 top-4 flex size-6 items-center justify-center rounded-[var(--dialog-close-radius)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-chekin-focus disabled:pointer-events-none [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0";
2802
2802
  var DialogContent = React12.forwardRef(
2803
2803
  ({
2804
2804
  className,
@@ -6109,25 +6109,8 @@ function OverlayLoader({
6109
6109
  ] });
6110
6110
  }
6111
6111
 
6112
- // src/page-loader/PageLoader.tsx
6113
- import { useTranslation as useTranslation16 } from "react-i18next";
6114
- import { jsx as jsx77, jsxs as jsxs49 } from "react/jsx-runtime";
6115
- function PageLoader({ className, description, label }) {
6116
- const { t } = useTranslation16();
6117
- return /* @__PURE__ */ jsx77(
6118
- "div",
6119
- {
6120
- className: cn("flex min-h-[300px] flex-col items-center justify-center", className),
6121
- 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: [
6122
- /* @__PURE__ */ jsx77(CircularLoader, { size: "lg", label: label || t("loading") }),
6123
- /* @__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") })
6124
- ] })
6125
- }
6126
- );
6127
- }
6128
-
6129
6112
  // src/pagination/Pagination.tsx
6130
- import { useTranslation as useTranslation17 } from "react-i18next";
6113
+ import { useTranslation as useTranslation16 } from "react-i18next";
6131
6114
  import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight4, ChevronsLeft, ChevronsRight } from "lucide-react";
6132
6115
 
6133
6116
  // src/select/Select.tsx
@@ -6137,7 +6120,7 @@ import { forwardRef as forwardRef33, useId as useId5, useState as useState19 } f
6137
6120
  import * as React22 from "react";
6138
6121
  import * as SelectPrimitive from "@radix-ui/react-select";
6139
6122
  import { CheckIcon as CheckIcon2, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
6140
- import { jsx as jsx78, jsxs as jsxs50 } from "react/jsx-runtime";
6123
+ import { jsx as jsx77, jsxs as jsxs49 } from "react/jsx-runtime";
6141
6124
  var SelectRoot = SelectPrimitive.Root;
6142
6125
  var SelectGroup = SelectPrimitive.Group;
6143
6126
  var SelectValue = SelectPrimitive.Value;
@@ -6146,7 +6129,7 @@ var selectSizeClassNames = {
6146
6129
  sm: "text-sm",
6147
6130
  md: "text-base"
6148
6131
  };
6149
- var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs50(
6132
+ var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs49(
6150
6133
  SelectPrimitive.Trigger,
6151
6134
  {
6152
6135
  ref,
@@ -6161,7 +6144,7 @@ var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...p
6161
6144
  ...props,
6162
6145
  children: [
6163
6146
  children,
6164
- /* @__PURE__ */ jsx78(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx78(
6147
+ /* @__PURE__ */ jsx77(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx77(
6165
6148
  ChevronDownIcon,
6166
6149
  {
6167
6150
  size: 16,
@@ -6173,27 +6156,27 @@ var SelectTrigger = React22.forwardRef(({ className, children, size = "sm", ...p
6173
6156
  }
6174
6157
  ));
6175
6158
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
6176
- var SelectScrollUpButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6159
+ var SelectScrollUpButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx77(
6177
6160
  SelectPrimitive.ScrollUpButton,
6178
6161
  {
6179
6162
  ref,
6180
6163
  className: cn("flex cursor-default items-center justify-center py-1", className),
6181
6164
  ...props,
6182
- children: /* @__PURE__ */ jsx78(ChevronUpIcon, { size: 16, strokeWidth: 2 })
6165
+ children: /* @__PURE__ */ jsx77(ChevronUpIcon, { size: 16, strokeWidth: 2 })
6183
6166
  }
6184
6167
  ));
6185
6168
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
6186
- var SelectScrollDownButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6169
+ var SelectScrollDownButton = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx77(
6187
6170
  SelectPrimitive.ScrollDownButton,
6188
6171
  {
6189
6172
  ref,
6190
6173
  className: cn("flex cursor-default items-center justify-center py-1", className),
6191
6174
  ...props,
6192
- children: /* @__PURE__ */ jsx78(ChevronDownIcon, { size: 16, strokeWidth: 2 })
6175
+ children: /* @__PURE__ */ jsx77(ChevronDownIcon, { size: 16, strokeWidth: 2 })
6193
6176
  }
6194
6177
  ));
6195
6178
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
6196
- var SelectContent = React22.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx78(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs50(
6179
+ var SelectContent = React22.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx77(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs49(
6197
6180
  SelectPrimitive.Content,
6198
6181
  {
6199
6182
  ref,
@@ -6211,8 +6194,8 @@ var SelectContent = React22.forwardRef(({ className, children, position = "poppe
6211
6194
  position,
6212
6195
  ...props,
6213
6196
  children: [
6214
- /* @__PURE__ */ jsx78(SelectScrollUpButton, {}),
6215
- /* @__PURE__ */ jsx78(
6197
+ /* @__PURE__ */ jsx77(SelectScrollUpButton, {}),
6198
+ /* @__PURE__ */ jsx77(
6216
6199
  SelectPrimitive.Viewport,
6217
6200
  {
6218
6201
  className: cn(
@@ -6222,12 +6205,12 @@ var SelectContent = React22.forwardRef(({ className, children, position = "poppe
6222
6205
  children
6223
6206
  }
6224
6207
  ),
6225
- /* @__PURE__ */ jsx78(SelectScrollDownButton, {})
6208
+ /* @__PURE__ */ jsx77(SelectScrollDownButton, {})
6226
6209
  ]
6227
6210
  }
6228
6211
  ) }));
6229
6212
  SelectContent.displayName = SelectPrimitive.Content.displayName;
6230
- var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6213
+ var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx77(
6231
6214
  SelectPrimitive.Label,
6232
6215
  {
6233
6216
  ref,
@@ -6239,7 +6222,7 @@ var SelectLabel = React22.forwardRef(({ className, ...props }, ref) => /* @__PUR
6239
6222
  }
6240
6223
  ));
6241
6224
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
6242
- var SelectItem = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs50(
6225
+ var SelectItem = React22.forwardRef(({ className, children, size = "sm", ...props }, ref) => /* @__PURE__ */ jsxs49(
6243
6226
  SelectPrimitive.Item,
6244
6227
  {
6245
6228
  ref,
@@ -6253,13 +6236,13 @@ var SelectItem = React22.forwardRef(({ className, children, size = "sm", ...prop
6253
6236
  ),
6254
6237
  ...props,
6255
6238
  children: [
6256
- /* @__PURE__ */ jsx78("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx78(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx78(CheckIcon2, { size: 16, strokeWidth: 2 }) }) }),
6257
- /* @__PURE__ */ jsx78(SelectPrimitive.ItemText, { children })
6239
+ /* @__PURE__ */ jsx77("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx77(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx77(CheckIcon2, { size: 16, strokeWidth: 2 }) }) }),
6240
+ /* @__PURE__ */ jsx77(SelectPrimitive.ItemText, { children })
6258
6241
  ]
6259
6242
  }
6260
6243
  ));
6261
6244
  SelectItem.displayName = SelectPrimitive.Item.displayName;
6262
- var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx78(
6245
+ var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx77(
6263
6246
  SelectPrimitive.Separator,
6264
6247
  {
6265
6248
  ref,
@@ -6270,7 +6253,7 @@ var SelectSeparator = React22.forwardRef(({ className, ...props }, ref) => /* @_
6270
6253
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
6271
6254
 
6272
6255
  // src/select/Select.tsx
6273
- import { jsx as jsx79, jsxs as jsxs51 } from "react/jsx-runtime";
6256
+ import { jsx as jsx78, jsxs as jsxs50 } from "react/jsx-runtime";
6274
6257
  var SelectInner = ({
6275
6258
  placeholder,
6276
6259
  label,
@@ -6298,8 +6281,8 @@ var SelectInner = ({
6298
6281
  const handleOpenChange = (open) => {
6299
6282
  setIsOpen(open);
6300
6283
  };
6301
- return /* @__PURE__ */ jsxs51("div", { className: cn("group relative w-[300px]", className, containerClassName), children: [
6302
- label && showLabel && /* @__PURE__ */ jsx79(
6284
+ return /* @__PURE__ */ jsxs50("div", { className: cn("group relative w-[300px]", className, containerClassName), children: [
6285
+ label && showLabel && /* @__PURE__ */ jsx78(
6303
6286
  "label",
6304
6287
  {
6305
6288
  htmlFor: id,
@@ -6307,7 +6290,7 @@ var SelectInner = ({
6307
6290
  children: label
6308
6291
  }
6309
6292
  ),
6310
- /* @__PURE__ */ jsxs51(
6293
+ /* @__PURE__ */ jsxs50(
6311
6294
  SelectRoot,
6312
6295
  {
6313
6296
  value,
@@ -6315,8 +6298,8 @@ var SelectInner = ({
6315
6298
  onOpenChange: handleOpenChange,
6316
6299
  disabled,
6317
6300
  children: [
6318
- /* @__PURE__ */ jsx79(SelectTrigger, { id, ref, size, className: triggerClassName, children: /* @__PURE__ */ jsx79(SelectValue, { placeholder }) }),
6319
- /* @__PURE__ */ jsx79(SelectContent, { children: children ?? options?.map((option) => /* @__PURE__ */ jsx79(
6301
+ /* @__PURE__ */ jsx78(SelectTrigger, { id, ref, size, className: triggerClassName, children: /* @__PURE__ */ jsx78(SelectValue, { placeholder }) }),
6302
+ /* @__PURE__ */ jsx78(SelectContent, { children: children ?? options?.map((option) => /* @__PURE__ */ jsx78(
6320
6303
  SelectItem,
6321
6304
  {
6322
6305
  value: String(option.value),
@@ -6329,9 +6312,9 @@ var SelectInner = ({
6329
6312
  ]
6330
6313
  }
6331
6314
  ),
6332
- Boolean(supportingText || errorText) && /* @__PURE__ */ jsxs51("div", { className: "flex min-h-[15px] justify-between pt-1", children: [
6333
- supportingText && !errorText && /* @__PURE__ */ jsx79("span", { className: "text-xs italic leading-[15px] text-[var(--chekin-color-gray-1)]", children: supportingText }),
6334
- errorText && /* @__PURE__ */ jsx79("span", { className: "ml-auto text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: errorText })
6315
+ Boolean(supportingText || errorText) && /* @__PURE__ */ jsxs50("div", { className: "flex min-h-[15px] justify-between pt-1", children: [
6316
+ supportingText && !errorText && /* @__PURE__ */ jsx78("span", { className: "text-xs italic leading-[15px] text-[var(--chekin-color-gray-1)]", children: supportingText }),
6317
+ errorText && /* @__PURE__ */ jsx78("span", { className: "ml-auto text-right text-xs font-medium leading-4 text-[var(--error-message-color)]", children: errorText })
6335
6318
  ] })
6336
6319
  ] });
6337
6320
  };
@@ -6343,7 +6326,7 @@ var Select = SelectForward;
6343
6326
  import * as SelectPrimitive2 from "@radix-ui/react-select";
6344
6327
  import { CheckIcon as CheckIcon3 } from "lucide-react";
6345
6328
  import { forwardRef as forwardRef34, useId as useId6, useState as useState20 } from "react";
6346
- import { jsx as jsx80, jsxs as jsxs52 } from "react/jsx-runtime";
6329
+ import { jsx as jsx79, jsxs as jsxs51 } from "react/jsx-runtime";
6347
6330
  var MultiSelectInner = ({
6348
6331
  label,
6349
6332
  value = [],
@@ -6370,8 +6353,8 @@ var MultiSelectInner = ({
6370
6353
  return value.some((v) => String(v) === String(optionValue));
6371
6354
  };
6372
6355
  const displayText = value.length > 0 ? `${value.length} selected` : placeholder || "Select options";
6373
- return /* @__PURE__ */ jsxs52("div", { ref, className: cn("group relative w-[300px]", className), children: [
6374
- label && showLabel && /* @__PURE__ */ jsx80(
6356
+ return /* @__PURE__ */ jsxs51("div", { ref, className: cn("group relative w-[300px]", className), children: [
6357
+ label && showLabel && /* @__PURE__ */ jsx79(
6375
6358
  "label",
6376
6359
  {
6377
6360
  htmlFor: id,
@@ -6379,7 +6362,7 @@ var MultiSelectInner = ({
6379
6362
  children: label
6380
6363
  }
6381
6364
  ),
6382
- /* @__PURE__ */ jsxs52(
6365
+ /* @__PURE__ */ jsxs51(
6383
6366
  SelectPrimitive2.Root,
6384
6367
  {
6385
6368
  open,
@@ -6387,11 +6370,11 @@ var MultiSelectInner = ({
6387
6370
  value: "",
6388
6371
  disabled,
6389
6372
  children: [
6390
- /* @__PURE__ */ jsx80(SelectTrigger, { id, children: /* @__PURE__ */ jsx80("span", { className: "text-sm", children: displayText }) }),
6391
- /* @__PURE__ */ jsx80(SelectContent, { children: options?.map(({ value: optionValue, label: optionLabel }) => {
6373
+ /* @__PURE__ */ jsx79(SelectTrigger, { id, children: /* @__PURE__ */ jsx79("span", { className: "text-sm", children: displayText }) }),
6374
+ /* @__PURE__ */ jsx79(SelectContent, { children: options?.map(({ value: optionValue, label: optionLabel }) => {
6392
6375
  const stringValue = String(optionValue);
6393
6376
  const selected = isSelected(optionValue);
6394
- return /* @__PURE__ */ jsxs52(
6377
+ return /* @__PURE__ */ jsxs51(
6395
6378
  "div",
6396
6379
  {
6397
6380
  role: "option",
@@ -6406,8 +6389,8 @@ var MultiSelectInner = ({
6406
6389
  selected && "bg-[#f9fafb]"
6407
6390
  ),
6408
6391
  children: [
6409
- /* @__PURE__ */ jsx80("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: selected && /* @__PURE__ */ jsx80(CheckIcon3, { size: 16, strokeWidth: 2 }) }),
6410
- /* @__PURE__ */ jsx80("span", { children: optionLabel })
6392
+ /* @__PURE__ */ jsx79("span", { className: "absolute start-2 flex size-3.5 items-center justify-center", children: selected && /* @__PURE__ */ jsx79(CheckIcon3, { size: 16, strokeWidth: 2 }) }),
6393
+ /* @__PURE__ */ jsx79("span", { children: optionLabel })
6411
6394
  ]
6412
6395
  },
6413
6396
  stringValue
@@ -6423,7 +6406,7 @@ var MultiSelect = forwardRef34(MultiSelectInner);
6423
6406
  // src/select/InfinitySelect.tsx
6424
6407
  import { useVirtualizer } from "@tanstack/react-virtual";
6425
6408
  import { useCallback as useCallback13, useEffect as useEffect20, useId as useId7, useRef as useRef15, useState as useState21 } from "react";
6426
- import { jsx as jsx81, jsxs as jsxs53 } from "react/jsx-runtime";
6409
+ import { jsx as jsx80, jsxs as jsxs52 } from "react/jsx-runtime";
6427
6410
  function InfinitySelect({
6428
6411
  label,
6429
6412
  className,
@@ -6463,8 +6446,8 @@ function InfinitySelect({
6463
6446
  onValueChange?.(selectedValue);
6464
6447
  setIsOpen(false);
6465
6448
  };
6466
- return /* @__PURE__ */ jsxs53("div", { className: cn("group relative min-w-[300px]", className), children: [
6467
- /* @__PURE__ */ jsx81(
6449
+ return /* @__PURE__ */ jsxs52("div", { className: cn("group relative min-w-[300px]", className), children: [
6450
+ /* @__PURE__ */ jsx80(
6468
6451
  "label",
6469
6452
  {
6470
6453
  htmlFor: id,
@@ -6472,7 +6455,7 @@ function InfinitySelect({
6472
6455
  children: label
6473
6456
  }
6474
6457
  ),
6475
- /* @__PURE__ */ jsxs53(
6458
+ /* @__PURE__ */ jsxs52(
6476
6459
  SelectRoot,
6477
6460
  {
6478
6461
  value,
@@ -6480,8 +6463,8 @@ function InfinitySelect({
6480
6463
  open: isOpen,
6481
6464
  onOpenChange: setIsOpen,
6482
6465
  children: [
6483
- /* @__PURE__ */ jsx81(SelectTrigger, { id, children: /* @__PURE__ */ jsx81(SelectValue, { placeholder }) }),
6484
- /* @__PURE__ */ jsx81(SelectContent, { children: /* @__PURE__ */ jsx81(
6466
+ /* @__PURE__ */ jsx80(SelectTrigger, { id, children: /* @__PURE__ */ jsx80(SelectValue, { placeholder }) }),
6467
+ /* @__PURE__ */ jsx80(SelectContent, { children: /* @__PURE__ */ jsx80(
6485
6468
  "div",
6486
6469
  {
6487
6470
  ref: parentRef,
@@ -6489,7 +6472,7 @@ function InfinitySelect({
6489
6472
  height: `${Math.min(maxHeight, virtualizer.getTotalSize())}px`,
6490
6473
  overflow: "auto"
6491
6474
  },
6492
- children: /* @__PURE__ */ jsx81(
6475
+ children: /* @__PURE__ */ jsx80(
6493
6476
  "div",
6494
6477
  {
6495
6478
  style: {
@@ -6500,7 +6483,7 @@ function InfinitySelect({
6500
6483
  children: virtualizer.getVirtualItems().map((virtualItem) => {
6501
6484
  const isLoading = virtualItem.index >= options.length;
6502
6485
  const option = options[virtualItem.index];
6503
- return /* @__PURE__ */ jsx81(
6486
+ return /* @__PURE__ */ jsx80(
6504
6487
  "div",
6505
6488
  {
6506
6489
  style: {
@@ -6511,10 +6494,10 @@ function InfinitySelect({
6511
6494
  height: `${virtualItem.size}px`,
6512
6495
  transform: `translateY(${virtualItem.start}px)`
6513
6496
  },
6514
- children: isLoading || !option ? /* @__PURE__ */ jsx81("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ jsxs53("div", { className: "flex items-center gap-2 text-sm text-[var(--chekin-color-gray-1)]", children: [
6515
- /* @__PURE__ */ jsx81("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }),
6497
+ children: isLoading || !option ? /* @__PURE__ */ jsx80("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ jsxs52("div", { className: "flex items-center gap-2 text-sm text-[var(--chekin-color-gray-1)]", children: [
6498
+ /* @__PURE__ */ jsx80("div", { className: "h-4 w-4 animate-spin rounded-full border-2 border-current border-t-transparent" }),
6516
6499
  "Loading more..."
6517
- ] }) }) : /* @__PURE__ */ jsx81(
6500
+ ] }) }) : /* @__PURE__ */ jsx80(
6518
6501
  SelectItem,
6519
6502
  {
6520
6503
  value: String(option.value),
@@ -6537,7 +6520,7 @@ function InfinitySelect({
6537
6520
  }
6538
6521
 
6539
6522
  // src/pagination/Pagination.tsx
6540
- import { jsx as jsx82, jsxs as jsxs54 } from "react/jsx-runtime";
6523
+ import { jsx as jsx81, jsxs as jsxs53 } from "react/jsx-runtime";
6541
6524
  var pageSizeOptions = [10, 20, 25, 30, 40, 50];
6542
6525
  function Pagination({
6543
6526
  page,
@@ -6550,7 +6533,7 @@ function Pagination({
6550
6533
  totalItems = 0,
6551
6534
  className
6552
6535
  }) {
6553
- const { t } = useTranslation17();
6536
+ const { t } = useTranslation16();
6554
6537
  const isSimpleVariant = variant === "simple";
6555
6538
  const startItem = totalItems === 0 ? 0 : (page - 1) * pageSize + 1;
6556
6539
  const endItem = Math.min(page * pageSize, totalItems);
@@ -6576,7 +6559,7 @@ function Pagination({
6576
6559
  if (totalItems === 0 || !shouldShowPagination) {
6577
6560
  return null;
6578
6561
  }
6579
- return /* @__PURE__ */ jsxs54(
6562
+ return /* @__PURE__ */ jsxs53(
6580
6563
  "div",
6581
6564
  {
6582
6565
  className: cn(
@@ -6584,24 +6567,24 @@ function Pagination({
6584
6567
  className
6585
6568
  ),
6586
6569
  children: [
6587
- /* @__PURE__ */ jsx82("div", { className: "mr-auto flex-1 self-start font-medium text-[var(--chekin-color-gray-1)] sm:self-center", children: getInfoText() }),
6588
- /* @__PURE__ */ jsxs54("div", { className: "ml-auto flex w-full items-center gap-8 sm:w-fit", children: [
6589
- !isSimpleVariant && showPageSizeSelector && /* @__PURE__ */ jsxs54("div", { className: "hidden items-center gap-2 sm:flex", children: [
6590
- /* @__PURE__ */ jsx82("p", { className: "font-medium text-[var(--chekin-color-gray-1)]", children: t("rows_per_page") }),
6591
- /* @__PURE__ */ jsx82(
6570
+ /* @__PURE__ */ jsx81("div", { className: "mr-auto flex-1 self-start font-medium text-[var(--chekin-color-gray-1)] sm:self-center", children: getInfoText() }),
6571
+ /* @__PURE__ */ jsxs53("div", { className: "ml-auto flex w-full items-center gap-8 sm:w-fit", children: [
6572
+ !isSimpleVariant && showPageSizeSelector && /* @__PURE__ */ jsxs53("div", { className: "hidden items-center gap-2 sm:flex", children: [
6573
+ /* @__PURE__ */ jsx81("p", { className: "font-medium text-[var(--chekin-color-gray-1)]", children: t("rows_per_page") }),
6574
+ /* @__PURE__ */ jsx81(
6592
6575
  Select,
6593
6576
  {
6594
6577
  value: pageSize.toString(),
6595
6578
  onValueChange: (value) => onPageSizeChange(parseInt(value, 10)),
6596
6579
  triggerClassName: "h-8 w-[67px]",
6597
6580
  containerClassName: "w-[67px] gap-0",
6598
- children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx82(SelectItem, { value: size.toString(), children: size }, size))
6581
+ children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx81(SelectItem, { value: size.toString(), children: size }, size))
6599
6582
  }
6600
6583
  )
6601
6584
  ] }),
6602
- !isSimpleVariant && /* @__PURE__ */ jsx82("div", { className: "flex w-fit items-center justify-center font-medium", children: t("page_of_pages", { page, pages }) }),
6603
- /* @__PURE__ */ jsxs54("div", { className: "ml-auto flex items-center gap-2 sm:ml-0", children: [
6604
- !isSimpleVariant && /* @__PURE__ */ jsxs54(
6585
+ !isSimpleVariant && /* @__PURE__ */ jsx81("div", { className: "flex w-fit items-center justify-center font-medium", children: t("page_of_pages", { page, pages }) }),
6586
+ /* @__PURE__ */ jsxs53("div", { className: "ml-auto flex items-center gap-2 sm:ml-0", children: [
6587
+ !isSimpleVariant && /* @__PURE__ */ jsxs53(
6605
6588
  Button,
6606
6589
  {
6607
6590
  variant: "outline",
@@ -6610,12 +6593,12 @@ function Pagination({
6610
6593
  onClick: goToFirstPage,
6611
6594
  disabled: !canGoPrevious,
6612
6595
  children: [
6613
- /* @__PURE__ */ jsx82("span", { className: "sr-only", children: t("go_to_first_page") }),
6614
- /* @__PURE__ */ jsx82(ChevronsLeft, {})
6596
+ /* @__PURE__ */ jsx81("span", { className: "sr-only", children: t("go_to_first_page") }),
6597
+ /* @__PURE__ */ jsx81(ChevronsLeft, {})
6615
6598
  ]
6616
6599
  }
6617
6600
  ),
6618
- /* @__PURE__ */ jsxs54(
6601
+ /* @__PURE__ */ jsxs53(
6619
6602
  Button,
6620
6603
  {
6621
6604
  variant: isSimpleVariant ? "link" : "outline",
@@ -6626,12 +6609,12 @@ function Pagination({
6626
6609
  onClick: goToPreviousPage,
6627
6610
  disabled: !canGoPrevious,
6628
6611
  children: [
6629
- /* @__PURE__ */ jsx82("span", { className: "sr-only", children: t("go_to_previous_page") }),
6630
- /* @__PURE__ */ jsx82(ChevronLeft2, {})
6612
+ /* @__PURE__ */ jsx81("span", { className: "sr-only", children: t("go_to_previous_page") }),
6613
+ /* @__PURE__ */ jsx81(ChevronLeft2, {})
6631
6614
  ]
6632
6615
  }
6633
6616
  ),
6634
- /* @__PURE__ */ jsxs54(
6617
+ /* @__PURE__ */ jsxs53(
6635
6618
  Button,
6636
6619
  {
6637
6620
  variant: isSimpleVariant ? "link" : "outline",
@@ -6642,12 +6625,12 @@ function Pagination({
6642
6625
  onClick: goToNextPage,
6643
6626
  disabled: !canGoNext,
6644
6627
  children: [
6645
- /* @__PURE__ */ jsx82("span", { className: "sr-only", children: t("go_to_next_page") }),
6646
- /* @__PURE__ */ jsx82(ChevronRight4, {})
6628
+ /* @__PURE__ */ jsx81("span", { className: "sr-only", children: t("go_to_next_page") }),
6629
+ /* @__PURE__ */ jsx81(ChevronRight4, {})
6647
6630
  ]
6648
6631
  }
6649
6632
  ),
6650
- !isSimpleVariant && /* @__PURE__ */ jsxs54(
6633
+ !isSimpleVariant && /* @__PURE__ */ jsxs53(
6651
6634
  Button,
6652
6635
  {
6653
6636
  variant: "outline",
@@ -6656,8 +6639,8 @@ function Pagination({
6656
6639
  onClick: goToLastPage,
6657
6640
  disabled: !canGoNext,
6658
6641
  children: [
6659
- /* @__PURE__ */ jsx82("span", { className: "sr-only", children: t("go_to_last_page") }),
6660
- /* @__PURE__ */ jsx82(ChevronsRight, {})
6642
+ /* @__PURE__ */ jsx81("span", { className: "sr-only", children: t("go_to_last_page") }),
6643
+ /* @__PURE__ */ jsx81(ChevronsRight, {})
6661
6644
  ]
6662
6645
  }
6663
6646
  )
@@ -6671,13 +6654,13 @@ function Pagination({
6671
6654
  // src/popover/Popover.tsx
6672
6655
  import * as React23 from "react";
6673
6656
  import * as RadixPopover from "@radix-ui/react-popover";
6674
- import { jsx as jsx83 } from "react/jsx-runtime";
6657
+ import { jsx as jsx82 } from "react/jsx-runtime";
6675
6658
  var Popover = RadixPopover.Root;
6676
6659
  var PopoverTrigger = RadixPopover.Trigger;
6677
6660
  var PopoverAnchor = RadixPopover.Anchor;
6678
6661
  var PopoverPortal = RadixPopover.Portal;
6679
6662
  var PopoverClose = RadixPopover.Close;
6680
- var PopoverContent = React23.forwardRef(({ className, sideOffset = 4, align = "center", ...props }, ref) => /* @__PURE__ */ jsx83(RadixPopover.Portal, { children: /* @__PURE__ */ jsx83(
6663
+ var PopoverContent = React23.forwardRef(({ className, sideOffset = 4, align = "center", ...props }, ref) => /* @__PURE__ */ jsx82(RadixPopover.Portal, { children: /* @__PURE__ */ jsx82(
6681
6664
  RadixPopover.Content,
6682
6665
  {
6683
6666
  ref,
@@ -6697,7 +6680,7 @@ PopoverContent.displayName = "PopoverContent";
6697
6680
  // src/popover/PopoverWithTooltip.tsx
6698
6681
  import * as PopoverPrimitive from "@radix-ui/react-popover";
6699
6682
  import * as TooltipPrimitive2 from "@radix-ui/react-tooltip";
6700
- import { jsx as jsx84, jsxs as jsxs55 } from "react/jsx-runtime";
6683
+ import { jsx as jsx83, jsxs as jsxs54 } from "react/jsx-runtime";
6701
6684
  function PopoverWithTooltip({
6702
6685
  children,
6703
6686
  popoverContent,
@@ -6707,10 +6690,10 @@ function PopoverWithTooltip({
6707
6690
  popoverContentClassName,
6708
6691
  tooltipVariant = "light"
6709
6692
  }) {
6710
- return /* @__PURE__ */ jsx84(TooltipPrimitive2.Provider, { delayDuration: 0, children: /* @__PURE__ */ jsxs55(TooltipPrimitive2.Root, { open: open ? false : void 0, children: [
6711
- /* @__PURE__ */ jsxs55(PopoverPrimitive.Root, { open, onOpenChange, children: [
6712
- /* @__PURE__ */ jsx84(TooltipPrimitive2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx84(PopoverPrimitive.Trigger, { asChild: true, children }) }),
6713
- /* @__PURE__ */ jsx84(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx84(
6693
+ return /* @__PURE__ */ jsx83(TooltipPrimitive2.Provider, { delayDuration: 0, children: /* @__PURE__ */ jsxs54(TooltipPrimitive2.Root, { open: open ? false : void 0, children: [
6694
+ /* @__PURE__ */ jsxs54(PopoverPrimitive.Root, { open, onOpenChange, children: [
6695
+ /* @__PURE__ */ jsx83(TooltipPrimitive2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx83(PopoverPrimitive.Trigger, { asChild: true, children }) }),
6696
+ /* @__PURE__ */ jsx83(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx83(
6714
6697
  PopoverPrimitive.Content,
6715
6698
  {
6716
6699
  align: "center",
@@ -6728,7 +6711,7 @@ function PopoverWithTooltip({
6728
6711
  }
6729
6712
  ) })
6730
6713
  ] }),
6731
- /* @__PURE__ */ jsx84(TooltipPrimitive2.Portal, { children: /* @__PURE__ */ jsxs55(
6714
+ /* @__PURE__ */ jsx83(TooltipPrimitive2.Portal, { children: /* @__PURE__ */ jsxs54(
6732
6715
  TooltipPrimitive2.Content,
6733
6716
  {
6734
6717
  sideOffset: 5,
@@ -6745,7 +6728,7 @@ function PopoverWithTooltip({
6745
6728
  ),
6746
6729
  children: [
6747
6730
  tooltipContent,
6748
- /* @__PURE__ */ jsx84(
6731
+ /* @__PURE__ */ jsx83(
6749
6732
  TooltipPrimitive2.Arrow,
6750
6733
  {
6751
6734
  className: cn(
@@ -6770,8 +6753,8 @@ import { forwardRef as forwardRef37 } from "react";
6770
6753
  import * as React24 from "react";
6771
6754
  import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
6772
6755
  import { Circle as Circle2 } from "lucide-react";
6773
- import { jsx as jsx85 } from "react/jsx-runtime";
6774
- var RadioGroup2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
6756
+ import { jsx as jsx84 } from "react/jsx-runtime";
6757
+ var RadioGroup2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx84(
6775
6758
  RadioGroupPrimitive.Root,
6776
6759
  {
6777
6760
  ref,
@@ -6780,7 +6763,7 @@ var RadioGroup2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
6780
6763
  }
6781
6764
  ));
6782
6765
  RadioGroup2.displayName = RadioGroupPrimitive.Root.displayName;
6783
- var RadioGroupItem = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx85(
6766
+ var RadioGroupItem = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx84(
6784
6767
  RadioGroupPrimitive.Item,
6785
6768
  {
6786
6769
  ref,
@@ -6791,7 +6774,7 @@ var RadioGroupItem = React24.forwardRef(({ className, ...props }, ref) => /* @__
6791
6774
  className
6792
6775
  ),
6793
6776
  ...props,
6794
- children: /* @__PURE__ */ jsx85(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx85(Circle2, { className: "h-2.5 w-2.5 fill-current text-current" }) })
6777
+ children: /* @__PURE__ */ jsx84(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx84(Circle2, { className: "h-2.5 w-2.5 fill-current text-current" }) })
6795
6778
  }
6796
6779
  ));
6797
6780
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
@@ -6818,7 +6801,7 @@ function useRadioOptions({ options, defaultValue, onChange }) {
6818
6801
  }
6819
6802
 
6820
6803
  // src/radio/Radio.tsx
6821
- import { Fragment as Fragment9, jsx as jsx86, jsxs as jsxs56 } from "react/jsx-runtime";
6804
+ import { Fragment as Fragment9, jsx as jsx85, jsxs as jsxs55 } from "react/jsx-runtime";
6822
6805
  var Radio = forwardRef37(
6823
6806
  ({ options, value, onChange, error, className = "", disabled = false, renderOption }, ref) => {
6824
6807
  const { selectedValue, handleValueChange } = useRadioOptions({
@@ -6832,8 +6815,8 @@ var Radio = forwardRef37(
6832
6815
  }
6833
6816
  return option.value === selectedValue;
6834
6817
  };
6835
- return /* @__PURE__ */ jsxs56(Fragment9, { children: [
6836
- /* @__PURE__ */ jsx86(
6818
+ return /* @__PURE__ */ jsxs55(Fragment9, { children: [
6819
+ /* @__PURE__ */ jsx85(
6837
6820
  RadioGroup2,
6838
6821
  {
6839
6822
  ref,
@@ -6841,7 +6824,7 @@ var Radio = forwardRef37(
6841
6824
  onValueChange: handleValueChange,
6842
6825
  className: cn(className, "radio"),
6843
6826
  disabled,
6844
- children: options.map((option) => /* @__PURE__ */ jsx86(
6827
+ children: options.map((option) => /* @__PURE__ */ jsx85(
6845
6828
  "label",
6846
6829
  {
6847
6830
  className: cn(
@@ -6849,8 +6832,8 @@ var Radio = forwardRef37(
6849
6832
  "flex cursor-pointer items-center gap-2",
6850
6833
  (disabled || option.disabled) && "cursor-default opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
6851
6834
  ),
6852
- children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ jsxs56(Fragment9, { children: [
6853
- /* @__PURE__ */ jsx86(
6835
+ children: renderOption ? renderOption({ option, isSelected: getIsSelected(option) }) : /* @__PURE__ */ jsxs55(Fragment9, { children: [
6836
+ /* @__PURE__ */ jsx85(
6854
6837
  RadioGroupItem,
6855
6838
  {
6856
6839
  value: option.value,
@@ -6859,27 +6842,27 @@ var Radio = forwardRef37(
6859
6842
  className: "radio__indicator"
6860
6843
  }
6861
6844
  ),
6862
- /* @__PURE__ */ jsx86("p", { className: "radio_label", children: option.label })
6845
+ /* @__PURE__ */ jsx85("p", { className: "radio_label", children: option.label })
6863
6846
  ] })
6864
6847
  },
6865
6848
  option.value
6866
6849
  ))
6867
6850
  }
6868
6851
  ),
6869
- error && /* @__PURE__ */ jsx86(ErrorMessage, { children: error })
6852
+ error && /* @__PURE__ */ jsx85(ErrorMessage, { children: error })
6870
6853
  ] });
6871
6854
  }
6872
6855
  );
6873
6856
  Radio.displayName = "Radio";
6874
6857
 
6875
6858
  // src/radio/RadioWithBorder.tsx
6876
- import { jsx as jsx87, jsxs as jsxs57 } from "react/jsx-runtime";
6859
+ import { jsx as jsx86, jsxs as jsxs56 } from "react/jsx-runtime";
6877
6860
  function RadioWithBorder({ ...props }) {
6878
- return /* @__PURE__ */ jsx87(
6861
+ return /* @__PURE__ */ jsx86(
6879
6862
  Radio,
6880
6863
  {
6881
6864
  ...props,
6882
- renderOption: ({ option, isSelected }) => /* @__PURE__ */ jsxs57(
6865
+ renderOption: ({ option, isSelected }) => /* @__PURE__ */ jsxs56(
6883
6866
  "div",
6884
6867
  {
6885
6868
  className: cn(
@@ -6887,7 +6870,7 @@ function RadioWithBorder({ ...props }) {
6887
6870
  isSelected && "border-[var(--chekin-color-brand-blue)] bg-[var(--chekin-color-surface-autocomplete)]"
6888
6871
  ),
6889
6872
  children: [
6890
- /* @__PURE__ */ jsx87(
6873
+ /* @__PURE__ */ jsx86(
6891
6874
  RadioGroupItem,
6892
6875
  {
6893
6876
  className: "mt-1",
@@ -6896,9 +6879,9 @@ function RadioWithBorder({ ...props }) {
6896
6879
  disabled: option.disabled
6897
6880
  }
6898
6881
  ),
6899
- /* @__PURE__ */ jsxs57("div", { className: "space-y-1 leading-6", children: [
6900
- /* @__PURE__ */ jsx87("p", { className: "font-semibold", children: option.label }),
6901
- option.data?.description && /* @__PURE__ */ jsx87("p", { className: "text-sm font-medium text-[var(--chekin-color-gray-1)]", children: option.data.description })
6882
+ /* @__PURE__ */ jsxs56("div", { className: "space-y-1 leading-6", children: [
6883
+ /* @__PURE__ */ jsx86("p", { className: "font-semibold", children: option.label }),
6884
+ option.data?.description && /* @__PURE__ */ jsx86("p", { className: "text-sm font-medium text-[var(--chekin-color-gray-1)]", children: option.data.description })
6902
6885
  ] })
6903
6886
  ]
6904
6887
  }
@@ -6908,7 +6891,7 @@ function RadioWithBorder({ ...props }) {
6908
6891
  }
6909
6892
 
6910
6893
  // src/rating-progress/RatingProgress.tsx
6911
- import { jsx as jsx88, jsxs as jsxs58 } from "react/jsx-runtime";
6894
+ import { jsx as jsx87, jsxs as jsxs57 } from "react/jsx-runtime";
6912
6895
  var getRatingColor = (score, maxScore) => {
6913
6896
  const percentage = score / maxScore * 100;
6914
6897
  if (percentage === 0) return "#ff2765";
@@ -6927,7 +6910,7 @@ function RatingProgress({
6927
6910
  }) {
6928
6911
  const percentage = Math.max(0, Math.min(100, score / maxScore * 100));
6929
6912
  const color = getRatingColor(score, maxScore);
6930
- return /* @__PURE__ */ jsxs58(
6913
+ return /* @__PURE__ */ jsxs57(
6931
6914
  "div",
6932
6915
  {
6933
6916
  className: cn(
@@ -6935,13 +6918,13 @@ function RatingProgress({
6935
6918
  className
6936
6919
  ),
6937
6920
  children: [
6938
- /* @__PURE__ */ jsxs58("div", { className: "flex w-full items-start justify-between text-sm font-medium leading-6", children: [
6939
- /* @__PURE__ */ jsx88("p", { className: "min-w-0 flex-1", children: label }),
6940
- /* @__PURE__ */ jsx88("p", { className: "shrink-0 whitespace-pre", children: score.toFixed(1) })
6921
+ /* @__PURE__ */ jsxs57("div", { className: "flex w-full items-start justify-between text-sm font-medium leading-6", children: [
6922
+ /* @__PURE__ */ jsx87("p", { className: "min-w-0 flex-1", children: label }),
6923
+ /* @__PURE__ */ jsx87("p", { className: "shrink-0 whitespace-pre", children: score.toFixed(1) })
6941
6924
  ] }),
6942
- /* @__PURE__ */ jsxs58("div", { className: "relative w-full", children: [
6943
- /* @__PURE__ */ jsx88("div", { className: "h-1.5 w-full rounded-[24px] bg-[var(--chekin-color-gray-3)]" }),
6944
- /* @__PURE__ */ jsx88(
6925
+ /* @__PURE__ */ jsxs57("div", { className: "relative w-full", children: [
6926
+ /* @__PURE__ */ jsx87("div", { className: "h-1.5 w-full rounded-[24px] bg-[var(--chekin-color-gray-3)]" }),
6927
+ /* @__PURE__ */ jsx87(
6945
6928
  "div",
6946
6929
  {
6947
6930
  className: "absolute left-0 top-0 h-1.5 rounded-[24px] transition-all duration-300 ease-out",
@@ -6959,7 +6942,7 @@ function RatingProgress({
6959
6942
 
6960
6943
  // src/rating-radio-group/RatingRadioGroup.tsx
6961
6944
  import { Star } from "lucide-react";
6962
- import { jsx as jsx89, jsxs as jsxs59 } from "react/jsx-runtime";
6945
+ import { jsx as jsx88, jsxs as jsxs58 } from "react/jsx-runtime";
6963
6946
  var getStarColor = (optionValue) => (value) => {
6964
6947
  if (value >= optionValue) return "#facc15";
6965
6948
  return "var(--chekin-color-gray-1)";
@@ -6972,10 +6955,10 @@ function RatingRadioGroup({
6972
6955
  className,
6973
6956
  options
6974
6957
  }) {
6975
- return /* @__PURE__ */ jsxs59("fieldset", { className: cn("relative [all:unset]", className), children: [
6976
- label && /* @__PURE__ */ jsx89("legend", { className: "mb-2", children: label }),
6977
- /* @__PURE__ */ jsx89("div", { className: "RatingRadioGroup__list flex gap-2", children: options.map((option) => /* @__PURE__ */ jsxs59("label", { children: [
6978
- /* @__PURE__ */ jsx89(
6958
+ return /* @__PURE__ */ jsxs58("fieldset", { className: cn("relative [all:unset]", className), children: [
6959
+ label && /* @__PURE__ */ jsx88("legend", { className: "mb-2", children: label }),
6960
+ /* @__PURE__ */ jsx88("div", { className: "RatingRadioGroup__list flex gap-2", children: options.map((option) => /* @__PURE__ */ jsxs58("label", { children: [
6961
+ /* @__PURE__ */ jsx88(
6979
6962
  "input",
6980
6963
  {
6981
6964
  className: "peer absolute h-0 w-0 opacity-0",
@@ -6986,7 +6969,7 @@ function RatingRadioGroup({
6986
6969
  onChange: () => onChange?.(option.value)
6987
6970
  }
6988
6971
  ),
6989
- /* @__PURE__ */ jsx89(
6972
+ /* @__PURE__ */ jsx88(
6990
6973
  Star,
6991
6974
  {
6992
6975
  className: "cursor-pointer rounded peer-focus-visible:outline peer-focus-visible:outline-2 peer-focus-visible:outline-offset-2 peer-focus-visible:outline-[#385bf8]",
@@ -7003,8 +6986,8 @@ function RatingRadioGroup({
7003
6986
  // src/rating-stars/RatingStars.tsx
7004
6987
  import * as React25 from "react";
7005
6988
  import { Star as Star2 } from "lucide-react";
7006
- import { useTranslation as useTranslation18 } from "react-i18next";
7007
- import { jsx as jsx90, jsxs as jsxs60 } from "react/jsx-runtime";
6989
+ import { useTranslation as useTranslation17 } from "react-i18next";
6990
+ import { jsx as jsx89, jsxs as jsxs59 } from "react/jsx-runtime";
7008
6991
  function RatingStars({
7009
6992
  rating,
7010
6993
  maxRating = 5,
@@ -7018,7 +7001,7 @@ function RatingStars({
7018
7001
  filledColor = "#ffb700",
7019
7002
  emptyColor = "var(--chekin-color-gray-3)"
7020
7003
  }) {
7021
- const { t } = useTranslation18();
7004
+ const { t } = useTranslation17();
7022
7005
  const normalizedRating = Math.max(0, Math.min(maxRating, rating));
7023
7006
  const stars = Array.from({ length: maxRating }, (_, index) => index + 1);
7024
7007
  const componentId = React25.useId();
@@ -7034,18 +7017,18 @@ function RatingStars({
7034
7017
  }
7035
7018
  return emptyColor;
7036
7019
  };
7037
- return /* @__PURE__ */ jsxs60("div", { className: cn("flex flex-col items-start gap-2", className), children: [
7038
- showText && /* @__PURE__ */ jsxs60("p", { className: "text-4xl font-medium", children: [
7020
+ return /* @__PURE__ */ jsxs59("div", { className: cn("flex flex-col items-start gap-2", className), children: [
7021
+ showText && /* @__PURE__ */ jsxs59("p", { className: "text-4xl font-medium", children: [
7039
7022
  normalizedRating,
7040
7023
  "/",
7041
7024
  maxRating
7042
7025
  ] }),
7043
- /* @__PURE__ */ jsxs60("div", { className: "flex items-center gap-1", children: [
7044
- /* @__PURE__ */ jsx90("svg", { width: "0", height: "0", style: { position: "absolute" }, children: /* @__PURE__ */ jsx90("defs", { children: /* @__PURE__ */ jsxs60("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
7045
- /* @__PURE__ */ jsx90("stop", { offset: `${decimal * 100}%`, stopColor: filledColor }),
7046
- /* @__PURE__ */ jsx90("stop", { offset: `${decimal * 100}%`, stopColor: emptyColor })
7026
+ /* @__PURE__ */ jsxs59("div", { className: "flex items-center gap-1", children: [
7027
+ /* @__PURE__ */ jsx89("svg", { width: "0", height: "0", style: { position: "absolute" }, children: /* @__PURE__ */ jsx89("defs", { children: /* @__PURE__ */ jsxs59("linearGradient", { id: gradientId, x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
7028
+ /* @__PURE__ */ jsx89("stop", { offset: `${decimal * 100}%`, stopColor: filledColor }),
7029
+ /* @__PURE__ */ jsx89("stop", { offset: `${decimal * 100}%`, stopColor: emptyColor })
7047
7030
  ] }) }) }),
7048
- stars.map((star) => /* @__PURE__ */ jsx90(
7031
+ stars.map((star) => /* @__PURE__ */ jsx89(
7049
7032
  Star2,
7050
7033
  {
7051
7034
  size,
@@ -7057,22 +7040,22 @@ function RatingStars({
7057
7040
  star
7058
7041
  ))
7059
7042
  ] }),
7060
- (reviewCount !== void 0 || description) && /* @__PURE__ */ jsxs60("div", { className: "flex flex-col font-medium text-[var(--chekin-color-gray-1)]", children: [
7061
- reviewCount !== void 0 && /* @__PURE__ */ jsxs60("p", { className: "text-xs leading-4", children: [
7043
+ (reviewCount !== void 0 || description) && /* @__PURE__ */ jsxs59("div", { className: "flex flex-col font-medium text-[var(--chekin-color-gray-1)]", children: [
7044
+ reviewCount !== void 0 && /* @__PURE__ */ jsxs59("p", { className: "text-xs leading-4", children: [
7062
7045
  reviewCount,
7063
7046
  " ",
7064
7047
  reviewsLabel || t("reviews")
7065
7048
  ] }),
7066
- description && /* @__PURE__ */ jsx90("p", { className: "text-sm leading-6", children: description })
7049
+ description && /* @__PURE__ */ jsx89("p", { className: "text-sm leading-6", children: description })
7067
7050
  ] })
7068
7051
  ] });
7069
7052
  }
7070
7053
 
7071
7054
  // src/rotate-icon/RotateIcon.tsx
7072
7055
  import { ChevronUp } from "lucide-react";
7073
- import { jsx as jsx91 } from "react/jsx-runtime";
7056
+ import { jsx as jsx90 } from "react/jsx-runtime";
7074
7057
  function RotateIcon({ active, className }) {
7075
- return /* @__PURE__ */ jsx91(
7058
+ return /* @__PURE__ */ jsx90(
7076
7059
  ChevronUp,
7077
7060
  {
7078
7061
  className: cn(
@@ -7086,9 +7069,9 @@ function RotateIcon({ active, className }) {
7086
7069
 
7087
7070
  // src/search-button/SearchButton.tsx
7088
7071
  import { Search } from "lucide-react";
7089
- import { jsx as jsx92 } from "react/jsx-runtime";
7072
+ import { jsx as jsx91 } from "react/jsx-runtime";
7090
7073
  function SearchButton({ onClick, className, icon, ariaLabel }) {
7091
- return /* @__PURE__ */ jsx92(
7074
+ return /* @__PURE__ */ jsx91(
7092
7075
  "button",
7093
7076
  {
7094
7077
  onClick,
@@ -7096,15 +7079,15 @@ function SearchButton({ onClick, className, icon, ariaLabel }) {
7096
7079
  "data-testid": "search-button",
7097
7080
  "aria-label": ariaLabel,
7098
7081
  type: "button",
7099
- children: icon || /* @__PURE__ */ jsx92(Search, { size: 12, strokeWidth: 4, className: "text-[var(--chekin-color-gray-1)]" })
7082
+ children: icon || /* @__PURE__ */ jsx91(Search, { size: 12, strokeWidth: 4, className: "text-[var(--chekin-color-gray-1)]" })
7100
7083
  }
7101
7084
  );
7102
7085
  }
7103
7086
 
7104
7087
  // src/search-input/SearchInput.tsx
7105
7088
  import { Loader2 as Loader22, Search as Search2, X as X6 } from "lucide-react";
7106
- import { useTranslation as useTranslation19 } from "react-i18next";
7107
- import { jsx as jsx93, jsxs as jsxs61 } from "react/jsx-runtime";
7089
+ import { useTranslation as useTranslation18 } from "react-i18next";
7090
+ import { jsx as jsx92, jsxs as jsxs60 } from "react/jsx-runtime";
7108
7091
  function SearchInput({
7109
7092
  disabled,
7110
7093
  invalid,
@@ -7118,20 +7101,20 @@ function SearchInput({
7118
7101
  className,
7119
7102
  ...props
7120
7103
  }) {
7121
- const { t } = useTranslation19();
7104
+ const { t } = useTranslation18();
7122
7105
  const placeholderText = placeholder || `${t("search_property")}...`;
7123
7106
  const isBlocked = Boolean(disabled) || Boolean(loading);
7124
7107
  const optionalLabel = optional ? typeof optional === "string" ? optional : t("optional") : void 0;
7125
7108
  const hasLabelMeta = Boolean(optionalLabel) || Boolean(tooltip);
7126
- return /* @__PURE__ */ jsxs61("div", { className: cn("input-wrapper", wrapperClassName), children: [
7127
- (label || hasLabelMeta) && /* @__PURE__ */ jsxs61("div", { className: "mb-2 inline-flex max-w-full items-center gap-1.5 text-sm font-medium text-[var(--chekin-color-brand-navy)]", children: [
7128
- label && /* @__PURE__ */ jsx93("span", { className: "min-w-0 truncate", children: label }),
7129
- optionalLabel && /* @__PURE__ */ jsx93("span", { className: "shrink-0 text-xs font-normal text-[var(--chekin-color-gray-2)]", children: optionalLabel }),
7130
- tooltip && /* @__PURE__ */ jsx93(HelpTooltip, { content: tooltip, side: "top", size: 16 })
7109
+ return /* @__PURE__ */ jsxs60("div", { className: cn("input-wrapper", wrapperClassName), children: [
7110
+ (label || hasLabelMeta) && /* @__PURE__ */ jsxs60("div", { className: "mb-2 inline-flex max-w-full items-center gap-1.5 text-sm font-medium text-[var(--chekin-color-brand-navy)]", children: [
7111
+ label && /* @__PURE__ */ jsx92("span", { className: "min-w-0 truncate", children: label }),
7112
+ optionalLabel && /* @__PURE__ */ jsx92("span", { className: "shrink-0 text-xs font-normal text-[var(--chekin-color-gray-2)]", children: optionalLabel }),
7113
+ tooltip && /* @__PURE__ */ jsx92(HelpTooltip, { content: tooltip, side: "top", size: 16 })
7131
7114
  ] }),
7132
- /* @__PURE__ */ jsxs61("div", { className: "relative", children: [
7133
- /* @__PURE__ */ jsx93(Search2, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[var(--chekin-color-gray-2)]" }),
7134
- /* @__PURE__ */ jsx93(
7115
+ /* @__PURE__ */ jsxs60("div", { className: "relative", children: [
7116
+ /* @__PURE__ */ jsx92(Search2, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[var(--chekin-color-gray-2)]" }),
7117
+ /* @__PURE__ */ jsx92(
7135
7118
  Input,
7136
7119
  {
7137
7120
  ...props,
@@ -7149,15 +7132,15 @@ function SearchInput({
7149
7132
  )
7150
7133
  }
7151
7134
  ),
7152
- (loading || onReset) && /* @__PURE__ */ jsxs61("div", { className: "absolute right-2 top-1/2 flex -translate-y-1/2 items-center gap-1", children: [
7153
- loading && /* @__PURE__ */ jsx93(
7135
+ (loading || onReset) && /* @__PURE__ */ jsxs60("div", { className: "absolute right-2 top-1/2 flex -translate-y-1/2 items-center gap-1", children: [
7136
+ loading && /* @__PURE__ */ jsx92(
7154
7137
  Loader22,
7155
7138
  {
7156
7139
  "aria-hidden": "true",
7157
7140
  className: "h-5 w-5 animate-spin text-[var(--chekin-color-gray-2)]"
7158
7141
  }
7159
7142
  ),
7160
- onReset && /* @__PURE__ */ jsx93(
7143
+ onReset && /* @__PURE__ */ jsx92(
7161
7144
  Button,
7162
7145
  {
7163
7146
  variant: "ghost",
@@ -7165,7 +7148,7 @@ function SearchInput({
7165
7148
  disabled: isBlocked,
7166
7149
  className: "h-7 w-7 p-0 text-[var(--chekin-color-gray-2)]",
7167
7150
  "aria-label": t("reset_search"),
7168
- children: /* @__PURE__ */ jsx93(X6, { className: "h-5 w-5" })
7151
+ children: /* @__PURE__ */ jsx92(X6, { className: "h-5 w-5" })
7169
7152
  }
7170
7153
  )
7171
7154
  ] })
@@ -7191,9 +7174,9 @@ var sectionTagVariants = cva10(
7191
7174
  );
7192
7175
 
7193
7176
  // src/section-tag/SectionTag.tsx
7194
- import { jsx as jsx94 } from "react/jsx-runtime";
7177
+ import { jsx as jsx93 } from "react/jsx-runtime";
7195
7178
  function SectionTag({ label, color = "green", className }) {
7196
- return /* @__PURE__ */ jsx94("div", { className: cn(sectionTagVariants({ color }), className), children: label });
7179
+ return /* @__PURE__ */ jsx93("div", { className: cn(sectionTagVariants({ color }), className), children: label });
7197
7180
  }
7198
7181
 
7199
7182
  // src/section-tag/constants.ts
@@ -7206,7 +7189,7 @@ var SectionTagColors = /* @__PURE__ */ ((SectionTagColors2) => {
7206
7189
  // src/section/Section.tsx
7207
7190
  import { forwardRef as forwardRef38 } from "react";
7208
7191
  import { CircleHelp } from "lucide-react";
7209
- import { useTranslation as useTranslation20 } from "react-i18next";
7192
+ import { useTranslation as useTranslation19 } from "react-i18next";
7210
7193
 
7211
7194
  // src/section/constants.ts
7212
7195
  var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
@@ -7216,16 +7199,16 @@ var SubSectionSize = /* @__PURE__ */ ((SubSectionSize2) => {
7216
7199
  })(SubSectionSize || {});
7217
7200
 
7218
7201
  // src/section/Section.tsx
7219
- import { jsx as jsx95, jsxs as jsxs62 } from "react/jsx-runtime";
7202
+ import { jsx as jsx94, jsxs as jsxs61 } from "react/jsx-runtime";
7220
7203
  function TooltipInfo({ content, className }) {
7221
- return /* @__PURE__ */ jsx95(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx95(
7204
+ return /* @__PURE__ */ jsx94(Tooltip, { side: "right", content, contentClassName: "max-w-64", children: /* @__PURE__ */ jsx94(
7222
7205
  "button",
7223
7206
  {
7224
7207
  type: "button",
7225
7208
  className: cn("inline-flex text-[var(--chekin-color-gray-1)]", className),
7226
7209
  onClick: (event) => event.stopPropagation(),
7227
7210
  "aria-label": typeof content === "string" ? content : "More information",
7228
- children: /* @__PURE__ */ jsx95(CircleHelp, { className: "h-4 w-4" })
7211
+ children: /* @__PURE__ */ jsx94(CircleHelp, { className: "h-4 w-4" })
7229
7212
  }
7230
7213
  ) });
7231
7214
  }
@@ -7244,8 +7227,8 @@ var Section = forwardRef38(
7244
7227
  hidden,
7245
7228
  size
7246
7229
  }, ref) => {
7247
- const { t } = useTranslation20();
7248
- return /* @__PURE__ */ jsxs62(
7230
+ const { t } = useTranslation19();
7231
+ return /* @__PURE__ */ jsxs61(
7249
7232
  "div",
7250
7233
  {
7251
7234
  ref,
@@ -7257,8 +7240,8 @@ var Section = forwardRef38(
7257
7240
  className
7258
7241
  ),
7259
7242
  children: [
7260
- (title || subtitle) && /* @__PURE__ */ jsxs62("div", { className: "flex flex-col gap-2", children: [
7261
- title && /* @__PURE__ */ jsxs62(
7243
+ (title || subtitle) && /* @__PURE__ */ jsxs61("div", { className: "flex flex-col gap-2", children: [
7244
+ title && /* @__PURE__ */ jsxs61(
7262
7245
  "div",
7263
7246
  {
7264
7247
  className: cn(
@@ -7267,17 +7250,17 @@ var Section = forwardRef38(
7267
7250
  ),
7268
7251
  children: [
7269
7252
  title,
7270
- titleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: titleTooltip }) }),
7271
- 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 })
7253
+ titleTooltip && /* @__PURE__ */ jsx94("div", { className: "ml-2.5", children: /* @__PURE__ */ jsx94(TooltipInfo, { content: titleTooltip }) }),
7254
+ linkContent && /* @__PURE__ */ jsx94("div", { className: "ml-6 text-sm font-semibold text-[var(--chekin-color-brand-blue)] no-underline hover:opacity-70 active:opacity-100", children: linkContent })
7272
7255
  ]
7273
7256
  }
7274
7257
  ),
7275
- subtitle && /* @__PURE__ */ jsxs62("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7276
- /* @__PURE__ */ jsx95("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7277
- subtitleTooltip && /* @__PURE__ */ jsx95("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx95(TooltipInfo, { content: subtitleTooltip }) })
7258
+ subtitle && /* @__PURE__ */ jsxs61("div", { className: "w-full max-w-[720px] md:max-w-full", children: [
7259
+ /* @__PURE__ */ jsx94("div", { className: "inline text-base font-normal text-[var(--chekin-color-gray-1)]", children: subtitle }),
7260
+ subtitleTooltip && /* @__PURE__ */ jsx94("div", { className: "ml-1.5 inline-block align-text-top", children: /* @__PURE__ */ jsx94(TooltipInfo, { content: subtitleTooltip }) })
7278
7261
  ] })
7279
7262
  ] }),
7280
- loading && showLoader ? /* @__PURE__ */ jsx95(
7263
+ loading && showLoader ? /* @__PURE__ */ jsx94(
7281
7264
  CircularLoader,
7282
7265
  {
7283
7266
  size: "md",
@@ -7292,7 +7275,7 @@ var Section = forwardRef38(
7292
7275
  );
7293
7276
  Section.displayName = "Section";
7294
7277
  var SubSection = forwardRef38(
7295
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
7278
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx94(
7296
7279
  Section,
7297
7280
  {
7298
7281
  ref,
@@ -7306,7 +7289,7 @@ var SubSection = forwardRef38(
7306
7289
  );
7307
7290
  SubSection.displayName = "SubSection";
7308
7291
  var DividingSubsection = forwardRef38(
7309
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
7292
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx94(
7310
7293
  SubSection,
7311
7294
  {
7312
7295
  ref,
@@ -7326,7 +7309,7 @@ import {
7326
7309
  } from "react";
7327
7310
 
7328
7311
  // src/selector-button/SelectorButton.tsx
7329
- import { jsx as jsx96, jsxs as jsxs63 } from "react/jsx-runtime";
7312
+ import { jsx as jsx95, jsxs as jsxs62 } from "react/jsx-runtime";
7330
7313
  function SelectorButton({
7331
7314
  active,
7332
7315
  onClick,
@@ -7351,7 +7334,7 @@ function SelectorButton({
7351
7334
  event.preventDefault();
7352
7335
  }
7353
7336
  };
7354
- return /* @__PURE__ */ jsxs63(
7337
+ return /* @__PURE__ */ jsxs62(
7355
7338
  "label",
7356
7339
  {
7357
7340
  className: cn(
@@ -7365,7 +7348,7 @@ function SelectorButton({
7365
7348
  ),
7366
7349
  ...props,
7367
7350
  children: [
7368
- /* @__PURE__ */ jsx96(
7351
+ /* @__PURE__ */ jsx95(
7369
7352
  "input",
7370
7353
  {
7371
7354
  onClick: handleChange,
@@ -7376,7 +7359,7 @@ function SelectorButton({
7376
7359
  readOnly
7377
7360
  }
7378
7361
  ),
7379
- /* @__PURE__ */ jsx96("div", { className: "flex h-full items-center", children })
7362
+ /* @__PURE__ */ jsx95("div", { className: "flex h-full items-center", children })
7380
7363
  ]
7381
7364
  }
7382
7365
  );
@@ -7384,7 +7367,7 @@ function SelectorButton({
7384
7367
  SelectorButton.displayName = "SelectorButton";
7385
7368
 
7386
7369
  // src/selectors/Selectors.tsx
7387
- import { Fragment as Fragment10, jsx as jsx97, jsxs as jsxs64 } from "react/jsx-runtime";
7370
+ import { Fragment as Fragment10, jsx as jsx96, jsxs as jsxs63 } from "react/jsx-runtime";
7388
7371
  var getValueArray = (value) => {
7389
7372
  if (value) {
7390
7373
  return Array.isArray(value) ? value : [value];
@@ -7441,9 +7424,9 @@ function SelectorsInternal({
7441
7424
  useEffect21(() => {
7442
7425
  onAnySelectorActive?.(isAnyActive);
7443
7426
  }, [isAnyActive, onAnySelectorActive]);
7444
- return /* @__PURE__ */ jsxs64(Fragment10, { children: [
7445
- label && /* @__PURE__ */ jsx97("div", { className: "flex [&_span]:ml-[5px]", children: /* @__PURE__ */ jsx97("div", { className: "label box-border mb-1.5 min-h-5 select-none overflow-x-hidden text-ellipsis whitespace-nowrap text-left text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
7446
- /* @__PURE__ */ jsx97(
7427
+ return /* @__PURE__ */ jsxs63(Fragment10, { children: [
7428
+ label && /* @__PURE__ */ jsx96("div", { className: "flex [&_span]:ml-[5px]", children: /* @__PURE__ */ jsx96("div", { className: "label box-border mb-1.5 min-h-5 select-none overflow-x-hidden text-ellipsis whitespace-nowrap text-left text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
7429
+ /* @__PURE__ */ jsx96(
7447
7430
  "div",
7448
7431
  {
7449
7432
  ref,
@@ -7456,7 +7439,7 @@ function SelectorsInternal({
7456
7439
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
7457
7440
  const isMinSelected = getValueArray(value).length <= minSelected;
7458
7441
  const isReadOnly = readOnly || isMinSelected && isSelected || readonlyItems?.includes(option.value);
7459
- return /* @__PURE__ */ jsx97(
7442
+ return /* @__PURE__ */ jsx96(
7460
7443
  SelectorButton,
7461
7444
  {
7462
7445
  loading,
@@ -7487,14 +7470,14 @@ var Selectors = forwardRef39(SelectorsInternal);
7487
7470
 
7488
7471
  // src/separator/Separator.tsx
7489
7472
  import * as SeparatorPrimitive from "@radix-ui/react-separator";
7490
- import { jsx as jsx98 } from "react/jsx-runtime";
7473
+ import { jsx as jsx97 } from "react/jsx-runtime";
7491
7474
  function Separator3({
7492
7475
  className,
7493
7476
  orientation = "horizontal",
7494
7477
  decorative = true,
7495
7478
  ...props
7496
7479
  }) {
7497
- return /* @__PURE__ */ jsx98(
7480
+ return /* @__PURE__ */ jsx97(
7498
7481
  SeparatorPrimitive.Root,
7499
7482
  {
7500
7483
  "data-slot": "separator",
@@ -7512,24 +7495,24 @@ function Separator3({
7512
7495
  // src/sheet/Sheet.tsx
7513
7496
  import * as SheetPrimitive from "@radix-ui/react-dialog";
7514
7497
  import { XIcon as XIcon2 } from "lucide-react";
7515
- import { jsx as jsx99, jsxs as jsxs65 } from "react/jsx-runtime";
7498
+ import { jsx as jsx98, jsxs as jsxs64 } from "react/jsx-runtime";
7516
7499
  function Sheet({ ...props }) {
7517
- return /* @__PURE__ */ jsx99(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
7500
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
7518
7501
  }
7519
7502
  function SheetTrigger({ ...props }) {
7520
- return /* @__PURE__ */ jsx99(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
7503
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
7521
7504
  }
7522
7505
  function SheetClose({ ...props }) {
7523
- return /* @__PURE__ */ jsx99(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
7506
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
7524
7507
  }
7525
7508
  function SheetPortal({ ...props }) {
7526
- return /* @__PURE__ */ jsx99(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
7509
+ return /* @__PURE__ */ jsx98(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
7527
7510
  }
7528
7511
  function SheetOverlay({
7529
7512
  className,
7530
7513
  ...props
7531
7514
  }) {
7532
- return /* @__PURE__ */ jsx99(
7515
+ return /* @__PURE__ */ jsx98(
7533
7516
  SheetPrimitive.Overlay,
7534
7517
  {
7535
7518
  "data-slot": "sheet-overlay",
@@ -7547,9 +7530,9 @@ function SheetContent({
7547
7530
  side = "right",
7548
7531
  ...props
7549
7532
  }) {
7550
- return /* @__PURE__ */ jsxs65(SheetPortal, { children: [
7551
- /* @__PURE__ */ jsx99(SheetOverlay, {}),
7552
- /* @__PURE__ */ jsxs65(
7533
+ return /* @__PURE__ */ jsxs64(SheetPortal, { children: [
7534
+ /* @__PURE__ */ jsx98(SheetOverlay, {}),
7535
+ /* @__PURE__ */ jsxs64(
7553
7536
  SheetPrimitive.Content,
7554
7537
  {
7555
7538
  "data-slot": "sheet-content",
@@ -7564,9 +7547,9 @@ function SheetContent({
7564
7547
  ...props,
7565
7548
  children: [
7566
7549
  children,
7567
- /* @__PURE__ */ jsxs65(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-[var(--chekin-radius-small)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-[var(--chekin-shadow-focus)] disabled:pointer-events-none", children: [
7568
- /* @__PURE__ */ jsx99(XIcon2, { className: "size-4" }),
7569
- /* @__PURE__ */ jsx99("span", { className: "sr-only", children: "Close" })
7550
+ /* @__PURE__ */ jsxs64(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-[var(--chekin-radius-small)] opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:shadow-[var(--chekin-shadow-focus)] disabled:pointer-events-none", children: [
7551
+ /* @__PURE__ */ jsx98(XIcon2, { className: "size-4" }),
7552
+ /* @__PURE__ */ jsx98("span", { className: "sr-only", children: "Close" })
7570
7553
  ] })
7571
7554
  ]
7572
7555
  }
@@ -7574,7 +7557,7 @@ function SheetContent({
7574
7557
  ] });
7575
7558
  }
7576
7559
  function SheetHeader({ className, ...props }) {
7577
- return /* @__PURE__ */ jsx99(
7560
+ return /* @__PURE__ */ jsx98(
7578
7561
  "div",
7579
7562
  {
7580
7563
  "data-slot": "sheet-header",
@@ -7584,7 +7567,7 @@ function SheetHeader({ className, ...props }) {
7584
7567
  );
7585
7568
  }
7586
7569
  function SheetFooter({ className, ...props }) {
7587
- return /* @__PURE__ */ jsx99(
7570
+ return /* @__PURE__ */ jsx98(
7588
7571
  "div",
7589
7572
  {
7590
7573
  "data-slot": "sheet-footer",
@@ -7597,7 +7580,7 @@ function SheetTitle({
7597
7580
  className,
7598
7581
  ...props
7599
7582
  }) {
7600
- return /* @__PURE__ */ jsx99(
7583
+ return /* @__PURE__ */ jsx98(
7601
7584
  SheetPrimitive.Title,
7602
7585
  {
7603
7586
  "data-slot": "sheet-title",
@@ -7610,7 +7593,7 @@ function SheetDescription({
7610
7593
  className,
7611
7594
  ...props
7612
7595
  }) {
7613
- return /* @__PURE__ */ jsx99(
7596
+ return /* @__PURE__ */ jsx98(
7614
7597
  SheetPrimitive.Description,
7615
7598
  {
7616
7599
  "data-slot": "sheet-description",
@@ -7627,9 +7610,9 @@ import { cva as cva11 } from "class-variance-authority";
7627
7610
  import { ArrowLeftFromLineIcon, ArrowRightFromLineIcon } from "lucide-react";
7628
7611
 
7629
7612
  // src/skeleton/Skeleton.tsx
7630
- import { jsx as jsx100 } from "react/jsx-runtime";
7613
+ import { jsx as jsx99 } from "react/jsx-runtime";
7631
7614
  function Skeleton({ className, ...props }) {
7632
- return /* @__PURE__ */ jsx100(
7615
+ return /* @__PURE__ */ jsx99(
7633
7616
  "div",
7634
7617
  {
7635
7618
  "data-slot": "skeleton",
@@ -7659,7 +7642,7 @@ function useSidebarMenuButton() {
7659
7642
  }
7660
7643
 
7661
7644
  // src/sidebar/SidebarIcon.tsx
7662
- import { jsx as jsx101 } from "react/jsx-runtime";
7645
+ import { jsx as jsx100 } from "react/jsx-runtime";
7663
7646
  var SidebarIcon = ({
7664
7647
  children,
7665
7648
  isActive: isActiveProp,
@@ -7676,7 +7659,7 @@ var SidebarIcon = ({
7676
7659
  }
7677
7660
  return highlighted ? "bg-[var(--chekin-color-surface-pressed)]" : "bg-[var(--chekin-color-surface-input-empty)]";
7678
7661
  })();
7679
- return /* @__PURE__ */ jsx101(
7662
+ return /* @__PURE__ */ jsx100(
7680
7663
  "div",
7681
7664
  {
7682
7665
  className: cn(
@@ -7709,7 +7692,7 @@ function useSidebarSafe() {
7709
7692
  }
7710
7693
 
7711
7694
  // src/sidebar/Sidebar.tsx
7712
- import { jsx as jsx102, jsxs as jsxs66 } from "react/jsx-runtime";
7695
+ import { jsx as jsx101, jsxs as jsxs65 } from "react/jsx-runtime";
7713
7696
  var SIDEBAR_COOKIE_NAME_DEFAULT = "sidebar_state";
7714
7697
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
7715
7698
  var SIDEBAR_WIDTH_MOBILE = "18rem";
@@ -7767,7 +7750,7 @@ var SidebarProvider = React26.forwardRef(
7767
7750
  }),
7768
7751
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
7769
7752
  );
7770
- return /* @__PURE__ */ jsx102(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx102(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx102(
7753
+ return /* @__PURE__ */ jsx101(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx101(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx101(
7771
7754
  "div",
7772
7755
  {
7773
7756
  style,
@@ -7791,7 +7774,7 @@ var Sidebar = React26.forwardRef(
7791
7774
  }, ref) => {
7792
7775
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
7793
7776
  if (collapsible === "none") {
7794
- return /* @__PURE__ */ jsx102(
7777
+ return /* @__PURE__ */ jsx101(
7795
7778
  "div",
7796
7779
  {
7797
7780
  className: cn(
@@ -7805,7 +7788,7 @@ var Sidebar = React26.forwardRef(
7805
7788
  );
7806
7789
  }
7807
7790
  if (isMobile) {
7808
- return /* @__PURE__ */ jsx102(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs66(
7791
+ return /* @__PURE__ */ jsx101(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ jsxs65(
7809
7792
  SheetContent,
7810
7793
  {
7811
7794
  "data-sidebar": "sidebar",
@@ -7817,16 +7800,16 @@ var Sidebar = React26.forwardRef(
7817
7800
  style: { "--sidebar-width": SIDEBAR_WIDTH_MOBILE },
7818
7801
  side,
7819
7802
  children: [
7820
- /* @__PURE__ */ jsxs66(SheetHeader, { className: "sr-only", children: [
7821
- /* @__PURE__ */ jsx102(SheetTitle, { children: "Sidebar" }),
7822
- /* @__PURE__ */ jsx102(SheetDescription, { children: "Displays the mobile sidebar." })
7803
+ /* @__PURE__ */ jsxs65(SheetHeader, { className: "sr-only", children: [
7804
+ /* @__PURE__ */ jsx101(SheetTitle, { children: "Sidebar" }),
7805
+ /* @__PURE__ */ jsx101(SheetDescription, { children: "Displays the mobile sidebar." })
7823
7806
  ] }),
7824
- /* @__PURE__ */ jsx102("div", { className: "flex h-full w-full flex-col", children })
7807
+ /* @__PURE__ */ jsx101("div", { className: "flex h-full w-full flex-col", children })
7825
7808
  ]
7826
7809
  }
7827
7810
  ) });
7828
7811
  }
7829
- return /* @__PURE__ */ jsxs66(
7812
+ return /* @__PURE__ */ jsxs65(
7830
7813
  "div",
7831
7814
  {
7832
7815
  ref,
@@ -7837,7 +7820,7 @@ var Sidebar = React26.forwardRef(
7837
7820
  "data-variant": variant,
7838
7821
  "data-side": side,
7839
7822
  children: [
7840
- /* @__PURE__ */ jsx102(
7823
+ /* @__PURE__ */ jsx101(
7841
7824
  "div",
7842
7825
  {
7843
7826
  className: cn(
@@ -7848,7 +7831,7 @@ var Sidebar = React26.forwardRef(
7848
7831
  )
7849
7832
  }
7850
7833
  ),
7851
- /* @__PURE__ */ jsx102(
7834
+ /* @__PURE__ */ jsx101(
7852
7835
  "div",
7853
7836
  {
7854
7837
  className: cn(
@@ -7858,7 +7841,7 @@ var Sidebar = React26.forwardRef(
7858
7841
  className
7859
7842
  ),
7860
7843
  ...props,
7861
- children: /* @__PURE__ */ jsx102(
7844
+ children: /* @__PURE__ */ jsx101(
7862
7845
  "div",
7863
7846
  {
7864
7847
  "data-sidebar": "sidebar",
@@ -7876,7 +7859,7 @@ var Sidebar = React26.forwardRef(
7876
7859
  Sidebar.displayName = "Sidebar";
7877
7860
  var SidebarTrigger = React26.forwardRef(({ className, onClick, icon, ...props }, ref) => {
7878
7861
  const { toggleSidebar, open, isMobile, openMobile } = useSidebar();
7879
- return /* @__PURE__ */ jsxs66(
7862
+ return /* @__PURE__ */ jsxs65(
7880
7863
  Button,
7881
7864
  {
7882
7865
  ref,
@@ -7894,8 +7877,8 @@ var SidebarTrigger = React26.forwardRef(({ className, onClick, icon, ...props },
7894
7877
  },
7895
7878
  ...props,
7896
7879
  children: [
7897
- icon || (isMobile ? openMobile : open) ? icon || /* @__PURE__ */ jsx102(ArrowLeftFromLineIcon, {}) : /* @__PURE__ */ jsx102(ArrowRightFromLineIcon, {}),
7898
- /* @__PURE__ */ jsx102("span", { className: "sr-only", children: "Toggle Sidebar" })
7880
+ icon || (isMobile ? openMobile : open) ? icon || /* @__PURE__ */ jsx101(ArrowLeftFromLineIcon, {}) : /* @__PURE__ */ jsx101(ArrowRightFromLineIcon, {}),
7881
+ /* @__PURE__ */ jsx101("span", { className: "sr-only", children: "Toggle Sidebar" })
7899
7882
  ]
7900
7883
  }
7901
7884
  );
@@ -7904,7 +7887,7 @@ SidebarTrigger.displayName = "SidebarTrigger";
7904
7887
  var SidebarRail = React26.forwardRef(
7905
7888
  ({ className, ...props }, ref) => {
7906
7889
  const { toggleSidebar } = useSidebar();
7907
- return /* @__PURE__ */ jsx102(
7890
+ return /* @__PURE__ */ jsx101(
7908
7891
  "button",
7909
7892
  {
7910
7893
  ref,
@@ -7928,7 +7911,7 @@ var SidebarRail = React26.forwardRef(
7928
7911
  );
7929
7912
  SidebarRail.displayName = "SidebarRail";
7930
7913
  var SidebarInset = React26.forwardRef(
7931
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7914
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7932
7915
  "main",
7933
7916
  {
7934
7917
  ref,
@@ -7942,7 +7925,7 @@ var SidebarInset = React26.forwardRef(
7942
7925
  )
7943
7926
  );
7944
7927
  SidebarInset.displayName = "SidebarInset";
7945
- var SidebarInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7928
+ var SidebarInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7946
7929
  Input,
7947
7930
  {
7948
7931
  ref,
@@ -7953,7 +7936,7 @@ var SidebarInput = React26.forwardRef(({ className, ...props }, ref) => /* @__PU
7953
7936
  ));
7954
7937
  SidebarInput.displayName = "SidebarInput";
7955
7938
  var SidebarHeader = React26.forwardRef(
7956
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7939
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7957
7940
  "div",
7958
7941
  {
7959
7942
  ref,
@@ -7965,7 +7948,7 @@ var SidebarHeader = React26.forwardRef(
7965
7948
  );
7966
7949
  SidebarHeader.displayName = "SidebarHeader";
7967
7950
  var SidebarFooter = React26.forwardRef(
7968
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7951
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7969
7952
  "div",
7970
7953
  {
7971
7954
  ref,
@@ -7976,7 +7959,7 @@ var SidebarFooter = React26.forwardRef(
7976
7959
  )
7977
7960
  );
7978
7961
  SidebarFooter.displayName = "SidebarFooter";
7979
- var SidebarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7962
+ var SidebarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7980
7963
  Separator3,
7981
7964
  {
7982
7965
  ref,
@@ -7987,7 +7970,7 @@ var SidebarSeparator = React26.forwardRef(({ className, ...props }, ref) => /* @
7987
7970
  ));
7988
7971
  SidebarSeparator.displayName = "SidebarSeparator";
7989
7972
  var SidebarContent = React26.forwardRef(
7990
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7973
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
7991
7974
  "div",
7992
7975
  {
7993
7976
  ref,
@@ -8002,7 +7985,7 @@ var SidebarContent = React26.forwardRef(
8002
7985
  );
8003
7986
  SidebarContent.displayName = "SidebarContent";
8004
7987
  var SidebarGroup = React26.forwardRef(
8005
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
7988
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8006
7989
  "div",
8007
7990
  {
8008
7991
  ref,
@@ -8015,7 +7998,7 @@ var SidebarGroup = React26.forwardRef(
8015
7998
  SidebarGroup.displayName = "SidebarGroup";
8016
7999
  var SidebarGroupLabel = React26.forwardRef(({ className, asChild = false, ...props }, ref) => {
8017
8000
  const Comp = asChild ? Slot4 : "div";
8018
- return /* @__PURE__ */ jsx102(
8001
+ return /* @__PURE__ */ jsx101(
8019
8002
  Comp,
8020
8003
  {
8021
8004
  ref,
@@ -8032,7 +8015,7 @@ var SidebarGroupLabel = React26.forwardRef(({ className, asChild = false, ...pro
8032
8015
  SidebarGroupLabel.displayName = "SidebarGroupLabel";
8033
8016
  var SidebarGroupAction = React26.forwardRef(({ className, asChild = false, ...props }, ref) => {
8034
8017
  const Comp = asChild ? Slot4 : "button";
8035
- return /* @__PURE__ */ jsx102(
8018
+ return /* @__PURE__ */ jsx101(
8036
8019
  Comp,
8037
8020
  {
8038
8021
  ref,
@@ -8047,7 +8030,7 @@ var SidebarGroupAction = React26.forwardRef(({ className, asChild = false, ...pr
8047
8030
  });
8048
8031
  SidebarGroupAction.displayName = "SidebarGroupAction";
8049
8032
  var SidebarGroupContent = React26.forwardRef(
8050
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8033
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8051
8034
  "div",
8052
8035
  {
8053
8036
  ref,
@@ -8059,7 +8042,7 @@ var SidebarGroupContent = React26.forwardRef(
8059
8042
  );
8060
8043
  SidebarGroupContent.displayName = "SidebarGroupContent";
8061
8044
  var SidebarMenu = React26.forwardRef(
8062
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8045
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8063
8046
  "ul",
8064
8047
  {
8065
8048
  ref,
@@ -8071,7 +8054,7 @@ var SidebarMenu = React26.forwardRef(
8071
8054
  );
8072
8055
  SidebarMenu.displayName = "SidebarMenu";
8073
8056
  var SidebarMenuItem = React26.forwardRef(
8074
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8057
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8075
8058
  "li",
8076
8059
  {
8077
8060
  ref,
@@ -8115,7 +8098,7 @@ var SidebarMenuButton = React26.forwardRef(
8115
8098
  }, ref) => {
8116
8099
  const Comp = asChild ? Slot4 : "button";
8117
8100
  const { isMobile, state } = useSidebar();
8118
- const button = /* @__PURE__ */ jsx102(
8101
+ const button = /* @__PURE__ */ jsx101(
8119
8102
  Comp,
8120
8103
  {
8121
8104
  ref,
@@ -8128,12 +8111,12 @@ var SidebarMenuButton = React26.forwardRef(
8128
8111
  }
8129
8112
  );
8130
8113
  if (!tooltip) {
8131
- return /* @__PURE__ */ jsx102(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: button });
8114
+ return /* @__PURE__ */ jsx101(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: button });
8132
8115
  }
8133
8116
  const tooltipProps = typeof tooltip === "string" ? { children: tooltip } : tooltip;
8134
- return /* @__PURE__ */ jsx102(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: /* @__PURE__ */ jsxs66(Tooltip, { children: [
8135
- /* @__PURE__ */ jsx102(TooltipTrigger, { asChild: true, children: button }),
8136
- /* @__PURE__ */ jsx102(
8117
+ return /* @__PURE__ */ jsx101(SidebarMenuButtonContext.Provider, { value: { isActive, highlighted }, children: /* @__PURE__ */ jsxs65(Tooltip, { children: [
8118
+ /* @__PURE__ */ jsx101(TooltipTrigger, { asChild: true, children: button }),
8119
+ /* @__PURE__ */ jsx101(
8137
8120
  TooltipContent,
8138
8121
  {
8139
8122
  side: "right",
@@ -8150,7 +8133,7 @@ var SidebarMenuButton = React26.forwardRef(
8150
8133
  SidebarMenuButton.displayName = "SidebarMenuButton";
8151
8134
  var SidebarMenuAction = React26.forwardRef(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
8152
8135
  const Comp = asChild ? Slot4 : "button";
8153
- return /* @__PURE__ */ jsx102(
8136
+ return /* @__PURE__ */ jsx101(
8154
8137
  Comp,
8155
8138
  {
8156
8139
  ref,
@@ -8169,7 +8152,7 @@ var SidebarMenuBadge = React26.forwardRef(
8169
8152
  ({ className, ...props }, ref) => {
8170
8153
  const { open, isMobile, openMobile } = useSidebar();
8171
8154
  const isOpen = isMobile ? openMobile : open;
8172
- return /* @__PURE__ */ jsx102(
8155
+ return /* @__PURE__ */ jsx101(
8173
8156
  "div",
8174
8157
  {
8175
8158
  ref,
@@ -8187,7 +8170,7 @@ var SidebarMenuBadge = React26.forwardRef(
8187
8170
  SidebarMenuBadge.displayName = "SidebarMenuBadge";
8188
8171
  var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...props }, ref) => {
8189
8172
  const width = React26.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
8190
- return /* @__PURE__ */ jsxs66(
8173
+ return /* @__PURE__ */ jsxs65(
8191
8174
  "div",
8192
8175
  {
8193
8176
  ref,
@@ -8195,8 +8178,8 @@ var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...
8195
8178
  className: cn("flex h-8 items-center gap-2 rounded-md px-2", className),
8196
8179
  ...props,
8197
8180
  children: [
8198
- showIcon && /* @__PURE__ */ jsx102(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
8199
- /* @__PURE__ */ jsx102(
8181
+ showIcon && /* @__PURE__ */ jsx101(Skeleton, { className: "size-4 rounded-md", "data-sidebar": "menu-skeleton-icon" }),
8182
+ /* @__PURE__ */ jsx101(
8200
8183
  Skeleton,
8201
8184
  {
8202
8185
  className: "h-4 max-w-[--skeleton-width] flex-1",
@@ -8210,7 +8193,7 @@ var SidebarMenuSkeleton = React26.forwardRef(({ className, showIcon = false, ...
8210
8193
  });
8211
8194
  SidebarMenuSkeleton.displayName = "SidebarMenuSkeleton";
8212
8195
  var SidebarMenuSub = React26.forwardRef(
8213
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx102(
8196
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx101(
8214
8197
  "ul",
8215
8198
  {
8216
8199
  ref,
@@ -8225,7 +8208,7 @@ var SidebarMenuSub = React26.forwardRef(
8225
8208
  );
8226
8209
  SidebarMenuSub.displayName = "SidebarMenuSub";
8227
8210
  var SidebarMenuSubItem = React26.forwardRef(
8228
- ({ ...props }, ref) => /* @__PURE__ */ jsx102("li", { ref, ...props })
8211
+ ({ ...props }, ref) => /* @__PURE__ */ jsx101("li", { ref, ...props })
8229
8212
  );
8230
8213
  SidebarMenuSubItem.displayName = "SidebarMenuSubItem";
8231
8214
  var sidebarMenuSubButtonVariants = cva11(
@@ -8258,7 +8241,7 @@ var SidebarMenuSubButton = React26.forwardRef(
8258
8241
  ...props
8259
8242
  }, ref) => {
8260
8243
  const Comp = asChild ? Slot4 : "a";
8261
- return /* @__PURE__ */ jsx102(
8244
+ return /* @__PURE__ */ jsx101(
8262
8245
  Comp,
8263
8246
  {
8264
8247
  ref,
@@ -8280,7 +8263,7 @@ var getSidebarState = (stateName) => document.cookie.split("; ").find((row) => r
8280
8263
  // src/small-grid-single-item/SmallGridSingleItem.tsx
8281
8264
  import { memo as memo5 } from "react";
8282
8265
  import { Pencil, Trash2 } from "lucide-react";
8283
- import { jsx as jsx103, jsxs as jsxs67 } from "react/jsx-runtime";
8266
+ import { jsx as jsx102, jsxs as jsxs66 } from "react/jsx-runtime";
8284
8267
  var SmallGridSingleItem = memo5(
8285
8268
  ({
8286
8269
  title,
@@ -8296,7 +8279,7 @@ var SmallGridSingleItem = memo5(
8296
8279
  const handleClick = (event) => {
8297
8280
  if (!disabled && onClick) onClick(event);
8298
8281
  };
8299
- return /* @__PURE__ */ jsxs67(
8282
+ return /* @__PURE__ */ jsxs66(
8300
8283
  "div",
8301
8284
  {
8302
8285
  onClick: handleClick,
@@ -8310,24 +8293,24 @@ var SmallGridSingleItem = memo5(
8310
8293
  className
8311
8294
  ),
8312
8295
  children: [
8313
- /* @__PURE__ */ jsxs67("div", { children: [
8314
- /* @__PURE__ */ jsx103("div", { className: "line-clamp-2 overflow-hidden text-ellipsis break-all", children: title }),
8315
- 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 })
8296
+ /* @__PURE__ */ jsxs66("div", { children: [
8297
+ /* @__PURE__ */ jsx102("div", { className: "line-clamp-2 overflow-hidden text-ellipsis break-all", children: title }),
8298
+ subtitle && /* @__PURE__ */ jsx102("div", { className: "line-clamp-2 overflow-hidden text-ellipsis text-[15px] font-medium leading-6 text-[var(--chekin-color-gray-2)]", children: subtitle })
8316
8299
  ] }),
8317
- !readOnly && /* @__PURE__ */ jsxs67("div", { className: "flex h-full items-center justify-end gap-2", children: [
8318
- onDelete && /* @__PURE__ */ jsx103(
8300
+ !readOnly && /* @__PURE__ */ jsxs66("div", { className: "flex h-full items-center justify-end gap-2", children: [
8301
+ onDelete && /* @__PURE__ */ jsx102(
8319
8302
  Button,
8320
8303
  {
8321
8304
  disabled,
8322
8305
  onClick: onDelete,
8323
8306
  size: "icon",
8324
8307
  variant: "outline",
8325
- children: /* @__PURE__ */ jsx103(Trash2, { className: "h-5 w-5 text-[var(--chekin-color-brand-red)]" })
8308
+ children: /* @__PURE__ */ jsx102(Trash2, { className: "h-5 w-5 text-[var(--chekin-color-brand-red)]" })
8326
8309
  }
8327
8310
  ),
8328
- 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)]" }) })
8311
+ onEdit && /* @__PURE__ */ jsx102(Button, { disabled, onClick: onEdit, size: "icon", variant: "outline", children: /* @__PURE__ */ jsx102(Pencil, { className: "h-5 w-5 text-[var(--chekin-color-brand-blue)]" }) })
8329
8312
  ] }),
8330
- error && /* @__PURE__ */ jsx103("div", { className: "absolute bottom-1 right-2 text-xs text-[var(--chekin-color-brand-red)]", children: error })
8313
+ error && /* @__PURE__ */ jsx102("div", { className: "absolute bottom-1 right-2 text-xs text-[var(--chekin-color-brand-red)]", children: error })
8331
8314
  ]
8332
8315
  }
8333
8316
  );
@@ -8336,9 +8319,9 @@ var SmallGridSingleItem = memo5(
8336
8319
  SmallGridSingleItem.displayName = "SmallGridSingleItem";
8337
8320
 
8338
8321
  // src/sorting-action/SortingAction.tsx
8339
- import { useTranslation as useTranslation21 } from "react-i18next";
8322
+ import { useTranslation as useTranslation20 } from "react-i18next";
8340
8323
  import { ArrowDown, ArrowDownUpIcon, ArrowUp, Minus as Minus2 } from "lucide-react";
8341
- import { jsx as jsx104, jsxs as jsxs68 } from "react/jsx-runtime";
8324
+ import { jsx as jsx103, jsxs as jsxs67 } from "react/jsx-runtime";
8342
8325
  function SortingAction({
8343
8326
  value,
8344
8327
  onSortChange,
@@ -8347,9 +8330,9 @@ function SortingAction({
8347
8330
  variant = "by_other",
8348
8331
  onOpenChange
8349
8332
  }) {
8350
- const { t } = useTranslation21();
8351
- return /* @__PURE__ */ jsxs68(DropdownMenu, { open, onOpenChange, children: [
8352
- /* @__PURE__ */ jsx104(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx104(
8333
+ const { t } = useTranslation20();
8334
+ return /* @__PURE__ */ jsxs67(DropdownMenu, { open, onOpenChange, children: [
8335
+ /* @__PURE__ */ jsx103(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsx103(
8353
8336
  "button",
8354
8337
  {
8355
8338
  type: "button",
@@ -8358,36 +8341,36 @@ function SortingAction({
8358
8341
  className
8359
8342
  ),
8360
8343
  "aria-label": "Open sorting menu",
8361
- children: /* @__PURE__ */ jsx104(ArrowDownUpIcon, { className: "h-4 w-4 text-[var(--chekin-color-gray-1)] group-hover/trigger:text-[var(--chekin-color-brand-navy)]" })
8344
+ children: /* @__PURE__ */ jsx103(ArrowDownUpIcon, { className: "h-4 w-4 text-[var(--chekin-color-gray-1)] group-hover/trigger:text-[var(--chekin-color-brand-navy)]" })
8362
8345
  }
8363
8346
  ) }),
8364
- /* @__PURE__ */ jsxs68(DropdownMenuContent, { className: "w-full max-w-[256px]", align: "start", children: [
8365
- /* @__PURE__ */ jsxs68(
8347
+ /* @__PURE__ */ jsxs67(DropdownMenuContent, { className: "w-full max-w-[256px]", align: "start", children: [
8348
+ /* @__PURE__ */ jsxs67(
8366
8349
  DropdownMenuItem,
8367
8350
  {
8368
8351
  active: value === "asc",
8369
8352
  className: cn(value === "asc" && "text-[var(--chekin-color-brand-blue)]"),
8370
8353
  onClick: () => onSortChange?.("asc"),
8371
8354
  children: [
8372
- /* @__PURE__ */ jsx104(ArrowUp, { className: "h-4 w-4" }),
8355
+ /* @__PURE__ */ jsx103(ArrowUp, { className: "h-4 w-4" }),
8373
8356
  variant === "by_text" ? t("sort_a_z") : t("sort_in_asc")
8374
8357
  ]
8375
8358
  }
8376
8359
  ),
8377
- /* @__PURE__ */ jsxs68(
8360
+ /* @__PURE__ */ jsxs67(
8378
8361
  DropdownMenuItem,
8379
8362
  {
8380
8363
  active: value === "desc",
8381
8364
  className: cn(value === "desc" && "text-[var(--chekin-color-brand-blue)]"),
8382
8365
  onClick: () => onSortChange?.("desc"),
8383
8366
  children: [
8384
- /* @__PURE__ */ jsx104(ArrowDown, { className: "h-4 w-4" }),
8367
+ /* @__PURE__ */ jsx103(ArrowDown, { className: "h-4 w-4" }),
8385
8368
  variant === "by_text" ? t("sort_z_a") : t("sort_in_desc")
8386
8369
  ]
8387
8370
  }
8388
8371
  ),
8389
- value && /* @__PURE__ */ jsxs68(DropdownMenuItem, { onClick: () => onSortChange?.(null), children: [
8390
- /* @__PURE__ */ jsx104(Minus2, { className: "h-4 w-4" }),
8372
+ value && /* @__PURE__ */ jsxs67(DropdownMenuItem, { onClick: () => onSortChange?.(null), children: [
8373
+ /* @__PURE__ */ jsx103(Minus2, { className: "h-4 w-4" }),
8391
8374
  t("clear_sorting")
8392
8375
  ] })
8393
8376
  ] })
@@ -8396,9 +8379,9 @@ function SortingAction({
8396
8379
 
8397
8380
  // src/status-button/StatusButton.tsx
8398
8381
  import { useMemo as useMemo5 } from "react";
8399
- import { useTranslation as useTranslation22 } from "react-i18next";
8382
+ import { useTranslation as useTranslation21 } from "react-i18next";
8400
8383
  import { AlertCircle as AlertCircle2, CheckCircle, Loader2 as Loader23 } from "lucide-react";
8401
- import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
8384
+ import { jsx as jsx104, jsxs as jsxs68 } from "react/jsx-runtime";
8402
8385
  function StatusButton({
8403
8386
  hidden,
8404
8387
  status,
@@ -8412,11 +8395,11 @@ function StatusButton({
8412
8395
  variant = "default",
8413
8396
  ...props
8414
8397
  }) {
8415
- const { t } = useTranslation22();
8398
+ const { t } = useTranslation21();
8416
8399
  const configMap = useMemo5(() => {
8417
8400
  const defaultLoadingConfig = {
8418
8401
  text: loadingText ?? `${t("saving")}...`,
8419
- icon: /* @__PURE__ */ jsx105(Loader23, { className: "h-4 w-4 animate-spin" }),
8402
+ icon: /* @__PURE__ */ jsx104(Loader23, { className: "h-4 w-4 animate-spin" }),
8420
8403
  variant,
8421
8404
  isLoading: true
8422
8405
  };
@@ -8426,13 +8409,13 @@ function StatusButton({
8426
8409
  validating: { ...defaultLoadingConfig, text: t("validating") },
8427
8410
  error: {
8428
8411
  text: t("error"),
8429
- icon: /* @__PURE__ */ jsx105(AlertCircle2, { className: "h-4 w-4" }),
8412
+ icon: /* @__PURE__ */ jsx104(AlertCircle2, { className: "h-4 w-4" }),
8430
8413
  variant: "destructive",
8431
8414
  isLoading: false
8432
8415
  },
8433
8416
  success: {
8434
8417
  text: successText ?? t("saved_exclamation"),
8435
- icon: /* @__PURE__ */ jsx105(CheckCircle, { className: "h-4 w-4" }),
8418
+ icon: /* @__PURE__ */ jsx104(CheckCircle, { className: "h-4 w-4" }),
8436
8419
  variant,
8437
8420
  isLoading: false
8438
8421
  },
@@ -8448,7 +8431,7 @@ function StatusButton({
8448
8431
  if (hidden) {
8449
8432
  return null;
8450
8433
  }
8451
- return /* @__PURE__ */ jsxs69(
8434
+ return /* @__PURE__ */ jsxs68(
8452
8435
  Button,
8453
8436
  {
8454
8437
  className: cn(
@@ -8464,7 +8447,7 @@ function StatusButton({
8464
8447
  ...props,
8465
8448
  children: [
8466
8449
  config.icon,
8467
- /* @__PURE__ */ jsx105("span", { children: config.text })
8450
+ /* @__PURE__ */ jsx104("span", { children: config.text })
8468
8451
  ]
8469
8452
  }
8470
8453
  );
@@ -8472,37 +8455,37 @@ function StatusButton({
8472
8455
 
8473
8456
  // src/status-box/StatusBox.tsx
8474
8457
  import { AlertTriangleIcon, CheckIcon as CheckIcon4, XIcon as XIcon3 } from "lucide-react";
8475
- import { jsx as jsx106, jsxs as jsxs70 } from "react/jsx-runtime";
8458
+ import { jsx as jsx105, jsxs as jsxs69 } from "react/jsx-runtime";
8476
8459
  function StatusBox({ status, title, text }) {
8477
8460
  if (status === "success") {
8478
- return /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-3 rounded-lg border border-green-100 bg-green-50 p-4", children: [
8479
- /* @__PURE__ */ jsx106("div", { className: "rounded-full bg-green-100 p-1", children: /* @__PURE__ */ jsx106(CheckIcon4, { className: "h-5 w-5 text-green-600" }) }),
8480
- /* @__PURE__ */ jsxs70("div", { children: [
8481
- /* @__PURE__ */ jsx106("p", { className: "font-semibold text-green-800", children: title }),
8482
- /* @__PURE__ */ jsx106("p", { className: "text-sm text-green-700", children: text })
8461
+ return /* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-3 rounded-lg border border-green-100 bg-green-50 p-4", children: [
8462
+ /* @__PURE__ */ jsx105("div", { className: "rounded-full bg-green-100 p-1", children: /* @__PURE__ */ jsx105(CheckIcon4, { className: "h-5 w-5 text-green-600" }) }),
8463
+ /* @__PURE__ */ jsxs69("div", { children: [
8464
+ /* @__PURE__ */ jsx105("p", { className: "font-semibold text-green-800", children: title }),
8465
+ /* @__PURE__ */ jsx105("p", { className: "text-sm text-green-700", children: text })
8483
8466
  ] })
8484
8467
  ] });
8485
8468
  }
8486
8469
  if (status === "failed") {
8487
- return /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-3 rounded-lg border border-red-100 bg-red-50 p-4", children: [
8488
- /* @__PURE__ */ jsx106("div", { className: "rounded-full bg-red-100 p-1", children: /* @__PURE__ */ jsx106(XIcon3, { className: "h-5 w-5 text-red-600" }) }),
8489
- /* @__PURE__ */ jsxs70("div", { children: [
8490
- /* @__PURE__ */ jsx106("p", { className: "font-semibold text-red-800", children: title }),
8491
- /* @__PURE__ */ jsx106("p", { className: "text-sm text-red-700", children: text })
8470
+ return /* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-3 rounded-lg border border-red-100 bg-red-50 p-4", children: [
8471
+ /* @__PURE__ */ jsx105("div", { className: "rounded-full bg-red-100 p-1", children: /* @__PURE__ */ jsx105(XIcon3, { className: "h-5 w-5 text-red-600" }) }),
8472
+ /* @__PURE__ */ jsxs69("div", { children: [
8473
+ /* @__PURE__ */ jsx105("p", { className: "font-semibold text-red-800", children: title }),
8474
+ /* @__PURE__ */ jsx105("p", { className: "text-sm text-red-700", children: text })
8492
8475
  ] })
8493
8476
  ] });
8494
8477
  }
8495
- return /* @__PURE__ */ jsxs70("div", { className: "flex items-center gap-3 rounded-lg border border-amber-100 bg-amber-50 p-4", children: [
8496
- /* @__PURE__ */ jsx106("div", { className: "rounded-full bg-amber-100 p-1", children: /* @__PURE__ */ jsx106(AlertTriangleIcon, { className: "h-5 w-5 text-amber-600" }) }),
8497
- /* @__PURE__ */ jsxs70("div", { children: [
8498
- /* @__PURE__ */ jsx106("p", { className: "font-semibold text-amber-800", children: title }),
8499
- /* @__PURE__ */ jsx106("p", { className: "text-sm text-amber-700", children: text })
8478
+ return /* @__PURE__ */ jsxs69("div", { className: "flex items-center gap-3 rounded-lg border border-amber-100 bg-amber-50 p-4", children: [
8479
+ /* @__PURE__ */ jsx105("div", { className: "rounded-full bg-amber-100 p-1", children: /* @__PURE__ */ jsx105(AlertTriangleIcon, { className: "h-5 w-5 text-amber-600" }) }),
8480
+ /* @__PURE__ */ jsxs69("div", { children: [
8481
+ /* @__PURE__ */ jsx105("p", { className: "font-semibold text-amber-800", children: title }),
8482
+ /* @__PURE__ */ jsx105("p", { className: "text-sm text-amber-700", children: text })
8500
8483
  ] })
8501
8484
  ] });
8502
8485
  }
8503
8486
 
8504
8487
  // src/stepper/Stepper.tsx
8505
- import { jsx as jsx107 } from "react/jsx-runtime";
8488
+ import { jsx as jsx106 } from "react/jsx-runtime";
8506
8489
  function Stepper({
8507
8490
  totalSteps,
8508
8491
  activeStep,
@@ -8511,7 +8494,7 @@ function Stepper({
8511
8494
  }) {
8512
8495
  if (totalSteps <= 0) return null;
8513
8496
  const clampedActiveStep = Math.max(1, Math.min(totalSteps, activeStep));
8514
- return /* @__PURE__ */ jsx107(
8497
+ return /* @__PURE__ */ jsx106(
8515
8498
  "div",
8516
8499
  {
8517
8500
  className: cn("flex w-full items-center gap-2", className),
@@ -8522,7 +8505,7 @@ function Stepper({
8522
8505
  children: new Array(totalSteps).fill(null).map((_, stepIndex) => {
8523
8506
  const stepNumber = stepIndex + 1;
8524
8507
  const isActive = cumulative ? stepNumber <= clampedActiveStep : stepNumber === clampedActiveStep;
8525
- return /* @__PURE__ */ jsx107(
8508
+ return /* @__PURE__ */ jsx106(
8526
8509
  "span",
8527
8510
  {
8528
8511
  className: cn(
@@ -8539,14 +8522,14 @@ function Stepper({
8539
8522
 
8540
8523
  // src/switch-blocks/SwitchBlocks.tsx
8541
8524
  import { forwardRef as forwardRef41, memo as memo6 } from "react";
8542
- import { jsx as jsx108 } from "react/jsx-runtime";
8525
+ import { jsx as jsx107 } from "react/jsx-runtime";
8543
8526
  var SwitchBlocksInternal = forwardRef41(
8544
- ({ options, value, onChange, disabled, className }, ref) => /* @__PURE__ */ jsx108(
8527
+ ({ options, value, onChange, disabled, className }, ref) => /* @__PURE__ */ jsx107(
8545
8528
  "div",
8546
8529
  {
8547
8530
  ref,
8548
8531
  className: cn("flex flex-wrap items-center justify-start gap-4", className),
8549
- children: options.map((option) => /* @__PURE__ */ jsx108(
8532
+ children: options.map((option) => /* @__PURE__ */ jsx107(
8550
8533
  BoxOptionSelector,
8551
8534
  {
8552
8535
  id: option.id,
@@ -8568,7 +8551,7 @@ var SwitchBlocks = memo6(SwitchBlocksInternal);
8568
8551
 
8569
8552
  // src/switch-group/SwitchGroup.tsx
8570
8553
  import * as React27 from "react";
8571
- import { jsx as jsx109, jsxs as jsxs71 } from "react/jsx-runtime";
8554
+ import { jsx as jsx108, jsxs as jsxs70 } from "react/jsx-runtime";
8572
8555
  var SwitchGroup = React27.forwardRef(
8573
8556
  ({ options, value = [], onChange, disabled = false, className, error, ...props }, ref) => {
8574
8557
  const handleOptionChange = (optionValue, checked) => {
@@ -8579,9 +8562,9 @@ var SwitchGroup = React27.forwardRef(
8579
8562
  }
8580
8563
  onChange(value.filter((selectedValue) => selectedValue !== optionValue));
8581
8564
  };
8582
- return /* @__PURE__ */ jsxs71("div", { ref, className: cn("w-full space-y-4", className), ...props, children: [
8583
- options.map((option) => /* @__PURE__ */ jsxs71("div", { className: "flex items-center justify-between gap-4", children: [
8584
- /* @__PURE__ */ jsx109("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs71(
8565
+ return /* @__PURE__ */ jsxs70("div", { ref, className: cn("w-full space-y-4", className), ...props, children: [
8566
+ options.map((option) => /* @__PURE__ */ jsxs70("div", { className: "flex items-center justify-between gap-4", children: [
8567
+ /* @__PURE__ */ jsx108("div", { className: "flex flex-col", children: /* @__PURE__ */ jsxs70(
8585
8568
  Label,
8586
8569
  {
8587
8570
  className: cn(
@@ -8590,7 +8573,7 @@ var SwitchGroup = React27.forwardRef(
8590
8573
  ),
8591
8574
  children: [
8592
8575
  option.label,
8593
- option.description && /* @__PURE__ */ jsxs71(
8576
+ option.description && /* @__PURE__ */ jsxs70(
8594
8577
  "span",
8595
8578
  {
8596
8579
  className: cn(
@@ -8607,7 +8590,7 @@ var SwitchGroup = React27.forwardRef(
8607
8590
  ]
8608
8591
  }
8609
8592
  ) }),
8610
- /* @__PURE__ */ jsx109(
8593
+ /* @__PURE__ */ jsx108(
8611
8594
  Switch,
8612
8595
  {
8613
8596
  value: value.includes(option.value),
@@ -8617,7 +8600,7 @@ var SwitchGroup = React27.forwardRef(
8617
8600
  }
8618
8601
  )
8619
8602
  ] }, option.value)),
8620
- error && /* @__PURE__ */ jsx109(ErrorMessage, { disabled, children: error })
8603
+ error && /* @__PURE__ */ jsx108(ErrorMessage, { disabled, children: error })
8621
8604
  ] });
8622
8605
  }
8623
8606
  );
@@ -8627,7 +8610,7 @@ SwitchGroup.displayName = "SwitchGroup";
8627
8610
  import { forwardRef as forwardRef43 } from "react";
8628
8611
  import * as TabsPrimitive2 from "@radix-ui/react-tabs";
8629
8612
  import { cva as cva12 } from "class-variance-authority";
8630
- import { jsx as jsx110 } from "react/jsx-runtime";
8613
+ import { jsx as jsx109 } from "react/jsx-runtime";
8631
8614
  var Tabs = TabsPrimitive2.Root;
8632
8615
  var tabsListVariants = cva12("inline-flex items-center", {
8633
8616
  variants: {
@@ -8641,7 +8624,7 @@ var tabsListVariants = cva12("inline-flex items-center", {
8641
8624
  }
8642
8625
  });
8643
8626
  var TabsList = forwardRef43(
8644
- ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx110(
8627
+ ({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx109(
8645
8628
  TabsPrimitive2.List,
8646
8629
  {
8647
8630
  ref,
@@ -8665,7 +8648,7 @@ var tabsTriggerVariants = cva12(
8665
8648
  }
8666
8649
  }
8667
8650
  );
8668
- var TabsTrigger = forwardRef43(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx110(
8651
+ var TabsTrigger = forwardRef43(({ className, variant, ...props }, ref) => /* @__PURE__ */ jsx109(
8669
8652
  TabsPrimitive2.Trigger,
8670
8653
  {
8671
8654
  ref,
@@ -8674,11 +8657,11 @@ var TabsTrigger = forwardRef43(({ className, variant, ...props }, ref) => /* @__
8674
8657
  }
8675
8658
  ));
8676
8659
  TabsTrigger.displayName = TabsPrimitive2.Trigger.displayName;
8677
- var TabsContent = forwardRef43(({ className, ...props }, ref) => /* @__PURE__ */ jsx110(TabsPrimitive2.Content, { ref, className, tabIndex: -1, ...props }));
8660
+ var TabsContent = forwardRef43(({ className, ...props }, ref) => /* @__PURE__ */ jsx109(TabsPrimitive2.Content, { ref, className, tabIndex: -1, ...props }));
8678
8661
  TabsContent.displayName = TabsPrimitive2.Content.displayName;
8679
8662
 
8680
8663
  // src/tabbed-section/TabbedSection.tsx
8681
- import { jsx as jsx111, jsxs as jsxs72 } from "react/jsx-runtime";
8664
+ import { jsx as jsx110, jsxs as jsxs71 } from "react/jsx-runtime";
8682
8665
  function TabbedSection({
8683
8666
  triggers,
8684
8667
  value,
@@ -8700,8 +8683,8 @@ function TabbedSection({
8700
8683
  "[&>div:first-child]:gap-3",
8701
8684
  className
8702
8685
  );
8703
- return /* @__PURE__ */ jsxs72(Tabs, { value: activeTab, onValueChange: onTabChange, className: "w-full", children: [
8704
- /* @__PURE__ */ jsx111(
8686
+ return /* @__PURE__ */ jsxs71(Tabs, { value: activeTab, onValueChange: onTabChange, className: "w-full", children: [
8687
+ /* @__PURE__ */ jsx110(
8705
8688
  BookmarkTabsList,
8706
8689
  {
8707
8690
  variant,
@@ -8709,12 +8692,12 @@ function TabbedSection({
8709
8692
  children: triggers
8710
8693
  }
8711
8694
  ),
8712
- /* @__PURE__ */ jsx111("div", { className: contentContainerClassName, children })
8695
+ /* @__PURE__ */ jsx110("div", { className: contentContainerClassName, children })
8713
8696
  ] });
8714
8697
  }
8715
8698
 
8716
8699
  // src/table-placeholder/TablePlaceholder.tsx
8717
- import { jsx as jsx112, jsxs as jsxs73 } from "react/jsx-runtime";
8700
+ import { jsx as jsx111, jsxs as jsxs72 } from "react/jsx-runtime";
8718
8701
  function TablePlaceholder({
8719
8702
  children,
8720
8703
  text,
@@ -8727,21 +8710,21 @@ function TablePlaceholder({
8727
8710
  if (!visible) {
8728
8711
  return null;
8729
8712
  }
8730
- const content = /* @__PURE__ */ jsxs73("div", { className: "flex flex-col items-center justify-center px-4 py-14 text-center", children: [
8731
- iconSlot && /* @__PURE__ */ jsx112("div", { className: "mb-6", children: iconSlot }),
8732
- title && /* @__PURE__ */ jsx112("h3", { className: "mb-2 text-lg font-semibold", children: title }),
8733
- text && /* @__PURE__ */ jsx112("p", { className: "text-md max-w-sm font-medium", children: text }),
8734
- children && /* @__PURE__ */ jsx112("div", { className: "mt-6", children })
8713
+ const content = /* @__PURE__ */ jsxs72("div", { className: "flex flex-col items-center justify-center px-4 py-14 text-center", children: [
8714
+ iconSlot && /* @__PURE__ */ jsx111("div", { className: "mb-6", children: iconSlot }),
8715
+ title && /* @__PURE__ */ jsx111("h3", { className: "mb-2 text-lg font-semibold", children: title }),
8716
+ text && /* @__PURE__ */ jsx111("p", { className: "text-md max-w-sm font-medium", children: text }),
8717
+ children && /* @__PURE__ */ jsx111("div", { className: "mt-6", children })
8735
8718
  ] });
8736
8719
  if (insideTable) {
8737
- return /* @__PURE__ */ jsx112("tr", { children: /* @__PURE__ */ jsx112("td", { colSpan: 100, className, children: content }) });
8720
+ return /* @__PURE__ */ jsx111("tr", { children: /* @__PURE__ */ jsx111("td", { colSpan: 100, className, children: content }) });
8738
8721
  }
8739
- return /* @__PURE__ */ jsx112("div", { className, children: content });
8722
+ return /* @__PURE__ */ jsx111("div", { className, children: content });
8740
8723
  }
8741
8724
 
8742
8725
  // src/task-card/TaskCard.tsx
8743
8726
  import { ArrowRight } from "lucide-react";
8744
- import { jsx as jsx113, jsxs as jsxs74 } from "react/jsx-runtime";
8727
+ import { jsx as jsx112, jsxs as jsxs73 } from "react/jsx-runtime";
8745
8728
  function TaskCard({
8746
8729
  title,
8747
8730
  description,
@@ -8752,7 +8735,7 @@ function TaskCard({
8752
8735
  }) {
8753
8736
  const shouldShowCount = count !== void 0 && count > 1;
8754
8737
  const shouldShowActions = shouldShowCount || onClick;
8755
- return /* @__PURE__ */ jsxs74(
8738
+ return /* @__PURE__ */ jsxs73(
8756
8739
  "div",
8757
8740
  {
8758
8741
  className: cn(
@@ -8768,7 +8751,7 @@ function TaskCard({
8768
8751
  role: onClick ? "button" : void 0,
8769
8752
  tabIndex: onClick ? 0 : void 0,
8770
8753
  children: [
8771
- /* @__PURE__ */ jsx113(
8754
+ /* @__PURE__ */ jsx112(
8772
8755
  "div",
8773
8756
  {
8774
8757
  className: cn(
@@ -8778,12 +8761,12 @@ function TaskCard({
8778
8761
  )
8779
8762
  }
8780
8763
  ),
8781
- /* @__PURE__ */ jsxs74("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
8782
- /* @__PURE__ */ jsx113("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
8783
- /* @__PURE__ */ jsx113("p", { className: "m-0 w-full text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]", children: description })
8764
+ /* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-1 flex-col items-start", children: [
8765
+ /* @__PURE__ */ jsx112("h4", { className: "m-0 w-full break-words text-base font-semibold leading-6 text-[var(--chekin-color-brand-navy)]", children: title }),
8766
+ /* @__PURE__ */ jsx112("p", { className: "m-0 w-full text-sm font-medium leading-6 text-[var(--chekin-color-gray-1)]", children: description })
8784
8767
  ] }),
8785
- shouldShowActions && /* @__PURE__ */ jsxs74("div", { className: "flex shrink-0 items-center gap-1", children: [
8786
- shouldShowCount && /* @__PURE__ */ jsx113(
8768
+ shouldShowActions && /* @__PURE__ */ jsxs73("div", { className: "flex shrink-0 items-center gap-1", children: [
8769
+ shouldShowCount && /* @__PURE__ */ jsx112(
8787
8770
  "div",
8788
8771
  {
8789
8772
  className: cn(
@@ -8794,7 +8777,7 @@ function TaskCard({
8794
8777
  children: count
8795
8778
  }
8796
8779
  ),
8797
- onClick && /* @__PURE__ */ jsx113(
8780
+ onClick && /* @__PURE__ */ jsx112(
8798
8781
  "button",
8799
8782
  {
8800
8783
  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",
@@ -8804,7 +8787,7 @@ function TaskCard({
8804
8787
  },
8805
8788
  "aria-label": "View details",
8806
8789
  type: "button",
8807
- children: /* @__PURE__ */ jsx113(ArrowRight, { className: "h-5 w-5" })
8790
+ children: /* @__PURE__ */ jsx112(ArrowRight, { className: "h-5 w-5" })
8808
8791
  }
8809
8792
  )
8810
8793
  ] })
@@ -8892,7 +8875,7 @@ var toggleVariants = cva13(
8892
8875
  );
8893
8876
 
8894
8877
  // src/toggle-group/ToggleGroup.tsx
8895
- import { jsx as jsx114, jsxs as jsxs75 } from "react/jsx-runtime";
8878
+ import { jsx as jsx113, jsxs as jsxs74 } from "react/jsx-runtime";
8896
8879
  var ToggleGroupContext = React28.createContext({
8897
8880
  size: "default",
8898
8881
  variant: "default",
@@ -8900,7 +8883,7 @@ var ToggleGroupContext = React28.createContext({
8900
8883
  });
8901
8884
  var ToggleGroup = React28.forwardRef(({ className, variant, size, theme, children, ...props }, ref) => {
8902
8885
  const isTabVariant = variant === "tab";
8903
- return /* @__PURE__ */ jsx114(
8886
+ return /* @__PURE__ */ jsx113(
8904
8887
  ToggleGroupPrimitive.Root,
8905
8888
  {
8906
8889
  ref,
@@ -8910,7 +8893,7 @@ var ToggleGroup = React28.forwardRef(({ className, variant, size, theme, childre
8910
8893
  className
8911
8894
  ),
8912
8895
  ...props,
8913
- children: /* @__PURE__ */ jsx114(ToggleGroupContext.Provider, { value: { variant, size, theme }, children })
8896
+ children: /* @__PURE__ */ jsx113(ToggleGroupContext.Provider, { value: { variant, size, theme }, children })
8914
8897
  }
8915
8898
  );
8916
8899
  });
@@ -8919,7 +8902,7 @@ var ToggleGroupItem = React28.forwardRef(({ className, children, variant, size,
8919
8902
  const context = React28.useContext(ToggleGroupContext);
8920
8903
  const resolvedVariant = context.variant || variant;
8921
8904
  const isTabVariant = resolvedVariant === "tab";
8922
- return /* @__PURE__ */ jsx114(
8905
+ return /* @__PURE__ */ jsx113(
8923
8906
  ToggleGroupPrimitive.Item,
8924
8907
  {
8925
8908
  ref,
@@ -8932,9 +8915,9 @@ var ToggleGroupItem = React28.forwardRef(({ className, children, variant, size,
8932
8915
  className
8933
8916
  ),
8934
8917
  ...props,
8935
- children: isTabVariant ? /* @__PURE__ */ jsxs75("span", { className: "inline-grid", children: [
8936
- /* @__PURE__ */ jsx114("span", { className: "invisible col-start-1 row-start-1 font-semibold", children }),
8937
- /* @__PURE__ */ jsx114("span", { className: "col-start-1 row-start-1", children })
8918
+ children: isTabVariant ? /* @__PURE__ */ jsxs74("span", { className: "inline-grid", children: [
8919
+ /* @__PURE__ */ jsx113("span", { className: "invisible col-start-1 row-start-1 font-semibold", children }),
8920
+ /* @__PURE__ */ jsx113("span", { className: "col-start-1 row-start-1", children })
8938
8921
  ] }) : children
8939
8922
  }
8940
8923
  );
@@ -8948,7 +8931,7 @@ import {
8948
8931
  isValidElement as isValidElement3,
8949
8932
  useEffect as useEffect23
8950
8933
  } from "react";
8951
- import { jsx as jsx115, jsxs as jsxs76 } from "react/jsx-runtime";
8934
+ import { jsx as jsx114, jsxs as jsxs75 } from "react/jsx-runtime";
8952
8935
  var getValueArray2 = (value) => {
8953
8936
  if (value) {
8954
8937
  return Array.isArray(value) ? value : [value];
@@ -9044,16 +9027,16 @@ function TogglesInternal({
9044
9027
  onValueChange: handleValueChange,
9045
9028
  ...multiple ? { type: "multiple", value: currentValue } : { type: "single", value: currentValue[0] ?? "" }
9046
9029
  };
9047
- return /* @__PURE__ */ jsxs76("div", { ref, className, children: [
9048
- 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 }) }),
9049
- /* @__PURE__ */ jsx115(ToggleGroup, { className: groupClassName, ...toggleGroupProps, children: options.map((option, index) => {
9030
+ return /* @__PURE__ */ jsxs75("div", { ref, className, children: [
9031
+ label && /* @__PURE__ */ jsx114("div", { className: "mb-2", children: /* @__PURE__ */ jsx114("div", { className: "select-none text-base font-normal text-[var(--chekin-color-brand-navy)]", children: label }) }),
9032
+ /* @__PURE__ */ jsx114(ToggleGroup, { className: groupClassName, ...toggleGroupProps, children: options.map((option, index) => {
9050
9033
  const isSelected = Boolean(
9051
9034
  getValueArray2(value).find((selectedValue) => selectedValue === option.value)
9052
9035
  );
9053
9036
  const isDisabled = disabled || disabledItems?.includes(option.value) || option.disabled;
9054
9037
  const isMinSelected = getValueArray2(value).length <= minSelected;
9055
9038
  const isItemReadOnly = readOnly || isMinSelected && isSelected || readonlyItems?.includes(option.value);
9056
- return /* @__PURE__ */ jsx115(
9039
+ return /* @__PURE__ */ jsx114(
9057
9040
  ToggleGroupItem,
9058
9041
  {
9059
9042
  value: String(option.value),
@@ -9072,15 +9055,15 @@ var Toggles = forwardRef45(TogglesInternal);
9072
9055
  import * as React29 from "react";
9073
9056
  import * as LabelPrimitive2 from "@radix-ui/react-label";
9074
9057
  import { cva as cva14 } from "class-variance-authority";
9075
- import { useTranslation as useTranslation23 } from "react-i18next";
9058
+ import { useTranslation as useTranslation22 } from "react-i18next";
9076
9059
 
9077
9060
  // src/text-field/EndIcon.tsx
9078
- import { jsx as jsx116 } from "react/jsx-runtime";
9079
- 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 });
9061
+ import { jsx as jsx115 } from "react/jsx-runtime";
9062
+ var EndIcon = ({ children }) => /* @__PURE__ */ jsx115("div", { className: "pointer-events-none absolute right-3.5 top-1/2 -translate-y-1/2 [&>*]:pointer-events-auto", children });
9080
9063
 
9081
9064
  // src/text-field/FieldError.tsx
9082
- import { jsx as jsx117 } from "react/jsx-runtime";
9083
- var FieldError = ({ id, children }) => /* @__PURE__ */ jsx117(
9065
+ import { jsx as jsx116 } from "react/jsx-runtime";
9066
+ var FieldError = ({ id, children }) => /* @__PURE__ */ jsx116(
9084
9067
  "p",
9085
9068
  {
9086
9069
  id,
@@ -9091,11 +9074,11 @@ var FieldError = ({ id, children }) => /* @__PURE__ */ jsx117(
9091
9074
  );
9092
9075
 
9093
9076
  // src/text-field/SupportingText.tsx
9094
- import { jsx as jsx118 } from "react/jsx-runtime";
9095
- var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx118("p", { id, className: "mt-1 text-xs italic text-[var(--chekin-color-gray-2)]", children });
9077
+ import { jsx as jsx117 } from "react/jsx-runtime";
9078
+ var SupportingText = ({ id, children }) => /* @__PURE__ */ jsx117("p", { id, className: "mt-1 text-xs italic text-[var(--chekin-color-gray-2)]", children });
9096
9079
 
9097
9080
  // src/text-field/TextField.tsx
9098
- import { jsx as jsx119, jsxs as jsxs77 } from "react/jsx-runtime";
9081
+ import { jsx as jsx118, jsxs as jsxs76 } from "react/jsx-runtime";
9099
9082
  var textFieldRootClasses = [
9100
9083
  "[--text-field-height:2.75rem]",
9101
9084
  "[--text-field-radius:8px]",
@@ -9202,7 +9185,7 @@ var TextField = React29.forwardRef(
9202
9185
  readOnly,
9203
9186
  ...props
9204
9187
  }, ref) => {
9205
- const { t } = useTranslation23();
9188
+ const { t } = useTranslation22();
9206
9189
  const hasError = Boolean(error);
9207
9190
  const autoId = React29.useId();
9208
9191
  const inputId = props.id || autoId;
@@ -9216,7 +9199,7 @@ var TextField = React29.forwardRef(
9216
9199
  const errorId = error ? `${inputId}-error` : void 0;
9217
9200
  const ariaDescribedBy = errorId || descriptionId || void 0;
9218
9201
  if (variant === "floating") {
9219
- return /* @__PURE__ */ jsxs77(
9202
+ return /* @__PURE__ */ jsxs76(
9220
9203
  "div",
9221
9204
  {
9222
9205
  className: cn(
@@ -9225,8 +9208,8 @@ var TextField = React29.forwardRef(
9225
9208
  wrapperClassName
9226
9209
  ),
9227
9210
  children: [
9228
- /* @__PURE__ */ jsxs77("div", { className: "relative", children: [
9229
- /* @__PURE__ */ jsx119(
9211
+ /* @__PURE__ */ jsxs76("div", { className: "relative", children: [
9212
+ /* @__PURE__ */ jsx118(
9230
9213
  "input",
9231
9214
  {
9232
9215
  id: inputId,
@@ -9240,7 +9223,7 @@ var TextField = React29.forwardRef(
9240
9223
  ...props
9241
9224
  }
9242
9225
  ),
9243
- label && /* @__PURE__ */ jsx119(
9226
+ label && /* @__PURE__ */ jsx118(
9244
9227
  LabelPrimitive2.Root,
9245
9228
  {
9246
9229
  htmlFor: inputId,
@@ -9254,17 +9237,17 @@ var TextField = React29.forwardRef(
9254
9237
  children: label
9255
9238
  }
9256
9239
  ),
9257
- endIcon && /* @__PURE__ */ jsx119(EndIcon, { children: endIcon })
9240
+ endIcon && /* @__PURE__ */ jsx118(EndIcon, { children: endIcon })
9258
9241
  ] }),
9259
- supportingText && !hasError && /* @__PURE__ */ jsx119(SupportingText, { id: descriptionId, children: supportingText }),
9260
- hasError && /* @__PURE__ */ jsx119(FieldError, { id: errorId, children: error })
9242
+ supportingText && !hasError && /* @__PURE__ */ jsx118(SupportingText, { id: descriptionId, children: supportingText }),
9243
+ hasError && /* @__PURE__ */ jsx118(FieldError, { id: errorId, children: error })
9261
9244
  ]
9262
9245
  }
9263
9246
  );
9264
9247
  }
9265
- return /* @__PURE__ */ jsxs77("div", { className: cn("flex w-full flex-col", textFieldRootClasses, wrapperClassName), children: [
9266
- label && /* @__PURE__ */ jsxs77("div", { className: "mb-1 flex items-center gap-1", children: [
9267
- /* @__PURE__ */ jsx119(
9248
+ return /* @__PURE__ */ jsxs76("div", { className: cn("flex w-full flex-col", textFieldRootClasses, wrapperClassName), children: [
9249
+ label && /* @__PURE__ */ jsxs76("div", { className: "mb-1 flex items-center gap-1", children: [
9250
+ /* @__PURE__ */ jsx118(
9268
9251
  LabelPrimitive2.Root,
9269
9252
  {
9270
9253
  htmlFor: inputId,
@@ -9272,14 +9255,14 @@ var TextField = React29.forwardRef(
9272
9255
  children: label
9273
9256
  }
9274
9257
  ),
9275
- optional && /* @__PURE__ */ jsxs77("span", { className: "text-base leading-4", children: [
9276
- /* @__PURE__ */ jsx119("span", { className: "text-[var(--chekin-color-brand-navy)]", children: "- " }),
9277
- /* @__PURE__ */ jsx119("span", { className: "italic text-[var(--chekin-color-gray-2)]", children: optionalLabel || t("optional") })
9258
+ optional && /* @__PURE__ */ jsxs76("span", { className: "text-base leading-4", children: [
9259
+ /* @__PURE__ */ jsx118("span", { className: "text-[var(--chekin-color-brand-navy)]", children: "- " }),
9260
+ /* @__PURE__ */ jsx118("span", { className: "italic text-[var(--chekin-color-gray-2)]", children: optionalLabel || t("optional") })
9278
9261
  ] }),
9279
9262
  tooltip
9280
9263
  ] }),
9281
- /* @__PURE__ */ jsxs77("div", { className: "relative", children: [
9282
- /* @__PURE__ */ jsx119(
9264
+ /* @__PURE__ */ jsxs76("div", { className: "relative", children: [
9265
+ /* @__PURE__ */ jsx118(
9283
9266
  "input",
9284
9267
  {
9285
9268
  id: inputId,
@@ -9293,10 +9276,10 @@ var TextField = React29.forwardRef(
9293
9276
  ...props
9294
9277
  }
9295
9278
  ),
9296
- endIcon && /* @__PURE__ */ jsx119(EndIcon, { children: endIcon })
9279
+ endIcon && /* @__PURE__ */ jsx118(EndIcon, { children: endIcon })
9297
9280
  ] }),
9298
- supportingText && !hasError && /* @__PURE__ */ jsx119(SupportingText, { id: descriptionId, children: supportingText }),
9299
- hasError && /* @__PURE__ */ jsx119(FieldError, { id: errorId, children: error })
9281
+ supportingText && !hasError && /* @__PURE__ */ jsx118(SupportingText, { id: descriptionId, children: supportingText }),
9282
+ hasError && /* @__PURE__ */ jsx118(FieldError, { id: errorId, children: error })
9300
9283
  ] });
9301
9284
  }
9302
9285
  );
@@ -9304,12 +9287,12 @@ TextField.displayName = "TextField";
9304
9287
 
9305
9288
  // src/textarea/Textarea.tsx
9306
9289
  import { forwardRef as forwardRef47, useId as useId10 } from "react";
9307
- import { jsx as jsx120, jsxs as jsxs78 } from "react/jsx-runtime";
9290
+ import { jsx as jsx119, jsxs as jsxs77 } from "react/jsx-runtime";
9308
9291
  var Textarea = forwardRef47(
9309
9292
  ({ className, textareaClassName, label, disabled, name, invalid, ...textareaProps }, ref) => {
9310
9293
  const inputId = useId10();
9311
- return /* @__PURE__ */ jsxs78("div", { className: cn("relative", className), children: [
9312
- /* @__PURE__ */ jsx120(
9294
+ return /* @__PURE__ */ jsxs77("div", { className: cn("relative", className), children: [
9295
+ /* @__PURE__ */ jsx119(
9313
9296
  "textarea",
9314
9297
  {
9315
9298
  ref,
@@ -9325,7 +9308,7 @@ var Textarea = forwardRef47(
9325
9308
  ...textareaProps
9326
9309
  }
9327
9310
  ),
9328
- label && /* @__PURE__ */ jsx120(
9311
+ label && /* @__PURE__ */ jsx119(
9329
9312
  "label",
9330
9313
  {
9331
9314
  htmlFor: inputId,
@@ -9343,34 +9326,34 @@ var Textarea = forwardRef47(
9343
9326
  Textarea.displayName = "Textarea";
9344
9327
 
9345
9328
  // src/three-dots-loader/ThreeDotsLoader.tsx
9346
- import { Fragment as Fragment11, jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
9329
+ import { Fragment as Fragment11, jsx as jsx120, jsxs as jsxs78 } from "react/jsx-runtime";
9347
9330
  function Dots({
9348
9331
  height,
9349
9332
  width,
9350
9333
  color
9351
9334
  }) {
9352
- return /* @__PURE__ */ jsxs79(
9335
+ return /* @__PURE__ */ jsxs78(
9353
9336
  "span",
9354
9337
  {
9355
9338
  className: "inline-flex items-center justify-center gap-[15%]",
9356
9339
  style: { height, width },
9357
9340
  "aria-hidden": "true",
9358
9341
  children: [
9359
- /* @__PURE__ */ jsx121(
9342
+ /* @__PURE__ */ jsx120(
9360
9343
  "span",
9361
9344
  {
9362
9345
  className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.32s]",
9363
9346
  style: { backgroundColor: color }
9364
9347
  }
9365
9348
  ),
9366
- /* @__PURE__ */ jsx121(
9349
+ /* @__PURE__ */ jsx120(
9367
9350
  "span",
9368
9351
  {
9369
9352
  className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full [animation-delay:-0.16s]",
9370
9353
  style: { backgroundColor: color }
9371
9354
  }
9372
9355
  ),
9373
- /* @__PURE__ */ jsx121(
9356
+ /* @__PURE__ */ jsx120(
9374
9357
  "span",
9375
9358
  {
9376
9359
  className: "h-[22%] w-[22%] animate-chekin-three-dots rounded-full",
@@ -9389,9 +9372,9 @@ function ThreeDotsLoader({
9389
9372
  className,
9390
9373
  labelPlacement = "right"
9391
9374
  }) {
9392
- const dots = /* @__PURE__ */ jsx121(Dots, { color, height, width });
9375
+ const dots = /* @__PURE__ */ jsx120(Dots, { color, height, width });
9393
9376
  if (label) {
9394
- return /* @__PURE__ */ jsx121(
9377
+ return /* @__PURE__ */ jsx120(
9395
9378
  "div",
9396
9379
  {
9397
9380
  className: cn(
@@ -9399,22 +9382,22 @@ function ThreeDotsLoader({
9399
9382
  className
9400
9383
  ),
9401
9384
  role: "progressbar",
9402
- children: labelPlacement === "right" ? /* @__PURE__ */ jsxs79(Fragment11, { children: [
9385
+ children: labelPlacement === "right" ? /* @__PURE__ */ jsxs78(Fragment11, { children: [
9403
9386
  dots,
9404
- /* @__PURE__ */ jsx121("div", { children: label })
9405
- ] }) : /* @__PURE__ */ jsxs79(Fragment11, { children: [
9406
- /* @__PURE__ */ jsx121("div", { children: label }),
9387
+ /* @__PURE__ */ jsx120("div", { children: label })
9388
+ ] }) : /* @__PURE__ */ jsxs78(Fragment11, { children: [
9389
+ /* @__PURE__ */ jsx120("div", { children: label }),
9407
9390
  dots
9408
9391
  ] })
9409
9392
  }
9410
9393
  );
9411
9394
  }
9412
- return /* @__PURE__ */ jsx121("div", { role: "progressbar", className, children: dots });
9395
+ return /* @__PURE__ */ jsx120("div", { role: "progressbar", className, children: dots });
9413
9396
  }
9414
9397
 
9415
9398
  // src/uploaded-files-list/UploadedFilesList.tsx
9416
9399
  import { X as X7 } from "lucide-react";
9417
- import { jsx as jsx122, jsxs as jsxs80 } from "react/jsx-runtime";
9400
+ import { jsx as jsx121, jsxs as jsxs79 } from "react/jsx-runtime";
9418
9401
  function UploadedFilesList({
9419
9402
  files,
9420
9403
  onRemoveFile,
@@ -9423,20 +9406,20 @@ function UploadedFilesList({
9423
9406
  if (!files.length) {
9424
9407
  return null;
9425
9408
  }
9426
- return /* @__PURE__ */ jsx122("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ jsxs80(
9409
+ return /* @__PURE__ */ jsx121("div", { className: cn("flex flex-wrap gap-2.5", className), children: files.map((file, index) => /* @__PURE__ */ jsxs79(
9427
9410
  "div",
9428
9411
  {
9429
9412
  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",
9430
9413
  children: [
9431
- /* @__PURE__ */ jsx122("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9432
- /* @__PURE__ */ jsx122(
9414
+ /* @__PURE__ */ jsx121("span", { className: "text-nowrap text-sm font-medium leading-5 text-[var(--chekin-color-brand-navy)]", children: file.name }),
9415
+ /* @__PURE__ */ jsx121(
9433
9416
  "button",
9434
9417
  {
9435
9418
  type: "button",
9436
9419
  onClick: () => onRemoveFile(file.name),
9437
9420
  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",
9438
9421
  "aria-label": `Remove ${file.name}`,
9439
- children: /* @__PURE__ */ jsx122(X7, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9422
+ children: /* @__PURE__ */ jsx121(X7, { className: "h-3.5 w-3.5 text-white", strokeWidth: 3 })
9440
9423
  }
9441
9424
  )
9442
9425
  ]
@@ -9446,9 +9429,9 @@ function UploadedFilesList({
9446
9429
  }
9447
9430
 
9448
9431
  // src/wide-button/WideButton.tsx
9449
- import { jsx as jsx123 } from "react/jsx-runtime";
9432
+ import { jsx as jsx122 } from "react/jsx-runtime";
9450
9433
  function WideButton({ className, disabled, ...props }) {
9451
- return /* @__PURE__ */ jsx123(
9434
+ return /* @__PURE__ */ jsx122(
9452
9435
  Button,
9453
9436
  {
9454
9437
  variant: "ghost",
@@ -9472,22 +9455,22 @@ import { Calendar as Calendar2 } from "lucide-react";
9472
9455
  import * as React30 from "react";
9473
9456
  import * as DialogPrimitive2 from "@radix-ui/react-dialog";
9474
9457
  import Draggable from "react-draggable";
9475
- import { jsx as jsx124, jsxs as jsxs81 } from "react/jsx-runtime";
9458
+ import { jsx as jsx123, jsxs as jsxs80 } from "react/jsx-runtime";
9476
9459
  var DRAWER_CLOSE_THRESHOLD = 72;
9477
9460
  var DRAWER_MIN_OVERLAY_OPACITY = 0.1;
9478
9461
  function Drawer({ ...props }) {
9479
- return /* @__PURE__ */ jsx124(DialogPrimitive2.Root, { "data-slot": "drawer", ...props });
9462
+ return /* @__PURE__ */ jsx123(DialogPrimitive2.Root, { "data-slot": "drawer", ...props });
9480
9463
  }
9481
9464
  function DrawerTrigger({ ...props }) {
9482
- return /* @__PURE__ */ jsx124(DialogPrimitive2.Trigger, { "data-slot": "drawer-trigger", ...props });
9465
+ return /* @__PURE__ */ jsx123(DialogPrimitive2.Trigger, { "data-slot": "drawer-trigger", ...props });
9483
9466
  }
9484
9467
  function DrawerPortal({ ...props }) {
9485
- return /* @__PURE__ */ jsx124(DialogPrimitive2.Portal, { "data-slot": "drawer-portal", ...props });
9468
+ return /* @__PURE__ */ jsx123(DialogPrimitive2.Portal, { "data-slot": "drawer-portal", ...props });
9486
9469
  }
9487
9470
  function DrawerClose({ ...props }) {
9488
- return /* @__PURE__ */ jsx124(DialogPrimitive2.Close, { "data-slot": "drawer-close", ...props });
9471
+ return /* @__PURE__ */ jsx123(DialogPrimitive2.Close, { "data-slot": "drawer-close", ...props });
9489
9472
  }
9490
- var DrawerOverlay = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx124(
9473
+ var DrawerOverlay = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx123(
9491
9474
  DialogPrimitive2.Overlay,
9492
9475
  {
9493
9476
  ref,
@@ -9536,14 +9519,14 @@ var DrawerContent = React30.forwardRef(
9536
9519
  },
9537
9520
  [onClose]
9538
9521
  );
9539
- return /* @__PURE__ */ jsxs81(DrawerPortal, { container: finalContainer, children: [
9540
- lockScroll ? /* @__PURE__ */ jsx124(
9522
+ return /* @__PURE__ */ jsxs80(DrawerPortal, { container: finalContainer, children: [
9523
+ lockScroll ? /* @__PURE__ */ jsx123(
9541
9524
  DrawerOverlay,
9542
9525
  {
9543
9526
  style: { opacity: overlayOpacity },
9544
9527
  onClick: closeOnOverlayClick ? onClose : void 0
9545
9528
  }
9546
- ) : /* @__PURE__ */ jsx124(
9529
+ ) : /* @__PURE__ */ jsx123(
9547
9530
  "div",
9548
9531
  {
9549
9532
  className: cn(DrawerOverlayClasses),
@@ -9551,7 +9534,7 @@ var DrawerContent = React30.forwardRef(
9551
9534
  onClick: closeOnOverlayClick ? onClose : void 0
9552
9535
  }
9553
9536
  ),
9554
- /* @__PURE__ */ jsx124(
9537
+ /* @__PURE__ */ jsx123(
9555
9538
  DialogPrimitive2.Content,
9556
9539
  {
9557
9540
  asChild: true,
@@ -9567,7 +9550,7 @@ var DrawerContent = React30.forwardRef(
9567
9550
  }
9568
9551
  },
9569
9552
  ...props,
9570
- children: /* @__PURE__ */ jsx124("div", { className: "fixed inset-x-0 bottom-0 top-auto z-50 outline-none", children: /* @__PURE__ */ jsx124(
9553
+ children: /* @__PURE__ */ jsx123("div", { className: "fixed inset-x-0 bottom-0 top-auto z-50 outline-none", children: /* @__PURE__ */ jsx123(
9571
9554
  Draggable,
9572
9555
  {
9573
9556
  axis: "y",
@@ -9577,7 +9560,7 @@ var DrawerContent = React30.forwardRef(
9577
9560
  onDrag: handleDrag,
9578
9561
  onStop: handleStop,
9579
9562
  position: { x: 0, y: dragOffsetY },
9580
- children: /* @__PURE__ */ jsxs81(
9563
+ children: /* @__PURE__ */ jsxs80(
9581
9564
  "div",
9582
9565
  {
9583
9566
  ref: nodeRef,
@@ -9586,15 +9569,15 @@ var DrawerContent = React30.forwardRef(
9586
9569
  className
9587
9570
  ),
9588
9571
  children: [
9589
- showHandle && /* @__PURE__ */ jsx124(
9572
+ showHandle && /* @__PURE__ */ jsx123(
9590
9573
  "div",
9591
9574
  {
9592
9575
  "data-drawer-handle": true,
9593
9576
  className: "mx-auto flex h-8 w-24 cursor-grab touch-none items-center justify-center active:cursor-grabbing",
9594
- children: /* @__PURE__ */ jsx124("span", { className: "block h-1.5 w-12 rounded-full bg-[#D9D7D3]" })
9577
+ children: /* @__PURE__ */ jsx123("span", { className: "block h-1.5 w-12 rounded-full bg-[#D9D7D3]" })
9595
9578
  }
9596
9579
  ),
9597
- /* @__PURE__ */ jsx124("div", { className: "min-h-0 flex-1 overflow-y-auto", children })
9580
+ /* @__PURE__ */ jsx123("div", { className: "min-h-0 flex-1 overflow-y-auto", children })
9598
9581
  ]
9599
9582
  }
9600
9583
  )
@@ -9606,7 +9589,7 @@ var DrawerContent = React30.forwardRef(
9606
9589
  }
9607
9590
  );
9608
9591
  DrawerContent.displayName = DialogPrimitive2.Content.displayName;
9609
- var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx124(
9592
+ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx123(
9610
9593
  "div",
9611
9594
  {
9612
9595
  className: cn("flex flex-col gap-2 px-5 pt-2 text-center", className),
@@ -9614,9 +9597,9 @@ var DrawerHeader = ({ className, ...props }) => /* @__PURE__ */ jsx124(
9614
9597
  }
9615
9598
  );
9616
9599
  DrawerHeader.displayName = "DrawerHeader";
9617
- var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx124("div", { className: cn("flex flex-col gap-2 p-5", className), ...props });
9600
+ var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx123("div", { className: cn("flex flex-col gap-2 p-5", className), ...props });
9618
9601
  DrawerFooter.displayName = "DrawerFooter";
9619
- var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx124(
9602
+ var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx123(
9620
9603
  DialogPrimitive2.Title,
9621
9604
  {
9622
9605
  ref,
@@ -9626,7 +9609,7 @@ var DrawerTitle = React30.forwardRef(({ className, ...props }, ref) => /* @__PUR
9626
9609
  }
9627
9610
  ));
9628
9611
  DrawerTitle.displayName = DialogPrimitive2.Title.displayName;
9629
- var DrawerDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx124(
9612
+ var DrawerDescription = React30.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx123(
9630
9613
  DialogPrimitive2.Description,
9631
9614
  {
9632
9615
  ref,
@@ -10059,7 +10042,7 @@ function useDatePickerWheel({
10059
10042
  }
10060
10043
 
10061
10044
  // src/datepicker/DatePickerWheelColumn.tsx
10062
- import { jsx as jsx125, jsxs as jsxs82 } from "react/jsx-runtime";
10045
+ import { jsx as jsx124, jsxs as jsxs81 } from "react/jsx-runtime";
10063
10046
  var spacerHeight = DATE_PICKER_OPTION_HEIGHT * DATE_PICKER_WHEEL_BUFFER_OPTIONS;
10064
10047
  function DatePickerWheelColumn({
10065
10048
  id,
@@ -10073,7 +10056,7 @@ function DatePickerWheelColumn({
10073
10056
  onOptionSelect,
10074
10057
  column
10075
10058
  }) {
10076
- return /* @__PURE__ */ jsx125("div", { className: "relative z-10 min-w-0", children: /* @__PURE__ */ jsxs82(
10059
+ return /* @__PURE__ */ jsx124("div", { className: "relative z-10 min-w-0", children: /* @__PURE__ */ jsxs81(
10077
10060
  "div",
10078
10061
  {
10079
10062
  id,
@@ -10090,14 +10073,14 @@ function DatePickerWheelColumn({
10090
10073
  WebkitOverflowScrolling: "touch"
10091
10074
  },
10092
10075
  children: [
10093
- /* @__PURE__ */ jsx125("div", { style: { height: `${spacerHeight}px` } }),
10076
+ /* @__PURE__ */ jsx124("div", { style: { height: `${spacerHeight}px` } }),
10094
10077
  items.map((item, index) => {
10095
10078
  const { style } = getWheelOptionStyles(
10096
10079
  index,
10097
10080
  scrollTop,
10098
10081
  DATE_PICKER_OPTION_HEIGHT
10099
10082
  );
10100
- return /* @__PURE__ */ jsx125(
10083
+ return /* @__PURE__ */ jsx124(
10101
10084
  "button",
10102
10085
  {
10103
10086
  id: `${id}-option-${index}`,
@@ -10113,14 +10096,14 @@ function DatePickerWheelColumn({
10113
10096
  `${column}-${item}-${index}`
10114
10097
  );
10115
10098
  }),
10116
- /* @__PURE__ */ jsx125("div", { style: { height: `${spacerHeight}px` } })
10099
+ /* @__PURE__ */ jsx124("div", { style: { height: `${spacerHeight}px` } })
10117
10100
  ]
10118
10101
  }
10119
10102
  ) });
10120
10103
  }
10121
10104
 
10122
10105
  // src/datepicker/DatePickerContent.tsx
10123
- import { jsx as jsx126, jsxs as jsxs83 } from "react/jsx-runtime";
10106
+ import { jsx as jsx125, jsxs as jsxs82 } from "react/jsx-runtime";
10124
10107
  function DatePickerBody({
10125
10108
  baseId,
10126
10109
  label,
@@ -10142,19 +10125,19 @@ function DatePickerBody({
10142
10125
  onOptionSelect,
10143
10126
  onDone
10144
10127
  }) {
10145
- return /* @__PURE__ */ jsxs83("div", { className: "px-6 pb-4 pt-1 bg-white", children: [
10146
- /* @__PURE__ */ jsxs83("div", { className: "relative overflow-hidden rounded-[24px]", children: [
10147
- /* @__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" }),
10148
- /* @__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" }),
10149
- /* @__PURE__ */ jsx126(
10128
+ return /* @__PURE__ */ jsxs82("div", { className: "px-6 pb-4 pt-1 bg-white", children: [
10129
+ /* @__PURE__ */ jsxs82("div", { className: "relative overflow-hidden rounded-[24px]", children: [
10130
+ /* @__PURE__ */ jsx125("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" }),
10131
+ /* @__PURE__ */ jsx125("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" }),
10132
+ /* @__PURE__ */ jsx125(
10150
10133
  "div",
10151
10134
  {
10152
10135
  "aria-hidden": true,
10153
10136
  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]"
10154
10137
  }
10155
10138
  ),
10156
- /* @__PURE__ */ jsxs83("div", { className: "relative grid grid-cols-[1.35fr_0.7fr_1fr] gap-1", children: [
10157
- /* @__PURE__ */ jsx126(
10139
+ /* @__PURE__ */ jsxs82("div", { className: "relative grid grid-cols-[1.35fr_0.7fr_1fr] gap-1", children: [
10140
+ /* @__PURE__ */ jsx125(
10158
10141
  DatePickerWheelColumn,
10159
10142
  {
10160
10143
  id: `${baseId}-month`,
@@ -10169,7 +10152,7 @@ function DatePickerBody({
10169
10152
  onOptionSelect
10170
10153
  }
10171
10154
  ),
10172
- /* @__PURE__ */ jsx126(
10155
+ /* @__PURE__ */ jsx125(
10173
10156
  DatePickerWheelColumn,
10174
10157
  {
10175
10158
  id: `${baseId}-day`,
@@ -10184,7 +10167,7 @@ function DatePickerBody({
10184
10167
  onOptionSelect
10185
10168
  }
10186
10169
  ),
10187
- /* @__PURE__ */ jsx126(
10170
+ /* @__PURE__ */ jsx125(
10188
10171
  DatePickerWheelColumn,
10189
10172
  {
10190
10173
  id: `${baseId}-year`,
@@ -10201,7 +10184,7 @@ function DatePickerBody({
10201
10184
  )
10202
10185
  ] })
10203
10186
  ] }),
10204
- /* @__PURE__ */ jsx126(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
10187
+ /* @__PURE__ */ jsx125(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
10205
10188
  ] });
10206
10189
  }
10207
10190
  function DatePickerContent({
@@ -10229,7 +10212,7 @@ function DatePickerContent({
10229
10212
  onColumnKeyDown,
10230
10213
  onOptionSelect
10231
10214
  }) {
10232
- const body = /* @__PURE__ */ jsx126(
10215
+ const body = /* @__PURE__ */ jsx125(
10233
10216
  DatePickerBody,
10234
10217
  {
10235
10218
  baseId,
@@ -10254,27 +10237,27 @@ function DatePickerContent({
10254
10237
  }
10255
10238
  );
10256
10239
  if (isMobile) {
10257
- return /* @__PURE__ */ jsx126(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs83(
10240
+ return /* @__PURE__ */ jsx125(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs82(
10258
10241
  DrawerContent,
10259
10242
  {
10260
10243
  onClose: () => onOpenChange(false),
10261
10244
  className: "rounded-none rounded-t-[32px] border-0 p-0",
10262
10245
  children: [
10263
- /* @__PURE__ */ jsx126(DrawerTitle, { className: "sr-only", children: title }),
10264
- /* @__PURE__ */ jsx126(DrawerDescription, { className: "sr-only", children: label }),
10246
+ /* @__PURE__ */ jsx125(DrawerTitle, { className: "sr-only", children: title }),
10247
+ /* @__PURE__ */ jsx125(DrawerDescription, { className: "sr-only", children: label }),
10265
10248
  body
10266
10249
  ]
10267
10250
  }
10268
10251
  ) });
10269
10252
  }
10270
- return /* @__PURE__ */ jsx126(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs83(
10253
+ return /* @__PURE__ */ jsx125(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs82(
10271
10254
  DialogContent,
10272
10255
  {
10273
10256
  className: "max-w-[520px] rounded-[28px] border-0 p-0 shadow-xl",
10274
10257
  showCloseButton: false,
10275
10258
  children: [
10276
- /* @__PURE__ */ jsx126(DialogTitle, { className: "sr-only", children: title }),
10277
- /* @__PURE__ */ jsx126(DialogDescription, { className: "sr-only", children: label }),
10259
+ /* @__PURE__ */ jsx125(DialogTitle, { className: "sr-only", children: title }),
10260
+ /* @__PURE__ */ jsx125(DialogDescription, { className: "sr-only", children: label }),
10278
10261
  body
10279
10262
  ]
10280
10263
  }
@@ -10299,11 +10282,11 @@ var DEVICE = {
10299
10282
  // src/field-trigger/FieldTrigger.tsx
10300
10283
  import * as React32 from "react";
10301
10284
  import { Loader2 as Loader24 } from "lucide-react";
10302
- import { useTranslation as useTranslation24 } from "react-i18next";
10285
+ import { useTranslation as useTranslation23 } from "react-i18next";
10303
10286
 
10304
10287
  // src/field-error-message/FieldErrorMessage.tsx
10305
10288
  import { AlertCircle as AlertCircle3 } from "lucide-react";
10306
- import { jsx as jsx127, jsxs as jsxs84 } from "react/jsx-runtime";
10289
+ import { jsx as jsx126, jsxs as jsxs83 } from "react/jsx-runtime";
10307
10290
  function FieldErrorMessage({
10308
10291
  id,
10309
10292
  message,
@@ -10314,7 +10297,7 @@ function FieldErrorMessage({
10314
10297
  }) {
10315
10298
  const content = message ?? children;
10316
10299
  if (!content) return null;
10317
- return /* @__PURE__ */ jsxs84(
10300
+ return /* @__PURE__ */ jsxs83(
10318
10301
  "p",
10319
10302
  {
10320
10303
  id,
@@ -10326,21 +10309,21 @@ function FieldErrorMessage({
10326
10309
  ),
10327
10310
  ...props,
10328
10311
  children: [
10329
- /* @__PURE__ */ jsx127(
10312
+ /* @__PURE__ */ jsx126(
10330
10313
  AlertCircle3,
10331
10314
  {
10332
10315
  className: "h-[18px] w-[18px] shrink-0 text-white",
10333
10316
  fill: "var(--error-message-color)"
10334
10317
  }
10335
10318
  ),
10336
- /* @__PURE__ */ jsx127("span", { children: content })
10319
+ /* @__PURE__ */ jsx126("span", { children: content })
10337
10320
  ]
10338
10321
  }
10339
10322
  );
10340
10323
  }
10341
10324
 
10342
10325
  // src/field-trigger/FieldTrigger.tsx
10343
- import { Fragment as Fragment12, jsx as jsx128, jsxs as jsxs85 } from "react/jsx-runtime";
10326
+ import { Fragment as Fragment12, jsx as jsx127, jsxs as jsxs84 } from "react/jsx-runtime";
10344
10327
  var FieldTrigger = React32.forwardRef(
10345
10328
  ({
10346
10329
  as = "button",
@@ -10372,20 +10355,20 @@ var FieldTrigger = React32.forwardRef(
10372
10355
  onKeyDown,
10373
10356
  ...props
10374
10357
  }, ref) => {
10375
- const { t } = useTranslation24();
10358
+ const { t } = useTranslation23();
10376
10359
  const hasValue = Boolean(valueText);
10377
10360
  const isRaised = hasValue || forceFloatingLabel;
10378
10361
  const optionalLabel = optional ? typeof optional === "string" ? optional : t("optional") : void 0;
10379
10362
  const visibleLabelText = labelText ?? label;
10380
10363
  const hasLabelMeta = Boolean(optionalLabel) || Boolean(tooltip);
10381
- const resolvedLabelText = visibleLabelText && hasLabelMeta ? /* @__PURE__ */ jsxs85("span", { className: "inline-flex max-w-full items-center gap-1.5 align-middle", children: [
10382
- /* @__PURE__ */ jsx128("span", { className: "min-w-0 truncate", children: visibleLabelText }),
10383
- optionalLabel && /* @__PURE__ */ jsxs85("span", { className: "shrink-0 text-[12px] relative top-[1px] font-normal leading-4 text-current opacity-70", children: [
10364
+ const resolvedLabelText = visibleLabelText && hasLabelMeta ? /* @__PURE__ */ jsxs84("span", { className: "inline-flex max-w-full items-center gap-1.5 align-middle", children: [
10365
+ /* @__PURE__ */ jsx127("span", { className: "min-w-0 truncate", children: visibleLabelText }),
10366
+ optionalLabel && /* @__PURE__ */ jsxs84("span", { className: "shrink-0 text-[12px] relative top-[1px] font-normal leading-4 text-current opacity-70", children: [
10384
10367
  "(",
10385
10368
  optionalLabel,
10386
10369
  ")"
10387
10370
  ] }),
10388
- tooltip && /* @__PURE__ */ jsx128(
10371
+ tooltip && /* @__PURE__ */ jsx127(
10389
10372
  HelpTooltip,
10390
10373
  {
10391
10374
  content: tooltip,
@@ -10401,9 +10384,9 @@ var FieldTrigger = React32.forwardRef(
10401
10384
  const hasInvalidState = Boolean(error);
10402
10385
  const errorMessage = typeof error === "string" ? error : void 0;
10403
10386
  const isBlocked = Boolean(disabled) || Boolean(loading);
10404
- const resolvedTrailingAdornment = loading || trailingAdornment ? /* @__PURE__ */ jsxs85("span", { className: "flex items-center gap-2", children: [
10387
+ const resolvedTrailingAdornment = loading || trailingAdornment ? /* @__PURE__ */ jsxs84("span", { className: "flex items-center gap-2", children: [
10405
10388
  trailingAdornment,
10406
- loading && /* @__PURE__ */ jsx128(
10389
+ loading && /* @__PURE__ */ jsx127(
10407
10390
  Loader24,
10408
10391
  {
10409
10392
  "aria-hidden": "true",
@@ -10419,8 +10402,8 @@ var FieldTrigger = React32.forwardRef(
10419
10402
  disabled ? "cursor-not-allowed opacity-50" : loading ? "cursor-progress" : isAirbnbVariant ? "cursor-pointer" : "cursor-text",
10420
10403
  className
10421
10404
  );
10422
- const sharedContent = /* @__PURE__ */ jsxs85(Fragment12, { children: [
10423
- /* @__PURE__ */ jsxs85(
10405
+ const sharedContent = /* @__PURE__ */ jsxs84(Fragment12, { children: [
10406
+ /* @__PURE__ */ jsxs84(
10424
10407
  "span",
10425
10408
  {
10426
10409
  className: cn(
@@ -10429,7 +10412,7 @@ var FieldTrigger = React32.forwardRef(
10429
10412
  contentClassName
10430
10413
  ),
10431
10414
  children: [
10432
- /* @__PURE__ */ jsx128(
10415
+ /* @__PURE__ */ jsx127(
10433
10416
  "span",
10434
10417
  {
10435
10418
  id: labelId,
@@ -10442,7 +10425,7 @@ var FieldTrigger = React32.forwardRef(
10442
10425
  children: animatedLabel
10443
10426
  }
10444
10427
  ),
10445
- children ? children : hasValue ? /* @__PURE__ */ jsx128(
10428
+ children ? children : hasValue ? /* @__PURE__ */ jsx127(
10446
10429
  "span",
10447
10430
  {
10448
10431
  id: valueId,
@@ -10453,11 +10436,11 @@ var FieldTrigger = React32.forwardRef(
10453
10436
  ),
10454
10437
  children: valueText
10455
10438
  }
10456
- ) : /* @__PURE__ */ jsx128("span", { id: helperTextId, className: "sr-only", children: placeholder ?? label })
10439
+ ) : /* @__PURE__ */ jsx127("span", { id: helperTextId, className: "sr-only", children: placeholder ?? label })
10457
10440
  ]
10458
10441
  }
10459
10442
  ),
10460
- resolvedTrailingAdornment && /* @__PURE__ */ jsx128(
10443
+ resolvedTrailingAdornment && /* @__PURE__ */ jsx127(
10461
10444
  "span",
10462
10445
  {
10463
10446
  "aria-hidden": "true",
@@ -10469,9 +10452,9 @@ var FieldTrigger = React32.forwardRef(
10469
10452
  }
10470
10453
  )
10471
10454
  ] });
10472
- return /* @__PURE__ */ jsxs85("div", { className: "w-full", children: [
10473
- topLabel && /* @__PURE__ */ jsx128("p", { className: "mb-3 text-[16px] font-semibold leading-5 text-[#222222]", children: topLabel }),
10474
- as === "button" ? /* @__PURE__ */ jsx128(
10455
+ return /* @__PURE__ */ jsxs84("div", { className: "w-full", children: [
10456
+ topLabel && /* @__PURE__ */ jsx127("p", { className: "mb-3 text-[16px] font-semibold leading-5 text-[#222222]", children: topLabel }),
10457
+ as === "button" ? /* @__PURE__ */ jsx127(
10475
10458
  "button",
10476
10459
  {
10477
10460
  id,
@@ -10488,7 +10471,7 @@ var FieldTrigger = React32.forwardRef(
10488
10471
  ...props,
10489
10472
  children: sharedContent
10490
10473
  }
10491
- ) : /* @__PURE__ */ jsx128(
10474
+ ) : /* @__PURE__ */ jsx127(
10492
10475
  "div",
10493
10476
  {
10494
10477
  id,
@@ -10505,14 +10488,14 @@ var FieldTrigger = React32.forwardRef(
10505
10488
  children: sharedContent
10506
10489
  }
10507
10490
  ),
10508
- errorMessage && !hideErrorMessage && /* @__PURE__ */ jsx128(FieldErrorMessage, { id: errorId, message: errorMessage })
10491
+ errorMessage && !hideErrorMessage && /* @__PURE__ */ jsx127(FieldErrorMessage, { id: errorId, message: errorMessage })
10509
10492
  ] });
10510
10493
  }
10511
10494
  );
10512
10495
  FieldTrigger.displayName = "FieldTrigger";
10513
10496
 
10514
10497
  // src/datepicker/DatePicker.tsx
10515
- import { jsx as jsx129, jsxs as jsxs86 } from "react/jsx-runtime";
10498
+ import { jsx as jsx128, jsxs as jsxs85 } from "react/jsx-runtime";
10516
10499
  var DEFAULT_MIN_DATE = new Date(1920, 0, 1);
10517
10500
  var DatePicker = React33.forwardRef(
10518
10501
  ({
@@ -10629,8 +10612,8 @@ var DatePicker = React33.forwardRef(
10629
10612
  setIsOpen(false);
10630
10613
  }
10631
10614
  }, [isBlocked]);
10632
- return /* @__PURE__ */ jsxs86("div", { className: cn("relative w-full max-w-[var(--max-field-width)]", className), children: [
10633
- name && /* @__PURE__ */ jsx129(
10615
+ return /* @__PURE__ */ jsxs85("div", { className: cn("relative w-full max-w-[var(--max-field-width)]", className), children: [
10616
+ name && /* @__PURE__ */ jsx128(
10634
10617
  "input",
10635
10618
  {
10636
10619
  type: "hidden",
@@ -10638,7 +10621,7 @@ var DatePicker = React33.forwardRef(
10638
10621
  value: resolvedValue ? formatDateInputValue(resolvedValue) : ""
10639
10622
  }
10640
10623
  ),
10641
- /* @__PURE__ */ jsx129(
10624
+ /* @__PURE__ */ jsx128(
10642
10625
  FieldTrigger,
10643
10626
  {
10644
10627
  id: triggerId,
@@ -10665,10 +10648,10 @@ var DatePicker = React33.forwardRef(
10665
10648
  onClick: handleTriggerClick,
10666
10649
  onKeyDown: handleTriggerKeyDown,
10667
10650
  onBlur,
10668
- trailingAdornment: /* @__PURE__ */ jsx129(Calendar2, { className: "h-5 w-5 text-[#1F1F1B]", strokeWidth: 2 })
10651
+ trailingAdornment: /* @__PURE__ */ jsx128(Calendar2, { className: "h-5 w-5 text-[#1F1F1B]", strokeWidth: 2 })
10669
10652
  }
10670
10653
  ),
10671
- /* @__PURE__ */ jsx129(
10654
+ /* @__PURE__ */ jsx128(
10672
10655
  DatePickerContent,
10673
10656
  {
10674
10657
  baseId: pickerId,
@@ -10702,7 +10685,7 @@ var DatePicker = React33.forwardRef(
10702
10685
  DatePicker.displayName = "DatePicker";
10703
10686
 
10704
10687
  // src/responsive-sheet/ResponsiveSheet.tsx
10705
- import { jsx as jsx130, jsxs as jsxs87 } from "react/jsx-runtime";
10688
+ import { jsx as jsx129, jsxs as jsxs86 } from "react/jsx-runtime";
10706
10689
  function ResponsiveSheet({
10707
10690
  open,
10708
10691
  onClose,
@@ -10737,7 +10720,7 @@ function ResponsiveSheet({
10737
10720
  event.preventDefault();
10738
10721
  }
10739
10722
  };
10740
- const content = /* @__PURE__ */ jsxs87(
10723
+ const content = /* @__PURE__ */ jsxs86(
10741
10724
  "div",
10742
10725
  {
10743
10726
  className: cn(
@@ -10745,7 +10728,7 @@ function ResponsiveSheet({
10745
10728
  contentClassName
10746
10729
  ),
10747
10730
  children: [
10748
- title ? /* @__PURE__ */ jsx130(
10731
+ title ? /* @__PURE__ */ jsx129(
10749
10732
  "div",
10750
10733
  {
10751
10734
  className: cn(
@@ -10755,7 +10738,7 @@ function ResponsiveSheet({
10755
10738
  children: title
10756
10739
  }
10757
10740
  ) : null,
10758
- description ? /* @__PURE__ */ jsx130(
10741
+ description ? /* @__PURE__ */ jsx129(
10759
10742
  "p",
10760
10743
  {
10761
10744
  className: cn(
@@ -10770,7 +10753,7 @@ function ResponsiveSheet({
10770
10753
  }
10771
10754
  );
10772
10755
  if (isMobileMode) {
10773
- return /* @__PURE__ */ jsx130(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs87(
10756
+ return /* @__PURE__ */ jsx129(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs86(
10774
10757
  DrawerContent,
10775
10758
  {
10776
10759
  onClose,
@@ -10780,14 +10763,14 @@ function ResponsiveSheet({
10780
10763
  onEscapeKeyDown: handleEscapeKeyDown,
10781
10764
  className: cn(className, drawerClassName),
10782
10765
  children: [
10783
- title ? /* @__PURE__ */ jsx130(DrawerTitle, { className: "sr-only", children: title }) : null,
10784
- description ? /* @__PURE__ */ jsx130(DrawerDescription, { className: "sr-only", children: description }) : null,
10766
+ title ? /* @__PURE__ */ jsx129(DrawerTitle, { className: "sr-only", children: title }) : null,
10767
+ description ? /* @__PURE__ */ jsx129(DrawerDescription, { className: "sr-only", children: description }) : null,
10785
10768
  content
10786
10769
  ]
10787
10770
  }
10788
10771
  ) });
10789
10772
  }
10790
- return /* @__PURE__ */ jsx130(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs87(
10773
+ return /* @__PURE__ */ jsx129(Dialog, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsxs86(
10791
10774
  DialogContent,
10792
10775
  {
10793
10776
  showCloseButton,
@@ -10797,8 +10780,8 @@ function ResponsiveSheet({
10797
10780
  className: cn("max-w-[560px] border-0 p-0 shadow-xl", className, dialogClassName),
10798
10781
  lockScroll: false,
10799
10782
  children: [
10800
- title ? /* @__PURE__ */ jsx130(DialogTitle, { className: "sr-only", children: title }) : null,
10801
- description ? /* @__PURE__ */ jsx130(DialogDescription, { className: "sr-only", children: description }) : null,
10783
+ title ? /* @__PURE__ */ jsx129(DialogTitle, { className: "sr-only", children: title }) : null,
10784
+ description ? /* @__PURE__ */ jsx129(DialogDescription, { className: "sr-only", children: description }) : null,
10802
10785
  content
10803
10786
  ]
10804
10787
  }
@@ -10807,7 +10790,7 @@ function ResponsiveSheet({
10807
10790
 
10808
10791
  // src/airbnb/input/Input.tsx
10809
10792
  import * as React34 from "react";
10810
- import { jsx as jsx131 } from "react/jsx-runtime";
10793
+ import { jsx as jsx130 } from "react/jsx-runtime";
10811
10794
  var getInputValue = (value) => value != null ? String(value) : "";
10812
10795
  var AirbnbInput = React34.forwardRef(
10813
10796
  ({
@@ -10890,7 +10873,7 @@ var AirbnbInput = React34.forwardRef(
10890
10873
  setIsFocused(false);
10891
10874
  onBlur?.(event);
10892
10875
  };
10893
- return /* @__PURE__ */ jsx131("div", { className: cn("w-full max-w-[var(--max-field-width)]", wrapperClassName), children: /* @__PURE__ */ jsx131(
10876
+ return /* @__PURE__ */ jsx130("div", { className: cn("w-full max-w-[var(--max-field-width)]", wrapperClassName), children: /* @__PURE__ */ jsx130(
10894
10877
  FieldTrigger,
10895
10878
  {
10896
10879
  as: "div",
@@ -10922,7 +10905,7 @@ var AirbnbInput = React34.forwardRef(
10922
10905
  forceFloatingLabel: shouldShowLabel,
10923
10906
  forceLabelText: hasLabelMeta,
10924
10907
  hideErrorMessage: !renderErrorMessage,
10925
- children: /* @__PURE__ */ jsx131(
10908
+ children: /* @__PURE__ */ jsx130(
10926
10909
  "input",
10927
10910
  {
10928
10911
  ...props,
@@ -10965,7 +10948,7 @@ import { ChevronDown as ChevronDown2 } from "lucide-react";
10965
10948
  import * as React39 from "react";
10966
10949
 
10967
10950
  // src/airbnb/select/SelectDesktopMenu.tsx
10968
- import { jsx as jsx132, jsxs as jsxs88 } from "react/jsx-runtime";
10951
+ import { jsx as jsx131, jsxs as jsxs87 } from "react/jsx-runtime";
10969
10952
  function SelectDesktopMenu({
10970
10953
  id,
10971
10954
  options,
@@ -10984,7 +10967,7 @@ function SelectDesktopMenu({
10984
10967
  noOptionsMessage
10985
10968
  }) {
10986
10969
  const emptyMessage = noOptionsMessage?.();
10987
- return /* @__PURE__ */ jsxs88(
10970
+ return /* @__PURE__ */ jsxs87(
10988
10971
  "div",
10989
10972
  {
10990
10973
  id,
@@ -10997,12 +10980,12 @@ function SelectDesktopMenu({
10997
10980
  onKeyDown,
10998
10981
  className: cn("max-h-[280px] overflow-y-auto p-2 outline-none", menuClassName),
10999
10982
  children: [
11000
- options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx132("div", { className: "px-4 py-3 text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
10983
+ options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx131("div", { className: "px-4 py-3 text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
11001
10984
  options.map((option, index) => {
11002
10985
  const isSelected = selectedValue?.value === option.value;
11003
10986
  const isHighlighted = index === highlightedIndex;
11004
10987
  const optionKey = `${String(option.value)}-${index}`;
11005
- return /* @__PURE__ */ jsx132(
10988
+ return /* @__PURE__ */ jsx131(
11006
10989
  "button",
11007
10990
  {
11008
10991
  id: getOptionId2(index),
@@ -11034,7 +11017,7 @@ function SelectDesktopMenu({
11034
11017
  }
11035
11018
 
11036
11019
  // src/airbnb/select/SelectDesktopContent.tsx
11037
- import { jsx as jsx133 } from "react/jsx-runtime";
11020
+ import { jsx as jsx132 } from "react/jsx-runtime";
11038
11021
  function SelectDesktopContent({
11039
11022
  isOpen,
11040
11023
  listboxId,
@@ -11055,14 +11038,14 @@ function SelectDesktopContent({
11055
11038
  noOptionsMessage
11056
11039
  }) {
11057
11040
  if (!isOpen) return null;
11058
- return /* @__PURE__ */ jsx133(
11041
+ return /* @__PURE__ */ jsx132(
11059
11042
  "div",
11060
11043
  {
11061
11044
  className: cn(
11062
11045
  "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)]",
11063
11046
  dropdownClassName
11064
11047
  ),
11065
- children: /* @__PURE__ */ jsx133(
11048
+ children: /* @__PURE__ */ jsx132(
11066
11049
  SelectDesktopMenu,
11067
11050
  {
11068
11051
  id: listboxId,
@@ -11160,7 +11143,7 @@ function getMobileOptionStyles(index, scrollTop) {
11160
11143
  }
11161
11144
 
11162
11145
  // src/airbnb/select/SelectMobileWheel.tsx
11163
- import { jsx as jsx134, jsxs as jsxs89 } from "react/jsx-runtime";
11146
+ import { jsx as jsx133, jsxs as jsxs88 } from "react/jsx-runtime";
11164
11147
  function SelectMobileWheel({
11165
11148
  id,
11166
11149
  options,
@@ -11179,7 +11162,7 @@ function SelectMobileWheel({
11179
11162
  }) {
11180
11163
  const spacerHeight2 = getWheelSpacerHeight();
11181
11164
  const emptyMessage = noOptionsMessage?.();
11182
- return /* @__PURE__ */ jsxs89(
11165
+ return /* @__PURE__ */ jsxs88(
11183
11166
  "div",
11184
11167
  {
11185
11168
  id,
@@ -11191,10 +11174,10 @@ function SelectMobileWheel({
11191
11174
  onKeyDown,
11192
11175
  className: cn("relative overflow-hidden outline-none", menuClassName),
11193
11176
  children: [
11194
- 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,
11195
- /* @__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" }),
11196
- /* @__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" }),
11197
- /* @__PURE__ */ jsx134(
11177
+ options.length === 0 && emptyMessage ? /* @__PURE__ */ jsx133("div", { className: "flex min-h-[160px] items-center justify-center px-4 text-center text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : null,
11178
+ /* @__PURE__ */ jsx133("div", { className: "pointer-events-none absolute inset-x-0 top-0 h-16 bg-gradient-to-b from-white via-white/80 to-transparent" }),
11179
+ /* @__PURE__ */ jsx133("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-16 bg-gradient-to-t from-white via-white/80 to-transparent" }),
11180
+ /* @__PURE__ */ jsx133(
11198
11181
  "div",
11199
11182
  {
11200
11183
  "aria-hidden": true,
@@ -11204,7 +11187,7 @@ function SelectMobileWheel({
11204
11187
  )
11205
11188
  }
11206
11189
  ),
11207
- /* @__PURE__ */ jsxs89(
11190
+ /* @__PURE__ */ jsxs88(
11208
11191
  "div",
11209
11192
  {
11210
11193
  ref: listRef,
@@ -11219,11 +11202,11 @@ function SelectMobileWheel({
11219
11202
  WebkitOverflowScrolling: "touch"
11220
11203
  },
11221
11204
  children: [
11222
- /* @__PURE__ */ jsx134("div", { style: { height: `${spacerHeight2}px` } }),
11205
+ /* @__PURE__ */ jsx133("div", { style: { height: `${spacerHeight2}px` } }),
11223
11206
  options.map((option, index) => {
11224
11207
  const { distance, style } = getMobileOptionStyles(index, scrollTop);
11225
11208
  const optionKey = `${String(option.value)}-${index}`;
11226
- return /* @__PURE__ */ jsx134(
11209
+ return /* @__PURE__ */ jsx133(
11227
11210
  "button",
11228
11211
  {
11229
11212
  id: getOptionId2(index),
@@ -11244,7 +11227,7 @@ function SelectMobileWheel({
11244
11227
  optionKey
11245
11228
  );
11246
11229
  }),
11247
- /* @__PURE__ */ jsx134("div", { style: { height: `${spacerHeight2}px` } })
11230
+ /* @__PURE__ */ jsx133("div", { style: { height: `${spacerHeight2}px` } })
11248
11231
  ]
11249
11232
  }
11250
11233
  )
@@ -11254,7 +11237,7 @@ function SelectMobileWheel({
11254
11237
  }
11255
11238
 
11256
11239
  // src/airbnb/select/SelectMobileContent.tsx
11257
- import { jsx as jsx135, jsxs as jsxs90 } from "react/jsx-runtime";
11240
+ import { jsx as jsx134, jsxs as jsxs89 } from "react/jsx-runtime";
11258
11241
  function SelectMobileContent({
11259
11242
  open,
11260
11243
  onOpenChange,
@@ -11278,11 +11261,11 @@ function SelectMobileContent({
11278
11261
  getOptionId: getOptionId2,
11279
11262
  noOptionsMessage
11280
11263
  }) {
11281
- return /* @__PURE__ */ jsx135(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs90(DrawerContent, { onClose, lockScroll: false, children: [
11282
- /* @__PURE__ */ jsx135(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
11283
- /* @__PURE__ */ jsx135(DrawerDescription, { className: "sr-only", children: label }),
11284
- /* @__PURE__ */ jsxs90("div", { className: "px-6 pb-4 pt-1", children: [
11285
- /* @__PURE__ */ jsx135(
11264
+ return /* @__PURE__ */ jsx134(Drawer, { open, onOpenChange, children: /* @__PURE__ */ jsxs89(DrawerContent, { onClose, lockScroll: false, children: [
11265
+ /* @__PURE__ */ jsx134(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
11266
+ /* @__PURE__ */ jsx134(DrawerDescription, { className: "sr-only", children: label }),
11267
+ /* @__PURE__ */ jsxs89("div", { className: "px-6 pb-4 pt-1", children: [
11268
+ /* @__PURE__ */ jsx134(
11286
11269
  SelectMobileWheel,
11287
11270
  {
11288
11271
  id: listboxId,
@@ -11301,7 +11284,7 @@ function SelectMobileContent({
11301
11284
  noOptionsMessage
11302
11285
  }
11303
11286
  ),
11304
- /* @__PURE__ */ jsx135(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
11287
+ /* @__PURE__ */ jsx134(Button, { type: "button", onClick: onDone, className: "mt-4 h-12 mb-8 w-full", children: doneLabel })
11305
11288
  ] })
11306
11289
  ] }) });
11307
11290
  }
@@ -11309,7 +11292,7 @@ function SelectMobileContent({
11309
11292
  // src/airbnb/select/SelectTrigger.tsx
11310
11293
  import * as React35 from "react";
11311
11294
  import { ChevronDown } from "lucide-react";
11312
- import { jsx as jsx136 } from "react/jsx-runtime";
11295
+ import { jsx as jsx135 } from "react/jsx-runtime";
11313
11296
  var SelectTrigger2 = React35.forwardRef(
11314
11297
  ({
11315
11298
  id,
@@ -11335,7 +11318,7 @@ var SelectTrigger2 = React35.forwardRef(
11335
11318
  onKeyDown,
11336
11319
  onBlur
11337
11320
  }, ref) => {
11338
- return /* @__PURE__ */ jsx136(
11321
+ return /* @__PURE__ */ jsx135(
11339
11322
  FieldTrigger,
11340
11323
  {
11341
11324
  id,
@@ -11364,7 +11347,7 @@ var SelectTrigger2 = React35.forwardRef(
11364
11347
  onClick,
11365
11348
  onKeyDown,
11366
11349
  onBlur,
11367
- trailingAdornment: /* @__PURE__ */ jsx136(
11350
+ trailingAdornment: /* @__PURE__ */ jsx135(
11368
11351
  ChevronDown,
11369
11352
  {
11370
11353
  className: open ? "h-6 w-6 rotate-180 text-[#1F1F1B] transition-transform" : "h-6 w-6 text-[#1F1F1B] transition-transform"
@@ -11726,7 +11709,7 @@ function useSelectIds({ name, hasValue, error, hideErrorMessage }) {
11726
11709
  }
11727
11710
 
11728
11711
  // src/airbnb/select/Select.tsx
11729
- import { jsx as jsx137, jsxs as jsxs91 } from "react/jsx-runtime";
11712
+ import { jsx as jsx136, jsxs as jsxs90 } from "react/jsx-runtime";
11730
11713
  var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11731
11714
  options = [],
11732
11715
  value,
@@ -11903,13 +11886,13 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11903
11886
  handleMobileOpenChange(false);
11904
11887
  }
11905
11888
  };
11906
- return /* @__PURE__ */ jsxs91(
11889
+ return /* @__PURE__ */ jsxs90(
11907
11890
  "div",
11908
11891
  {
11909
11892
  ref: containerRef,
11910
11893
  className: cn("relative w-full max-w-[var(--max-field-width)]", className),
11911
11894
  children: [
11912
- name && /* @__PURE__ */ jsx137("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
11895
+ name && /* @__PURE__ */ jsx136("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
11913
11896
  renderTrigger ? renderTrigger({
11914
11897
  id: triggerId,
11915
11898
  open: isOpen,
@@ -11931,7 +11914,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11931
11914
  onClick: handleTriggerClick,
11932
11915
  onKeyDown: handleRootTriggerKeyDown,
11933
11916
  onBlur
11934
- }) : /* @__PURE__ */ jsx137(
11917
+ }) : /* @__PURE__ */ jsx136(
11935
11918
  SelectTrigger2,
11936
11919
  {
11937
11920
  id: triggerId,
@@ -11959,7 +11942,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11959
11942
  onBlur
11960
11943
  }
11961
11944
  ),
11962
- isMobile ? /* @__PURE__ */ jsx137(
11945
+ isMobile ? /* @__PURE__ */ jsx136(
11963
11946
  SelectMobileContent,
11964
11947
  {
11965
11948
  open: isOpen,
@@ -11984,7 +11967,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
11984
11967
  getOptionId: getOptionId2,
11985
11968
  noOptionsMessage
11986
11969
  }
11987
- ) : /* @__PURE__ */ jsx137(
11970
+ ) : /* @__PURE__ */ jsx136(
11988
11971
  SelectDesktopContent,
11989
11972
  {
11990
11973
  isOpen,
@@ -12018,7 +12001,7 @@ var AirbnbSelect = React39.forwardRef(function AirbnbSelect2({
12018
12001
  });
12019
12002
 
12020
12003
  // src/airbnb/phone-field/PhoneField.tsx
12021
- import { jsx as jsx138, jsxs as jsxs92 } from "react/jsx-runtime";
12004
+ import { jsx as jsx137, jsxs as jsxs91 } from "react/jsx-runtime";
12022
12005
  function formatPhoneCodeOptionLabel(option) {
12023
12006
  const label = String(option.label);
12024
12007
  const value = String(option.value);
@@ -12065,9 +12048,9 @@ var PhoneField = React40.forwardRef(
12065
12048
  const hasInvalidState = Boolean(error) || Boolean(invalid);
12066
12049
  const isBlocked = Boolean(disabled) || Boolean(loading);
12067
12050
  const isCodeBlocked = isBlocked || Boolean(codeReadOnly);
12068
- return /* @__PURE__ */ jsxs92("div", { className: cn("w-full max-w-[var(--max-field-width)]", className), children: [
12069
- name && /* @__PURE__ */ jsx138("input", { type: "hidden", name, value: combinedValue, disabled }),
12070
- codeName && /* @__PURE__ */ jsx138(
12051
+ return /* @__PURE__ */ jsxs91("div", { className: cn("w-full max-w-[var(--max-field-width)]", className), children: [
12052
+ name && /* @__PURE__ */ jsx137("input", { type: "hidden", name, value: combinedValue, disabled }),
12053
+ codeName && /* @__PURE__ */ jsx137(
12071
12054
  "input",
12072
12055
  {
12073
12056
  type: "hidden",
@@ -12076,7 +12059,7 @@ var PhoneField = React40.forwardRef(
12076
12059
  disabled
12077
12060
  }
12078
12061
  ),
12079
- numberName && /* @__PURE__ */ jsx138(
12062
+ numberName && /* @__PURE__ */ jsx137(
12080
12063
  "input",
12081
12064
  {
12082
12065
  type: "hidden",
@@ -12085,7 +12068,7 @@ var PhoneField = React40.forwardRef(
12085
12068
  disabled
12086
12069
  }
12087
12070
  ),
12088
- topLabel && /* @__PURE__ */ jsx138(
12071
+ topLabel && /* @__PURE__ */ jsx137(
12089
12072
  "label",
12090
12073
  {
12091
12074
  htmlFor: inputId,
@@ -12093,8 +12076,8 @@ var PhoneField = React40.forwardRef(
12093
12076
  children: topLabel
12094
12077
  }
12095
12078
  ),
12096
- /* @__PURE__ */ jsxs92("div", { className: "flex items-stretch", children: [
12097
- /* @__PURE__ */ jsx138(
12079
+ /* @__PURE__ */ jsxs91("div", { className: "flex items-stretch", children: [
12080
+ /* @__PURE__ */ jsx137(
12098
12081
  AirbnbSelect,
12099
12082
  {
12100
12083
  ref,
@@ -12125,7 +12108,7 @@ var PhoneField = React40.forwardRef(
12125
12108
  onClick,
12126
12109
  onKeyDown,
12127
12110
  valueLabel
12128
- }) => /* @__PURE__ */ jsxs92(
12111
+ }) => /* @__PURE__ */ jsxs91(
12129
12112
  "button",
12130
12113
  {
12131
12114
  id,
@@ -12147,8 +12130,8 @@ var PhoneField = React40.forwardRef(
12147
12130
  triggerDisabled ? "cursor-not-allowed opacity-50" : triggerLoading ? "cursor-progress" : "cursor-pointer"
12148
12131
  ),
12149
12132
  children: [
12150
- /* @__PURE__ */ jsx138("span", { children: valueLabel ?? codePlaceholder }),
12151
- /* @__PURE__ */ jsx138(
12133
+ /* @__PURE__ */ jsx137("span", { children: valueLabel ?? codePlaceholder }),
12134
+ /* @__PURE__ */ jsx137(
12152
12135
  ChevronDown2,
12153
12136
  {
12154
12137
  className: cn("h-5 w-5 transition-transform", open ? "rotate-180" : ""),
@@ -12160,7 +12143,7 @@ var PhoneField = React40.forwardRef(
12160
12143
  )
12161
12144
  }
12162
12145
  ),
12163
- /* @__PURE__ */ jsx138(
12146
+ /* @__PURE__ */ jsx137(
12164
12147
  AirbnbInput,
12165
12148
  {
12166
12149
  id: inputId,
@@ -12192,7 +12175,7 @@ var PhoneField = React40.forwardRef(
12192
12175
  }
12193
12176
  )
12194
12177
  ] }),
12195
- error && /* @__PURE__ */ jsx138(FieldErrorMessage, { message: error })
12178
+ error && /* @__PURE__ */ jsx137(FieldErrorMessage, { message: error })
12196
12179
  ] });
12197
12180
  }
12198
12181
  );
@@ -12200,15 +12183,15 @@ PhoneField.displayName = "PhoneField";
12200
12183
 
12201
12184
  // src/airbnb/search-input/SearchInput.tsx
12202
12185
  import * as React41 from "react";
12203
- import { useTranslation as useTranslation25 } from "react-i18next";
12186
+ import { useTranslation as useTranslation24 } from "react-i18next";
12204
12187
  import { Search as Search3, X as X8 } from "lucide-react";
12205
- import { jsx as jsx139, jsxs as jsxs93 } from "react/jsx-runtime";
12188
+ import { jsx as jsx138, jsxs as jsxs92 } from "react/jsx-runtime";
12206
12189
  var AirbnbSearchInput = React41.forwardRef(({ onReset, placeholder, wrapperClassName, ...props }, ref) => {
12207
- const { t } = useTranslation25();
12190
+ const { t } = useTranslation24();
12208
12191
  const placeholderText = placeholder || t("search_property") + "...";
12209
- return /* @__PURE__ */ jsxs93("div", { className: cn("input-wrapper relative", wrapperClassName), children: [
12210
- /* @__PURE__ */ jsx139(Search3, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]" }),
12211
- /* @__PURE__ */ jsx139(
12192
+ return /* @__PURE__ */ jsxs92("div", { className: cn("input-wrapper relative", wrapperClassName), children: [
12193
+ /* @__PURE__ */ jsx138(Search3, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]" }),
12194
+ /* @__PURE__ */ jsx138(
12212
12195
  "input",
12213
12196
  {
12214
12197
  ...props,
@@ -12227,13 +12210,13 @@ var AirbnbSearchInput = React41.forwardRef(({ onReset, placeholder, wrapperClass
12227
12210
  )
12228
12211
  }
12229
12212
  ),
12230
- onReset && /* @__PURE__ */ jsx139(
12213
+ onReset && /* @__PURE__ */ jsx138(
12231
12214
  Button,
12232
12215
  {
12233
12216
  variant: "ghost",
12234
12217
  onClick: onReset,
12235
12218
  className: "absolute right-0 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]",
12236
- children: /* @__PURE__ */ jsx139(X8, { className: "h-5 w-5" })
12219
+ children: /* @__PURE__ */ jsx138(X8, { className: "h-5 w-5" })
12237
12220
  }
12238
12221
  )
12239
12222
  ] });
@@ -12245,7 +12228,7 @@ import * as React42 from "react";
12245
12228
  import { ChevronDown as ChevronDown3, Search as Search4 } from "lucide-react";
12246
12229
  import { useVirtualizer as useVirtualizer2 } from "@tanstack/react-virtual";
12247
12230
  import { useCallback as useCallback25 } from "react";
12248
- import { jsx as jsx140, jsxs as jsxs94 } from "react/jsx-runtime";
12231
+ import { jsx as jsx139, jsxs as jsxs93 } from "react/jsx-runtime";
12249
12232
  var ROW_HEIGHT = 48;
12250
12233
  var DESKTOP_LIST_HEIGHT = 280;
12251
12234
  var MOBILE_LIST_HEIGHT = 420;
@@ -12414,7 +12397,7 @@ var SearchableSelectInternal = ({
12414
12397
  }
12415
12398
  }
12416
12399
  }
12417
- const content = /* @__PURE__ */ jsx140(
12400
+ const content = /* @__PURE__ */ jsx139(
12418
12401
  SearchableSelectContent,
12419
12402
  {
12420
12403
  inputId: searchInputId,
@@ -12442,9 +12425,9 @@ var SearchableSelectInternal = ({
12442
12425
  }
12443
12426
  );
12444
12427
  React42.useImperativeHandle(ref, () => triggerRef.current, []);
12445
- return /* @__PURE__ */ jsxs94("div", { ref: containerRef, className: cn("relative w-full max-w-[425px]", className), children: [
12446
- name && /* @__PURE__ */ jsx140("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
12447
- /* @__PURE__ */ jsx140(
12428
+ return /* @__PURE__ */ jsxs93("div", { ref: containerRef, className: cn("relative w-full max-w-[425px]", className), children: [
12429
+ name && /* @__PURE__ */ jsx139("input", { type: "hidden", name, value: value ? String(value.value) : "" }),
12430
+ /* @__PURE__ */ jsx139(
12448
12431
  FieldTrigger,
12449
12432
  {
12450
12433
  id: `${reactId}-trigger`,
@@ -12479,7 +12462,7 @@ var SearchableSelectInternal = ({
12479
12462
  },
12480
12463
  onKeyDown: handleTriggerKeyDown,
12481
12464
  onBlur,
12482
- trailingAdornment: /* @__PURE__ */ jsx140(
12465
+ trailingAdornment: /* @__PURE__ */ jsx139(
12483
12466
  ChevronDown3,
12484
12467
  {
12485
12468
  className: cn(
@@ -12490,7 +12473,7 @@ var SearchableSelectInternal = ({
12490
12473
  )
12491
12474
  }
12492
12475
  ),
12493
- isMobile ? /* @__PURE__ */ jsx140(
12476
+ isMobile ? /* @__PURE__ */ jsx139(
12494
12477
  Drawer,
12495
12478
  {
12496
12479
  open,
@@ -12502,13 +12485,13 @@ var SearchableSelectInternal = ({
12502
12485
  }
12503
12486
  closeSelect();
12504
12487
  },
12505
- children: /* @__PURE__ */ jsxs94(DrawerContent, { onClose: closeSelect, lockScroll: false, children: [
12506
- /* @__PURE__ */ jsx140(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
12507
- /* @__PURE__ */ jsx140(DrawerDescription, { className: "sr-only", children: label }),
12508
- /* @__PURE__ */ jsx140("div", { className: "px-5 pb-5 pt-1", children: content })
12488
+ children: /* @__PURE__ */ jsxs93(DrawerContent, { onClose: closeSelect, lockScroll: false, children: [
12489
+ /* @__PURE__ */ jsx139(DrawerTitle, { className: "sr-only", children: mobileTitle ?? label }),
12490
+ /* @__PURE__ */ jsx139(DrawerDescription, { className: "sr-only", children: label }),
12491
+ /* @__PURE__ */ jsx139("div", { className: "px-5 pb-5 pt-1", children: content })
12509
12492
  ] })
12510
12493
  }
12511
- ) : open ? /* @__PURE__ */ jsx140(
12494
+ ) : open ? /* @__PURE__ */ jsx139(
12512
12495
  "div",
12513
12496
  {
12514
12497
  className: cn(
@@ -12575,16 +12558,16 @@ function SearchableSelectContent({
12575
12558
  virtualizer.scrollToIndex(highlightedIndex, { align: "auto" });
12576
12559
  }
12577
12560
  }, [highlightedIndex, virtualizer]);
12578
- return /* @__PURE__ */ jsxs94("div", { className: "p-2", children: [
12579
- /* @__PURE__ */ jsxs94("div", { className: "relative mb-2", children: [
12580
- /* @__PURE__ */ jsx140(
12561
+ return /* @__PURE__ */ jsxs93("div", { className: "p-2", children: [
12562
+ /* @__PURE__ */ jsxs93("div", { className: "relative mb-2", children: [
12563
+ /* @__PURE__ */ jsx139(
12581
12564
  Search4,
12582
12565
  {
12583
12566
  "aria-hidden": "true",
12584
12567
  className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[#9696B9]"
12585
12568
  }
12586
12569
  ),
12587
- /* @__PURE__ */ jsx140(
12570
+ /* @__PURE__ */ jsx139(
12588
12571
  "input",
12589
12572
  {
12590
12573
  id: inputId,
@@ -12603,7 +12586,7 @@ function SearchableSelectContent({
12603
12586
  }
12604
12587
  )
12605
12588
  ] }),
12606
- 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(
12589
+ loading && options.length === 0 ? /* @__PURE__ */ jsx139("div", { className: "px-4 py-5 text-center text-base leading-6 text-[#6C6C6C]", children: loadingText }) : options.length === 0 ? /* @__PURE__ */ jsx139("div", { className: "px-4 py-5 text-center text-base leading-6 text-[#6C6C6C]", children: emptyMessage }) : /* @__PURE__ */ jsx139(
12607
12590
  "div",
12608
12591
  {
12609
12592
  id: listboxId,
@@ -12612,7 +12595,7 @@ function SearchableSelectContent({
12612
12595
  "aria-labelledby": labelId,
12613
12596
  className: cn("overflow-y-auto outline-none", menuClassName),
12614
12597
  style: { height: Math.min(height, rowCount * ROW_HEIGHT) },
12615
- children: /* @__PURE__ */ jsx140(
12598
+ children: /* @__PURE__ */ jsx139(
12616
12599
  "div",
12617
12600
  {
12618
12601
  className: "relative w-full",
@@ -12620,7 +12603,7 @@ function SearchableSelectContent({
12620
12603
  children: virtualItems.map((virtualItem) => {
12621
12604
  const option = options[virtualItem.index];
12622
12605
  if (!option) {
12623
- return /* @__PURE__ */ jsx140(
12606
+ return /* @__PURE__ */ jsx139(
12624
12607
  "div",
12625
12608
  {
12626
12609
  className: "absolute left-0 top-0 flex w-full items-center px-4 text-base leading-6 text-[#6C6C6C]",
@@ -12635,7 +12618,7 @@ function SearchableSelectContent({
12635
12618
  }
12636
12619
  const isSelected = value?.value === option.value;
12637
12620
  const isHighlighted = virtualItem.index === highlightedIndex;
12638
- return /* @__PURE__ */ jsx140(
12621
+ return /* @__PURE__ */ jsx139(
12639
12622
  "button",
12640
12623
  {
12641
12624
  id: getOptionId(idPrefix, virtualItem.index),
@@ -12657,7 +12640,7 @@ function SearchableSelectContent({
12657
12640
  height: `${virtualItem.size}px`,
12658
12641
  transform: `translateY(${virtualItem.start}px)`
12659
12642
  },
12660
- children: /* @__PURE__ */ jsx140("span", { className: "truncate text-center", children: String(option.label) })
12643
+ children: /* @__PURE__ */ jsx139("span", { className: "truncate text-center", children: String(option.label) })
12661
12644
  },
12662
12645
  `${String(option.value)}-${virtualItem.index}`
12663
12646
  );
@@ -12823,7 +12806,6 @@ export {
12823
12806
  ModalLoader,
12824
12807
  MultiSelect,
12825
12808
  OverlayLoader,
12826
- PageLoader,
12827
12809
  Pagination,
12828
12810
  PhoneField,
12829
12811
  Popover,