@alexgorbatchev/shadcn 0.0.87 → 0.0.88

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.
@@ -3002,9 +3002,125 @@ function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
3002
3002
  })
3003
3003
  });
3004
3004
  }
3005
+ // src/components/ChoiceTable.tsx
3006
+ import {
3007
+ useId as useId4,
3008
+ useRef as useRef4
3009
+ } from "react";
3010
+ import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
3011
+ function isModified(event) {
3012
+ return event.altKey || event.metaKey || event.ctrlKey || event.shiftKey;
3013
+ }
3014
+ function ChoiceTable2({
3015
+ label,
3016
+ columns,
3017
+ rows,
3018
+ value,
3019
+ onValueChange,
3020
+ onConfirm,
3021
+ ref
3022
+ }) {
3023
+ const baseId = useId4();
3024
+ const rowsRef = useRef4(new Map);
3025
+ const chosenIndex = rows.findIndex((row) => row.id === value);
3026
+ const rowId = (id) => `${baseId}-${id}`;
3027
+ const template = {
3028
+ gridTemplateColumns: columns.map((column) => column.width ?? "minmax(0, 1fr)").join(" ")
3029
+ };
3030
+ const choose = (index) => {
3031
+ const row = rows[index];
3032
+ if (!row)
3033
+ return;
3034
+ onValueChange(row.id);
3035
+ rowsRef.current.get(row.id)?.scrollIntoView({ block: "nearest" });
3036
+ };
3037
+ const onKeyDown = (event) => {
3038
+ if (event.target !== event.currentTarget || isModified(event) || rows.length === 0)
3039
+ return;
3040
+ let handled = true;
3041
+ if (event.key === "ArrowDown")
3042
+ choose(chosenIndex < 0 ? 0 : Math.min(rows.length - 1, chosenIndex + 1));
3043
+ else if (event.key === "ArrowUp")
3044
+ choose(chosenIndex < 0 ? 0 : Math.max(0, chosenIndex - 1));
3045
+ else if (event.key === "Home")
3046
+ choose(0);
3047
+ else if (event.key === "End")
3048
+ choose(rows.length - 1);
3049
+ else if (event.key === "Enter" && value !== undefined && chosenIndex >= 0)
3050
+ onConfirm?.(value);
3051
+ else
3052
+ handled = false;
3053
+ if (handled)
3054
+ event.preventDefault();
3055
+ };
3056
+ const onRowClick = (event, row) => {
3057
+ if (event.target instanceof Element && event.target.closest("[data-slot='choice-table-detail']"))
3058
+ return;
3059
+ onValueChange(row.id);
3060
+ event.currentTarget.closest("[role='grid']")?.focus({ preventScroll: true });
3061
+ };
3062
+ return /* @__PURE__ */ jsxs18("div", {
3063
+ ref,
3064
+ "data-slot": "choice-table",
3065
+ role: "grid",
3066
+ "aria-label": label,
3067
+ "aria-rowcount": rows.length + 1,
3068
+ "aria-multiselectable": false,
3069
+ "aria-activedescendant": chosenIndex >= 0 ? rowId(rows[chosenIndex].id) : undefined,
3070
+ tabIndex: 0,
3071
+ className: "group/choice flex min-w-0 flex-col rounded-md text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring",
3072
+ onKeyDown,
3073
+ children: [
3074
+ /* @__PURE__ */ jsx30("div", {
3075
+ role: "row",
3076
+ "aria-rowindex": 1,
3077
+ style: template,
3078
+ className: "grid items-end gap-x-3 border-b px-3 py-1.5 text-xs text-muted-foreground",
3079
+ children: columns.map((column) => /* @__PURE__ */ jsx30("div", {
3080
+ role: "columnheader",
3081
+ className: cn2("min-w-0", column.isEnd && "text-end"),
3082
+ children: column.header
3083
+ }, column.id))
3084
+ }),
3085
+ rows.map((row, index) => {
3086
+ const isChosen = index === chosenIndex;
3087
+ return /* @__PURE__ */ jsxs18("div", {
3088
+ id: rowId(row.id),
3089
+ ref: (element) => {
3090
+ if (element)
3091
+ rowsRef.current.set(row.id, element);
3092
+ else
3093
+ rowsRef.current.delete(row.id);
3094
+ },
3095
+ role: "row",
3096
+ "aria-rowindex": index + 2,
3097
+ "aria-selected": isChosen,
3098
+ "aria-label": row.label,
3099
+ "data-chosen": isChosen || undefined,
3100
+ style: template,
3101
+ className: cn2("grid cursor-default items-start gap-x-3 gap-y-2 border-b border-l-2 border-l-transparent px-3 py-2", isChosen && "border-l-primary bg-accent/60 group-focus-visible/choice:bg-accent"),
3102
+ onClick: (event) => onRowClick(event, row),
3103
+ children: [
3104
+ row.cells.map((cell, cellIndex) => /* @__PURE__ */ jsx30("div", {
3105
+ role: "gridcell",
3106
+ className: cn2("min-w-0 break-words", columns[cellIndex]?.isEnd && "text-end"),
3107
+ children: cell
3108
+ }, cellIndex)),
3109
+ row.detail !== undefined && /* @__PURE__ */ jsx30("div", {
3110
+ "data-slot": "choice-table-detail",
3111
+ role: "gridcell",
3112
+ className: "col-span-full min-w-0",
3113
+ children: row.detail
3114
+ })
3115
+ ]
3116
+ }, row.id);
3117
+ })
3118
+ ]
3119
+ });
3120
+ }
3005
3121
  // src/components/ConfirmationDialog.tsx
3006
3122
  import { useState as useState5 } from "react";
