@alexgorbatchev/shadcn 0.0.85 → 0.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-cjbbeph9.js → chunk-h2xvhydx.js} +409 -224
- package/dist/{chunk-5jtbr6q4.js → chunk-nj2shejq.js} +1 -1
- package/dist/{chunk-xhq6s4z7.js → chunk-qn4a3gg4.js} +4 -2
- package/dist/{chunk-tmt6rwg1.js → chunk-wnkxd9km.js} +1 -1
- package/dist/{chunk-ya14cv0r.js → chunk-z6kyewpg.js} +1 -1
- package/dist/components/ReviewList.d.ts +13 -2
- package/dist/components/StarRating.d.ts +14 -2
- package/dist/components/Table.d.ts +8 -2
- package/dist/components/ToolbarToggleChip.d.ts +39 -0
- package/dist/components/assistant-ui/elements/DataTable.js +2 -2
- package/dist/components/assistant-ui/index.js +2 -2
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/gantt/index.js +1 -1
- package/dist/components/json-render/index.js +2 -2
- package/dist/components/resizable/SplitView.d.ts +4 -2
- package/dist/components/resizable/index.js +26 -1
- package/dist/components/virtual-data-grid/index.js +3 -3
- package/dist/components/virtual-table/index.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -2
- package/dist/prototype.js +1 -1
- package/llms/components/actions/ToolbarToggleChip.md +105 -0
- package/llms/components/data-display/ReviewList.md +8 -0
- package/llms/components/data-display/Table.md +23 -0
- package/llms/components/forms/StarRating.md +26 -0
- package/llms/components/layout/SplitView.md +16 -0
- package/llms.txt +1 -0
- package/package.json +1 -1
|
@@ -135,6 +135,9 @@ import {
|
|
|
135
135
|
import {
|
|
136
136
|
Spinner2
|
|
137
137
|
} from "./chunk-t3p4dn1p.js";
|
|
138
|
+
import {
|
|
139
|
+
Kbd2
|
|
140
|
+
} from "./chunk-7vnpp3ya.js";
|
|
138
141
|
import {
|
|
139
142
|
useLinkAnalyticsCallback,
|
|
140
143
|
AnalyticsLink
|
|
@@ -2746,6 +2749,7 @@ function InlineEdit2({
|
|
|
2746
2749
|
});
|
|
2747
2750
|
}
|
|
2748
2751
|
// src/components/StarRating.tsx
|
|
2752
|
+
import { useState as useState3 } from "react";
|
|
2749
2753
|
import { Radio } from "@base-ui/react/radio";
|
|
2750
2754
|
import { StarIcon, CircleOffIcon } from "lucide-react";
|
|
2751
2755
|
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
@@ -2759,21 +2763,53 @@ function StarRating2({
|
|
|
2759
2763
|
disabled,
|
|
2760
2764
|
density: densityProp,
|
|
2761
2765
|
focusable = true,
|
|
2766
|
+
commit = "change",
|
|
2767
|
+
clearable = true,
|
|
2768
|
+
busy = false,
|
|
2769
|
+
onReselect,
|
|
2762
2770
|
onValueChange
|
|
2763
2771
|
}) {
|
|
2764
2772
|
const density = useDensity(densityProp);
|
|
2773
|
+
const [moved, setMoved] = useState3(null);
|
|
2774
|
+
const isConfirm = commit === "confirm";
|
|
2775
|
+
const draft = moved?.from === value ? moved.star : null;
|
|
2776
|
+
const setDraft = (star) => setMoved(star === null ? null : { from: value, star });
|
|
2777
|
+
const shown = isConfirm ? draft ?? value : value;
|
|
2778
|
+
const confirm = (star) => {
|
|
2779
|
+
setDraft(null);
|
|
2780
|
+
if (star === value)
|
|
2781
|
+
onReselect?.(star);
|
|
2782
|
+
else
|
|
2783
|
+
onValueChange(star);
|
|
2784
|
+
};
|
|
2785
|
+
const onBlur = (event) => {
|
|
2786
|
+
if (!isConfirm || event.currentTarget.contains(event.relatedTarget))
|
|
2787
|
+
return;
|
|
2788
|
+
if (draft !== null && draft !== value)
|
|
2789
|
+
onValueChange(draft);
|
|
2790
|
+
setDraft(null);
|
|
2791
|
+
};
|
|
2765
2792
|
return /* @__PURE__ */ jsx28(RadioGroup2, {
|
|
2766
2793
|
analytics,
|
|
2767
2794
|
"aria-label": label,
|
|
2768
|
-
|
|
2795
|
+
"aria-busy": busy || undefined,
|
|
2796
|
+
value: shown,
|
|
2769
2797
|
disabled,
|
|
2770
2798
|
"data-density": densityProp,
|
|
2771
2799
|
className: "inline-flex w-fit shrink-0 items-center gap-0.5",
|
|
2772
|
-
onValueChange,
|
|
2773
|
-
|
|
2800
|
+
onValueChange: isConfirm ? (next) => setDraft(next) : onValueChange,
|
|
2801
|
+
onBlur,
|
|
2802
|
+
children: [1, 2, 3, 4, 5, ...clearable ? [0] : []].map((star) => /* @__PURE__ */ jsx28(Radio.Root, {
|
|
2774
2803
|
value: star,
|
|
2775
2804
|
nativeButton: true,
|
|
2776
2805
|
...focusable ? {} : { tabIndex: -1 },
|
|
2806
|
+
...isConfirm && {
|
|
2807
|
+
onClick: () => confirm(star),
|
|
2808
|
+
onKeyDown: (event) => {
|
|
2809
|
+
if (event.key === "Enter")
|
|
2810
|
+
confirm(star);
|
|
2811
|
+
}
|
|
2812
|
+
},
|
|
2777
2813
|
render: /* @__PURE__ */ jsx28(AnalyticsButton, {
|
|
2778
2814
|
component: "StarRating",
|
|
2779
2815
|
type: "button"
|
|
@@ -2786,13 +2822,14 @@ function StarRating2({
|
|
|
2786
2822
|
className: CLEAR_SIZES[density]
|
|
2787
2823
|
}) : /* @__PURE__ */ jsx28(StarIcon, {
|
|
2788
2824
|
"aria-hidden": "true",
|
|
2789
|
-
className: star <=
|
|
2825
|
+
className: star <= shown ? cn2(STAR_SIZES[density], "fill-primary text-primary") : STAR_SIZES[density]
|
|
2790
2826
|
})
|
|
2791
2827
|
}, star))
|
|
2792
2828
|
});
|
|
2793
2829
|
}
|
|
2794
2830
|
// src/components/ReviewList.tsx
|
|
2795
|
-
import { useRef as useRef3, useState as
|
|
2831
|
+
import { useRef as useRef3, useState as useState4 } from "react";
|
|
2832
|
+
import { ChevronRightIcon as ChevronRightIcon3 } from "lucide-react";
|
|
2796
2833
|
import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
2797
2834
|
var TOGGLE_KEYS = new Set(["x", "X"]);
|
|
2798
2835
|
function isMod(event) {
|
|
@@ -2801,9 +2838,9 @@ function isMod(event) {
|
|
|
2801
2838
|
function isTextEntry(target) {
|
|
2802
2839
|
return target instanceof HTMLElement && (target.isContentEditable || target.matches("input:not([type='checkbox']), textarea, select"));
|
|
2803
2840
|
}
|
|
2804
|
-
function ReviewList2({ label, rows, onIncludedChange }) {
|
|
2805
|
-
const [cursor, setCursor] =
|
|
2806
|
-
const [anchorId, setAnchorId] =
|
|
2841
|
+
function ReviewList2({ label, rows, onIncludedChange, onExpandedChange }) {
|
|
2842
|
+
const [cursor, setCursor] = useState4({ row: 0, cell: 0 });
|
|
2843
|
+
const [anchorId, setAnchorId] = useState4();
|
|
2807
2844
|
const cellsRef = useRef3(new Map);
|
|
2808
2845
|
const rowIndex = Math.min(cursor.row, Math.max(0, rows.length - 1));
|
|
2809
2846
|
const cellCount = (row) => 2 + (row?.cells?.length ?? 0);
|
|
@@ -2821,8 +2858,9 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2821
2858
|
setAnchorId(row.id);
|
|
2822
2859
|
onIncludedChange([row.id], !row.isIncluded);
|
|
2823
2860
|
};
|
|
2824
|
-
const setRange = (row) => {
|
|
2825
|
-
const
|
|
2861
|
+
const setRange = (row, fallbackAnchor = 0) => {
|
|
2862
|
+
const found = rows.findIndex((candidate) => candidate.id === anchorId);
|
|
2863
|
+
const anchorIndex = found >= 0 ? found : fallbackAnchor;
|
|
2826
2864
|
const anchor = rows[anchorIndex];
|
|
2827
2865
|
if (!anchor)
|
|
2828
2866
|
return;
|
|
@@ -2836,7 +2874,13 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2836
2874
|
if (!current)
|
|
2837
2875
|
return;
|
|
2838
2876
|
let handled = true;
|
|
2839
|
-
if (event.key === "ArrowDown")
|
|
2877
|
+
if ((event.key === "ArrowDown" || event.key === "ArrowUp") && event.shiftKey && !isMod(event)) {
|
|
2878
|
+
const next = event.key === "ArrowDown" ? Math.min(rows.length - 1, rowIndex + 1) : Math.max(0, rowIndex - 1);
|
|
2879
|
+
if (anchorId === undefined)
|
|
2880
|
+
setAnchorId(current.id);
|
|
2881
|
+
focusCell(next, cursor.cell);
|
|
2882
|
+
setRange(next, rowIndex);
|
|
2883
|
+
} else if (event.key === "ArrowDown")
|
|
2840
2884
|
focusCell(Math.min(rows.length - 1, rowIndex + 1), cursor.cell);
|
|
2841
2885
|
else if (event.key === "ArrowUp")
|
|
2842
2886
|
focusCell(Math.max(0, rowIndex - 1), cursor.cell);
|
|
@@ -2850,6 +2894,8 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2850
2894
|
focusCell(rowIndex, cursor.cell - 1);
|
|
2851
2895
|
else if (TOGGLE_KEYS.has(event.key) && !isMod(event) || event.key === " " && event.shiftKey)
|
|
2852
2896
|
toggle(current);
|
|
2897
|
+
else if (event.key === "Enter" && current.isExpanded !== undefined && onExpandedChange && !isMod(event))
|
|
2898
|
+
onExpandedChange(current.id, !current.isExpanded);
|
|
2853
2899
|
else if (event.key.toLowerCase() === "a" && isMod(event))
|
|
2854
2900
|
onIncludedChange(rows.map((row) => row.id), true);
|
|
2855
2901
|
else
|
|
@@ -2866,9 +2912,10 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2866
2912
|
setAnchorId(row.id);
|
|
2867
2913
|
setCursor({ row: index, cell });
|
|
2868
2914
|
};
|
|
2915
|
+
const isTree = rows.some((row) => row.level !== undefined);
|
|
2869
2916
|
return /* @__PURE__ */ jsx29("div", {
|
|
2870
2917
|
"data-slot": "review-list",
|
|
2871
|
-
role: "grid",
|
|
2918
|
+
role: isTree ? "treegrid" : "grid",
|
|
2872
2919
|
"aria-label": label,
|
|
2873
2920
|
"aria-rowcount": rows.length,
|
|
2874
2921
|
className: "flex min-w-0 flex-col gap-0.5",
|
|
@@ -2886,6 +2933,8 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2886
2933
|
return /* @__PURE__ */ jsxs17("div", {
|
|
2887
2934
|
role: "row",
|
|
2888
2935
|
"aria-rowindex": index + 1,
|
|
2936
|
+
"aria-level": isTree ? row.level ?? 1 : undefined,
|
|
2937
|
+
"aria-expanded": row.isExpanded,
|
|
2889
2938
|
"data-included": row.isIncluded || undefined,
|
|
2890
2939
|
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
2940
|
children: [
|
|
@@ -2898,6 +2947,7 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2898
2947
|
children: /* @__PURE__ */ jsx29(Checkbox2, {
|
|
2899
2948
|
"aria-label": row.checkboxLabel,
|
|
2900
2949
|
checked: row.isIncluded,
|
|
2950
|
+
indeterminate: row.isIndeterminate,
|
|
2901
2951
|
tabIndex: -1,
|
|
2902
2952
|
onCheckedChange: (_checked, details) => {
|
|
2903
2953
|
const native = details.event;
|
|
@@ -2907,13 +2957,37 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2907
2957
|
}
|
|
2908
2958
|
})
|
|
2909
2959
|
}),
|
|
2910
|
-
/* @__PURE__ */
|
|
2960
|
+
/* @__PURE__ */ jsxs17("div", {
|
|
2911
2961
|
ref: cellRef(1),
|
|
2912
2962
|
role: "gridcell",
|
|
2913
2963
|
tabIndex: tabIndex(1),
|
|
2914
|
-
className: "min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
2964
|
+
className: "flex min-w-0 flex-1 items-start gap-1 outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
2965
|
+
style: isTree ? { paddingInlineStart: `${((row.level ?? 1) - 1) * 1.25}rem` } : undefined,
|
|
2915
2966
|
onClick: (event) => onRowClick(event, row, index, 1),
|
|
2916
|
-
children:
|
|
2967
|
+
children: [
|
|
2968
|
+
isTree && /* @__PURE__ */ jsx29("span", {
|
|
2969
|
+
className: "flex size-5 shrink-0 items-center justify-center",
|
|
2970
|
+
children: row.isExpanded !== undefined && /* @__PURE__ */ jsx29("button", {
|
|
2971
|
+
type: "button",
|
|
2972
|
+
tabIndex: -1,
|
|
2973
|
+
"aria-hidden": "true",
|
|
2974
|
+
"data-slot": "review-list-disclosure",
|
|
2975
|
+
className: "flex size-5 items-center justify-center rounded-sm text-muted-foreground hover:bg-accent",
|
|
2976
|
+
onClick: (event) => {
|
|
2977
|
+
event.stopPropagation();
|
|
2978
|
+
setCursor({ row: index, cell: 1 });
|
|
2979
|
+
onExpandedChange?.(row.id, !row.isExpanded);
|
|
2980
|
+
},
|
|
2981
|
+
children: /* @__PURE__ */ jsx29(ChevronRightIcon3, {
|
|
2982
|
+
className: cn2("size-4 transition-transform", row.isExpanded && "rotate-90")
|
|
2983
|
+
})
|
|
2984
|
+
})
|
|
2985
|
+
}),
|
|
2986
|
+
/* @__PURE__ */ jsx29("div", {
|
|
2987
|
+
className: "min-w-0 flex-1",
|
|
2988
|
+
children: row.content
|
|
2989
|
+
})
|
|
2990
|
+
]
|
|
2917
2991
|
}),
|
|
2918
2992
|
row.cells?.map((cell, offset) => /* @__PURE__ */ jsx29("div", {
|
|
2919
2993
|
ref: cellRef(offset + 2),
|
|
@@ -2929,7 +3003,7 @@ function ReviewList2({ label, rows, onIncludedChange }) {
|
|
|
2929
3003
|
});
|
|
2930
3004
|
}
|
|
2931
3005
|
// src/components/ConfirmationDialog.tsx
|
|
2932
|
-
import { useState as
|
|
3006
|
+
import { useState as useState5 } from "react";
|
|
2933
3007
|
import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
2934
3008
|
function ConfirmationDialog2({
|
|
2935
3009
|
open,
|
|
@@ -2940,8 +3014,8 @@ function ConfirmationDialog2({
|
|
|
2940
3014
|
onConfirm,
|
|
2941
3015
|
renderError
|
|
2942
3016
|
}) {
|
|
2943
|
-
const [isPending, setPending] =
|
|
2944
|
-
const [error, setError] =
|
|
3017
|
+
const [isPending, setPending] = useState5(false);
|
|
3018
|
+
const [error, setError] = useState5(null);
|
|
2945
3019
|
return /* @__PURE__ */ jsx30(AlertDialog2, {
|
|
2946
3020
|
open,
|
|
2947
3021
|
onOpenChange: (next, details) => {
|
|
@@ -3006,9 +3080,9 @@ import { useRef as useRef4 } from "react";
|
|
|
3006
3080
|
import { ImageIcon, UploadIcon } from "lucide-react";
|
|
3007
3081
|
|
|
3008
3082
|
// src/hooks/useObjectURL.ts
|
|
3009
|
-
import { useEffect as useEffect3, useState as
|
|
3083
|
+
import { useEffect as useEffect3, useState as useState6 } from "react";
|
|
3010
3084
|
function useObjectURL(file) {
|
|
3011
|
-
const [url, setURL] =
|
|
3085
|
+
const [url, setURL] = useState6();
|
|
3012
3086
|
useEffect3(() => {
|
|
3013
3087
|
if (!file) {
|
|
3014
3088
|
setURL(undefined);
|
|
@@ -3146,12 +3220,123 @@ function MeterIndicator2({
|
|
|
3146
3220
|
...props
|
|
3147
3221
|
});
|
|
3148
3222
|
}
|
|
3223
|
+
// src/components/ToolbarToggleChip.tsx
|
|
3224
|
+
import { useId as useId4 } from "react";
|
|
3225
|
+
import { Toolbar as ToolbarPrimitive } from "@base-ui/react/toolbar";
|
|
3226
|
+
import { jsx as jsx33, jsxs as jsxs20, Fragment as Fragment5 } from "react/jsx-runtime";
|
|
3227
|
+
function pressedLabel(pressed) {
|
|
3228
|
+
if (pressed === "mixed")
|
|
3229
|
+
return "mixed";
|
|
3230
|
+
return pressed ? "true" : "false";
|
|
3231
|
+
}
|
|
3232
|
+
function ToolbarToggleChip2({
|
|
3233
|
+
analytics,
|
|
3234
|
+
density,
|
|
3235
|
+
children,
|
|
3236
|
+
pressed,
|
|
3237
|
+
onPressedChange,
|
|
3238
|
+
shortcut,
|
|
3239
|
+
detail,
|
|
3240
|
+
swatch,
|
|
3241
|
+
hideLabel = false,
|
|
3242
|
+
disabledReason,
|
|
3243
|
+
focusOnPointer = true,
|
|
3244
|
+
spaceActivates = true,
|
|
3245
|
+
className
|
|
3246
|
+
}) {
|
|
3247
|
+
const reasonId = useId4();
|
|
3248
|
+
const trackedChange = useAnalyticsCallback("ToolbarToggleChip", analytics, { name: "ui.change-request" }, onPressedChange);
|
|
3249
|
+
const isDisabled = Boolean(disabledReason);
|
|
3250
|
+
const onMouseDown = (event) => {
|
|
3251
|
+
if (!focusOnPointer)
|
|
3252
|
+
event.preventDefault();
|
|
3253
|
+
};
|
|
3254
|
+
const onKeyDown = (event) => {
|
|
3255
|
+
if (spaceActivates || event.key !== " ")
|
|
3256
|
+
return;
|
|
3257
|
+
event.preventBaseUIHandler?.();
|
|
3258
|
+
};
|
|
3259
|
+
const onKeyUp = (event) => {
|
|
3260
|
+
if (!spaceActivates && event.key === " ")
|
|
3261
|
+
event.preventDefault();
|
|
3262
|
+
};
|
|
3263
|
+
const button = /* @__PURE__ */ jsxs20(ToolbarPrimitive.Button, {
|
|
3264
|
+
"data-density": density,
|
|
3265
|
+
"data-slot": "toolbar-toggle-chip",
|
|
3266
|
+
"data-pressed": pressedLabel(pressed),
|
|
3267
|
+
"data-space-activates": spaceActivates ? undefined : "false",
|
|
3268
|
+
"aria-pressed": pressedLabel(pressed),
|
|
3269
|
+
...shortcut && { "aria-keyshortcuts": shortcut.toUpperCase() },
|
|
3270
|
+
"aria-describedby": disabledReason ? reasonId : undefined,
|
|
3271
|
+
disabled: isDisabled,
|
|
3272
|
+
focusableWhenDisabled: true,
|
|
3273
|
+
className: cn2(buttonVariants2({ variant: "outline", size: hideLabel ? "icon-sm" : "sm" }), "data-[pressed=true]:border-primary data-[pressed=true]:bg-primary/15 data-[pressed=true]:text-foreground", "data-[pressed=mixed]:border-dashed data-[pressed=mixed]:border-primary data-[pressed=mixed]:bg-primary/5", className),
|
|
3274
|
+
onMouseDown,
|
|
3275
|
+
onKeyDown,
|
|
3276
|
+
onKeyUp,
|
|
3277
|
+
onClick: () => {
|
|
3278
|
+
if (!isDisabled)
|
|
3279
|
+
trackedChange(pressed !== true);
|
|
3280
|
+
},
|
|
3281
|
+
children: [
|
|
3282
|
+
swatch && /* @__PURE__ */ jsx33("span", {
|
|
3283
|
+
"aria-hidden": "true",
|
|
3284
|
+
"data-slot": "toolbar-toggle-chip-swatch",
|
|
3285
|
+
className: "size-3 shrink-0 rounded-sm border border-border",
|
|
3286
|
+
style: { backgroundColor: swatch }
|
|
3287
|
+
}),
|
|
3288
|
+
/* @__PURE__ */ jsx33("span", {
|
|
3289
|
+
className: hideLabel ? "sr-only" : "min-w-0 truncate",
|
|
3290
|
+
children
|
|
3291
|
+
}),
|
|
3292
|
+
detail !== undefined && /* @__PURE__ */ jsxs20("span", {
|
|
3293
|
+
"data-slot": "toolbar-toggle-chip-detail",
|
|
3294
|
+
className: "text-xs text-muted-foreground",
|
|
3295
|
+
children: [
|
|
3296
|
+
" · ",
|
|
3297
|
+
detail
|
|
3298
|
+
]
|
|
3299
|
+
}),
|
|
3300
|
+
shortcut && !hideLabel && /* @__PURE__ */ jsx33(Kbd2, {
|
|
3301
|
+
"aria-hidden": "true",
|
|
3302
|
+
className: "ms-1",
|
|
3303
|
+
children: shortcut.toUpperCase()
|
|
3304
|
+
})
|
|
3305
|
+
]
|
|
3306
|
+
});
|
|
3307
|
+
return /* @__PURE__ */ jsxs20(Fragment5, {
|
|
3308
|
+
children: [
|
|
3309
|
+
disabledReason && /* @__PURE__ */ jsx33("span", {
|
|
3310
|
+
id: reasonId,
|
|
3311
|
+
className: "sr-only",
|
|
3312
|
+
children: disabledReason
|
|
3313
|
+
}),
|
|
3314
|
+
/* @__PURE__ */ jsxs20(Tooltip2, {
|
|
3315
|
+
disabled: !disabledReason && !hideLabel,
|
|
3316
|
+
children: [
|
|
3317
|
+
/* @__PURE__ */ jsx33(TooltipTrigger2, {
|
|
3318
|
+
render: button,
|
|
3319
|
+
closeOnClick: false
|
|
3320
|
+
}),
|
|
3321
|
+
(disabledReason || hideLabel) && /* @__PURE__ */ jsxs20(TooltipContent2, {
|
|
3322
|
+
children: [
|
|
3323
|
+
hideLabel ? children : null,
|
|
3324
|
+
hideLabel && shortcut ? ` · ${shortcut.toUpperCase()}` : null,
|
|
3325
|
+
hideLabel && disabledReason ? " · " : null,
|
|
3326
|
+
disabledReason
|
|
3327
|
+
]
|
|
3328
|
+
})
|
|
3329
|
+
]
|
|
3330
|
+
})
|
|
3331
|
+
]
|
|
3332
|
+
});
|
|
3333
|
+
}
|
|
3149
3334
|
// src/components/Stepper.tsx
|
|
3150
3335
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
3151
3336
|
import { CheckIcon as CheckIcon2 } from "lucide-react";
|
|
3152
|
-
import { jsx as
|
|
3337
|
+
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
3153
3338
|
function Stepper2({ density, className, ...props }) {
|
|
3154
|
-
return /* @__PURE__ */
|
|
3339
|
+
return /* @__PURE__ */ jsx34(TabsPrimitive.Root, {
|
|
3155
3340
|
"data-density": density,
|
|
3156
3341
|
"data-slot": "stepper",
|
|
3157
3342
|
className: (state) => cn2("group/stepper flex min-w-0 flex-col gap-panel data-[orientation=vertical]:flex-row", typeof className === "function" ? className(state) : className),
|
|
@@ -3164,7 +3349,7 @@ function StepperList2({
|
|
|
3164
3349
|
activateOnFocus = false,
|
|
3165
3350
|
...props
|
|
3166
3351
|
}) {
|
|
3167
|
-
return /* @__PURE__ */
|
|
3352
|
+
return /* @__PURE__ */ jsx34(TabsPrimitive.List, {
|
|
3168
3353
|
"data-density": density,
|
|
3169
3354
|
"data-slot": "stepper-list",
|
|
3170
3355
|
activateOnFocus,
|
|
@@ -3173,7 +3358,7 @@ function StepperList2({
|
|
|
3173
3358
|
});
|
|
3174
3359
|
}
|
|
3175
3360
|
function StepperTrigger2({ density, className, ...props }) {
|
|
3176
|
-
return /* @__PURE__ */
|
|
3361
|
+
return /* @__PURE__ */ jsx34(TabsPrimitive.Tab, {
|
|
3177
3362
|
"data-density": density,
|
|
3178
3363
|
"data-slot": "stepper-trigger",
|
|
3179
3364
|
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),
|
|
@@ -3181,17 +3366,17 @@ function StepperTrigger2({ density, className, ...props }) {
|
|
|
3181
3366
|
});
|
|
3182
3367
|
}
|
|
3183
3368
|
function StepperIndicator2({ completed = false, children, className, ...props }) {
|
|
3184
|
-
return /* @__PURE__ */
|
|
3369
|
+
return /* @__PURE__ */ jsx34("span", {
|
|
3185
3370
|
"aria-hidden": "true",
|
|
3186
3371
|
"data-slot": "stepper-indicator",
|
|
3187
3372
|
"data-completed": completed || undefined,
|
|
3188
3373
|
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),
|
|
3189
3374
|
...props,
|
|
3190
|
-
children: completed ? /* @__PURE__ */
|
|
3375
|
+
children: completed ? /* @__PURE__ */ jsx34(CheckIcon2, {}) : children
|
|
3191
3376
|
});
|
|
3192
3377
|
}
|
|
3193
3378
|
function StepperContent2({ density, className, ...props }) {
|
|
3194
|
-
return /* @__PURE__ */
|
|
3379
|
+
return /* @__PURE__ */ jsx34(TabsPrimitive.Panel, {
|
|
3195
3380
|
"data-density": density,
|
|
3196
3381
|
"data-slot": "stepper-content",
|
|
3197
3382
|
className: (state) => cn2("min-w-0 flex-1 outline-none focus-visible:ring-1 focus-visible:ring-ring", typeof className === "function" ? className(state) : className),
|
|
@@ -3199,7 +3384,7 @@ function StepperContent2({ density, className, ...props }) {
|
|
|
3199
3384
|
});
|
|
3200
3385
|
}
|
|
3201
3386
|
// src/components/AppShell.tsx
|
|
3202
|
-
import { jsx as
|
|
3387
|
+
import { jsx as jsx35, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
3203
3388
|
function AppShell2({
|
|
3204
3389
|
navigation,
|
|
3205
3390
|
brand,
|
|
@@ -3213,28 +3398,28 @@ function AppShell2({
|
|
|
3213
3398
|
content = "scroll",
|
|
3214
3399
|
density
|
|
3215
3400
|
}) {
|
|
3216
|
-
return /* @__PURE__ */
|
|
3401
|
+
return /* @__PURE__ */ jsxs21(SidebarProvider2, {
|
|
3217
3402
|
density,
|
|
3218
3403
|
defaultOpen: defaultSidebarOpen,
|
|
3219
3404
|
className: "relative min-h-0",
|
|
3220
3405
|
style: { height },
|
|
3221
3406
|
"data-scroll": "none",
|
|
3222
3407
|
children: [
|
|
3223
|
-
/* @__PURE__ */
|
|
3408
|
+
/* @__PURE__ */ jsxs21(Sidebar2, {
|
|
3224
3409
|
collapsible: "icon",
|
|
3225
3410
|
position: "container",
|
|
3226
3411
|
children: [
|
|
3227
|
-
/* @__PURE__ */
|
|
3412
|
+
/* @__PURE__ */ jsx35(SidebarHeader2, {
|
|
3228
3413
|
children: brand
|
|
3229
3414
|
}),
|
|
3230
|
-
/* @__PURE__ */
|
|
3231
|
-
children: /* @__PURE__ */
|
|
3415
|
+
/* @__PURE__ */ jsx35(SidebarContent2, {
|
|
3416
|
+
children: /* @__PURE__ */ jsx35("nav", {
|
|
3232
3417
|
"aria-label": "Primary navigation",
|
|
3233
|
-
children: /* @__PURE__ */
|
|
3234
|
-
children: /* @__PURE__ */
|
|
3235
|
-
children: navigation.map((item) => /* @__PURE__ */
|
|
3236
|
-
children: /* @__PURE__ */
|
|
3237
|
-
render: /* @__PURE__ */
|
|
3418
|
+
children: /* @__PURE__ */ jsx35(SidebarGroup2, {
|
|
3419
|
+
children: /* @__PURE__ */ jsx35(SidebarMenu2, {
|
|
3420
|
+
children: navigation.map((item) => /* @__PURE__ */ jsx35(SidebarMenuItem2, {
|
|
3421
|
+
children: /* @__PURE__ */ jsxs21(SidebarMenuButton2, {
|
|
3422
|
+
render: /* @__PURE__ */ jsx35(AnalyticsLink, {
|
|
3238
3423
|
component: "AppShell",
|
|
3239
3424
|
render: item.render,
|
|
3240
3425
|
...item.href === undefined ? {} : { href: item.href },
|
|
@@ -3244,7 +3429,7 @@ function AppShell2({
|
|
|
3244
3429
|
tooltip: item.label,
|
|
3245
3430
|
children: [
|
|
3246
3431
|
item.icon,
|
|
3247
|
-
/* @__PURE__ */
|
|
3432
|
+
/* @__PURE__ */ jsx35("span", {
|
|
3248
3433
|
children: item.label
|
|
3249
3434
|
})
|
|
3250
3435
|
]
|
|
@@ -3254,41 +3439,41 @@ function AppShell2({
|
|
|
3254
3439
|
})
|
|
3255
3440
|
})
|
|
3256
3441
|
}),
|
|
3257
|
-
sidebarFooter && /* @__PURE__ */
|
|
3442
|
+
sidebarFooter && /* @__PURE__ */ jsx35(SidebarFooter2, {
|
|
3258
3443
|
children: sidebarFooter
|
|
3259
3444
|
})
|
|
3260
3445
|
]
|
|
3261
3446
|
}),
|
|
3262
|
-
/* @__PURE__ */
|
|
3447
|
+
/* @__PURE__ */ jsxs21(SidebarInset2, {
|
|
3263
3448
|
"aria-label": label,
|
|
3264
3449
|
className: "min-h-0 min-w-0",
|
|
3265
3450
|
"data-scroll": "none",
|
|
3266
3451
|
children: [
|
|
3267
|
-
/* @__PURE__ */
|
|
3452
|
+
/* @__PURE__ */ jsxs21("header", {
|
|
3268
3453
|
"data-scroll": "none",
|
|
3269
3454
|
className: "flex shrink-0 items-center gap-control-gap border-b border-border p-panel",
|
|
3270
3455
|
children: [
|
|
3271
|
-
/* @__PURE__ */
|
|
3272
|
-
/* @__PURE__ */
|
|
3456
|
+
/* @__PURE__ */ jsx35(SidebarTrigger2, {}),
|
|
3457
|
+
/* @__PURE__ */ jsx35(Separator2, {
|
|
3273
3458
|
orientation: "vertical",
|
|
3274
3459
|
className: "h-control"
|
|
3275
3460
|
}),
|
|
3276
3461
|
header
|
|
3277
3462
|
]
|
|
3278
3463
|
}),
|
|
3279
|
-
content === "fill" ? /* @__PURE__ */
|
|
3464
|
+
content === "fill" ? /* @__PURE__ */ jsx35("div", {
|
|
3280
3465
|
"data-slot": "app-shell-content",
|
|
3281
3466
|
"data-scroll": "none",
|
|
3282
3467
|
className: "flex min-h-0 min-w-0 flex-1 flex-col",
|
|
3283
3468
|
children
|
|
3284
|
-
}) : /* @__PURE__ */
|
|
3469
|
+
}) : /* @__PURE__ */ jsx35(ScrollArea2, {
|
|
3285
3470
|
className: "min-h-0 flex-1",
|
|
3286
|
-
children: /* @__PURE__ */
|
|
3471
|
+
children: /* @__PURE__ */ jsx35("div", {
|
|
3287
3472
|
className: "flex min-w-0 flex-col gap-panel p-panel",
|
|
3288
3473
|
children
|
|
3289
3474
|
})
|
|
3290
3475
|
}),
|
|
3291
|
-
footer && /* @__PURE__ */
|
|
3476
|
+
footer && /* @__PURE__ */ jsx35("footer", {
|
|
3292
3477
|
className: "shrink-0 border-t border-border p-panel",
|
|
3293
3478
|
"data-scroll": "none",
|
|
3294
3479
|
children: footer
|
|
@@ -3638,7 +3823,7 @@ import {
|
|
|
3638
3823
|
DropletIcon,
|
|
3639
3824
|
SunIcon
|
|
3640
3825
|
} from "lucide-react";
|
|
3641
|
-
import { jsx as
|
|
3826
|
+
import { jsx as jsx36, jsxs as jsxs22, Fragment as Fragment6 } from "react/jsx-runtime";
|
|
3642
3827
|
var CONDITION_ICONS = {
|
|
3643
3828
|
clear: SunIcon,
|
|
3644
3829
|
"partly-cloudy": CloudSunIcon,
|
|
@@ -3690,43 +3875,43 @@ function WeatherSummary2({
|
|
|
3690
3875
|
defaultTagName: "div",
|
|
3691
3876
|
props: mergeProps14({
|
|
3692
3877
|
className: cn2("flex min-w-0 text-foreground", isCompact ? "flex-col items-center gap-1 text-center" : "items-center gap-panel-sm", className),
|
|
3693
|
-
children: /* @__PURE__ */
|
|
3878
|
+
children: /* @__PURE__ */ jsxs22(Fragment6, {
|
|
3694
3879
|
children: [
|
|
3695
|
-
/* @__PURE__ */
|
|
3880
|
+
/* @__PURE__ */ jsx36(ConditionIcon, {
|
|
3696
3881
|
"aria-hidden": "true",
|
|
3697
3882
|
"data-slot": "weather-summary-icon",
|
|
3698
3883
|
className: cn2("shrink-0 text-muted-foreground", isCompact ? "size-6" : "size-8")
|
|
3699
3884
|
}),
|
|
3700
|
-
/* @__PURE__ */
|
|
3885
|
+
/* @__PURE__ */ jsxs22("div", {
|
|
3701
3886
|
className: cn2("flex min-w-0 flex-col gap-0.5", isCompact && "items-center"),
|
|
3702
3887
|
children: [
|
|
3703
|
-
/* @__PURE__ */
|
|
3888
|
+
/* @__PURE__ */ jsx36("div", {
|
|
3704
3889
|
className: "text-sm font-medium break-words",
|
|
3705
3890
|
children: label
|
|
3706
3891
|
}),
|
|
3707
|
-
/* @__PURE__ */
|
|
3892
|
+
/* @__PURE__ */ jsx36("div", {
|
|
3708
3893
|
className: cn2("text-sm text-muted-foreground", isCompact && "sr-only"),
|
|
3709
3894
|
children: conditionLabel
|
|
3710
3895
|
}),
|
|
3711
|
-
/* @__PURE__ */
|
|
3896
|
+
/* @__PURE__ */ jsxs22("div", {
|
|
3712
3897
|
className: "flex flex-wrap items-baseline gap-x-2 text-sm tabular-nums",
|
|
3713
3898
|
children: [
|
|
3714
|
-
/* @__PURE__ */
|
|
3899
|
+
/* @__PURE__ */ jsxs22("span", {
|
|
3715
3900
|
children: [
|
|
3716
|
-
/* @__PURE__ */
|
|
3901
|
+
/* @__PURE__ */ jsx36("span", {
|
|
3717
3902
|
className: "sr-only",
|
|
3718
3903
|
children: "High "
|
|
3719
3904
|
}),
|
|
3720
|
-
/* @__PURE__ */
|
|
3905
|
+
/* @__PURE__ */ jsx36("span", {
|
|
3721
3906
|
className: "font-medium",
|
|
3722
3907
|
children: highText
|
|
3723
3908
|
})
|
|
3724
3909
|
]
|
|
3725
3910
|
}),
|
|
3726
|
-
/* @__PURE__ */
|
|
3911
|
+
/* @__PURE__ */ jsxs22("span", {
|
|
3727
3912
|
className: "text-muted-foreground",
|
|
3728
3913
|
children: [
|
|
3729
|
-
/* @__PURE__ */
|
|
3914
|
+
/* @__PURE__ */ jsx36("span", {
|
|
3730
3915
|
className: "sr-only",
|
|
3731
3916
|
children: "Low "
|
|
3732
3917
|
}),
|
|
@@ -3735,17 +3920,17 @@ function WeatherSummary2({
|
|
|
3735
3920
|
})
|
|
3736
3921
|
]
|
|
3737
3922
|
}),
|
|
3738
|
-
probabilityText !== undefined && /* @__PURE__ */
|
|
3923
|
+
probabilityText !== undefined && /* @__PURE__ */ jsxs22("div", {
|
|
3739
3924
|
className: "flex items-center gap-1 text-xs text-muted-foreground tabular-nums",
|
|
3740
3925
|
children: [
|
|
3741
|
-
/* @__PURE__ */
|
|
3926
|
+
/* @__PURE__ */ jsx36(DropletIcon, {
|
|
3742
3927
|
"aria-hidden": "true",
|
|
3743
3928
|
className: "size-3 shrink-0"
|
|
3744
3929
|
}),
|
|
3745
|
-
/* @__PURE__ */
|
|
3930
|
+
/* @__PURE__ */ jsxs22("span", {
|
|
3746
3931
|
children: [
|
|
3747
3932
|
probabilityText,
|
|
3748
|
-
/* @__PURE__ */
|
|
3933
|
+
/* @__PURE__ */ jsx36("span", {
|
|
3749
3934
|
className: "sr-only",
|
|
3750
3935
|
children: " chance of precipitation"
|
|
3751
3936
|
})
|
|
@@ -3763,7 +3948,7 @@ function WeatherSummary2({
|
|
|
3763
3948
|
});
|
|
3764
3949
|
}
|
|
3765
3950
|
// src/components/WeatherForecast.tsx
|
|
3766
|
-
import { jsx as
|
|
3951
|
+
import { jsx as jsx37 } from "react/jsx-runtime";
|
|
3767
3952
|
function WeatherForecast2({
|
|
3768
3953
|
days,
|
|
3769
3954
|
label,
|
|
@@ -3774,52 +3959,52 @@ function WeatherForecast2({
|
|
|
3774
3959
|
className,
|
|
3775
3960
|
...props
|
|
3776
3961
|
}) {
|
|
3777
|
-
return /* @__PURE__ */
|
|
3962
|
+
return /* @__PURE__ */ jsx37("ul", {
|
|
3778
3963
|
"aria-label": label,
|
|
3779
3964
|
"data-slot": "weather-forecast",
|
|
3780
3965
|
"data-density": density,
|
|
3781
3966
|
className: cn2("grid min-w-0 gap-panel-sm", variant === "strip" && "grid-cols-[repeat(auto-fill,minmax(6rem,1fr))]", className),
|
|
3782
3967
|
...props,
|
|
3783
|
-
children: days.map(({ id, ...day }) => /* @__PURE__ */
|
|
3968
|
+
children: days.map(({ id, ...day }) => /* @__PURE__ */ jsx37(WeatherSummary2, {
|
|
3784
3969
|
...day,
|
|
3785
3970
|
unit,
|
|
3786
3971
|
locale,
|
|
3787
3972
|
variant: variant === "strip" ? "compact" : "default",
|
|
3788
|
-
render: /* @__PURE__ */
|
|
3973
|
+
render: /* @__PURE__ */ jsx37("li", {})
|
|
3789
3974
|
}, id))
|
|
3790
3975
|
});
|
|
3791
3976
|
}
|
|
3792
3977
|
// src/components/PageHeader.tsx
|
|
3793
|
-
import { jsx as
|
|
3978
|
+
import { jsx as jsx38, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
3794
3979
|
function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, density }) {
|
|
3795
|
-
return /* @__PURE__ */
|
|
3980
|
+
return /* @__PURE__ */ jsxs23("header", {
|
|
3796
3981
|
"data-density": density,
|
|
3797
3982
|
"data-slot": "page-header",
|
|
3798
3983
|
"data-scroll": "none",
|
|
3799
3984
|
className: "flex min-w-0 flex-col gap-field-gap",
|
|
3800
3985
|
children: [
|
|
3801
3986
|
breadcrumbs,
|
|
3802
|
-
/* @__PURE__ */
|
|
3987
|
+
/* @__PURE__ */ jsxs23("div", {
|
|
3803
3988
|
className: "flex min-w-0 flex-wrap items-start justify-between gap-panel",
|
|
3804
3989
|
children: [
|
|
3805
|
-
/* @__PURE__ */
|
|
3990
|
+
/* @__PURE__ */ jsxs23("div", {
|
|
3806
3991
|
className: "min-w-0",
|
|
3807
3992
|
children: [
|
|
3808
|
-
eyebrow != null && /* @__PURE__ */
|
|
3993
|
+
eyebrow != null && /* @__PURE__ */ jsx38("div", {
|
|
3809
3994
|
className: "mb-2 text-xs font-medium tracking-widest text-muted-foreground",
|
|
3810
3995
|
children: eyebrow
|
|
3811
3996
|
}),
|
|
3812
|
-
/* @__PURE__ */
|
|
3997
|
+
/* @__PURE__ */ jsx38("h1", {
|
|
3813
3998
|
className: "text-xl font-semibold text-foreground",
|
|
3814
3999
|
children: title
|
|
3815
4000
|
}),
|
|
3816
|
-
description && /* @__PURE__ */
|
|
4001
|
+
description && /* @__PURE__ */ jsx38("div", {
|
|
3817
4002
|
className: "mt-1 text-sm text-muted-foreground",
|
|
3818
4003
|
children: description
|
|
3819
4004
|
})
|
|
3820
4005
|
]
|
|
3821
4006
|
}),
|
|
3822
|
-
actions && /* @__PURE__ */
|
|
4007
|
+
actions && /* @__PURE__ */ jsx38("div", {
|
|
3823
4008
|
className: "flex min-w-0 max-w-full flex-wrap items-center gap-control-gap wrap-anywhere",
|
|
3824
4009
|
children: actions
|
|
3825
4010
|
})
|
|
@@ -3829,46 +4014,46 @@ function PageHeader2({ title, eyebrow, description, breadcrumbs, actions, densit
|
|
|
3829
4014
|
});
|
|
3830
4015
|
}
|
|
3831
4016
|
// src/components/PageIntro.tsx
|
|
3832
|
-
import { jsx as
|
|
4017
|
+
import { jsx as jsx39, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
3833
4018
|
function PageIntro2({ title, description, eyebrow, icon, actions, highlights, density }) {
|
|
3834
|
-
return /* @__PURE__ */
|
|
4019
|
+
return /* @__PURE__ */ jsx39("header", {
|
|
3835
4020
|
"data-density": density,
|
|
3836
4021
|
"data-slot": "page-intro",
|
|
3837
4022
|
"data-scroll": "none",
|
|
3838
4023
|
className: "@container/page-intro min-w-0",
|
|
3839
|
-
children: /* @__PURE__ */
|
|
4024
|
+
children: /* @__PURE__ */ jsxs24(Card2, {
|
|
3840
4025
|
variant: "hero",
|
|
3841
4026
|
className: "gap-0 py-0",
|
|
3842
4027
|
children: [
|
|
3843
|
-
/* @__PURE__ */
|
|
4028
|
+
/* @__PURE__ */ jsx39("div", {
|
|
3844
4029
|
"aria-hidden": "true",
|
|
3845
4030
|
"data-slot": "page-intro-wash",
|
|
3846
4031
|
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%)]"
|
|
3847
4032
|
}),
|
|
3848
|
-
/* @__PURE__ */
|
|
4033
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
3849
4034
|
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",
|
|
3850
4035
|
children: [
|
|
3851
|
-
/* @__PURE__ */
|
|
4036
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
3852
4037
|
className: "flex min-w-0 gap-panel",
|
|
3853
4038
|
children: [
|
|
3854
|
-
icon != null && /* @__PURE__ */
|
|
4039
|
+
icon != null && /* @__PURE__ */ jsx39("div", {
|
|
3855
4040
|
"aria-hidden": "true",
|
|
3856
4041
|
"data-slot": "page-intro-icon",
|
|
3857
4042
|
className: "flex size-12 shrink-0 items-center justify-center rounded-md bg-primary/10 text-primary [&_svg]:size-6",
|
|
3858
4043
|
children: icon
|
|
3859
4044
|
}),
|
|
3860
|
-
/* @__PURE__ */
|
|
4045
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
3861
4046
|
className: "min-w-0",
|
|
3862
4047
|
children: [
|
|
3863
|
-
eyebrow != null && /* @__PURE__ */
|
|
4048
|
+
eyebrow != null && /* @__PURE__ */ jsx39("div", {
|
|
3864
4049
|
className: "mb-1 text-xs font-medium tracking-widest text-muted-foreground",
|
|
3865
4050
|
children: eyebrow
|
|
3866
4051
|
}),
|
|
3867
|
-
/* @__PURE__ */
|
|
4052
|
+
/* @__PURE__ */ jsx39("h1", {
|
|
3868
4053
|
className: "text-2xl font-semibold text-foreground",
|
|
3869
4054
|
children: title
|
|
3870
4055
|
}),
|
|
3871
|
-
/* @__PURE__ */
|
|
4056
|
+
/* @__PURE__ */ jsx39("div", {
|
|
3872
4057
|
className: "mt-2 max-w-prose text-base text-pretty text-muted-foreground",
|
|
3873
4058
|
children: description
|
|
3874
4059
|
})
|
|
@@ -3876,33 +4061,33 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
|
|
|
3876
4061
|
})
|
|
3877
4062
|
]
|
|
3878
4063
|
}),
|
|
3879
|
-
actions != null && /* @__PURE__ */
|
|
4064
|
+
actions != null && /* @__PURE__ */ jsx39("div", {
|
|
3880
4065
|
className: "flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-control-gap wrap-anywhere",
|
|
3881
4066
|
children: actions
|
|
3882
4067
|
})
|
|
3883
4068
|
]
|
|
3884
4069
|
}),
|
|
3885
|
-
highlights != null && highlights.length > 0 && /* @__PURE__ */
|
|
4070
|
+
highlights != null && highlights.length > 0 && /* @__PURE__ */ jsx39("ul", {
|
|
3886
4071
|
"aria-label": `What you can do in ${title}`,
|
|
3887
4072
|
"data-slot": "page-intro-highlights",
|
|
3888
4073
|
className: "grid grid-cols-[repeat(auto-fit,minmax(min(100%,13rem),1fr))] gap-panel border-t border-border p-(--card-spacing)",
|
|
3889
|
-
children: highlights.map((highlight) => /* @__PURE__ */
|
|
4074
|
+
children: highlights.map((highlight) => /* @__PURE__ */ jsxs24("li", {
|
|
3890
4075
|
"data-slot": "page-intro-highlight",
|
|
3891
4076
|
className: "flex min-w-0 gap-2",
|
|
3892
4077
|
children: [
|
|
3893
|
-
highlight.icon != null && /* @__PURE__ */
|
|
4078
|
+
highlight.icon != null && /* @__PURE__ */ jsx39("span", {
|
|
3894
4079
|
"aria-hidden": "true",
|
|
3895
4080
|
className: "mt-0.5 shrink-0 text-primary [&_svg]:size-4",
|
|
3896
4081
|
children: highlight.icon
|
|
3897
4082
|
}),
|
|
3898
|
-
/* @__PURE__ */
|
|
4083
|
+
/* @__PURE__ */ jsxs24("div", {
|
|
3899
4084
|
className: "min-w-0",
|
|
3900
4085
|
children: [
|
|
3901
|
-
/* @__PURE__ */
|
|
4086
|
+
/* @__PURE__ */ jsx39("div", {
|
|
3902
4087
|
className: "text-sm font-medium text-foreground",
|
|
3903
4088
|
children: highlight.title
|
|
3904
4089
|
}),
|
|
3905
|
-
/* @__PURE__ */
|
|
4090
|
+
/* @__PURE__ */ jsx39("div", {
|
|
3906
4091
|
className: "mt-0.5 text-sm text-muted-foreground",
|
|
3907
4092
|
children: highlight.description
|
|
3908
4093
|
})
|
|
@@ -3916,7 +4101,7 @@ function PageIntro2({ title, description, eyebrow, icon, actions, highlights, de
|
|
|
3916
4101
|
});
|
|
3917
4102
|
}
|
|
3918
4103
|
// src/components/WorkspaceSwitcher.tsx
|
|
3919
|
-
import { jsx as
|
|
4104
|
+
import { jsx as jsx40, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
3920
4105
|
function WorkspaceSwitcher2({
|
|
3921
4106
|
workspaces,
|
|
3922
4107
|
value,
|
|
@@ -3926,7 +4111,7 @@ function WorkspaceSwitcher2({
|
|
|
3926
4111
|
label = "Workspace",
|
|
3927
4112
|
density
|
|
3928
4113
|
}) {
|
|
3929
|
-
return /* @__PURE__ */
|
|
4114
|
+
return /* @__PURE__ */ jsxs25(Select2, {
|
|
3930
4115
|
items: workspaces,
|
|
3931
4116
|
value,
|
|
3932
4117
|
defaultValue: defaultValue ?? workspaces[0]?.value,
|
|
@@ -3936,15 +4121,15 @@ function WorkspaceSwitcher2({
|
|
|
3936
4121
|
},
|
|
3937
4122
|
disabled,
|
|
3938
4123
|
children: [
|
|
3939
|
-
/* @__PURE__ */
|
|
4124
|
+
/* @__PURE__ */ jsx40(SelectTrigger2, {
|
|
3940
4125
|
"aria-label": label,
|
|
3941
4126
|
density,
|
|
3942
|
-
children: /* @__PURE__ */
|
|
4127
|
+
children: /* @__PURE__ */ jsx40(SelectValue2, {})
|
|
3943
4128
|
}),
|
|
3944
|
-
/* @__PURE__ */
|
|
4129
|
+
/* @__PURE__ */ jsx40(SelectContent2, {
|
|
3945
4130
|
density,
|
|
3946
|
-
children: /* @__PURE__ */
|
|
3947
|
-
children: workspaces.map((workspace) => /* @__PURE__ */
|
|
4131
|
+
children: /* @__PURE__ */ jsx40(SelectGroup2, {
|
|
4132
|
+
children: workspaces.map((workspace) => /* @__PURE__ */ jsx40(SelectItem2, {
|
|
3948
4133
|
value: workspace.value,
|
|
3949
4134
|
children: workspace.label
|
|
3950
4135
|
}, workspace.value))
|
|
@@ -3954,52 +4139,52 @@ function WorkspaceSwitcher2({
|
|
|
3954
4139
|
});
|
|
3955
4140
|
}
|
|
3956
4141
|
// src/components/AccountMenu.tsx
|
|
3957
|
-
import { jsx as
|
|
4142
|
+
import { jsx as jsx41, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
3958
4143
|
function AccountMenu2({ name, email, image, onAction, density }) {
|
|
3959
|
-
return /* @__PURE__ */
|
|
4144
|
+
return /* @__PURE__ */ jsxs26(DropdownMenu2, {
|
|
3960
4145
|
children: [
|
|
3961
|
-
/* @__PURE__ */
|
|
3962
|
-
render: /* @__PURE__ */
|
|
4146
|
+
/* @__PURE__ */ jsxs26(DropdownMenuTrigger2, {
|
|
4147
|
+
render: /* @__PURE__ */ jsx41(Button2, {
|
|
3963
4148
|
variant: "ghost",
|
|
3964
4149
|
density
|
|
3965
4150
|
}),
|
|
3966
4151
|
"aria-label": `Account menu for ${name}`,
|
|
3967
4152
|
children: [
|
|
3968
|
-
/* @__PURE__ */
|
|
4153
|
+
/* @__PURE__ */ jsxs26(Avatar2, {
|
|
3969
4154
|
className: "size-control",
|
|
3970
4155
|
children: [
|
|
3971
|
-
/* @__PURE__ */
|
|
4156
|
+
/* @__PURE__ */ jsx41(AvatarImage2, {
|
|
3972
4157
|
src: image,
|
|
3973
4158
|
alt: ""
|
|
3974
4159
|
}),
|
|
3975
|
-
/* @__PURE__ */
|
|
4160
|
+
/* @__PURE__ */ jsx41(AvatarFallback2, {
|
|
3976
4161
|
children: name.slice(0, 2).toUpperCase()
|
|
3977
4162
|
})
|
|
3978
4163
|
]
|
|
3979
4164
|
}),
|
|
3980
|
-
/* @__PURE__ */
|
|
4165
|
+
/* @__PURE__ */ jsx41("span", {
|
|
3981
4166
|
children: name
|
|
3982
4167
|
})
|
|
3983
4168
|
]
|
|
3984
4169
|
}),
|
|
3985
|
-
/* @__PURE__ */
|
|
4170
|
+
/* @__PURE__ */ jsx41(MenuPopup, {
|
|
3986
4171
|
density,
|
|
3987
4172
|
align: "end",
|
|
3988
|
-
children: /* @__PURE__ */
|
|
4173
|
+
children: /* @__PURE__ */ jsxs26(MenuGroup2, {
|
|
3989
4174
|
children: [
|
|
3990
|
-
/* @__PURE__ */
|
|
4175
|
+
/* @__PURE__ */ jsx41(MenuLabel2, {
|
|
3991
4176
|
children: email ?? name
|
|
3992
4177
|
}),
|
|
3993
|
-
/* @__PURE__ */
|
|
4178
|
+
/* @__PURE__ */ jsx41(MenuItem2, {
|
|
3994
4179
|
onClick: () => onAction("profile"),
|
|
3995
4180
|
children: "Profile"
|
|
3996
4181
|
}),
|
|
3997
|
-
/* @__PURE__ */
|
|
4182
|
+
/* @__PURE__ */ jsx41(MenuItem2, {
|
|
3998
4183
|
onClick: () => onAction("settings"),
|
|
3999
4184
|
children: "Settings"
|
|
4000
4185
|
}),
|
|
4001
|
-
/* @__PURE__ */
|
|
4002
|
-
/* @__PURE__ */
|
|
4186
|
+
/* @__PURE__ */ jsx41(MenuSeparator2, {}),
|
|
4187
|
+
/* @__PURE__ */ jsx41(MenuItem2, {
|
|
4003
4188
|
onClick: () => onAction("sign-out"),
|
|
4004
4189
|
children: "Sign out"
|
|
4005
4190
|
})
|
|
@@ -4010,7 +4195,7 @@ function AccountMenu2({ name, email, image, onAction, density }) {
|
|
|
4010
4195
|
});
|
|
4011
4196
|
}
|
|
4012
4197
|
// src/components/StatCard.tsx
|
|
4013
|
-
import { jsx as
|
|
4198
|
+
import { jsx as jsx42, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
4014
4199
|
function StatCard2({
|
|
4015
4200
|
label,
|
|
4016
4201
|
value,
|
|
@@ -4021,48 +4206,48 @@ function StatCard2({
|
|
|
4021
4206
|
loading = false,
|
|
4022
4207
|
density
|
|
4023
4208
|
}) {
|
|
4024
|
-
return /* @__PURE__ */
|
|
4209
|
+
return /* @__PURE__ */ jsxs27(Card2, {
|
|
4025
4210
|
density,
|
|
4026
4211
|
"aria-label": label,
|
|
4027
4212
|
"aria-busy": loading,
|
|
4028
4213
|
children: [
|
|
4029
|
-
/* @__PURE__ */
|
|
4214
|
+
/* @__PURE__ */ jsxs27(CardHeader2, {
|
|
4030
4215
|
children: [
|
|
4031
|
-
/* @__PURE__ */
|
|
4216
|
+
/* @__PURE__ */ jsx42(CardTitle2, {
|
|
4032
4217
|
children: label
|
|
4033
4218
|
}),
|
|
4034
|
-
description && /* @__PURE__ */
|
|
4219
|
+
description && /* @__PURE__ */ jsx42(CardDescription2, {
|
|
4035
4220
|
children: description
|
|
4036
4221
|
})
|
|
4037
4222
|
]
|
|
4038
4223
|
}),
|
|
4039
|
-
/* @__PURE__ */
|
|
4040
|
-
children: /* @__PURE__ */
|
|
4224
|
+
/* @__PURE__ */ jsx42(CardContent2, {
|
|
4225
|
+
children: /* @__PURE__ */ jsxs27("div", {
|
|
4041
4226
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
4042
4227
|
children: [
|
|
4043
|
-
loading ? /* @__PURE__ */
|
|
4228
|
+
loading ? /* @__PURE__ */ jsx42(Skeleton2, {
|
|
4044
4229
|
className: "h-8 w-24",
|
|
4045
4230
|
"aria-label": `Loading ${label}`
|
|
4046
|
-
}) : /* @__PURE__ */
|
|
4231
|
+
}) : /* @__PURE__ */ jsx42("div", {
|
|
4047
4232
|
className: "text-2xl font-semibold tabular-nums",
|
|
4048
4233
|
children: value
|
|
4049
4234
|
}),
|
|
4050
|
-
change && /* @__PURE__ */
|
|
4235
|
+
change && /* @__PURE__ */ jsx42(Badge2, {
|
|
4051
4236
|
variant: changeIntent === "positive" ? "success" : changeIntent === "negative" ? "destructive" : "secondary",
|
|
4052
4237
|
children: change
|
|
4053
4238
|
})
|
|
4054
4239
|
]
|
|
4055
4240
|
})
|
|
4056
4241
|
}),
|
|
4057
|
-
children && /* @__PURE__ */
|
|
4242
|
+
children && /* @__PURE__ */ jsx42(CardFooter2, {
|
|
4058
4243
|
children
|
|
4059
4244
|
})
|
|
4060
4245
|
]
|
|
4061
4246
|
});
|
|
4062
4247
|
}
|
|
4063
4248
|
// src/components/AuthForm.tsx
|
|
4064
|
-
import { useId as
|
|
4065
|
-
import { jsx as
|
|
4249
|
+
import { useId as useId5, useState as useState7 } from "react";
|
|
4250
|
+
import { jsx as jsx43, jsxs as jsxs28 } from "react/jsx-runtime";
|
|
4066
4251
|
function AuthForm2({
|
|
4067
4252
|
mode = "sign-in",
|
|
4068
4253
|
onSubmit,
|
|
@@ -4071,9 +4256,9 @@ function AuthForm2({
|
|
|
4071
4256
|
disabled = false,
|
|
4072
4257
|
density
|
|
4073
4258
|
}) {
|
|
4074
|
-
const id =
|
|
4075
|
-
const [pending, setPending] =
|
|
4076
|
-
const [error, setError] =
|
|
4259
|
+
const id = useId5();
|
|
4260
|
+
const [pending, setPending] = useState7(false);
|
|
4261
|
+
const [error, setError] = useState7("");
|
|
4077
4262
|
const title = mode === "sign-up" ? "Create an account" : mode === "reset-password" ? "Reset your password" : "Sign in";
|
|
4078
4263
|
async function submit(event) {
|
|
4079
4264
|
event.preventDefault();
|
|
@@ -4092,33 +4277,33 @@ function AuthForm2({
|
|
|
4092
4277
|
setPending(false);
|
|
4093
4278
|
}
|
|
4094
4279
|
}
|
|
4095
|
-
return /* @__PURE__ */
|
|
4280
|
+
return /* @__PURE__ */ jsxs28(Card2, {
|
|
4096
4281
|
density,
|
|
4097
4282
|
children: [
|
|
4098
|
-
/* @__PURE__ */
|
|
4283
|
+
/* @__PURE__ */ jsxs28(CardHeader2, {
|
|
4099
4284
|
children: [
|
|
4100
|
-
/* @__PURE__ */
|
|
4285
|
+
/* @__PURE__ */ jsx43(CardTitle2, {
|
|
4101
4286
|
children: title
|
|
4102
4287
|
}),
|
|
4103
|
-
/* @__PURE__ */
|
|
4288
|
+
/* @__PURE__ */ jsx43(CardDescription2, {
|
|
4104
4289
|
children: mode === "reset-password" ? "Enter your email to request a password reset." : "Enter your details to continue."
|
|
4105
4290
|
})
|
|
4106
4291
|
]
|
|
4107
4292
|
}),
|
|
4108
|
-
/* @__PURE__ */
|
|
4109
|
-
children: /* @__PURE__ */
|
|
4293
|
+
/* @__PURE__ */ jsx43(CardContent2, {
|
|
4294
|
+
children: /* @__PURE__ */ jsx43("form", {
|
|
4110
4295
|
onSubmit: submit,
|
|
4111
4296
|
"aria-label": title,
|
|
4112
4297
|
"aria-busy": pending,
|
|
4113
|
-
children: /* @__PURE__ */
|
|
4298
|
+
children: /* @__PURE__ */ jsxs28(FieldGroup2, {
|
|
4114
4299
|
children: [
|
|
4115
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
4300
|
+
mode === "sign-up" && /* @__PURE__ */ jsxs28(Field2, {
|
|
4116
4301
|
children: [
|
|
4117
|
-
/* @__PURE__ */
|
|
4302
|
+
/* @__PURE__ */ jsx43(FieldLabel2, {
|
|
4118
4303
|
htmlFor: id + "-name",
|
|
4119
4304
|
children: "Name"
|
|
4120
4305
|
}),
|
|
4121
|
-
/* @__PURE__ */
|
|
4306
|
+
/* @__PURE__ */ jsx43(Input2, {
|
|
4122
4307
|
id: id + "-name",
|
|
4123
4308
|
name: "name",
|
|
4124
4309
|
autoComplete: "name",
|
|
@@ -4127,13 +4312,13 @@ function AuthForm2({
|
|
|
4127
4312
|
})
|
|
4128
4313
|
]
|
|
4129
4314
|
}),
|
|
4130
|
-
/* @__PURE__ */
|
|
4315
|
+
/* @__PURE__ */ jsxs28(Field2, {
|
|
4131
4316
|
children: [
|
|
4132
|
-
/* @__PURE__ */
|
|
4317
|
+
/* @__PURE__ */ jsx43(FieldLabel2, {
|
|
4133
4318
|
htmlFor: id + "-email",
|
|
4134
4319
|
children: "Email"
|
|
4135
4320
|
}),
|
|
4136
|
-
/* @__PURE__ */
|
|
4321
|
+
/* @__PURE__ */ jsx43(Input2, {
|
|
4137
4322
|
id: id + "-email",
|
|
4138
4323
|
name: "email",
|
|
4139
4324
|
type: "email",
|
|
@@ -4143,13 +4328,13 @@ function AuthForm2({
|
|
|
4143
4328
|
})
|
|
4144
4329
|
]
|
|
4145
4330
|
}),
|
|
4146
|
-
mode !== "reset-password" && /* @__PURE__ */
|
|
4331
|
+
mode !== "reset-password" && /* @__PURE__ */ jsxs28(Field2, {
|
|
4147
4332
|
children: [
|
|
4148
|
-
/* @__PURE__ */
|
|
4333
|
+
/* @__PURE__ */ jsx43(FieldLabel2, {
|
|
4149
4334
|
htmlFor: id + "-password",
|
|
4150
4335
|
children: "Password"
|
|
4151
4336
|
}),
|
|
4152
|
-
/* @__PURE__ */
|
|
4337
|
+
/* @__PURE__ */ jsx43(Input2, {
|
|
4153
4338
|
id: id + "-password",
|
|
4154
4339
|
name: "password",
|
|
4155
4340
|
type: "password",
|
|
@@ -4158,27 +4343,27 @@ function AuthForm2({
|
|
|
4158
4343
|
required: true,
|
|
4159
4344
|
disabled: disabled || pending
|
|
4160
4345
|
}),
|
|
4161
|
-
mode === "sign-up" && /* @__PURE__ */
|
|
4346
|
+
mode === "sign-up" && /* @__PURE__ */ jsx43(FieldDescription2, {
|
|
4162
4347
|
children: "Use at least eight characters."
|
|
4163
4348
|
})
|
|
4164
4349
|
]
|
|
4165
4350
|
}),
|
|
4166
|
-
error && /* @__PURE__ */
|
|
4351
|
+
error && /* @__PURE__ */ jsxs28(Alert2, {
|
|
4167
4352
|
variant: "destructive",
|
|
4168
4353
|
children: [
|
|
4169
|
-
/* @__PURE__ */
|
|
4354
|
+
/* @__PURE__ */ jsx43(AlertTitle2, {
|
|
4170
4355
|
children: "Request failed"
|
|
4171
4356
|
}),
|
|
4172
|
-
/* @__PURE__ */
|
|
4357
|
+
/* @__PURE__ */ jsx43(AlertDescription2, {
|
|
4173
4358
|
children: error
|
|
4174
4359
|
})
|
|
4175
4360
|
]
|
|
4176
4361
|
}),
|
|
4177
|
-
/* @__PURE__ */
|
|
4362
|
+
/* @__PURE__ */ jsxs28(Button2, {
|
|
4178
4363
|
type: "submit",
|
|
4179
4364
|
disabled: disabled || pending,
|
|
4180
4365
|
children: [
|
|
4181
|
-
pending && /* @__PURE__ */
|
|
4366
|
+
pending && /* @__PURE__ */ jsx43(Spinner2, {
|
|
4182
4367
|
"data-icon": "inline-start"
|
|
4183
4368
|
}),
|
|
4184
4369
|
mode === "reset-password" ? "Send reset link" : title
|
|
@@ -4189,14 +4374,14 @@ function AuthForm2({
|
|
|
4189
4374
|
})
|
|
4190
4375
|
})
|
|
4191
4376
|
}),
|
|
4192
|
-
footer && /* @__PURE__ */
|
|
4377
|
+
footer && /* @__PURE__ */ jsx43(CardFooter2, {
|
|
4193
4378
|
children: footer
|
|
4194
4379
|
})
|
|
4195
4380
|
]
|
|
4196
4381
|
});
|
|
4197
4382
|
}
|
|
4198
4383
|
// src/components/SettingsSection.tsx
|
|
4199
|
-
import { jsx as
|
|
4384
|
+
import { jsx as jsx44, jsxs as jsxs29 } from "react/jsx-runtime";
|
|
4200
4385
|
function SettingsSection2({
|
|
4201
4386
|
title,
|
|
4202
4387
|
description,
|
|
@@ -4209,48 +4394,48 @@ function SettingsSection2({
|
|
|
4209
4394
|
destructive = false,
|
|
4210
4395
|
density
|
|
4211
4396
|
}) {
|
|
4212
|
-
return /* @__PURE__ */
|
|
4397
|
+
return /* @__PURE__ */ jsx44("form", {
|
|
4213
4398
|
"aria-label": title,
|
|
4214
4399
|
onSubmit,
|
|
4215
4400
|
"aria-busy": pending,
|
|
4216
|
-
children: /* @__PURE__ */
|
|
4401
|
+
children: /* @__PURE__ */ jsxs29(Card2, {
|
|
4217
4402
|
density,
|
|
4218
4403
|
children: [
|
|
4219
|
-
/* @__PURE__ */
|
|
4404
|
+
/* @__PURE__ */ jsxs29(CardHeader2, {
|
|
4220
4405
|
children: [
|
|
4221
|
-
/* @__PURE__ */
|
|
4406
|
+
/* @__PURE__ */ jsx44(CardTitle2, {
|
|
4222
4407
|
children: title
|
|
4223
4408
|
}),
|
|
4224
|
-
description && /* @__PURE__ */
|
|
4409
|
+
description && /* @__PURE__ */ jsx44(CardDescription2, {
|
|
4225
4410
|
children: description
|
|
4226
4411
|
})
|
|
4227
4412
|
]
|
|
4228
4413
|
}),
|
|
4229
|
-
/* @__PURE__ */
|
|
4230
|
-
children: /* @__PURE__ */
|
|
4414
|
+
/* @__PURE__ */ jsx44(CardContent2, {
|
|
4415
|
+
children: /* @__PURE__ */ jsxs29("fieldset", {
|
|
4231
4416
|
disabled: disabled || pending,
|
|
4232
4417
|
className: "min-w-0 border-0 p-0",
|
|
4233
4418
|
children: [
|
|
4234
|
-
/* @__PURE__ */
|
|
4419
|
+
/* @__PURE__ */ jsx44("legend", {
|
|
4235
4420
|
className: "sr-only",
|
|
4236
4421
|
children: title
|
|
4237
4422
|
}),
|
|
4238
|
-
/* @__PURE__ */
|
|
4423
|
+
/* @__PURE__ */ jsx44(FieldGroup2, {
|
|
4239
4424
|
children
|
|
4240
4425
|
})
|
|
4241
4426
|
]
|
|
4242
4427
|
})
|
|
4243
4428
|
}),
|
|
4244
|
-
/* @__PURE__ */
|
|
4429
|
+
/* @__PURE__ */ jsxs29(CardFooter2, {
|
|
4245
4430
|
className: "flex flex-wrap items-center justify-between gap-control-gap",
|
|
4246
4431
|
children: [
|
|
4247
4432
|
footer,
|
|
4248
|
-
/* @__PURE__ */
|
|
4433
|
+
/* @__PURE__ */ jsxs29(Button2, {
|
|
4249
4434
|
type: "submit",
|
|
4250
4435
|
variant: destructive ? "destructive" : "default",
|
|
4251
4436
|
disabled: disabled || pending,
|
|
4252
4437
|
children: [
|
|
4253
|
-
pending && /* @__PURE__ */
|
|
4438
|
+
pending && /* @__PURE__ */ jsx44(Spinner2, {
|
|
4254
4439
|
"data-icon": "inline-start"
|
|
4255
4440
|
}),
|
|
4256
4441
|
saveLabel
|
|
@@ -4263,7 +4448,7 @@ function SettingsSection2({
|
|
|
4263
4448
|
});
|
|
4264
4449
|
}
|
|
4265
4450
|
// src/components/TagInput.tsx
|
|
4266
|
-
import { jsx as
|
|
4451
|
+
import { jsx as jsx45, jsxs as jsxs30 } from "react/jsx-runtime";
|
|
4267
4452
|
function TagInput2({
|
|
4268
4453
|
label,
|
|
4269
4454
|
options,
|
|
@@ -4276,7 +4461,7 @@ function TagInput2({
|
|
|
4276
4461
|
density
|
|
4277
4462
|
}) {
|
|
4278
4463
|
const anchor = useComboboxAnchor2();
|
|
4279
|
-
return /* @__PURE__ */
|
|
4464
|
+
return /* @__PURE__ */ jsxs30(Combobox2, {
|
|
4280
4465
|
items: options,
|
|
4281
4466
|
multiple: true,
|
|
4282
4467
|
value,
|
|
@@ -4285,33 +4470,33 @@ function TagInput2({
|
|
|
4285
4470
|
disabled,
|
|
4286
4471
|
name,
|
|
4287
4472
|
children: [
|
|
4288
|
-
/* @__PURE__ */
|
|
4473
|
+
/* @__PURE__ */ jsxs30(ComboboxChips2, {
|
|
4289
4474
|
ref: anchor,
|
|
4290
4475
|
density,
|
|
4291
4476
|
children: [
|
|
4292
|
-
/* @__PURE__ */
|
|
4293
|
-
children: (values) => values.map((item) => /* @__PURE__ */
|
|
4477
|
+
/* @__PURE__ */ jsx45(ComboboxValue2, {
|
|
4478
|
+
children: (values) => values.map((item) => /* @__PURE__ */ jsx45(ComboboxChip2, {
|
|
4294
4479
|
removeLabel: `Remove ${item}`,
|
|
4295
4480
|
children: item
|
|
4296
4481
|
}, item))
|
|
4297
4482
|
}),
|
|
4298
|
-
/* @__PURE__ */
|
|
4483
|
+
/* @__PURE__ */ jsx45(ComboboxChipsInput2, {
|
|
4299
4484
|
"aria-label": label,
|
|
4300
4485
|
placeholder
|
|
4301
4486
|
})
|
|
4302
4487
|
]
|
|
4303
4488
|
}),
|
|
4304
|
-
/* @__PURE__ */
|
|
4489
|
+
/* @__PURE__ */ jsxs30(ComboboxContent2, {
|
|
4305
4490
|
anchor,
|
|
4306
4491
|
density,
|
|
4307
4492
|
children: [
|
|
4308
|
-
/* @__PURE__ */
|
|
4493
|
+
/* @__PURE__ */ jsx45(ComboboxEmpty2, {
|
|
4309
4494
|
children: "No matching tags."
|
|
4310
4495
|
}),
|
|
4311
|
-
/* @__PURE__ */
|
|
4312
|
-
children: /* @__PURE__ */
|
|
4313
|
-
children: /* @__PURE__ */
|
|
4314
|
-
children: (item) => /* @__PURE__ */
|
|
4496
|
+
/* @__PURE__ */ jsx45(ComboboxList2, {
|
|
4497
|
+
children: /* @__PURE__ */ jsx45(ComboboxGroup2, {
|
|
4498
|
+
children: /* @__PURE__ */ jsx45(ComboboxCollection2, {
|
|
4499
|
+
children: (item) => /* @__PURE__ */ jsx45(ComboboxItem2, {
|
|
4315
4500
|
value: item,
|
|
4316
4501
|
children: item
|
|
4317
4502
|
}, item)
|
|
@@ -4324,7 +4509,7 @@ function TagInput2({
|
|
|
4324
4509
|
});
|
|
4325
4510
|
}
|
|
4326
4511
|
// src/components/FilterBar.tsx
|
|
4327
|
-
import { jsx as
|
|
4512
|
+
import { jsx as jsx46, jsxs as jsxs31 } from "react/jsx-runtime";
|
|
4328
4513
|
function FilterBar2({
|
|
4329
4514
|
label,
|
|
4330
4515
|
search,
|
|
@@ -4335,26 +4520,26 @@ function FilterBar2({
|
|
|
4335
4520
|
disabled,
|
|
4336
4521
|
density
|
|
4337
4522
|
}) {
|
|
4338
|
-
return /* @__PURE__ */
|
|
4523
|
+
return /* @__PURE__ */ jsxs31("fieldset", {
|
|
4339
4524
|
"aria-label": label,
|
|
4340
4525
|
disabled,
|
|
4341
4526
|
"data-density": density,
|
|
4342
4527
|
className: "flex min-w-0 flex-wrap items-center gap-2",
|
|
4343
4528
|
children: [
|
|
4344
|
-
/* @__PURE__ */
|
|
4529
|
+
/* @__PURE__ */ jsx46(Input2, {
|
|
4345
4530
|
"aria-label": `Search ${label}`,
|
|
4346
4531
|
type: "search",
|
|
4347
4532
|
value: search,
|
|
4348
4533
|
onChange: (event) => onSearchChange(event.target.value),
|
|
4349
4534
|
className: "min-w-40 flex-1"
|
|
4350
4535
|
}),
|
|
4351
|
-
filters.map((filter) => /* @__PURE__ */
|
|
4536
|
+
filters.map((filter) => /* @__PURE__ */ jsx46(OptionSelect2, {
|
|
4352
4537
|
"aria-label": filter.label,
|
|
4353
4538
|
value: value[filter.id] ?? "",
|
|
4354
4539
|
onValueChange: (next) => onValueChange({ ...value, [filter.id]: next }),
|
|
4355
4540
|
options: [{ value: "", label: filter.allLabel ?? `All ${filter.label.toLowerCase()}` }, ...filter.options]
|
|
4356
4541
|
}, filter.id)),
|
|
4357
|
-
/* @__PURE__ */
|
|
4542
|
+
/* @__PURE__ */ jsx46(Button2, {
|
|
4358
4543
|
type: "button",
|
|
4359
4544
|
variant: "ghost",
|
|
4360
4545
|
disabled: !search && !Object.values(value).some(Boolean),
|
|
@@ -4368,7 +4553,7 @@ function FilterBar2({
|
|
|
4368
4553
|
});
|
|
4369
4554
|
}
|
|
4370
4555
|
// src/components/BarList.tsx
|
|
4371
|
-
import { jsx as
|
|
4556
|
+
import { jsx as jsx47, jsxs as jsxs32 } from "react/jsx-runtime";
|
|
4372
4557
|
function BarList2({
|
|
4373
4558
|
label,
|
|
4374
4559
|
items,
|
|
@@ -4377,14 +4562,14 @@ function BarList2({
|
|
|
4377
4562
|
density
|
|
4378
4563
|
}) {
|
|
4379
4564
|
const max = Math.max(1, ...items.map((item) => item.value));
|
|
4380
|
-
return /* @__PURE__ */
|
|
4565
|
+
return /* @__PURE__ */ jsxs32("section", {
|
|
4381
4566
|
"aria-label": label,
|
|
4382
4567
|
"data-density": density,
|
|
4383
4568
|
children: [
|
|
4384
|
-
/* @__PURE__ */
|
|
4569
|
+
/* @__PURE__ */ jsx47("ul", {
|
|
4385
4570
|
className: "grid gap-3",
|
|
4386
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4387
|
-
children: /* @__PURE__ */
|
|
4571
|
+
children: items.map((item) => /* @__PURE__ */ jsx47("li", {
|
|
4572
|
+
children: /* @__PURE__ */ jsxs32(Meter2, {
|
|
4388
4573
|
min: 0,
|
|
4389
4574
|
max,
|
|
4390
4575
|
value: item.value,
|
|
@@ -4392,11 +4577,11 @@ function BarList2({
|
|
|
4392
4577
|
format: { maximumFractionDigits: 2 },
|
|
4393
4578
|
className: "gap-y-1",
|
|
4394
4579
|
children: [
|
|
4395
|
-
/* @__PURE__ */
|
|
4580
|
+
/* @__PURE__ */ jsxs32("div", {
|
|
4396
4581
|
className: "flex w-full items-center justify-between gap-3 text-sm",
|
|
4397
4582
|
children: [
|
|
4398
|
-
/* @__PURE__ */
|
|
4399
|
-
children: onItemSelect ? /* @__PURE__ */
|
|
4583
|
+
/* @__PURE__ */ jsx47(MeterLabel2, {
|
|
4584
|
+
children: onItemSelect ? /* @__PURE__ */ jsx47(Button2, {
|
|
4400
4585
|
type: "button",
|
|
4401
4586
|
variant: "link",
|
|
4402
4587
|
className: "h-auto p-0",
|
|
@@ -4404,19 +4589,19 @@ function BarList2({
|
|
|
4404
4589
|
children: item.label
|
|
4405
4590
|
}) : item.label
|
|
4406
4591
|
}),
|
|
4407
|
-
/* @__PURE__ */
|
|
4592
|
+
/* @__PURE__ */ jsx47(MeterValue2, {
|
|
4408
4593
|
children: () => valueFormatter(item.value)
|
|
4409
4594
|
})
|
|
4410
4595
|
]
|
|
4411
4596
|
}),
|
|
4412
|
-
/* @__PURE__ */
|
|
4413
|
-
children: /* @__PURE__ */
|
|
4597
|
+
/* @__PURE__ */ jsx47(MeterTrack2, {
|
|
4598
|
+
children: /* @__PURE__ */ jsx47(MeterIndicator2, {})
|
|
4414
4599
|
})
|
|
4415
4600
|
]
|
|
4416
4601
|
})
|
|
4417
4602
|
}, item.id))
|
|
4418
4603
|
}),
|
|
4419
|
-
!items.length && /* @__PURE__ */
|
|
4604
|
+
!items.length && /* @__PURE__ */ jsx47("p", {
|
|
4420
4605
|
role: "status",
|
|
4421
4606
|
className: "text-sm text-muted-foreground",
|
|
4422
4607
|
children: "No data available."
|
|
@@ -4425,23 +4610,23 @@ function BarList2({
|
|
|
4425
4610
|
});
|
|
4426
4611
|
}
|
|
4427
4612
|
// src/components/StatusTracker.tsx
|
|
4428
|
-
import { jsx as
|
|
4613
|
+
import { jsx as jsx48, jsxs as jsxs33 } from "react/jsx-runtime";
|
|
4429
4614
|
var statusClasses = { success: "bg-success", warning: "bg-warning", error: "bg-destructive", unknown: "bg-muted" };
|
|
4430
4615
|
function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
4431
|
-
return /* @__PURE__ */
|
|
4432
|
-
children: /* @__PURE__ */
|
|
4616
|
+
return /* @__PURE__ */ jsx48(TooltipProvider2, {
|
|
4617
|
+
children: /* @__PURE__ */ jsx48("div", {
|
|
4433
4618
|
role: "group",
|
|
4434
4619
|
"aria-label": label,
|
|
4435
4620
|
"data-density": density,
|
|
4436
4621
|
className: "flex min-w-0 gap-1",
|
|
4437
|
-
children: items.map((item) => /* @__PURE__ */
|
|
4622
|
+
children: items.map((item) => /* @__PURE__ */ jsxs33(Tooltip2, {
|
|
4438
4623
|
children: [
|
|
4439
|
-
/* @__PURE__ */
|
|
4624
|
+
/* @__PURE__ */ jsx48(TooltipTrigger2, {
|
|
4440
4625
|
"aria-label": `${item.label}: ${item.status}`,
|
|
4441
4626
|
onClick: () => onItemSelect?.(item),
|
|
4442
4627
|
className: cn2("h-8 min-w-2 flex-1 rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", statusClasses[item.status])
|
|
4443
4628
|
}),
|
|
4444
|
-
/* @__PURE__ */
|
|
4629
|
+
/* @__PURE__ */ jsxs33(TooltipContent2, {
|
|
4445
4630
|
children: [
|
|
4446
4631
|
item.label,
|
|
4447
4632
|
": ",
|
|
@@ -4454,7 +4639,7 @@ function StatusTracker2({ label, items, onItemSelect, density }) {
|
|
|
4454
4639
|
});
|
|
4455
4640
|
}
|
|
4456
4641
|
// src/components/DashboardLayout.tsx
|
|
4457
|
-
import { jsx as
|
|
4642
|
+
import { jsx as jsx49, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
4458
4643
|
function DashboardLayout2({
|
|
4459
4644
|
title,
|
|
4460
4645
|
description,
|
|
@@ -4465,24 +4650,24 @@ function DashboardLayout2({
|
|
|
4465
4650
|
footer,
|
|
4466
4651
|
density
|
|
4467
4652
|
}) {
|
|
4468
|
-
return /* @__PURE__ */
|
|
4653
|
+
return /* @__PURE__ */ jsxs34("div", {
|
|
4469
4654
|
"data-density": density,
|
|
4470
4655
|
"data-scroll": "none",
|
|
4471
4656
|
className: "grid min-w-0 gap-6",
|
|
4472
4657
|
children: [
|
|
4473
|
-
/* @__PURE__ */
|
|
4658
|
+
/* @__PURE__ */ jsx49(PageHeader2, {
|
|
4474
4659
|
title,
|
|
4475
4660
|
description,
|
|
4476
4661
|
actions
|
|
4477
4662
|
}),
|
|
4478
4663
|
filters,
|
|
4479
|
-
stats.length > 0 && /* @__PURE__ */
|
|
4664
|
+
stats.length > 0 && /* @__PURE__ */ jsx49("div", {
|
|
4480
4665
|
className: "grid gap-4 sm:grid-cols-2 xl:grid-cols-4",
|
|
4481
|
-
children: stats.map(({ id, ...stat }) => /* @__PURE__ */
|
|
4666
|
+
children: stats.map(({ id, ...stat }) => /* @__PURE__ */ jsx49(StatCard2, {
|
|
4482
4667
|
...stat
|
|
4483
4668
|
}, id))
|
|
4484
4669
|
}),
|
|
4485
|
-
/* @__PURE__ */
|
|
4670
|
+
/* @__PURE__ */ jsx49("div", {
|
|
4486
4671
|
className: "grid min-w-0 gap-4",
|
|
4487
4672
|
children
|
|
4488
4673
|
}),
|
|
@@ -4491,18 +4676,18 @@ function DashboardLayout2({
|
|
|
4491
4676
|
});
|
|
4492
4677
|
}
|
|
4493
4678
|
// src/components/BillingUsage.tsx
|
|
4494
|
-
import { jsx as
|
|
4679
|
+
import { jsx as jsx50, jsxs as jsxs35 } from "react/jsx-runtime";
|
|
4495
4680
|
function BillingUsage2({ plan, price, period, metrics, onManage, pending, density }) {
|
|
4496
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsxs35(Card2, {
|
|
4497
4682
|
density,
|
|
4498
4683
|
"aria-label": "Billing and usage",
|
|
4499
4684
|
children: [
|
|
4500
|
-
/* @__PURE__ */
|
|
4685
|
+
/* @__PURE__ */ jsxs35(CardHeader2, {
|
|
4501
4686
|
children: [
|
|
4502
|
-
/* @__PURE__ */
|
|
4687
|
+
/* @__PURE__ */ jsx50(CardTitle2, {
|
|
4503
4688
|
children: plan
|
|
4504
4689
|
}),
|
|
4505
|
-
/* @__PURE__ */
|
|
4690
|
+
/* @__PURE__ */ jsxs35(CardDescription2, {
|
|
4506
4691
|
children: [
|
|
4507
4692
|
price,
|
|
4508
4693
|
" · ",
|
|
@@ -4511,32 +4696,32 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
4511
4696
|
})
|
|
4512
4697
|
]
|
|
4513
4698
|
}),
|
|
4514
|
-
/* @__PURE__ */
|
|
4699
|
+
/* @__PURE__ */ jsx50(CardContent2, {
|
|
4515
4700
|
className: "grid gap-4",
|
|
4516
|
-
children: metrics.map((metric) => /* @__PURE__ */
|
|
4701
|
+
children: metrics.map((metric) => /* @__PURE__ */ jsxs35(Meter2, {
|
|
4517
4702
|
value: metric.used,
|
|
4518
4703
|
max: metric.limit,
|
|
4519
4704
|
"aria-label": metric.label,
|
|
4520
4705
|
children: [
|
|
4521
|
-
/* @__PURE__ */
|
|
4706
|
+
/* @__PURE__ */ jsxs35("div", {
|
|
4522
4707
|
className: "mb-2 flex items-center justify-between gap-3 text-sm",
|
|
4523
4708
|
children: [
|
|
4524
|
-
/* @__PURE__ */
|
|
4709
|
+
/* @__PURE__ */ jsx50(MeterLabel2, {
|
|
4525
4710
|
children: metric.label
|
|
4526
4711
|
}),
|
|
4527
|
-
/* @__PURE__ */
|
|
4712
|
+
/* @__PURE__ */ jsx50(MeterValue2, {
|
|
4528
4713
|
children: () => `${metric.used.toLocaleString()} / ${metric.limit.toLocaleString()}${metric.unit ? ` ${metric.unit}` : ""}`
|
|
4529
4714
|
})
|
|
4530
4715
|
]
|
|
4531
4716
|
}),
|
|
4532
|
-
/* @__PURE__ */
|
|
4533
|
-
children: /* @__PURE__ */
|
|
4717
|
+
/* @__PURE__ */ jsx50(MeterTrack2, {
|
|
4718
|
+
children: /* @__PURE__ */ jsx50(MeterIndicator2, {})
|
|
4534
4719
|
})
|
|
4535
4720
|
]
|
|
4536
4721
|
}, metric.id))
|
|
4537
4722
|
}),
|
|
4538
|
-
/* @__PURE__ */
|
|
4539
|
-
children: /* @__PURE__ */
|
|
4723
|
+
/* @__PURE__ */ jsx50(CardFooter2, {
|
|
4724
|
+
children: /* @__PURE__ */ jsx50(Button2, {
|
|
4540
4725
|
type: "button",
|
|
4541
4726
|
variant: "outline",
|
|
4542
4727
|
onClick: onManage,
|
|
@@ -4547,4 +4732,4 @@ function BillingUsage2({ plan, price, period, metrics, onManage, pending, densit
|
|
|
4547
4732
|
]
|
|
4548
4733
|
});
|
|
4549
4734
|
}
|
|
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 };
|
|
4735
|
+
export { ButtonLink2, ContextMenu2, ContextMenuPortal2, ContextMenuTrigger2, ContextMenuContent2, ActionsMenu2, ActionsMenuTrigger2, ActionsMenuContextTarget2, ActionsMenuContextContent2, FormDialog2, Accordion2, AccordionItem2, AccordionTrigger2, AccordionContent2, OptionCardGroup2, OptionCard2, EmptyState3, PageMessage2, formatDataLabel2, DataViewer2, JsonViewer2, AlertDialog2, AlertDialogTrigger2, AlertDialogPortal2, AlertDialogOverlay2, AlertDialogContent2, AlertDialogHeader2, AlertDialogFooter2, AlertDialogMedia2, AlertDialogTitle2, AlertDialogDescription2, AlertDialogAction2, AlertDialogCancel2, DensityProvider2, collectLayoutViolations2, LayoutGuard2, ScrollGuard2, ThemeProvider2, AspectRatio2, Breadcrumb2, BreadcrumbList2, BreadcrumbItem2, BreadcrumbLink2, BreadcrumbPage2, BreadcrumbSeparator2, BreadcrumbEllipsis2, buttonGroupVariants2, ButtonGroup2, ButtonGroupText2, ButtonGroupSeparator2, ItemGroup2, ItemSeparator2, Item2, ItemMedia2, ItemContent2, ItemTitle2, ItemDescription2, ItemActions2, ItemHeader2, ItemFooter2, Pagination2, PaginationContent2, PaginationItem2, PaginationLink2, PaginationPrevious2, PaginationNext2, PaginationEllipsis2, Drawer2, DrawerTrigger2, DrawerPortal2, DrawerClose2, DrawerOverlay2, DrawerSwipeHandle2, DrawerContent2, DrawerHeader2, DrawerFooter2, DrawerTitle2, DrawerDescription2, Menubar2, MenubarMenu2, MenubarGroup2, MenubarPortal2, MenubarTrigger2, MenubarContent2, MenubarItem2, MenubarCheckboxItem2, MenubarRadioGroup2, MenubarRadioItem2, MenubarLabel2, MenubarSeparator2, MenubarShortcut2, MenubarSub2, MenubarSubTrigger2, MenubarSubContent2, NavigationMenu2, NavigationMenuList2, NavigationMenuItem2, navigationMenuTriggerStyle2, NavigationMenuTrigger2, NavigationMenuContent2, NavigationMenuPositioner2, NavigationMenuLink2, NavigationMenuIndicator2, ToastProvider2, ToastPortal2, ToastViewport2, Toast2, ToastContent2, ToastTitle2, ToastDescription2, ToastAction2, ToastClose2, ToastToaster2, createToastManager2, useToastManager2, markerVariants2, Marker2, MarkerIcon2, MarkerContent2, BubbleGroup2, Bubble2, BubbleContent2, BubbleReactions2, MessageGroup2, Message2, MessageAvatar2, MessageContent2, MessageHeader2, MessageFooter2, Attachment2, AttachmentMedia2, AttachmentContent2, AttachmentTitle2, AttachmentDescription2, AttachmentActions2, AttachmentAction2, AttachmentTrigger2, AttachmentGroup2, InlineEdit2, StarRating2, ReviewList2, ConfirmationDialog2, ImagePicker2, Meter2, MeterLabel2, MeterValue2, MeterTrack2, MeterIndicator2, ToolbarToggleChip2, Stepper2, StepperList2, StepperTrigger2, StepperIndicator2, StepperContent2, AppShell2, Stack2, Grid2, GridItem2, Container2, Text2, Heading2, WeatherSummary2, WeatherForecast2, PageHeader2, PageIntro2, WorkspaceSwitcher2, AccountMenu2, StatCard2, AuthForm2, SettingsSection2, TagInput2, FilterBar2, BarList2, StatusTracker2, DashboardLayout2, BillingUsage2 };
|