rockin 0.0.16 → 0.0.18

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/ui/index.js CHANGED
@@ -1,8 +1,24 @@
1
1
  "use client";
2
2
  import {
3
+ DataGrid,
4
+ DataGridCell,
5
+ DataGridClipboard,
6
+ DataGridColumn,
7
+ DataGridFillHandle,
8
+ DataGridMove,
9
+ DataGridRow,
10
+ DataTableColumnResize,
11
+ DataTableRoot,
12
+ GridComboboxCell,
13
+ GridNumberCell,
14
+ GridTextCell,
15
+ useDataTable,
16
+ useDataTablePagination,
17
+ useDataTableRows,
18
+ useDataTableSearch,
3
19
  useMediaQuery,
4
20
  useMounted
5
- } from "../chunk-C3RGHTDI.js";
21
+ } from "../chunk-ULUHD3E2.js";
6
22
  import {
7
23
  Tooltip,
8
24
  TooltipContent,
@@ -2998,11 +3014,374 @@ function DashedSeparator({
2998
3014
  );
2999
3015
  }
3000
3016
 
3001
- // src/ui/dock.tsx
3017
+ // src/ui/data-table/core/data-table.tsx
3002
3018
  import { cn as cn26 } from "cn";
3019
+ import { jsx as jsx26 } from "react/jsx-runtime";
3020
+ function DataTable({
3021
+ className,
3022
+ children,
3023
+ ...props
3024
+ }) {
3025
+ return /* @__PURE__ */ jsx26(
3026
+ "div",
3027
+ {
3028
+ className: cn26("overflow-x-auto rounded-lg border", className),
3029
+ ...props,
3030
+ children: /* @__PURE__ */ jsx26("table", { className: "w-full text-sm", children })
3031
+ }
3032
+ );
3033
+ }
3034
+ function DataTableCell({
3035
+ className,
3036
+ ...props
3037
+ }) {
3038
+ return /* @__PURE__ */ jsx26("td", { className: cn26("px-3 py-2.5 align-middle", className), ...props });
3039
+ }
3040
+ function DataTableRow({
3041
+ className,
3042
+ ...props
3043
+ }) {
3044
+ return /* @__PURE__ */ jsx26("tr", { className: cn26("border-b last:border-0", className), ...props });
3045
+ }
3046
+ function DataTableRows() {
3047
+ const { columns, pageData, getRowId } = useDataTable();
3048
+ return /* @__PURE__ */ jsx26("tbody", { children: pageData.map((row, rowIndex) => /* @__PURE__ */ jsx26(DataTableRow, { children: columns.map((column, columnIndex) => {
3049
+ const value = column.accessorFn ? column.accessorFn(row) : column.accessorKey ? row[column.accessorKey] : void 0;
3050
+ return /* @__PURE__ */ jsx26(
3051
+ DataTableCell,
3052
+ {
3053
+ children: column.cell ? column.cell(value, row, rowIndex) : String(value ?? "\u2014")
3054
+ },
3055
+ column.id ?? column.accessorKey ?? columnIndex
3056
+ );
3057
+ }) }, getRowId(row, rowIndex))) });
3058
+ }
3059
+
3060
+ // src/ui/data-table/core/data-table-structure.tsx
3061
+ import { cn as cn28 } from "cn";
3062
+
3063
+ // src/ui/skeleton.tsx
3064
+ import {
3065
+ forwardRef as forwardRef2,
3066
+ useLayoutEffect
3067
+ } from "react";
3068
+ import { cn as cn27 } from "cn";
3069
+ import { jsx as jsx27 } from "react/jsx-runtime";
3070
+ var componentThemeClassName = "[--ic-background:#ffffff] [--ic-foreground:#111111] [--ic-primary:#111111] [--ic-secondary:#646b75] [--ic-surface-border:#e9edf2] [--ic-border:#e3e7ec] [--ic-card:#ffffff] [--ic-card-foreground:#111111] [--ic-muted:#f5f7fa] [--ic-muted-foreground:#6d7480] [--ic-accent:#f3f5f8] [--color-accent:var(--ic-accent)] [--color-accent-foreground:var(--ic-accent-foreground)] [--ic-accent-foreground:#111111] [--ic-input:#e3e7ec] [--ic-ring:rgba(17,17,17,0.16)] [--ic-destructive:#dc2626] [--ic-paper:#fcfcfd] [--ic-popover-foreground:#111111] [--ic-brand:#0ea5e9] [--ic-brand-soft:#bae6fd] [--ic-shadow-soft:0_18px_38px_-24px_rgba(15,23,42,0.35)] [--ic-chart-1:oklch(0.52_0.19_254)] [--ic-chart-2:oklch(0.74_0.11_232)] [--ic-chart-3:oklch(0.42_0.16_262)] [--ic-chart-4:oklch(0.84_0.07_228)] [--ic-chart-5:oklch(0.62_0.14_240)] [--color-background:var(--ic-background)] [--color-foreground:var(--ic-foreground)] [--color-primary:var(--ic-primary)] [--color-secondary:var(--ic-secondary)] [--color-border:var(--ic-border)] [--color-card:var(--ic-card)] [--color-card-foreground:var(--ic-card-foreground)] [--color-muted:var(--ic-muted)] [--color-muted-foreground:var(--ic-muted-foreground)] [--color-accent:var(--ic-accent)] [--color-accent-foreground:var(--ic-accent-foreground)] [--color-input:var(--ic-input)] [--color-ring:var(--ic-ring)] [--color-destructive:var(--ic-destructive)] [--color-paper:var(--ic-paper)] [--color-popover-foreground:var(--ic-popover-foreground)] [--color-brand:var(--ic-brand)] [--color-brand-soft:var(--ic-brand-soft)] [--color-chart-1:var(--ic-chart-1)] [--color-chart-2:var(--ic-chart-2)] [--color-chart-3:var(--ic-chart-3)] [--color-chart-4:var(--ic-chart-4)] [--color-chart-5:var(--ic-chart-5)] dark:[--ic-background:#111111] dark:[--ic-foreground:#f6f3ec] dark:[--ic-primary:#f6f3ec] dark:[--ic-secondary:#cbc6bb] dark:[--ic-surface-border:#2a2a25] dark:[--ic-border:#2b2a25] dark:[--ic-card:#111111] dark:[--ic-card-foreground:#f6f3ec] dark:[--ic-muted:#171716] dark:[--ic-muted-foreground:#9a958a] dark:[--ic-accent:#1a1a18] [--color-accent:var(--ic-accent)] [--color-accent-foreground:var(--ic-accent-foreground)] dark:[--ic-accent-foreground:#f6f3ec] dark:[--ic-input:#2b2a25] dark:[--ic-ring:rgba(246,243,236,0.18)] dark:[--ic-destructive:#f87171] dark:[--ic-paper:#171716] dark:[--ic-popover-foreground:#f6f3ec] dark:[--ic-brand:#38bdf8] dark:[--ic-brand-soft:#0c4a6e] dark:[--ic-shadow-soft:0_20px_44px_-28px_rgba(0,0,0,0.6)] dark:[--ic-chart-1:oklch(0.68_0.17_250)] dark:[--ic-chart-2:oklch(0.82_0.09_225)] dark:[--ic-chart-3:oklch(0.58_0.15_260)] dark:[--ic-chart-4:oklch(0.75_0.12_235)] dark:[--ic-chart-5:oklch(0.88_0.06_220)]";
3071
+ var STYLE_ID = "iconiq-skeleton-styles";
3072
+ var SKELETON_CSS = `
3073
+ @keyframes iconiq-skeleton-shimmer {
3074
+ to {
3075
+ transform: translateX(200%);
3076
+ }
3077
+ }
3078
+
3079
+ @keyframes iconiq-skeleton-fade {
3080
+ 0%,
3081
+ 100% {
3082
+ opacity: 1;
3083
+ }
3084
+
3085
+ 50% {
3086
+ opacity: 0.38;
3087
+ }
3088
+ }
3089
+
3090
+ .iconiq-skeleton-surface {
3091
+ background-color: #f5f7fa;
3092
+ background-color: var(--ic-muted);
3093
+ }
3094
+
3095
+ .iconiq-skeleton-shimmer {
3096
+ background: linear-gradient(
3097
+ 90deg,
3098
+ transparent 0%,
3099
+ rgba(17, 17, 17, 0.06) 50%,
3100
+ transparent 100%
3101
+ );
3102
+ background: linear-gradient(
3103
+ 90deg,
3104
+ transparent 0%,
3105
+ color-mix(in srgb, var(--ic-foreground) 6%, transparent) 50%,
3106
+ transparent 100%
3107
+ );
3108
+ animation: iconiq-skeleton-shimmer var(--iconiq-skeleton-duration, 1.6s)
3109
+ ease-in-out infinite;
3110
+ }
3111
+
3112
+ .iconiq-skeleton-fade-root {
3113
+ animation: iconiq-skeleton-fade var(--iconiq-skeleton-duration, 2.4s)
3114
+ ease-in-out infinite;
3115
+ }
3116
+
3117
+ @media (prefers-reduced-motion: reduce) {
3118
+ .iconiq-skeleton-shimmer,
3119
+ .iconiq-skeleton-fade-root {
3120
+ animation: none;
3121
+ }
3122
+ }
3123
+ `;
3124
+ var skeletonRoundedClasses = {
3125
+ none: "rounded-none",
3126
+ sm: "rounded-sm",
3127
+ md: "rounded-md",
3128
+ lg: "rounded-lg",
3129
+ full: "rounded-full"
3130
+ };
3131
+ var skeletonVariantDefaultDuration = {
3132
+ shimmer: 1.6,
3133
+ fade: 2.4
3134
+ };
3135
+ function getSkeletonVariantDuration(variant, duration = 1.6) {
3136
+ if (duration !== 1.6) {
3137
+ return duration;
3138
+ }
3139
+ return skeletonVariantDefaultDuration[variant];
3140
+ }
3141
+ function ensureSkeletonStyles() {
3142
+ if (typeof document === "undefined") {
3143
+ return;
3144
+ }
3145
+ let style = document.getElementById(STYLE_ID);
3146
+ if (!style) {
3147
+ style = document.createElement("style");
3148
+ style.id = STYLE_ID;
3149
+ document.head.appendChild(style);
3150
+ }
3151
+ style.textContent = SKELETON_CSS;
3152
+ }
3153
+ function resolveSkeletonA11yProps({
3154
+ animate: animate2 = true,
3155
+ decorative = true,
3156
+ label
3157
+ }) {
3158
+ if (decorative || label === null) {
3159
+ return { "aria-hidden": true };
3160
+ }
3161
+ return {
3162
+ "aria-label": label ?? (animate2 ? "Loading" : "Placeholder"),
3163
+ "aria-live": "polite",
3164
+ role: "status"
3165
+ };
3166
+ }
3167
+ var Skeleton = forwardRef2(function Skeleton2({
3168
+ animate: animate2 = true,
3169
+ className,
3170
+ decorative = true,
3171
+ duration = 1.6,
3172
+ label,
3173
+ rounded = "md",
3174
+ style,
3175
+ variant = "shimmer",
3176
+ ...props
3177
+ }, ref) {
3178
+ const variantDuration = getSkeletonVariantDuration(variant, duration);
3179
+ const showShimmer = animate2 && variant === "shimmer";
3180
+ const showFade = animate2 && variant === "fade";
3181
+ useLayoutEffect(() => {
3182
+ if (animate2) {
3183
+ ensureSkeletonStyles();
3184
+ }
3185
+ }, [animate2]);
3186
+ const animatedStyle = showShimmer || showFade ? {
3187
+ ...style,
3188
+ "--iconiq-skeleton-duration": `${variantDuration}s`
3189
+ } : style;
3190
+ return /* @__PURE__ */ jsx27(
3191
+ "div",
3192
+ {
3193
+ className: cn27(
3194
+ componentThemeClassName,
3195
+ "iconiq-skeleton-surface relative block h-4 w-full overflow-hidden",
3196
+ showFade && "iconiq-skeleton-fade-root",
3197
+ skeletonRoundedClasses[rounded],
3198
+ className
3199
+ ),
3200
+ ref,
3201
+ style: animatedStyle,
3202
+ ...resolveSkeletonA11yProps({ animate: animate2, decorative, label }),
3203
+ ...props,
3204
+ children: showShimmer ? /* @__PURE__ */ jsx27(
3205
+ "span",
3206
+ {
3207
+ "aria-hidden": "true",
3208
+ className: "iconiq-skeleton-shimmer pointer-events-none absolute inset-0 -translate-x-full"
3209
+ }
3210
+ ) : null
3211
+ }
3212
+ );
3213
+ });
3214
+ Skeleton.displayName = "Skeleton";
3215
+ function SkeletonAvatar({
3216
+ className,
3217
+ ...props
3218
+ }) {
3219
+ return /* @__PURE__ */ jsx27(
3220
+ Skeleton,
3221
+ {
3222
+ className: cn27("size-10", className),
3223
+ decorative: true,
3224
+ rounded: "full",
3225
+ ...props
3226
+ }
3227
+ );
3228
+ }
3229
+ function SkeletonText({ className, ...props }) {
3230
+ return /* @__PURE__ */ jsx27(Skeleton, { className: cn27("h-3", className), decorative: true, ...props });
3231
+ }
3232
+ function SkeletonButton({
3233
+ className,
3234
+ ...props
3235
+ }) {
3236
+ return /* @__PURE__ */ jsx27(
3237
+ Skeleton,
3238
+ {
3239
+ className: cn27("h-9 w-24", className),
3240
+ decorative: true,
3241
+ rounded: "lg",
3242
+ ...props
3243
+ }
3244
+ );
3245
+ }
3246
+ var ShimmerSkeleton = Skeleton;
3247
+
3248
+ // src/ui/data-table/core/data-table-structure.tsx
3249
+ import { Fragment as Fragment2, jsx as jsx28, jsxs as jsxs14 } from "react/jsx-runtime";
3250
+ function DataTableHeader({ className }) {
3251
+ const { columns } = useDataTable();
3252
+ return /* @__PURE__ */ jsx28("thead", { className: cn28("bg-muted/60", className), children: /* @__PURE__ */ jsx28(DataTableRow, { children: columns.map((column, index) => /* @__PURE__ */ jsx28(
3253
+ "th",
3254
+ {
3255
+ className: "px-3 py-2.5 text-left text-xs font-medium text-muted-foreground",
3256
+ children: typeof column.header === "function" ? column.header(column) : column.header
3257
+ },
3258
+ column.id ?? column.accessorKey ?? index
3259
+ )) }) });
3260
+ }
3261
+ function DataTableBody({ children }) {
3262
+ return /* @__PURE__ */ jsxs14(Fragment2, { children: [
3263
+ /* @__PURE__ */ jsx28(DataTableRows, {}),
3264
+ children
3265
+ ] });
3266
+ }
3267
+ function DataTableSkeleton({ rows = 3 }) {
3268
+ const { columns, isLoading } = useDataTable();
3269
+ if (!isLoading) return null;
3270
+ return /* @__PURE__ */ jsx28("tbody", { "aria-label": "Loading rows", children: Array.from({ length: rows }, (_, rowIndex) => /* @__PURE__ */ jsx28(DataTableRow, { children: columns.map((column, columnIndex) => /* @__PURE__ */ jsx28(DataTableCell, { children: /* @__PURE__ */ jsx28(Skeleton, { className: "h-4" }) }, column.id ?? column.accessorKey ?? columnIndex)) }, rowIndex)) });
3271
+ }
3272
+ function DataTableEmptyBody({
3273
+ children = "No results found."
3274
+ }) {
3275
+ const { pageData, isLoading } = useDataTable();
3276
+ if (isLoading || pageData.length > 0) return null;
3277
+ return /* @__PURE__ */ jsx28("tbody", { children: /* @__PURE__ */ jsx28(DataTableRow, { children: /* @__PURE__ */ jsx28(
3278
+ DataTableCell,
3279
+ {
3280
+ className: "h-24 text-center text-muted-foreground",
3281
+ colSpan: 100,
3282
+ children
3283
+ }
3284
+ ) }) });
3285
+ }
3286
+
3287
+ // src/ui/data-table/components/data-table-pagination.tsx
3288
+ import { ChevronLeft as ChevronLeft2, ChevronRight as ChevronRight2 } from "lucide-react";
3289
+ import { jsx as jsx29, jsxs as jsxs15 } from "react/jsx-runtime";
3290
+ function DataTablePagination() {
3291
+ const { totalRows } = useDataTableRows();
3292
+ const {
3293
+ pageIndex,
3294
+ pageSize,
3295
+ pageCount,
3296
+ canPreviousPage,
3297
+ canNextPage,
3298
+ previousPage,
3299
+ nextPage
3300
+ } = useDataTablePagination();
3301
+ const first = totalRows === 0 ? 0 : pageIndex * pageSize + 1;
3302
+ const last = Math.min((pageIndex + 1) * pageSize, totalRows);
3303
+ return /* @__PURE__ */ jsxs15("div", { className: "flex items-center justify-between gap-3 text-sm text-muted-foreground", children: [
3304
+ /* @__PURE__ */ jsx29("span", { children: totalRows ? `${first}\u2013${last} of ${totalRows}` : "0 results" }),
3305
+ /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-1", children: [
3306
+ /* @__PURE__ */ jsx29(
3307
+ Button,
3308
+ {
3309
+ "aria-label": "Previous page",
3310
+ disabled: !canPreviousPage,
3311
+ onClick: previousPage,
3312
+ size: "icon-sm",
3313
+ variant: "outline",
3314
+ children: /* @__PURE__ */ jsx29(ChevronLeft2, {})
3315
+ }
3316
+ ),
3317
+ /* @__PURE__ */ jsxs15("span", { className: "min-w-16 text-center text-xs", children: [
3318
+ "Page ",
3319
+ pageIndex + 1,
3320
+ " of ",
3321
+ pageCount
3322
+ ] }),
3323
+ /* @__PURE__ */ jsx29(
3324
+ Button,
3325
+ {
3326
+ "aria-label": "Next page",
3327
+ disabled: !canNextPage,
3328
+ onClick: nextPage,
3329
+ size: "icon-sm",
3330
+ variant: "outline",
3331
+ children: /* @__PURE__ */ jsx29(ChevronRight2, {})
3332
+ }
3333
+ )
3334
+ ] })
3335
+ ] });
3336
+ }
3337
+
3338
+ // src/ui/data-table/components/data-table-search-filter.tsx
3339
+ import { Search } from "lucide-react";
3340
+ import { jsx as jsx30, jsxs as jsxs16 } from "react/jsx-runtime";
3341
+ function DataTableSearchFilter({
3342
+ placeholder = "Search...",
3343
+ className
3344
+ }) {
3345
+ const { search, setSearch } = useDataTableSearch();
3346
+ return /* @__PURE__ */ jsxs16("div", { className: `relative w-full max-w-sm ${className ?? ""}`, children: [
3347
+ /* @__PURE__ */ jsx30(Search, { className: "pointer-events-none absolute top-1/2 left-2.5 size-4 -translate-y-1/2 text-muted-foreground" }),
3348
+ /* @__PURE__ */ jsx30(
3349
+ Input,
3350
+ {
3351
+ "aria-label": placeholder,
3352
+ className: "pl-8",
3353
+ onChange: (event) => setSearch(event.target.value),
3354
+ placeholder,
3355
+ value: search
3356
+ }
3357
+ )
3358
+ ] });
3359
+ }
3360
+
3361
+ // src/ui/data-table/components/data-table-toolbar-section.tsx
3362
+ import { cn as cn29 } from "cn";
3363
+ import { jsx as jsx31 } from "react/jsx-runtime";
3364
+ function DataTableToolbarSection({
3365
+ className,
3366
+ ...props
3367
+ }) {
3368
+ return /* @__PURE__ */ jsx31(
3369
+ "div",
3370
+ {
3371
+ className: cn29(
3372
+ "flex flex-wrap items-center justify-between gap-2",
3373
+ className
3374
+ ),
3375
+ ...props
3376
+ }
3377
+ );
3378
+ }
3379
+
3380
+ // src/ui/dock.tsx
3381
+ import { cn as cn30 } from "cn";
3003
3382
  import { motion as motion4 } from "motion/react";
3004
3383
  import * as React8 from "react";
