@chekinapp/ui 0.0.105 → 0.0.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +92 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +159 -133
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -12514,7 +12514,7 @@ var DashboardInput = React43.forwardRef(
|
|
|
12514
12514
|
"div",
|
|
12515
12515
|
{
|
|
12516
12516
|
className: cn(
|
|
12517
|
-
"relative block w-full
|
|
12517
|
+
"relative block w-full max-w-[var(--field-max-width,296px)] min-h-[68px]",
|
|
12518
12518
|
disabled && "cursor-not-allowed opacity-50",
|
|
12519
12519
|
loading && "cursor-progress opacity-50",
|
|
12520
12520
|
wrapperClassName,
|
|
@@ -12714,7 +12714,7 @@ function SelectFieldShell({
|
|
|
12714
12714
|
ref: containerRef,
|
|
12715
12715
|
onBlur,
|
|
12716
12716
|
className: cn(
|
|
12717
|
-
"relative w-full max-w-[var(--max-
|
|
12717
|
+
"relative w-full max-w-[var(--field-max-width,296px)]",
|
|
12718
12718
|
disabled && "cursor-not-allowed opacity-50",
|
|
12719
12719
|
loading && "cursor-progress",
|
|
12720
12720
|
className
|
|
@@ -12929,6 +12929,7 @@ function SelectMenuPanel({
|
|
|
12929
12929
|
}
|
|
12930
12930
|
|
|
12931
12931
|
// src/dashboard/_select-internals/SelectSearchInput.tsx
|
|
12932
|
+
var import_lucide_react43 = require("lucide-react");
|
|
12932
12933
|
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
12933
12934
|
function SelectSearchInput({
|
|
12934
12935
|
inputRef,
|
|
@@ -12939,25 +12940,34 @@ function SelectSearchInput({
|
|
|
12939
12940
|
onChange,
|
|
12940
12941
|
onKeyDown
|
|
12941
12942
|
}) {
|
|
12942
|
-
return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "border-b border-[#f2f4f8] px-4 pb-2 pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime149.
|
|
12943
|
-
|
|
12944
|
-
|
|
12945
|
-
|
|
12946
|
-
|
|
12947
|
-
|
|
12948
|
-
|
|
12949
|
-
|
|
12950
|
-
|
|
12951
|
-
|
|
12952
|
-
|
|
12953
|
-
|
|
12954
|
-
|
|
12955
|
-
|
|
12956
|
-
|
|
12943
|
+
return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "border-b border-[#f2f4f8] px-4 pb-2 pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { className: "relative", children: [
|
|
12944
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
12945
|
+
import_lucide_react43.Search,
|
|
12946
|
+
{
|
|
12947
|
+
"aria-hidden": "true",
|
|
12948
|
+
className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[var(--chekin-color-gray-2)]"
|
|
12949
|
+
}
|
|
12950
|
+
),
|
|
12951
|
+
/* @__PURE__ */ (0, import_jsx_runtime149.jsx)(
|
|
12952
|
+
"input",
|
|
12953
|
+
{
|
|
12954
|
+
ref: inputRef,
|
|
12955
|
+
type: "text",
|
|
12956
|
+
value,
|
|
12957
|
+
placeholder,
|
|
12958
|
+
onChange,
|
|
12959
|
+
onKeyDown,
|
|
12960
|
+
autoComplete: "off",
|
|
12961
|
+
"aria-controls": listboxId,
|
|
12962
|
+
"aria-activedescendant": activeOptionId,
|
|
12963
|
+
className: "m-0 box-border h-9 w-full rounded-md border border-[var(--chekin-color-gray-3)] bg-white px-9 text-[16px] font-medium text-[var(--chekin-color-brand-navy)] outline-none transition-colors placeholder:text-[var(--chekin-color-gray-1)] focus:border-[var(--chekin-color-brand-blue)]"
|
|
12964
|
+
}
|
|
12965
|
+
)
|
|
12966
|
+
] }) });
|
|
12957
12967
|
}
|
|
12958
12968
|
|
|
12959
12969
|
// src/dashboard/_select-internals/SelectTrigger.tsx
|
|
12960
|
-
var
|
|
12970
|
+
var import_lucide_react44 = require("lucide-react");
|
|
12961
12971
|
var import_jsx_runtime150 = require("react/jsx-runtime");
|
|
12962
12972
|
function SelectTrigger({
|
|
12963
12973
|
triggerRef,
|
|
@@ -13007,7 +13017,7 @@ function SelectTrigger({
|
|
|
13007
13017
|
/* @__PURE__ */ (0, import_jsx_runtime150.jsxs)("span", { className: "pointer-events-none flex items-center gap-2 text-[var(--chekin-color-gray-2)]", children: [
|
|
13008
13018
|
loading && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(ThreeDotsLoader, { height: 18, width: 18 }),
|
|
13009
13019
|
/* @__PURE__ */ (0, import_jsx_runtime150.jsx)(
|
|
13010
|
-
|
|
13020
|
+
import_lucide_react44.ChevronDown,
|
|
13011
13021
|
{
|
|
13012
13022
|
size: 16,
|
|
13013
13023
|
className: cn(
|
|
@@ -13344,11 +13354,11 @@ var DashboardSelect = React47.forwardRef(
|
|
|
13344
13354
|
|
|
13345
13355
|
// src/dashboard/multi-select/MultiSelect.tsx
|
|
13346
13356
|
var React48 = __toESM(require("react"), 1);
|
|
13347
|
-
var
|
|
13357
|
+
var import_lucide_react46 = require("lucide-react");
|
|
13348
13358
|
var import_react_i18next32 = require("react-i18next");
|
|
13349
13359
|
|
|
13350
13360
|
// src/dashboard/multi-select/MultiSelectChip.tsx
|
|
13351
|
-
var
|
|
13361
|
+
var import_lucide_react45 = require("lucide-react");
|
|
13352
13362
|
var import_react_i18next31 = require("react-i18next");
|
|
13353
13363
|
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
13354
13364
|
function MultiSelectChip({
|
|
@@ -13370,7 +13380,7 @@ function MultiSelectChip({
|
|
|
13370
13380
|
},
|
|
13371
13381
|
className: "flex h-[15px] w-[15px] items-center justify-center rounded-[3px] border-0 bg-transparent p-0 text-[#9696b9] hover:shadow-[0_3px_3px_#0f477734]",
|
|
13372
13382
|
"aria-label": t("remove_item", { label: labelText }),
|
|
13373
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(
|
|
13383
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(import_lucide_react45.SquareX, { size: 15, fill: "#9696b9", color: "#f8f8f8", strokeWidth: 1.8 })
|
|
13374
13384
|
}
|
|
13375
13385
|
)
|
|
13376
13386
|
] });
|
|
@@ -13624,6 +13634,13 @@ function DashboardMultiSelectInternal({
|
|
|
13624
13634
|
String(option.value)
|
|
13625
13635
|
)
|
|
13626
13636
|
),
|
|
13637
|
+
/* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
13638
|
+
import_lucide_react46.Search,
|
|
13639
|
+
{
|
|
13640
|
+
"aria-hidden": "true",
|
|
13641
|
+
className: "h-4 w-4 shrink-0 text-[var(--chekin-color-gray-2)]"
|
|
13642
|
+
}
|
|
13643
|
+
),
|
|
13627
13644
|
/* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
13628
13645
|
"input",
|
|
13629
13646
|
{
|
|
@@ -13665,7 +13682,7 @@ function DashboardMultiSelectInternal({
|
|
|
13665
13682
|
},
|
|
13666
13683
|
className: "flex h-5 w-5 items-center justify-center rounded-[3px] border-0 bg-transparent p-0 text-[#9696b9] hover:shadow-[0_3px_3px_#0f477734]",
|
|
13667
13684
|
"aria-label": t("clear_all"),
|
|
13668
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
13685
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime153.jsx)(import_lucide_react46.SquareX, { size: 15, fill: "#9696b9", color: "#f8f8f8", strokeWidth: 1.8 })
|
|
13669
13686
|
}
|
|
13670
13687
|
),
|
|
13671
13688
|
/* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
@@ -13712,21 +13729,30 @@ function DashboardMultiSelectInternal({
|
|
|
13712
13729
|
className: dropdownClassName,
|
|
13713
13730
|
drawerClassName,
|
|
13714
13731
|
children: [
|
|
13715
|
-
isMobile3 && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { className: "border-b border-[#f2f4f8] px-4 pb-2 pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime153.
|
|
13716
|
-
|
|
13717
|
-
|
|
13718
|
-
|
|
13719
|
-
|
|
13720
|
-
|
|
13721
|
-
|
|
13722
|
-
|
|
13723
|
-
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13728
|
-
|
|
13729
|
-
|
|
13732
|
+
isMobile3 && /* @__PURE__ */ (0, import_jsx_runtime153.jsx)("div", { className: "border-b border-[#f2f4f8] px-4 pb-2 pt-3", children: /* @__PURE__ */ (0, import_jsx_runtime153.jsxs)("div", { className: "relative", children: [
|
|
13733
|
+
/* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
13734
|
+
import_lucide_react46.Search,
|
|
13735
|
+
{
|
|
13736
|
+
"aria-hidden": "true",
|
|
13737
|
+
className: "pointer-events-none absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-[var(--chekin-color-gray-2)]"
|
|
13738
|
+
}
|
|
13739
|
+
),
|
|
13740
|
+
/* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
13741
|
+
"input",
|
|
13742
|
+
{
|
|
13743
|
+
ref: mobileSearchInputRef,
|
|
13744
|
+
type: "text",
|
|
13745
|
+
value: searchValue,
|
|
13746
|
+
placeholder: placeholder ?? "",
|
|
13747
|
+
onChange: (event) => setSearchValue(event.target.value),
|
|
13748
|
+
onKeyDown: handleInputKeyDown,
|
|
13749
|
+
autoComplete: "off",
|
|
13750
|
+
"aria-controls": listboxId,
|
|
13751
|
+
"aria-activedescendant": highlightedIndex >= 0 ? getOptionId2(highlightedIndex) : void 0,
|
|
13752
|
+
className: "m-0 box-border h-9 w-full rounded-md border border-[var(--chekin-color-gray-3)] bg-white px-9 text-[16px] font-medium text-[var(--chekin-color-brand-navy)] outline-none transition-colors placeholder:text-[var(--chekin-color-gray-1)] focus:border-[var(--chekin-color-brand-blue)]"
|
|
13753
|
+
}
|
|
13754
|
+
)
|
|
13755
|
+
] }) }),
|
|
13730
13756
|
/* @__PURE__ */ (0, import_jsx_runtime153.jsx)(
|
|
13731
13757
|
SelectMenu,
|
|
13732
13758
|
{
|
|
@@ -14227,7 +14253,7 @@ var DashboardTextarea = React51.forwardRef(
|
|
|
14227
14253
|
"div",
|
|
14228
14254
|
{
|
|
14229
14255
|
className: cn(
|
|
14230
|
-
"relative block min-h-[88px] w-full",
|
|
14256
|
+
"relative block min-h-[88px] w-full max-w-[var(--field-max-width,296px)]",
|
|
14231
14257
|
isBlocked && "cursor-not-allowed opacity-50",
|
|
14232
14258
|
loading && "cursor-progress opacity-50",
|
|
14233
14259
|
className
|
|
@@ -14291,7 +14317,7 @@ var DashboardTextarea = React51.forwardRef(
|
|
|
14291
14317
|
|
|
14292
14318
|
// src/dashboard/datepicker/Datepicker.tsx
|
|
14293
14319
|
var React53 = __toESM(require("react"), 1);
|
|
14294
|
-
var
|
|
14320
|
+
var import_lucide_react47 = require("lucide-react");
|
|
14295
14321
|
var import_react_i18next35 = require("react-i18next");
|
|
14296
14322
|
|
|
14297
14323
|
// src/airbnb-fields/datepicker/useDatePickerWheel.ts
|
|
@@ -15265,7 +15291,7 @@ var DashboardDatepicker = React53.forwardRef(
|
|
|
15265
15291
|
{
|
|
15266
15292
|
ref: containerRef,
|
|
15267
15293
|
className: cn(
|
|
15268
|
-
"relative w-full max-w-[var(--max-
|
|
15294
|
+
"relative w-full max-w-[var(--field-max-width,296px)]",
|
|
15269
15295
|
disabled && "cursor-not-allowed opacity-50",
|
|
15270
15296
|
loading && "cursor-progress",
|
|
15271
15297
|
className
|
|
@@ -15296,7 +15322,7 @@ var DashboardDatepicker = React53.forwardRef(
|
|
|
15296
15322
|
/* @__PURE__ */ (0, import_jsx_runtime160.jsxs)("span", { className: "pointer-events-none flex items-center gap-2 text-[var(--chekin-color-gray-2)]", children: [
|
|
15297
15323
|
loading && /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(ThreeDotsLoader, { height: 18, width: 18 }),
|
|
15298
15324
|
/* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
|
|
15299
|
-
|
|
15325
|
+
import_lucide_react47.ChevronDown,
|
|
15300
15326
|
{
|
|
15301
15327
|
size: 16,
|
|
15302
15328
|
className: cn(
|
|
@@ -15382,7 +15408,7 @@ var DashboardDatepicker = React53.forwardRef(
|
|
|
15382
15408
|
}
|
|
15383
15409
|
),
|
|
15384
15410
|
/* @__PURE__ */ (0, import_jsx_runtime160.jsx)(
|
|
15385
|
-
|
|
15411
|
+
import_lucide_react47.ChevronDown,
|
|
15386
15412
|
{
|
|
15387
15413
|
size: 14,
|
|
15388
15414
|
onMouseDown: (event) => {
|
|
@@ -15717,7 +15743,7 @@ function resolveRangeSelection({
|
|
|
15717
15743
|
}
|
|
15718
15744
|
|
|
15719
15745
|
// src/dashboard/date-range-picker/components/DateRangeInputs.tsx
|
|
15720
|
-
var
|
|
15746
|
+
var import_lucide_react48 = require("lucide-react");
|
|
15721
15747
|
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
15722
15748
|
var DEFAULT_PLACEHOLDER = "00-00-0000";
|
|
15723
15749
|
var inputBaseClass = "m-0 box-border h-full w-full min-w-0 border-0 bg-transparent text-[16px] font-medium leading-5 text-[var(--chekin-color-brand-navy)] outline-none placeholder:text-[var(--chekin-color-gray-1)]";
|
|
@@ -15838,7 +15864,7 @@ function DateRangeInputs({
|
|
|
15838
15864
|
onClick: onReset,
|
|
15839
15865
|
className: iconButtonClass,
|
|
15840
15866
|
"aria-label": clearLabel,
|
|
15841
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
15867
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_lucide_react48.SquareX, { size: 16, fill: "#9696b9", color: "#f8f8f8", strokeWidth: 1.8 })
|
|
15842
15868
|
}
|
|
15843
15869
|
),
|
|
15844
15870
|
!readOnly && !hideCalendarIcon && /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
@@ -15853,7 +15879,7 @@ function DateRangeInputs({
|
|
|
15853
15879
|
focusedInput !== null || isOpen ? "text-[var(--chekin-color-brand-blue)]" : "text-[var(--chekin-color-gray-2)]"
|
|
15854
15880
|
),
|
|
15855
15881
|
"aria-label": openCalendarLabel,
|
|
15856
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(
|
|
15882
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_lucide_react48.CalendarDays, { size: 18 })
|
|
15857
15883
|
}
|
|
15858
15884
|
)
|
|
15859
15885
|
] })
|
|
@@ -16116,7 +16142,7 @@ var DashboardDateRangePicker = React57.forwardRef(function DashboardDateRangePic
|
|
|
16116
16142
|
{
|
|
16117
16143
|
ref: containerRef,
|
|
16118
16144
|
className: cn(
|
|
16119
|
-
"relative w-full max-w-[var(--max-
|
|
16145
|
+
"relative w-full max-w-[var(--field-max-width,296px)]",
|
|
16120
16146
|
disabled && "cursor-not-allowed opacity-50",
|
|
16121
16147
|
loading && "cursor-progress",
|
|
16122
16148
|
className
|
|
@@ -16401,7 +16427,7 @@ var DashboardTimePicker = React59.forwardRef(
|
|
|
16401
16427
|
|
|
16402
16428
|
// src/dashboard/file-input/FileInput.tsx
|
|
16403
16429
|
var React60 = __toESM(require("react"), 1);
|
|
16404
|
-
var
|
|
16430
|
+
var import_lucide_react49 = require("lucide-react");
|
|
16405
16431
|
var import_react_i18next38 = require("react-i18next");
|
|
16406
16432
|
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
16407
16433
|
function defaultDownload(url) {
|
|
@@ -16466,7 +16492,7 @@ var DashboardFileInput = React60.forwardRef(
|
|
|
16466
16492
|
{
|
|
16467
16493
|
htmlFor: inputId,
|
|
16468
16494
|
className: cn(
|
|
16469
|
-
"relative block w-full max-w-[var(--max-
|
|
16495
|
+
"relative block w-full max-w-[var(--field-max-width,296px)] cursor-pointer text-left",
|
|
16470
16496
|
(disabled || readOnly) && "cursor-not-allowed",
|
|
16471
16497
|
loading && "cursor-progress",
|
|
16472
16498
|
disabled && "opacity-50",
|
|
@@ -16514,7 +16540,7 @@ var DashboardFileInput = React60.forwardRef(
|
|
|
16514
16540
|
className: "inline-flex items-center gap-[7px] truncate border-0 bg-transparent p-0 text-[14px] font-medium text-[var(--chekin-color-brand-navy)] outline-none",
|
|
16515
16541
|
children: [
|
|
16516
16542
|
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { className: "truncate", children: resolvedDownloadLabel }),
|
|
16517
|
-
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
16543
|
+
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_lucide_react49.Download, { size: 15 })
|
|
16518
16544
|
]
|
|
16519
16545
|
}
|
|
16520
16546
|
) : /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { className: "truncate text-[14px] font-medium text-[var(--chekin-color-brand-navy)]", children: value.name }),
|
|
@@ -16526,7 +16552,7 @@ var DashboardFileInput = React60.forwardRef(
|
|
|
16526
16552
|
onClick: handleClear,
|
|
16527
16553
|
className: "ml-2 flex h-[15px] w-[15px] items-center justify-center rounded-[3px] border-0 bg-transparent p-0 text-[#9696b9] outline-none hover:shadow-[0_3px_3px_#0f477734]",
|
|
16528
16554
|
"aria-label": t("remove_file"),
|
|
16529
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
16555
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_lucide_react49.SquareX, { size: 15, fill: "#9696b9", color: "#f8f8f8", strokeWidth: 1.8 })
|
|
16530
16556
|
}
|
|
16531
16557
|
)
|
|
16532
16558
|
]
|
|
@@ -16534,7 +16560,7 @@ var DashboardFileInput = React60.forwardRef(
|
|
|
16534
16560
|
) : /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { className: "block min-w-0 flex-1 truncate text-left text-[var(--chekin-color-gray-1)]", children: placeholder ?? "" }),
|
|
16535
16561
|
/* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("span", { className: "ml-auto flex items-center gap-2 text-[var(--chekin-color-gray-2)]", children: [
|
|
16536
16562
|
loading && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(ThreeDotsLoader, { height: 18, width: 18 }),
|
|
16537
|
-
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
16563
|
+
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_lucide_react49.Paperclip, { size: 20 })
|
|
16538
16564
|
] })
|
|
16539
16565
|
]
|
|
16540
16566
|
}
|
|
@@ -16775,11 +16801,11 @@ LegacyTextarea.displayName = "LegacyTextarea";
|
|
|
16775
16801
|
|
|
16776
16802
|
// src/airbnb-fields/datepicker/DatePicker.tsx
|
|
16777
16803
|
var React63 = __toESM(require("react"), 1);
|
|
16778
|
-
var
|
|
16804
|
+
var import_lucide_react51 = require("lucide-react");
|
|
16779
16805
|
|
|
16780
16806
|
// src/airbnb-fields/field-trigger/FieldTrigger.tsx
|
|
16781
16807
|
var React62 = __toESM(require("react"), 1);
|
|
16782
|
-
var
|
|
16808
|
+
var import_lucide_react50 = require("lucide-react");
|
|
16783
16809
|
var import_react_i18next39 = require("react-i18next");
|
|
16784
16810
|
var import_jsx_runtime170 = require("react/jsx-runtime");
|
|
16785
16811
|
var AirbnbFieldTrigger = React62.forwardRef(
|
|
@@ -16845,7 +16871,7 @@ var AirbnbFieldTrigger = React62.forwardRef(
|
|
|
16845
16871
|
const resolvedTrailingAdornment = loading || trailingAdornment ? /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("span", { className: "flex items-center gap-2", children: [
|
|
16846
16872
|
trailingAdornment,
|
|
16847
16873
|
loading && /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
|
|
16848
|
-
|
|
16874
|
+
import_lucide_react50.Loader2,
|
|
16849
16875
|
{
|
|
16850
16876
|
"aria-hidden": "true",
|
|
16851
16877
|
className: "h-5 w-5 animate-spin text-[var(--chekin-color-gray-1)]"
|
|
@@ -17106,7 +17132,7 @@ var AirbnbDatePicker = React63.forwardRef(
|
|
|
17106
17132
|
onClick: handleTriggerClick,
|
|
17107
17133
|
onKeyDown: handleTriggerKeyDown,
|
|
17108
17134
|
onBlur,
|
|
17109
|
-
trailingAdornment: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
|
|
17135
|
+
trailingAdornment: /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_lucide_react51.Calendar, { className: "h-5 w-5 text-[#1F1F1B]", strokeWidth: 2 })
|
|
17110
17136
|
}
|
|
17111
17137
|
),
|
|
17112
17138
|
/* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
|
|
@@ -17296,7 +17322,7 @@ AirbnbInput.displayName = "AirbnbInput";
|
|
|
17296
17322
|
|
|
17297
17323
|
// src/airbnb-fields/phone-field/PhoneField.tsx
|
|
17298
17324
|
var React70 = __toESM(require("react"), 1);
|
|
17299
|
-
var
|
|
17325
|
+
var import_lucide_react53 = require("lucide-react");
|
|
17300
17326
|
|
|
17301
17327
|
// src/airbnb-fields/select/Select.tsx
|
|
17302
17328
|
var React69 = __toESM(require("react"), 1);
|
|
@@ -17645,7 +17671,7 @@ function AirbnbSelectMobileContent({
|
|
|
17645
17671
|
|
|
17646
17672
|
// src/airbnb-fields/select/SelectTrigger.tsx
|
|
17647
17673
|
var React65 = __toESM(require("react"), 1);
|
|
17648
|
-
var
|
|
17674
|
+
var import_lucide_react52 = require("lucide-react");
|
|
17649
17675
|
var import_jsx_runtime177 = require("react/jsx-runtime");
|
|
17650
17676
|
var AirbnbSelectTrigger = React65.forwardRef(
|
|
17651
17677
|
({
|
|
@@ -17702,7 +17728,7 @@ var AirbnbSelectTrigger = React65.forwardRef(
|
|
|
17702
17728
|
onKeyDown,
|
|
17703
17729
|
onBlur,
|
|
17704
17730
|
trailingAdornment: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(
|
|
17705
|
-
|
|
17731
|
+
import_lucide_react52.ChevronDown,
|
|
17706
17732
|
{
|
|
17707
17733
|
className: open ? "h-6 w-6 rotate-180 text-[#1F1F1B] transition-transform" : "h-6 w-6 text-[#1F1F1B] transition-transform"
|
|
17708
17734
|
}
|
|
@@ -18489,7 +18515,7 @@ var AirbnbPhoneField = React70.forwardRef(
|
|
|
18489
18515
|
children: [
|
|
18490
18516
|
/* @__PURE__ */ (0, import_jsx_runtime179.jsx)("span", { children: valueLabel ?? codePlaceholder }),
|
|
18491
18517
|
/* @__PURE__ */ (0, import_jsx_runtime179.jsx)(
|
|
18492
|
-
|
|
18518
|
+
import_lucide_react53.ChevronDown,
|
|
18493
18519
|
{
|
|
18494
18520
|
className: cn("h-5 w-5 transition-transform", open ? "rotate-180" : ""),
|
|
18495
18521
|
strokeWidth: 2
|
|
@@ -18540,7 +18566,7 @@ AirbnbPhoneField.displayName = "AirbnbPhoneField";
|
|
|
18540
18566
|
|
|
18541
18567
|
// src/airbnb-fields/searchable-select/SearchableSelect.tsx
|
|
18542
18568
|
var React71 = __toESM(require("react"), 1);
|
|
18543
|
-
var
|
|
18569
|
+
var import_lucide_react54 = require("lucide-react");
|
|
18544
18570
|
var import_react_virtual3 = require("@tanstack/react-virtual");
|
|
18545
18571
|
var import_react90 = require("react");
|
|
18546
18572
|
var import_jsx_runtime180 = require("react/jsx-runtime");
|
|
@@ -18778,7 +18804,7 @@ var AirbnbSearchableSelectInternal = ({
|
|
|
18778
18804
|
onKeyDown: handleTriggerKeyDown,
|
|
18779
18805
|
onBlur,
|
|
18780
18806
|
trailingAdornment: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
|
|
18781
|
-
|
|
18807
|
+
import_lucide_react54.ChevronDown,
|
|
18782
18808
|
{
|
|
18783
18809
|
className: cn(
|
|
18784
18810
|
"h-6 w-6 text-[#1F1F1B] transition-transform",
|
|
@@ -18876,7 +18902,7 @@ function AirbnbSearchableSelectContent({
|
|
|
18876
18902
|
return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { className: "p-2", children: [
|
|
18877
18903
|
/* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { className: "relative mb-2", children: [
|
|
18878
18904
|
/* @__PURE__ */ (0, import_jsx_runtime180.jsx)(
|
|
18879
|
-
|
|
18905
|
+
import_lucide_react54.Search,
|
|
18880
18906
|
{
|
|
18881
18907
|
"aria-hidden": "true",
|
|
18882
18908
|
className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 text-[#9696B9]"
|
|
@@ -18986,13 +19012,13 @@ function getNextEnabledIndex(options, startIndex, step) {
|
|
|
18986
19012
|
// src/airbnb-fields/search-input/SearchInput.tsx
|
|
18987
19013
|
var React72 = __toESM(require("react"), 1);
|
|
18988
19014
|
var import_react_i18next40 = require("react-i18next");
|
|
18989
|
-
var
|
|
19015
|
+
var import_lucide_react55 = require("lucide-react");
|
|
18990
19016
|
var import_jsx_runtime181 = require("react/jsx-runtime");
|
|
18991
19017
|
var AirbnbSearchInput = React72.forwardRef(({ onReset, placeholder, wrapperClassName, ...props }, ref) => {
|
|
18992
19018
|
const { t } = (0, import_react_i18next40.useTranslation)();
|
|
18993
19019
|
const placeholderText = placeholder || t("search_property") + "...";
|
|
18994
19020
|
return /* @__PURE__ */ (0, import_jsx_runtime181.jsxs)("div", { className: cn("input-wrapper relative", wrapperClassName), children: [
|
|
18995
|
-
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
|
|
19021
|
+
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(import_lucide_react55.Search, { className: "absolute left-4 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]" }),
|
|
18996
19022
|
/* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
|
|
18997
19023
|
"input",
|
|
18998
19024
|
{
|
|
@@ -19018,7 +19044,7 @@ var AirbnbSearchInput = React72.forwardRef(({ onReset, placeholder, wrapperClass
|
|
|
19018
19044
|
variant: "ghost",
|
|
19019
19045
|
onClick: onReset,
|
|
19020
19046
|
className: "absolute right-0 top-1/2 h-5 w-5 -translate-y-1/2 transform text-[#9696B9]",
|
|
19021
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(
|
|
19047
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime181.jsx)(import_lucide_react55.X, { className: "h-5 w-5" })
|
|
19022
19048
|
}
|
|
19023
19049
|
)
|
|
19024
19050
|
] });
|