3007
- import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
3123
+ import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
3008
3124
  function ConfirmationDialog2({
3009
3125
  open,
3010
3126
  title,
@@ -3016,7 +3132,7 @@ function ConfirmationDialog2({
3016
3132
  }) {
3017
3133
  const [isPending, setPending] = useState5(false);
3018
3134
  const [error, setError] = useState5(null);
3019
- return /* @__PURE__ */ jsx30(AlertDialog2, {
3135
+ return /* @__PURE__ */ jsx31(AlertDialog2, {
3020
3136
  open,
3021
3137
  onOpenChange: (next, details) => {
3022
3138
  if (isPending)
@@ -3026,33 +3142,33 @@ function ConfirmationDialog2({
3026
3142
  onOpenChange(next);
3027
3143
  }
3028
3144
  },
3029
- children: /* @__PURE__ */ jsxs18(AlertDialogContent2, {
3145
+ children: /* @__PURE__ */ jsxs19(AlertDialogContent2, {
3030
3146
  children: [
3031
- /* @__PURE__ */ jsx30(AlertDialogHeader2, {
3032
- children: /* @__PURE__ */ jsx30(AlertDialogTitle2, {
3147
+ /* @__PURE__ */ jsx31(AlertDialogHeader2, {
3148
+ children: /* @__PURE__ */ jsx31(AlertDialogTitle2, {
3033
3149
  children: title
3034
3150
  })
3035
3151
  }),
3036
- /* @__PURE__ */ jsxs18(ScrollArea2, {
3152
+ /* @__PURE__ */ jsxs19(ScrollArea2, {
3037
3153
  children: [
3038
- /* @__PURE__ */ jsx30(AlertDialogDescription2, {
3154
+ /* @__PURE__ */ jsx31(AlertDialogDescription2, {
3039
3155
  children: description
3040
3156
  }),
3041
- error && /* @__PURE__ */ jsx30(Alert2, {
3157
+ error && /* @__PURE__ */ jsx31(Alert2, {
3042
3158
  variant: "destructive",
3043
- children: /* @__PURE__ */ jsx30(AlertDescription2, {
3159
+ children: /* @__PURE__ */ jsx31(AlertDescription2, {
3044
3160
  children: error
3045
3161
  })
3046
3162
  })
3047
3163
  ]
3048
3164
  }),
3049
- /* @__PURE__ */ jsxs18(AlertDialogFooter2, {
3165
+ /* @__PURE__ */ jsxs19(AlertDialogFooter2, {
3050
3166
  children: [
3051
- /* @__PURE__ */ jsx30(AlertDialogCancel2, {
3167
+ /* @__PURE__ */ jsx31(AlertDialogCancel2, {
3052
3168
  disabled: isPending,
3053
3169
  children: "Cancel"
3054
3170
  }),
3055
- /* @__PURE__ */ jsx30(Button2, {
3171
+ /* @__PURE__ */ jsx31(Button2, {
3056
3172
  variant: "destructive",
3057
3173
  disabled: isPending,
3058
3174
  onClick: async () => {
@@ -3076,7 +3192,7 @@ function ConfirmationDialog2({
3076
3192
  });
3077
3193
  }
3078
3194
  // src/components/ImagePicker.tsx
3079
- import { useRef as useRef4 } from "react";
3195
+ import { useRef as useRef5 } from "react";
3080
3196
  import { ImageIcon, UploadIcon } from "lucide-react";
3081
3197
 
3082
3198
  // src/hooks/useObjectURL.ts
@@ -3096,7 +3212,7 @@ function useObjectURL(file) {
3096
3212
  }
3097
3213
 
3098
3214
  // src/components/ImagePicker.tsx
3099
- import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
3215
+ import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
3100
3216
  function ImagePicker2({
3101
3217
  analytics,
3102
3218
  src,
@@ -3107,30 +3223,30 @@ function ImagePicker2({
3107
3223
  onClear
3108
3224
  }) {
3109
3225
  const track = useAnalytics2("ImagePicker", analytics);
3110
- const input = useRef4(null);
3226
+ const input = useRef5(null);
3111
3227
  const preview = useObjectURL(file);
3112
3228
  const image = file === null ? undefined : preview ?? src;
3113
- return /* @__PURE__ */ jsxs19("figure", {
3229
+ return /* @__PURE__ */ jsxs20("figure", {
3114
3230
  className: "flex min-w-0 flex-col items-center gap-3",
3115
3231
  "aria-label": label,
3116
3232
  children: [
3117
- /* @__PURE__ */ jsxs19(Avatar2, {
3233
+ /* @__PURE__ */ jsxs20(Avatar2, {
3118
3234
  size: "preview",
3119
3235
  shape: "square",
3120
3236
  children: [
3121
- /* @__PURE__ */ jsx31(AvatarImage2, {
3237
+ /* @__PURE__ */ jsx32(AvatarImage2, {
3122
3238
  src: image,
3123
3239
  alt: label
3124
3240
  }),
3125
- /* @__PURE__ */ jsx31(AvatarFallback2, {
3126
- children: /* @__PURE__ */ jsx31(ImageIcon, {
3241
+ /* @__PURE__ */ jsx32(AvatarFallback2, {
3242
+ children: /* @__PURE__ */ jsx32(ImageIcon, {
3127
3243
  className: "size-12",
3128
3244
  "aria-hidden": "true"
3129
3245
  })
3130
3246
  })
3131
3247
  ]
3132
3248
  }),
3133
- /* @__PURE__ */ jsx31("input", {
3249
+ /* @__PURE__ */ jsx32("input", {
3134
3250
  ref: input,
3135
3251
  hidden: true,
3136
3252
  type: "file",
@@ -3146,22 +3262,22 @@ function ImagePicker2({
3146
3262
  event.currentTarget.value = "";
3147
3263
  }
3148
3264
  }),
3149
- /* @__PURE__ */ jsxs19("div", {
3265
+ /* @__PURE__ */ jsxs20("div", {
3150
3266
  className: "flex flex-wrap justify-center gap-2",
3151
3267
  children: [
3152
- /* @__PURE__ */ jsxs19(Button2, {
3268
+ /* @__PURE__ */ jsxs20(Button2, {
3153
3269
  type: "button",
3154
3270
  variant: "outline",
3155
3271
  disabled,
3156
3272
  onClick: () => input.current?.click(),
3157
3273
  children: [
3158
- /* @__PURE__ */ jsx31(UploadIcon, {
3274
+ /* @__PURE__ */ jsx32(UploadIcon, {
3159
3275
  "data-icon": "inline-start"
3160
3276
  }),
3161
3277
  "Upload image"
3162
3278
  ]
3163
3279
  }),
3164
- /* @__PURE__ */ jsx31(Button2, {
3280
+ /* @__PURE__ */ jsx32(Button2, {
3165
3281
  type: "button",
3166
3282
  variant: "outline",
3167
3283
  disabled: disabled || !image,
@@ -3175,9 +3291,9 @@ function ImagePicker2({
3175
3291
  }
3176
3292
  // src/components/Meter.tsx
3177
3293
  import { Meter as MeterPrimitive } from "@base-ui/react/meter";
3178
- import { jsx as jsx32 } from "react/jsx-runtime";
3294
+ import { jsx as jsx33 } from "react/jsx-runtime";
3179
3295
  function Meter2({ density, className, ...props }) {
3180
- return /* @__PURE__ */ jsx32(MeterPrimitive.Root, {
3296
+ return /* @__PURE__ */ jsx33(MeterPrimitive.Root, {
3181
3297
  "data-density": density,
3182
3298
  "data-slot": "meter",
3183
3299
  className: (state) => cn2("flex min-w-0 flex-wrap items-center gap-field-gap", typeof className === "function" ? className(state) : className),
@@ -3185,7 +3301,7 @@ function Meter2({ density, className, ...props }) {
3185
3301
  });
3186
3302
  }
3187
3303
  function MeterLabel2({ density, className, ...props }) {
3188
- return /* @__PURE__ */ jsx32(MeterPrimitive.Label, {
3304
+ return /* @__PURE__ */ jsx33(MeterPrimitive.Label, {
3189
3305
  "data-density": density,
3190
3306
  "data-slot": "meter-label",
3191
3307
  className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
@@ -3193,7 +3309,7 @@ function MeterLabel2({ density, className, ...props }) {
3193
3309
  });
3194
3310
  }
3195
3311
  function MeterValue2({ density, className, ...props }) {
3196
- return /* @__PURE__ */ jsx32(MeterPrimitive.Value, {
3312
+ return /* @__PURE__ */ jsx33(MeterPrimitive.Value, {
3197
3313
  "data-density": density,
3198
3314
  "data-slot": "meter-value",
3199
3315
  className: (state) => cn2("ms-auto text-sm text-muted-foreground tabular-nums", typeof className === "function" ? className(state) : className),
@@ -3201,7 +3317,7 @@ function MeterValue2({ density, className, ...props }) {
3201
3317
  });
3202
3318
  }
3203
3319
  function MeterTrack2({ density, className, ...props }) {
3204
- return /* @__PURE__ */ jsx32(MeterPrimitive.Track, {
3320
+ return /* @__PURE__ */ jsx33(MeterPrimitive.Track, {
3205
3321
  "data-density": density,
3206
3322
  "data-slot": "meter-track",
3207
3323
  className: (state) => cn2("h-1 w-full overflow-hidden rounded-sm bg-muted", typeof className === "function" ? className(state) : className),
@@ -3213,7 +3329,7 @@ function MeterIndicator2({
3213
3329
  className,
3214
3330
  ...props
3215
3331
  }) {
3216
- return /* @__PURE__ */ jsx32(MeterPrimitive.Indicator, {
3332
+ return /* @__PURE__ */ jsx33(MeterPrimitive.Indicator, {
3217
3333
  "data-density": density,
3218
3334
  "data-slot": "meter-indicator",
3219
3335
  className: (state) => cn2("h-full bg-primary transition-[width] motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
@@ -3221,9 +3337,9 @@ function MeterIndicator2({
3221
3337
  });
3222
3338
  }
3223
3339
  // src/components/ToolbarToggleChip.tsx
3224
- import { useId as useId4 } from "react";
3340
+ import { useId as useId5 } from "react";
3225
3341
  import { Toolbar as ToolbarPrimitive } from "@base-ui/react/toolbar";
3226
- import { jsx as jsx33, jsxs as jsxs20, Fragment as Fragment5 } from "react/jsx-runtime";
3342
+ import { jsx as jsx34, jsxs as jsxs21, Fragment as Fragment5 } from "react/jsx-runtime";
3227
3343
  function pressedLabel(pressed) {
3228
3344
  if (pressed === "mixed")
3229
3345
  return "mixed";
@@ -3244,7 +3360,7 @@ function ToolbarToggleChip2({
3244
3360
  spaceActivates = true,
3245
3361
  className
3246
3362
  }) {
3247
- const reasonId = useId4();
3363
+ const reasonId = useId5();
3248
3364
  const trackedChange = useAnalyticsCallback("ToolbarToggleChip", analytics, { name: "ui.change-request" }, onPressedChange);
3249
3365
  const isDisabled = Boolean(disabledReason);
3250
3366
  const onMouseDown = (event) => {
@@ -3260,7 +3376,7 @@ function ToolbarToggleChip2({
3260
3376
  if (!spaceActivates && event.key === " ")
3261
3377
  event.preventDefault();
3262
3378
  };
3263
- const button = /* @__PURE__ */ jsxs20(ToolbarPrimitive.Button, {
3379
+ const button = /* @__PURE__ */ jsxs21(ToolbarPrimitive.Button, {
3264
3380
  "data-density": density,
3265
3381
  "data-slot": "toolbar-toggle-chip",
3266
3382
  "data-pressed": pressedLabel(pressed),
@@ -3279,17 +3395,17 @@ function ToolbarToggleChip2({
3279
3395
  trackedChange(pressed !== true);
3280
3396
  },
3281
3397
  children: [
3282
- swatch && /* @__PURE__ */ jsx33("span", {
3398
+ swatch && /* @__PURE__ */ jsx34("span", {
3283
3399
  "aria-hidden": "true",
3284
3400
  "data-slot": "toolbar-toggle-chip-swatch",
3285
3401
  className: "size-3 shrink-0 rounded-sm border border-border",
3286
3402
  style: { backgroundColor: swatch }
3287
3403
  }),
3288
- /* @__PURE__ */ jsx33("span", {
3404
+ /* @__PURE__ */ jsx34("span", {
3289
3405
  className: hideLabel ? "sr-only" : "min-w-0 truncate",
3290
3406
  children
3291
3407
  }),
3292
- detail !== undefined && /* @__PURE__ */ jsxs20("span", {
3408
+ detail !== undefined && /* @__PURE__ */ jsxs21("span", {
3293
3409
  "data-slot": "toolbar-toggle-chip-detail",
3294
3410
  className: "text-xs text-muted-foreground",
3295
3411
  children: [
@@ -3297,28 +3413,28 @@ function ToolbarToggleChip2({
3297
3413
  detail
3298
3414
  ]
3299
3415
  }),
3300
- shortcut && !hideLabel && /* @__PURE__ */ jsx33(Kbd2, {
3416
+ shortcut && !hideLabel && /* @__PURE__ */ jsx34(Kbd2, {
3301
3417
  "aria-hidden": "true",
3302
3418
  className: "ms-1",
3303
3419
  children: shortcut.toUpperCase()
3304
3420
  })
3305
3421
  ]
3306
3422
  });
3307
- return /* @__PURE__ */ jsxs20(Fragment5, {
3423
+ return /* @__PURE__ */ jsxs21(Fragment5, {
3308
3424
  children: [
3309
- disabledReason && /* @__PURE__ */ jsx33("span", {
3425
+ disabledReason && /* @__PURE__ */ jsx34("span", {
3310
3426
  id: reasonId,
3311
3427
  className: "sr-only",
3312
3428
  children: disabledReason
3313
3429
  }),
3314
- /* @__PURE__ */ jsxs20(Tooltip2, {
3430
+ /* @__PURE__ */ jsxs21(Tooltip2, {
3315
3431
  disabled: !disabledReason && !hideLabel,
3316
3432
  children: [
3317
- /* @__PURE__ */ jsx33(TooltipTrigger2, {
3433
+ /* @__PURE__ */ jsx34(TooltipTrigger2, {
3318
3434
  render: button,
3319
3435
  closeOnClick: false
3320
3436
  }),
3321
- (disabledReason || hideLabel) && /* @__PURE__ */ jsxs20(TooltipContent2, {
3437
+ (disabledReason || hideLabel) && /* @__PURE__ */ jsxs21(TooltipContent2, {
3322
3438
  children: [
3323
3439
  hideLabel ? children : null,
3324
3440
  hideLabel && shortcut ? ` · ${shortcut.toUpperCase()}` : null,
@@ -3334,9 +3450,9 @@ function ToolbarToggleChip2({
3334
3450
  // src/components/Stepper.tsx
3335
3451
  import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
3336
3452
  import { CheckIcon as CheckIcon2 } from "lucide-react";
3337
- import { jsx as jsx34 } from "react/jsx-runtime";
3453
+ import { jsx as jsx35 } from "react/jsx-runtime";
3338
3454
  function Stepper2({ density, className, ...props }) {
3339
- return /* @__PURE__ */ jsx34(TabsPrimitive.Root, {
3455
+ return /* @__PURE__ */ jsx35(TabsPrimitive.Root, {
3340
3456
  "data-density": density,
3341
3457
  "data-slot": "stepper",
3342
3458
  className: (state) => cn2("group/stepper flex min-w-0 flex-col gap-panel data-[orientation=vertical]:flex-row", typeof className === "function" ? className(state) : className),
@@ -3349,7 +3465,7 @@ function StepperList2({
3349
3465
  activateOnFocus = false,
3350
3466
  ...props
3351
3467
  }) {
3352
- return /* @__PURE__ */ jsx34(TabsPrimitive.List, {
3468
+ return /* @__PURE__ */ jsx35(TabsPrimitive.List, {
3353
3469
  "data-density": density,
3354
3470
  "data-slot": "stepper-list",
3355
3471
  activateOnFocus,
@@ -3358,7 +3474,7 @@ function StepperList2({
3358
3474
  });
3359
3475
  }
3360
3476
  function StepperTrigger2({ density, className, ...props }) {
3361
- return /* @__PURE__ */ jsx34(TabsPrimitive.Tab, {
3477
+ return /* @__PURE__ */ jsx35(TabsPrimitive.Tab, {
3362
3478
  "data-density": density,
3363
3479
  "data-slot": "stepper-trigger",
3364
3480
  className: (state) => cn2("group/step flex min-h-control items-center gap-control-gap rounded-sm text-sm text-muted-foreground outline-none focus-visible:ring-1 focus-visible:ring-ring data-active:text-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:opacity-50", typeof className === "function" ? className(state) : className),
@@ -3366,17 +3482,17 @@ function StepperTrigger2({ density, className, ...props }) {
3366
3482
  });
3367
3483
  }
3368
3484
  function StepperIndicator2({ completed = false, children, className, ...props }) {
3369
- return /* @__PURE__ */ jsx34("span", {
3485
+ return /* @__PURE__ */ jsx35("span", {
3370
3486
  "aria-hidden": "true",
3371
3487
  "data-slot": "stepper-indicator",
3372
3488
  "data-completed": completed || undefined,
3373
3489
  className: cn2("flex size-control shrink-0 items-center justify-center rounded-sm border border-input bg-secondary text-sm tabular-nums group-data-active/step:border-primary group-data-active/step:bg-primary group-data-active/step:text-primary-foreground data-completed:border-primary data-completed:text-primary [&_svg]:size-3.5", className),
3374
3490
  ...props,
3375
- children: completed ? /* @__PURE__ */ jsx34(CheckIcon2, {}) : children
3491
+ children: completed ? /* @__PURE__ */ jsx35(CheckIcon2, {}) : children
3376
3492
  });
3377
3493
  }
3378
3494
  function StepperContent2({ density, className, ...props }) {
3379
- return /* @__PURE__ */ jsx34(TabsPrimitive.Panel, {
3495
+ return /* @__PURE__ */ jsx35(TabsPrimitive.Panel, {
3380
3496
  "data-density": density,
3381
3497
  "data-slot": "stepper-content",
3382
3498
  className: (state) => cn2("min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring", typeof className === "function" ? className(state) : className),
@@ -3384,7 +3500,7 @@ function StepperContent2({ density, className, ...props }) {
3384
3500
  });
3385
3501
  }
3386
3502
  // src/components/AppShell.tsx
3387
- import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
3503
+ import { jsx as jsx36, jsxs as jsxs22 } from "react/jsx-runtime";
3388
3504
  function AppShell2({
3389
3505
  navigation,
3390
3506
  brand,
@@ -3398,28 +3514,28 @@ function AppShell2({
3398
3514
  content = "scroll",
3399
3515
  density
3400
3516
  }) {
3401
- return /* @__PURE__ */ jsxs21(SidebarProvider2, {
3517
+ return /* @__PURE__ */ jsxs22(SidebarProvider2, {
3402
3518
  density,
3403
3519
  defaultOpen: defaultSidebarOpen,
3404
3520
  className: "relative min-h-0",
3405
3521
  style: { height },
3406
3522
  "data-scroll": "none",
3407
3523
  children: [
3408
- /* @__PURE__ */ jsxs21(Sidebar2, {
3524
+ /* @__PURE__ */ jsxs22(Sidebar2, {
3409
3525
  collapsible: "icon",
3410
3526
  position: "container",
3411
3527
  children: [
3412
- /* @__PURE__ */ jsx35(SidebarHeader2, {
3528
+ /* @__PURE__ */ jsx36(SidebarHeader2, {
3413
3529
  children: brand
3414
3530
  }),
3415
- /* @__PURE__ */ jsx35(SidebarContent2, {
3416
- children: /* @__PURE__ */ jsx35("nav", {
3531
+ /* @__PURE__ */ jsx36(SidebarContent2, {
3532
+ children: /* @__PURE__ */ jsx36("nav", {
3417
3533
  "aria-label": "Primary navigation",
3418
- children: /* @__PURE__ */ jsx35(SidebarGroup2, {
3419
- children: /* @__PURE__ */ jsx35(SidebarMenu2, {
3420
- children: navigation.map((item) => /* @__PURE__ */ jsx35(SidebarMenuItem2, {
3421
- children: /* @__PURE__ */ jsxs21(SidebarMenuButton2, {
3422
- render: /* @__PURE__ */ jsx35(AnalyticsLink, {
3534
+ children: /* @__PURE__ */ jsx36(SidebarGroup2, {
3535
+ children: /* @__PURE__ */ jsx36(SidebarMenu2, {
3536
+ children: navigation.map((item) => /* @__PURE__ */ jsx36(SidebarMenuItem2, {
3537
+ children: /* @__PURE__ */ jsxs22(SidebarMenuButton2, {
3538
+ render: /* @__PURE__ */ jsx36(AnalyticsLink, {
3423
3539
  component: "AppShell",
3424
3540
  render: item.render,
3425
3541
  ...item.href === undefined ? {} : { href: item.href },
@@ -3429,7 +3545,7 @@ function AppShell2({
3429
3545
  tooltip: item.label,
3430
3546
  children: [
3431
3547
  item.icon,
3432
- /* @__PURE__ */ jsx35("span", {
3548
+ /* @__PURE__ */ jsx36("span", {
3433
3549
  children: item.label
3434
3550
  })
3435
3551
  ]
@@ -3439,41 +3555,41 @@ function AppShell2({
3439
3555
  })
3440
3556
  })
3441
3557
  }),
3442
- sidebarFooter && /* @__PURE__ */ jsx35(SidebarFooter2, {
3558
+ sidebarFooter && /* @__PURE__ */ jsx36(SidebarFooter2, {
3443
3559
  children: sidebarFooter
3444
3560
  })
3445
3561
  ]
3446
3562
  }),
3447
- /* @__PURE__ */ jsxs21(SidebarInset2, {
3563
+ /* @__PURE__ */ jsxs22(SidebarInset2, {
3448
3564
  "aria-label": label,
3449
3565
  className: "min-h-0 min-w-0",
3450
3566
  "data-scroll": "none",
3451
3567
  children: [
3452
- /* @__PURE__ */ jsxs21("header", {
3568
+ /* @__PURE__ */ jsxs22("header", {
3453
3569
  "data-scroll": "none",
3454
3570
  className: "flex shrink-0 items-center gap-control-gap border-b border-border p-panel",
3455
3571
  children: [
3456
- /* @__PURE__ */ jsx35(SidebarTrigger2, {}),
3457
- /* @__PURE__ */ jsx35(Separator2, {
3572
+ /* @__PURE__ */ jsx36(SidebarTrigger2, {}),
3573
+ /* @__PURE__ */ jsx36(Separator2, {
3458
3574
  orientation: "vertical",
3459
3575
  className: "h-control"
3460
3576
  }),
3461
3577
  header
3462
3578
  ]
3463
3579
  }),
3464
- content === "fill" ? /* @__PURE__ */ jsx35("div", {
3580
+ content === "fill" ? /* @__PURE__ */ jsx36("div", {
3465
3581
  "data-slot": "app-shell-content",
3466
3582
  "data-scroll": "none",
3467
3583
  className: "flex min-h-0 min-w-0 flex-1 flex-col",
3468
3584
  children
3469
- }) : /* @__PURE__ */ jsx35(ScrollArea2, {
3585
+ }) : /* @__PURE__ */ jsx36(ScrollArea2, {
3470
3586
  className: "min-h-0 flex-1",
3471
- children: /* @__PURE__ */ jsx35("div", {
3587
+ children: /* @__PURE__ */ jsx36("div", {
3472
3588
  className: "flex min-w-0 flex-col gap-panel p-panel",
3473
3589
  children
3474
3590
  })
3475
3591
  }),
3476
- footer && /* @__PURE__ */ jsx35("footer", {
3592
+ footer && /* @__PURE__ */ jsx36("footer", {
3477
3593
  className: "shrink-0 border-t border-border p-panel",
3478
3594
  "data-scroll": "none",
3479
3595
  children: footer
@@ -3823,7 +3939,7 @@ import {
3823
3939
  DropletIcon,
3824
3940
  SunIcon
3825
3941
  } from "lucide-react";
3826
- import { jsx as jsx36, jsxs as jsxs22, Fragment as Fragment6 } from "react/jsx-runtime";
3942
+ import { jsx as jsx37, jsxs as jsxs23, Fragment as Fragment6 } from "react/jsx-runtime";
3827
3943
  var CONDITION_ICONS = {
3828
3944
  clear: SunIcon,
3829
3945
  "partly-cloudy": CloudSunIcon,
@@ -3875,43 +3991,43 @@ function WeatherSummary2({
3875
3991
  defaultTagName: "div",
3876
3992
  props: mergeProps14({
3877
3993
  className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
3878
- children: /* @__PURE__ */ jsxs22(Fragment6, {
3994
+ children: /* @__PURE__ */ jsxs23(Fragment6, {
3879
3995
  children: [
3880
- /* @__PURE__ */ jsx36(ConditionIcon, {
3996
+ /* @__PURE__ */ jsx37(ConditionIcon, {
3881
3997
  "aria-hidden": "true",
3882
3998
  "data-slot": "weather-summary-icon",
3883
3999
  className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
3884
4000
  }),
3885
- /* @__PURE__ */ jsxs22("div", {
4001
+ /* @__PURE__ */ jsxs23("div", {
3886
4002
  className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
3887
4003
  children: [
3888
- /* @__PURE__ */ jsx36("div", {
4004
+ /* @__PURE__ */ jsx37("div", {
3889
4005
  className: "text-sm font-medium break-words",
3890
4006
  children: label
3891
4007
  }),
3892
- /* @__PURE__ */ jsx36("div", {
4008
+ /* @__PURE__ */ jsx37("div", {
3893
4009
  className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
3894
4010
  children: conditionLabel
3895
4011
  }),
3896
- /* @__PURE__ */ jsxs22("div", {
4012
+ /* @__PURE__ */ jsxs23("div", {
3897
4013
  className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
3898
4014
  children: [
3899
- /* @__PURE__ */ jsxs22("span", {
4015
+ /* @__PURE__ */ jsxs23("span", {
3900
4016
  children: [
3901
- /* @__PURE__ */ jsx36("span", {
4017
+ /* @__PURE__ */ jsx37("span", {
3902
4018
  className: "sr-only",
3903
4019
  children: "High "
3904
4020
  }),
3905
- /* @__PURE__ */ jsx36("span", {
4021
+ /* @__PURE__ */ jsx37("span", {
3906
4022
  className: "font-medium",
3907
4023
  children: highText
3908
4024
  })
3909
4025
  ]
3910
4026
  }),
3911
- /* @__PURE__ */ jsxs22("span", {
4027
+ /* @__PURE__ */ jsxs23("span", {
3912
4028
  className: "text-muted-foreground",
3913
4029
  children: [
3914
- /* @__PURE__ */ jsx36("span", {
4030
+ /* @__PURE__ */ jsx37("span", {
3915
4031
  className: "sr-only",
3916
4032
  children: "Low "
3917
4033
  }),
@@ -3920,17 +4036,17 @@ function WeatherSummary2({
3920
4036
  })
3921
4037
  ]
3922
4038
  }),
3923
- probabilityText !== undefined && /* @__PURE__ */ jsxs22("div", {
4039
+ probabilityText !== undefined && /* @__PURE__ */ jsxs23("div", {
3924
4040
  className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
3925
4041
  children: [
3926
- /* @__PURE__ */ jsx36(DropletIcon, {
4042
+ /* @__PURE__ */ jsx37(DropletIcon, {
3927
4043
  "aria-hidden": "true",
3928
4044
  className: "size-3 shrink-0"
3929
4045
  }),
3930
- /* @__PURE__ */ jsxs22("span", {
4046
+ /* @__PURE__ */ jsxs23("span", {
3931
4047
  children: [
3932
4048
  probabilityText,
3933
- /* @__PURE__ */ jsx36("span", {
4049
+ /* @__PURE__ */ jsx37("span", {
3934
4050
  className: "sr-only",
3935
4051
  children: " chance of precipitation"
3936
4052
  })
@@ -3948,7 +4064,7 @@ function WeatherSummary2({
3948
4064
  });
3949
4065
  }
3950
4066
  // src/components/WeatherForecast.tsx
3951
- import { jsx as jsx37 } from "react/jsx-runtime";
4067
+ import { jsx as jsx38 } from "react/jsx-runtime";
3952
4068
  function WeatherForecast2({
3953
4069
  days,
3954
4070
  label,
@@ -3959,52 +4075,52 @@ function WeatherForecast2({
3959
4075
  className,
3960
4076
  ...props
3961
4077
  }) {
3962
- return /* @__PURE__ */ jsx37("ul", {
4078
+ return /* @__PURE__ */ jsx38("ul", {
3963
4079
  "aria-label": label,
3964
4080
  "data-slot": "weather-forecast",
3965
4081
  "data-density": density,
3966
4082
  className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
3967
4083
  ...props,
3968
- children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx37(WeatherSummary2, {
4084
+ children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx38(WeatherSummary2, {
3969
4085
  ...day,
3970
4086
  unit,
3971
4087
  locale,
3972
4088
  variant: variant === "strip" ? "compact" : "default",
3973
- render: /* @__PURE__ */ jsx37("li", {})
4089
+ render: /* @__PURE__ */ jsx38("li", {})
3974
4090
  }, id))
3975
4091
  });
3976
4092
  }
3977
4093
  // src/components/PageHeader.tsx
3978
- import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
4094
+ import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
3979
4095
  function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
3980
- return /* @__PURE__ */ jsxs23("header", {
4096
+ return /* @__PURE__ */ jsxs24("header", {
3981
4097
  "data-density": density,
3982
4098
  "data-slot": "page-header",
3983
4099
  "data-scroll": "none",
3984
4100
  className: "flex min-w-0 flex-col gap-field-gap",
3985
4101
  children: [
3986
4102
  breadcrumbs,
3987
- /* @__PURE__ */ jsxs23("div", {
4103
+ /* @__PURE__ */ jsxs24("div", {
3988
4104
  className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
3989
4105
  children: [
3990
- /* @__PURE__ */ jsxs23("div", {
4106
+ /* @__PURE__ */ jsxs24("div", {
3991
4107
  className: "min-w-0",
3992
4108
  children: [
3993
- eyebrow != null && /* @__PURE__ */ jsx38("div", {
4109
+ eyebrow != null && /* @__PURE__ */ jsx39("div", {
3994
4110
  className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
3995
4111
  children: eyebrow
3996
4112
  }),
3997
- /* @__PURE__ */ jsx38("h1", {
4113
+ /* @__PURE__ */ jsx39("h1", {
3998
4114
  className: "text-xl font-semibold text-foreground",
3999
4115
  children: title
4000
4116
  }),
4001
- description && /* @__PURE__ */ jsx38("div", {
4117
+ description && /* @__PURE__ */ jsx39("div", {
4002
4118
  className: "mt-1 text-sm text-muted-foreground",
4003
4119
  children: description
4004
4120
  })
4005
4121
  ]
4006
4122
  }),
4007
- actions && /* @__PURE__ */ jsx38("div", {
4123
+ actions && /* @__PURE__ */ jsx39("div", {
4008
4124
  className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
4009
4125
  children: actions
4010
4126
  })
@@ -4014,46 +4130,46 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
4014
4130
  });
4015
4131
  }
4016
4132
  // src/components/PageIntro.tsx
4017
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
4133
+ import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
4018
4134
  function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
4019
- return /* @__PURE__ */ jsx39("header", {
4135
+ return /* @__PURE__ */ jsx40("header", {
4020
4136
  "data-density": density,
4021
4137
  "data-slot": "page-intro",
4022
4138
  "data-scroll": "none",
4023
4139
  className: "@container/page-intro min-w-0",
4024
- children: /* @__PURE__ */ jsxs24(Card2, {
4140
+ children: /* @__PURE__ */ jsxs25(Card2, {
4025
4141
  variant: "hero",
4026
4142
  className: "gap-0 py-0",
4027
4143
  children: [
4028
- /* @__PURE__ */ jsx39("div", {
4144
+ /* @__PURE__ */ jsx40("div", {
4029
4145
  "aria-hidden": "true",
4030
4146
  "data-slot": "page-intro-wash",
4031
4147
  className: "pointer-events-none absolute inset-0 -z-10 bg-[radial-gradient(ellipse_90%_140%_at_100%_0%,color-mix(in_oklab,var(--primary)_16%,transparent),transparent_65%)]"
4032
4148
  }),
4033
- /* @__PURE__ */ jsxs24("div", {
4149
+ /* @__PURE__ */ jsxs25("div", {
4034
4150
  className: "flex min-w-0 flex-col gap-panel p-(--card-spacing) @2xl/page-intro:flex-row @2xl/page-intro:items-start @2xl/page-intro:justify-between",
4035
4151
  children: [
4036
- /* @__PURE__ */ jsxs24("div", {
4152
+ /* @__PURE__ */ jsxs25("div", {
4037
4153
  className: "flex min-w-0 gap-panel",
4038
4154
  children: [
4039
- icon != null && /* @__PURE__ */ jsx39("div", {
4155
+ icon != null && /* @__PURE__ */ jsx40("div", {
4040
4156
  "aria-hidden": "true",
4041
4157
  "data-slot": "page-intro-icon",
4042
4158
  className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
4043
4159
  children: icon
4044
4160
  }),
4045
- /* @__PURE__ */ jsxs24("div", {
4161
+ /* @__PURE__ */ jsxs25("div", {
4046
4162
  className: "min-w-0",
4047
4163
  children: [
4048
- eyebrow != null && /* @__PURE__ */ jsx39("div", {
4164
+ eyebrow != null && /* @__PURE__ */ jsx40("div", {
4049
4165
  className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
4050
4166
  children: eyebrow
4051
4167
  }),
4052
- /* @__PURE__ */ jsx39("h1", {
4168
+ /* @__PURE__ */ jsx40("h1", {
4053
4169
  className: "text-2xl font-semibold text-foreground",
4054
4170
  children: title
4055
4171
  }),
4056
- /* @__PURE__ */ jsx39("div", {
4172
+ /* @__PURE__ */ jsx40("div", {
4057
4173
  className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
4058
4174
  children: description
4059
4175
  })
@@ -4061,33 +4177,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
4061
4177
  })
4062
4178
  ]
4063
4179
  }),
4064
- actions != null && /* @__PURE__ */ jsx39("div", {
4180
+ actions != null && /* @__PURE__ */ jsx40("div", {
4065
4181
  className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
4066
4182
  children: actions
4067
4183
  })
4068
4184
  ]
4069
4185
  }),
4070
- highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx39("ul", {
4186
+ highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx40("ul", {
4071
4187
  "aria-label": `What you can do in ${title}`,
4072
4188
  "data-slot": "page-intro-highlights",
4073
4189
  className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
4074
- children: highlights.map((highlight) => /* @__PURE__ */ jsxs24("li", {
4190
+ children: highlights.map((highlight) => /* @__PURE__ */ jsxs25("li", {
4075
4191
  "data-slot": "page-intro-highlight",
4076
4192
  className: "flex min-w-0 gap-2",
4077
4193
  children: [
4078
- highlight.icon != null && /* @__PURE__ */ jsx39("span", {
4194
+ highlight.icon != null && /* @__PURE__ */ jsx40("span", {
4079
4195
  "aria-hidden": "true",
4080
4196
  className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
4081
4197
  children: highlight.icon
4082
4198
  }),
4083
- /* @__PURE__ */ jsxs24("div", {
4199
+ /* @__PURE__ */ jsxs25("div", {
4084
4200
  className: "min-w-0",
4085
4201
  children: [
4086
- /* @__PURE__ */ jsx39("div", {
4202
+ /* @__PURE__ */ jsx40("div", {
4087
4203
  className: "text-sm font-medium text-foreground",
4088
4204
  children: highlight.title
4089
4205
  }),
4090
- /* @__PURE__ */ jsx39("div", {
4206
+ /* @__PURE__ */ jsx40("div", {
4091
4207
  className: "mt-0.5 text-sm text-muted-foreground",
4092
4208
  children: highlight.description
4093
4209
  })
@@ -4101,7 +4217,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
4101
4217
  });
4102
4218
  }
4103
4219
  // src/components/WorkspaceSwitcher.tsx
4104
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
4220
+ import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
4105
4221
  function WorkspaceSwitcher2({
4106
4222
  workspaces,
4107
4223
  value,
@@ -4111,7 +4227,7 @@ function WorkspaceSwitcher2({
4111
4227
  label = "Workspace",
4112
4228
  density
4113
4229
  }) {
4114
- return /* @__PURE__ */ jsxs25(Select2, {
4230
+ return /* @__PURE__ */ jsxs26(Select2, {
4115
4231
  items: workspaces,
4116
4232
  value,
4117
4233
  defaultValue: defaultValue ?? workspaces[0]?.value,
@@ -4121,15 +4237,15 @@ function WorkspaceSwitcher2({
4121
4237
  },
4122
4238
  disabled,
4123
4239
  children: [
4124
- /* @__PURE__ */ jsx40(SelectTrigger2, {
4240
+ /* @__PURE__ */ jsx41(SelectTrigger2, {
4125
4241
  "aria-label": label,
4126
4242
  density,
4127
- children: /* @__PURE__ */ jsx40(SelectValue2, {})
4243
+ children: /* @__PURE__ */ jsx41(SelectValue2, {})
4128
4244
  }),
4129
- /* @__PURE__ */ jsx40(SelectContent2, {
4245
+ /* @__PURE__ */ jsx41(SelectContent2, {
4130
4246
  density,
4131
- children: /* @__PURE__ */ jsx40(SelectGroup2, {
4132
- children: workspaces.map((workspace) => /* @__PURE__ */ jsx40(SelectItem2, {
4247
+ children: /* @__PURE__ */ jsx41(SelectGroup2, {
4248
+ children: workspaces.map((workspace) => /* @__PURE__ */ jsx41(SelectItem2, {
4133
4249
  value: workspace.value,
4134
4250
  children: workspace.label
4135
4251
  }, workspace.value))
@@ -4139,52 +4255,52 @@ function WorkspaceSwitcher2({
4139
4255
  });
4140
4256
  }
4141
4257
  // src/components/AccountMenu.tsx
4142
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
4258
+ import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
4143
4259
  function AccountMenu2({ name, email, image, onAction, density }) {
4144
- return /* @__PURE__ */ jsxs26(DropdownMenu2, {
4260
+ return /* @__PURE__ */ jsxs27(DropdownMenu2, {
4145
4261
  children: [
4146
- /* @__PURE__ */ jsxs26(DropdownMenuTrigger2, {
4147
- render: /* @__PURE__ */ jsx41(Button2, {
4262
+ /* @__PURE__ */ jsxs27(DropdownMenuTrigger2, {
4263
+ render: /* @__PURE__ */ jsx42(Button2, {
4148
4264
  variant: "ghost",
4149
4265
  density
4150
4266
  }),
4151
4267
  "aria-label": `Account menu for ${name}`,
4152
4268
  children: [
4153
- /* @__PURE__ */ jsxs26(Avatar2, {
4269
+ /* @__PURE__ */ jsxs27(Avatar2, {
4154
4270
  className: "size-control",
4155
4271
  children: [
4156
- /* @__PURE__ */ jsx41(AvatarImage2, {
4272
+ /* @__PURE__ */ jsx42(AvatarImage2, {
4157
4273
  src: image,
4158
4274
  alt: ""
4159
4275
  }),
4160
- /* @__PURE__ */ jsx41(AvatarFallback2, {
4276
+ /* @__PURE__ */ jsx42(AvatarFallback2, {
4161
4277
  children: name.slice(0, 2).toUpperCase()
4162
4278
  })
4163
4279
  ]
4164
4280
  }),
4165
- /* @__PURE__ */ jsx41("span", {
4281
+ /* @__PURE__ */ jsx42("span", {
4166
4282
  children: name
4167
4283
  })
4168
4284
  ]
4169
4285
  }),
4170
- /* @__PURE__ */ jsx41(MenuPopup, {
4286
+ /* @__PURE__ */ jsx42(MenuPopup, {
4171
4287
  density,
4172
4288
  align: "end",
4173
- children: /* @__PURE__ */ jsxs26(MenuGroup2, {
4289
+ children: /* @__PURE__ */ jsxs27(MenuGroup2, {
4174
4290
  children: [
4175
- /* @__PURE__ */ jsx41(MenuLabel2, {
4291
+ /* @__PURE__ */ jsx42(MenuLabel2, {
4176
4292
  children: email ?? name
4177
4293
  }),
4178
- /* @__PURE__ */ jsx41(MenuItem2, {
4294
+ /* @__PURE__ */ jsx42(MenuItem2, {
4179
4295
  onClick: () => onAction("profile"),
4180
4296
  children: "Profile"
4181
4297
  }),
4182
- /* @__PURE__ */ jsx41(MenuItem2, {
4298
+ /* @__PURE__ */ jsx42(MenuItem2, {
4183
4299
  onClick: () => onAction("settings"),
4184
4300
  children: "Settings"
4185
4301
  }),
4186
- /* @__PURE__ */ jsx41(MenuSeparator2, {}),
4187
- /* @__PURE__ */ jsx41(MenuItem2, {
4302
+ /* @__PURE__ */ jsx42(MenuSeparator2, {}),
4303
+ /* @__PURE__ */ jsx42(MenuItem2, {
4188
4304
  onClick: () => onAction("sign-out"),
4189
4305
  children: "Sign out"
4190
4306
  })
@@ -4195,7 +4311,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
4195
4311
  });
4196
4312
  }
4197
4313
  // src/components/StatCard.tsx
4198
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
4314
+ import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4199
4315
  function StatCard2({
4200
4316
  label,
4201
4317
  value,
@@ -4206,48 +4322,48 @@ function StatCard2({
4206
4322
  loading = false,
4207
4323
  density
4208
4324
  }) {
4209
- return /* @__PURE__ */ jsxs27(Card2, {
4325
+ return /* @__PURE__ */ jsxs28(Card2, {
4210
4326
  density,
4211
4327
  "aria-label": label,
4212
4328
  "aria-busy": loading,
4213
4329
  children: [
4214
- /* @__PURE__ */ jsxs27(CardHeader2, {
4330
+ /* @__PURE__ */ jsxs28(CardHeader2, {
4215
4331
  children: [
4216
- /* @__PURE__ */ jsx42(CardTitle2, {
4332
+ /* @__PURE__ */ jsx43(CardTitle2, {
4217
4333
  children: label
4218
4334
  }),
4219
- description && /* @__PURE__ */ jsx42(CardDescription2, {
4335
+ description && /* @__PURE__ */ jsx43(CardDescription2, {
4220
4336
  children: description
4221
4337
  })
4222
4338
  ]
4223
4339
  }),
4224
- /* @__PURE__ */ jsx42(CardContent2, {
4225
- children: /* @__PURE__ */ jsxs27("div", {
4340
+ /* @__PURE__ */ jsx43(CardContent2, {
4341
+ children: /* @__PURE__ */ jsxs28("div", {
4226
4342
  className: "flex flex-wrap items-center justify-between gap-control-gap",
4227
4343
  children: [
4228
- loading ? /* @__PURE__ */ jsx42(Skeleton2, {
4344
+ loading ? /* @__PURE__ */ jsx43(Skeleton2, {
4229
4345
  className: "h-8 w-24",
4230
4346
  "aria-label": `Loading ${label}`
4231
- }) : /* @__PURE__ */ jsx42("div", {
4347
+ }) : /* @__PURE__ */ jsx43("div", {
4232
4348
  className: "text-2xl font-semibold tabular-nums",
4233
4349
  children: value
4234
4350
  }),
4235
- change && /* @__PURE__ */ jsx42(Badge2, {
4351
+ change && /* @__PURE__ */ jsx43(Badge2, {
4236
4352
  variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
4237
4353
  children: change
4238
4354
  })
4239
4355
  ]
4240
4356
  })
4241
4357
  }),
4242
- children && /* @__PURE__ */ jsx42(CardFooter2, {
4358
+ children && /* @__PURE__ */ jsx43(CardFooter2, {
4243
4359
  children
4244
4360
  })
4245
4361
  ]
4246
4362
  });
4247
4363
  }
4248
4364
  // src/components/AuthForm.tsx
4249
- import { useId as useId5, useState as useState7 } from "react";
4250
- import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4365
+ import { useId as useId6, useState as useState7 } from "react";
4366
+ import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4251
4367
  function AuthForm2({
4252
4368
  mode = "sign-in",
4253
4369
  onSubmit,
@@ -4256,7 +4372,7 @@ function AuthForm2({
4256
4372
  disabled = false,
4257
4373
  density
4258
4374
  }) {
4259
- const id = useId5();
4375
+ const id = useId6();
4260
4376
  const [pending, setPending] = useState7(false);
4261
4377
  const [error, setError] = useState7("");
4262
4378
  const title = mode === "sign-up" ? "Create an account" : mode === "reset-password" ? "Reset your password" : "Sign in";
@@ -4277,33 +4393,33 @@ function AuthForm2({
4277
4393
  setPending(false);
4278
4394
  }
4279
4395
  }
4280
- return /* @__PURE__ */ jsxs28(Card2, {
4396
+ return /* @__PURE__ */ jsxs29(Card2, {
4281
4397
  density,
4282
4398
  children: [
4283
- /* @__PURE__ */ jsxs28(CardHeader2, {
4399
+ /* @__PURE__ */ jsxs29(CardHeader2, {
4284
4400
  children: [
4285
- /* @__PURE__ */ jsx43(CardTitle2, {
4401
+ /* @__PURE__ */ jsx44(CardTitle2, {
4286
4402
  children: title
4287
4403
  }),
4288
- /* @__PURE__ */ jsx43(CardDescription2, {
4404
+ /* @__PURE__ */ jsx44(CardDescription2, {
4289
4405
  children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
4290
4406
  })
4291
4407
  ]
4292
4408
  }),
4293
- /* @__PURE__ */ jsx43(CardContent2, {
4294
- children: /* @__PURE__ */ jsx43("form", {
4409
+ /* @__PURE__ */ jsx44(CardContent2, {
4410
+ children: /* @__PURE__ */ jsx44("form", {
4295
4411
  onSubmit: submit,
4296
4412
  "aria-label": title,
4297
4413
  "aria-busy": pending,
4298
- children: /* @__PURE__ */ jsxs28(FieldGroup2, {
4414
+ children: /* @__PURE__ */ jsxs29(FieldGroup2, {
4299
4415
  children: [
4300
- mode === "sign-up" && /* @__PURE__ */ jsxs28(Field2, {
4416
+ mode === "sign-up" && /* @__PURE__ */ jsxs29(Field2, {
4301
4417
  children: [
4302
- /* @__PURE__ */ jsx43(FieldLabel2, {
4418
+ /* @__PURE__ */ jsx44(FieldLabel2, {
4303
4419
  htmlFor: id + "-name",
4304
4420
  children: "Name"
4305
4421
  }),
4306
- /* @__PURE__ */ jsx43(Input2, {
4422
+ /* @__PURE__ */ jsx44(Input2, {
4307
4423
  id: id + "-name",
4308
4424
  name: "name",
4309
4425
  autoComplete: "name",
@@ -4312,13 +4428,13 @@ function AuthForm2({
4312
4428
  })
4313
4429
  ]
4314
4430
  }),
4315
- /* @__PURE__ */ jsxs28(Field2, {
4431
+ /* @__PURE__ */ jsxs29(Field2, {
4316
4432
  children: [
4317
- /* @__PURE__ */ jsx43(FieldLabel2, {
4433
+ /* @__PURE__ */ jsx44(FieldLabel2, {
4318
4434
  htmlFor: id + "-email",
4319
4435
  children: "Email"
4320
4436
  }),
4321
- /* @__PURE__ */ jsx43(Input2, {
4437
+ /* @__PURE__ */ jsx44(Input2, {
4322
4438
  id: id + "-email",
4323
4439
  name: "email",
4324
4440
  type: "email",
@@ -4328,13 +4444,13 @@ function AuthForm2({
4328
4444
  })
4329
4445
  ]
4330
4446
  }),
4331
- mode !== "reset-password" && /* @__PURE__ */ jsxs28(Field2, {
4447
+ mode !== "reset-password" && /* @__PURE__ */ jsxs29(Field2, {
4332
4448
  children: [
4333
- /* @__PURE__ */ jsx43(FieldLabel2, {
4449
+ /* @__PURE__ */ jsx44(FieldLabel2, {
4334
4450
  htmlFor: id + "-password",
4335
4451
  children: "Password"
4336
4452
  }),
4337
- /* @__PURE__ */ jsx43(Input2, {
4453
+ /* @__PURE__ */ jsx44(Input2, {
4338
4454
  id: id + "-password",
4339
4455
  name: "password",
4340
4456
  type: "password",
@@ -4343,27 +4459,27 @@ function AuthForm2({
4343
4459
  required: true,
4344
4460
  disabled: disabled || pending
4345
4461
  }),
4346
- mode === "sign-up" && /* @__PURE__ */ jsx43(FieldDescription2, {
4462
+ mode === "sign-up" && /* @__PURE__ */ jsx44(FieldDescription2, {
4347
4463
  children: "Use at least eight characters."
4348
4464
  })
4349
4465
  ]
4350
4466
  }),
4351
- error && /* @__PURE__ */ jsxs28(Alert2, {
4467
+ error && /* @__PURE__ */ jsxs29(Alert2, {
4352
4468
  variant: "destructive",
4353
4469
  children: [
4354
- /* @__PURE__ */ jsx43(AlertTitle2, {
4470
+ /* @__PURE__ */ jsx44(AlertTitle2, {
4355
4471
  children: "Request failed"
4356
4472
  }),
4357
- /* @__PURE__ */ jsx43(AlertDescription2, {
4473
+ /* @__PURE__ */ jsx44(AlertDescription2, {
4358
4474
  children: error
4359
4475
  })
4360
4476
  ]
4361
4477
  }),
4362
- /* @__PURE__ */ jsxs28(Button2, {
4478
+ /* @__PURE__ */ jsxs29(Button2, {
4363
4479
  type: "submit",
4364
4480
  disabled: disabled || pending,
4365
4481
  children: [
4366
- pending && /* @__PURE__ */ jsx43(Spinner2, {
4482
+ pending && /* @__PURE__ */ jsx44(Spinner2, {
4367
4483
  "data-icon": "inline-start"
4368
4484
  }),
4369
4485
  mode === "reset-password" ? "Send reset link" : title
@@ -4374,14 +4490,14 @@ function AuthForm2({
4374
4490
  })
4375
4491
  })
4376
4492
  }),
4377
- footer && /* @__PURE__ */ jsx43(CardFooter2, {
4493
+ footer && /* @__PURE__ */ jsx44(CardFooter2, {
4378
4494
  children: footer
4379
4495
  })
4380
4496
  ]
4381
4497
  });
4382
4498
  }
4383
4499
  // src/components/SettingsSection.tsx
4384
- import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4500
+ import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4385
4501
  function SettingsSection2({
4386
4502
  title,
4387
4503
  description,
@@ -4394,48 +4510,48 @@ function SettingsSection2({
4394
4510
  destructive = false,
4395
4511
  density
4396
4512
  }) {
4397
- return /* @__PURE__ */ jsx44("form", {
4513
+ return /* @__PURE__ */ jsx45("form", {
4398
4514
  "aria-label": title,
4399
4515
  onSubmit,
4400
4516
  "aria-busy": pending,
4401
- children: /* @__PURE__ */ jsxs29(Card2, {
4517
+ children: /* @__PURE__ */ jsxs30(Card2, {
4402
4518
  density,
4403
4519
  children: [
4404
- /* @__PURE__ */ jsxs29(CardHeader2, {
4520
+ /* @__PURE__ */ jsxs30(CardHeader2, {
4405
4521
  children: [
4406
- /* @__PURE__ */ jsx44(CardTitle2, {
4522
+ /* @__PURE__ */ jsx45(CardTitle2, {
4407
4523
  children: title
4408
4524
  }),
4409
- description && /* @__PURE__ */ jsx44(CardDescription2, {
4525
+ description && /* @__PURE__ */ jsx45(CardDescription2, {
4410
4526
  children: description
4411
4527
  })
4412
4528
  ]
4413
4529
  }),
4414
- /* @__PURE__ */ jsx44(CardContent2, {
4415
- children: /* @__PURE__ */ jsxs29("fieldset", {
4530
+ /* @__PURE__ */ jsx45(CardContent2, {
4531
+ children: /* @__PURE__ */ jsxs30("fieldset", {
4416
4532
  disabled: disabled || pending,
4417
4533
  className: "min-w-0 border-0 p-0",
4418
4534
  children: [
4419
- /* @__PURE__ */ jsx44("legend", {
4535
+ /* @__PURE__ */ jsx45("legend", {
4420
4536
  className: "sr-only",
4421
4537
  children: title
4422
4538
  }),
4423
- /* @__PURE__ */ jsx44(FieldGroup2, {
4539
+ /* @__PURE__ */ jsx45(FieldGroup2, {
4424
4540
  children
4425
4541
  })
4426
4542
  ]
4427
4543
  })
4428
4544
  }),
4429
- /* @__PURE__ */ jsxs29(CardFooter2, {
4545
+ /* @__PURE__ */ jsxs30(CardFooter2, {
4430
4546
  className: "flex flex-wrap items-center justify-between gap-control-gap",
4431
4547
  children: [
4432
4548
  footer,
4433
- /* @__PURE__ */ jsxs29(Button2, {
4549
+ /* @__PURE__ */ jsxs30(Button2, {
4434
4550
  type: "submit",
4435
4551
  variant: destructive ? "destructive" : "default",
4436
4552
  disabled: disabled || pending,
4437
4553
  children: [
4438
- pending && /* @__PURE__ */ jsx44(Spinner2, {
4554
+ pending && /* @__PURE__ */ jsx45(Spinner2, {
4439
4555
  "data-icon": "inline-start"
4440
4556
  }),
4441
4557
  saveLabel
@@ -4448,7 +4564,7 @@ function SettingsSection2({
4448
4564
  });
4449
4565
  }
4450
4566
  // src/components/TagInput.tsx
4451
- import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4567
+ import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4452
4568
  function TagInput2({
4453
4569
  label,
4454
4570
  options,
@@ -4461,7 +4577,7 @@ function TagInput2({
4461
4577
  density
4462
4578
  }) {
4463
4579
  const anchor = useComboboxAnchor2();
4464
- return /* @__PURE__ */ jsxs30(Combobox2, {
4580
+ return /* @__PURE__ */ jsxs31(Combobox2, {
4465
4581
  items: options,
4466
4582
  multiple: true,
4467
4583
  value,
@@ -4470,33 +4586,33 @@ function TagInput2({
4470
4586
  disabled,
4471
4587
  name,
4472
4588
  children: [
4473
- /* @__PURE__ */ jsxs30(ComboboxChips2, {
4589
+ /* @__PURE__ */ jsxs31(ComboboxChips2, {
4474
4590
  ref: anchor,
4475
4591
  density,
4476
4592
  children: [
4477
- /* @__PURE__ */ jsx45(ComboboxValue2, {
4478
- children: (values) => values.map((item) => /* @__PURE__ */ jsx45(ComboboxChip2, {
4593
+ /* @__PURE__ */ jsx46(ComboboxValue2, {
4594
+ children: (values) => values.map((item) => /* @__PURE__ */ jsx46(ComboboxChip2, {
4479
4595
  removeLabel: `Remove ${item}`,
4480
4596
  children: item
4481
4597
  }, item))
4482
4598
  }),
4483
- /* @__PURE__ */ jsx45(ComboboxChipsInput2, {
4599
+ /* @__PURE__ */ jsx46(ComboboxChipsInput2, {
4484
4600
  "aria-label": label,
4485
4601
  placeholder
4486
4602
  })
4487
4603
  ]
4488
4604
  }),
4489
- /* @__PURE__ */ jsxs30(ComboboxContent2, {
4605
+ /* @__PURE__ */ jsxs31(ComboboxContent2, {
4490
4606
  anchor,
4491
4607
  density,
4492
4608
  children: [
4493
- /* @__PURE__ */ jsx45(ComboboxEmpty2, {
4609
+ /* @__PURE__ */ jsx46(ComboboxEmpty2, {
4494
4610
  children: "No matching tags."
4495
4611
  }),
4496
- /* @__PURE__ */ jsx45(ComboboxList2, {
4497
- children: /* @__PURE__ */ jsx45(ComboboxGroup2, {
4498
- children: /* @__PURE__ */ jsx45(ComboboxCollection2, {
4499
- children: (item) => /* @__PURE__ */ jsx45(ComboboxItem2, {
4612
+ /* @__PURE__ */ jsx46(ComboboxList2, {
4613
+ children: /* @__PURE__ */ jsx46(ComboboxGroup2, {
4614
+ children: /* @__PURE__ */ jsx46(ComboboxCollection2, {
4615
+ children: (item) => /* @__PURE__ */ jsx46(ComboboxItem2, {
4500
4616
  value: item,
4501
4617
  children: item
4502
4618
  }, item)
@@ -4509,7 +4625,7 @@ function TagInput2({
4509
4625
  });
4510
4626
  }
4511
4627
  // src/components/FilterBar.tsx
4512
- import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4628
+ import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4513
4629
  function FilterBar2({
4514
4630
  label,
4515
4631
  search,
@@ -4520,26 +4636,26 @@ function FilterBar2({
4520
4636
  disabled,
4521
4637
  density
4522
4638
  }) {
4523
- return /* @__PURE__ */ jsxs31("fieldset", {
4639
+ return /* @__PURE__ */ jsxs32("fieldset", {
4524
4640
  "aria-label": label,
4525
4641
  disabled,
4526
4642
  "data-density": density,
4527
4643
  className: "flex min-w-0 flex-wrap items-center gap-2",
4528
4644
  children: [
4529
- /* @__PURE__ */ jsx46(Input2, {
4645
+ /* @__PURE__ */ jsx47(Input2, {
4530
4646
  "aria-label": `Search ${label}`,
4531
4647
  type: "search",
4532
4648
  value: search,
4533
4649
  onChange: (event) => onSearchChange(event.target.value),
4534
4650
  className: "min-w-40 flex-1"
4535
4651
  }),
4536
- filters.map((filter) => /* @__PURE__ */ jsx46(OptionSelect2, {
4652
+ filters.map((filter) => /* @__PURE__ */ jsx47(OptionSelect2, {
4537
4653
  "aria-label": filter.label,
4538
4654
  value: value[filter.id] ?? "",
4539
4655
  onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
4540
4656
  options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
4541
4657
  }, filter.id)),
4542
- /* @__PURE__ */ jsx46(Button2, {
4658
+ /* @__PURE__ */ jsx47(Button2, {
4543
4659
  type: "button",
4544
4660
  variant: "ghost",
4545
4661
  disabled: !search && !Object.values(value).some(Boolean),
@@ -4553,7 +4669,7 @@ function FilterBar2({
4553
4669
  });
4554
4670
  }
4555
4671
  // src/components/BarList.tsx
4556
- import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4672
+ import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4557
4673
  function BarList2({
4558
4674
  label,
4559
4675
  items,
@@ -4562,14 +4678,14 @@ function BarList2({
4562
4678
  density
4563
4679
  }) {
4564
4680
  const max = Math.max(1, ...items.map((item) => item.value));
4565
- return /* @__PURE__ */ jsxs32("section", {
4681
+ return /* @__PURE__ */ jsxs33("section", {
4566
4682
  "aria-label": label,
4567
4683
  "data-density": density,
4568
4684
  children: [
4569
- /* @__PURE__ */ jsx47("ul", {
4685
+ /* @__PURE__ */ jsx48("ul", {
4570
4686
  className: "grid gap-3",
4571
- children: items.map((item) => /* @__PURE__ */ jsx47("li", {
4572
- children: /* @__PURE__ */ jsxs32(Meter2, {
4687
+ children: items.map((item) => /* @__PURE__ */ jsx48("li", {
4688
+ children: /* @__PURE__ */ jsxs33(Meter2, {
4573
4689
  min: 0,
4574
4690
  max,
4575
4691
  value: item.value,
@@ -4577,11 +4693,11 @@ function BarList2({
4577
4693
  format: { maximumFractionDigits: 2 },
4578
4694
  className: "gap-y-1",
4579
4695
  children: [
4580
- /* @__PURE__ */ jsxs32("div", {
4696
+ /* @__PURE__ */ jsxs33("div", {
4581
4697
  className: "flex w-full items-center justify-between gap-3 text-sm",
4582
4698
  children: [
4583
- /* @__PURE__ */ jsx47(MeterLabel2, {
4584
- children: onItemSelect ? /* @__PURE__ */ jsx47(Button2, {
4699
+ /* @__PURE__ */ jsx48(MeterLabel2, {
4700
+ children: onItemSelect ? /* @__PURE__ */ jsx48(Button2, {
4585
4701
  type: "button",
4586
4702
  variant: "link",
4587
4703
  className: "h-auto p-0",
@@ -4589,19 +4705,19 @@ function BarList2({
4589
4705
  children: item.label
4590
4706
  }) : item.label
4591
4707
  }),
4592
- /* @__PURE__ */ jsx47(MeterValue2, {
4708
+ /* @__PURE__ */ jsx48(MeterValue2, {
4593
4709
  children: () => valueFormatter(item.value)
4594
4710
  })
4595
4711
  ]
4596
4712
  }),
4597
- /* @__PURE__ */ jsx47(MeterTrack2, {
4598
- children: /* @__PURE__ */ jsx47(MeterIndicator2, {})
4713
+ /* @__PURE__ */ jsx48(MeterTrack2, {
4714
+ children: /* @__PURE__ */ jsx48(MeterIndicator2, {})
4599
4715
  })
4600
4716
  ]
4601
4717
  })
4602
4718
  }, item.id))
4603
4719
  }),
4604
- !items.length && /* @__PURE__ */ jsx47("p", {
4720
+ !items.length && /* @__PURE__ */ jsx48("p", {
4605
4721
  role: "status",
4606
4722
  className: "text-sm text-muted-foreground",
4607
4723
  children: "No data available."
@@ -4610,23 +4726,23 @@ function BarList2({
4610
4726
  });
4611
4727
  }
4612
4728
  // src/components/StatusTracker.tsx
4613
- import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4729
+ import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4614
4730
  var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
4615
4731
  function StatusTracker2({ label, items, onItemSelect, density }) {
4616
- return /* @__PURE__ */ jsx48(TooltipProvider2, {
4617
- children: /* @__PURE__ */ jsx48("div", {
4732
+ return /* @__PURE__ */ jsx49(TooltipProvider2, {
4733
+ children: /* @__PURE__ */ jsx49("div", {
4618
4734
  role: "group",
4619
4735
  "aria-label": label,
4620
4736
  "data-density": density,
4621
4737
  className: "flex min-w-0 gap-1",
4622
- children: items.map((item) => /* @__PURE__ */ jsxs33(Tooltip2, {
4738
+ children: items.map((item) => /* @__PURE__ */ jsxs34(Tooltip2, {
4623
4739
  children: [
4624
- /* @__PURE__ */ jsx48(TooltipTrigger2, {
4740
+ /* @__PURE__ */ jsx49(TooltipTrigger2, {
4625
4741
  "aria-label": `${item.label}: ${item.status}`,
4626
4742
  onClick: () => onItemSelect?.(item),
4627
4743
  className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
4628
4744
  }),
4629
- /* @__PURE__ */ jsxs33(TooltipContent2, {
4745
+ /* @__PURE__ */ jsxs34(TooltipContent2, {
4630
4746
  children: [
4631
4747
  item.label,
4632
4748
  ": ",
@@ -4639,7 +4755,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
4639
4755
  });
4640
4756
  }
4641
4757
  // src/components/DashboardLayout.tsx
4642
- import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4758
+ import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
4643
4759
  function DashboardLayout2({
4644
4760
  title,
4645
4761
  description,
@@ -4650,24 +4766,24 @@ function DashboardLayout2({
4650
4766
  footer,
4651
4767
  density
4652
4768
  }) {
4653
- return /* @__PURE__ */ jsxs34("div", {
4769
+ return /* @__PURE__ */ jsxs35("div", {
4654
4770
  "data-density": density,
4655
4771
  "data-scroll": "none",
4656
4772
  className: "grid min-w-0 gap-6",
4657
4773
  children: [
4658
- /* @__PURE__ */ jsx49(PageHeader2, {
4774
+ /* @__PURE__ */ jsx50(PageHeader2, {
4659
4775
  title,
4660
4776
  description,
4661
4777
  actions
4662
4778
  }),
4663
4779
  filters,
4664
- stats.length > 0 && /* @__PURE__ */ jsx49("div", {
4780
+ stats.length > 0 && /* @__PURE__ */ jsx50("div", {
4665
4781
  className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
4666
- children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx49(StatCard2, {
4782
+ children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx50(StatCard2, {
4667
4783
  ...stat
4668
4784
  }, id))
4669
4785
  }),
4670
- /* @__PURE__ */ jsx49("div", {
4786
+ /* @__PURE__ */ jsx50("div", {
4671
4787
  className: "grid min-w-0 gap-4",
4672
4788
  children
4673
4789
  }),
@@ -4676,18 +4792,18 @@ function DashboardLayout2({
4676
4792
  });
4677
4793
  }
4678
4794
  // src/components/BillingUsage.tsx
4679
- import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
4795
+ import { jsx as jsx51, jsxs as jsxs36 } from "react/jsx-runtime";
4680
4796
  function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
4681
- return /* @__PURE__ */ jsxs35(Card2, {
4797
+ return /* @__PURE__ */ jsxs36(Card2, {
4682
4798
  density,
4683
4799
  "aria-label": "Billing and usage",
4684
4800
  children: [
4685
- /* @__PURE__ */ jsxs35(CardHeader2, {
4801
+ /* @__PURE__ */ jsxs36(CardHeader2, {
4686
4802
  children: [
4687
- /* @__PURE__ */ jsx50(CardTitle2, {
4803
+ /* @__PURE__ */ jsx51(CardTitle2, {
4688
4804
  children: plan
4689
4805
  }),
4690
- /* @__PURE__ */ jsxs35(CardDescription2, {
4806
+ /* @__PURE__ */ jsxs36(CardDescription2, {
4691
4807
  children: [
4692
4808
  price,
4693
4809
  " · ",
@@ -4696,32 +4812,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4696
4812
  })
4697
4813
  ]
4698
4814
  }),
4699
- /* @__PURE__ */ jsx50(CardContent2, {
4815
+ /* @__PURE__ */ jsx51(CardContent2, {
4700
4816
  className: "grid gap-4",
4701
- children: metrics.map((metric) => /* @__PURE__ */ jsxs35(Meter2, {
4817
+ children: metrics.map((metric) => /* @__PURE__ */ jsxs36(Meter2, {
4702
4818
  value: metric.used,
4703
4819
  max: metric.limit,
4704
4820
  "aria-label": metric.label,
4705
4821
  children: [
4706
- /* @__PURE__ */ jsxs35("div", {
4822
+ /* @__PURE__ */ jsxs36("div", {
4707
4823
  className: "mb-2 flex items-center justify-between gap-3 text-sm",
4708
4824
  children: [
4709
- /* @__PURE__ */ jsx50(MeterLabel2, {
4825
+ /* @__PURE__ */ jsx51(MeterLabel2, {
4710
4826
  children: metric.label
4711
4827
  }),
4712
- /* @__PURE__ */ jsx50(MeterValue2, {
4828
+ /* @__PURE__ */ jsx51(MeterValue2, {
4713
4829
  children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
4714
4830
  })
4715
4831
  ]
4716
4832
  }),
4717
- /* @__PURE__ */ jsx50(MeterTrack2, {
4718
- children: /* @__PURE__ */ jsx50(MeterIndicator2, {})
4833
+ /* @__PURE__ */ jsx51(MeterTrack2, {
4834
+ children: /* @__PURE__ */ jsx51(MeterIndicator2, {})
4719
4835
  })
4720
4836
  ]
4721
4837
  }, metric.id))
4722
4838
  }),
4723
- /* @__PURE__ */ jsx50(CardFooter2, {
4724
- children: /* @__PURE__ */ jsx50(Button2, {
4839
+ /* @__PURE__ */ jsx51(CardFooter2, {
4840
+ children: /* @__PURE__ */ jsx51(Button2, {
4725
4841
  type: "button",
4726
4842
  variant: "outline",
4727
4843
  onClick: onManage,
@@ -4732,4 +4848,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4732
4848
  ]
4733
4849
  });
4734
4850
  }
4735
- export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
4851
+ export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ChoiceTable2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };