@qtalo/qt-ui-library 0.1.2 → 0.1.3

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
@@ -254,19 +254,20 @@ function Input({ type: r = "text", value: M, defaultValue: N, disabled: P = !1,
254
254
  className: cn("bg-transparent outline-none", P && "pointer-events-none", R)
255
255
  });
256
256
  }
257
- function Pressable({ as: r = "div", disabled: M = !1, onPress: N, className: P, children: F }) {
258
- let I = useCallback(() => {
257
+ function Pressable({ as: r, disabled: M = !1, onPress: N, className: P, children: F, ...I }) {
258
+ let L = r || "div", z = useCallback(() => {
259
259
  M || N?.();
260
- }, [M, N]), L = useCallback((r) => {
260
+ }, [M, N]), B = useCallback((r) => {
261
261
  M || (r.key === "Enter" || r.key === " ") && (r.preventDefault(), N?.());
262
262
  }, [M, N]);
263
- return /* @__PURE__ */ jsx(r, {
263
+ return /* @__PURE__ */ jsx(L, {
264
264
  role: "button",
265
265
  tabIndex: M ? -1 : 0,
266
266
  "aria-disabled": M || void 0,
267
- onClick: I,
268
- onKeyDown: L,
267
+ onClick: z,
268
+ onKeyDown: B,
269
269
  className: cn("select-none", !M && "cursor-pointer", M && "pointer-events-none opacity-50", P),
270
+ ...I,
270
271
  children: F
271
272
  });
272
273
  }
@@ -451,6 +452,7 @@ function AccordionTrigger({ value: r, children: M, className: N, asChild: P = !1
451
452
  "aria-expanded": V,
452
453
  "data-state": V ? "open" : "closed"
453
454
  }) : /* @__PURE__ */ jsx(Pressable, {
455
+ as: Button,
454
456
  type: "button",
455
457
  className: N,
456
458
  onPress: () => H(void 0),
@@ -1521,7 +1523,7 @@ function Card({ as: r, children: M, className: N, ...P }) {
1521
1523
  }
1522
1524
  function CardLayout({ children: r, className: M }) {
1523
1525
  return /* @__PURE__ */ jsx("div", {
1524
- className: cn("grid grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]", M),
1526
+ className: cn("grid h-full grid-cols-[auto_1fr] grid-rows-[auto_auto_1fr_auto]", M),
1525
1527
  children: r
1526
1528
  });
1527
1529
  }
@@ -1825,23 +1827,20 @@ function BulkActions({ totalItems: r = 0, selectedItems: M = 0, onSelectAll: N,
1825
1827
  return /* @__PURE__ */ jsxs("div", {
1826
1828
  className: cn("grid grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-4", L),
1827
1829
  children: [
1828
- /* @__PURE__ */ jsx("div", {
1829
- className: "contents",
1830
- children: /* @__PURE__ */ jsx(Checkbox, {
1831
- checked: z,
1832
- indeterminate: B,
1833
- onChange: q,
1834
- icon: /* @__PURE__ */ jsx(CheckboxIcon, {
1835
- size: 16,
1836
- className: "text-white-variant-7"
1837
- }),
1838
- indeterminateIcon: /* @__PURE__ */ jsx(MinusIcon, {
1839
- size: 12,
1840
- className: "text-neutral-900"
1841
- }),
1842
- className: cn("[&_.checkbox-box]:rounded", "[&_.checkbox-box]:border", "[&_.checkbox-box]:border-neutral-600", "[&_.checkbox-box]:bg-white", "[&_.checkbox-box[data-state=checked]]:border-primary-500", "[&_.checkbox-box[data-state=checked]]:bg-primary-500", "[&_.checkbox-box[data-state=indeterminate]]:h-[18px]", "[&_.checkbox-box[data-state=indeterminate]]:w-[18px]", "[&_.checkbox-label]:flex", "[&_.checkbox-label]:items-center", "[&_.checkbox-label]:gap-1", "[&_.checkbox-label]:text-xs", "[&_.checkbox-label]:font-medium", "[&_.checkbox-label]:text-neutral-900"),
1843
- children: V
1844
- })
1830
+ /* @__PURE__ */ jsx(Checkbox, {
1831
+ checked: z,
1832
+ indeterminate: B,
1833
+ onChange: q,
1834
+ icon: /* @__PURE__ */ jsx(CheckboxIcon, {
1835
+ size: 16,
1836
+ className: "text-white-variant-7"
1837
+ }),
1838
+ indeterminateIcon: /* @__PURE__ */ jsx(MinusIcon, {
1839
+ size: 12,
1840
+ className: "text-neutral-900"
1841
+ }),
1842
+ className: cn("[&_.checkbox-box]:rounded", "[&_.checkbox-box]:border", "[&_.checkbox-box]:border-neutral-600", "[&_.checkbox-box]:bg-white", "[&_.checkbox-box[data-state=checked]]:border-primary-500", "[&_.checkbox-box[data-state=checked]]:bg-primary-500", "[&_.checkbox-box[data-state=indeterminate]]:h-[18px]", "[&_.checkbox-box[data-state=indeterminate]]:w-[18px]", "[&_.checkbox-label]:flex", "[&_.checkbox-label]:items-center", "[&_.checkbox-label]:gap-1", "[&_.checkbox-label]:text-xs", "[&_.checkbox-label]:font-medium", "[&_.checkbox-label]:text-neutral-900"),
1843
+ children: V
1845
1844
  }),
1846
1845
  /* @__PURE__ */ jsx("div", {
1847
1846
  className: "flex items-center divide-x divide-neutral-400-variant-1",
@@ -1876,6 +1875,25 @@ function BulkActions({ totalItems: r = 0, selectedItems: M = 0, onSelectAll: N,
1876
1875
  ]
1877
1876
  });
1878
1877
  }
1878
+ function Skeleton({ className: r }) {
1879
+ return /* @__PURE__ */ jsx("div", { className: cn("skeleton rounded-md", r) });
1880
+ }
1881
+ function BulkActionsSkeleton({ className: r }) {
1882
+ return /* @__PURE__ */ jsxs("div", {
1883
+ className: cn("grid grid-cols-[minmax(0,1fr)_auto_auto] items-center gap-4", r),
1884
+ children: [
1885
+ /* @__PURE__ */ jsxs("div", {
1886
+ className: "flex items-center gap-2",
1887
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-5 rounded" }), /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-30" })]
1888
+ }),
1889
+ /* @__PURE__ */ jsx("div", { className: "flex items-center divide-x divide-neutral-400-variant-1" }),
1890
+ /* @__PURE__ */ jsxs("div", {
1891
+ className: "flex items-center gap-2",
1892
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "m-1 h-5 w-5 rounded" }), /* @__PURE__ */ jsx(Skeleton, { className: "m-1 h-5 w-5 rounded" })]
1893
+ })
1894
+ ]
1895
+ });
1896
+ }
1879
1897
  var filterButtonStyles = tv({
1880
1898
  slots: {
1881
1899
  root: "inline-flex w-fit items-center gap-1 rounded-full border px-2 py-1 transition-colors",
@@ -2027,6 +2045,9 @@ function IconCountButton({ icon: r, label: M, count: N, variant: P = "primary",
2027
2045
  orientation: I,
2028
2046
  status: L
2029
2047
  });
2048
+ function H(r, M = 99) {
2049
+ return r > M ? `${M}+` : String(r);
2050
+ }
2030
2051
  return /* @__PURE__ */ jsxs(Button, {
2031
2052
  ...B,
2032
2053
  className: cn(V.root(), z?.root),
@@ -2043,13 +2064,23 @@ function IconCountButton({ icon: r, label: M, count: N, variant: P = "primary",
2043
2064
  className: cn(V.count(), z?.count),
2044
2065
  children: [
2045
2066
  "(",
2046
- N,
2067
+ H(N),
2047
2068
  ")"
2048
2069
  ]
2049
2070
  })]
2050
2071
  })]
2051
2072
  });
2052
2073
  }
2074
+ function IconCountButtonSkeleton({ orientation: r = "vertical", className: M }) {
2075
+ let N = r === "vertical";
2076
+ return /* @__PURE__ */ jsxs("div", {
2077
+ className: cn("flex w-fit items-center", N ? "flex-col gap-1" : "flex-row gap-2", M),
2078
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "size-8 rounded-full" }), /* @__PURE__ */ jsx("div", {
2079
+ className: cn("flex items-center gap-1", N && "text-[9px]"),
2080
+ children: /* @__PURE__ */ jsx(Skeleton, { className: cn("h-3", N ? "w-10" : "w-14") })
2081
+ })]
2082
+ });
2083
+ }
2053
2084
  function ActionMenuItem({ icon: r, label: M, className: N, selected: P, ...I }) {
2054
2085
  return /* @__PURE__ */ jsxs(Button, {
2055
2086
  className: cn("flex items-center justify-start gap-2 bg-white px-3 py-2 hover:bg-neutral-100", P && "bg-primary-500 text-white hover:bg-primary-bright", N),
@@ -2289,7 +2320,19 @@ function DatePicker({ mode: r = "single", value: M, defaultValue: N, onChange: P
2289
2320
  function FilterBar({ children: r, className: M }) {
2290
2321
  return /* @__PURE__ */ jsx("div", {
2291
2322
  className: cn("flex flex-wrap items-center gap-2", M),
2292
- children: r.map((r) => cloneElement(r, {}))
2323
+ children: r.map((r, M) => cloneElement(r, { key: M }))
2324
+ });
2325
+ }
2326
+ function FilterBarSkeleton({ itemCount: r = 3, className: M }) {
2327
+ return /* @__PURE__ */ jsx("div", {
2328
+ className: cn("flex flex-wrap items-center gap-2", M),
2329
+ children: Array.from({ length: r }).map((r, M) => /* @__PURE__ */ jsx(FilterChipSkeleton, {}, M))
2330
+ });
2331
+ }
2332
+ function FilterChipSkeleton() {
2333
+ return /* @__PURE__ */ jsxs("div", {
2334
+ className: "flex items-center gap-1 rounded-full border border-neutral-300 bg-white px-2 py-1",
2335
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "m-0.5 size-4 rounded-full" }), /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-15" })]
2293
2336
  });
2294
2337
  }
2295
2338
  var dividerStyles = tv({
@@ -2365,9 +2408,35 @@ function IntegrationBar({ orientation: r = "vertical", children: M, onAddMore: N
2365
2408
  })
2366
2409
  });
2367
2410
  }
2411
+ function IntegrationBarSkeleton({ orientation: r = "vertical", itemCount: M = 3, className: N }) {
2412
+ let P = r === "vertical", F = cn("size-full", P ? "overflow-x-hidden" : "overflow-y-hidden"), I = cn("grid h-full w-full place-items-center gap-4", P ? "grid-cols-1" : "auto-cols-max grid-flow-col", N), L = cn("flex w-fit items-center", P ? "flex-col gap-1" : "flex-row gap-2"), R = cn("h-3", P ? "w-12 text-[9px]" : "w-16 text-xs"), z = cn("h-3", P ? "w-8 text-[9px]" : "w-10 text-xs");
2413
+ return /* @__PURE__ */ jsx("div", {
2414
+ className: F,
2415
+ children: /* @__PURE__ */ jsxs("div", {
2416
+ className: I,
2417
+ children: [
2418
+ Array.from({ length: M }).map((r, M) => /* @__PURE__ */ jsxs("div", {
2419
+ className: L,
2420
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "size-8 rounded-full" }), /* @__PURE__ */ jsx(Skeleton, { className: R })]
2421
+ }, M)),
2422
+ /* @__PURE__ */ jsx(Divider, { orientation: P ? "horizontal" : "vertical" }),
2423
+ /* @__PURE__ */ jsxs("div", {
2424
+ className: L,
2425
+ children: [/* @__PURE__ */ jsx(Skeleton, { className: "size-8 rounded-full" }), /* @__PURE__ */ jsx(Skeleton, { className: z })]
2426
+ })
2427
+ ]
2428
+ })
2429
+ });
2430
+ }
2368
2431
  const PREVIEW_CARD_HEIGHT_SIZE = {
2369
- normal: 165,
2370
- compact: 60
2432
+ normal: {
2433
+ style: "h-[165px]",
2434
+ value: 165
2435
+ },
2436
+ compact: {
2437
+ style: "h-[60px]",
2438
+ value: 60
2439
+ }
2371
2440
  };
2372
2441
  var PREVIEW_ACTION_CONFIG = {
2373
2442
  fire: {
@@ -2409,23 +2478,23 @@ function PreviewCheckbox({ checked: r, onCheckedChange: M }) {
2409
2478
  className: cn("[&_.checkbox-box]:rounded", "[&_.checkbox-box]:border", "[&_.checkbox-box]:border-neutral-600", "[&_.checkbox-box]:bg-white", "[&_.checkbox-box[data-state=checked]]:border-primary-500", "[&_.checkbox-box[data-state=checked]]:bg-primary-500", "[&_.checkbox-box[data-state=indeterminate]]:h-[18px]", "[&_.checkbox-box[data-state=indeterminate]]:w-[18px]", "[&_.checkbox-label]:flex", "[&_.checkbox-label]:items-center", "[&_.checkbox-label]:gap-1", "[&_.checkbox-label]:text-xs", "[&_.checkbox-label]:font-medium", "[&_.checkbox-label]:text-neutral-900")
2410
2479
  }) });
2411
2480
  }
