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