3005
- import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
3384
+ import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
3006
3385
  var floatingAnimation = {
3007
3386
  initial: { y: 0 },
3008
3387
  animate: {
@@ -3016,24 +3395,24 @@ var floatingAnimation = {
3016
3395
  };
3017
3396
  var DockIconButton = React8.forwardRef(
3018
3397
  ({ icon: Icon, label, onClick, className }, ref) => {
3019
- return /* @__PURE__ */ jsxs14(
3398
+ return /* @__PURE__ */ jsxs17(
3020
3399
  motion4.button,
3021
3400
  {
3022
3401
  ref,
3023
3402
  whileHover: { scale: 1.1, y: -2 },
3024
3403
  whileTap: { scale: 0.95 },
3025
3404
  onClick,
3026
- className: cn26(
3405
+ className: cn30(
3027
3406
  "group relative rounded-lg p-3",
3028
3407
  "transition-colors hover:bg-secondary",
3029
3408
  className
3030
3409
  ),
3031
3410
  children: [
3032
- /* @__PURE__ */ jsx26(Icon, { className: "h-5 w-5 text-foreground" }),
3033
- /* @__PURE__ */ jsx26(
3411
+ /* @__PURE__ */ jsx32(Icon, { className: "h-5 w-5 text-foreground" }),
3412
+ /* @__PURE__ */ jsx32(
3034
3413
  "span",
3035
3414
  {
3036
- className: cn26(
3415
+ className: cn30(
3037
3416
  "absolute -top-8 left-1/2 -translate-x-1/2",
3038
3417
  "rounded px-2 py-1 text-xs",
3039
3418
  "bg-background text-popover-foreground",
@@ -3051,27 +3430,27 @@ var DockIconButton = React8.forwardRef(
3051
3430
  DockIconButton.displayName = "DockIconButton";
3052
3431
  var Dock = React8.forwardRef(
3053
3432
  ({ items, className }, ref) => {
3054
- return /* @__PURE__ */ jsx26(
3433
+ return /* @__PURE__ */ jsx32(
3055
3434
  "div",
3056
3435
  {
3057
3436
  ref,
3058
- className: cn26(
3437
+ className: cn30(
3059
3438
  "flex h-64 w-full items-center justify-center p-2",
3060
3439
  className
3061
3440
  ),
3062
- children: /* @__PURE__ */ jsx26("div", { className: "relative flex h-64 w-full max-w-4xl items-center justify-center rounded-2xl", children: /* @__PURE__ */ jsx26(
3441
+ children: /* @__PURE__ */ jsx32("div", { className: "relative flex h-64 w-full max-w-4xl items-center justify-center rounded-2xl", children: /* @__PURE__ */ jsx32(
3063
3442
  motion4.div,
3064
3443
  {
3065
3444
  initial: "initial",
3066
3445
  animate: "animate",
3067
3446
  variants: floatingAnimation,
3068
- className: cn26(
3447
+ className: cn30(
3069
3448
  "flex items-center gap-1 rounded-2xl p-2",
3070
3449
  "border shadow-lg backdrop-blur-lg",
3071
3450
  "border-border bg-background/90",
3072
3451
  "transition-shadow duration-300 hover:shadow-xl"
3073
3452
  ),
3074
- children: items.map((item) => /* @__PURE__ */ jsx26(DockIconButton, { ...item }, item.label))
3453
+ children: items.map((item) => /* @__PURE__ */ jsx32(DockIconButton, { ...item }, item.label))
3075
3454
  }
3076
3455
  ) })
3077
3456
  }
@@ -3083,8 +3462,8 @@ Dock.displayName = "Dock";
3083
3462
  // src/ui/drawer.tsx
3084
3463
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
3085
3464
  import * as React9 from "react";
3086
- import { cn as cn27 } from "cn";
3087
- import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
3465
+ import { cn as cn31 } from "cn";
3466
+ import { jsx as jsx33, jsxs as jsxs18 } from "react/jsx-runtime";
3088
3467
  var DrawerContext = React9.createContext(null);
3089
3468
  function useDrawer() {
3090
3469
  const context = React9.useContext(DrawerContext);
@@ -3111,7 +3490,7 @@ function Drawer({
3111
3490
  }),
3112
3491
  [hasSnapPoints, modal, resolvedShowSwipeHandle, swipeDirection]
3113
3492
  );
3114
- return /* @__PURE__ */ jsx27(DrawerContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx27(
3493
+ return /* @__PURE__ */ jsx33(DrawerContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx33(
3115
3494
  DrawerPrimitive.Root,
3116
3495
  {
3117
3496
  "data-slot": "drawer",
@@ -3123,23 +3502,23 @@ function Drawer({
3123
3502
  ) });
3124
3503
  }
3125
3504
  function DrawerTrigger({ ...props }) {
3126
- return /* @__PURE__ */ jsx27(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
3505
+ return /* @__PURE__ */ jsx33(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
3127
3506
  }
3128
3507
  function DrawerPortal({ ...props }) {
3129
- return /* @__PURE__ */ jsx27(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
3508
+ return /* @__PURE__ */ jsx33(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
3130
3509
  }
3131
3510
  function DrawerClose({ ...props }) {
3132
- return /* @__PURE__ */ jsx27(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
3511
+ return /* @__PURE__ */ jsx33(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
3133
3512
  }
3134
3513
  function DrawerOverlay({
3135
3514
  className,
3136
3515
  ...props
3137
3516
  }) {
3138
- return /* @__PURE__ */ jsx27(
3517
+ return /* @__PURE__ */ jsx33(
3139
3518
  DrawerPrimitive.Backdrop,
3140
3519
  {
3141
3520
  "data-slot": "drawer-overlay",
3142
- className: cn27(
3521
+ className: cn31(
3143
3522
  "ease-out-fluid fixed inset-0 z-50 min-h-dvh bg-black/10 opacity-[max(var(--drawer-overlay-min-opacity,0),calc(1-var(--drawer-swipe-progress)))] transition-opacity duration-450 select-none data-ending-style:pointer-events-none data-ending-style:opacity-0 data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-snap-points:[--drawer-overlay-min-opacity:0.5] data-starting-style:opacity-0 data-swiping:duration-0 supports-backdrop-filter:backdrop-blur-xs supports-[-webkit-touch-callout:none]:absolute",
3144
3523
  className
3145
3524
  ),
@@ -3151,12 +3530,12 @@ function DrawerSwipeHandle({
3151
3530
  className,
3152
3531
  ...props
3153
3532
  }) {
3154
- return /* @__PURE__ */ jsx27(
3533
+ return /* @__PURE__ */ jsx33(
3155
3534
  "div",
3156
3535
  {
3157
3536
  "data-slot": "drawer-swipe-handle",
3158
3537
  "aria-hidden": "true",
3159
- className: cn27(
3538
+ className: cn31(
3160
3539
  "flex shrink-0 cursor-grab transition-opacity duration-200 group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-[swipe-axis=x]/drawer-popup:h-full group-data-[swipe-axis=x]/drawer-popup:w-3 group-data-[swipe-axis=x]/drawer-popup:items-center group-data-[swipe-axis=y]/drawer-popup:h-3 group-data-[swipe-axis=y]/drawer-popup:w-full group-data-[swipe-axis=y]/drawer-popup:justify-center group-data-[swipe-direction=down]/drawer-popup:items-end group-data-[swipe-direction=left]/drawer-popup:order-last group-data-[swipe-direction=left]/drawer-popup:justify-start group-data-[swipe-direction=right]/drawer-popup:justify-end group-data-[swipe-direction=up]/drawer-popup:order-last group-data-[swipe-direction=up]/drawer-popup:items-start after:block after:shrink-0 after:rounded-full after:bg-muted group-data-[swipe-axis=x]/drawer-popup:after:h-24 group-data-[swipe-axis=x]/drawer-popup:after:w-1 group-data-[swipe-axis=y]/drawer-popup:after:h-1 group-data-[swipe-axis=y]/drawer-popup:after:w-20 active:cursor-grabbing",
3161
3540
  className
3162
3541
  ),
@@ -3171,21 +3550,21 @@ function DrawerContent({
3171
3550
  }) {
3172
3551
  const { hasSnapPoints, modal, showSwipeHandle, swipeDirection } = useDrawer();
3173
3552
  const swipeAxis = swipeDirection === "down" || swipeDirection === "up" ? "y" : "x";
3174
- return /* @__PURE__ */ jsxs15(DrawerPortal, { "data-slot": "drawer-portal", children: [
3175
- modal === true && /* @__PURE__ */ jsx27(DrawerOverlay, { "data-snap-points": hasSnapPoints ? "" : void 0 }),
3176
- /* @__PURE__ */ jsx27(
3553
+ return /* @__PURE__ */ jsxs18(DrawerPortal, { "data-slot": "drawer-portal", children: [
3554
+ modal === true && /* @__PURE__ */ jsx33(DrawerOverlay, { "data-snap-points": hasSnapPoints ? "" : void 0 }),
3555
+ /* @__PURE__ */ jsx33(
3177
3556
  DrawerPrimitive.Viewport,
3178
3557
  {
3179
3558
  "data-slot": "drawer-viewport",
3180
3559
  "data-modal": modal,
3181
3560
  className: "pointer-events-none fixed inset-0 z-50 select-none data-[modal=true]:pointer-events-auto",
3182
- children: /* @__PURE__ */ jsxs15(
3561
+ children: /* @__PURE__ */ jsxs18(
3183
3562
  DrawerPrimitive.Popup,
3184
3563
  {
3185
3564
  "data-slot": "drawer-popup",
3186
3565
  "data-swipe-axis": swipeAxis,
3187
3566
  "data-snap-points": hasSnapPoints ? "" : void 0,
3188
- className: cn27(
3567
+ className: cn31(
3189
3568
  // Base.
3190
3569
  "group/drawer-popup pointer-events-auto fixed z-50 m-(--drawer-inset,0px) flex h-(--drawer-content-height) max-h-(--drawer-content-max-height,none) min-h-0 w-(--drawer-content-width,auto) transform-[translate3d(var(--translate-x,0px),var(--translate-y,0px),0)_scale(var(--stack-scale))] flex-col rounded-4xl border bg-card text-sm text-popover-foreground transition-[transform,height,opacity,filter] duration-450 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform outline-none select-none [--drawer-bleed-background:transparent] [--drawer-inset:--spacing(2)] [interpolate-size:allow-keywords] max-md:pb-(--app-safe-bottom) md:pb-0 dark:border-border",
3191
3570
  // Nested.
@@ -3214,12 +3593,12 @@ function DrawerContent({
3214
3593
  ),
3215
3594
  ...props,
3216
3595
  children: [
3217
- showSwipeHandle && /* @__PURE__ */ jsx27(DrawerSwipeHandle, {}),
3218
- /* @__PURE__ */ jsx27(
3596
+ showSwipeHandle && /* @__PURE__ */ jsx33(DrawerSwipeHandle, {}),
3597
+ /* @__PURE__ */ jsx33(
3219
3598
  DrawerPrimitive.Content,
3220
3599
  {
3221
3600
  "data-slot": "drawer-content",
3222
- className: cn27(
3601
+ className: cn31(
3223
3602
  "flex min-h-0 flex-1 flex-col overflow-hidden overscroll-contain rounded-[inherit] transition-opacity duration-300 ease-[cubic-bezier(0.45,1.005,0,1.005)] select-text group-data-nested-drawer-open/drawer-popup:opacity-0 group-data-nested-drawer-swiping/drawer-popup:opacity-100 group-data-swiping/drawer-popup:select-none"
3224
3603
  ),
3225
3604
  children
@@ -3233,11 +3612,11 @@ function DrawerContent({
3233
3612
  ] });
3234
3613
  }
3235
3614
  function DrawerHeader({ className, ...props }) {
3236
- return /* @__PURE__ */ jsx27(
3615
+ return /* @__PURE__ */ jsx33(
3237
3616
  "div",
3238
3617
  {
3239
3618
  "data-slot": "drawer-header",
3240
- className: cn27(
3619
+ className: cn31(
3241
3620
  "flex shrink-0 flex-col gap-0.5 p-4 pb-0 group-data-[swipe-axis=y]/drawer-popup:text-center md:gap-1.5 md:text-left",
3242
3621
  className
3243
3622
  ),
@@ -3246,21 +3625,21 @@ function DrawerHeader({ className, ...props }) {
3246
3625
  );
3247
3626
  }
3248
3627
  function DrawerFooter({ className, ...props }) {
3249
- return /* @__PURE__ */ jsx27(
3628
+ return /* @__PURE__ */ jsx33(
3250
3629
  "div",
3251
3630
  {
3252
3631
  "data-slot": "drawer-footer",
3253
- className: cn27("mt-auto flex shrink-0 flex-col gap-2 p-4 pt-0", className),
3632
+ className: cn31("mt-auto flex shrink-0 flex-col gap-2 p-4 pt-0", className),
3254
3633
  ...props
3255
3634
  }
3256
3635
  );
3257
3636
  }
3258
3637
  function DrawerTitle({ className, ...props }) {
3259
- return /* @__PURE__ */ jsx27(
3638
+ return /* @__PURE__ */ jsx33(
3260
3639
  DrawerPrimitive.Title,
3261
3640
  {
3262
3641
  "data-slot": "drawer-title",
3263
- className: cn27(
3642
+ className: cn31(
3264
3643
  "font-heading text-base font-medium text-foreground",
3265
3644
  className
3266
3645
  ),
@@ -3272,11 +3651,11 @@ function DrawerDescription({
3272
3651
  className,
3273
3652
  ...props
3274
3653
  }) {
3275
- return /* @__PURE__ */ jsx27(
3654
+ return /* @__PURE__ */ jsx33(
3276
3655
  DrawerPrimitive.Description,
3277
3656
  {
3278
3657
  "data-slot": "drawer-description",
3279
- className: cn27("text-sm text-balance text-muted-foreground", className),
3658
+ className: cn31("text-sm text-balance text-muted-foreground", className),
3280
3659
  ...props
3281
3660
  }
3282
3661
  );
@@ -3284,17 +3663,17 @@ function DrawerDescription({
3284
3663
 
3285
3664
  // src/ui/dropdown-menu.tsx
3286
3665
  import { Menu as MenuPrimitive } from "@base-ui/react/menu";
3287
- import { cn as cn28 } from "cn";
3666
+ import { cn as cn32 } from "cn";
3288
3667
  import { CheckIcon, ChevronRightIcon } from "lucide-react";
3289
- import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
3668
+ import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
3290
3669
  function DropdownMenu({ ...props }) {
3291
- return /* @__PURE__ */ jsx28(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
3670
+ return /* @__PURE__ */ jsx34(MenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
3292
3671
  }
3293
3672
  function DropdownMenuPortal({ ...props }) {
3294
- return /* @__PURE__ */ jsx28(MenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
3673
+ return /* @__PURE__ */ jsx34(MenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
3295
3674
  }
3296
3675
  function DropdownMenuTrigger({ ...props }) {
3297
- return /* @__PURE__ */ jsx28(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
3676
+ return /* @__PURE__ */ jsx34(MenuPrimitive.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
3298
3677
  }
3299
3678
  function DropdownMenuContent({
3300
3679
  align = "start",
@@ -3304,7 +3683,7 @@ function DropdownMenuContent({
3304
3683
  className,
3305
3684
  ...props
3306
3685
  }) {
3307
- return /* @__PURE__ */ jsx28(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx28(
3686
+ return /* @__PURE__ */ jsx34(MenuPrimitive.Portal, { children: /* @__PURE__ */ jsx34(
3308
3687
  MenuPrimitive.Positioner,
3309
3688
  {
3310
3689
  className: "isolate z-50 outline-none",
@@ -3312,11 +3691,11 @@ function DropdownMenuContent({
3312
3691
  alignOffset,
3313
3692
  side,
3314
3693
  sideOffset,
3315
- children: /* @__PURE__ */ jsx28(
3694
+ children: /* @__PURE__ */ jsx34(
3316
3695
  MenuPrimitive.Popup,
3317
3696
  {
3318
3697
  "data-slot": "dropdown-menu-content",
3319
- className: cn28(
3698
+ className: cn32(
3320
3699
  "z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-background p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95",
3321
3700
  className
3322
3701
  ),
@@ -3327,19 +3706,19 @@ function DropdownMenuContent({
3327
3706
  ) });
3328
3707
  }
3329
3708
  function DropdownMenuGroup({ ...props }) {
3330
- return /* @__PURE__ */ jsx28(MenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
3709
+ return /* @__PURE__ */ jsx34(MenuPrimitive.Group, { "data-slot": "dropdown-menu-group", ...props });
3331
3710
  }
3332
3711
  function DropdownMenuLabel({
3333
3712
  className,
3334
3713
  inset,
3335
3714
  ...props
3336
3715
  }) {
3337
- return /* @__PURE__ */ jsx28(
3716
+ return /* @__PURE__ */ jsx34(
3338
3717
  MenuPrimitive.GroupLabel,
3339
3718
  {
3340
3719
  "data-slot": "dropdown-menu-label",
3341
3720
  "data-inset": inset,
3342
- className: cn28(
3721
+ className: cn32(
3343
3722
  "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
3344
3723
  className
3345
3724
  ),
@@ -3353,13 +3732,13 @@ function DropdownMenuItem({
3353
3732
  variant = "default",
3354
3733
  ...props
3355
3734
  }) {
3356
- return /* @__PURE__ */ jsx28(
3735
+ return /* @__PURE__ */ jsx34(
3357
3736
  MenuPrimitive.Item,
3358
3737
  {
3359
3738
  "data-slot": "dropdown-menu-item",
3360
3739
  "data-inset": inset,
3361
3740
  "data-variant": variant,
3362
- className: cn28(
3741
+ className: cn32(
3363
3742
  "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",
3364
3743
  className
3365
3744
  ),
@@ -3368,7 +3747,7 @@ function DropdownMenuItem({
3368
3747
  );
3369
3748
  }
3370
3749
  function DropdownMenuSub({ ...props }) {
3371
- return /* @__PURE__ */ jsx28(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
3750
+ return /* @__PURE__ */ jsx34(MenuPrimitive.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
3372
3751
  }
3373
3752
  function DropdownMenuSubTrigger({
3374
3753
  className,
@@ -3376,19 +3755,19 @@ function DropdownMenuSubTrigger({
3376
3755
  children,
3377
3756
  ...props
3378
3757
  }) {
3379
- return /* @__PURE__ */ jsxs16(
3758
+ return /* @__PURE__ */ jsxs19(
3380
3759
  MenuPrimitive.SubmenuTrigger,
3381
3760
  {
3382
3761
  "data-slot": "dropdown-menu-sub-trigger",
3383
3762
  "data-inset": inset,
3384
- className: cn28(
3763
+ className: cn32(
3385
3764
  "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3386
3765
  className
3387
3766
  ),
3388
3767
  ...props,
3389
3768
  children: [
3390
3769
  children,
3391
- /* @__PURE__ */ jsx28(ChevronRightIcon, { className: "ml-auto" })
3770
+ /* @__PURE__ */ jsx34(ChevronRightIcon, { className: "ml-auto" })
3392
3771
  ]
3393
3772
  }
3394
3773
  );
@@ -3401,11 +3780,11 @@ function DropdownMenuSubContent({
3401
3780
  className,
3402
3781
  ...props
3403
3782
  }) {
3404
- return /* @__PURE__ */ jsx28(
3783
+ return /* @__PURE__ */ jsx34(
3405
3784
  DropdownMenuContent,
3406
3785
  {
3407
3786
  "data-slot": "dropdown-menu-sub-content",
3408
- className: cn28(
3787
+ className: cn32(
3409
3788
  "w-auto min-w-[96px] rounded-lg bg-background p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
3410
3789
  className
3411
3790
  ),
@@ -3424,24 +3803,24 @@ function DropdownMenuCheckboxItem({
3424
3803
  inset,
3425
3804
  ...props
3426
3805
  }) {
3427
- return /* @__PURE__ */ jsxs16(
3806
+ return /* @__PURE__ */ jsxs19(
3428
3807
  MenuPrimitive.CheckboxItem,
3429
3808
  {
3430
3809
  "data-slot": "dropdown-menu-checkbox-item",
3431
3810
  "data-inset": inset,
3432
- className: cn28(
3811
+ className: cn32(
3433
3812
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3434
3813
  className
3435
3814
  ),
3436
3815
  checked,
3437
3816
  ...props,
3438
3817
  children: [
3439
- /* @__PURE__ */ jsx28(
3818
+ /* @__PURE__ */ jsx34(
3440
3819
  "span",
3441
3820
  {
3442
3821
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
3443
3822
  "data-slot": "dropdown-menu-checkbox-item-indicator",
3444
- children: /* @__PURE__ */ jsx28(MenuPrimitive.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx28(CheckIcon, {}) })
3823
+ children: /* @__PURE__ */ jsx34(MenuPrimitive.CheckboxItemIndicator, { children: /* @__PURE__ */ jsx34(CheckIcon, {}) })
3445
3824
  }
3446
3825
  ),
3447
3826
  children
@@ -3450,7 +3829,7 @@ function DropdownMenuCheckboxItem({
3450
3829
  );
3451
3830
  }
3452
3831
  function DropdownMenuRadioGroup({ ...props }) {
3453
- return /* @__PURE__ */ jsx28(
3832
+ return /* @__PURE__ */ jsx34(
3454
3833
  MenuPrimitive.RadioGroup,
3455
3834
  {
3456
3835
  "data-slot": "dropdown-menu-radio-group",
@@ -3464,23 +3843,23 @@ function DropdownMenuRadioItem({
3464
3843
  inset,
3465
3844
  ...props
3466
3845
  }) {
3467
- return /* @__PURE__ */ jsxs16(
3846
+ return /* @__PURE__ */ jsxs19(
3468
3847
  MenuPrimitive.RadioItem,
3469
3848
  {
3470
3849
  "data-slot": "dropdown-menu-radio-item",
3471
3850
  "data-inset": inset,
3472
- className: cn28(
3851
+ className: cn32(
3473
3852
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3474
3853
  className
3475
3854
  ),
3476
3855
  ...props,
3477
3856
  children: [
3478
- /* @__PURE__ */ jsx28(
3857
+ /* @__PURE__ */ jsx34(
3479
3858
  "span",
3480
3859
  {
3481
3860
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
3482
3861
  "data-slot": "dropdown-menu-radio-item-indicator",
3483
- children: /* @__PURE__ */ jsx28(MenuPrimitive.RadioItemIndicator, { children: /* @__PURE__ */ jsx28(CheckIcon, {}) })
3862
+ children: /* @__PURE__ */ jsx34(MenuPrimitive.RadioItemIndicator, { children: /* @__PURE__ */ jsx34(CheckIcon, {}) })
3484
3863
  }
3485
3864
  ),
3486
3865
  children
@@ -3492,11 +3871,11 @@ function DropdownMenuSeparator({
3492
3871
  className,
3493
3872
  ...props
3494
3873
  }) {
3495
- return /* @__PURE__ */ jsx28(
3874
+ return /* @__PURE__ */ jsx34(
3496
3875
  MenuPrimitive.Separator,
3497
3876
  {
3498
3877
  "data-slot": "dropdown-menu-separator",
3499
- className: cn28("-mx-1 my-1 h-px bg-border", className),
3878
+ className: cn32("-mx-1 my-1 h-px bg-border", className),
3500
3879
  ...props
3501
3880
  }
3502
3881
  );
@@ -3505,11 +3884,11 @@ function DropdownMenuShortcut({
3505
3884
  className,
3506
3885
  ...props
3507
3886
  }) {
3508
- return /* @__PURE__ */ jsx28(
3887
+ return /* @__PURE__ */ jsx34(
3509
3888
  "span",
3510
3889
  {
3511
3890
  "data-slot": "dropdown-menu-shortcut",
3512
- className: cn28(
3891
+ className: cn32(
3513
3892
  "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
3514
3893
  className
3515
3894
  ),
@@ -3520,14 +3899,14 @@ function DropdownMenuShortcut({
3520
3899
 
3521
3900
  // src/ui/empty.tsx
3522
3901
  import { cva as cva6 } from "class-variance-authority";
3523
- import { cn as cn29 } from "cn";
3524
- import { jsx as jsx29 } from "react/jsx-runtime";
3902
+ import { cn as cn33 } from "cn";
3903
+ import { jsx as jsx35 } from "react/jsx-runtime";
3525
3904
  function Empty({ className, ...props }) {
3526
- return /* @__PURE__ */ jsx29(
3905
+ return /* @__PURE__ */ jsx35(
3527
3906
  "div",
3528
3907
  {
3529
3908
  "data-slot": "empty",
3530
- className: cn29(
3909
+ className: cn33(
3531
3910
  "flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",
3532
3911
  className
3533
3912
  ),
@@ -3536,11 +3915,11 @@ function Empty({ className, ...props }) {
3536
3915
  );
3537
3916
  }
3538
3917
  function EmptyHeader({ className, ...props }) {
3539
- return /* @__PURE__ */ jsx29(
3918
+ return /* @__PURE__ */ jsx35(
3540
3919
  "div",
3541
3920
  {
3542
3921
  "data-slot": "empty-header",
3543
- className: cn29("flex max-w-sm flex-col items-center gap-2", className),
3922
+ className: cn33("flex max-w-sm flex-col items-center gap-2", className),
3544
3923
  ...props
3545
3924
  }
3546
3925
  );
@@ -3564,32 +3943,32 @@ function EmptyMedia({
3564
3943
  variant = "default",
3565
3944
  ...props
3566
3945
  }) {
3567
- return /* @__PURE__ */ jsx29(
3946
+ return /* @__PURE__ */ jsx35(
3568
3947
  "div",
3569
3948
  {
3570
3949
  "data-slot": "empty-icon",
3571
3950
  "data-variant": variant,
3572
- className: cn29(emptyMediaVariants({ variant, className })),
3951
+ className: cn33(emptyMediaVariants({ variant, className })),
3573
3952
  ...props
3574
3953
  }
3575
3954
  );
3576
3955
  }
3577
3956
  function EmptyTitle({ className, ...props }) {
3578
- return /* @__PURE__ */ jsx29(
3957
+ return /* @__PURE__ */ jsx35(
3579
3958
  "div",
3580
3959
  {
3581
3960
  "data-slot": "empty-title",
3582
- className: cn29("text-sm font-medium tracking-tight", className),
3961
+ className: cn33("text-sm font-medium tracking-tight", className),
3583
3962
  ...props
3584
3963
  }
3585
3964
  );
3586
3965
  }
3587
3966
  function EmptyDescription({ className, ...props }) {
3588
- return /* @__PURE__ */ jsx29(
3967
+ return /* @__PURE__ */ jsx35(
3589
3968
  "div",
3590
3969
  {
3591
3970
  "data-slot": "empty-description",
3592
- className: cn29(
3971
+ className: cn33(
3593
3972
  "text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3594
3973
  className
3595
3974
  ),
@@ -3598,11 +3977,11 @@ function EmptyDescription({ className, ...props }) {
3598
3977
  );
3599
3978
  }
3600
3979
  function EmptyContent({ className, ...props }) {
3601
- return /* @__PURE__ */ jsx29(
3980
+ return /* @__PURE__ */ jsx35(
3602
3981
  "div",
3603
3982
  {
3604
3983
  "data-slot": "empty-content",
3605
- className: cn29(
3984
+ className: cn33(
3606
3985
  "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",
3607
3986
  className
3608
3987
  ),
@@ -3614,12 +3993,12 @@ function EmptyContent({ className, ...props }) {
3614
3993
  // src/ui/farmer/div.tsx
3615
3994
  import { motion as motion5 } from "motion/react";
3616
3995
  import React10 from "react";
3617
- import { jsx as jsx30 } from "react/jsx-runtime";
3996
+ import { jsx as jsx36 } from "react/jsx-runtime";
3618
3997
  var AnimatedDiv = React10.forwardRef(
3619
3998
  ({ variants, mobileVariants, className, children, infinity, ...motionProps }, ref) => {
3620
3999
  const isDesktop = useMediaQuery("(min-width: 768px)");
3621
4000
  const selectedVariants = !isDesktop && mobileVariants ? mobileVariants : variants;
3622
- return /* @__PURE__ */ jsx30(
4001
+ return /* @__PURE__ */ jsx36(
3623
4002
  motion5.div,
3624
4003
  {
3625
4004
  ref,
@@ -3937,17 +4316,17 @@ var kanbanOrderCardLayoutTransition = {
3937
4316
  // src/ui/field.tsx
3938
4317
  import { cva as cva7 } from "class-variance-authority";
3939
4318
  import { useMemo as useMemo3 } from "react";
3940
- import { cn as cn31 } from "cn";
4319
+ import { cn as cn35 } from "cn";
3941
4320
 
3942
4321
  // src/ui/label.tsx
3943
- import { cn as cn30 } from "cn";
3944
- import { jsx as jsx31 } from "react/jsx-runtime";
4322
+ import { cn as cn34 } from "cn";
4323
+ import { jsx as jsx37 } from "react/jsx-runtime";
3945
4324
  function Label({ className, ...props }) {
3946
- return /* @__PURE__ */ jsx31(
4325
+ return /* @__PURE__ */ jsx37(
3947
4326
  "label",
3948
4327
  {
3949
4328
  "data-slot": "label",
3950
- className: cn30(
4329
+ className: cn34(
3951
4330
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
3952
4331
  className
3953
4332
  ),
@@ -3957,13 +4336,13 @@ function Label({ className, ...props }) {
3957
4336
  }
3958
4337
 
3959
4338
  // src/ui/field.tsx
3960
- import { jsx as jsx32, jsxs as jsxs17 } from "react/jsx-runtime";
4339
+ import { jsx as jsx38, jsxs as jsxs20 } from "react/jsx-runtime";
3961
4340
  function FieldSet({ className, ...props }) {
3962
- return /* @__PURE__ */ jsx32(
4341
+ return /* @__PURE__ */ jsx38(
3963
4342
  "fieldset",
3964
4343
  {
3965
4344
  "data-slot": "field-set",
3966
- className: cn31(
4345
+ className: cn35(
3967
4346
  "flex flex-col gap-1 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
3968
4347
  className
3969
4348
  ),
@@ -3976,12 +4355,12 @@ function FieldLegend({
3976
4355
  variant = "legend",
3977
4356
  ...props
3978
4357
  }) {
3979
- return /* @__PURE__ */ jsx32(
4358
+ return /* @__PURE__ */ jsx38(
3980
4359
  "legend",
3981
4360
  {
3982
4361
  "data-slot": "field-legend",
3983
4362
  "data-variant": variant,
3984
- className: cn31(
4363
+ className: cn35(
3985
4364
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
3986
4365
  className
3987
4366
  ),
@@ -3990,11 +4369,11 @@ function FieldLegend({
3990
4369
  );
3991
4370
  }
3992
4371
  function FieldGroup({ className, ...props }) {
3993
- return /* @__PURE__ */ jsx32(
4372
+ return /* @__PURE__ */ jsx38(
3994
4373
  "div",
3995
4374
  {
3996
4375
  "data-slot": "field-group",
3997
- className: cn31(
4376
+ className: cn35(
3998
4377
  "group/field-group @container/field-group flex w-full flex-col gap-2 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",
3999
4378
  className
4000
4379
  ),
@@ -4022,23 +4401,23 @@ function Field({
4022
4401
  orientation = "vertical",
4023
4402
  ...props
4024
4403
  }) {
4025
- return /* @__PURE__ */ jsx32(
4404
+ return /* @__PURE__ */ jsx38(
4026
4405
  "div",
4027
4406
  {
4028
4407
  role: "group",
4029
4408
  "data-slot": "field",
4030
4409
  "data-orientation": orientation,
4031
- className: cn31(fieldVariants({ orientation }), className),
4410
+ className: cn35(fieldVariants({ orientation }), className),
4032
4411
  ...props
4033
4412
  }
4034
4413
  );
4035
4414
  }
4036
4415
  function FieldContent({ className, ...props }) {
4037
- return /* @__PURE__ */ jsx32(
4416
+ return /* @__PURE__ */ jsx38(
4038
4417
  "div",
4039
4418
  {
4040
4419
  "data-slot": "field-content",
4041
- className: cn31(
4420
+ className: cn35(
4042
4421
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4043
4422
  className
4044
4423
  ),
@@ -4050,11 +4429,11 @@ function FieldLabel({
4050
4429
  className,
4051
4430
  ...props
4052
4431
  }) {
4053
- return /* @__PURE__ */ jsx32(
4432
+ return /* @__PURE__ */ jsx38(
4054
4433
  Label,
4055
4434
  {
4056
4435
  "data-slot": "field-label",
4057
- className: cn31(
4436
+ className: cn35(
4058
4437
  "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
4059
4438
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4060
4439
  className
@@ -4064,11 +4443,11 @@ function FieldLabel({
4064
4443
  );
4065
4444
  }
4066
4445
  function FieldTitle({ className, ...props }) {
4067
- return /* @__PURE__ */ jsx32(
4446
+ return /* @__PURE__ */ jsx38(
4068
4447
  "div",
4069
4448
  {
4070
4449
  "data-slot": "field-label",
4071
- className: cn31(
4450
+ className: cn35(
4072
4451
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4073
4452
  className
4074
4453
  ),
@@ -4077,11 +4456,11 @@ function FieldTitle({ className, ...props }) {
4077
4456
  );
4078
4457
  }
4079
4458
  function FieldDescription({ className, ...props }) {
4080
- return /* @__PURE__ */ jsx32(
4459
+ return /* @__PURE__ */ jsx38(
4081
4460
  "p",
4082
4461
  {
4083
4462
  "data-slot": "field-description",
4084
- className: cn31(
4463
+ className: cn35(
4085
4464
  "text-left text-[10px] leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4086
4465
  "last:mt-0 nth-last-2:-mt-1",
4087
4466
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4096,19 +4475,19 @@ function FieldSeparator({
4096
4475
  className,
4097
4476
  ...props
4098
4477
  }) {
4099
- return /* @__PURE__ */ jsxs17(
4478
+ return /* @__PURE__ */ jsxs20(
4100
4479
  "div",
4101
4480
  {
4102
4481
  "data-slot": "field-separator",
4103
4482
  "data-content": !!children,
4104
- className: cn31(
4483
+ className: cn35(
4105
4484
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4106
4485
  className
4107
4486
  ),
4108
4487
  ...props,
4109
4488
  children: [
4110
- /* @__PURE__ */ jsx32(Separator, { className: "absolute inset-0 top-1/2" }),
4111
- children && /* @__PURE__ */ jsx32(
4489
+ /* @__PURE__ */ jsx38(Separator, { className: "absolute inset-0 top-1/2" }),
4490
+ children && /* @__PURE__ */ jsx38(
4112
4491
  "span",
4113
4492
  {
4114
4493
  className: "relative mx-auto block w-fit px-2 text-muted-foreground",
@@ -4139,19 +4518,19 @@ function FieldError({
4139
4518
  if (uniqueErrors?.length == 1) {
4140
4519
  return uniqueErrors[0]?.message;
4141
4520
  }
4142
- return /* @__PURE__ */ jsx32("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4143
- (error, index) => error?.message && /* @__PURE__ */ jsx32("li", { children: error.message }, index)
4521
+ return /* @__PURE__ */ jsx38("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4522
+ (error, index) => error?.message && /* @__PURE__ */ jsx38("li", { children: error.message }, index)
4144
4523
  ) });
4145
4524
  }, [children, errors]);
4146
4525
  if (!content) {
4147
4526
  return null;
4148
4527
  }
4149
- return /* @__PURE__ */ jsx32(
4528
+ return /* @__PURE__ */ jsx38(
4150
4529
  "div",
4151
4530
  {
4152
4531
  role: "alert",
4153
4532
  "data-slot": "field-error",
4154
- className: cn31("text-sm font-normal text-destructive", className),
4533
+ className: cn35("text-sm font-normal text-destructive", className),
4155
4534
  ...props,
4156
4535
  children: content
4157
4536
  }
@@ -4173,14 +4552,14 @@ import {
4173
4552
  } from "react";
4174
4553
 
4175
4554
  // src/ui/kbd.tsx
4176
- import { cn as cn32 } from "cn";
4177
- import { jsx as jsx33 } from "react/jsx-runtime";
4555
+ import { cn as cn36 } from "cn";
4556
+ import { jsx as jsx39 } from "react/jsx-runtime";
4178
4557
  function Kbd({ className, ...props }) {
4179
- return /* @__PURE__ */ jsx33(
4558
+ return /* @__PURE__ */ jsx39(
4180
4559
  "kbd",
4181
4560
  {
4182
4561
  "data-slot": "kbd",
4183
- className: cn32(
4562
+ className: cn36(
4184
4563
  "pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 text-xs font-medium text-muted-foreground select-none in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 [&_svg:not([class*='size-'])]:size-3",
4185
4564
  className
4186
4565
  ),
@@ -4189,20 +4568,20 @@ function Kbd({ className, ...props }) {
4189
4568
  );
4190
4569
  }
4191
4570
  function KbdGroup({ className, ...props }) {
4192
- return /* @__PURE__ */ jsx33(
4571
+ return /* @__PURE__ */ jsx39(
4193
4572
  "kbd",
4194
4573
  {
4195
4574
  "data-slot": "kbd-group",
4196
- className: cn32("inline-flex items-center gap-1", className),
4575
+ className: cn36("inline-flex items-center gap-1", className),
4197
4576
  ...props
4198
4577
  }
4199
4578
  );
4200
4579
  }
4201
4580
 
4202
4581
  // src/ui/filters.tsx
4203
- import { cn as cn33 } from "cn";
4582
+ import { cn as cn37 } from "cn";
4204
4583
  import { AlertCircleIcon, CheckIcon as CheckIcon2, PlusIcon, XIcon } from "lucide-react";
4205
- import { Fragment as Fragment2, jsx as jsx34, jsxs as jsxs18 } from "react/jsx-runtime";
4584
+ import { Fragment as Fragment3, jsx as jsx40, jsxs as jsxs21 } from "react/jsx-runtime";
4206
4585
  var DEFAULT_I18N = {
4207
4586
  // UI Labels
4208
4587
  addFilter: "Filter",
@@ -4368,10 +4747,10 @@ function FilterInput({
4368
4747
  }
4369
4748
  onKeyDown?.(e);
4370
4749
  };
4371
- return /* @__PURE__ */ jsxs18(
4750
+ return /* @__PURE__ */ jsxs21(
4372
4751
  InputGroup,
4373
4752
  {
4374
- className: cn33(
4753
+ className: cn37(
4375
4754
  "w-36",
4376
4755
  // Height follows each style's own control ladder. `default` sets no
4377
4756
  // height on purpose so the style's `.cn-input-group` applies (h-8 nova,
@@ -4386,8 +4765,8 @@ function FilterInput({
4386
4765
  className
4387
4766
  ),
4388
4767
  children: [
4389
- field?.prefix && /* @__PURE__ */ jsx34(InputGroupAddon, { children: /* @__PURE__ */ jsx34(InputGroupText, { children: field.prefix }) }),
4390
- /* @__PURE__ */ jsx34(
4768
+ field?.prefix && /* @__PURE__ */ jsx40(InputGroupAddon, { children: /* @__PURE__ */ jsx40(InputGroupText, { children: field.prefix }) }),
4769
+ /* @__PURE__ */ jsx40(
4391
4770
  InputGroupInput,
4392
4771
  {
4393
4772
  ref: inputRef,
@@ -4395,29 +4774,29 @@ function FilterInput({
4395
4774
  "aria-describedby": !isValid && validationMessage ? `${field?.key || "input"}-error` : void 0,
4396
4775
  onBlur: handleBlur,
4397
4776
  onKeyDown: handleKeyDown,
4398
- className: cn33(
4777
+ className: cn37(
4399
4778
  context.size == "sm" && "h-7! text-xs",
4400
4779
  context.size == "lg" && "h-9!"
4401
4780
  ),
4402
4781
  ...props
4403
4782
  }
4404
4783
  ),
4405
- !isValid && validationMessage && /* @__PURE__ */ jsx34(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsxs18(Tooltip, { children: [
4406
- /* @__PURE__ */ jsx34(TooltipTrigger, { render: /* @__PURE__ */ jsx34(InputGroupButton, { size: "icon-xs" }), children: /* @__PURE__ */ jsx34(AlertCircleIcon, { className: "size-3.5 text-destructive" }) }),
4407
- /* @__PURE__ */ jsx34(TooltipContent, { children: /* @__PURE__ */ jsx34("p", { className: "text-sm", children: validationMessage }) })
4784
+ !isValid && validationMessage && /* @__PURE__ */ jsx40(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsxs21(Tooltip, { children: [
4785
+ /* @__PURE__ */ jsx40(TooltipTrigger, { render: /* @__PURE__ */ jsx40(InputGroupButton, { size: "icon-xs" }), children: /* @__PURE__ */ jsx40(AlertCircleIcon, { className: "size-3.5 text-destructive" }) }),
4786
+ /* @__PURE__ */ jsx40(TooltipContent, { children: /* @__PURE__ */ jsx40("p", { className: "text-sm", children: validationMessage }) })
4408
4787
  ] }) }),
4409
- field?.suffix && /* @__PURE__ */ jsx34(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx34(InputGroupText, { children: field.suffix }) })
4788
+ field?.suffix && /* @__PURE__ */ jsx40(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx40(InputGroupText, { children: field.suffix }) })
4410
4789
  ]
4411
4790
  }
4412
4791
  );
4413
4792
  }
4414
4793
  function FilterRemoveButton({
4415
4794
  className,
4416
- icon = /* @__PURE__ */ jsx34(XIcon, {}),
4795
+ icon = /* @__PURE__ */ jsx40(XIcon, {}),
4417
4796
  ...props
4418
4797
  }) {
4419
4798
  const context = useFilterContext();
4420
- return /* @__PURE__ */ jsx34(
4799
+ return /* @__PURE__ */ jsx40(
4421
4800
  Button,
4422
4801
  {
4423
4802
  variant: "outline",
@@ -4588,11 +4967,11 @@ function FilterOperatorDropdown({
4588
4967
  [field, values, context.i18n]
4589
4968
  );
4590
4969
  const operatorLabel = operators.find((op) => op.value === operator)?.label || context.i18n.helpers.formatOperator(operator);
4591
- return /* @__PURE__ */ jsxs18(DropdownMenu, { children: [
4592
- /* @__PURE__ */ jsx34(
4970
+ return /* @__PURE__ */ jsxs21(DropdownMenu, { children: [
4971
+ /* @__PURE__ */ jsx40(
4593
4972
  DropdownMenuTrigger,
4594
4973
  {
4595
- render: /* @__PURE__ */ jsx34(
4974
+ render: /* @__PURE__ */ jsx40(
4596
4975
  Button,
4597
4976
  {
4598
4977
  variant: "outline",
@@ -4603,19 +4982,19 @@ function FilterOperatorDropdown({
4603
4982
  )
4604
4983
  }
4605
4984
  ),
4606
- /* @__PURE__ */ jsx34(DropdownMenuContent, { align: "start", className: "w-fit min-w-fit", children: operators.map((op) => /* @__PURE__ */ jsxs18(
4985
+ /* @__PURE__ */ jsx40(DropdownMenuContent, { align: "start", className: "w-fit min-w-fit", children: operators.map((op) => /* @__PURE__ */ jsxs21(
4607
4986
  DropdownMenuItem,
4608
4987
  {
4609
4988
  onClick: () => onChange(op.value),
4610
- className: cn33(
4989
+ className: cn37(
4611
4990
  "flex items-center justify-between data-highlighted:bg-accent data-highlighted:text-accent-foreground"
4612
4991
  ),
4613
4992
  children: [
4614
- /* @__PURE__ */ jsx34("span", { children: op.label }),
4615
- /* @__PURE__ */ jsx34(
4993
+ /* @__PURE__ */ jsx40("span", { children: op.label }),
4994
+ /* @__PURE__ */ jsx40(
4616
4995
  CheckIcon2,
4617
4996
  {
4618
- className: cn33(
4997
+ className: cn37(
4619
4998
  "ms-auto text-primary",
4620
4999
  op.value === operator ? "opacity-100" : "opacity-0"
4621
5000
  )
@@ -4696,7 +5075,7 @@ function SelectOptionsPopover({
4696
5075
  const isSelected = effectiveValues.includes(option.value);
4697
5076
  const isHighlighted = highlightedIndex === overallIndex;
4698
5077
  const itemId = `${baseId}-item-${overallIndex}`;
4699
- return /* @__PURE__ */ jsxs18(
5078
+ return /* @__PURE__ */ jsxs21(
4700
5079
  DropdownMenuCheckboxItem,
4701
5080
  {
4702
5081
  id: itemId,
@@ -4705,7 +5084,7 @@ function SelectOptionsPopover({
4705
5084
  "data-highlighted": isHighlighted || void 0,
4706
5085
  onMouseEnter: () => setHighlightedIndex(overallIndex),
4707
5086
  checked: isSelected,
4708
- className: cn33(
5087
+ className: cn37(
4709
5088
  "data-highlighted:bg-accent data-highlighted:text-accent-foreground",
4710
5089
  option.className
4711
5090
  ),
@@ -4715,15 +5094,15 @@ function SelectOptionsPopover({
4715
5094
  onCheckedChange: () => toggleOption(option),
4716
5095
  children: [
4717
5096
  option.icon && option.icon,
4718
- /* @__PURE__ */ jsx34("span", { className: "truncate", children: option.label })
5097
+ /* @__PURE__ */ jsx40("span", { className: "truncate", children: option.label })
4719
5098
  ]
4720
5099
  },
4721
5100
  String(option.value)
4722
5101
  );
4723
5102
  };
4724
- const renderMenuContent = () => /* @__PURE__ */ jsxs18(Fragment2, { children: [
4725
- field.searchable !== false && /* @__PURE__ */ jsxs18(Fragment2, { children: [
4726
- /* @__PURE__ */ jsx34(
5103
+ const renderMenuContent = () => /* @__PURE__ */ jsxs21(Fragment3, { children: [
5104
+ field.searchable !== false && /* @__PURE__ */ jsxs21(Fragment3, { children: [
5105
+ /* @__PURE__ */ jsx40(
4727
5106
  Input,
4728
5107
  {
4729
5108
  ref: inputRef,
@@ -4736,7 +5115,7 @@ function SelectOptionsPopover({
4736
5115
  placeholder: context.i18n.placeholders.searchField(
4737
5116
  field.label || ""
4738
5117
  ),
4739
- className: cn33(
5118
+ className: cn37(
4740
5119
  "h-8 rounded-none border-0 border-input bg-transparent! px-2 text-sm shadow-none",
4741
5120
  "focus-visible:border-border focus-visible:ring-0 focus-visible:ring-offset-0",
4742
5121
  open && "placeholder:text-foreground"
@@ -4784,24 +5163,24 @@ function SelectOptionsPopover({
4784
5163
  }
4785
5164
  }
4786
5165
  ),
4787
- /* @__PURE__ */ jsx34(DropdownMenuSeparator, {})
5166
+ /* @__PURE__ */ jsx40(DropdownMenuSeparator, {})
4788
5167
  ] }),
4789
- /* @__PURE__ */ jsx34("div", { className: "relative flex max-h-full", children: /* @__PURE__ */ jsx34(
5168
+ /* @__PURE__ */ jsx40("div", { className: "relative flex max-h-full", children: /* @__PURE__ */ jsx40(
4790
5169
  "div",
4791
5170
  {
4792
5171
  className: "flex max-h-[min(var(--available-height),24rem)] w-full scroll-pt-2 scroll-pb-2 flex-col overscroll-contain",
4793
5172
  role: "listbox",
4794
5173
  id: `${baseId}-listbox`,
4795
- children: isAsync && loading && allFilteredOptions.length === 0 ? /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: context.i18n.loadingOptions ?? DEFAULT_I18N.loadingOptions }) : isAsync && error ? /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: context.i18n.errorLoadingOptions ?? DEFAULT_I18N.errorLoadingOptions }) : allFilteredOptions.length === 0 ? /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: context.i18n.noResultsFound }) : field.renderOptionList ? field.renderOptionList({
5174
+ children: isAsync && loading && allFilteredOptions.length === 0 ? /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: context.i18n.loadingOptions ?? DEFAULT_I18N.loadingOptions }) : isAsync && error ? /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: context.i18n.errorLoadingOptions ?? DEFAULT_I18N.errorLoadingOptions }) : allFilteredOptions.length === 0 ? /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: context.i18n.noResultsFound }) : field.renderOptionList ? field.renderOptionList({
4796
5175
  options: allFilteredOptions,
4797
5176
  highlightedIndex,
4798
5177
  renderOption: renderOptionItem
4799
- }) : /* @__PURE__ */ jsxs18(ScrollArea, { className: "size-full min-h-0 **:data-[slot=scroll-area-scrollbar]:m-0 **:data-[slot=scroll-area-viewport]:h-full **:data-[slot=scroll-area-viewport]:overscroll-contain", children: [
4800
- filteredSelectedOptions.length > 0 && /* @__PURE__ */ jsx34(DropdownMenuGroup, { className: "px-1", children: filteredSelectedOptions.map(
5178
+ }) : /* @__PURE__ */ jsxs21(ScrollArea, { className: "size-full min-h-0 **:data-[slot=scroll-area-scrollbar]:m-0 **:data-[slot=scroll-area-viewport]:h-full **:data-[slot=scroll-area-viewport]:overscroll-contain", children: [
5179
+ filteredSelectedOptions.length > 0 && /* @__PURE__ */ jsx40(DropdownMenuGroup, { className: "px-1", children: filteredSelectedOptions.map(
4801
5180
  (option, index) => renderOptionItem(option, index)
4802
5181
  ) }),
4803
- filteredSelectedOptions.length > 0 && filteredUnselectedOptions.length > 0 && /* @__PURE__ */ jsx34(DropdownMenuSeparator, { className: "mx-0" }),
4804
- filteredUnselectedOptions.length > 0 && /* @__PURE__ */ jsx34(DropdownMenuGroup, { className: "px-1", children: filteredUnselectedOptions.map(
5182
+ filteredSelectedOptions.length > 0 && filteredUnselectedOptions.length > 0 && /* @__PURE__ */ jsx40(DropdownMenuSeparator, { className: "mx-0" }),
5183
+ filteredUnselectedOptions.length > 0 && /* @__PURE__ */ jsx40(DropdownMenuGroup, { className: "px-1", children: filteredUnselectedOptions.map(
4805
5184
  (option, index) => renderOptionItem(
4806
5185
  option,
4807
5186
  index + filteredSelectedOptions.length
@@ -4812,9 +5191,9 @@ function SelectOptionsPopover({
4812
5191
  ) })
4813
5192
  ] });
4814
5193
  if (inline) {
4815
- return /* @__PURE__ */ jsx34("div", { className: "w-full", children: renderMenuContent() });
5194
+ return /* @__PURE__ */ jsx40("div", { className: "w-full", children: renderMenuContent() });
4816
5195
  }
4817
- return /* @__PURE__ */ jsxs18(
5196
+ return /* @__PURE__ */ jsxs21(
4818
5197
  DropdownMenu,
4819
5198
  {
4820
5199
  open,
@@ -4825,23 +5204,23 @@ function SelectOptionsPopover({
4825
5204
  }
4826
5205
  },
4827
5206
  children: [
4828
- /* @__PURE__ */ jsx34(
5207
+ /* @__PURE__ */ jsx40(
4829
5208
  DropdownMenuTrigger,
4830
5209
  {
4831
- render: /* @__PURE__ */ jsx34(Button, { variant: "outline", size: context.size, children: /* @__PURE__ */ jsx34("div", { className: "flex items-center gap-1.5", children: field.customValueRenderer ? field.customValueRenderer(
5210
+ render: /* @__PURE__ */ jsx40(Button, { variant: "outline", size: context.size, children: /* @__PURE__ */ jsx40("div", { className: "flex items-center gap-1.5", children: field.customValueRenderer ? field.customValueRenderer(
4832
5211
  values,
4833
5212
  isAsync ? resolveSelected(values) : field.options || []
4834
- ) : /* @__PURE__ */ jsxs18(Fragment2, { children: [
4835
- selectedOptions.length > 0 && /* @__PURE__ */ jsx34("div", { className: "flex items-center -space-x-1.5", children: selectedOptions.slice(0, 3).map((option) => /* @__PURE__ */ jsx34("div", { children: option.icon }, String(option.value))) }),
5213
+ ) : /* @__PURE__ */ jsxs21(Fragment3, { children: [
5214
+ selectedOptions.length > 0 && /* @__PURE__ */ jsx40("div", { className: "flex items-center -space-x-1.5", children: selectedOptions.slice(0, 3).map((option) => /* @__PURE__ */ jsx40("div", { children: option.icon }, String(option.value))) }),
4836
5215
  selectedOptions.length === 1 ? selectedOptions[0].label : selectedOptions.length > 1 ? `${selectedOptions.length} ${context.i18n.selectedCount}` : context.i18n.select
4837
5216
  ] }) }) })
4838
5217
  }
4839
5218
  ),
4840
- /* @__PURE__ */ jsx34(
5219
+ /* @__PURE__ */ jsx40(
4841
5220
  DropdownMenuContent,
4842
5221
  {
4843
5222
  align: "start",
4844
- className: cn33("w-50 px-0", field.className),
5223
+ className: cn37("w-50 px-0", field.className),
4845
5224
  children: renderMenuContent()
4846
5225
  }
4847
5226
  )
@@ -4860,10 +5239,10 @@ function FilterValueSelector({
4860
5239
  return null;
4861
5240
  }
4862
5241
  if (field.customRenderer) {
4863
- return /* @__PURE__ */ jsx34(ButtonGroupText, { className: "bg-background text-start whitespace-nowrap outline-hidden hover:bg-accent aria-expanded:bg-accent dark:bg-input/30", children: field.customRenderer({ field, values, onChange, operator }) });
5242
+ return /* @__PURE__ */ jsx40(ButtonGroupText, { className: "bg-background text-start whitespace-nowrap outline-hidden hover:bg-accent aria-expanded:bg-accent dark:bg-input/30", children: field.customRenderer({ field, values, onChange, operator }) });
4864
5243
  }
4865
5244
  if (field.type === "text") {
4866
- return /* @__PURE__ */ jsx34(
5245
+ return /* @__PURE__ */ jsx40(
4867
5246
  FilterInput,
4868
5247
  {
4869
5248
  type: "text",
@@ -4872,15 +5251,15 @@ function FilterValueSelector({
4872
5251
  placeholder: field.placeholder,
4873
5252
  pattern: field.pattern,
4874
5253
  field,
4875
- className: cn33("w-36", field.className),
5254
+ className: cn37("w-36", field.className),
4876
5255
  autoFocus
4877
5256
  }
4878
5257
  );
4879
5258
  }
4880
5259
  if (field.type === "select" || field.type === "multiselect") {
4881
- return /* @__PURE__ */ jsx34(SelectOptionsPopover, { field, values, onChange });
5260
+ return /* @__PURE__ */ jsx40(SelectOptionsPopover, { field, values, onChange });
4882
5261
  }
4883
- return /* @__PURE__ */ jsx34(SelectOptionsPopover, { field, values, onChange });
5262
+ return /* @__PURE__ */ jsx40(SelectOptionsPopover, { field, values, onChange });
4884
5263
  }
4885
5264
  var FiltersContent = ({
4886
5265
  filters,
@@ -4912,10 +5291,10 @@ var FiltersContent = ({
4912
5291
  },
4913
5292
  [filters, onChange]
4914
5293
  );
4915
- return /* @__PURE__ */ jsx34(
5294
+ return /* @__PURE__ */ jsx40(
4916
5295
  "div",
4917
5296
  {
4918
- className: cn33(
5297
+ className: cn37(
4919
5298
  filtersContainerVariants({
4920
5299
  variant: context.variant,
4921
5300
  size: context.size
@@ -4925,16 +5304,16 @@ var FiltersContent = ({
4925
5304
  children: filters.map((filter) => {
4926
5305
  const field = fieldsMap[filter.field];
4927
5306
  if (!field) return null;
4928
- return /* @__PURE__ */ jsxs18(
5307
+ return /* @__PURE__ */ jsxs21(
4929
5308
  ButtonGroup,
4930
5309
  {
4931
5310
  className: "",
4932
5311
  children: [
4933
- /* @__PURE__ */ jsxs18(ButtonGroupText, { children: [
5312
+ /* @__PURE__ */ jsxs21(ButtonGroupText, { children: [
4934
5313
  field.icon && field.icon,
4935
5314
  field.label
4936
5315
  ] }),
4937
- /* @__PURE__ */ jsx34(
5316
+ /* @__PURE__ */ jsx40(
4938
5317
  FilterOperatorDropdown,
4939
5318
  {
4940
5319
  field,
@@ -4943,7 +5322,7 @@ var FiltersContent = ({
4943
5322
  onChange: (operator) => updateFilter(filter.id, { operator })
4944
5323
  }
4945
5324
  ),
4946
- /* @__PURE__ */ jsx34(
5325
+ /* @__PURE__ */ jsx40(
4947
5326
  FilterValueSelector,
4948
5327
  {
4949
5328
  field,
@@ -4953,7 +5332,7 @@ var FiltersContent = ({
4953
5332
  autoFocus: false
4954
5333
  }
4955
5334
  ),
4956
- /* @__PURE__ */ jsx34(FilterRemoveButton, { onClick: () => removeFilter(filter.id) })
5335
+ /* @__PURE__ */ jsx40(FilterRemoveButton, { onClick: () => removeFilter(filter.id) })
4957
5336
  ]
4958
5337
  },
4959
5338
  filter.id
@@ -5031,7 +5410,7 @@ function FilterSubmenuContent({
5031
5410
  const isSelected = currentValues.includes(option.value);
5032
5411
  const isHighlighted = highlightedIndex === index;
5033
5412
  const itemId = `${baseId}-item-${index}`;
5034
- return /* @__PURE__ */ jsxs18(
5413
+ return /* @__PURE__ */ jsxs21(
5035
5414
  DropdownMenuCheckboxItem,
5036
5415
  {
5037
5416
  id: itemId,
@@ -5040,7 +5419,7 @@ function FilterSubmenuContent({
5040
5419
  "data-highlighted": isHighlighted || void 0,
5041
5420
  onMouseEnter: () => setHighlightedIndex(index),
5042
5421
  checked: isSelected,
5043
- className: cn33(
5422
+ className: cn37(
5044
5423
  "data-highlighted:bg-accent data-highlighted:text-accent-foreground",
5045
5424
  option.className
5046
5425
  ),
@@ -5050,7 +5429,7 @@ function FilterSubmenuContent({
5050
5429
  onCheckedChange: () => onToggle(option.value, isSelected),
5051
5430
  children: [
5052
5431
  option.icon && option.icon,
5053
- /* @__PURE__ */ jsx34("span", { className: "truncate", children: option.label })
5432
+ /* @__PURE__ */ jsx40("span", { className: "truncate", children: option.label })
5054
5433
  ]
5055
5434
  },
5056
5435
  String(option.value)
@@ -5061,9 +5440,9 @@ function FilterSubmenuContent({
5061
5440
  setHighlightedIndex(0);
5062
5441
  }
5063
5442
  }, [isActive, filteredOptions.length]);
5064
- return /* @__PURE__ */ jsxs18("div", { className: "flex flex-col", onMouseEnter: onActive, children: [
5065
- field.searchable !== false && /* @__PURE__ */ jsxs18(Fragment2, { children: [
5066
- /* @__PURE__ */ jsx34(
5443
+ return /* @__PURE__ */ jsxs21("div", { className: "flex flex-col", onMouseEnter: onActive, children: [
5444
+ field.searchable !== false && /* @__PURE__ */ jsxs21(Fragment3, { children: [
5445
+ /* @__PURE__ */ jsx40(
5067
5446
  Input,
5068
5447
  {
5069
5448
  ref: inputRef,
@@ -5074,7 +5453,7 @@ function FilterSubmenuContent({
5074
5453
  "aria-controls": `${baseId}-listbox`,
5075
5454
  "aria-activedescendant": highlightedIndex >= 0 ? `${baseId}-item-${highlightedIndex}` : void 0,
5076
5455
  placeholder: i18n.placeholders.searchField(field.label || ""),
5077
- className: cn33(
5456
+ className: cn37(
5078
5457
  "h-8 rounded-none border-0 bg-transparent! px-2 text-sm shadow-none",
5079
5458
  "focus-visible:border-border focus-visible:ring-0 focus-visible:ring-offset-0",
5080
5459
  isActive && "placeholder:text-foreground"
@@ -5126,9 +5505,9 @@ function FilterSubmenuContent({
5126
5505
  }
5127
5506
  }
5128
5507
  ),
5129
- /* @__PURE__ */ jsx34(DropdownMenuSeparator, {})
5508
+ /* @__PURE__ */ jsx40(DropdownMenuSeparator, {})
5130
5509
  ] }),
5131
- /* @__PURE__ */ jsx34("div", { className: "relative flex max-h-full", children: /* @__PURE__ */ jsx34(
5510
+ /* @__PURE__ */ jsx40("div", { className: "relative flex max-h-full", children: /* @__PURE__ */ jsx40(
5132
5511
  "div",
5133
5512
  {
5134
5513
  className: "flex max-h-[min(var(--available-height),24rem)] w-full scroll-pt-2 scroll-pb-2 flex-col overscroll-contain outline-hidden",
@@ -5173,11 +5552,11 @@ function FilterSubmenuContent({
5173
5552
  e.stopPropagation();
5174
5553
  }
5175
5554
  },
5176
- children: isAsync && loading && filteredOptions.length === 0 ? /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: i18n.loadingOptions ?? DEFAULT_I18N.loadingOptions }) : isAsync && error ? /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: i18n.errorLoadingOptions ?? DEFAULT_I18N.errorLoadingOptions }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: i18n.noResultsFound }) : field.renderOptionList ? field.renderOptionList({
5555
+ children: isAsync && loading && filteredOptions.length === 0 ? /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: i18n.loadingOptions ?? DEFAULT_I18N.loadingOptions }) : isAsync && error ? /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: i18n.errorLoadingOptions ?? DEFAULT_I18N.errorLoadingOptions }) : filteredOptions.length === 0 ? /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: i18n.noResultsFound }) : field.renderOptionList ? field.renderOptionList({
5177
5556
  options: filteredOptions,
5178
5557
  highlightedIndex,
5179
5558
  renderOption: renderOptionItem
5180
- }) : /* @__PURE__ */ jsx34(ScrollArea, { className: "size-full min-h-0 **:data-[slot=scroll-area-scrollbar]:m-0 **:data-[slot=scroll-area-viewport]:h-full **:data-[slot=scroll-area-viewport]:overscroll-contain", children: /* @__PURE__ */ jsx34(DropdownMenuGroup, { children: filteredOptions.map(
5559
+ }) : /* @__PURE__ */ jsx40(ScrollArea, { className: "size-full min-h-0 **:data-[slot=scroll-area-scrollbar]:m-0 **:data-[slot=scroll-area-viewport]:h-full **:data-[slot=scroll-area-viewport]:overscroll-contain", children: /* @__PURE__ */ jsx40(DropdownMenuGroup, { children: filteredOptions.map(
5181
5560
  (option, index) => renderOptionItem(option, index)
5182
5561
  ) }) })
5183
5562
  }
@@ -5324,8 +5703,8 @@ function Filters({
5324
5703
  }
5325
5704
  }, [addFilterOpen, filteredFields.length]);
5326
5705
  const triggerButton = useRender4({
5327
- render: trigger ?? /* @__PURE__ */ jsxs18(Button, { variant: "outline", children: [
5328
- /* @__PURE__ */ jsx34(PlusIcon, {}),
5706
+ render: trigger ?? /* @__PURE__ */ jsxs21(Button, { variant: "outline", children: [
5707
+ /* @__PURE__ */ jsx40(PlusIcon, {}),
5329
5708
  mergedI18n.addFilter
5330
5709
  ] }),
5331
5710
  defaultTagName: "button"
@@ -5342,12 +5721,12 @@ function Filters({
5342
5721
  }),
5343
5722
  [variant, size, radius, mergedI18n, className, trigger, allowMultiple]
5344
5723
  );
5345
- return /* @__PURE__ */ jsx34(FilterContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs18(
5724
+ return /* @__PURE__ */ jsx40(FilterContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsxs21(
5346
5725
  "div",
5347
5726
  {
5348
- className: cn33(filtersContainerVariants({ variant, size }), className),
5727
+ className: cn37(filtersContainerVariants({ variant, size }), className),
5349
5728
  children: [
5350
- selectableFields.length > 0 && /* @__PURE__ */ jsxs18(
5729
+ selectableFields.length > 0 && /* @__PURE__ */ jsxs21(
5351
5730
  DropdownMenu,
5352
5731
  {
5353
5732
  open: addFilterOpen,
@@ -5361,16 +5740,16 @@ function Filters({
5361
5740
  }
5362
5741
  },
5363
5742
  children: [
5364
- /* @__PURE__ */ jsx34(DropdownMenuTrigger, { render: triggerButton }),
5365
- /* @__PURE__ */ jsxs18(
5743
+ /* @__PURE__ */ jsx40(DropdownMenuTrigger, { render: triggerButton }),
5744
+ /* @__PURE__ */ jsxs21(
5366
5745
  DropdownMenuContent,
5367
5746
  {
5368
- className: cn33("w-55", menuPopupClassName),
5747
+ className: cn37("w-55", menuPopupClassName),
5369
5748
  align: "start",
5370
5749
  children: [
5371
- showSearchInput && /* @__PURE__ */ jsxs18(Fragment2, { children: [
5372
- /* @__PURE__ */ jsxs18("div", { className: "relative", children: [
5373
- /* @__PURE__ */ jsx34(
5750
+ showSearchInput && /* @__PURE__ */ jsxs21(Fragment3, { children: [
5751
+ /* @__PURE__ */ jsxs21("div", { className: "relative", children: [
5752
+ /* @__PURE__ */ jsx40(
5374
5753
  Input,
5375
5754
  {
5376
5755
  ref: rootInputRef,
@@ -5378,7 +5757,7 @@ function Filters({
5378
5757
  "aria-controls": `${rootId}-listbox`,
5379
5758
  "aria-activedescendant": highlightedIndex >= 0 ? `${rootId}-item-${highlightedIndex}` : void 0,
5380
5759
  placeholder: mergedI18n.searchFields,
5381
- className: cn33(
5760
+ className: cn37(
5382
5761
  "h-8 rounded-none border-0 bg-transparent! px-2 text-sm shadow-none",
5383
5762
  "focus-visible:border-border focus-visible:ring-0 focus-visible:ring-offset-0",
5384
5763
  activeMenu === "root" && "placeholder:text-foreground"
@@ -5442,20 +5821,20 @@ function Filters({
5442
5821
  }
5443
5822
  }
5444
5823
  ),
5445
- enableShortcut && shortcutLabel && /* @__PURE__ */ jsx34(Kbd, { className: "absolute top-1/2 right-2 -translate-y-1/2 border bg-background", children: shortcutLabel })
5824
+ enableShortcut && shortcutLabel && /* @__PURE__ */ jsx40(Kbd, { className: "absolute top-1/2 right-2 -translate-y-1/2 border bg-background", children: shortcutLabel })
5446
5825
  ] }),
5447
- /* @__PURE__ */ jsx34(DropdownMenuSeparator, {})
5826
+ /* @__PURE__ */ jsx40(DropdownMenuSeparator, {})
5448
5827
  ] }),
5449
- /* @__PURE__ */ jsx34("div", { className: "relative flex max-h-full", children: /* @__PURE__ */ jsx34(
5828
+ /* @__PURE__ */ jsx40("div", { className: "relative flex max-h-full", children: /* @__PURE__ */ jsx40(
5450
5829
  "div",
5451
5830
  {
5452
5831
  className: "flex max-h-[min(var(--available-height),24rem)] w-full scroll-pt-2 scroll-pb-2 flex-col overscroll-contain",
5453
5832
  role: "listbox",
5454
5833
  id: `${rootId}-listbox`,
5455
5834
  onMouseEnter: () => setActiveMenu("root"),
5456
- children: /* @__PURE__ */ jsx34(ScrollArea, { className: "**:data-[slot=scroll-area-scrollbar]:m-0", children: (() => {
5835
+ children: /* @__PURE__ */ jsx40(ScrollArea, { className: "**:data-[slot=scroll-area-scrollbar]:m-0", children: (() => {
5457
5836
  if (filteredFields.length === 0) {
5458
- return /* @__PURE__ */ jsx34("div", { className: "py-2 text-center text-sm text-muted-foreground", children: mergedI18n.noFieldsFound });
5837
+ return /* @__PURE__ */ jsx40("div", { className: "py-2 text-center text-sm text-muted-foreground", children: mergedI18n.noFieldsFound });
5459
5838
  }
5460
5839
  return filteredFields.map((field, index) => {
5461
5840
  const isHighlighted = highlightedIndex === index;
@@ -5467,7 +5846,7 @@ function Filters({
5467
5846
  const sessionFilterId = sessionFilterIds[fieldKey];
5468
5847
  const sessionFilter = sessionFilterId ? filters.find((f) => f.id === sessionFilterId) : null;
5469
5848
  const currentValues = sessionFilter?.values || [];
5470
- return /* @__PURE__ */ jsxs18(
5849
+ return /* @__PURE__ */ jsxs21(
5471
5850
  DropdownMenuSub,
5472
5851
  {
5473
5852
  open: openSubMenu === fieldKey,
@@ -5482,7 +5861,7 @@ function Filters({
5482
5861
  }
5483
5862
  },
5484
5863
  children: [
5485
- /* @__PURE__ */ jsxs18(
5864
+ /* @__PURE__ */ jsxs21(
5486
5865
  DropdownMenuSubTrigger,
5487
5866
  {
5488
5867
  id: itemId,
@@ -5496,16 +5875,16 @@ function Filters({
5496
5875
  className: "data-highlighted:bg-accent data-highlighted:text-accent-foreground data-popup-open:bg-accent data-popup-open:text-accent-foreground",
5497
5876
  children: [
5498
5877
  field.icon,
5499
- /* @__PURE__ */ jsx34("span", { children: field.label })
5878
+ /* @__PURE__ */ jsx40("span", { children: field.label })
5500
5879
  ]
5501
5880
  }
5502
5881
  ),
5503
- /* @__PURE__ */ jsx34(
5882
+ /* @__PURE__ */ jsx40(
5504
5883
  DropdownMenuSubContent,
5505
5884
  {
5506
5885
  className: "w-50",
5507
5886
  side: "right",
5508
- children: /* @__PURE__ */ jsx34(
5887
+ children: /* @__PURE__ */ jsx40(
5509
5888
  FilterSubmenuContent,
5510
5889
  {
5511
5890
  field,
@@ -5578,7 +5957,7 @@ function Filters({
5578
5957
  fieldKey
5579
5958
  );
5580
5959
  }
5581
- return /* @__PURE__ */ jsxs18(
5960
+ return /* @__PURE__ */ jsxs21(
5582
5961
  DropdownMenuItem,
5583
5962
  {
5584
5963
  id: itemId,
@@ -5590,7 +5969,7 @@ function Filters({
5590
5969
  className: "data-highlighted:bg-accent data-highlighted:text-accent-foreground",
5591
5970
  children: [
5592
5971
  field.icon,
5593
- /* @__PURE__ */ jsx34("span", { children: field.label })
5972
+ /* @__PURE__ */ jsx40("span", { children: field.label })
5594
5973
  ]
5595
5974
  },
5596
5975
  field.key
@@ -5608,16 +5987,16 @@ function Filters({
5608
5987
  filters.map((filter) => {
5609
5988
  const field = fieldsMap[filter.field];
5610
5989
  if (!field) return null;
5611
- return /* @__PURE__ */ jsxs18(
5990
+ return /* @__PURE__ */ jsxs21(
5612
5991
  ButtonGroup,
5613
5992
  {
5614
5993
  className: "",
5615
5994
  children: [
5616
- /* @__PURE__ */ jsxs18(ButtonGroupText, { className: "bg-background dark:bg-input/30", children: [
5995
+ /* @__PURE__ */ jsxs21(ButtonGroupText, { className: "bg-background dark:bg-input/30", children: [
5617
5996
  field.icon && field.icon,
5618
5997
  field.label
5619
5998
  ] }),
5620
- /* @__PURE__ */ jsx34(
5999
+ /* @__PURE__ */ jsx40(
5621
6000
  FilterOperatorDropdown,
5622
6001
  {
5623
6002
  field,
@@ -5626,7 +6005,7 @@ function Filters({
5626
6005
  onChange: (operator) => updateFilter(filter.id, { operator })
5627
6006
  }
5628
6007
  ),
5629
- /* @__PURE__ */ jsx34(
6008
+ /* @__PURE__ */ jsx40(
5630
6009
  FilterValueSelector,
5631
6010
  {
5632
6011
  field,
@@ -5636,7 +6015,7 @@ function Filters({
5636
6015
  autoFocus: filter.id === lastAddedFilterId
5637
6016
  }
5638
6017
  ),
5639
- /* @__PURE__ */ jsx34(FilterRemoveButton, { onClick: () => removeFilter(filter.id) })
6018
+ /* @__PURE__ */ jsx40(FilterRemoveButton, { onClick: () => removeFilter(filter.id) })
5640
6019
  ]
5641
6020
  },
5642
6021
  filter.id
@@ -5662,8 +6041,8 @@ var createFilterGroup = (id, label, fields, initialFilters = []) => ({
5662
6041
  // src/ui/image.tsx
5663
6042
  import NextImage from "next/image";
5664
6043
  import { useCallback as useCallback3, useState as useState6 } from "react";
5665
- import { cn as cn34 } from "cn";
5666
- import { jsx as jsx35, jsxs as jsxs19 } from "react/jsx-runtime";
6044
+ import { cn as cn38 } from "cn";
6045
+ import { jsx as jsx41, jsxs as jsxs22 } from "react/jsx-runtime";
5667
6046
  function srcValue(src) {
5668
6047
  if (!src) return null;
5669
6048
  if (typeof src === "string") return src;
@@ -5683,7 +6062,7 @@ function Image({
5683
6062
  onLoad,
5684
6063
  onError,
5685
6064
  children,
5686
- fallback = /* @__PURE__ */ jsx35(JellyMini, { mood: "curious", className: "size-full p-4" }),
6065
+ fallback = /* @__PURE__ */ jsx41(JellyMini, { mood: "curious", className: "size-full p-4" }),
5687
6066
  ...props
5688
6067
  }) {
5689
6068
  const currentSrc = srcValue(src);
@@ -5703,9 +6082,9 @@ function Image({
5703
6082
  if (!currentSrc) return;
5704
6083
  setFailedSrc(currentSrc);
5705
6084
  }, [currentSrc]);
5706
- return /* @__PURE__ */ jsxs19("section", { className: cn34("relative block overflow-hidden", wrapper), children: [
5707
- showSkeleton && !loaded && !failed && hasSource && /* @__PURE__ */ jsx35(Skeleton, { className: "absolute inset-0 size-full" }),
5708
- hasSource && !failed ? /* @__PURE__ */ jsx35(
6085
+ return /* @__PURE__ */ jsxs22("section", { className: cn38("relative block overflow-hidden", wrapper), children: [
6086
+ showSkeleton && !loaded && !failed && hasSource && /* @__PURE__ */ jsx41(Skeleton, { className: "absolute inset-0 size-full" }),
6087
+ hasSource && !failed ? /* @__PURE__ */ jsx41(
5709
6088
  NextImage,
5710
6089
  {
5711
6090
  ...props,
@@ -5715,7 +6094,7 @@ function Image({
5715
6094
  loading: imageLoading,
5716
6095
  preload: shouldPreload,
5717
6096
  fetchPriority: fetchPriority ?? (imageLoading === "eager" ? "high" : void 0),
5718
- className: cn34(
6097
+ className: cn38(
5719
6098
  "transition-opacity duration-200",
5720
6099
  loaded ? "opacity-100" : "opacity-0",
5721
6100
  className
@@ -5737,34 +6116,34 @@ function Image({
5737
6116
  // src/ui/input-otp.tsx
5738
6117
  import * as React11 from "react";
5739
6118
  import { OTPInput, OTPInputContext, REGEXP_ONLY_DIGITS } from "input-otp";
5740
- import { cn as cn35 } from "cn";
6119
+ import { cn as cn39 } from "cn";
5741
6120
  import { MinusIcon } from "lucide-react";
5742
- import { jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
6121
+ import { jsx as jsx42, jsxs as jsxs23 } from "react/jsx-runtime";
5743
6122
  function InputOTP({
5744
6123
  className,
5745
6124
  containerClassName,
5746
6125
  ...props
5747
6126
  }) {
5748
- return /* @__PURE__ */ jsx36(
6127
+ return /* @__PURE__ */ jsx42(
5749
6128
  OTPInput,
5750
6129
  {
5751
6130
  "data-slot": "input-otp",
5752
- containerClassName: cn35(
6131
+ containerClassName: cn39(
5753
6132
  "cn-input-otp flex items-center has-disabled:opacity-50",
5754
6133
  containerClassName
5755
6134
  ),
5756
6135
  spellCheck: false,
5757
- className: cn35("disabled:cursor-not-allowed", className),
6136
+ className: cn39("disabled:cursor-not-allowed", className),
5758
6137
  ...props
5759
6138
  }
5760
6139
  );
5761
6140
  }
5762
6141
  function InputOTPGroup({ className, ...props }) {
5763
- return /* @__PURE__ */ jsx36(
6142
+ return /* @__PURE__ */ jsx42(
5764
6143
  "div",
5765
6144
  {
5766
6145
  "data-slot": "input-otp-group",
5767
- className: cn35(
6146
+ className: cn39(
5768
6147
  "flex items-center rounded-lg has-aria-invalid:border-destructive has-aria-invalid:ring-3 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40",
5769
6148
  className
5770
6149
  ),
@@ -5779,32 +6158,32 @@ function InputOTPSlot({
5779
6158
  }) {
5780
6159
  const inputOTPContext = React11.useContext(OTPInputContext);
5781
6160
  const { char, hasFakeCaret, isActive } = inputOTPContext?.slots[index] ?? {};
5782
- return /* @__PURE__ */ jsxs20(
6161
+ return /* @__PURE__ */ jsxs23(
5783
6162
  "div",
5784
6163
  {
5785
6164
  "data-slot": "input-otp-slot",
5786
6165
  "data-active": isActive,
5787
- className: cn35(
6166
+ className: cn39(
5788
6167
  "relative flex size-8 items-center justify-center border-y border-r border-input text-sm transition-[background-color,border-color,box-shadow,opacity] duration-150 ease-out outline-none first:rounded-l-lg first:border-l last:rounded-r-lg aria-invalid:border-destructive data-[active=true]:z-10 data-[active=true]:border-ring data-[active=true]:ring-3 data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 motion-reduce:transition-none dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40",
5789
6168
  className
5790
6169
  ),
5791
6170
  ...props,
5792
6171
  children: [
5793
6172
  char,
5794
- hasFakeCaret && /* @__PURE__ */ jsx36("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx36("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
6173
+ hasFakeCaret && /* @__PURE__ */ jsx42("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ jsx42("div", { className: "h-4 w-px animate-caret-blink bg-foreground duration-1000" }) })
5795
6174
  ]
5796
6175
  }
5797
6176
  );
5798
6177
  }
5799
6178
  function InputOTPSeparator({ ...props }) {
5800
- return /* @__PURE__ */ jsx36(
6179
+ return /* @__PURE__ */ jsx42(
5801
6180
  "div",
5802
6181
  {
5803
6182
  "data-slot": "input-otp-separator",
5804
6183
  className: "flex items-center [&_svg:not([class*='size-'])]:size-4",
5805
6184
  role: "separator",
5806
6185
  ...props,
5807
- children: /* @__PURE__ */ jsx36(MinusIcon, {})
6186
+ children: /* @__PURE__ */ jsx42(MinusIcon, {})
5808
6187
  }
5809
6188
  );
5810
6189
  }
@@ -5813,15 +6192,15 @@ function InputOTPSeparator({ ...props }) {
5813
6192
  import { mergeProps as mergeProps4 } from "@base-ui/react/merge-props";
5814
6193
  import { useRender as useRender5 } from "@base-ui/react/use-render";
5815
6194
  import { cva as cva9 } from "class-variance-authority";
5816
- import { cn as cn36 } from "cn";
5817
- import { jsx as jsx37 } from "react/jsx-runtime";
6195
+ import { cn as cn40 } from "cn";
6196
+ import { jsx as jsx43 } from "react/jsx-runtime";
5818
6197
  function ItemGroup({ className, ...props }) {
5819
- return /* @__PURE__ */ jsx37(
6198
+ return /* @__PURE__ */ jsx43(
5820
6199
  "div",
5821
6200
  {
5822
6201
  role: "list",
5823
6202
  "data-slot": "item-group",
5824
- className: cn36(
6203
+ className: cn40(
5825
6204
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
5826
6205
  className
5827
6206
  ),
@@ -5833,12 +6212,12 @@ function ItemSeparator({
5833
6212
  className,
5834
6213
  ...props
5835
6214
  }) {
5836
- return /* @__PURE__ */ jsx37(
6215
+ return /* @__PURE__ */ jsx43(
5837
6216
  Separator,
5838
6217
  {
5839
6218
  "data-slot": "item-separator",
5840
6219
  orientation: "horizontal",
5841
- className: cn36("my-2", className),
6220
+ className: cn40("my-2", className),
5842
6221
  ...props
5843
6222
  }
5844
6223
  );
@@ -5875,7 +6254,7 @@ function Item({
5875
6254
  defaultTagName: "div",
5876
6255
  props: mergeProps4(
5877
6256
  {
5878
- className: cn36(itemVariants({ variant, size, className }))
6257
+ className: cn40(itemVariants({ variant, size, className }))
5879
6258
  },
5880
6259
  props
5881
6260
  ),
@@ -5907,22 +6286,22 @@ function ItemMedia({
5907
6286
  variant = "default",
5908
6287
  ...props
5909
6288
  }) {
5910
- return /* @__PURE__ */ jsx37(
6289
+ return /* @__PURE__ */ jsx43(
5911
6290
  "div",
5912
6291
  {
5913
6292
  "data-slot": "item-media",
5914
6293
  "data-variant": variant,
5915
- className: cn36(itemMediaVariants({ variant, className })),
6294
+ className: cn40(itemMediaVariants({ variant, className })),
5916
6295
  ...props
5917
6296
  }
5918
6297
  );
5919
6298
  }
5920
6299
  function ItemContent({ className, ...props }) {
5921
- return /* @__PURE__ */ jsx37(
6300
+ return /* @__PURE__ */ jsx43(
5922
6301
  "div",
5923
6302
  {
5924
6303
  "data-slot": "item-content",
5925
- className: cn36(
6304
+ className: cn40(
5926
6305
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
5927
6306
  className
5928
6307
  ),
@@ -5931,11 +6310,11 @@ function ItemContent({ className, ...props }) {
5931
6310
  );
5932
6311
  }
5933
6312
  function ItemTitle({ className, ...props }) {
5934
- return /* @__PURE__ */ jsx37(
6313
+ return /* @__PURE__ */ jsx43(
5935
6314
  "div",
5936
6315
  {
5937
6316
  "data-slot": "item-title",
5938
- className: cn36(
6317
+ className: cn40(
5939
6318
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
5940
6319
  className
5941
6320
  ),
@@ -5944,11 +6323,11 @@ function ItemTitle({ className, ...props }) {
5944
6323
  );
5945
6324
  }
5946
6325
  function ItemDescription({ className, ...props }) {
5947
- return /* @__PURE__ */ jsx37(
6326
+ return /* @__PURE__ */ jsx43(
5948
6327
  "p",
5949
6328
  {
5950
6329
  "data-slot": "item-description",
5951
- className: cn36(
6330
+ className: cn40(
5952
6331
  "line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
5953
6332
  className
5954
6333
  ),
@@ -5957,21 +6336,21 @@ function ItemDescription({ className, ...props }) {
5957
6336
  );
5958
6337
  }
5959
6338
  function ItemActions({ className, ...props }) {
5960
- return /* @__PURE__ */ jsx37(
6339
+ return /* @__PURE__ */ jsx43(
5961
6340
  "div",
5962
6341
  {
5963
6342
  "data-slot": "item-actions",
5964
- className: cn36("flex items-center gap-2", className),
6343
+ className: cn40("flex items-center gap-2", className),
5965
6344
  ...props
5966
6345
  }
5967
6346
  );
5968
6347
  }
5969
6348
  function ItemHeader({ className, ...props }) {
5970
- return /* @__PURE__ */ jsx37(
6349
+ return /* @__PURE__ */ jsx43(
5971
6350
  "div",
5972
6351
  {
5973
6352
  "data-slot": "item-header",
5974
- className: cn36(
6353
+ className: cn40(
5975
6354
  "flex basis-full items-center justify-between gap-2",
5976
6355
  className
5977
6356
  ),
@@ -5980,11 +6359,11 @@ function ItemHeader({ className, ...props }) {
5980
6359
  );
5981
6360
  }
5982
6361
  function ItemFooter({ className, ...props }) {
5983
- return /* @__PURE__ */ jsx37(
6362
+ return /* @__PURE__ */ jsx43(
5984
6363
  "div",
5985
6364
  {
5986
6365
  "data-slot": "item-footer",
5987
- className: cn36(
6366
+ className: cn40(
5988
6367
  "flex basis-full items-center justify-between gap-2",
5989
6368
  className
5990
6369
  ),
@@ -5999,19 +6378,19 @@ import {
5999
6378
  JellyBlobMascot
6000
6379
  } from "feral-blob";
6001
6380
  import * as React12 from "react";
6002
- import { cn as cn37 } from "cn";
6381
+ import { cn as cn41 } from "cn";
6003
6382
  import {
6004
6383
  BlobSpeech as BlobSpeech2,
6005
6384
  JellyBlobMascot as JellyBlobMascot2,
6006
6385
  JellyBlobMascotDemo
6007
6386
  } from "feral-blob";
6008
- import { jsx as jsx38, jsxs as jsxs21 } from "react/jsx-runtime";
6387
+ import { jsx as jsx44, jsxs as jsxs24 } from "react/jsx-runtime";
6009
6388
  function JellyBlob({ ...props }) {
6010
- return /* @__PURE__ */ jsx38("span", { className: "inline-block", children: /* @__PURE__ */ jsx38(
6389
+ return /* @__PURE__ */ jsx44("span", { className: "inline-block", children: /* @__PURE__ */ jsx44(
6011
6390
  JellyBlobMascot,
6012
6391
  {
6013
6392
  ...props,
6014
- className: cn37("h-auto w-full", props.className)
6393
+ className: cn41("h-auto w-full", props.className)
6015
6394
  }
6016
6395
  ) });
6017
6396
  }
@@ -6037,15 +6416,15 @@ function JellyMini({
6037
6416
  ...props
6038
6417
  }) {
6039
6418
  const { mounted } = useMounted();
6040
- return /* @__PURE__ */ jsx38(
6419
+ return /* @__PURE__ */ jsx44(
6041
6420
  "span",
6042
6421
  {
6043
6422
  "aria-hidden": "true",
6044
- className: cn37(
6423
+ className: cn41(
6045
6424
  "inline-flex size-5 shrink-0 items-center justify-center select-none",
6046
6425
  className
6047
6426
  ),
6048
- children: mounted ? /* @__PURE__ */ jsx38(
6427
+ children: mounted ? /* @__PURE__ */ jsx44(
6049
6428
  JellyBlobMascot,
6050
6429
  {
6051
6430
  ...props,
@@ -6087,14 +6466,14 @@ function JellyAction({
6087
6466
  ...props
6088
6467
  }) {
6089
6468
  const preview = useJellyMood();
6090
- return /* @__PURE__ */ jsx38(Button, { ...props, ...withPreviewHandlers(preview, { ...props, mood }) });
6469
+ return /* @__PURE__ */ jsx44(Button, { ...props, ...withPreviewHandlers(preview, { ...props, mood }) });
6091
6470
  }
6092
6471
  function JellyLink({
6093
6472
  mood,
6094
6473
  ...props
6095
6474
  }) {
6096
6475
  const preview = useJellyMood();
6097
- return /* @__PURE__ */ jsx38("a", { ...props, ...withPreviewHandlers(preview, { ...props, mood }) });
6476
+ return /* @__PURE__ */ jsx44("a", { ...props, ...withPreviewHandlers(preview, { ...props, mood }) });
6098
6477
  }
6099
6478
  function JellyMascotProvider({
6100
6479
  mood = "neutral",
@@ -6116,7 +6495,7 @@ function JellyMascotProvider({
6116
6495
  blobProps,
6117
6496
  setPreview: setPreviewMood
6118
6497
  };
6119
- return /* @__PURE__ */ jsx38(JellyMascotContext.Provider, { value, children });
6498
+ return /* @__PURE__ */ jsx44(JellyMascotContext.Provider, { value, children });
6120
6499
  }
6121
6500
  var SIZE_WRAPPER = {
6122
6501
  sm: "w-20",
@@ -6130,24 +6509,24 @@ function JellyMascotFace({
6130
6509
  }) {
6131
6510
  const mascot = React12.useContext(JellyMascotContext);
6132
6511
  if (!mascot) return null;
6133
- return /* @__PURE__ */ jsxs21(
6512
+ return /* @__PURE__ */ jsxs24(
6134
6513
  "div",
6135
6514
  {
6136
6515
  "aria-hidden": "true",
6137
- className: cn37(
6516
+ className: cn41(
6138
6517
  "flex flex-col items-center select-none",
6139
6518
  SIZE_WRAPPER[size],
6140
6519
  className
6141
6520
  ),
6142
6521
  children: [
6143
- mascot.speech ? /* @__PURE__ */ jsx38(
6522
+ mascot.speech ? /* @__PURE__ */ jsx44(
6144
6523
  BlobSpeech,
6145
6524
  {
6146
6525
  mood: mascot.mood,
6147
6526
  messages: { [mascot.mood]: mascot.speech }
6148
6527
  }
6149
6528
  ) : null,
6150
- mascot.mounted ? /* @__PURE__ */ jsx38(
6529
+ mascot.mounted ? /* @__PURE__ */ jsx44(
6151
6530
  JellyBlobMascot,
6152
6531
  {
6153
6532
  ...mascot.blobProps,
@@ -6167,14 +6546,14 @@ function JellyMascot({
6167
6546
  ...config
6168
6547
  }) {
6169
6548
  const existing = React12.useContext(JellyMascotContext);
6170
- if (existing) return /* @__PURE__ */ jsx38(JellyMascotFace, { size, className });
6171
- return /* @__PURE__ */ jsx38(JellyMascotProvider, { ...config, children: /* @__PURE__ */ jsx38(JellyMascotFace, { size, className }) });
6549
+ if (existing) return /* @__PURE__ */ jsx44(JellyMascotFace, { size, className });
6550
+ return /* @__PURE__ */ jsx44(JellyMascotProvider, { ...config, children: /* @__PURE__ */ jsx44(JellyMascotFace, { size, className }) });
6172
6551
  }
6173
6552
  function JellyGroup({
6174
6553
  children,
6175
6554
  ...config
6176
6555
  }) {
6177
- return /* @__PURE__ */ jsx38(JellyMascotProvider, { ...config, children });
6556
+ return /* @__PURE__ */ jsx44(JellyMascotProvider, { ...config, children });
6178
6557
  }
6179
6558
  function JellyEmpty({
6180
6559
  title,
@@ -6184,25 +6563,25 @@ function JellyEmpty({
6184
6563
  className,
6185
6564
  ...config
6186
6565
  }) {
6187
- return /* @__PURE__ */ jsx38(JellyMascotProvider, { ...config, children: /* @__PURE__ */ jsxs21(Empty, { className: cn37("gap-4", className), children: [
6188
- /* @__PURE__ */ jsxs21(EmptyHeader, { className: "gap-2", children: [
6189
- /* @__PURE__ */ jsx38(JellyMascotFace, { size }),
6190
- title ? /* @__PURE__ */ jsx38(EmptyTitle, { className: "text-base font-semibold sm:text-lg", children: title }) : null,
6191
- description ? /* @__PURE__ */ jsx38(EmptyDescription, { className: "max-w-sm", children: description }) : null
6566
+ return /* @__PURE__ */ jsx44(JellyMascotProvider, { ...config, children: /* @__PURE__ */ jsxs24(Empty, { className: cn41("gap-4", className), children: [
6567
+ /* @__PURE__ */ jsxs24(EmptyHeader, { className: "gap-2", children: [
6568
+ /* @__PURE__ */ jsx44(JellyMascotFace, { size }),
6569
+ title ? /* @__PURE__ */ jsx44(EmptyTitle, { className: "text-base font-semibold sm:text-lg", children: title }) : null,
6570
+ description ? /* @__PURE__ */ jsx44(EmptyDescription, { className: "max-w-sm", children: description }) : null
6192
6571
  ] }),
6193
- actions ? /* @__PURE__ */ jsx38(EmptyContent, { children: actions }) : null
6572
+ actions ? /* @__PURE__ */ jsx44(EmptyContent, { children: actions }) : null
6194
6573
  ] }) });
6195
6574
  }
6196
6575
 
6197
6576
  // src/ui/message.tsx
6198
- import { cn as cn38 } from "cn";
6199
- import { jsx as jsx39 } from "react/jsx-runtime";
6577
+ import { cn as cn42 } from "cn";
6578
+ import { jsx as jsx45 } from "react/jsx-runtime";
6200
6579
  function MessageGroup({ className, ...props }) {
6201
- return /* @__PURE__ */ jsx39(
6580
+ return /* @__PURE__ */ jsx45(
6202
6581
  "div",
6203
6582
  {
6204
6583
  "data-slot": "message-group",
6205
- className: cn38("flex min-w-0 flex-col gap-2", className),
6584
+ className: cn42("flex min-w-0 flex-col gap-2", className),
6206
6585
  ...props
6207
6586
  }
6208
6587
  );
@@ -6212,12 +6591,12 @@ function Message({
6212
6591
  align = "start",
6213
6592
  ...props
6214
6593
  }) {
6215
- return /* @__PURE__ */ jsx39(
6594
+ return /* @__PURE__ */ jsx45(
6216
6595
  "div",
6217
6596
  {
6218
6597
  "data-slot": "message",
6219
6598
  "data-align": align,
6220
- className: cn38(
6599
+ className: cn42(
6221
6600
  "group/message relative flex w-full min-w-0 gap-2 text-sm data-[align=end]:flex-row-reverse",
6222
6601
  className
6223
6602
  ),
@@ -6226,11 +6605,11 @@ function Message({
6226
6605
  );
6227
6606
  }
6228
6607
  function MessageAvatar({ className, ...props }) {
6229
- return /* @__PURE__ */ jsx39(
6608
+ return /* @__PURE__ */ jsx45(
6230
6609
  "div",
6231
6610
  {
6232
6611
  "data-slot": "message-avatar",
6233
- className: cn38(
6612
+ className: cn42(
6234
6613
  "flex w-fit min-w-8 shrink-0 items-center justify-center self-end overflow-hidden rounded-full bg-muted group-has-data-[slot=message-footer]/message:-translate-y-8",
6235
6614
  className
6236
6615
  ),
@@ -6239,11 +6618,11 @@ function MessageAvatar({ className, ...props }) {
6239
6618
  );
6240
6619
  }
6241
6620
  function MessageContent({ className, ...props }) {
6242
- return /* @__PURE__ */ jsx39(
6621
+ return /* @__PURE__ */ jsx45(
6243
6622
  "div",
6244
6623
  {
6245
6624
  "data-slot": "message-content",
6246
- className: cn38(
6625
+ className: cn42(
6247
6626
  "flex w-full min-w-0 flex-col gap-2.5 wrap-break-word group-data-[align=end]/message:*:data-slot:self-end",
6248
6627
  className
6249
6628
  ),
@@ -6252,11 +6631,11 @@ function MessageContent({ className, ...props }) {
6252
6631
  );
6253
6632
  }
6254
6633
  function MessageHeader({ className, ...props }) {
6255
- return /* @__PURE__ */ jsx39(
6634
+ return /* @__PURE__ */ jsx45(
6256
6635
  "div",
6257
6636
  {
6258
6637
  "data-slot": "message-header",
6259
- className: cn38(
6638
+ className: cn42(
6260
6639
  "flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0",
6261
6640
  className
6262
6641
  ),
@@ -6265,11 +6644,11 @@ function MessageHeader({ className, ...props }) {
6265
6644
  );
6266
6645
  }
6267
6646
  function MessageFooter({ className, ...props }) {
6268
- return /* @__PURE__ */ jsx39(
6647
+ return /* @__PURE__ */ jsx45(
6269
6648
  "div",
6270
6649
  {
6271
6650
  "data-slot": "message-footer",
6272
- className: cn38(
6651
+ className: cn42(
6273
6652
  "flex max-w-full min-w-0 items-center px-3 text-xs font-medium text-muted-foreground group-has-data-[variant=ghost]/message:px-0 group-data-[align=end]/message:justify-end",
6274
6653
  className
6275
6654
  ),
@@ -6285,21 +6664,21 @@ import {
6285
6664
  useMessageScrollerScrollable,
6286
6665
  useMessageScrollerVisibility
6287
6666
  } from "@shadcn/react/message-scroller";
6288
- import { cn as cn39 } from "cn";
6667
+ import { cn as cn43 } from "cn";
6289
6668
  import { ArrowDownIcon } from "lucide-react";
6290
- import { Fragment as Fragment3, jsx as jsx40, jsxs as jsxs22 } from "react/jsx-runtime";
6669
+ import { Fragment as Fragment4, jsx as jsx46, jsxs as jsxs25 } from "react/jsx-runtime";
6291
6670
  function MessageScrollerProvider(props) {
6292
- return /* @__PURE__ */ jsx40(MessageScrollerPrimitive.Provider, { ...props });
6671
+ return /* @__PURE__ */ jsx46(MessageScrollerPrimitive.Provider, { ...props });
6293
6672
  }
6294
6673
  function MessageScroller({
6295
6674
  className,
6296
6675
  ...props
6297
6676
  }) {
6298
- return /* @__PURE__ */ jsx40(
6677
+ return /* @__PURE__ */ jsx46(
6299
6678
  MessageScrollerPrimitive.Root,
6300
6679
  {
6301
6680
  "data-slot": "message-scroller",
6302
- className: cn39(
6681
+ className: cn43(
6303
6682
  "group/message-scroller relative flex size-full min-h-0 flex-col overflow-hidden",
6304
6683
  className
6305
6684
  ),
@@ -6311,11 +6690,11 @@ function MessageScrollerViewport({
6311
6690
  className,
6312
6691
  ...props
6313
6692
  }) {
6314
- return /* @__PURE__ */ jsx40(
6693
+ return /* @__PURE__ */ jsx46(
6315
6694
  MessageScrollerPrimitive.Viewport,
6316
6695
  {
6317
6696
  "data-slot": "message-scroller-viewport",
6318
- className: cn39(
6697
+ className: cn43(
6319
6698
  "size-full min-h-0 min-w-0 scroll-fade scrollbar-thin scrollbar-gutter-stable overflow-y-auto overscroll-contain contain-content data-autoscrolling:scrollbar-thumb-transparent data-autoscrolling:scrollbar-track-transparent",
6320
6699
  className
6321
6700
  ),
@@ -6327,11 +6706,11 @@ function MessageScrollerContent({
6327
6706
  className,
6328
6707
  ...props
6329
6708
  }) {
6330
- return /* @__PURE__ */ jsx40(
6709
+ return /* @__PURE__ */ jsx46(
6331
6710
  MessageScrollerPrimitive.Content,
6332
6711
  {
6333
6712
  "data-slot": "message-scroller-content",
6334
- className: cn39("flex h-max min-h-full flex-col gap-6", className),
6713
+ className: cn43("flex h-max min-h-full flex-col gap-6", className),
6335
6714
  ...props
6336
6715
  }
6337
6716
  );
@@ -6341,12 +6720,12 @@ function MessageScrollerItem({
6341
6720
  scrollAnchor = false,
6342
6721
  ...props
6343
6722
  }) {
6344
- return /* @__PURE__ */ jsx40(
6723
+ return /* @__PURE__ */ jsx46(
6345
6724
  MessageScrollerPrimitive.Item,
6346
6725
  {
6347
6726
  "data-slot": "message-scroller-item",
6348
6727
  scrollAnchor,
6349
- className: cn39(
6728
+ className: cn43(
6350
6729
  "min-w-0 shrink-0 [contain-intrinsic-size:auto_10rem] [content-visibility:auto]",
6351
6730
  className
6352
6731
  ),
@@ -6363,7 +6742,7 @@ function MessageScrollerButton({
6363
6742
  size = "icon-sm",
6364
6743
  ...props
6365
6744
  }) {
6366
- return /* @__PURE__ */ jsx40(
6745
+ return /* @__PURE__ */ jsx46(
6367
6746
  MessageScrollerPrimitive.Button,
6368
6747
  {
6369
6748
  "data-slot": "message-scroller-button",
@@ -6371,32 +6750,32 @@ function MessageScrollerButton({
6371
6750
  "data-variant": variant,
6372
6751
  "data-size": size,
6373
6752
  direction,
6374
- className: cn39(
6753
+ className: cn43(
6375
6754
  "data-[active=true]:ease-out-quint absolute inset-s-1/2 -translate-x-1/2 border-border bg-background text-foreground transition-[translate,scale,opacity] duration-200 hover:bg-muted hover:text-foreground data-[active=false]:pointer-events-none data-[active=false]:scale-95 data-[active=false]:opacity-0 data-[active=false]:duration-400 data-[active=false]:ease-[cubic-bezier(0.7,0,0.84,0)] data-[active=true]:translate-y-0 data-[active=true]:scale-100 data-[active=true]:opacity-100 data-[direction=end]:bottom-4 data-[direction=end]:data-[active=false]:translate-y-full data-[direction=start]:top-4 data-[direction=start]:data-[active=false]:-translate-y-full rtl:translate-x-1/2 data-[direction=start]:[&_svg]:rotate-180",
6376
6755
  className
6377
6756
  ),
6378
- render: render ?? /* @__PURE__ */ jsx40(Button, { variant, size }),
6757
+ render: render ?? /* @__PURE__ */ jsx46(Button, { variant, size }),
6379
6758
  ...props,
6380
- children: children ?? /* @__PURE__ */ jsxs22(Fragment3, { children: [
6381
- /* @__PURE__ */ jsx40(ArrowDownIcon, {}),
6382
- /* @__PURE__ */ jsx40("span", { className: "sr-only", children: direction === "end" ? "Scroll to end" : "Scroll to start" })
6759
+ children: children ?? /* @__PURE__ */ jsxs25(Fragment4, { children: [
6760
+ /* @__PURE__ */ jsx46(ArrowDownIcon, {}),
6761
+ /* @__PURE__ */ jsx46("span", { className: "sr-only", children: direction === "end" ? "Scroll to end" : "Scroll to start" })
6383
6762
  ] })
6384
6763
  }
6385
6764
  );
6386
6765
  }
6387
6766
 
6388
6767
  // src/ui/numberstepper.tsx
6389
- import { cn as cn40 } from "cn";
6768
+ import { cn as cn44 } from "cn";
6390
6769
  import { AnimatePresence as AnimatePresence2, motion as motion6, useReducedMotion } from "motion/react";
6391
6770
  import {
6392
- forwardRef as forwardRef3,
6771
+ forwardRef as forwardRef4,
6393
6772
  useEffect as useEffect6,
6394
6773
  useId as useId3,
6395
- useLayoutEffect,
6774
+ useLayoutEffect as useLayoutEffect2,
6396
6775
  useRef as useRef4,
6397
6776
  useState as useState8
6398
6777
  } from "react";
6399
- import { jsx as jsx41, jsxs as jsxs23 } from "react/jsx-runtime";
6778
+ import { jsx as jsx47, jsxs as jsxs26 } from "react/jsx-runtime";
6400
6779
  var EASE_OUT = [0.23, 1, 0.32, 1];
6401
6780
  var ROLL = { duration: 0.18, ease: EASE_OUT };
6402
6781
  var SLIDE = { type: "spring", visualDuration: 0.2, bounce: 0 };
@@ -6450,15 +6829,15 @@ function RollingNumber({
6450
6829
  }) {
6451
6830
  const direction = useDirection(value);
6452
6831
  const chars = [...format(value)];
6453
- return /* @__PURE__ */ jsx41(
6832
+ return /* @__PURE__ */ jsx47(
6454
6833
  "span",
6455
6834
  {
6456
6835
  "aria-hidden": true,
6457
- className: cn40("relative inline-flex tabular-nums", className),
6458
- children: /* @__PURE__ */ jsx41(AnimatePresence2, { mode: "popLayout", initial: false, custom: direction, children: chars.map((char, index) => {
6836
+ className: cn44("relative inline-flex tabular-nums", className),
6837
+ children: /* @__PURE__ */ jsx47(AnimatePresence2, { mode: "popLayout", initial: false, custom: direction, children: chars.map((char, index) => {
6459
6838
  const place = chars.length - index;
6460
6839
  const digit = /\d/.test(char);
6461
- return /* @__PURE__ */ jsx41(Place, { digit, children: digit ? /* @__PURE__ */ jsx41(Digit, { char, direction }) : char }, digit ? `d${place}` : `s${place}${char}`);
6840
+ return /* @__PURE__ */ jsx47(Place, { digit, children: digit ? /* @__PURE__ */ jsx47(Digit, { char, direction }) : char }, digit ? `d${place}` : `s${place}${char}`);
6462
6841
  }) })
6463
6842
  }
6464
6843
  );
@@ -6468,7 +6847,7 @@ function Place({
6468
6847
  children
6469
6848
  }) {
6470
6849
  const reduceMotion = useReducedMotion();
6471
- return /* @__PURE__ */ jsx41(
6850
+ return /* @__PURE__ */ jsx47(
6472
6851
  motion6.span,
6473
6852
  {
6474
6853
  layout: reduceMotion ? false : "position",
@@ -6480,7 +6859,7 @@ function Place({
6480
6859
  transition: { duration: 0.1 }
6481
6860
  },
6482
6861
  transition: { ...ROLL, layout: SLIDE },
6483
- className: cn40("inline-grid", digit && "overflow-hidden"),
6862
+ className: cn44("inline-grid", digit && "overflow-hidden"),
6484
6863
  children
6485
6864
  }
6486
6865
  );
@@ -6488,7 +6867,7 @@ function Place({
6488
6867
  function Digit({ char, direction }) {
6489
6868
  const reduceMotion = useReducedMotion();
6490
6869
  const offset = (value) => reduceMotion ? "0%" : `${value * 100}%`;
6491
- return /* @__PURE__ */ jsx41(AnimatePresence2, { initial: false, custom: direction, children: /* @__PURE__ */ jsx41(
6870
+ return /* @__PURE__ */ jsx47(AnimatePresence2, { initial: false, custom: direction, children: /* @__PURE__ */ jsx47(
6492
6871
  motion6.span,
6493
6872
  {
6494
6873
  custom: direction,
@@ -6516,7 +6895,7 @@ function Digit({ char, direction }) {
6516
6895
  char
6517
6896
  ) });
6518
6897
  }
6519
- var NumberStepper = forwardRef3(
6898
+ var NumberStepper = forwardRef4(
6520
6899
  function NumberStepper2({
6521
6900
  label,
6522
6901
  value,
@@ -6544,7 +6923,7 @@ var NumberStepper = forwardRef3(
6544
6923
  max,
6545
6924
  disabled
6546
6925
  });
6547
- useLayoutEffect(() => {
6926
+ useLayoutEffect2(() => {
6548
6927
  latest.current = {
6549
6928
  value,
6550
6929
  onChange,
@@ -6612,7 +6991,7 @@ var NumberStepper = forwardRef3(
6612
6991
  if (Number.isNaN(parsed)) return;
6613
6992
  setTo(parsed, parsed > latest.current.value ? 1 : -1);
6614
6993
  };
6615
- const button = (delta, atLimit, name, path) => /* @__PURE__ */ jsx41(
6994
+ const button = (delta, atLimit, name, path) => /* @__PURE__ */ jsx47(
6616
6995
  "button",
6617
6996
  {
6618
6997
  type: "button",
@@ -6636,13 +7015,13 @@ var NumberStepper = forwardRef3(
6636
7015
  stepBy(delta);
6637
7016
  }
6638
7017
  },
6639
- className: cn40(
7018
+ className: cn44(
6640
7019
  "flex shrink-0 touch-manipulation items-center justify-center rounded-full text-foreground outline-hidden select-none",
6641
7020
  styles.button,
6642
7021
  "transition-[scale,opacity,background-color] duration-150 ease-out hover:bg-foreground/6 active:scale-[0.96] motion-reduce:transition-[opacity,background-color]",
6643
7022
  (disabled || atLimit) && "opacity-35 hover:bg-transparent"
6644
7023
  ),
6645
- children: /* @__PURE__ */ jsx41(
7024
+ children: /* @__PURE__ */ jsx47(
6646
7025
  "svg",
6647
7026
  {
6648
7027
  viewBox: "0 0 16 16",
@@ -6652,18 +7031,18 @@ var NumberStepper = forwardRef3(
6652
7031
  stroke: "currentColor",
6653
7032
  strokeWidth: 1.5,
6654
7033
  strokeLinecap: "round",
6655
- children: /* @__PURE__ */ jsx41("path", { d: path })
7034
+ children: /* @__PURE__ */ jsx47("path", { d: path })
6656
7035
  }
6657
7036
  )
6658
7037
  }
6659
7038
  );
6660
7039
  const editing = draft !== null;
6661
7040
  const styles = sizeStyles[size];
6662
- return /* @__PURE__ */ jsxs23(
7041
+ return /* @__PURE__ */ jsxs26(
6663
7042
  "div",
6664
7043
  {
6665
7044
  "data-slot": "input-group",
6666
- className: cn40(
7045
+ className: cn44(
6667
7046
  "shadow-raised inline-flex items-center rounded-full border",
6668
7047
  disabled && "opacity-50",
6669
7048
  styles.container,
@@ -6671,13 +7050,13 @@ var NumberStepper = forwardRef3(
6671
7050
  ),
6672
7051
  children: [
6673
7052
  button(-step, value <= min, "Decrease", "M3.5 8h9"),
6674
- /* @__PURE__ */ jsxs23(
7053
+ /* @__PURE__ */ jsxs26(
6675
7054
  "span",
6676
7055
  {
6677
7056
  ref: valueRef,
6678
- className: cn40("relative grid place-items-center", styles.value),
7057
+ className: cn44("relative grid place-items-center", styles.value),
6679
7058
  children: [
6680
- /* @__PURE__ */ jsx41(
7059
+ /* @__PURE__ */ jsx47(
6681
7060
  "input",
6682
7061
  {
6683
7062
  ref,
@@ -6728,18 +7107,18 @@ var NumberStepper = forwardRef3(
6728
7107
  setDraft(null);
6729
7108
  }
6730
7109
  },
6731
- className: cn40(
7110
+ className: cn44(
6732
7111
  "col-start-1 row-start-1 w-full bg-transparent text-center font-medium tabular-nums caret-foreground outline-hidden",
6733
7112
  styles.text,
6734
7113
  editing ? "text-foreground" : "text-transparent"
6735
7114
  )
6736
7115
  }
6737
7116
  ),
6738
- !editing && /* @__PURE__ */ jsx41(
7117
+ !editing && /* @__PURE__ */ jsx47(
6739
7118
  RollingNumber,
6740
7119
  {
6741
7120
  value,
6742
- className: cn40(
7121
+ className: cn44(
6743
7122
  "pointer-events-none col-start-1 row-start-1 font-medium text-foreground",
6744
7123
  styles.text
6745
7124
  )
@@ -6756,15 +7135,15 @@ var NumberStepper = forwardRef3(
6756
7135
  );
6757
7136
 
6758
7137
  // src/ui/otp.tsx
6759
- import { cn as cn41 } from "cn";
7138
+ import { cn as cn45 } from "cn";
6760
7139
  import {
6761
7140
  AnimatePresence as AnimatePresence3,
6762
7141
  animate,
6763
7142
  motion as motion7,
6764
7143
  useReducedMotion as useReducedMotion2
6765
7144
  } from "motion/react";
6766
- import { Fragment as Fragment4, useEffect as useEffect7, useId as useId4, useRef as useRef5, useState as useState9 } from "react";
6767
- import { jsx as jsx42, jsxs as jsxs24 } from "react/jsx-runtime";
7145
+ import { Fragment as Fragment5, useEffect as useEffect7, useId as useId4, useRef as useRef5, useState as useState9 } from "react";
7146
+ import { jsx as jsx48, jsxs as jsxs27 } from "react/jsx-runtime";
6768
7147
  var EASE_OUT2 = [0.16, 1, 0.3, 1];
6769
7148
  var EASE_IN_OUT = [0.77, 0, 0.175, 1];
6770
7149
  var EASE_DRAWER = [0.32, 0.72, 0, 1];
@@ -6929,8 +7308,8 @@ function OTPInput2({
6929
7308
  const showSuccess = status === "success";
6930
7309
  const activeIndex = focused ? active : -1;
6931
7310
  const message = showSuccess ? successMessage : status === "error" ? errorMessage : hint;
6932
- return /* @__PURE__ */ jsxs24("div", { className: cn41("inline-flex flex-col gap-2", className), children: [
6933
- label ? /* @__PURE__ */ jsx42(
7311
+ return /* @__PURE__ */ jsxs27("div", { className: cn45("inline-flex flex-col gap-2", className), children: [
7312
+ label ? /* @__PURE__ */ jsx48(
6934
7313
  "label",
6935
7314
  {
6936
7315
  htmlFor: `${uid}-input`,
@@ -6938,7 +7317,7 @@ function OTPInput2({
6938
7317
  children: label
6939
7318
  }
6940
7319
  ) : null,
6941
- /* @__PURE__ */ jsxs24(
7320
+ /* @__PURE__ */ jsxs27(
6942
7321
  "div",
6943
7322
  {
6944
7323
  className: "relative inline-flex w-max",
@@ -6951,7 +7330,7 @@ function OTPInput2({
6951
7330
  inputRef.current?.focus();
6952
7331
  },
6953
7332
  children: [
6954
- /* @__PURE__ */ jsx42(
7333
+ /* @__PURE__ */ jsx48(
6955
7334
  "input",
6956
7335
  {
6957
7336
  ref: inputRef,
@@ -6978,24 +7357,24 @@ function OTPInput2({
6978
7357
  className: "absolute inset-0 z-20 h-full w-full cursor-text bg-transparent text-transparent caret-transparent opacity-0 outline-none disabled:cursor-not-allowed"
6979
7358
  }
6980
7359
  ),
6981
- /* @__PURE__ */ jsx42("div", { ref: slotsRef, className: "flex items-center gap-3", children: Array.from({ length }, (_, i) => {
7360
+ /* @__PURE__ */ jsx48("div", { ref: slotsRef, className: "flex items-center gap-3", children: Array.from({ length }, (_, i) => {
6982
7361
  const char = slots[i] ?? "";
6983
7362
  const isActive = i === activeIndex;
6984
- return /* @__PURE__ */ jsxs24(Fragment4, { children: [
6985
- /* @__PURE__ */ jsxs24(
7363
+ return /* @__PURE__ */ jsxs27(Fragment5, { children: [
7364
+ /* @__PURE__ */ jsxs27(
6986
7365
  "div",
6987
7366
  {
6988
7367
  "data-otp-slot": true,
6989
7368
  "data-active": isActive,
6990
7369
  "data-filled": char !== "",
6991
- className: cn41(
7370
+ className: cn45(
6992
7371
  "relative grid size-11 place-items-center overflow-hidden rounded-xl border bg-card text-xl font-semibold tabular-nums transition-colors duration-200",
6993
7372
  showSuccess ? "border-emerald-500/60 text-foreground" : status === "error" ? "border-destructive/60 text-foreground" : char ? "border-border-strong text-foreground" : "border-border text-muted-foreground",
6994
7373
  isActive && !showSuccess && status !== "error" && "border-2 border-brand ring-0",
6995
7374
  disabled && "opacity-50"
6996
7375
  ),
6997
7376
  children: [
6998
- isActive && !showSuccess ? /* @__PURE__ */ jsx42(
7377
+ isActive && !showSuccess ? /* @__PURE__ */ jsx48(
6999
7378
  motion7.span,
7000
7379
  {
7001
7380
  "aria-hidden": true,
@@ -7005,13 +7384,13 @@ function OTPInput2({
7005
7384
  repeat: Number.POSITIVE_INFINITY,
7006
7385
  ease: "linear"
7007
7386
  },
7008
- className: cn41(
7387
+ className: cn45(
7009
7388
  "pointer-events-none absolute top-1/2 h-6 w-px -translate-y-1/2 bg-brand",
7010
7389
  char ? "right-3" : "left-1/2 -translate-x-1/2"
7011
7390
  )
7012
7391
  }
7013
7392
  ) : null,
7014
- /* @__PURE__ */ jsx42(AnimatePresence3, { initial: false, children: char ? /* @__PURE__ */ jsx42(
7393
+ /* @__PURE__ */ jsx48(AnimatePresence3, { initial: false, children: char ? /* @__PURE__ */ jsx48(
7015
7394
  motion7.span,
7016
7395
  {
7017
7396
  initial: reduce ? {
@@ -7049,10 +7428,10 @@ function OTPInput2({
7049
7428
  ]
7050
7429
  }
7051
7430
  ),
7052
- i === 2 ? /* @__PURE__ */ jsx42("span", { "aria-hidden": "true", className: "h-0.5 w-4 bg-primary" }) : null
7431
+ i === 2 ? /* @__PURE__ */ jsx48("span", { "aria-hidden": "true", className: "h-0.5 w-4 bg-primary" }) : null
7053
7432
  ] }, `${uid}-${i}`);
7054
7433
  }) }),
7055
- /* @__PURE__ */ jsx42(AnimatePresence3, { children: showSuccess ? /* @__PURE__ */ jsx42(
7434
+ /* @__PURE__ */ jsx48(AnimatePresence3, { children: showSuccess ? /* @__PURE__ */ jsx48(
7056
7435
  motion7.span,
7057
7436
  {
7058
7437
  initial: reduce ? {
@@ -7082,7 +7461,7 @@ function OTPInput2({
7082
7461
  },
7083
7462
  className: "pointer-events-none absolute top-1/2 -right-7 -translate-y-1/2 text-emerald-500",
7084
7463
  "aria-hidden": true,
7085
- children: /* @__PURE__ */ jsxs24(
7464
+ children: /* @__PURE__ */ jsxs27(
7086
7465
  "svg",
7087
7466
  {
7088
7467
  width: "20",
@@ -7094,8 +7473,8 @@ function OTPInput2({
7094
7473
  strokeLinecap: "round",
7095
7474
  strokeLinejoin: "round",
7096
7475
  children: [
7097
- /* @__PURE__ */ jsx42("title", { children: "Verified" }),
7098
- /* @__PURE__ */ jsx42(
7476
+ /* @__PURE__ */ jsx48("title", { children: "Verified" }),
7477
+ /* @__PURE__ */ jsx48(
7099
7478
  motion7.path,
7100
7479
  {
7101
7480
  d: "M5 13l4 4L19 7",
@@ -7124,11 +7503,11 @@ function OTPInput2({
7124
7503
  ]
7125
7504
  }
7126
7505
  ),
7127
- message ? /* @__PURE__ */ jsx42(
7506
+ message ? /* @__PURE__ */ jsx48(
7128
7507
  "p",
7129
7508
  {
7130
7509
  "aria-live": "polite",
7131
- className: cn41(
7510
+ className: cn45(
7132
7511
  "text-sm",
7133
7512
  showSuccess ? "text-emerald-500" : status === "error" ? "text-destructive" : "text-muted-foreground"
7134
7513
  ),
@@ -7147,13 +7526,13 @@ function toSlots(raw, length) {
7147
7526
 
7148
7527
  // src/ui/popover.tsx
7149
7528
  import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
7150
- import { cn as cn42 } from "cn";
7151
- import { jsx as jsx43 } from "react/jsx-runtime";
7529
+ import { cn as cn46 } from "cn";
7530
+ import { jsx as jsx49 } from "react/jsx-runtime";
7152
7531
  function Popover({ ...props }) {
7153
- return /* @__PURE__ */ jsx43(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
7532
+ return /* @__PURE__ */ jsx49(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
7154
7533
  }
7155
7534
  function PopoverTrigger({ ...props }) {
7156
- return /* @__PURE__ */ jsx43(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
7535
+ return /* @__PURE__ */ jsx49(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
7157
7536
  }
7158
7537
  function PopoverContent({
7159
7538
  className,
@@ -7163,7 +7542,7 @@ function PopoverContent({
7163
7542
  sideOffset = 4,
7164
7543
  ...props
7165
7544
  }) {
7166
- return /* @__PURE__ */ jsx43(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx43(
7545
+ return /* @__PURE__ */ jsx49(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx49(
7167
7546
  PopoverPrimitive.Positioner,
7168
7547
  {
7169
7548
  align,
@@ -7171,11 +7550,11 @@ function PopoverContent({
7171
7550
  side,
7172
7551
  sideOffset,
7173
7552
  className: "isolate z-50",
7174
- children: /* @__PURE__ */ jsx43(
7553
+ children: /* @__PURE__ */ jsx49(
7175
7554
  PopoverPrimitive.Popup,
7176
7555
  {
7177
7556
  "data-slot": "popover-content",
7178
- className: cn42(
7557
+ className: cn46(
7179
7558
  "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-background p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
7180
7559
  className
7181
7560
  ),
@@ -7186,21 +7565,21 @@ function PopoverContent({
7186
7565
  ) });
7187
7566
  }
7188
7567
  function PopoverHeader({ className, ...props }) {
7189
- return /* @__PURE__ */ jsx43(
7568
+ return /* @__PURE__ */ jsx49(
7190
7569
  "div",
7191
7570
  {
7192
7571
  "data-slot": "popover-header",
7193
- className: cn42("flex flex-col gap-0.5 text-sm", className),
7572
+ className: cn46("flex flex-col gap-0.5 text-sm", className),
7194
7573
  ...props
7195
7574
  }
7196
7575
  );
7197
7576
  }
7198
7577
  function PopoverTitle({ className, ...props }) {
7199
- return /* @__PURE__ */ jsx43(
7578
+ return /* @__PURE__ */ jsx49(
7200
7579
  PopoverPrimitive.Title,
7201
7580
  {
7202
7581
  "data-slot": "popover-title",
7203
- className: cn42("font-medium", className),
7582
+ className: cn46("font-medium", className),
7204
7583
  ...props
7205
7584
  }
7206
7585
  );
@@ -7209,11 +7588,11 @@ function PopoverDescription({
7209
7588
  className,
7210
7589
  ...props
7211
7590
  }) {
7212
- return /* @__PURE__ */ jsx43(
7591
+ return /* @__PURE__ */ jsx49(
7213
7592
  PopoverPrimitive.Description,
7214
7593
  {
7215
7594
  "data-slot": "popover-description",
7216
- className: cn42("text-muted-foreground", className),
7595
+ className: cn46("text-muted-foreground", className),
7217
7596
  ...props
7218
7597
  }
7219
7598
  );
@@ -7223,11 +7602,11 @@ function PopoverDescription({
7223
7602
  import { NumberField } from "@base-ui/react/number-field";
7224
7603
  import { Minus, Plus } from "@gravity-ui/icons";
7225
7604
  import * as React13 from "react";
7226
- import { jsx as jsx44, jsxs as jsxs25 } from "react/jsx-runtime";
7605
+ import { jsx as jsx50, jsxs as jsxs28 } from "react/jsx-runtime";
7227
7606
  var QuantityInput = React13.forwardRef(function QuantityInput2({ ...props }, ref) {
7228
7607
  const id = React13.useId();
7229
- return /* @__PURE__ */ jsx44(NumberField.Root, { id, ...props, className: "flex flex-col items-start", children: /* @__PURE__ */ jsxs25(NumberField.Group, { className: "flex h-8 gap-1", children: [
7230
- /* @__PURE__ */ jsx44(
7608
+ return /* @__PURE__ */ jsx50(NumberField.Root, { id, ...props, className: "flex flex-col items-start", children: /* @__PURE__ */ jsxs28(NumberField.Group, { className: "flex h-8 gap-1", children: [
7609
+ /* @__PURE__ */ jsx50(
7231
7610
  NumberField.Decrement,
7232
7611
  {
7233
7612
  className: buttonVariants({
@@ -7235,10 +7614,10 @@ var QuantityInput = React13.forwardRef(function QuantityInput2({ ...props }, ref
7235
7614
  size: "icon-sm",
7236
7615
  className: "rounded-full! border-border!"
7237
7616
  }),
7238
- children: /* @__PURE__ */ jsx44(Minus, {})
7617
+ children: /* @__PURE__ */ jsx50(Minus, {})
7239
7618
  }
7240
7619
  ),
7241
- /* @__PURE__ */ jsx44(
7620
+ /* @__PURE__ */ jsx50(
7242
7621
  NumberField.Input,
7243
7622
  {
7244
7623
  ref,
@@ -7246,7 +7625,7 @@ var QuantityInput = React13.forwardRef(function QuantityInput2({ ...props }, ref
7246
7625
  "data-no-ring": true
7247
7626
  }
7248
7627
  ),
7249
- /* @__PURE__ */ jsx44(
7628
+ /* @__PURE__ */ jsx50(
7250
7629
  NumberField.Increment,
7251
7630
  {
7252
7631
  className: buttonVariants({
@@ -7254,7 +7633,7 @@ var QuantityInput = React13.forwardRef(function QuantityInput2({ ...props }, ref
7254
7633
  size: "icon-sm",
7255
7634
  className: "rounded-full! border-border!"
7256
7635
  }),
7257
- children: /* @__PURE__ */ jsx44(Plus, {})
7636
+ children: /* @__PURE__ */ jsx50(Plus, {})
7258
7637
  }
7259
7638
  )
7260
7639
  ] }) });
@@ -7263,34 +7642,34 @@ var QuantityInput = React13.forwardRef(function QuantityInput2({ ...props }, ref
7263
7642
  // src/ui/radio-group.tsx
7264
7643
  import { Radio as RadioPrimitive } from "@base-ui/react/radio";
7265
7644
  import { RadioGroup as RadioGroupPrimitive } from "@base-ui/react/radio-group";
7266
- import { cn as cn43 } from "cn";
7267
- import { jsx as jsx45 } from "react/jsx-runtime";
7645
+ import { cn as cn47 } from "cn";
7646
+ import { jsx as jsx51 } from "react/jsx-runtime";
7268
7647
  function RadioGroup({ className, ...props }) {
7269
- return /* @__PURE__ */ jsx45(
7648
+ return /* @__PURE__ */ jsx51(
7270
7649
  RadioGroupPrimitive,
7271
7650
  {
7272
7651
  "data-slot": "radio-group",
7273
- className: cn43("grid w-full gap-2", className),
7652
+ className: cn47("grid w-full gap-2", className),
7274
7653
  ...props
7275
7654
  }
7276
7655
  );
7277
7656
  }
7278
7657
  function RadioGroupItem({ className, ...props }) {
7279
- return /* @__PURE__ */ jsx45(
7658
+ return /* @__PURE__ */ jsx51(
7280
7659
  RadioPrimitive.Root,
7281
7660
  {
7282
7661
  "data-slot": "radio-group-item",
7283
- className: cn43(
7662
+ className: cn47(
7284
7663
  "group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",
7285
7664
  className
7286
7665
  ),
7287
7666
  ...props,
7288
- children: /* @__PURE__ */ jsx45(
7667
+ children: /* @__PURE__ */ jsx51(
7289
7668
  RadioPrimitive.Indicator,
7290
7669
  {
7291
7670
  "data-slot": "radio-group-indicator",
7292
7671
  className: "flex size-4 items-center justify-center",
7293
- children: /* @__PURE__ */ jsx45("span", { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground" })
7672
+ children: /* @__PURE__ */ jsx51("span", { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground" })
7294
7673
  }
7295
7674
  )
7296
7675
  }
@@ -7298,18 +7677,18 @@ function RadioGroupItem({ className, ...props }) {
7298
7677
  }
7299
7678
 
7300
7679
  // src/ui/resizable.tsx
7301
- import { cn as cn44 } from "cn";
7680
+ import { cn as cn48 } from "cn";
7302
7681
  import * as ResizablePrimitive from "react-resizable-panels";
7303
- import { jsx as jsx46, jsxs as jsxs26 } from "react/jsx-runtime";
7682
+ import { jsx as jsx52, jsxs as jsxs29 } from "react/jsx-runtime";
7304
7683
  function ResizablePanelGroup({
7305
7684
  className,
7306
7685
  ...props
7307
7686
  }) {
7308
- return /* @__PURE__ */ jsx46(
7687
+ return /* @__PURE__ */ jsx52(
7309
7688
  ResizablePrimitive.Group,
7310
7689
  {
7311
7690
  "data-slot": "resizable-panel-group",
7312
- className: cn44(
7691
+ className: cn48(
7313
7692
  "flex h-full w-full aria-[orientation=vertical]:flex-col",
7314
7693
  className
7315
7694
  ),
@@ -7318,26 +7697,26 @@ function ResizablePanelGroup({
7318
7697
  );
7319
7698
  }
7320
7699
  function ResizablePanel({ ...props }) {
7321
- return /* @__PURE__ */ jsx46(ResizablePrimitive.Panel, { "data-slot": "resizable-panel", ...props });
7700
+ return /* @__PURE__ */ jsx52(ResizablePrimitive.Panel, { "data-slot": "resizable-panel", ...props });
7322
7701
  }
7323
7702
  function ResizableHandle({
7324
7703
  withHandle,
7325
7704
  className,
7326
7705
  ...props
7327
7706
  }) {
7328
- return /* @__PURE__ */ jsx46(
7707
+ return /* @__PURE__ */ jsx52(
7329
7708
  ResizablePrimitive.Separator,
7330
7709
  {
7331
7710
  "data-slot": "resizable-handle",
7332
- className: cn44(
7711
+ className: cn48(
7333
7712
  "relative mx-0.5 flex w-px items-center justify-center",
7334
7713
  className
7335
7714
  ),
7336
7715
  ...props,
7337
- children: withHandle && /* @__PURE__ */ jsxs26("div", { className: "flex cursor-col-resize flex-col gap-[4px]", children: [
7338
- /* @__PURE__ */ jsx46("span", { className: "size-[2px] rounded-full bg-muted-foreground/60" }),
7339
- /* @__PURE__ */ jsx46("span", { className: "size-[2px] rounded-full bg-muted-foreground/60" }),
7340
- /* @__PURE__ */ jsx46("span", { className: "size-[2px] rounded-full bg-muted-foreground/60" })
7716
+ children: withHandle && /* @__PURE__ */ jsxs29("div", { className: "flex cursor-col-resize flex-col gap-[4px]", children: [
7717
+ /* @__PURE__ */ jsx52("span", { className: "size-[2px] rounded-full bg-muted-foreground/60" }),
7718
+ /* @__PURE__ */ jsx52("span", { className: "size-[2px] rounded-full bg-muted-foreground/60" }),
7719
+ /* @__PURE__ */ jsx52("span", { className: "size-[2px] rounded-full bg-muted-foreground/60" })
7341
7720
  ] })
7342
7721
  }
7343
7722
  );
@@ -7345,26 +7724,26 @@ function ResizableHandle({
7345
7724
 
7346
7725
  // src/ui/select.tsx
7347
7726
  import { Select as SelectPrimitive } from "@base-ui/react/select";
7348
- import { cn as cn45 } from "cn";
7727
+ import { cn as cn49 } from "cn";
7349
7728
  import { Check as Check3, ChevronDown as ChevronDown3, ChevronUp as ChevronUp2 } from "@gravity-ui/icons";
7350
- import { jsx as jsx47, jsxs as jsxs27 } from "react/jsx-runtime";
7729
+ import { jsx as jsx53, jsxs as jsxs30 } from "react/jsx-runtime";
7351
7730
  var Select = SelectPrimitive.Root;
7352
7731
  function SelectGroup({ className, ...props }) {
7353
- return /* @__PURE__ */ jsx47(
7732
+ return /* @__PURE__ */ jsx53(
7354
7733
  SelectPrimitive.Group,
7355
7734
  {
7356
7735
  "data-slot": "select-group",
7357
- className: cn45("scroll-my-1 p-1", className),
7736
+ className: cn49("scroll-my-1 p-1", className),
7358
7737
  ...props
7359
7738
  }
7360
7739
  );
7361
7740
  }
7362
7741
  function SelectValue({ className, ...props }) {
7363
- return /* @__PURE__ */ jsx47(
7742
+ return /* @__PURE__ */ jsx53(
7364
7743
  SelectPrimitive.Value,
7365
7744
  {
7366
7745
  "data-slot": "select-value",
7367
- className: cn45("flex flex-1 text-left", className),
7746
+ className: cn49("flex flex-1 text-left", className),
7368
7747
  ...props
7369
7748
  }
7370
7749
  );
@@ -7375,22 +7754,22 @@ function SelectTrigger({
7375
7754
  children,
7376
7755
  ...props
7377
7756
  }) {
7378
- return /* @__PURE__ */ jsxs27(
7757
+ return /* @__PURE__ */ jsxs30(
7379
7758
  SelectPrimitive.Trigger,
7380
7759
  {
7381
7760
  "data-slot": "select-trigger",
7382
7761
  "data-size": size,
7383
- className: cn45(
7762
+ className: cn49(
7384
7763
  "flex w-fit items-center justify-between gap-1.5 rounded-lg border border-input bg-transparent py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:ring-2 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-placeholder:text-muted-foreground data-[size=default]:h-8 *:data-[slot=select-value]:line-clamp-1 dark:hover:bg-input/50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
7385
7764
  className
7386
7765
  ),
7387
7766
  ...props,
7388
7767
  children: [
7389
7768
  children,
7390
- /* @__PURE__ */ jsx47(
7769
+ /* @__PURE__ */ jsx53(
7391
7770
  SelectPrimitive.Icon,
7392
7771
  {
7393
- render: /* @__PURE__ */ jsx47(ChevronDown3, { className: "pointer-events-none size-4 text-muted-foreground" })
7772
+ render: /* @__PURE__ */ jsx53(ChevronDown3, { className: "pointer-events-none size-4 text-muted-foreground" })
7394
7773
  }
7395
7774
  )
7396
7775
  ]
@@ -7407,7 +7786,7 @@ function SelectContent({
7407
7786
  alignItemWithTrigger = true,
7408
7787
  ...props
7409
7788
  }) {
7410
- return /* @__PURE__ */ jsx47(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx47(
7789
+ return /* @__PURE__ */ jsx53(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx53(
7411
7790
  SelectPrimitive.Positioner,
7412
7791
  {
7413
7792
  side,
@@ -7416,20 +7795,20 @@ function SelectContent({
7416
7795
  alignOffset,
7417
7796
  alignItemWithTrigger,
7418
7797
  className: "isolate z-50",
7419
- children: /* @__PURE__ */ jsxs27(
7798
+ children: /* @__PURE__ */ jsxs30(
7420
7799
  SelectPrimitive.Popup,
7421
7800
  {
7422
7801
  "data-slot": "select-content",
7423
7802
  "data-align-trigger": alignItemWithTrigger,
7424
- className: cn45(
7803
+ className: cn49(
7425
7804
  "relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-background text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-open:fade-in-0 data-open:zoom-in-95 data-closed:fade-out-0 data-closed:zoom-out-95",
7426
7805
  className
7427
7806
  ),
7428
7807
  ...props,
7429
7808
  children: [
7430
- /* @__PURE__ */ jsx47(SelectScrollUpButton, {}),
7431
- /* @__PURE__ */ jsx47(SelectPrimitive.List, { className: "p-1", children }),
7432
- /* @__PURE__ */ jsx47(SelectScrollDownButton, {})
7809
+ /* @__PURE__ */ jsx53(SelectScrollUpButton, {}),
7810
+ /* @__PURE__ */ jsx53(SelectPrimitive.List, { className: "p-1", children }),
7811
+ /* @__PURE__ */ jsx53(SelectScrollDownButton, {})
7433
7812
  ]
7434
7813
  }
7435
7814
  )
@@ -7440,11 +7819,11 @@ function SelectLabel({
7440
7819
  className,
7441
7820
  ...props
7442
7821
  }) {
7443
- return /* @__PURE__ */ jsx47(
7822
+ return /* @__PURE__ */ jsx53(
7444
7823
  SelectPrimitive.GroupLabel,
7445
7824
  {
7446
7825
  "data-slot": "select-label",
7447
- className: cn45("px-1.5 py-1 text-xs text-muted-foreground", className),
7826
+ className: cn49("px-1.5 py-1 text-xs text-muted-foreground", className),
7448
7827
  ...props
7449
7828
  }
7450
7829
  );
@@ -7454,22 +7833,22 @@ function SelectItem({
7454
7833
  children,
7455
7834
  ...props
7456
7835
  }) {
7457
- return /* @__PURE__ */ jsxs27(
7836
+ return /* @__PURE__ */ jsxs30(
7458
7837
  SelectPrimitive.Item,
7459
7838
  {
7460
7839
  "data-slot": "select-item",
7461
- className: cn45(
7840
+ className: cn49(
7462
7841
  "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
7463
7842
  className
7464
7843
  ),
7465
7844
  ...props,
7466
7845
  children: [
7467
- /* @__PURE__ */ jsx47(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
7468
- /* @__PURE__ */ jsx47(
7846
+ /* @__PURE__ */ jsx53(SelectPrimitive.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
7847
+ /* @__PURE__ */ jsx53(
7469
7848
  SelectPrimitive.ItemIndicator,
7470
7849
  {
7471
- render: /* @__PURE__ */ jsx47("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
7472
- children: /* @__PURE__ */ jsx47(Check3, { className: "pointer-events-none" })
7850
+ render: /* @__PURE__ */ jsx53("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
7851
+ children: /* @__PURE__ */ jsx53(Check3, { className: "pointer-events-none" })
7473
7852
  }
7474
7853
  )
7475
7854
  ]
@@ -7480,11 +7859,11 @@ function SelectSeparator({
7480
7859
  className,
7481
7860
  ...props
7482
7861
  }) {
7483
- return /* @__PURE__ */ jsx47(
7862
+ return /* @__PURE__ */ jsx53(
7484
7863
  SelectPrimitive.Separator,
7485
7864
  {
7486
7865
  "data-slot": "select-separator",
7487
- className: cn45("pointer-events-none -mx-1 my-1 h-px bg-border", className),
7866
+ className: cn49("pointer-events-none -mx-1 my-1 h-px bg-border", className),
7488
7867
  ...props
7489
7868
  }
7490
7869
  );
@@ -7493,16 +7872,16 @@ function SelectScrollUpButton({
7493
7872
  className,
7494
7873
  ...props
7495
7874
  }) {
7496
- return /* @__PURE__ */ jsx47(
7875
+ return /* @__PURE__ */ jsx53(
7497
7876
  SelectPrimitive.ScrollUpArrow,
7498
7877
  {
7499
7878
  "data-slot": "select-scroll-up-button",
7500
- className: cn45(
7879
+ className: cn49(
7501
7880
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-background py-1 [&_svg:not([class*='size-'])]:size-4",
7502
7881
  className
7503
7882
  ),
7504
7883
  ...props,
7505
- children: /* @__PURE__ */ jsx47(ChevronUp2, {})
7884
+ children: /* @__PURE__ */ jsx53(ChevronUp2, {})
7506
7885
  }
7507
7886
  );
7508
7887
  }
@@ -7510,213 +7889,28 @@ function SelectScrollDownButton({
7510
7889
  className,
7511
7890
  ...props
7512
7891
  }) {
7513
- return /* @__PURE__ */ jsx47(
7892
+ return /* @__PURE__ */ jsx53(
7514
7893
  SelectPrimitive.ScrollDownArrow,
7515
7894
  {
7516
7895
  "data-slot": "select-scroll-down-button",
7517
- className: cn45(
7896
+ className: cn49(
7518
7897
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-background py-1 [&_svg:not([class*='size-'])]:size-4",
7519
7898
  className
7520
7899
  ),
7521
7900
  ...props,
7522
- children: /* @__PURE__ */ jsx47(ChevronDown3, {})
7523
- }
7524
- );
7525
- }
7526
-
7527
- // src/ui/skeleton.tsx
7528
- import {
7529
- forwardRef as forwardRef5,
7530
- useLayoutEffect as useLayoutEffect2
7531
- } from "react";
7532
- import { cn as cn46 } from "cn";
7533
- import { jsx as jsx48 } from "react/jsx-runtime";
7534
- var componentThemeClassName = "[--ic-background:#ffffff] [--ic-foreground:#111111] [--ic-primary:#111111] [--ic-secondary:#646b75] [--ic-surface-border:#e9edf2] [--ic-border:#e3e7ec] [--ic-card:#ffffff] [--ic-card-foreground:#111111] [--ic-muted:#f5f7fa] [--ic-muted-foreground:#6d7480] [--ic-accent:#f3f5f8] [--color-accent:var(--ic-accent)] [--color-accent-foreground:var(--ic-accent-foreground)] [--ic-accent-foreground:#111111] [--ic-input:#e3e7ec] [--ic-ring:rgba(17,17,17,0.16)] [--ic-destructive:#dc2626] [--ic-paper:#fcfcfd] [--ic-popover-foreground:#111111] [--ic-brand:#0ea5e9] [--ic-brand-soft:#bae6fd] [--ic-shadow-soft:0_18px_38px_-24px_rgba(15,23,42,0.35)] [--ic-chart-1:oklch(0.52_0.19_254)] [--ic-chart-2:oklch(0.74_0.11_232)] [--ic-chart-3:oklch(0.42_0.16_262)] [--ic-chart-4:oklch(0.84_0.07_228)] [--ic-chart-5:oklch(0.62_0.14_240)] [--color-background:var(--ic-background)] [--color-foreground:var(--ic-foreground)] [--color-primary:var(--ic-primary)] [--color-secondary:var(--ic-secondary)] [--color-border:var(--ic-border)] [--color-card:var(--ic-card)] [--color-card-foreground:var(--ic-card-foreground)] [--color-muted:var(--ic-muted)] [--color-muted-foreground:var(--ic-muted-foreground)] [--color-accent:var(--ic-accent)] [--color-accent-foreground:var(--ic-accent-foreground)] [--color-input:var(--ic-input)] [--color-ring:var(--ic-ring)] [--color-destructive:var(--ic-destructive)] [--color-paper:var(--ic-paper)] [--color-popover-foreground:var(--ic-popover-foreground)] [--color-brand:var(--ic-brand)] [--color-brand-soft:var(--ic-brand-soft)] [--color-chart-1:var(--ic-chart-1)] [--color-chart-2:var(--ic-chart-2)] [--color-chart-3:var(--ic-chart-3)] [--color-chart-4:var(--ic-chart-4)] [--color-chart-5:var(--ic-chart-5)] dark:[--ic-background:#111111] dark:[--ic-foreground:#f6f3ec] dark:[--ic-primary:#f6f3ec] dark:[--ic-secondary:#cbc6bb] dark:[--ic-surface-border:#2a2a25] dark:[--ic-border:#2b2a25] dark:[--ic-card:#111111] dark:[--ic-card-foreground:#f6f3ec] dark:[--ic-muted:#171716] dark:[--ic-muted-foreground:#9a958a] dark:[--ic-accent:#1a1a18] [--color-accent:var(--ic-accent)] [--color-accent-foreground:var(--ic-accent-foreground)] dark:[--ic-accent-foreground:#f6f3ec] dark:[--ic-input:#2b2a25] dark:[--ic-ring:rgba(246,243,236,0.18)] dark:[--ic-destructive:#f87171] dark:[--ic-paper:#171716] dark:[--ic-popover-foreground:#f6f3ec] dark:[--ic-brand:#38bdf8] dark:[--ic-brand-soft:#0c4a6e] dark:[--ic-shadow-soft:0_20px_44px_-28px_rgba(0,0,0,0.6)] dark:[--ic-chart-1:oklch(0.68_0.17_250)] dark:[--ic-chart-2:oklch(0.82_0.09_225)] dark:[--ic-chart-3:oklch(0.58_0.15_260)] dark:[--ic-chart-4:oklch(0.75_0.12_235)] dark:[--ic-chart-5:oklch(0.88_0.06_220)]";
7535
- var STYLE_ID = "iconiq-skeleton-styles";
7536
- var SKELETON_CSS = `
7537
- @keyframes iconiq-skeleton-shimmer {
7538
- to {
7539
- transform: translateX(200%);
7540
- }
7541
- }
7542
-
7543
- @keyframes iconiq-skeleton-fade {
7544
- 0%,
7545
- 100% {
7546
- opacity: 1;
7547
- }
7548
-
7549
- 50% {
7550
- opacity: 0.38;
7551
- }
7552
- }
7553
-
7554
- .iconiq-skeleton-surface {
7555
- background-color: #f5f7fa;
7556
- background-color: var(--ic-muted);
7557
- }
7558
-
7559
- .iconiq-skeleton-shimmer {
7560
- background: linear-gradient(
7561
- 90deg,
7562
- transparent 0%,
7563
- rgba(17, 17, 17, 0.06) 50%,
7564
- transparent 100%
7565
- );
7566
- background: linear-gradient(
7567
- 90deg,
7568
- transparent 0%,
7569
- color-mix(in srgb, var(--ic-foreground) 6%, transparent) 50%,
7570
- transparent 100%
7571
- );
7572
- animation: iconiq-skeleton-shimmer var(--iconiq-skeleton-duration, 1.6s)
7573
- ease-in-out infinite;
7574
- }
7575
-
7576
- .iconiq-skeleton-fade-root {
7577
- animation: iconiq-skeleton-fade var(--iconiq-skeleton-duration, 2.4s)
7578
- ease-in-out infinite;
7579
- }
7580
-
7581
- @media (prefers-reduced-motion: reduce) {
7582
- .iconiq-skeleton-shimmer,
7583
- .iconiq-skeleton-fade-root {
7584
- animation: none;
7585
- }
7586
- }
7587
- `;
7588
- var skeletonRoundedClasses = {
7589
- none: "rounded-none",
7590
- sm: "rounded-sm",
7591
- md: "rounded-md",
7592
- lg: "rounded-lg",
7593
- full: "rounded-full"
7594
- };
7595
- var skeletonVariantDefaultDuration = {
7596
- shimmer: 1.6,
7597
- fade: 2.4
7598
- };
7599
- function getSkeletonVariantDuration(variant, duration = 1.6) {
7600
- if (duration !== 1.6) {
7601
- return duration;
7602
- }
7603
- return skeletonVariantDefaultDuration[variant];
7604
- }
7605
- function ensureSkeletonStyles() {
7606
- if (typeof document === "undefined") {
7607
- return;
7608
- }
7609
- let style = document.getElementById(STYLE_ID);
7610
- if (!style) {
7611
- style = document.createElement("style");
7612
- style.id = STYLE_ID;
7613
- document.head.appendChild(style);
7614
- }
7615
- style.textContent = SKELETON_CSS;
7616
- }
7617
- function resolveSkeletonA11yProps({
7618
- animate: animate2 = true,
7619
- decorative = true,
7620
- label
7621
- }) {
7622
- if (decorative || label === null) {
7623
- return { "aria-hidden": true };
7624
- }
7625
- return {
7626
- "aria-label": label ?? (animate2 ? "Loading" : "Placeholder"),
7627
- "aria-live": "polite",
7628
- role: "status"
7629
- };
7630
- }
7631
- var Skeleton = forwardRef5(function Skeleton2({
7632
- animate: animate2 = true,
7633
- className,
7634
- decorative = true,
7635
- duration = 1.6,
7636
- label,
7637
- rounded = "md",
7638
- style,
7639
- variant = "shimmer",
7640
- ...props
7641
- }, ref) {
7642
- const variantDuration = getSkeletonVariantDuration(variant, duration);
7643
- const showShimmer = animate2 && variant === "shimmer";
7644
- const showFade = animate2 && variant === "fade";
7645
- useLayoutEffect2(() => {
7646
- if (animate2) {
7647
- ensureSkeletonStyles();
7648
- }
7649
- }, [animate2]);
7650
- const animatedStyle = showShimmer || showFade ? {
7651
- ...style,
7652
- "--iconiq-skeleton-duration": `${variantDuration}s`
7653
- } : style;
7654
- return /* @__PURE__ */ jsx48(
7655
- "div",
7656
- {
7657
- className: cn46(
7658
- componentThemeClassName,
7659
- "iconiq-skeleton-surface relative block h-4 w-full overflow-hidden",
7660
- showFade && "iconiq-skeleton-fade-root",
7661
- skeletonRoundedClasses[rounded],
7662
- className
7663
- ),
7664
- ref,
7665
- style: animatedStyle,
7666
- ...resolveSkeletonA11yProps({ animate: animate2, decorative, label }),
7667
- ...props,
7668
- children: showShimmer ? /* @__PURE__ */ jsx48(
7669
- "span",
7670
- {
7671
- "aria-hidden": "true",
7672
- className: "iconiq-skeleton-shimmer pointer-events-none absolute inset-0 -translate-x-full"
7673
- }
7674
- ) : null
7675
- }
7676
- );
7677
- });
7678
- Skeleton.displayName = "Skeleton";
7679
- function SkeletonAvatar({
7680
- className,
7681
- ...props
7682
- }) {
7683
- return /* @__PURE__ */ jsx48(
7684
- Skeleton,
7685
- {
7686
- className: cn46("size-10", className),
7687
- decorative: true,
7688
- rounded: "full",
7689
- ...props
7690
- }
7691
- );
7692
- }
7693
- function SkeletonText({ className, ...props }) {
7694
- return /* @__PURE__ */ jsx48(Skeleton, { className: cn46("h-3", className), decorative: true, ...props });
7695
- }
7696
- function SkeletonButton({
7697
- className,
7698
- ...props
7699
- }) {
7700
- return /* @__PURE__ */ jsx48(
7701
- Skeleton,
7702
- {
7703
- className: cn46("h-9 w-24", className),
7704
- decorative: true,
7705
- rounded: "lg",
7706
- ...props
7901
+ children: /* @__PURE__ */ jsx53(ChevronDown3, {})
7707
7902
  }
7708
7903
  );
7709
7904
  }
7710
- var ShimmerSkeleton = Skeleton;
7711
7905
 
7712
7906
  // src/ui/sonner.tsx
7713
7907
  import { GooeyToaster } from "goey-toast";
7714
7908
  import { useTheme as useTheme2 } from "next-themes";
7715
- import { jsx as jsx49 } from "react/jsx-runtime";
7909
+ import { jsx as jsx54 } from "react/jsx-runtime";
7716
7910
  var Toaster = ({ closeButton = "top-left", ...props }) => {
7717
7911
  const { theme = "system" } = useTheme2();
7718
7912
  const toasterTheme = theme === "dark" ? "dark" : "light";
7719
- return /* @__PURE__ */ jsx49(
7913
+ return /* @__PURE__ */ jsx54(
7720
7914
  GooeyToaster,
7721
7915
  {
7722
7916
  theme: toasterTheme,
@@ -7802,8 +7996,8 @@ function useComposedRefs(...refs) {
7802
7996
  }
7803
7997
 
7804
7998
  // src/ui/sortable.tsx
7805
- import { cn as cn47 } from "cn";
7806
- import { jsx as jsx50 } from "react/jsx-runtime";
7999
+ import { cn as cn50 } from "cn";
8000
+ import { jsx as jsx55 } from "react/jsx-runtime";
7807
8001
  var orientationConfig = {
7808
8002
  vertical: {
7809
8003
  modifiers: [restrictToVerticalAxis, restrictToParentElement],
@@ -7988,11 +8182,11 @@ function Sortable(props) {
7988
8182
  flatCursor
7989
8183
  ]
7990
8184
  );
7991
- return /* @__PURE__ */ jsx50(
8185
+ return /* @__PURE__ */ jsx55(
7992
8186
  SortableRootContext.Provider,
7993
8187
  {
7994
8188
  value: contextValue,
7995
- children: /* @__PURE__ */ jsx50(
8189
+ children: /* @__PURE__ */ jsx55(
7996
8190
  DndContext,
7997
8191
  {
7998
8192
  collisionDetection: collisionDetection ?? config.collisionDetection,
@@ -8041,7 +8235,7 @@ function SortableContent(props) {
8041
8235
  },
8042
8236
  enabled: !withoutSlot
8043
8237
  });
8044
- return /* @__PURE__ */ jsx50(SortableContentContext.Provider, { value: true, children: /* @__PURE__ */ jsx50(
8238
+ return /* @__PURE__ */ jsx55(SortableContentContext.Provider, { value: true, children: /* @__PURE__ */ jsx55(
8045
8239
  SortableContext,
8046
8240
  {
8047
8241
  items: context.items,
@@ -8125,7 +8319,7 @@ function SortableItem(props) {
8125
8319
  id,
8126
8320
  ref: composedRef,
8127
8321
  style: composedStyle,
8128
- className: cn47(
8322
+ className: cn50(
8129
8323
  "focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:outline-hidden",
8130
8324
  {
8131
8325
  "touch-none select-none": asHandle,
@@ -8148,7 +8342,7 @@ function SortableItem(props) {
8148
8342
  ...isDragging && { dragging: "" }
8149
8343
  }
8150
8344
  });
8151
- return /* @__PURE__ */ jsx50(SortableItemContext.Provider, { value: itemContext, children: element });
8345
+ return /* @__PURE__ */ jsx55(SortableItemContext.Provider, { value: itemContext, children: element });
8152
8346
  }
8153
8347
  function SortableItemHandle(props) {
8154
8348
  const { disabled, className, render, ref, ...itemHandleProps } = props;
@@ -8173,7 +8367,7 @@ function SortableItemHandle(props) {
8173
8367
  "aria-controls": itemContext.id,
8174
8368
  ref: composedRef,
8175
8369
  disabled: isDisabled,
8176
- className: cn47(
8370
+ className: cn50(
8177
8371
  "select-none disabled:pointer-events-none disabled:opacity-50",
8178
8372
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
8179
8373
  className
@@ -8208,14 +8402,14 @@ function SortableOverlay(props) {
8208
8402
  const container = containerProp ?? (mounted ? globalThis.document?.body : null);
8209
8403
  if (!container) return null;
8210
8404
  return ReactDOM.createPortal(
8211
- /* @__PURE__ */ jsx50(
8405
+ /* @__PURE__ */ jsx55(
8212
8406
  DragOverlay,
8213
8407
  {
8214
8408
  dropAnimation,
8215
8409
  modifiers: context.modifiers,
8216
- className: cn47(!context.flatCursor && "cursor-grabbing"),
8410
+ className: cn50(!context.flatCursor && "cursor-grabbing"),
8217
8411
  ...overlayProps,
8218
- children: /* @__PURE__ */ jsx50(SortableOverlayContext.Provider, { value: true, children: context.activeId ? typeof children === "function" ? children({ value: context.activeId }) : children : null })
8412
+ children: /* @__PURE__ */ jsx55(SortableOverlayContext.Provider, { value: true, children: context.activeId ? typeof children === "function" ? children({ value: context.activeId }) : children : null })
8219
8413
  }
8220
8414
  ),
8221
8415
  container
@@ -8224,8 +8418,8 @@ function SortableOverlay(props) {
8224
8418
 
8225
8419
  // src/ui/swipe-actions.tsx
8226
8420
  import * as SwipeActionsPrimitive from "@ncdai/react-swipe-actions";
8227
- import { cn as cn48 } from "cn";
8228
- import { jsx as jsx51 } from "react/jsx-runtime";
8421
+ import { cn as cn51 } from "cn";
8422
+ import { jsx as jsx56 } from "react/jsx-runtime";
8229
8423
  var SwipeRoot2 = SwipeActionsPrimitive.SwipeRoot;
8230
8424
  var SwipeItem2 = SwipeActionsPrimitive.SwipeItem;
8231
8425
  var SwipeActions2 = SwipeActionsPrimitive.SwipeActions;
@@ -8234,15 +8428,15 @@ function SwipeAction2({
8234
8428
  children,
8235
8429
  ...props
8236
8430
  }) {
8237
- return /* @__PURE__ */ jsx51(
8431
+ return /* @__PURE__ */ jsx56(
8238
8432
  SwipeActionsPrimitive.SwipeAction,
8239
8433
  {
8240
- className: cn48(
8434
+ className: cn51(
8241
8435
  "bg-secondary text-xs font-medium whitespace-nowrap text-secondary-foreground select-none focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-foreground data-armed:brightness-90 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
8242
8436
  className
8243
8437
  ),
8244
8438
  ...props,
8245
- children: /* @__PURE__ */ jsx51(SwipeActionsPrimitive.SwipeActionContent, { className: "min-w-20 flex-col items-center justify-center gap-1.5 px-4", children })
8439
+ children: /* @__PURE__ */ jsx56(SwipeActionsPrimitive.SwipeActionContent, { className: "min-w-20 flex-col items-center justify-center gap-1.5 px-4", children })
8246
8440
  }
8247
8441
  );
8248
8442
  }
@@ -8250,10 +8444,10 @@ function SwipeContent2({
8250
8444
  className,
8251
8445
  ...props
8252
8446
  }) {
8253
- return /* @__PURE__ */ jsx51(
8447
+ return /* @__PURE__ */ jsx56(
8254
8448
  SwipeActionsPrimitive.SwipeContent,
8255
8449
  {
8256
- className: cn48("data-dragging:cursor-grabbing", className),
8450
+ className: cn51("data-dragging:cursor-grabbing", className),
8257
8451
  ...props
8258
8452
  }
8259
8453
  );
@@ -8261,24 +8455,24 @@ function SwipeContent2({
8261
8455
 
8262
8456
  // src/ui/switch.tsx
8263
8457
  import { Switch as SwitchPrimitive } from "@base-ui/react/switch";
8264
- import { cn as cn49 } from "cn";
8265
- import { jsx as jsx52 } from "react/jsx-runtime";
8458
+ import { cn as cn52 } from "cn";
8459
+ import { jsx as jsx57 } from "react/jsx-runtime";
8266
8460
  function Switch({
8267
8461
  className,
8268
8462
  size = "default",
8269
8463
  ...props
8270
8464
  }) {
8271
- return /* @__PURE__ */ jsx52(
8465
+ return /* @__PURE__ */ jsx57(
8272
8466
  SwitchPrimitive.Root,
8273
8467
  {
8274
8468
  "data-slot": "switch",
8275
8469
  "data-size": size,
8276
- className: cn49(
8470
+ className: cn52(
8277
8471
  "peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-[background-color,border-color,box-shadow,opacity] duration-150 ease-out outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=default]:h-[18.4px] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6 motion-reduce:transition-none dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:bg-primary data-unchecked:bg-input dark:data-unchecked:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-50",
8278
8472
  className
8279
8473
  ),
8280
8474
  ...props,
8281
- children: /* @__PURE__ */ jsx52(
8475
+ children: /* @__PURE__ */ jsx57(
8282
8476
  SwitchPrimitive.Thumb,
8283
8477
  {
8284
8478
  "data-slot": "switch-thumb",
@@ -8290,11 +8484,11 @@ function Switch({
8290
8484
  }
8291
8485
 
8292
8486
  // src/ui/theme-toggle.tsx
8293
- import { cn as cn50 } from "cn";
8487
+ import { cn as cn53 } from "cn";
8294
8488
  import { motion as motion8, useReducedMotion as useReducedMotion3 } from "motion/react";
8295
8489
  import { useTheme as useTheme3 } from "next-themes";
8296
8490
  import { useId as useId7 } from "react";
8297
- import { jsx as jsx53, jsxs as jsxs28 } from "react/jsx-runtime";
8491
+ import { jsx as jsx58, jsxs as jsxs31 } from "react/jsx-runtime";
8298
8492
  var MORPH = { type: "spring", visualDuration: 0.4, bounce: 0 };
8299
8493
  var RAY_STAGGER = 0.018;
8300
8494
  var EASE_OUT3 = [0.23, 1, 0.32, 1];
@@ -8325,14 +8519,14 @@ function ThemeToggle({
8325
8519
  const activeVariant = variant ?? "ghost";
8326
8520
  const maskId = `moon-${useId7().replace(/[^\w-]/g, "")}`;
8327
8521
  const morph = reduceMotion ? { duration: 0 } : MORPH;
8328
- return /* @__PURE__ */ jsx53(
8522
+ return /* @__PURE__ */ jsx58(
8329
8523
  "button",
8330
8524
  {
8331
8525
  type: "button",
8332
8526
  "aria-label": "Toggle theme",
8333
8527
  "aria-pressed": dark,
8334
8528
  onClick: () => setTheme(dark ? "light" : "dark"),
8335
- className: cn50(
8529
+ className: cn53(
8336
8530
  buttonVariants({ variant: activeVariant }),
8337
8531
  "shadow-raised relative touch-manipulation rounded-full outline-hidden select-none",
8338
8532
  "transition-[scale,background-color] duration-150 ease-out active:scale-[0.96] motion-reduce:transition-[background-color]",
@@ -8343,7 +8537,7 @@ function ThemeToggle({
8343
8537
  size === "lg" && "size-9",
8344
8538
  className
8345
8539
  ),
8346
- children: /* @__PURE__ */ jsxs28(
8540
+ children: /* @__PURE__ */ jsxs31(
8347
8541
  motion8.svg,
8348
8542
  {
8349
8543
  "aria-hidden": true,
@@ -8353,7 +8547,7 @@ function ThemeToggle({
8353
8547
  animate: { rotate: dark ? MOON_TILT : 0 },
8354
8548
  transition: morph,
8355
8549
  children: [
8356
- /* @__PURE__ */ jsx53("defs", { children: /* @__PURE__ */ jsxs28(
8550
+ /* @__PURE__ */ jsx58("defs", { children: /* @__PURE__ */ jsxs31(
8357
8551
  "mask",
8358
8552
  {
8359
8553
  id: maskId,
@@ -8363,8 +8557,8 @@ function ThemeToggle({
8363
8557
  width: "24",
8364
8558
  height: "24",
8365
8559
  children: [
8366
- /* @__PURE__ */ jsx53("rect", { width: "24", height: "24", fill: "white" }),
8367
- /* @__PURE__ */ jsx53(
8560
+ /* @__PURE__ */ jsx58("rect", { width: "24", height: "24", fill: "white" }),
8561
+ /* @__PURE__ */ jsx58(
8368
8562
  motion8.circle,
8369
8563
  {
8370
8564
  r: BITE_R,
@@ -8377,7 +8571,7 @@ function ThemeToggle({
8377
8571
  ]
8378
8572
  }
8379
8573
  ) }),
8380
- /* @__PURE__ */ jsx53(
8574
+ /* @__PURE__ */ jsx58(
8381
8575
  motion8.circle,
8382
8576
  {
8383
8577
  cx: "12",
@@ -8389,10 +8583,10 @@ function ThemeToggle({
8389
8583
  transition: morph
8390
8584
  }
8391
8585
  ),
8392
- /* @__PURE__ */ jsx53("g", { stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", children: RAYS.map((ray, i) => {
8586
+ /* @__PURE__ */ jsx58("g", { stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", children: RAYS.map((ray, i) => {
8393
8587
  const { inner, outer } = dark ? RAY_IN : RAY_OUT;
8394
8588
  const delay = reduceMotion ? 0 : dark ? i * RAY_STAGGER : 0.06 + (RAYS.length - 1 - i) * RAY_STAGGER;
8395
- return /* @__PURE__ */ jsx53(
8589
+ return /* @__PURE__ */ jsx58(
8396
8590
  motion8.line,
8397
8591
  {
8398
8592
  initial: false,
@@ -8526,6 +8720,25 @@ export {
8526
8720
  DEFAULT_I18N,
8527
8721
  DEFAULT_OPERATORS,
8528
8722
  DashedSeparator,
8723
+ DataGrid,
8724
+ DataGridCell,
8725
+ DataGridClipboard,
8726
+ DataGridColumn,
8727
+ DataGridFillHandle,
8728
+ DataGridMove,
8729
+ DataGridRow,
8730
+ DataTable,
8731
+ DataTableBody,
8732
+ DataTableCell,
8733
+ DataTableColumnResize,
8734
+ DataTableEmptyBody,
8735
+ DataTableHeader,
8736
+ DataTablePagination,
8737
+ DataTableRoot,
8738
+ DataTableRow,
8739
+ DataTableSearchFilter,
8740
+ DataTableSkeleton,
8741
+ DataTableToolbarSection,
8529
8742
  Dialog,
8530
8743
  DialogClose,
8531
8744
  DialogContent,
@@ -8586,6 +8799,9 @@ export {
8586
8799
  FieldTitle,
8587
8800
  Filters,
8588
8801
  FiltersContent,
8802
+ GridComboboxCell,
8803
+ GridNumberCell,
8804
+ GridTextCell,
8589
8805
  Image,
8590
8806
  Input,
8591
8807
  InputGroup,