2412
- function PreviewStatusesList({ statuses: r, density: M }) {
2413
- return /* @__PURE__ */ jsx("div", {
2481
+ function PreviewStatusesList({ statusBadges: r, density: M }) {
2482
+ return Object.keys(r).length === 0 ? null : /* @__PURE__ */ jsx("div", {
2414
2483
  className: "flex gap-2",
2415
2484
  children: /* @__PURE__ */ jsx(StopPropagation, { children: Object.keys(r).map((N) => {
2416
2485
  let P = r[N];
2417
2486
  return P ? /* @__PURE__ */ jsx(StatusBadge, {
2418
2487
  status: N,
2419
2488
  label: P.label,
2420
- onAction: P.onAction,
2489
+ onAction: P.onClick,
2421
2490
  density: M
2422
2491
  }, N) : null;
2423
2492
  }) })
2424
2493
  });
2425
2494
  }
2426
- function PreviewActionsList({ actions: r }) {
2427
- return /* @__PURE__ */ jsx("div", {
2428
- className: "flex gap-2",
2495
+ function PreviewActionsList({ actions: r, className: M }) {
2496
+ return Object.keys(r).length === 0 ? null : /* @__PURE__ */ jsx("div", {
2497
+ className: cn("flex gap-2", M),
2429
2498
  children: /* @__PURE__ */ jsx(StopPropagation, { children: Object.keys(r).map((M) => {
2430
2499
  let N = r[M];
2431
2500
  return N ? /* @__PURE__ */ jsx(IconButton, {
@@ -2435,11 +2504,12 @@ function PreviewActionsList({ actions: r }) {
2435
2504
  }) })
2436
2505
  });
2437
2506
  }
2438
- function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, workspace: I, read: L = !1, selected: R = !1, onSelect: z, checked: B = !1, onCheckedChange: V, statuses: H = {}, actions: U = {}, density: W = "normal" }) {
2507
+ function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, workspace: I, read: L = !1, selected: R = !1, onSelect: z, checked: B = !1, onCheckedChange: V, statusBadges: H = {}, actions: U = {}, density: W = "normal", className: G, style: q }) {
2439
2508
  return /* @__PURE__ */ jsx(Card, {
2440
2509
  as: Pressable,
2441
2510
  onPress: z,
2442
- className: cn("w-full rounded-lg border-[1.5px] border-primary-400 bg-white-variant-5 p-4 hover:bg-primary-light", L && "border-neutral-400", R && "border-primary-500 bg-primary-light", W === "normal" ? `h-[${PREVIEW_CARD_HEIGHT_SIZE.normal}px]` : `h-[${PREVIEW_CARD_HEIGHT_SIZE.compact}px]`),
2511
+ className: cn("w-full rounded-lg border-[1.5px] border-primary-400 bg-white-variant-5 p-4 hover:bg-primary-light", L && "border-neutral-400", R && "border-primary-500 bg-primary-light", W === "normal" ? `${PREVIEW_CARD_HEIGHT_SIZE.normal.style}` : `${PREVIEW_CARD_HEIGHT_SIZE.compact.style}`, G),
2512
+ style: q,
2443
2513
  children: W === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
2444
2514
  className: "gap-x-2 gap-y-1",
2445
2515
  children: [
@@ -2466,7 +2536,7 @@ function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, w
2466
2536
  ]
2467
2537
  }),
2468
2538
  /* @__PURE__ */ jsx(CardTitle, {
2469
- className: cn("text-sm font-bold text-neutral-900", L && "font-medium"),
2539
+ className: cn("line-clamp-1 text-sm font-bold text-neutral-900", L && "font-medium"),
2470
2540
  children: N
2471
2541
  }),
2472
2542
  /* @__PURE__ */ jsx(CardContent, {
@@ -2475,7 +2545,10 @@ function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, w
2475
2545
  }),
2476
2546
  /* @__PURE__ */ jsxs(CardFooter, {
2477
2547
  className: "mt-3 grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1",
2478
- children: [/* @__PURE__ */ jsx(PreviewStatusesList, { statuses: H }), /* @__PURE__ */ jsx(PreviewActionsList, { actions: U })]
2548
+ children: [/* @__PURE__ */ jsx(PreviewStatusesList, { statusBadges: H }), /* @__PURE__ */ jsx(PreviewActionsList, {
2549
+ actions: U,
2550
+ className: "col-start-2 justify-self-end"
2551
+ })]
2479
2552
  })
2480
2553
  ]
2481
2554
  }) : /* @__PURE__ */ jsxs(CardLayout, {
@@ -2487,17 +2560,20 @@ function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, w
2487
2560
  onCheckedChange: V
2488
2561
  })
2489
2562
  }), /* @__PURE__ */ jsxs(CardHeader, {
2490
- className: "grid grid-cols-[auto_auto_minmax(0,1fr)_auto_auto_auto] items-center gap-2",
2563
+ className: "flex min-w-0 items-center gap-2",
2491
2564
  children: [
2492
2565
  r,
2493
2566
  /* @__PURE__ */ jsx(PreviewStatusesList, {
2494
- statuses: H,
2567
+ statusBadges: H,
2495
2568
  density: W
2496
2569
  }),
2497
2570
  /* @__PURE__ */ jsxs("div", {
2498
2571
  className: cn("flex min-w-0 items-center gap-2 text-sm font-bold whitespace-nowrap text-neutral-900", L && "font-medium"),
2499
2572
  children: [
2500
- M,
2573
+ /* @__PURE__ */ jsx("span", {
2574
+ className: "truncate",
2575
+ children: M
2576
+ }),
2501
2577
  /* @__PURE__ */ jsx("span", {
2502
2578
  className: "shrink-0 text-sm text-neutral-500",
2503
2579
  children: "•"
@@ -2508,6 +2584,7 @@ function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, w
2508
2584
  })
2509
2585
  ]
2510
2586
  }),
2587
+ /* @__PURE__ */ jsx("div", { className: "flex-1" }),
2511
2588
  /* @__PURE__ */ jsx(PreviewActionsList, { actions: U }),
2512
2589
  /* @__PURE__ */ jsx("span", {
2513
2590
  className: "text-xs leading-tight font-semibold tracking-wide whitespace-nowrap text-neutral-800",
@@ -2522,6 +2599,64 @@ function PreviewCard({ icon: r, sender: M, title: N, content: P, timestamp: F, w
2522
2599
  })
2523
2600
  });
2524
2601
  }
2602
+ function PreviewCardSkeleton({ density: r = "normal", className: M, style: N }) {
2603
+ return /* @__PURE__ */ jsx(Card, {
2604
+ className: cn("w-full rounded-lg bg-white-variant-5 p-4", r === "normal" ? `${PREVIEW_CARD_HEIGHT_SIZE.normal.style}` : `${PREVIEW_CARD_HEIGHT_SIZE.compact.style}`, M),
2605
+ style: N,
2606
+ children: r === "normal" ? /* @__PURE__ */ jsxs(CardLayout, {
2607
+ className: "gap-x-2 gap-y-1",
2608
+ children: [
2609
+ /* @__PURE__ */ jsx(CardSidebar, { children: /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-5" }) }),
2610
+ /* @__PURE__ */ jsxs(CardHeader, {
2611
+ className: "grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center gap-2",
2612
+ children: [
2613
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-4" }),
2614
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-24" }),
2615
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-12" }),
2616
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-5 rounded-full" })
2617
+ ]
2618
+ }),
2619
+ /* @__PURE__ */ jsx(CardTitle, {
2620
+ className: "flex h-5 items-center",
2621
+ children: /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-48" })
2622
+ }),
2623
+ /* @__PURE__ */ jsxs(CardContent, { children: [/* @__PURE__ */ jsx(Skeleton, { className: "my-1 h-4 w-full" }), /* @__PURE__ */ jsx(Skeleton, { className: "my-1 h-4 w-3/4" })] }),
2624
+ /* @__PURE__ */ jsxs(CardFooter, {
2625
+ className: "mt-3 grid grid-cols-[minmax(0,1fr)_auto] items-center gap-1",
2626
+ children: [/* @__PURE__ */ jsx("div", {
2627
+ className: "flex gap-2",
2628
+ children: /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-23 rounded-full" })
2629
+ }), /* @__PURE__ */ jsxs("div", {
2630
+ className: "flex gap-2",
2631
+ children: [
2632
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-6 rounded-full" }),
2633
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-6 rounded-full" }),
2634
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-6 rounded-full" })
2635
+ ]
2636
+ })]
2637
+ })
2638
+ ]
2639
+ }) : /* @__PURE__ */ jsxs(CardLayout, {
2640
+ className: "grid grid-cols-[auto_1fr] grid-rows-1 gap-x-2",
2641
+ children: [/* @__PURE__ */ jsx(CardSidebar, {
2642
+ className: "flex items-center justify-center",
2643
+ children: /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-5" })
2644
+ }), /* @__PURE__ */ jsxs(CardHeader, {
2645
+ className: "flex min-w-0 items-center gap-2",
2646
+ children: [
2647
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-4" }),
2648
+ /* @__PURE__ */ jsx("div", {
2649
+ className: "flex min-w-0 items-center gap-2",
2650
+ children: /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-32" })
2651
+ }),
2652
+ /* @__PURE__ */ jsx("div", { className: "flex-1" }),
2653
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-12" }),
2654
+ /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-5 rounded-full" })
2655
+ ]
2656
+ })]
2657
+ })
2658
+ });
2659
+ }
2525
2660
  function SearchInput({ value: r, defaultValue: M, placeholder: N = "Search...", onChange: P, onClear: F, disabled: I = !1, className: L }) {
2526
2661
  let [R, z] = useState(M ?? ""), B = typeof r == "string", V = B ? r : R, H = V.length > 0;
2527
2662
  function U(r) {
@@ -2559,6 +2694,6 @@ function SearchInput({ value: r, defaultValue: M, placeholder: N = "Search...",
2559
2694
  ]
2560
2695
  });
2561
2696
  }
2562
- export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, ActionMenu, ActionMenuItem, AddIcon, AirtableIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, ExternalLinkIcon, FilterBar, FilterButton, FireIcon, GmailIcon, GoogleCalendarIcon, Icon, IconButton, IconCountButton, InfoTooltip, Input, InsightIcon, IntegrationBar, JiraIcon, LightIcon, LogoIcon, MinusIcon, MoreIcon, NormalDensityIcon, NotFireIcon, OutlookCalendarIcon, OutlookIcon, PREVIEW_CARD_HEIGHT_SIZE, Pressable, PreviewCard, ReadIcon, SearchIcon, SearchInput, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
2697
+ export { AVATAR_COLOR, AVATAR_COLOR_KEYS, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AccountIcon, ActionMenu, ActionMenuItem, AddIcon, AirtableIcon, ArrowIcon, AsanaIcon, Avatar, Badge, BulkActions, BulkActionsSkeleton, Button, CalendarIcon, Card, CardContent, CardFooter, CardHeader, CardLayout, CardSidebar, CardTitle, CheckCircleEmptyIcon, CheckCircleIcon, Checkbox, CheckboxIcon, ClickUpIcon, CloseIcon, CompactDensityIcon, CopyIcon, DarkIcon, DatePicker, Divider, Dropdown, DropdownContext, DropdownMenu, DropdownMenuItem, ExternalLinkIcon, FilterBar, FilterBarSkeleton, FilterButton, FireIcon, GmailIcon, GoogleCalendarIcon, Icon, IconButton, IconCountButton, IconCountButtonSkeleton, InfoTooltip, Input, InsightIcon, IntegrationBar, IntegrationBarSkeleton, JiraIcon, LightIcon, LogoIcon, MinusIcon, MoreIcon, NormalDensityIcon, NotFireIcon, OutlookCalendarIcon, OutlookIcon, PREVIEW_CARD_HEIGHT_SIZE, Pressable, PreviewCard, PreviewCardSkeleton, ReadIcon, SearchIcon, SearchInput, SlackIcon, StatusBadge, StopPropagation, SummaryIcon, SystemIcon, TeamsIcon, Toaster, Tooltip, UnreadIcon, capitalize, cn, colors, formatDate, formatDateRange, generateCalendarDays, getDaysInMonth, getFirstDayOfMonth, getInitials, getMonthName, getWeekdays, isDateBefore, isDateInRange, isSameDay, isToday, parseDate, pickColorFromPalette, stringHash, toMondayBased, toast, toastStore, useAccordion, useDropdown, useLongPress };
2563
2698
 
2564
2699
  //# sourceMappingURL=index.js.map