@alexgorbatchev/shadcn 0.0.80 → 0.0.82

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.
@@ -109,6 +109,9 @@ import {
109
109
  EmptyDescription2,
110
110
  EmptyContent2
111
111
  } from "./chunk-4e96tpw0.js";
112
+ import {
113
+ Checkbox2
114
+ } from "./chunk-b5s5y5wq.js";
112
115
  import {
113
116
  Select2,
114
117
  SelectGroup2,
@@ -2787,9 +2790,146 @@ function StarRating2({
2787
2790
  }, star))
2788
2791
  });
2789
2792
  }
2790
- // src/components/ConfirmationDialog.tsx
2791
- import { useState as useState3 } from "react";
2793
+ // src/components/ReviewList.tsx
2794
+ import { useRef as useRef3, useState as useState3 } from "react";
2792
2795
  import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
2796
+ var TOGGLE_KEYS = new Set(["x", "X"]);
2797
+ function isMod(event) {
2798
+ return event.metaKey || event.ctrlKey;
2799
+ }
2800
+ function isTextEntry(target) {
2801
+ return target instanceof HTMLElement && (target.isContentEditable || target.matches("input:not([type='checkbox']), textarea, select"));
2802
+ }
2803
+ function ReviewList2({ label, rows, onIncludedChange }) {
2804
+ const [cursor, setCursor] = useState3({ row: 0, cell: 0 });
2805
+ const [anchorId, setAnchorId] = useState3();
2806
+ const cellsRef = useRef3(new Map);
2807
+ const rowIndex = Math.min(cursor.row, Math.max(0, rows.length - 1));
2808
+ const cellCount = (row) => 2 + (row?.cells?.length ?? 0);
2809
+ const focusCell = (row, cell) => {
2810
+ const target = rows[row];
2811
+ if (!target)
2812
+ return;
2813
+ const column = Math.max(0, Math.min(cell, cellCount(target) - 1));
2814
+ setCursor({ row, cell: column });
2815
+ const element = cellsRef.current.get(`${target.id}:${column}`);
2816
+ const control = element?.querySelector("button, input, select, textarea, [tabindex]");
2817
+ (column > 1 && control ? control : element)?.focus();
2818
+ };
2819
+ const toggle = (row) => {
2820
+ setAnchorId(row.id);
2821
+ onIncludedChange([row.id], !row.isIncluded);
2822
+ };
2823
+ const setRange = (row) => {
2824
+ const anchorIndex = Math.max(0, rows.findIndex((candidate) => candidate.id === anchorId));
2825
+ const anchor = rows[anchorIndex];
2826
+ if (!anchor)
2827
+ return;
2828
+ const [start, end] = anchorIndex <= row ? [anchorIndex, row] : [row, anchorIndex];
2829
+ onIncludedChange(rows.slice(start, end + 1).map((candidate) => candidate.id), anchor.isIncluded);
2830
+ };
2831
+ const onKeyDown = (event) => {
2832
+ if (event.altKey || isTextEntry(event.target))
2833
+ return;
2834
+ const current = rows[rowIndex];
2835
+ if (!current)
2836
+ return;
2837
+ let handled = true;
2838
+ if (event.key === "ArrowDown")
2839
+ focusCell(Math.min(rows.length - 1, rowIndex + 1), cursor.cell);
2840
+ else if (event.key === "ArrowUp")
2841
+ focusCell(Math.max(0, rowIndex - 1), cursor.cell);
2842
+ else if (event.key === "Home")
2843
+ focusCell(0, cursor.cell);
2844
+ else if (event.key === "End")
2845
+ focusCell(rows.length - 1, cursor.cell);
2846
+ else if (event.key === "ArrowRight")
2847
+ focusCell(rowIndex, cursor.cell + 1);
2848
+ else if (event.key === "ArrowLeft")
2849
+ focusCell(rowIndex, cursor.cell - 1);
2850
+ else if (TOGGLE_KEYS.has(event.key) && !isMod(event) || event.key === " " && event.shiftKey)
2851
+ toggle(current);
2852
+ else if (event.key.toLowerCase() === "a" && isMod(event))
2853
+ onIncludedChange(rows.map((row) => row.id), true);
2854
+ else
2855
+ handled = false;
2856
+ if (handled)
2857
+ event.preventDefault();
2858
+ };
2859
+ const onRowClick = (event, row, index, cell) => {
2860
+ if (event.shiftKey)
2861
+ setRange(index);
2862
+ else if (isMod(event))
2863
+ toggle(row);
2864
+ else
2865
+ setAnchorId(row.id);
2866
+ setCursor({ row: index, cell });
2867
+ };
2868
+ return /* @__PURE__ */ jsx29("div", {
2869
+ "data-slot": "review-list",
2870
+ role: "grid",
2871
+ "aria-label": label,
2872
+ "aria-rowcount": rows.length,
2873
+ className: "flex min-w-0 flex-col gap-0.5",
2874
+ onKeyDown,
2875
+ children: rows.map((row, index) => {
2876
+ const isCursorRow = index === rowIndex;
2877
+ const cellRef = (cell) => (element) => {
2878
+ const key = `${row.id}:${cell}`;
2879
+ if (element)
2880
+ cellsRef.current.set(key, element);
2881
+ else
2882
+ cellsRef.current.delete(key);
2883
+ };
2884
+ const tabIndex = (cell) => isCursorRow && cursor.cell === cell ? 0 : -1;
2885
+ return /* @__PURE__ */ jsxs17("div", {
2886
+ role: "row",
2887
+ "aria-rowindex": index + 1,
2888
+ "data-included": row.isIncluded || undefined,
2889
+ className: cn2("flex min-w-0 items-start gap-2 rounded-sm px-1 py-0.5 focus-within:bg-accent/50", !row.isIncluded && "text-muted-foreground"),
2890
+ children: [
2891
+ /* @__PURE__ */ jsx29("div", {
2892
+ ref: cellRef(0),
2893
+ role: "gridcell",
2894
+ tabIndex: tabIndex(0),
2895
+ className: "flex shrink-0 items-center pt-0.5 outline-none focus-visible:ring-1 focus-visible:ring-ring",
2896
+ onClick: (event) => onRowClick(event, row, index, 0),
2897
+ children: /* @__PURE__ */ jsx29(Checkbox2, {
2898
+ "aria-label": row.checkboxLabel,
2899
+ checked: row.isIncluded,
2900
+ tabIndex: -1,
2901
+ onCheckedChange: (_checked, details) => {
2902
+ const native = details.event;
2903
+ if (native instanceof globalThis.MouseEvent && (native.shiftKey || native.metaKey || native.ctrlKey))
2904
+ return;
2905
+ toggle(row);
2906
+ }
2907
+ })
2908
+ }),
2909
+ /* @__PURE__ */ jsx29("div", {
2910
+ ref: cellRef(1),
2911
+ role: "gridcell",
2912
+ tabIndex: tabIndex(1),
2913
+ className: "min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring",
2914
+ onClick: (event) => onRowClick(event, row, index, 1),
2915
+ children: row.content
2916
+ }),
2917
+ row.cells?.map((cell, offset) => /* @__PURE__ */ jsx29("div", {
2918
+ ref: cellRef(offset + 2),
2919
+ role: "gridcell",
2920
+ tabIndex: tabIndex(offset + 2),
2921
+ className: "shrink-0 outline-none focus-visible:ring-1 focus-visible:ring-ring",
2922
+ onClick: (event) => onRowClick(event, row, index, offset + 2),
2923
+ children: cell
2924
+ }, offset))
2925
+ ]
2926
+ }, row.id);
2927
+ })
2928
+ });
2929
+ }
2930
+ // src/components/ConfirmationDialog.tsx
2931
+ import { useState as useState4 } from "react";
2932
+ import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
2793
2933
  function ConfirmationDialog2({
2794
2934
  open,
2795
2935
  title,
@@ -2799,9 +2939,9 @@ function ConfirmationDialog2({
2799
2939
  onConfirm,
2800
2940
  renderError
2801
2941
  }) {
2802
- const [isPending, setPending] = useState3(false);
2803
- const [error, setError] = useState3(null);
2804
- return /* @__PURE__ */ jsx29(AlertDialog2, {
2942
+ const [isPending, setPending] = useState4(false);
2943
+ const [error, setError] = useState4(null);
2944
+ return /* @__PURE__ */ jsx30(AlertDialog2, {
2805
2945
  open,
2806
2946
  onOpenChange: (next, details) => {
2807
2947
  if (isPending)
@@ -2811,33 +2951,33 @@ function ConfirmationDialog2({
2811
2951
  onOpenChange(next);
2812
2952
  }
2813
2953
  },
2814
- children: /* @__PURE__ */ jsxs17(AlertDialogContent2, {
2954
+ children: /* @__PURE__ */ jsxs18(AlertDialogContent2, {
2815
2955
  children: [
2816
- /* @__PURE__ */ jsx29(AlertDialogHeader2, {
2817
- children: /* @__PURE__ */ jsx29(AlertDialogTitle2, {
2956
+ /* @__PURE__ */ jsx30(AlertDialogHeader2, {
2957
+ children: /* @__PURE__ */ jsx30(AlertDialogTitle2, {
2818
2958
  children: title
2819
2959
  })
2820
2960
  }),
2821
- /* @__PURE__ */ jsxs17(ScrollArea2, {
2961
+ /* @__PURE__ */ jsxs18(ScrollArea2, {
2822
2962
  children: [
2823
- /* @__PURE__ */ jsx29(AlertDialogDescription2, {
2963
+ /* @__PURE__ */ jsx30(AlertDialogDescription2, {
2824
2964
  children: description
2825
2965
  }),
2826
- error && /* @__PURE__ */ jsx29(Alert2, {
2966
+ error && /* @__PURE__ */ jsx30(Alert2, {
2827
2967
  variant: "destructive",
2828
- children: /* @__PURE__ */ jsx29(AlertDescription2, {
2968
+ children: /* @__PURE__ */ jsx30(AlertDescription2, {
2829
2969
  children: error
2830
2970
  })
2831
2971
  })
2832
2972
  ]
2833
2973
  }),
2834
- /* @__PURE__ */ jsxs17(AlertDialogFooter2, {
2974
+ /* @__PURE__ */ jsxs18(AlertDialogFooter2, {
2835
2975
  children: [
2836
- /* @__PURE__ */ jsx29(AlertDialogCancel2, {
2976
+ /* @__PURE__ */ jsx30(AlertDialogCancel2, {
2837
2977
  disabled: isPending,
2838
2978
  children: "Cancel"
2839
2979
  }),
2840
- /* @__PURE__ */ jsx29(Button2, {
2980
+ /* @__PURE__ */ jsx30(Button2, {
2841
2981
  variant: "destructive",
2842
2982
  disabled: isPending,
2843
2983
  onClick: async () => {
@@ -2861,13 +3001,13 @@ function ConfirmationDialog2({
2861
3001
  });
2862
3002
  }
2863
3003
  // src/components/ImagePicker.tsx
2864
- import { useRef as useRef3 } from "react";
3004
+ import { useRef as useRef4 } from "react";
2865
3005
  import { ImageIcon, UploadIcon } from "lucide-react";
2866
3006
 
2867
3007
  // src/hooks/useObjectURL.ts
2868
- import { useEffect as useEffect3, useState as useState4 } from "react";
3008
+ import { useEffect as useEffect3, useState as useState5 } from "react";
2869
3009
  function useObjectURL(file) {
2870
- const [url, setURL] = useState4();
3010
+ const [url, setURL] = useState5();
2871
3011
  useEffect3(() => {
2872
3012
  if (!file) {
2873
3013
  setURL(undefined);
@@ -2881,7 +3021,7 @@ function useObjectURL(file) {
2881
3021
  }
2882
3022
 
2883
3023
  // src/components/ImagePicker.tsx
2884
- import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
3024
+ import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
2885
3025
  function ImagePicker2({
2886
3026
  analytics,
2887
3027
  src,
@@ -2892,30 +3032,30 @@ function ImagePicker2({
2892
3032
  onClear
2893
3033
  }) {
2894
3034
  const track = useAnalytics2("ImagePicker", analytics);
2895
- const input = useRef3(null);
3035
+ const input = useRef4(null);
2896
3036
  const preview = useObjectURL(file);
2897
3037
  const image = file === null ? undefined : preview ?? src;
2898
- return /* @__PURE__ */ jsxs18("figure", {
3038
+ return /* @__PURE__ */ jsxs19("figure", {
2899
3039
  className: "flex min-w-0 flex-col items-center gap-3",
2900
3040
  "aria-label": label,
2901
3041
  children: [
2902
- /* @__PURE__ */ jsxs18(Avatar2, {
3042
+ /* @__PURE__ */ jsxs19(Avatar2, {
2903
3043
  size: "preview",
2904
3044
  shape: "square",
2905
3045
  children: [
2906
- /* @__PURE__ */ jsx30(AvatarImage2, {
3046
+ /* @__PURE__ */ jsx31(AvatarImage2, {
2907
3047
  src: image,
2908
3048
  alt: label
2909
3049
  }),
2910
- /* @__PURE__ */ jsx30(AvatarFallback2, {
2911
- children: /* @__PURE__ */ jsx30(ImageIcon, {
3050
+ /* @__PURE__ */ jsx31(AvatarFallback2, {
3051
+ children: /* @__PURE__ */ jsx31(ImageIcon, {
2912
3052
  className: "size-12",
2913
3053
  "aria-hidden": "true"
2914
3054
  })
2915
3055
  })
2916
3056
  ]
2917
3057
  }),
2918
- /* @__PURE__ */ jsx30("input", {
3058
+ /* @__PURE__ */ jsx31("input", {
2919
3059
  ref: input,
2920
3060
  hidden: true,
2921
3061
  type: "file",
@@ -2931,22 +3071,22 @@ function ImagePicker2({
2931
3071
  event.currentTarget.value = "";
2932
3072
  }
2933
3073
  }),
2934
- /* @__PURE__ */ jsxs18("div", {
3074
+ /* @__PURE__ */ jsxs19("div", {
2935
3075
  className: "flex flex-wrap justify-center gap-2",
2936
3076
  children: [
2937
- /* @__PURE__ */ jsxs18(Button2, {
3077
+ /* @__PURE__ */ jsxs19(Button2, {
2938
3078
  type: "button",
2939
3079
  variant: "outline",
2940
3080
  disabled,
2941
3081
  onClick: () => input.current?.click(),
2942
3082
  children: [
2943
- /* @__PURE__ */ jsx30(UploadIcon, {
3083
+ /* @__PURE__ */ jsx31(UploadIcon, {
2944
3084
  "data-icon": "inline-start"
2945
3085
  }),
2946
3086
  "Upload image"
2947
3087
  ]
2948
3088
  }),
2949
- /* @__PURE__ */ jsx30(Button2, {
3089
+ /* @__PURE__ */ jsx31(Button2, {
2950
3090
  type: "button",
2951
3091
  variant: "outline",
2952
3092
  disabled: disabled || !image,
@@ -2960,9 +3100,9 @@ function ImagePicker2({
2960
3100
  }
2961
3101
  // src/components/Meter.tsx
2962
3102
  import { Meter as MeterPrimitive } from "@base-ui/react/meter";
2963
- import { jsx as jsx31 } from "react/jsx-runtime";
3103
+ import { jsx as jsx32 } from "react/jsx-runtime";
2964
3104
  function Meter2({ density, className, ...props }) {
2965
- return /* @__PURE__ */ jsx31(MeterPrimitive.Root, {
3105
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Root, {
2966
3106
  "data-density": density,
2967
3107
  "data-slot": "meter",
2968
3108
  className: (state) => cn2("flex min-w-0 flex-wrap items-center gap-field-gap", typeof className === "function" ? className(state) : className),
@@ -2970,7 +3110,7 @@ function Meter2({ density, className, ...props }) {
2970
3110
  });
2971
3111
  }
2972
3112
  function MeterLabel2({ density, className, ...props }) {
2973
- return /* @__PURE__ */ jsx31(MeterPrimitive.Label, {
3113
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Label, {
2974
3114
  "data-density": density,
2975
3115
  "data-slot": "meter-label",
2976
3116
  className: (state) => cn2("text-sm font-medium", typeof className === "function" ? className(state) : className),
@@ -2978,7 +3118,7 @@ function MeterLabel2({ density, className, ...props }) {
2978
3118
  });
2979
3119
  }
2980
3120
  function MeterValue2({ density, className, ...props }) {
2981
- return /* @__PURE__ */ jsx31(MeterPrimitive.Value, {
3121
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Value, {
2982
3122
  "data-density": density,
2983
3123
  "data-slot": "meter-value",
2984
3124
  className: (state) => cn2("ms-auto text-sm text-muted-foreground tabular-nums", typeof className === "function" ? className(state) : className),
@@ -2986,7 +3126,7 @@ function MeterValue2({ density, className, ...props }) {
2986
3126
  });
2987
3127
  }
2988
3128
  function MeterTrack2({ density, className, ...props }) {
2989
- return /* @__PURE__ */ jsx31(MeterPrimitive.Track, {
3129
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Track, {
2990
3130
  "data-density": density,
2991
3131
  "data-slot": "meter-track",
2992
3132
  className: (state) => cn2("h-1 w-full overflow-hidden rounded-sm bg-muted", typeof className === "function" ? className(state) : className),
@@ -2998,7 +3138,7 @@ function MeterIndicator2({
2998
3138
  className,
2999
3139
  ...props
3000
3140
  }) {
3001
- return /* @__PURE__ */ jsx31(MeterPrimitive.Indicator, {
3141
+ return /* @__PURE__ */ jsx32(MeterPrimitive.Indicator, {
3002
3142
  "data-density": density,
3003
3143
  "data-slot": "meter-indicator",
3004
3144
  className: (state) => cn2("h-full bg-primary transition-[width] motion-reduce:transition-none", typeof className === "function" ? className(state) : className),
@@ -3008,9 +3148,9 @@ function MeterIndicator2({
3008
3148
  // src/components/Stepper.tsx
3009
3149
  import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
3010
3150
  import { CheckIcon as CheckIcon2 } from "lucide-react";
3011
- import { jsx as jsx32 } from "react/jsx-runtime";
3151
+ import { jsx as jsx33 } from "react/jsx-runtime";
3012
3152
  function Stepper2({ density, className, ...props }) {
3013
- return /* @__PURE__ */ jsx32(TabsPrimitive.Root, {
3153
+ return /* @__PURE__ */ jsx33(TabsPrimitive.Root, {
3014
3154
  "data-density": density,
3015
3155
  "data-slot": "stepper",
3016
3156
  className: (state) => cn2("group/stepper flex min-w-0 flex-col gap-panel data-[orientation=vertical]:flex-row", typeof className === "function" ? className(state) : className),
@@ -3023,7 +3163,7 @@ function StepperList2({
3023
3163
  activateOnFocus = false,
3024
3164
  ...props
3025
3165
  }) {
3026
- return /* @__PURE__ */ jsx32(TabsPrimitive.List, {
3166
+ return /* @__PURE__ */ jsx33(TabsPrimitive.List, {
3027
3167
  "data-density": density,
3028
3168
  "data-slot": "stepper-list",
3029
3169
  activateOnFocus,
@@ -3032,7 +3172,7 @@ function StepperList2({
3032
3172
  });
3033
3173
  }
3034
3174
  function StepperTrigger2({ density, className, ...props }) {
3035
- return /* @__PURE__ */ jsx32(TabsPrimitive.Tab, {
3175
+ return /* @__PURE__ */ jsx33(TabsPrimitive.Tab, {
3036
3176
  "data-density": density,
3037
3177
  "data-slot": "stepper-trigger",
3038
3178
  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),
@@ -3040,17 +3180,17 @@ function StepperTrigger2({ density, className, ...props }) {
3040
3180
  });
3041
3181
  }
3042
3182
  function StepperIndicator2({ completed = false, children, className, ...props }) {
3043
- return /* @__PURE__ */ jsx32("span", {
3183
+ return /* @__PURE__ */ jsx33("span", {
3044
3184
  "aria-hidden": "true",
3045
3185
  "data-slot": "stepper-indicator",
3046
3186
  "data-completed": completed || undefined,
3047
3187
  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),
3048
3188
  ...props,
3049
- children: completed ? /* @__PURE__ */ jsx32(CheckIcon2, {}) : children
3189
+ children: completed ? /* @__PURE__ */ jsx33(CheckIcon2, {}) : children
3050
3190
  });
3051
3191
  }
3052
3192
  function StepperContent2({ density, className, ...props }) {
3053
- return /* @__PURE__ */ jsx32(TabsPrimitive.Panel, {
3193
+ return /* @__PURE__ */ jsx33(TabsPrimitive.Panel, {
3054
3194
  "data-density": density,
3055
3195
  "data-slot": "stepper-content",
3056
3196
  className: (state) => cn2("min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring", typeof className === "function" ? className(state) : className),
@@ -3058,7 +3198,7 @@ function StepperContent2({ density, className, ...props }) {
3058
3198
  });
3059
3199
  }
3060
3200
  // src/components/AppShell.tsx
3061
- import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
3201
+ import { jsx as jsx34, jsxs as jsxs20 } from "react/jsx-runtime";
3062
3202
  function AppShell2({
3063
3203
  navigation,
3064
3204
  brand,
@@ -3072,28 +3212,28 @@ function AppShell2({
3072
3212
  content = "scroll",
3073
3213
  density
3074
3214
  }) {
3075
- return /* @__PURE__ */ jsxs19(SidebarProvider2, {
3215
+ return /* @__PURE__ */ jsxs20(SidebarProvider2, {
3076
3216
  density,
3077
3217
  defaultOpen: defaultSidebarOpen,
3078
3218
  className: "relative min-h-0",
3079
3219
  style: { height },
3080
3220
  "data-scroll": "none",
3081
3221
  children: [
3082
- /* @__PURE__ */ jsxs19(Sidebar2, {
3222
+ /* @__PURE__ */ jsxs20(Sidebar2, {
3083
3223
  collapsible: "icon",
3084
3224
  position: "container",
3085
3225
  children: [
3086
- /* @__PURE__ */ jsx33(SidebarHeader2, {
3226
+ /* @__PURE__ */ jsx34(SidebarHeader2, {
3087
3227
  children: brand
3088
3228
  }),
3089
- /* @__PURE__ */ jsx33(SidebarContent2, {
3090
- children: /* @__PURE__ */ jsx33("nav", {
3229
+ /* @__PURE__ */ jsx34(SidebarContent2, {
3230
+ children: /* @__PURE__ */ jsx34("nav", {
3091
3231
  "aria-label": "Primary navigation",
3092
- children: /* @__PURE__ */ jsx33(SidebarGroup2, {
3093
- children: /* @__PURE__ */ jsx33(SidebarMenu2, {
3094
- children: navigation.map((item) => /* @__PURE__ */ jsx33(SidebarMenuItem2, {
3095
- children: /* @__PURE__ */ jsxs19(SidebarMenuButton2, {
3096
- render: /* @__PURE__ */ jsx33(AnalyticsLink, {
3232
+ children: /* @__PURE__ */ jsx34(SidebarGroup2, {
3233
+ children: /* @__PURE__ */ jsx34(SidebarMenu2, {
3234
+ children: navigation.map((item) => /* @__PURE__ */ jsx34(SidebarMenuItem2, {
3235
+ children: /* @__PURE__ */ jsxs20(SidebarMenuButton2, {
3236
+ render: /* @__PURE__ */ jsx34(AnalyticsLink, {
3097
3237
  component: "AppShell",
3098
3238
  render: item.render,
3099
3239
  ...item.href === undefined ? {} : { href: item.href },
@@ -3103,7 +3243,7 @@ function AppShell2({
3103
3243
  tooltip: item.label,
3104
3244
  children: [
3105
3245
  item.icon,
3106
- /* @__PURE__ */ jsx33("span", {
3246
+ /* @__PURE__ */ jsx34("span", {
3107
3247
  children: item.label
3108
3248
  })
3109
3249
  ]
@@ -3113,41 +3253,41 @@ function AppShell2({
3113
3253
  })
3114
3254
  })
3115
3255
  }),
3116
- sidebarFooter && /* @__PURE__ */ jsx33(SidebarFooter2, {
3256
+ sidebarFooter && /* @__PURE__ */ jsx34(SidebarFooter2, {
3117
3257
  children: sidebarFooter
3118
3258
  })
3119
3259
  ]
3120
3260
  }),
3121
- /* @__PURE__ */ jsxs19(SidebarInset2, {
3261
+ /* @__PURE__ */ jsxs20(SidebarInset2, {
3122
3262
  "aria-label": label,
3123
3263
  className: "min-h-0 min-w-0",
3124
3264
  "data-scroll": "none",
3125
3265
  children: [
3126
- /* @__PURE__ */ jsxs19("header", {
3266
+ /* @__PURE__ */ jsxs20("header", {
3127
3267
  "data-scroll": "none",
3128
3268
  className: "flex shrink-0 items-center gap-control-gap border-b border-border p-panel",
3129
3269
  children: [
3130
- /* @__PURE__ */ jsx33(SidebarTrigger2, {}),
3131
- /* @__PURE__ */ jsx33(Separator2, {
3270
+ /* @__PURE__ */ jsx34(SidebarTrigger2, {}),
3271
+ /* @__PURE__ */ jsx34(Separator2, {
3132
3272
  orientation: "vertical",
3133
3273
  className: "h-control"
3134
3274
  }),
3135
3275
  header
3136
3276
  ]
3137
3277
  }),
3138
- content === "fill" ? /* @__PURE__ */ jsx33("div", {
3278
+ content === "fill" ? /* @__PURE__ */ jsx34("div", {
3139
3279
  "data-slot": "app-shell-content",
3140
3280
  "data-scroll": "none",
3141
3281
  className: "flex min-h-0 min-w-0 flex-1 flex-col",
3142
3282
  children
3143
- }) : /* @__PURE__ */ jsx33(ScrollArea2, {
3283
+ }) : /* @__PURE__ */ jsx34(ScrollArea2, {
3144
3284
  className: "min-h-0 flex-1",
3145
- children: /* @__PURE__ */ jsx33("div", {
3285
+ children: /* @__PURE__ */ jsx34("div", {
3146
3286
  className: "flex min-w-0 flex-col gap-panel p-panel",
3147
3287
  children
3148
3288
  })
3149
3289
  }),
3150
- footer && /* @__PURE__ */ jsx33("footer", {
3290
+ footer && /* @__PURE__ */ jsx34("footer", {
3151
3291
  className: "shrink-0 border-t border-border p-panel",
3152
3292
  "data-scroll": "none",
3153
3293
  children: footer
@@ -3497,7 +3637,7 @@ import {
3497
3637
  DropletIcon,
3498
3638
  SunIcon
3499
3639
  } from "lucide-react";
3500
- import { jsx as jsx34, jsxs as jsxs20, Fragment as Fragment5 } from "react/jsx-runtime";
3640
+ import { jsx as jsx35, jsxs as jsxs21, Fragment as Fragment5 } from "react/jsx-runtime";
3501
3641
  var CONDITION_ICONS = {
3502
3642
  clear: SunIcon,
3503
3643
  "partly-cloudy": CloudSunIcon,
@@ -3549,43 +3689,43 @@ function WeatherSummary2({
3549
3689
  defaultTagName: "div",
3550
3690
  props: mergeProps14({
3551
3691
  className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
3552
- children: /* @__PURE__ */ jsxs20(Fragment5, {
3692
+ children: /* @__PURE__ */ jsxs21(Fragment5, {
3553
3693
  children: [
3554
- /* @__PURE__ */ jsx34(ConditionIcon, {
3694
+ /* @__PURE__ */ jsx35(ConditionIcon, {
3555
3695
  "aria-hidden": "true",
3556
3696
  "data-slot": "weather-summary-icon",
3557
3697
  className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
3558
3698
  }),
3559
- /* @__PURE__ */ jsxs20("div", {
3699
+ /* @__PURE__ */ jsxs21("div", {
3560
3700
  className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
3561
3701
  children: [
3562
- /* @__PURE__ */ jsx34("div", {
3702
+ /* @__PURE__ */ jsx35("div", {
3563
3703
  className: "text-sm font-medium break-words",
3564
3704
  children: label
3565
3705
  }),
3566
- /* @__PURE__ */ jsx34("div", {
3706
+ /* @__PURE__ */ jsx35("div", {
3567
3707
  className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
3568
3708
  children: conditionLabel
3569
3709
  }),
3570
- /* @__PURE__ */ jsxs20("div", {
3710
+ /* @__PURE__ */ jsxs21("div", {
3571
3711
  className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
3572
3712
  children: [
3573
- /* @__PURE__ */ jsxs20("span", {
3713
+ /* @__PURE__ */ jsxs21("span", {
3574
3714
  children: [
3575
- /* @__PURE__ */ jsx34("span", {
3715
+ /* @__PURE__ */ jsx35("span", {
3576
3716
  className: "sr-only",
3577
3717
  children: "High "
3578
3718
  }),
3579
- /* @__PURE__ */ jsx34("span", {
3719
+ /* @__PURE__ */ jsx35("span", {
3580
3720
  className: "font-medium",
3581
3721
  children: highText
3582
3722
  })
3583
3723
  ]
3584
3724
  }),
3585
- /* @__PURE__ */ jsxs20("span", {
3725
+ /* @__PURE__ */ jsxs21("span", {
3586
3726
  className: "text-muted-foreground",
3587
3727
  children: [
3588
- /* @__PURE__ */ jsx34("span", {
3728
+ /* @__PURE__ */ jsx35("span", {
3589
3729
  className: "sr-only",
3590
3730
  children: "Low "
3591
3731
  }),
@@ -3594,17 +3734,17 @@ function WeatherSummary2({
3594
3734
  })
3595
3735
  ]
3596
3736
  }),
3597
- probabilityText !== undefined && /* @__PURE__ */ jsxs20("div", {
3737
+ probabilityText !== undefined && /* @__PURE__ */ jsxs21("div", {
3598
3738
  className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
3599
3739
  children: [
3600
- /* @__PURE__ */ jsx34(DropletIcon, {
3740
+ /* @__PURE__ */ jsx35(DropletIcon, {
3601
3741
  "aria-hidden": "true",
3602
3742
  className: "size-3 shrink-0"
3603
3743
  }),
3604
- /* @__PURE__ */ jsxs20("span", {
3744
+ /* @__PURE__ */ jsxs21("span", {
3605
3745
  children: [
3606
3746
  probabilityText,
3607
- /* @__PURE__ */ jsx34("span", {
3747
+ /* @__PURE__ */ jsx35("span", {
3608
3748
  className: "sr-only",
3609
3749
  children: " chance of precipitation"
3610
3750
  })
@@ -3622,7 +3762,7 @@ function WeatherSummary2({
3622
3762
  });
3623
3763
  }
3624
3764
  // src/components/WeatherForecast.tsx
3625
- import { jsx as jsx35 } from "react/jsx-runtime";
3765
+ import { jsx as jsx36 } from "react/jsx-runtime";
3626
3766
  function WeatherForecast2({
3627
3767
  days,
3628
3768
  label,
@@ -3633,52 +3773,52 @@ function WeatherForecast2({
3633
3773
  className,
3634
3774
  ...props
3635
3775
  }) {
3636
- return /* @__PURE__ */ jsx35("ul", {
3776
+ return /* @__PURE__ */ jsx36("ul", {
3637
3777
  "aria-label": label,
3638
3778
  "data-slot": "weather-forecast",
3639
3779
  "data-density": density,
3640
3780
  className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
3641
3781
  ...props,
3642
- children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx35(WeatherSummary2, {
3782
+ children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx36(WeatherSummary2, {
3643
3783
  ...day,
3644
3784
  unit,
3645
3785
  locale,
3646
3786
  variant: variant === "strip" ? "compact" : "default",
3647
- render: /* @__PURE__ */ jsx35("li", {})
3787
+ render: /* @__PURE__ */ jsx36("li", {})
3648
3788
  }, id))
3649
3789
  });
3650
3790
  }
3651
3791
  // src/components/PageHeader.tsx
3652
- import { jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
3792
+ import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
3653
3793
  function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
3654
- return /* @__PURE__ */ jsxs21("header", {
3794
+ return /* @__PURE__ */ jsxs22("header", {
3655
3795
  "data-density": density,
3656
3796
  "data-slot": "page-header",
3657
3797
  "data-scroll": "none",
3658
3798
  className: "flex min-w-0 flex-col gap-field-gap",
3659
3799
  children: [
3660
3800
  breadcrumbs,
3661
- /* @__PURE__ */ jsxs21("div", {
3801
+ /* @__PURE__ */ jsxs22("div", {
3662
3802
  className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
3663
3803
  children: [
3664
- /* @__PURE__ */ jsxs21("div", {
3804
+ /* @__PURE__ */ jsxs22("div", {
3665
3805
  className: "min-w-0",
3666
3806
  children: [
3667
- eyebrow != null && /* @__PURE__ */ jsx36("div", {
3807
+ eyebrow != null && /* @__PURE__ */ jsx37("div", {
3668
3808
  className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
3669
3809
  children: eyebrow
3670
3810
  }),
3671
- /* @__PURE__ */ jsx36("h1", {
3811
+ /* @__PURE__ */ jsx37("h1", {
3672
3812
  className: "text-xl font-semibold text-foreground",
3673
3813
  children: title
3674
3814
  }),
3675
- description && /* @__PURE__ */ jsx36("div", {
3815
+ description && /* @__PURE__ */ jsx37("div", {
3676
3816
  className: "mt-1 text-sm text-muted-foreground",
3677
3817
  children: description
3678
3818
  })
3679
3819
  ]
3680
3820
  }),
3681
- actions && /* @__PURE__ */ jsx36("div", {
3821
+ actions && /* @__PURE__ */ jsx37("div", {
3682
3822
  className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
3683
3823
  children: actions
3684
3824
  })
@@ -3688,46 +3828,46 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
3688
3828
  });
3689
3829
  }
3690
3830
  // src/components/PageIntro.tsx
3691
- import { jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
3831
+ import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
3692
3832
  function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
3693
- return /* @__PURE__ */ jsx37("header", {
3833
+ return /* @__PURE__ */ jsx38("header", {
3694
3834
  "data-density": density,
3695
3835
  "data-slot": "page-intro",
3696
3836
  "data-scroll": "none",
3697
3837
  className: "@container/page-intro min-w-0",
3698
- children: /* @__PURE__ */ jsxs22(Card2, {
3838
+ children: /* @__PURE__ */ jsxs23(Card2, {
3699
3839
  variant: "hero",
3700
3840
  className: "gap-0 py-0",
3701
3841
  children: [
3702
- /* @__PURE__ */ jsx37("div", {
3842
+ /* @__PURE__ */ jsx38("div", {
3703
3843
  "aria-hidden": "true",
3704
3844
  "data-slot": "page-intro-wash",
3705
3845
  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%)]"
3706
3846
  }),
3707
- /* @__PURE__ */ jsxs22("div", {
3847
+ /* @__PURE__ */ jsxs23("div", {
3708
3848
  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",
3709
3849
  children: [
3710
- /* @__PURE__ */ jsxs22("div", {
3850
+ /* @__PURE__ */ jsxs23("div", {
3711
3851
  className: "flex min-w-0 gap-panel",
3712
3852
  children: [
3713
- icon != null && /* @__PURE__ */ jsx37("div", {
3853
+ icon != null && /* @__PURE__ */ jsx38("div", {
3714
3854
  "aria-hidden": "true",
3715
3855
  "data-slot": "page-intro-icon",
3716
3856
  className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
3717
3857
  children: icon
3718
3858
  }),
3719
- /* @__PURE__ */ jsxs22("div", {
3859
+ /* @__PURE__ */ jsxs23("div", {
3720
3860
  className: "min-w-0",
3721
3861
  children: [
3722
- eyebrow != null && /* @__PURE__ */ jsx37("div", {
3862
+ eyebrow != null && /* @__PURE__ */ jsx38("div", {
3723
3863
  className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
3724
3864
  children: eyebrow
3725
3865
  }),
3726
- /* @__PURE__ */ jsx37("h1", {
3866
+ /* @__PURE__ */ jsx38("h1", {
3727
3867
  className: "text-2xl font-semibold text-foreground",
3728
3868
  children: title
3729
3869
  }),
3730
- /* @__PURE__ */ jsx37("div", {
3870
+ /* @__PURE__ */ jsx38("div", {
3731
3871
  className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
3732
3872
  children: description
3733
3873
  })
@@ -3735,33 +3875,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
3735
3875
  })
3736
3876
  ]
3737
3877
  }),
3738
- actions != null && /* @__PURE__ */ jsx37("div", {
3878
+ actions != null && /* @__PURE__ */ jsx38("div", {
3739
3879
  className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
3740
3880
  children: actions
3741
3881
  })
3742
3882
  ]
3743
3883
  }),
3744
- highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx37("ul", {
3884
+ highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx38("ul", {
3745
3885
  "aria-label": `What you can do in ${title}`,
3746
3886
  "data-slot": "page-intro-highlights",
3747
3887
  className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
3748
- children: highlights.map((highlight) => /* @__PURE__ */ jsxs22("li", {
3888
+ children: highlights.map((highlight) => /* @__PURE__ */ jsxs23("li", {
3749
3889
  "data-slot": "page-intro-highlight",
3750
3890
  className: "flex min-w-0 gap-2",
3751
3891
  children: [
3752
- highlight.icon != null && /* @__PURE__ */ jsx37("span", {
3892
+ highlight.icon != null && /* @__PURE__ */ jsx38("span", {
3753
3893
  "aria-hidden": "true",
3754
3894
  className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
3755
3895
  children: highlight.icon
3756
3896
  }),
3757
- /* @__PURE__ */ jsxs22("div", {
3897
+ /* @__PURE__ */ jsxs23("div", {
3758
3898
  className: "min-w-0",
3759
3899
  children: [
3760
- /* @__PURE__ */ jsx37("div", {
3900
+ /* @__PURE__ */ jsx38("div", {
3761
3901
  className: "text-sm font-medium text-foreground",
3762
3902
  children: highlight.title
3763
3903
  }),
3764
- /* @__PURE__ */ jsx37("div", {
3904
+ /* @__PURE__ */ jsx38("div", {
3765
3905
  className: "mt-0.5 text-sm text-muted-foreground",
3766
3906
  children: highlight.description
3767
3907
  })
@@ -3775,7 +3915,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
3775
3915
  });
3776
3916
  }
3777
3917
  // src/components/WorkspaceSwitcher.tsx
3778
- import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
3918
+ import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
3779
3919
  function WorkspaceSwitcher2({
3780
3920
  workspaces,
3781
3921
  value,
@@ -3785,7 +3925,7 @@ function WorkspaceSwitcher2({
3785
3925
  label = "Workspace",
3786
3926
  density
3787
3927
  }) {
3788
- return /* @__PURE__ */ jsxs23(Select2, {
3928
+ return /* @__PURE__ */ jsxs24(Select2, {
3789
3929
  items: workspaces,
3790
3930
  value,
3791
3931
  defaultValue: defaultValue ?? workspaces[0]?.value,
@@ -3795,15 +3935,15 @@ function WorkspaceSwitcher2({
3795
3935
  },
3796
3936
  disabled,
3797
3937
  children: [
3798
- /* @__PURE__ */ jsx38(SelectTrigger2, {
3938
+ /* @__PURE__ */ jsx39(SelectTrigger2, {
3799
3939
  "aria-label": label,
3800
3940
  density,
3801
- children: /* @__PURE__ */ jsx38(SelectValue2, {})
3941
+ children: /* @__PURE__ */ jsx39(SelectValue2, {})
3802
3942
  }),
3803
- /* @__PURE__ */ jsx38(SelectContent2, {
3943
+ /* @__PURE__ */ jsx39(SelectContent2, {
3804
3944
  density,
3805
- children: /* @__PURE__ */ jsx38(SelectGroup2, {
3806
- children: workspaces.map((workspace) => /* @__PURE__ */ jsx38(SelectItem2, {
3945
+ children: /* @__PURE__ */ jsx39(SelectGroup2, {
3946
+ children: workspaces.map((workspace) => /* @__PURE__ */ jsx39(SelectItem2, {
3807
3947
  value: workspace.value,
3808
3948
  children: workspace.label
3809
3949
  }, workspace.value))
@@ -3813,52 +3953,52 @@ function WorkspaceSwitcher2({
3813
3953
  });
3814
3954
  }
3815
3955
  // src/components/AccountMenu.tsx
3816
- import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
3956
+ import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
3817
3957
  function AccountMenu2({ name, email, image, onAction, density }) {
3818
- return /* @__PURE__ */ jsxs24(DropdownMenu2, {
3958
+ return /* @__PURE__ */ jsxs25(DropdownMenu2, {
3819
3959
  children: [
3820
- /* @__PURE__ */ jsxs24(DropdownMenuTrigger2, {
3821
- render: /* @__PURE__ */ jsx39(Button2, {
3960
+ /* @__PURE__ */ jsxs25(DropdownMenuTrigger2, {
3961
+ render: /* @__PURE__ */ jsx40(Button2, {
3822
3962
  variant: "ghost",
3823
3963
  density
3824
3964
  }),
3825
3965
  "aria-label": `Account menu for ${name}`,
3826
3966
  children: [
3827
- /* @__PURE__ */ jsxs24(Avatar2, {
3967
+ /* @__PURE__ */ jsxs25(Avatar2, {
3828
3968
  className: "size-control",
3829
3969
  children: [
3830
- /* @__PURE__ */ jsx39(AvatarImage2, {
3970
+ /* @__PURE__ */ jsx40(AvatarImage2, {
3831
3971
  src: image,
3832
3972
  alt: ""
3833
3973
  }),
3834
- /* @__PURE__ */ jsx39(AvatarFallback2, {
3974
+ /* @__PURE__ */ jsx40(AvatarFallback2, {
3835
3975
  children: name.slice(0, 2).toUpperCase()
3836
3976
  })
3837
3977
  ]
3838
3978
  }),
3839
- /* @__PURE__ */ jsx39("span", {
3979
+ /* @__PURE__ */ jsx40("span", {
3840
3980
  children: name
3841
3981
  })
3842
3982
  ]
3843
3983
  }),
3844
- /* @__PURE__ */ jsx39(MenuPopup, {
3984
+ /* @__PURE__ */ jsx40(MenuPopup, {
3845
3985
  density,
3846
3986
  align: "end",
3847
- children: /* @__PURE__ */ jsxs24(MenuGroup2, {
3987
+ children: /* @__PURE__ */ jsxs25(MenuGroup2, {
3848
3988
  children: [
3849
- /* @__PURE__ */ jsx39(MenuLabel2, {
3989
+ /* @__PURE__ */ jsx40(MenuLabel2, {
3850
3990
  children: email ?? name
3851
3991
  }),
3852
- /* @__PURE__ */ jsx39(MenuItem2, {
3992
+ /* @__PURE__ */ jsx40(MenuItem2, {
3853
3993
  onClick: () => onAction("profile"),
3854
3994
  children: "Profile"
3855
3995
  }),
3856
- /* @__PURE__ */ jsx39(MenuItem2, {
3996
+ /* @__PURE__ */ jsx40(MenuItem2, {
3857
3997
  onClick: () => onAction("settings"),
3858
3998
  children: "Settings"
3859
3999
  }),
3860
- /* @__PURE__ */ jsx39(MenuSeparator2, {}),
3861
- /* @__PURE__ */ jsx39(MenuItem2, {
4000
+ /* @__PURE__ */ jsx40(MenuSeparator2, {}),
4001
+ /* @__PURE__ */ jsx40(MenuItem2, {
3862
4002
  onClick: () => onAction("sign-out"),
3863
4003
  children: "Sign out"
3864
4004
  })
@@ -3869,7 +4009,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
3869
4009
  });
3870
4010
  }
3871
4011
  // src/components/StatCard.tsx
3872
- import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
4012
+ import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
3873
4013
  function StatCard2({
3874
4014
  label,
3875
4015
  value,
@@ -3880,48 +4020,48 @@ function StatCard2({
3880
4020
  loading = false,
3881
4021
  density
3882
4022
  }) {
3883
- return /* @__PURE__ */ jsxs25(Card2, {
4023
+ return /* @__PURE__ */ jsxs26(Card2, {
3884
4024
  density,
3885
4025
  "aria-label": label,
3886
4026
  "aria-busy": loading,
3887
4027
  children: [
3888
- /* @__PURE__ */ jsxs25(CardHeader2, {
4028
+ /* @__PURE__ */ jsxs26(CardHeader2, {
3889
4029
  children: [
3890
- /* @__PURE__ */ jsx40(CardTitle2, {
4030
+ /* @__PURE__ */ jsx41(CardTitle2, {
3891
4031
  children: label
3892
4032
  }),
3893
- description && /* @__PURE__ */ jsx40(CardDescription2, {
4033
+ description && /* @__PURE__ */ jsx41(CardDescription2, {
3894
4034
  children: description
3895
4035
  })
3896
4036
  ]
3897
4037
  }),
3898
- /* @__PURE__ */ jsx40(CardContent2, {
3899
- children: /* @__PURE__ */ jsxs25("div", {
4038
+ /* @__PURE__ */ jsx41(CardContent2, {
4039
+ children: /* @__PURE__ */ jsxs26("div", {
3900
4040
  className: "flex flex-wrap items-center justify-between gap-control-gap",
3901
4041
  children: [
3902
- loading ? /* @__PURE__ */ jsx40(Skeleton2, {
4042
+ loading ? /* @__PURE__ */ jsx41(Skeleton2, {
3903
4043
  className: "h-8 w-24",
3904
4044
  "aria-label": `Loading ${label}`
3905
- }) : /* @__PURE__ */ jsx40("div", {
4045
+ }) : /* @__PURE__ */ jsx41("div", {
3906
4046
  className: "text-2xl font-semibold tabular-nums",
3907
4047
  children: value
3908
4048
  }),
3909
- change && /* @__PURE__ */ jsx40(Badge2, {
4049
+ change && /* @__PURE__ */ jsx41(Badge2, {
3910
4050
  variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
3911
4051
  children: change
3912
4052
  })
3913
4053
  ]
3914
4054
  })
3915
4055
  }),
3916
- children && /* @__PURE__ */ jsx40(CardFooter2, {
4056
+ children && /* @__PURE__ */ jsx41(CardFooter2, {
3917
4057
  children
3918
4058
  })
3919
4059
  ]
3920
4060
  });
3921
4061
  }
3922
4062
  // src/components/AuthForm.tsx
3923
- import { useId as useId4, useState as useState5 } from "react";
3924
- import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
4063
+ import { useId as useId4, useState as useState6 } from "react";
4064
+ import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
3925
4065
  function AuthForm2({
3926
4066
  mode = "sign-in",
3927
4067
  onSubmit,
@@ -3931,8 +4071,8 @@ function AuthForm2({
3931
4071
  density
3932
4072
  }) {
3933
4073
  const id = useId4();
3934
- const [pending, setPending] = useState5(false);
3935
- const [error, setError] = useState5("");
4074
+ const [pending, setPending] = useState6(false);
4075
+ const [error, setError] = useState6("");
3936
4076
  const title = mode === "sign-up" ? "Create an account" : mode === "reset-password" ? "Reset your password" : "Sign in";
3937
4077
  async function submit(event) {
3938
4078
  event.preventDefault();
@@ -3951,33 +4091,33 @@ function AuthForm2({
3951
4091
  setPending(false);
3952
4092
  }
3953
4093
  }
3954
- return /* @__PURE__ */ jsxs26(Card2, {
4094
+ return /* @__PURE__ */ jsxs27(Card2, {
3955
4095
  density,
3956
4096
  children: [
3957
- /* @__PURE__ */ jsxs26(CardHeader2, {
4097
+ /* @__PURE__ */ jsxs27(CardHeader2, {
3958
4098
  children: [
3959
- /* @__PURE__ */ jsx41(CardTitle2, {
4099
+ /* @__PURE__ */ jsx42(CardTitle2, {
3960
4100
  children: title
3961
4101
  }),
3962
- /* @__PURE__ */ jsx41(CardDescription2, {
4102
+ /* @__PURE__ */ jsx42(CardDescription2, {
3963
4103
  children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
3964
4104
  })
3965
4105
  ]
3966
4106
  }),
3967
- /* @__PURE__ */ jsx41(CardContent2, {
3968
- children: /* @__PURE__ */ jsx41("form", {
4107
+ /* @__PURE__ */ jsx42(CardContent2, {
4108
+ children: /* @__PURE__ */ jsx42("form", {
3969
4109
  onSubmit: submit,
3970
4110
  "aria-label": title,
3971
4111
  "aria-busy": pending,
3972
- children: /* @__PURE__ */ jsxs26(FieldGroup2, {
4112
+ children: /* @__PURE__ */ jsxs27(FieldGroup2, {
3973
4113
  children: [
3974
- mode === "sign-up" && /* @__PURE__ */ jsxs26(Field2, {
4114
+ mode === "sign-up" && /* @__PURE__ */ jsxs27(Field2, {
3975
4115
  children: [
3976
- /* @__PURE__ */ jsx41(FieldLabel2, {
4116
+ /* @__PURE__ */ jsx42(FieldLabel2, {
3977
4117
  htmlFor: id + "-name",
3978
4118
  children: "Name"
3979
4119
  }),
3980
- /* @__PURE__ */ jsx41(Input2, {
4120
+ /* @__PURE__ */ jsx42(Input2, {
3981
4121
  id: id + "-name",
3982
4122
  name: "name",
3983
4123
  autoComplete: "name",
@@ -3986,13 +4126,13 @@ function AuthForm2({
3986
4126
  })
3987
4127
  ]
3988
4128
  }),
3989
- /* @__PURE__ */ jsxs26(Field2, {
4129
+ /* @__PURE__ */ jsxs27(Field2, {
3990
4130
  children: [
3991
- /* @__PURE__ */ jsx41(FieldLabel2, {
4131
+ /* @__PURE__ */ jsx42(FieldLabel2, {
3992
4132
  htmlFor: id + "-email",
3993
4133
  children: "Email"
3994
4134
  }),
3995
- /* @__PURE__ */ jsx41(Input2, {
4135
+ /* @__PURE__ */ jsx42(Input2, {
3996
4136
  id: id + "-email",
3997
4137
  name: "email",
3998
4138
  type: "email",
@@ -4002,13 +4142,13 @@ function AuthForm2({
4002
4142
  })
4003
4143
  ]
4004
4144
  }),
4005
- mode !== "reset-password" && /* @__PURE__ */ jsxs26(Field2, {
4145
+ mode !== "reset-password" && /* @__PURE__ */ jsxs27(Field2, {
4006
4146
  children: [
4007
- /* @__PURE__ */ jsx41(FieldLabel2, {
4147
+ /* @__PURE__ */ jsx42(FieldLabel2, {
4008
4148
  htmlFor: id + "-password",
4009
4149
  children: "Password"
4010
4150
  }),
4011
- /* @__PURE__ */ jsx41(Input2, {
4151
+ /* @__PURE__ */ jsx42(Input2, {
4012
4152
  id: id + "-password",
4013
4153
  name: "password",
4014
4154
  type: "password",
@@ -4017,27 +4157,27 @@ function AuthForm2({
4017
4157
  required: true,
4018
4158
  disabled: disabled || pending
4019
4159
  }),
4020
- mode === "sign-up" && /* @__PURE__ */ jsx41(FieldDescription2, {
4160
+ mode === "sign-up" && /* @__PURE__ */ jsx42(FieldDescription2, {
4021
4161
  children: "Use at least eight characters."
4022
4162
  })
4023
4163
  ]
4024
4164
  }),
4025
- error && /* @__PURE__ */ jsxs26(Alert2, {
4165
+ error && /* @__PURE__ */ jsxs27(Alert2, {
4026
4166
  variant: "destructive",
4027
4167
  children: [
4028
- /* @__PURE__ */ jsx41(AlertTitle2, {
4168
+ /* @__PURE__ */ jsx42(AlertTitle2, {
4029
4169
  children: "Request failed"
4030
4170
  }),
4031
- /* @__PURE__ */ jsx41(AlertDescription2, {
4171
+ /* @__PURE__ */ jsx42(AlertDescription2, {
4032
4172
  children: error
4033
4173
  })
4034
4174
  ]
4035
4175
  }),
4036
- /* @__PURE__ */ jsxs26(Button2, {
4176
+ /* @__PURE__ */ jsxs27(Button2, {
4037
4177
  type: "submit",
4038
4178
  disabled: disabled || pending,
4039
4179
  children: [
4040
- pending && /* @__PURE__ */ jsx41(Spinner2, {
4180
+ pending && /* @__PURE__ */ jsx42(Spinner2, {
4041
4181
  "data-icon": "inline-start"
4042
4182
  }),
4043
4183
  mode === "reset-password" ? "Send reset link" : title
@@ -4048,14 +4188,14 @@ function AuthForm2({
4048
4188
  })
4049
4189
  })
4050
4190
  }),
4051
- footer && /* @__PURE__ */ jsx41(CardFooter2, {
4191
+ footer && /* @__PURE__ */ jsx42(CardFooter2, {
4052
4192
  children: footer
4053
4193
  })
4054
4194
  ]
4055
4195
  });
4056
4196
  }
4057
4197
  // src/components/SettingsSection.tsx
4058
- import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
4198
+ import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4059
4199
  function SettingsSection2({
4060
4200
  title,
4061
4201
  description,
@@ -4068,48 +4208,48 @@ function SettingsSection2({
4068
4208
  destructive = false,
4069
4209
  density
4070
4210
  }) {
4071
- return /* @__PURE__ */ jsx42("form", {
4211
+ return /* @__PURE__ */ jsx43("form", {
4072
4212
  "aria-label": title,
4073
4213
  onSubmit,
4074
4214
  "aria-busy": pending,
4075
- children: /* @__PURE__ */ jsxs27(Card2, {
4215
+ children: /* @__PURE__ */ jsxs28(Card2, {
4076
4216
  density,
4077
4217
  children: [
4078
- /* @__PURE__ */ jsxs27(CardHeader2, {
4218
+ /* @__PURE__ */ jsxs28(CardHeader2, {
4079
4219
  children: [
4080
- /* @__PURE__ */ jsx42(CardTitle2, {
4220
+ /* @__PURE__ */ jsx43(CardTitle2, {
4081
4221
  children: title
4082
4222
  }),
4083
- description && /* @__PURE__ */ jsx42(CardDescription2, {
4223
+ description && /* @__PURE__ */ jsx43(CardDescription2, {
4084
4224
  children: description
4085
4225
  })
4086
4226
  ]
4087
4227
  }),
4088
- /* @__PURE__ */ jsx42(CardContent2, {
4089
- children: /* @__PURE__ */ jsxs27("fieldset", {
4228
+ /* @__PURE__ */ jsx43(CardContent2, {
4229
+ children: /* @__PURE__ */ jsxs28("fieldset", {
4090
4230
  disabled: disabled || pending,
4091
4231
  className: "min-w-0 border-0 p-0",
4092
4232
  children: [
4093
- /* @__PURE__ */ jsx42("legend", {
4233
+ /* @__PURE__ */ jsx43("legend", {
4094
4234
  className: "sr-only",
4095
4235
  children: title
4096
4236
  }),
4097
- /* @__PURE__ */ jsx42(FieldGroup2, {
4237
+ /* @__PURE__ */ jsx43(FieldGroup2, {
4098
4238
  children
4099
4239
  })
4100
4240
  ]
4101
4241
  })
4102
4242
  }),
4103
- /* @__PURE__ */ jsxs27(CardFooter2, {
4243
+ /* @__PURE__ */ jsxs28(CardFooter2, {
4104
4244
  className: "flex flex-wrap items-center justify-between gap-control-gap",
4105
4245
  children: [
4106
4246
  footer,
4107
- /* @__PURE__ */ jsxs27(Button2, {
4247
+ /* @__PURE__ */ jsxs28(Button2, {
4108
4248
  type: "submit",
4109
4249
  variant: destructive ? "destructive" : "default",
4110
4250
  disabled: disabled || pending,
4111
4251
  children: [
4112
- pending && /* @__PURE__ */ jsx42(Spinner2, {
4252
+ pending && /* @__PURE__ */ jsx43(Spinner2, {
4113
4253
  "data-icon": "inline-start"
4114
4254
  }),
4115
4255
  saveLabel
@@ -4122,7 +4262,7 @@ function SettingsSection2({
4122
4262
  });
4123
4263
  }
4124
4264
  // src/components/TagInput.tsx
4125
- import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
4265
+ import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4126
4266
  function TagInput2({
4127
4267
  label,
4128
4268
  options,
@@ -4135,7 +4275,7 @@ function TagInput2({
4135
4275
  density
4136
4276
  }) {
4137
4277
  const anchor = useComboboxAnchor2();
4138
- return /* @__PURE__ */ jsxs28(Combobox2, {
4278
+ return /* @__PURE__ */ jsxs29(Combobox2, {
4139
4279
  items: options,
4140
4280
  multiple: true,
4141
4281
  value,
@@ -4144,33 +4284,33 @@ function TagInput2({
4144
4284
  disabled,
4145
4285
  name,
4146
4286
  children: [
4147
- /* @__PURE__ */ jsxs28(ComboboxChips2, {
4287
+ /* @__PURE__ */ jsxs29(ComboboxChips2, {
4148
4288
  ref: anchor,
4149
4289
  density,
4150
4290
  children: [
4151
- /* @__PURE__ */ jsx43(ComboboxValue2, {
4152
- children: (values) => values.map((item) => /* @__PURE__ */ jsx43(ComboboxChip2, {
4291
+ /* @__PURE__ */ jsx44(ComboboxValue2, {
4292
+ children: (values) => values.map((item) => /* @__PURE__ */ jsx44(ComboboxChip2, {
4153
4293
  removeLabel: `Remove ${item}`,
4154
4294
  children: item
4155
4295
  }, item))
4156
4296
  }),
4157
- /* @__PURE__ */ jsx43(ComboboxChipsInput2, {
4297
+ /* @__PURE__ */ jsx44(ComboboxChipsInput2, {
4158
4298
  "aria-label": label,
4159
4299
  placeholder
4160
4300
  })
4161
4301
  ]
4162
4302
  }),
4163
- /* @__PURE__ */ jsxs28(ComboboxContent2, {
4303
+ /* @__PURE__ */ jsxs29(ComboboxContent2, {
4164
4304
  anchor,
4165
4305
  density,
4166
4306
  children: [
4167
- /* @__PURE__ */ jsx43(ComboboxEmpty2, {
4307
+ /* @__PURE__ */ jsx44(ComboboxEmpty2, {
4168
4308
  children: "No matching tags."
4169
4309
  }),
4170
- /* @__PURE__ */ jsx43(ComboboxList2, {
4171
- children: /* @__PURE__ */ jsx43(ComboboxGroup2, {
4172
- children: /* @__PURE__ */ jsx43(ComboboxCollection2, {
4173
- children: (item) => /* @__PURE__ */ jsx43(ComboboxItem2, {
4310
+ /* @__PURE__ */ jsx44(ComboboxList2, {
4311
+ children: /* @__PURE__ */ jsx44(ComboboxGroup2, {
4312
+ children: /* @__PURE__ */ jsx44(ComboboxCollection2, {
4313
+ children: (item) => /* @__PURE__ */ jsx44(ComboboxItem2, {
4174
4314
  value: item,
4175
4315
  children: item
4176
4316
  }, item)
@@ -4183,7 +4323,7 @@ function TagInput2({
4183
4323
  });
4184
4324
  }
4185
4325
  // src/components/FilterBar.tsx
4186
- import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
4326
+ import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4187
4327
  function FilterBar2({
4188
4328
  label,
4189
4329
  search,
@@ -4194,26 +4334,26 @@ function FilterBar2({
4194
4334
  disabled,
4195
4335
  density
4196
4336
  }) {
4197
- return /* @__PURE__ */ jsxs29("fieldset", {
4337
+ return /* @__PURE__ */ jsxs30("fieldset", {
4198
4338
  "aria-label": label,
4199
4339
  disabled,
4200
4340
  "data-density": density,
4201
4341
  className: "flex min-w-0 flex-wrap items-center gap-2",
4202
4342
  children: [
4203
- /* @__PURE__ */ jsx44(Input2, {
4343
+ /* @__PURE__ */ jsx45(Input2, {
4204
4344
  "aria-label": `Search ${label}`,
4205
4345
  type: "search",
4206
4346
  value: search,
4207
4347
  onChange: (event) => onSearchChange(event.target.value),
4208
4348
  className: "min-w-40 flex-1"
4209
4349
  }),
4210
- filters.map((filter) => /* @__PURE__ */ jsx44(OptionSelect2, {
4350
+ filters.map((filter) => /* @__PURE__ */ jsx45(OptionSelect2, {
4211
4351
  "aria-label": filter.label,
4212
4352
  value: value[filter.id] ?? "",
4213
4353
  onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
4214
4354
  options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
4215
4355
  }, filter.id)),
4216
- /* @__PURE__ */ jsx44(Button2, {
4356
+ /* @__PURE__ */ jsx45(Button2, {
4217
4357
  type: "button",
4218
4358
  variant: "ghost",
4219
4359
  disabled: !search && !Object.values(value).some(Boolean),
@@ -4227,7 +4367,7 @@ function FilterBar2({
4227
4367
  });
4228
4368
  }
4229
4369
  // src/components/BarList.tsx
4230
- import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
4370
+ import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4231
4371
  function BarList2({
4232
4372
  label,
4233
4373
  items,
@@ -4236,14 +4376,14 @@ function BarList2({
4236
4376
  density
4237
4377
  }) {
4238
4378
  const max = Math.max(1, ...items.map((item) => item.value));
4239
- return /* @__PURE__ */ jsxs30("section", {
4379
+ return /* @__PURE__ */ jsxs31("section", {
4240
4380
  "aria-label": label,
4241
4381
  "data-density": density,
4242
4382
  children: [
4243
- /* @__PURE__ */ jsx45("ul", {
4383
+ /* @__PURE__ */ jsx46("ul", {
4244
4384
  className: "grid gap-3",
4245
- children: items.map((item) => /* @__PURE__ */ jsx45("li", {
4246
- children: /* @__PURE__ */ jsxs30(Meter2, {
4385
+ children: items.map((item) => /* @__PURE__ */ jsx46("li", {
4386
+ children: /* @__PURE__ */ jsxs31(Meter2, {
4247
4387
  min: 0,
4248
4388
  max,
4249
4389
  value: item.value,
@@ -4251,11 +4391,11 @@ function BarList2({
4251
4391
  format: { maximumFractionDigits: 2 },
4252
4392
  className: "gap-y-1",
4253
4393
  children: [
4254
- /* @__PURE__ */ jsxs30("div", {
4394
+ /* @__PURE__ */ jsxs31("div", {
4255
4395
  className: "flex w-full items-center justify-between gap-3 text-sm",
4256
4396
  children: [
4257
- /* @__PURE__ */ jsx45(MeterLabel2, {
4258
- children: onItemSelect ? /* @__PURE__ */ jsx45(Button2, {
4397
+ /* @__PURE__ */ jsx46(MeterLabel2, {
4398
+ children: onItemSelect ? /* @__PURE__ */ jsx46(Button2, {
4259
4399
  type: "button",
4260
4400
  variant: "link",
4261
4401
  className: "h-auto p-0",
@@ -4263,19 +4403,19 @@ function BarList2({
4263
4403
  children: item.label
4264
4404
  }) : item.label
4265
4405
  }),
4266
- /* @__PURE__ */ jsx45(MeterValue2, {
4406
+ /* @__PURE__ */ jsx46(MeterValue2, {
4267
4407
  children: () => valueFormatter(item.value)
4268
4408
  })
4269
4409
  ]
4270
4410
  }),
4271
- /* @__PURE__ */ jsx45(MeterTrack2, {
4272
- children: /* @__PURE__ */ jsx45(MeterIndicator2, {})
4411
+ /* @__PURE__ */ jsx46(MeterTrack2, {
4412
+ children: /* @__PURE__ */ jsx46(MeterIndicator2, {})
4273
4413
  })
4274
4414
  ]
4275
4415
  })
4276
4416
  }, item.id))
4277
4417
  }),
4278
- !items.length && /* @__PURE__ */ jsx45("p", {
4418
+ !items.length && /* @__PURE__ */ jsx46("p", {
4279
4419
  role: "status",
4280
4420
  className: "text-sm text-muted-foreground",
4281
4421
  children: "No data available."
@@ -4284,23 +4424,23 @@ function BarList2({
4284
4424
  });
4285
4425
  }
4286
4426
  // src/components/StatusTracker.tsx
4287
- import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
4427
+ import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4288
4428
  var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
4289
4429
  function StatusTracker2({ label, items, onItemSelect, density }) {
4290
- return /* @__PURE__ */ jsx46(TooltipProvider2, {
4291
- children: /* @__PURE__ */ jsx46("div", {
4430
+ return /* @__PURE__ */ jsx47(TooltipProvider2, {
4431
+ children: /* @__PURE__ */ jsx47("div", {
4292
4432
  role: "group",
4293
4433
  "aria-label": label,
4294
4434
  "data-density": density,
4295
4435
  className: "flex min-w-0 gap-1",
4296
- children: items.map((item) => /* @__PURE__ */ jsxs31(Tooltip2, {
4436
+ children: items.map((item) => /* @__PURE__ */ jsxs32(Tooltip2, {
4297
4437
  children: [
4298
- /* @__PURE__ */ jsx46(TooltipTrigger2, {
4438
+ /* @__PURE__ */ jsx47(TooltipTrigger2, {
4299
4439
  "aria-label": `${item.label}: ${item.status}`,
4300
4440
  onClick: () => onItemSelect?.(item),
4301
4441
  className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
4302
4442
  }),
4303
- /* @__PURE__ */ jsxs31(TooltipContent2, {
4443
+ /* @__PURE__ */ jsxs32(TooltipContent2, {
4304
4444
  children: [
4305
4445
  item.label,
4306
4446
  ": ",
@@ -4313,7 +4453,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
4313
4453
  });
4314
4454
  }
4315
4455
  // src/components/DashboardLayout.tsx
4316
- import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
4456
+ import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4317
4457
  function DashboardLayout2({
4318
4458
  title,
4319
4459
  description,
@@ -4324,24 +4464,24 @@ function DashboardLayout2({
4324
4464
  footer,
4325
4465
  density
4326
4466
  }) {
4327
- return /* @__PURE__ */ jsxs32("div", {
4467
+ return /* @__PURE__ */ jsxs33("div", {
4328
4468
  "data-density": density,
4329
4469
  "data-scroll": "none",
4330
4470
  className: "grid min-w-0 gap-6",
4331
4471
  children: [
4332
- /* @__PURE__ */ jsx47(PageHeader2, {
4472
+ /* @__PURE__ */ jsx48(PageHeader2, {
4333
4473
  title,
4334
4474
  description,
4335
4475
  actions
4336
4476
  }),
4337
4477
  filters,
4338
- stats.length > 0 && /* @__PURE__ */ jsx47("div", {
4478
+ stats.length > 0 && /* @__PURE__ */ jsx48("div", {
4339
4479
  className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
4340
- children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx47(StatCard2, {
4480
+ children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx48(StatCard2, {
4341
4481
  ...stat
4342
4482
  }, id))
4343
4483
  }),
4344
- /* @__PURE__ */ jsx47("div", {
4484
+ /* @__PURE__ */ jsx48("div", {
4345
4485
  className: "grid min-w-0 gap-4",
4346
4486
  children
4347
4487
  }),
@@ -4350,18 +4490,18 @@ function DashboardLayout2({
4350
4490
  });
4351
4491
  }
4352
4492
  // src/components/BillingUsage.tsx
4353
- import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
4493
+ import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
4354
4494
  function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
4355
- return /* @__PURE__ */ jsxs33(Card2, {
4495
+ return /* @__PURE__ */ jsxs34(Card2, {
4356
4496
  density,
4357
4497
  "aria-label": "Billing and usage",
4358
4498
  children: [
4359
- /* @__PURE__ */ jsxs33(CardHeader2, {
4499
+ /* @__PURE__ */ jsxs34(CardHeader2, {
4360
4500
  children: [
4361
- /* @__PURE__ */ jsx48(CardTitle2, {
4501
+ /* @__PURE__ */ jsx49(CardTitle2, {
4362
4502
  children: plan
4363
4503
  }),
4364
- /* @__PURE__ */ jsxs33(CardDescription2, {
4504
+ /* @__PURE__ */ jsxs34(CardDescription2, {
4365
4505
  children: [
4366
4506
  price,
4367
4507
  " · ",
@@ -4370,32 +4510,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4370
4510
  })
4371
4511
  ]
4372
4512
  }),
4373
- /* @__PURE__ */ jsx48(CardContent2, {
4513
+ /* @__PURE__ */ jsx49(CardContent2, {
4374
4514
  className: "grid gap-4",
4375
- children: metrics.map((metric) => /* @__PURE__ */ jsxs33(Meter2, {
4515
+ children: metrics.map((metric) => /* @__PURE__ */ jsxs34(Meter2, {
4376
4516
  value: metric.used,
4377
4517
  max: metric.limit,
4378
4518
  "aria-label": metric.label,
4379
4519
  children: [
4380
- /* @__PURE__ */ jsxs33("div", {
4520
+ /* @__PURE__ */ jsxs34("div", {
4381
4521
  className: "mb-2 flex items-center justify-between gap-3 text-sm",
4382
4522
  children: [
4383
- /* @__PURE__ */ jsx48(MeterLabel2, {
4523
+ /* @__PURE__ */ jsx49(MeterLabel2, {
4384
4524
  children: metric.label
4385
4525
  }),
4386
- /* @__PURE__ */ jsx48(MeterValue2, {
4526
+ /* @__PURE__ */ jsx49(MeterValue2, {
4387
4527
  children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
4388
4528
  })
4389
4529
  ]
4390
4530
  }),
4391
- /* @__PURE__ */ jsx48(MeterTrack2, {
4392
- children: /* @__PURE__ */ jsx48(MeterIndicator2, {})
4531
+ /* @__PURE__ */ jsx49(MeterTrack2, {
4532
+ children: /* @__PURE__ */ jsx49(MeterIndicator2, {})
4393
4533
  })
4394
4534
  ]
4395
4535
  }, metric.id))
4396
4536
  }),
4397
- /* @__PURE__ */ jsx48(CardFooter2, {
4398
- children: /* @__PURE__ */ jsx48(Button2, {
4537
+ /* @__PURE__ */ jsx49(CardFooter2, {
4538
+ children: /* @__PURE__ */ jsx49(Button2, {
4399
4539
  type: "button",
4400
4540
  variant: "outline",
4401
4541
  onClick: onManage,
@@ -4406,4 +4546,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
4406
4546
  ]
4407
4547
  });
4408
4548
  }
4409
- 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, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, 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 };
4549
+ 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, 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 };