@dilipod/ui 0.4.17 → 0.4.19
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/components/scenarios-manager.d.ts +3 -1
- package/dist/components/scenarios-manager.d.ts.map +1 -1
- package/dist/components/slider.d.ts +18 -0
- package/dist/components/slider.d.ts.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +324 -240
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +282 -201
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -17
- package/src/components/scenarios-manager.tsx +112 -86
- package/src/components/slider.tsx +101 -0
- package/src/index.ts +3 -0
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import * as
|
|
2
|
+
import * as React51 from 'react';
|
|
3
3
|
import { lazy, useMemo, useState, useRef, Suspense } from 'react';
|
|
4
4
|
import { MarkerType, useNodesState, useEdgesState, ReactFlow, Background, Handle, Position } from '@xyflow/react';
|
|
5
5
|
import '@xyflow/react/dist/style.css';
|
|
@@ -10,9 +10,10 @@ import { clsx } from 'clsx';
|
|
|
10
10
|
import { twMerge } from 'tailwind-merge';
|
|
11
11
|
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
12
12
|
import * as react_star from '@phosphor-icons/react';
|
|
13
|
-
import { X, CaretDown, Circle, CaretLeft, DotsThree, CaretRight, Check, House, Info, WarningCircle, Play, Download, Folder, ArrowSquareOut, CircleNotch, File, FileVideo, Lightning,
|
|
13
|
+
import { X, CaretDown, Circle, CaretLeft, DotsThree, CaretRight, Check, House, Info, WarningCircle, Play, Download, Folder, ArrowSquareOut, CircleNotch, File, FileVideo, Lightning, CheckCircle, CaretUp, Plus, PaperPlaneTilt, Eye, TreeStructure, Code, PencilSimple, WebhooksLogo, Copy, CloudArrowUp, CloudArrowDown, ArrowsClockwise, DownloadSimple, ClockCounterClockwise, ArrowsLeftRight, Minus, Pencil, FileImage, FilePdf, FileDoc, Question, Warning, Trash, Robot, Globe, GitBranch, Package, Timer } from '@phosphor-icons/react';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
16
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
16
17
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
17
18
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
18
19
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
@@ -396,6 +397,7 @@ __export(index_exports, {
|
|
|
396
397
|
ImpactMetricsForm: () => ImpactMetricsForm,
|
|
397
398
|
Input: () => Input,
|
|
398
399
|
Label: () => Label2,
|
|
400
|
+
LabeledSlider: () => LabeledSlider,
|
|
399
401
|
LabeledSwitch: () => LabeledSwitch,
|
|
400
402
|
Logo: () => Logo,
|
|
401
403
|
Metric: () => Metric,
|
|
@@ -444,6 +446,7 @@ __export(index_exports, {
|
|
|
444
446
|
Skeleton: () => Skeleton,
|
|
445
447
|
SkeletonCard: () => SkeletonCard,
|
|
446
448
|
SkeletonText: () => SkeletonText,
|
|
449
|
+
Slider: () => Slider,
|
|
447
450
|
Stat: () => Stat,
|
|
448
451
|
StepDots: () => StepDots,
|
|
449
452
|
StepProgress: () => StepProgress,
|
|
@@ -527,7 +530,7 @@ var buttonVariants = cva(
|
|
|
527
530
|
}
|
|
528
531
|
}
|
|
529
532
|
);
|
|
530
|
-
var Button =
|
|
533
|
+
var Button = React51.forwardRef(
|
|
531
534
|
({ className, variant, size, asChild = false, loading, loadingText, icon, iconAfter, children, disabled, ...props }, ref) => {
|
|
532
535
|
const Comp = asChild ? Slot : "button";
|
|
533
536
|
const isDisabled = disabled || loading;
|
|
@@ -599,7 +602,7 @@ var Sheet = SheetPrimitive.Root;
|
|
|
599
602
|
var SheetTrigger = SheetPrimitive.Trigger;
|
|
600
603
|
var SheetClose = SheetPrimitive.Close;
|
|
601
604
|
var SheetPortal = SheetPrimitive.Portal;
|
|
602
|
-
var SheetOverlay =
|
|
605
|
+
var SheetOverlay = React51.forwardRef(({ className, ...props }, ref) => (
|
|
603
606
|
// @ts-ignore - Radix Dialog Overlay accepts className at runtime
|
|
604
607
|
/* @__PURE__ */ jsx(
|
|
605
608
|
SheetPrimitive.Overlay,
|
|
@@ -630,7 +633,7 @@ var sheetVariants = cva(
|
|
|
630
633
|
}
|
|
631
634
|
}
|
|
632
635
|
);
|
|
633
|
-
var SheetContent =
|
|
636
|
+
var SheetContent = React51.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
634
637
|
/* @__PURE__ */ jsx(SheetOverlay, {}),
|
|
635
638
|
/* @__PURE__ */ jsxs(
|
|
636
639
|
SheetPrimitive.Content,
|
|
@@ -677,7 +680,7 @@ var SheetFooter = ({
|
|
|
677
680
|
}
|
|
678
681
|
);
|
|
679
682
|
SheetFooter.displayName = "SheetFooter";
|
|
680
|
-
var SheetTitle =
|
|
683
|
+
var SheetTitle = React51.forwardRef(({ className, ...props }, ref) => (
|
|
681
684
|
// @ts-ignore - Radix Dialog Title accepts className at runtime
|
|
682
685
|
/* @__PURE__ */ jsx(
|
|
683
686
|
SheetPrimitive.Title,
|
|
@@ -689,7 +692,7 @@ var SheetTitle = React50.forwardRef(({ className, ...props }, ref) => (
|
|
|
689
692
|
)
|
|
690
693
|
));
|
|
691
694
|
SheetTitle.displayName = SheetPrimitive.Title.displayName;
|
|
692
|
-
var SheetDescription =
|
|
695
|
+
var SheetDescription = React51.forwardRef(({ className, ...props }, ref) => (
|
|
693
696
|
// @ts-ignore - Radix Dialog Description accepts className at runtime
|
|
694
697
|
/* @__PURE__ */ jsx(
|
|
695
698
|
SheetPrimitive.Description,
|
|
@@ -789,7 +792,7 @@ var badgeVariants = cva(
|
|
|
789
792
|
}
|
|
790
793
|
}
|
|
791
794
|
);
|
|
792
|
-
var Badge =
|
|
795
|
+
var Badge = React51.forwardRef(
|
|
793
796
|
({ className, variant, size, pulse, pulseColor: pulseColorProp, children, ...props }, ref) => {
|
|
794
797
|
const getPulseColorClass = () => {
|
|
795
798
|
const color = pulseColorProp || variant || "default";
|
|
@@ -843,7 +846,7 @@ var Badge = React50.forwardRef(
|
|
|
843
846
|
}
|
|
844
847
|
);
|
|
845
848
|
Badge.displayName = "Badge";
|
|
846
|
-
var Card =
|
|
849
|
+
var Card = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
847
850
|
"div",
|
|
848
851
|
{
|
|
849
852
|
ref,
|
|
@@ -855,7 +858,7 @@ var Card = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
855
858
|
}
|
|
856
859
|
));
|
|
857
860
|
Card.displayName = "Card";
|
|
858
|
-
var CardHeader =
|
|
861
|
+
var CardHeader = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
859
862
|
"div",
|
|
860
863
|
{
|
|
861
864
|
ref,
|
|
@@ -864,7 +867,7 @@ var CardHeader = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
864
867
|
}
|
|
865
868
|
));
|
|
866
869
|
CardHeader.displayName = "CardHeader";
|
|
867
|
-
var CardTitle =
|
|
870
|
+
var CardTitle = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
868
871
|
"h3",
|
|
869
872
|
{
|
|
870
873
|
ref,
|
|
@@ -876,7 +879,7 @@ var CardTitle = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
876
879
|
}
|
|
877
880
|
));
|
|
878
881
|
CardTitle.displayName = "CardTitle";
|
|
879
|
-
var CardDescription =
|
|
882
|
+
var CardDescription = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
880
883
|
"p",
|
|
881
884
|
{
|
|
882
885
|
ref,
|
|
@@ -885,9 +888,9 @@ var CardDescription = React50.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
885
888
|
}
|
|
886
889
|
));
|
|
887
890
|
CardDescription.displayName = "CardDescription";
|
|
888
|
-
var CardContent =
|
|
891
|
+
var CardContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
889
892
|
CardContent.displayName = "CardContent";
|
|
890
|
-
var CardFooter =
|
|
893
|
+
var CardFooter = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
891
894
|
"div",
|
|
892
895
|
{
|
|
893
896
|
ref,
|
|
@@ -910,7 +913,7 @@ var progressVariants = cva("h-full rounded-full transition-all duration-300", {
|
|
|
910
913
|
variant: "default"
|
|
911
914
|
}
|
|
912
915
|
});
|
|
913
|
-
var Progress =
|
|
916
|
+
var Progress = React51.forwardRef(
|
|
914
917
|
({ className, value, variant, showLabel, label = "Progress", size = "default", ...props }, ref) => {
|
|
915
918
|
const clampedValue = Math.min(100, Math.max(0, value));
|
|
916
919
|
const heightClass = {
|
|
@@ -977,7 +980,7 @@ var iconBoxVariants = cva(
|
|
|
977
980
|
}
|
|
978
981
|
}
|
|
979
982
|
);
|
|
980
|
-
var IconBox =
|
|
983
|
+
var IconBox = React51.forwardRef(
|
|
981
984
|
({ className, variant, size, rounded, children, ...props }, ref) => {
|
|
982
985
|
return /* @__PURE__ */ jsx(
|
|
983
986
|
"div",
|
|
@@ -1013,7 +1016,7 @@ var tagVariants = cva(
|
|
|
1013
1016
|
}
|
|
1014
1017
|
}
|
|
1015
1018
|
);
|
|
1016
|
-
var Tag =
|
|
1019
|
+
var Tag = React51.forwardRef(
|
|
1017
1020
|
({ className, variant, size, icon, children, ...props }, ref) => {
|
|
1018
1021
|
return /* @__PURE__ */ jsxs(
|
|
1019
1022
|
"span",
|
|
@@ -1067,7 +1070,7 @@ var valueVariants = cva("font-bold", {
|
|
|
1067
1070
|
color: "default"
|
|
1068
1071
|
}
|
|
1069
1072
|
});
|
|
1070
|
-
var Stat =
|
|
1073
|
+
var Stat = React51.forwardRef(
|
|
1071
1074
|
({
|
|
1072
1075
|
className,
|
|
1073
1076
|
variant,
|
|
@@ -1149,7 +1152,7 @@ var iconVariants = cva("h-5 w-5", {
|
|
|
1149
1152
|
color: "cyan"
|
|
1150
1153
|
}
|
|
1151
1154
|
});
|
|
1152
|
-
var MetricCard =
|
|
1155
|
+
var MetricCard = React51.forwardRef(
|
|
1153
1156
|
({
|
|
1154
1157
|
className,
|
|
1155
1158
|
variant,
|
|
@@ -1182,7 +1185,7 @@ var MetricCard = React50.forwardRef(
|
|
|
1182
1185
|
}
|
|
1183
1186
|
);
|
|
1184
1187
|
MetricCard.displayName = "MetricCard";
|
|
1185
|
-
var MetricLabel =
|
|
1188
|
+
var MetricLabel = React51.forwardRef(
|
|
1186
1189
|
({ className, children, ...props }, ref) => {
|
|
1187
1190
|
return /* @__PURE__ */ jsx(
|
|
1188
1191
|
"p",
|
|
@@ -1199,7 +1202,7 @@ var MetricLabel = React50.forwardRef(
|
|
|
1199
1202
|
}
|
|
1200
1203
|
);
|
|
1201
1204
|
MetricLabel.displayName = "MetricLabel";
|
|
1202
|
-
var MetricValue =
|
|
1205
|
+
var MetricValue = React51.forwardRef(
|
|
1203
1206
|
({ className, children, size = "default", highlight = false, ...props }, ref) => {
|
|
1204
1207
|
return /* @__PURE__ */ jsx(
|
|
1205
1208
|
"p",
|
|
@@ -1220,7 +1223,7 @@ var MetricValue = React50.forwardRef(
|
|
|
1220
1223
|
}
|
|
1221
1224
|
);
|
|
1222
1225
|
MetricValue.displayName = "MetricValue";
|
|
1223
|
-
var MetricSubtext =
|
|
1226
|
+
var MetricSubtext = React51.forwardRef(
|
|
1224
1227
|
({ className, children, ...props }, ref) => {
|
|
1225
1228
|
return /* @__PURE__ */ jsx(
|
|
1226
1229
|
"p",
|
|
@@ -1237,7 +1240,7 @@ var MetricSubtext = React50.forwardRef(
|
|
|
1237
1240
|
}
|
|
1238
1241
|
);
|
|
1239
1242
|
MetricSubtext.displayName = "MetricSubtext";
|
|
1240
|
-
var Metric =
|
|
1243
|
+
var Metric = React51.forwardRef(
|
|
1241
1244
|
({ className, children, ...props }, ref) => {
|
|
1242
1245
|
return /* @__PURE__ */ jsx(
|
|
1243
1246
|
"div",
|
|
@@ -1277,7 +1280,7 @@ var progressColorVariants = cva("", {
|
|
|
1277
1280
|
color: "cyan"
|
|
1278
1281
|
}
|
|
1279
1282
|
});
|
|
1280
|
-
var UsageBar =
|
|
1283
|
+
var UsageBar = React51.forwardRef(
|
|
1281
1284
|
({
|
|
1282
1285
|
className,
|
|
1283
1286
|
size,
|
|
@@ -1349,7 +1352,7 @@ var UsageBar = React50.forwardRef(
|
|
|
1349
1352
|
}
|
|
1350
1353
|
);
|
|
1351
1354
|
UsageBar.displayName = "UsageBar";
|
|
1352
|
-
var UsageChart =
|
|
1355
|
+
var UsageChart = React51.forwardRef(
|
|
1353
1356
|
({
|
|
1354
1357
|
className,
|
|
1355
1358
|
data,
|
|
@@ -1360,8 +1363,8 @@ var UsageChart = React50.forwardRef(
|
|
|
1360
1363
|
formatValue = (v) => v.toLocaleString(),
|
|
1361
1364
|
...props
|
|
1362
1365
|
}, ref) => {
|
|
1363
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
1364
|
-
const maxValue =
|
|
1366
|
+
const [hoveredIndex, setHoveredIndex] = React51.useState(null);
|
|
1367
|
+
const maxValue = React51.useMemo(() => {
|
|
1365
1368
|
return Math.max(
|
|
1366
1369
|
...data.map((d) => d.value + (d.secondaryValue || 0)),
|
|
1367
1370
|
1
|
|
@@ -1488,7 +1491,7 @@ var UsageChart = React50.forwardRef(
|
|
|
1488
1491
|
}
|
|
1489
1492
|
);
|
|
1490
1493
|
UsageChart.displayName = "UsageChart";
|
|
1491
|
-
var Input =
|
|
1494
|
+
var Input = React51.forwardRef(
|
|
1492
1495
|
({ className, type, error, ...props }, ref) => {
|
|
1493
1496
|
return /* @__PURE__ */ jsx(
|
|
1494
1497
|
"input",
|
|
@@ -1528,7 +1531,7 @@ var NODES = [
|
|
|
1528
1531
|
];
|
|
1529
1532
|
var Primitive = NODES.reduce((primitive, node) => {
|
|
1530
1533
|
const Slot2 = createSlot(`Primitive.${node}`);
|
|
1531
|
-
const Node2 =
|
|
1534
|
+
const Node2 = React51.forwardRef((props, forwardedRef) => {
|
|
1532
1535
|
const { asChild, ...primitiveProps } = props;
|
|
1533
1536
|
const Comp = asChild ? Slot2 : node;
|
|
1534
1537
|
if (typeof window !== "undefined") {
|
|
@@ -1540,7 +1543,7 @@ var Primitive = NODES.reduce((primitive, node) => {
|
|
|
1540
1543
|
return { ...primitive, [node]: Node2 };
|
|
1541
1544
|
}, {});
|
|
1542
1545
|
var NAME = "Label";
|
|
1543
|
-
var Label =
|
|
1546
|
+
var Label = React51.forwardRef((props, forwardedRef) => {
|
|
1544
1547
|
return /* @__PURE__ */ jsx(
|
|
1545
1548
|
Primitive.label,
|
|
1546
1549
|
{
|
|
@@ -1560,7 +1563,7 @@ var Root2 = Label;
|
|
|
1560
1563
|
var labelVariants = cva(
|
|
1561
1564
|
"text-sm font-medium leading-none text-[var(--black)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
1562
1565
|
);
|
|
1563
|
-
var Label2 =
|
|
1566
|
+
var Label2 = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1564
1567
|
Root2,
|
|
1565
1568
|
{
|
|
1566
1569
|
ref,
|
|
@@ -1569,7 +1572,7 @@ var Label2 = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
1569
1572
|
}
|
|
1570
1573
|
));
|
|
1571
1574
|
Label2.displayName = Root2.displayName;
|
|
1572
|
-
var Textarea =
|
|
1575
|
+
var Textarea = React51.forwardRef(
|
|
1573
1576
|
({ className, error, ...props }, ref) => {
|
|
1574
1577
|
return /* @__PURE__ */ jsx(
|
|
1575
1578
|
"textarea",
|
|
@@ -1587,7 +1590,7 @@ var Textarea = React50.forwardRef(
|
|
|
1587
1590
|
}
|
|
1588
1591
|
);
|
|
1589
1592
|
Textarea.displayName = "Textarea";
|
|
1590
|
-
var Select =
|
|
1593
|
+
var Select = React51.forwardRef(
|
|
1591
1594
|
({ className, error, children, ...props }, ref) => {
|
|
1592
1595
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
1593
1596
|
/* @__PURE__ */ jsx(
|
|
@@ -1623,7 +1626,7 @@ Select.displayName = "Select";
|
|
|
1623
1626
|
// src/icons.ts
|
|
1624
1627
|
var icons_exports = {};
|
|
1625
1628
|
__reExport(icons_exports, react_star);
|
|
1626
|
-
var Checkbox =
|
|
1629
|
+
var Checkbox = React51.forwardRef(
|
|
1627
1630
|
({ className, checked, onCheckedChange, ...props }, ref) => {
|
|
1628
1631
|
return /* @__PURE__ */ jsxs("label", { className: "relative inline-flex items-center cursor-pointer", children: [
|
|
1629
1632
|
/* @__PURE__ */ jsx(
|
|
@@ -1654,7 +1657,7 @@ var Checkbox = React50.forwardRef(
|
|
|
1654
1657
|
}
|
|
1655
1658
|
);
|
|
1656
1659
|
Checkbox.displayName = "Checkbox";
|
|
1657
|
-
var Switch =
|
|
1660
|
+
var Switch = React51.forwardRef(({ className, size = "default", ...props }, ref) => {
|
|
1658
1661
|
const sizeStyles = {
|
|
1659
1662
|
sm: {
|
|
1660
1663
|
root: "h-4 w-7",
|
|
@@ -1692,8 +1695,8 @@ var Switch = React50.forwardRef(({ className, size = "default", ...props }, ref)
|
|
|
1692
1695
|
);
|
|
1693
1696
|
});
|
|
1694
1697
|
Switch.displayName = SwitchPrimitive.Root.displayName;
|
|
1695
|
-
var LabeledSwitch =
|
|
1696
|
-
const switchId = id ||
|
|
1698
|
+
var LabeledSwitch = React51.forwardRef(({ label, description, labelPosition = "right", className, id, ...props }, ref) => {
|
|
1699
|
+
const switchId = id || React51.useId();
|
|
1697
1700
|
const labelContent = /* @__PURE__ */ jsxs("div", { className: "space-y-0.5", children: [
|
|
1698
1701
|
/* @__PURE__ */ jsx(
|
|
1699
1702
|
"label",
|
|
@@ -1721,7 +1724,72 @@ var LabeledSwitch = React50.forwardRef(({ label, description, labelPosition = "r
|
|
|
1721
1724
|
);
|
|
1722
1725
|
});
|
|
1723
1726
|
LabeledSwitch.displayName = "LabeledSwitch";
|
|
1724
|
-
var
|
|
1727
|
+
var Slider = React51.forwardRef(({ className, showValue, formatValue, size = "default", ...props }, ref) => {
|
|
1728
|
+
const value = props.value ?? props.defaultValue ?? [0];
|
|
1729
|
+
const currentValue = Array.isArray(value) ? value[0] : value;
|
|
1730
|
+
const sizeStyles = {
|
|
1731
|
+
sm: {
|
|
1732
|
+
track: "h-1",
|
|
1733
|
+
thumb: "h-3.5 w-3.5"
|
|
1734
|
+
},
|
|
1735
|
+
default: {
|
|
1736
|
+
track: "h-1.5",
|
|
1737
|
+
thumb: "h-4 w-4"
|
|
1738
|
+
},
|
|
1739
|
+
lg: {
|
|
1740
|
+
track: "h-2",
|
|
1741
|
+
thumb: "h-5 w-5"
|
|
1742
|
+
}
|
|
1743
|
+
};
|
|
1744
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-3", showValue && "pr-12 relative"), children: [
|
|
1745
|
+
/* @__PURE__ */ jsxs(
|
|
1746
|
+
SliderPrimitive.Root,
|
|
1747
|
+
{
|
|
1748
|
+
ref,
|
|
1749
|
+
className: cn(
|
|
1750
|
+
"relative flex w-full touch-none select-none items-center",
|
|
1751
|
+
className
|
|
1752
|
+
),
|
|
1753
|
+
...props,
|
|
1754
|
+
children: [
|
|
1755
|
+
/* @__PURE__ */ jsx(
|
|
1756
|
+
SliderPrimitive.Track,
|
|
1757
|
+
{
|
|
1758
|
+
className: cn(
|
|
1759
|
+
"relative w-full grow overflow-hidden rounded-full bg-gray-200",
|
|
1760
|
+
sizeStyles[size].track
|
|
1761
|
+
),
|
|
1762
|
+
children: /* @__PURE__ */ jsx(SliderPrimitive.Range, { className: "absolute h-full bg-[var(--cyan)]" })
|
|
1763
|
+
}
|
|
1764
|
+
),
|
|
1765
|
+
/* @__PURE__ */ jsx(
|
|
1766
|
+
SliderPrimitive.Thumb,
|
|
1767
|
+
{
|
|
1768
|
+
className: cn(
|
|
1769
|
+
"block rounded-full border-2 border-[var(--cyan)] bg-white shadow-md ring-offset-background transition-colors",
|
|
1770
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--cyan)] focus-visible:ring-offset-2",
|
|
1771
|
+
"disabled:pointer-events-none disabled:opacity-50",
|
|
1772
|
+
"hover:border-[var(--cyan-dark,#00bfaa)] cursor-pointer",
|
|
1773
|
+
sizeStyles[size].thumb
|
|
1774
|
+
)
|
|
1775
|
+
}
|
|
1776
|
+
)
|
|
1777
|
+
]
|
|
1778
|
+
}
|
|
1779
|
+
),
|
|
1780
|
+
showValue && /* @__PURE__ */ jsx("span", { className: "absolute right-0 text-sm font-mono text-[var(--black)] min-w-[3rem] text-right", children: formatValue ? formatValue(currentValue) : currentValue })
|
|
1781
|
+
] });
|
|
1782
|
+
});
|
|
1783
|
+
Slider.displayName = SliderPrimitive.Root.displayName;
|
|
1784
|
+
var LabeledSlider = React51.forwardRef(({ label, helperText, className, ...props }, ref) => {
|
|
1785
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-2", className), children: [
|
|
1786
|
+
/* @__PURE__ */ jsx("label", { className: "text-sm font-medium leading-none text-[var(--black)]", children: label }),
|
|
1787
|
+
/* @__PURE__ */ jsx(Slider, { ref, ...props }),
|
|
1788
|
+
helperText && /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: helperText })
|
|
1789
|
+
] });
|
|
1790
|
+
});
|
|
1791
|
+
LabeledSlider.displayName = "LabeledSlider";
|
|
1792
|
+
var RadioGroup = React51.forwardRef(({ className, ...props }, ref) => {
|
|
1725
1793
|
return /* @__PURE__ */ jsx(
|
|
1726
1794
|
RadioGroupPrimitive.Root,
|
|
1727
1795
|
{
|
|
@@ -1732,7 +1800,7 @@ var RadioGroup = React50.forwardRef(({ className, ...props }, ref) => {
|
|
|
1732
1800
|
);
|
|
1733
1801
|
});
|
|
1734
1802
|
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
1735
|
-
var RadioGroupItem =
|
|
1803
|
+
var RadioGroupItem = React51.forwardRef(({ className, ...props }, ref) => {
|
|
1736
1804
|
return /* @__PURE__ */ jsx(
|
|
1737
1805
|
RadioGroupPrimitive.Item,
|
|
1738
1806
|
{
|
|
@@ -1747,8 +1815,8 @@ var RadioGroupItem = React50.forwardRef(({ className, ...props }, ref) => {
|
|
|
1747
1815
|
);
|
|
1748
1816
|
});
|
|
1749
1817
|
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
1750
|
-
var RadioGroupOption =
|
|
1751
|
-
const optionId = id ||
|
|
1818
|
+
var RadioGroupOption = React51.forwardRef(({ label, description, className, id, ...props }, ref) => {
|
|
1819
|
+
const optionId = id || React51.useId();
|
|
1752
1820
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-start gap-3", className), children: [
|
|
1753
1821
|
/* @__PURE__ */ jsx(RadioGroupItem, { ref, id: optionId, ...props }),
|
|
1754
1822
|
/* @__PURE__ */ jsxs("div", { className: "space-y-0.5", children: [
|
|
@@ -1765,8 +1833,8 @@ var RadioGroupOption = React50.forwardRef(({ label, description, className, id,
|
|
|
1765
1833
|
] });
|
|
1766
1834
|
});
|
|
1767
1835
|
RadioGroupOption.displayName = "RadioGroupOption";
|
|
1768
|
-
var RadioGroupCard =
|
|
1769
|
-
const cardId = id ||
|
|
1836
|
+
var RadioGroupCard = React51.forwardRef(({ label, description, children, className, id, ...props }, ref) => {
|
|
1837
|
+
const cardId = id || React51.useId();
|
|
1770
1838
|
return /* @__PURE__ */ jsx(
|
|
1771
1839
|
RadioGroupPrimitive.Item,
|
|
1772
1840
|
{
|
|
@@ -1797,7 +1865,7 @@ var RadioGroupCard = React50.forwardRef(({ label, description, children, classNa
|
|
|
1797
1865
|
});
|
|
1798
1866
|
RadioGroupCard.displayName = "RadioGroupCard";
|
|
1799
1867
|
var Accordion = AccordionPrimitive.Root;
|
|
1800
|
-
var AccordionItem =
|
|
1868
|
+
var AccordionItem = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1801
1869
|
AccordionPrimitive.Item,
|
|
1802
1870
|
{
|
|
1803
1871
|
ref,
|
|
@@ -1806,7 +1874,7 @@ var AccordionItem = React50.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
1806
1874
|
}
|
|
1807
1875
|
));
|
|
1808
1876
|
AccordionItem.displayName = "AccordionItem";
|
|
1809
|
-
var AccordionTrigger =
|
|
1877
|
+
var AccordionTrigger = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
|
|
1810
1878
|
AccordionPrimitive.Trigger,
|
|
1811
1879
|
{
|
|
1812
1880
|
ref,
|
|
@@ -1822,7 +1890,7 @@ var AccordionTrigger = React50.forwardRef(({ className, children, ...props }, re
|
|
|
1822
1890
|
}
|
|
1823
1891
|
) }));
|
|
1824
1892
|
AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
|
|
1825
|
-
var AccordionContent =
|
|
1893
|
+
var AccordionContent = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1826
1894
|
AccordionPrimitive.Content,
|
|
1827
1895
|
{
|
|
1828
1896
|
ref,
|
|
@@ -1853,7 +1921,7 @@ var NODES2 = [
|
|
|
1853
1921
|
];
|
|
1854
1922
|
var Primitive2 = NODES2.reduce((primitive, node) => {
|
|
1855
1923
|
const Slot2 = createSlot(`Primitive.${node}`);
|
|
1856
|
-
const Node2 =
|
|
1924
|
+
const Node2 = React51.forwardRef((props, forwardedRef) => {
|
|
1857
1925
|
const { asChild, ...primitiveProps } = props;
|
|
1858
1926
|
const Comp = asChild ? Slot2 : node;
|
|
1859
1927
|
if (typeof window !== "undefined") {
|
|
@@ -1867,7 +1935,7 @@ var Primitive2 = NODES2.reduce((primitive, node) => {
|
|
|
1867
1935
|
var NAME2 = "Separator";
|
|
1868
1936
|
var DEFAULT_ORIENTATION = "horizontal";
|
|
1869
1937
|
var ORIENTATIONS = ["horizontal", "vertical"];
|
|
1870
|
-
var Separator =
|
|
1938
|
+
var Separator = React51.forwardRef((props, forwardedRef) => {
|
|
1871
1939
|
const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
|
|
1872
1940
|
const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
|
|
1873
1941
|
const ariaOrientation = orientation === "vertical" ? orientation : void 0;
|
|
@@ -1886,10 +1954,10 @@ Separator.displayName = NAME2;
|
|
|
1886
1954
|
function isValidOrientation(orientation) {
|
|
1887
1955
|
return ORIENTATIONS.includes(orientation);
|
|
1888
1956
|
}
|
|
1889
|
-
var
|
|
1890
|
-
var Separator2 =
|
|
1957
|
+
var Root7 = Separator;
|
|
1958
|
+
var Separator2 = React51.forwardRef(
|
|
1891
1959
|
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1892
|
-
|
|
1960
|
+
Root7,
|
|
1893
1961
|
{
|
|
1894
1962
|
ref,
|
|
1895
1963
|
decorative,
|
|
@@ -1903,8 +1971,8 @@ var Separator2 = React50.forwardRef(
|
|
|
1903
1971
|
}
|
|
1904
1972
|
)
|
|
1905
1973
|
);
|
|
1906
|
-
Separator2.displayName =
|
|
1907
|
-
var NavigationMenu =
|
|
1974
|
+
Separator2.displayName = Root7.displayName;
|
|
1975
|
+
var NavigationMenu = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
1908
1976
|
NavigationMenuPrimitive.Root,
|
|
1909
1977
|
{
|
|
1910
1978
|
ref,
|
|
@@ -1920,7 +1988,7 @@ var NavigationMenu = React50.forwardRef(({ className, children, ...props }, ref)
|
|
|
1920
1988
|
}
|
|
1921
1989
|
));
|
|
1922
1990
|
NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
1923
|
-
var NavigationMenuList =
|
|
1991
|
+
var NavigationMenuList = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1924
1992
|
NavigationMenuPrimitive.List,
|
|
1925
1993
|
{
|
|
1926
1994
|
ref,
|
|
@@ -1936,7 +2004,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
|
1936
2004
|
var navigationMenuTriggerStyle = cva(
|
|
1937
2005
|
"group inline-flex h-10 w-max items-center justify-center rounded-md bg-white px-4 py-2 text-sm font-medium text-[var(--black)] transition-colors hover:bg-gray-100 hover:text-[var(--black)] focus:bg-gray-100 focus:text-[var(--black)] focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:text-[var(--black)] data-[state=open]:bg-gray-100/50 data-[state=open]:hover:bg-gray-100 data-[state=open]:focus:bg-gray-100"
|
|
1938
2006
|
);
|
|
1939
|
-
var NavigationMenuTrigger =
|
|
2007
|
+
var NavigationMenuTrigger = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
1940
2008
|
NavigationMenuPrimitive.Trigger,
|
|
1941
2009
|
{
|
|
1942
2010
|
ref,
|
|
@@ -1956,7 +2024,7 @@ var NavigationMenuTrigger = React50.forwardRef(({ className, children, ...props
|
|
|
1956
2024
|
}
|
|
1957
2025
|
));
|
|
1958
2026
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
1959
|
-
var NavigationMenuContent =
|
|
2027
|
+
var NavigationMenuContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1960
2028
|
NavigationMenuPrimitive.Content,
|
|
1961
2029
|
{
|
|
1962
2030
|
ref,
|
|
@@ -1969,7 +2037,7 @@ var NavigationMenuContent = React50.forwardRef(({ className, ...props }, ref) =>
|
|
|
1969
2037
|
));
|
|
1970
2038
|
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
1971
2039
|
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
1972
|
-
var NavigationMenuViewport =
|
|
2040
|
+
var NavigationMenuViewport = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
|
|
1973
2041
|
NavigationMenuPrimitive.Viewport,
|
|
1974
2042
|
{
|
|
1975
2043
|
className: cn(
|
|
@@ -1981,7 +2049,7 @@ var NavigationMenuViewport = React50.forwardRef(({ className, ...props }, ref) =
|
|
|
1981
2049
|
}
|
|
1982
2050
|
) }));
|
|
1983
2051
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
1984
|
-
var NavigationMenuIndicator =
|
|
2052
|
+
var NavigationMenuIndicator = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1985
2053
|
NavigationMenuPrimitive.Indicator,
|
|
1986
2054
|
{
|
|
1987
2055
|
ref,
|
|
@@ -1994,7 +2062,7 @@ var NavigationMenuIndicator = React50.forwardRef(({ className, ...props }, ref)
|
|
|
1994
2062
|
}
|
|
1995
2063
|
));
|
|
1996
2064
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
1997
|
-
var Avatar =
|
|
2065
|
+
var Avatar = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
1998
2066
|
AvatarPrimitive.Root,
|
|
1999
2067
|
{
|
|
2000
2068
|
ref,
|
|
@@ -2006,7 +2074,7 @@ var Avatar = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
|
|
|
2006
2074
|
}
|
|
2007
2075
|
));
|
|
2008
2076
|
Avatar.displayName = AvatarPrimitive.Root.displayName;
|
|
2009
|
-
var AvatarImage =
|
|
2077
|
+
var AvatarImage = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2010
2078
|
AvatarPrimitive.Image,
|
|
2011
2079
|
{
|
|
2012
2080
|
ref,
|
|
@@ -2015,7 +2083,7 @@ var AvatarImage = React50.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2015
2083
|
}
|
|
2016
2084
|
));
|
|
2017
2085
|
AvatarImage.displayName = AvatarPrimitive.Image.displayName;
|
|
2018
|
-
var AvatarFallback =
|
|
2086
|
+
var AvatarFallback = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2019
2087
|
AvatarPrimitive.Fallback,
|
|
2020
2088
|
{
|
|
2021
2089
|
ref,
|
|
@@ -2033,7 +2101,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
|
2033
2101
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
2034
2102
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
2035
2103
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
2036
|
-
var DropdownMenuSubTrigger =
|
|
2104
|
+
var DropdownMenuSubTrigger = React51.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
2037
2105
|
DropdownMenuPrimitive.SubTrigger,
|
|
2038
2106
|
{
|
|
2039
2107
|
ref,
|
|
@@ -2050,7 +2118,7 @@ var DropdownMenuSubTrigger = React50.forwardRef(({ className, inset, children, .
|
|
|
2050
2118
|
}
|
|
2051
2119
|
));
|
|
2052
2120
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
|
|
2053
|
-
var DropdownMenuSubContent =
|
|
2121
|
+
var DropdownMenuSubContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2054
2122
|
DropdownMenuPrimitive.SubContent,
|
|
2055
2123
|
{
|
|
2056
2124
|
ref,
|
|
@@ -2062,7 +2130,7 @@ var DropdownMenuSubContent = React50.forwardRef(({ className, ...props }, ref) =
|
|
|
2062
2130
|
}
|
|
2063
2131
|
));
|
|
2064
2132
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
|
|
2065
|
-
var DropdownMenuContent =
|
|
2133
|
+
var DropdownMenuContent = React51.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
2066
2134
|
DropdownMenuPrimitive.Content,
|
|
2067
2135
|
{
|
|
2068
2136
|
ref,
|
|
@@ -2075,7 +2143,7 @@ var DropdownMenuContent = React50.forwardRef(({ className, sideOffset = 4, ...pr
|
|
|
2075
2143
|
}
|
|
2076
2144
|
) }));
|
|
2077
2145
|
DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
|
|
2078
|
-
var DropdownMenuItem =
|
|
2146
|
+
var DropdownMenuItem = React51.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2079
2147
|
DropdownMenuPrimitive.Item,
|
|
2080
2148
|
{
|
|
2081
2149
|
ref,
|
|
@@ -2088,7 +2156,7 @@ var DropdownMenuItem = React50.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2088
2156
|
}
|
|
2089
2157
|
));
|
|
2090
2158
|
DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
|
|
2091
|
-
var DropdownMenuCheckboxItem =
|
|
2159
|
+
var DropdownMenuCheckboxItem = React51.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
2092
2160
|
DropdownMenuPrimitive.CheckboxItem,
|
|
2093
2161
|
{
|
|
2094
2162
|
ref,
|
|
@@ -2105,7 +2173,7 @@ var DropdownMenuCheckboxItem = React50.forwardRef(({ className, children, checke
|
|
|
2105
2173
|
}
|
|
2106
2174
|
));
|
|
2107
2175
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
|
|
2108
|
-
var DropdownMenuRadioItem =
|
|
2176
|
+
var DropdownMenuRadioItem = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
|
|
2109
2177
|
DropdownMenuPrimitive.RadioItem,
|
|
2110
2178
|
{
|
|
2111
2179
|
ref,
|
|
@@ -2121,7 +2189,7 @@ var DropdownMenuRadioItem = React50.forwardRef(({ className, children, ...props
|
|
|
2121
2189
|
}
|
|
2122
2190
|
));
|
|
2123
2191
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
|
|
2124
|
-
var DropdownMenuLabel =
|
|
2192
|
+
var DropdownMenuLabel = React51.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2125
2193
|
DropdownMenuPrimitive.Label,
|
|
2126
2194
|
{
|
|
2127
2195
|
ref,
|
|
@@ -2134,7 +2202,7 @@ var DropdownMenuLabel = React50.forwardRef(({ className, inset, ...props }, ref)
|
|
|
2134
2202
|
}
|
|
2135
2203
|
));
|
|
2136
2204
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
|
|
2137
|
-
var DropdownMenuSeparator =
|
|
2205
|
+
var DropdownMenuSeparator = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2138
2206
|
DropdownMenuPrimitive.Separator,
|
|
2139
2207
|
{
|
|
2140
2208
|
ref,
|
|
@@ -2156,7 +2224,7 @@ var DropdownMenuShortcut = ({
|
|
|
2156
2224
|
);
|
|
2157
2225
|
};
|
|
2158
2226
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
2159
|
-
var SidebarNavItem =
|
|
2227
|
+
var SidebarNavItem = React51.forwardRef(
|
|
2160
2228
|
({ item, isActive, className, LinkComponent, ...props }, ref) => {
|
|
2161
2229
|
const Icon = item.icon;
|
|
2162
2230
|
const baseClassName = cn(
|
|
@@ -2196,7 +2264,7 @@ var SidebarNavItem = React50.forwardRef(
|
|
|
2196
2264
|
}
|
|
2197
2265
|
);
|
|
2198
2266
|
SidebarNavItem.displayName = "SidebarNavItem";
|
|
2199
|
-
var Sidebar =
|
|
2267
|
+
var Sidebar = React51.forwardRef(
|
|
2200
2268
|
({
|
|
2201
2269
|
mainNav = [],
|
|
2202
2270
|
bottomNav = [],
|
|
@@ -2306,7 +2374,7 @@ var alertVariants = cva(
|
|
|
2306
2374
|
}
|
|
2307
2375
|
}
|
|
2308
2376
|
);
|
|
2309
|
-
var Alert =
|
|
2377
|
+
var Alert = React51.forwardRef(
|
|
2310
2378
|
({ className, variant, icon, title, action, children, ...props }, ref) => {
|
|
2311
2379
|
return /* @__PURE__ */ jsx(
|
|
2312
2380
|
"div",
|
|
@@ -2329,7 +2397,7 @@ var Alert = React50.forwardRef(
|
|
|
2329
2397
|
}
|
|
2330
2398
|
);
|
|
2331
2399
|
Alert.displayName = "Alert";
|
|
2332
|
-
var EmptyState =
|
|
2400
|
+
var EmptyState = React51.forwardRef(
|
|
2333
2401
|
({ className, icon, title, description, action, size = "default", ...props }, ref) => {
|
|
2334
2402
|
const paddingClass = {
|
|
2335
2403
|
sm: "p-8",
|
|
@@ -2357,7 +2425,7 @@ var EmptyState = React50.forwardRef(
|
|
|
2357
2425
|
}
|
|
2358
2426
|
);
|
|
2359
2427
|
EmptyState.displayName = "EmptyState";
|
|
2360
|
-
var ErrorState =
|
|
2428
|
+
var ErrorState = React51.forwardRef(
|
|
2361
2429
|
({
|
|
2362
2430
|
title = "Something went wrong",
|
|
2363
2431
|
description = "We encountered an error loading this page. Please try again.",
|
|
@@ -2420,7 +2488,7 @@ var ErrorState = React50.forwardRef(
|
|
|
2420
2488
|
}
|
|
2421
2489
|
);
|
|
2422
2490
|
ErrorState.displayName = "ErrorState";
|
|
2423
|
-
var CodeBlock =
|
|
2491
|
+
var CodeBlock = React51.forwardRef(
|
|
2424
2492
|
({ className, children, language, ...props }, ref) => {
|
|
2425
2493
|
return /* @__PURE__ */ jsx(
|
|
2426
2494
|
"pre",
|
|
@@ -2438,15 +2506,15 @@ var CodeBlock = React50.forwardRef(
|
|
|
2438
2506
|
}
|
|
2439
2507
|
);
|
|
2440
2508
|
CodeBlock.displayName = "CodeBlock";
|
|
2441
|
-
var FormField =
|
|
2509
|
+
var FormField = React51.forwardRef(
|
|
2442
2510
|
({ label, error, helperText, hint, required, id, className, children, ...props }, ref) => {
|
|
2443
|
-
const fieldId = id ||
|
|
2511
|
+
const fieldId = id || React51.useId();
|
|
2444
2512
|
const errorId = `${fieldId}-error`;
|
|
2445
2513
|
const helperId = `${fieldId}-helper`;
|
|
2446
|
-
const enhancedChildren =
|
|
2447
|
-
if (
|
|
2514
|
+
const enhancedChildren = React51.Children.map(children, (child) => {
|
|
2515
|
+
if (React51.isValidElement(child)) {
|
|
2448
2516
|
const childProps = child.props;
|
|
2449
|
-
return
|
|
2517
|
+
return React51.cloneElement(child, {
|
|
2450
2518
|
id: fieldId,
|
|
2451
2519
|
"aria-invalid": error ? "true" : void 0,
|
|
2452
2520
|
"aria-describedby": error ? errorId : helperText ? helperId : void 0,
|
|
@@ -2470,7 +2538,7 @@ var FormField = React50.forwardRef(
|
|
|
2470
2538
|
}
|
|
2471
2539
|
);
|
|
2472
2540
|
FormField.displayName = "FormField";
|
|
2473
|
-
var Table =
|
|
2541
|
+
var Table = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx(
|
|
2474
2542
|
"table",
|
|
2475
2543
|
{
|
|
2476
2544
|
ref,
|
|
@@ -2479,11 +2547,11 @@ var Table = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
2479
2547
|
}
|
|
2480
2548
|
) }));
|
|
2481
2549
|
Table.displayName = "Table";
|
|
2482
|
-
var TableHeader =
|
|
2550
|
+
var TableHeader = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("", className), ...props }));
|
|
2483
2551
|
TableHeader.displayName = "TableHeader";
|
|
2484
|
-
var TableBody =
|
|
2552
|
+
var TableBody = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("", className), ...props }));
|
|
2485
2553
|
TableBody.displayName = "TableBody";
|
|
2486
|
-
var TableFooter =
|
|
2554
|
+
var TableFooter = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2487
2555
|
"tfoot",
|
|
2488
2556
|
{
|
|
2489
2557
|
ref,
|
|
@@ -2492,7 +2560,7 @@ var TableFooter = React50.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2492
2560
|
}
|
|
2493
2561
|
));
|
|
2494
2562
|
TableFooter.displayName = "TableFooter";
|
|
2495
|
-
var TableRow =
|
|
2563
|
+
var TableRow = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2496
2564
|
"tr",
|
|
2497
2565
|
{
|
|
2498
2566
|
ref,
|
|
@@ -2501,7 +2569,7 @@ var TableRow = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
2501
2569
|
}
|
|
2502
2570
|
));
|
|
2503
2571
|
TableRow.displayName = "TableRow";
|
|
2504
|
-
var TableHead =
|
|
2572
|
+
var TableHead = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2505
2573
|
"th",
|
|
2506
2574
|
{
|
|
2507
2575
|
ref,
|
|
@@ -2513,7 +2581,7 @@ var TableHead = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
2513
2581
|
}
|
|
2514
2582
|
));
|
|
2515
2583
|
TableHead.displayName = "TableHead";
|
|
2516
|
-
var TableCell =
|
|
2584
|
+
var TableCell = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2517
2585
|
"td",
|
|
2518
2586
|
{
|
|
2519
2587
|
ref,
|
|
@@ -2522,7 +2590,7 @@ var TableCell = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE_
|
|
|
2522
2590
|
}
|
|
2523
2591
|
));
|
|
2524
2592
|
TableCell.displayName = "TableCell";
|
|
2525
|
-
var TableCaption =
|
|
2593
|
+
var TableCaption = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2526
2594
|
"caption",
|
|
2527
2595
|
{
|
|
2528
2596
|
ref,
|
|
@@ -2531,7 +2599,7 @@ var TableCaption = React50.forwardRef(({ className, ...props }, ref) => /* @__PU
|
|
|
2531
2599
|
}
|
|
2532
2600
|
));
|
|
2533
2601
|
TableCaption.displayName = "TableCaption";
|
|
2534
|
-
var Divider =
|
|
2602
|
+
var Divider = React51.forwardRef(
|
|
2535
2603
|
({ className, text, orientation = "horizontal", ...props }, ref) => {
|
|
2536
2604
|
if (orientation === "vertical") {
|
|
2537
2605
|
return /* @__PURE__ */ jsx(
|
|
@@ -2570,7 +2638,7 @@ var Divider = React50.forwardRef(
|
|
|
2570
2638
|
);
|
|
2571
2639
|
Divider.displayName = "Divider";
|
|
2572
2640
|
var Tabs = TabsPrimitive.Root;
|
|
2573
|
-
var TabsList =
|
|
2641
|
+
var TabsList = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2574
2642
|
TabsPrimitive.List,
|
|
2575
2643
|
{
|
|
2576
2644
|
ref,
|
|
@@ -2582,7 +2650,7 @@ var TabsList = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE__
|
|
|
2582
2650
|
}
|
|
2583
2651
|
));
|
|
2584
2652
|
TabsList.displayName = TabsPrimitive.List.displayName;
|
|
2585
|
-
var TabsTrigger =
|
|
2653
|
+
var TabsTrigger = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2586
2654
|
TabsPrimitive.Trigger,
|
|
2587
2655
|
{
|
|
2588
2656
|
ref,
|
|
@@ -2594,7 +2662,7 @@ var TabsTrigger = React50.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2594
2662
|
}
|
|
2595
2663
|
));
|
|
2596
2664
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
2597
|
-
var TabsContent =
|
|
2665
|
+
var TabsContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2598
2666
|
TabsPrimitive.Content,
|
|
2599
2667
|
{
|
|
2600
2668
|
ref,
|
|
@@ -2606,7 +2674,7 @@ var TabsContent = React50.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2606
2674
|
}
|
|
2607
2675
|
));
|
|
2608
2676
|
TabsContent.displayName = TabsPrimitive.Content.displayName;
|
|
2609
|
-
var TabsListUnderline =
|
|
2677
|
+
var TabsListUnderline = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2610
2678
|
TabsPrimitive.List,
|
|
2611
2679
|
{
|
|
2612
2680
|
ref,
|
|
@@ -2618,7 +2686,7 @@ var TabsListUnderline = React50.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2618
2686
|
}
|
|
2619
2687
|
));
|
|
2620
2688
|
TabsListUnderline.displayName = "TabsListUnderline";
|
|
2621
|
-
var TabsTriggerUnderline =
|
|
2689
|
+
var TabsTriggerUnderline = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2622
2690
|
TabsPrimitive.Trigger,
|
|
2623
2691
|
{
|
|
2624
2692
|
ref,
|
|
@@ -2636,7 +2704,7 @@ var Dialog = SheetPrimitive.Root;
|
|
|
2636
2704
|
var DialogTrigger = SheetPrimitive.Trigger;
|
|
2637
2705
|
var DialogPortal = SheetPrimitive.Portal;
|
|
2638
2706
|
var DialogClose = SheetPrimitive.Close;
|
|
2639
|
-
var DialogOverlay =
|
|
2707
|
+
var DialogOverlay = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2640
2708
|
SheetPrimitive.Overlay,
|
|
2641
2709
|
{
|
|
2642
2710
|
ref,
|
|
@@ -2648,7 +2716,7 @@ var DialogOverlay = React50.forwardRef(({ className, ...props }, ref) => /* @__P
|
|
|
2648
2716
|
}
|
|
2649
2717
|
));
|
|
2650
2718
|
DialogOverlay.displayName = SheetPrimitive.Overlay.displayName;
|
|
2651
|
-
var DialogContent =
|
|
2719
|
+
var DialogContent = React51.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
|
|
2652
2720
|
/* @__PURE__ */ jsx(DialogOverlay, {}),
|
|
2653
2721
|
/* @__PURE__ */ jsxs(
|
|
2654
2722
|
SheetPrimitive.Content,
|
|
@@ -2698,7 +2766,7 @@ var DialogFooter = ({
|
|
|
2698
2766
|
}
|
|
2699
2767
|
);
|
|
2700
2768
|
DialogFooter.displayName = "DialogFooter";
|
|
2701
|
-
var DialogTitle =
|
|
2769
|
+
var DialogTitle = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2702
2770
|
SheetPrimitive.Title,
|
|
2703
2771
|
{
|
|
2704
2772
|
ref,
|
|
@@ -2710,7 +2778,7 @@ var DialogTitle = React50.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2710
2778
|
}
|
|
2711
2779
|
));
|
|
2712
2780
|
DialogTitle.displayName = SheetPrimitive.Title.displayName;
|
|
2713
|
-
var DialogDescription =
|
|
2781
|
+
var DialogDescription = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2714
2782
|
SheetPrimitive.Description,
|
|
2715
2783
|
{
|
|
2716
2784
|
ref,
|
|
@@ -2722,7 +2790,7 @@ DialogDescription.displayName = SheetPrimitive.Description.displayName;
|
|
|
2722
2790
|
var AlertDialog = AlertDialogPrimitive.Root;
|
|
2723
2791
|
var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
|
|
2724
2792
|
var AlertDialogPortal = AlertDialogPrimitive.Portal;
|
|
2725
|
-
var AlertDialogOverlay =
|
|
2793
|
+
var AlertDialogOverlay = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2726
2794
|
AlertDialogPrimitive.Overlay,
|
|
2727
2795
|
{
|
|
2728
2796
|
className: cn(
|
|
@@ -2734,7 +2802,7 @@ var AlertDialogOverlay = React50.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2734
2802
|
}
|
|
2735
2803
|
));
|
|
2736
2804
|
AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
|
|
2737
|
-
var AlertDialogContent =
|
|
2805
|
+
var AlertDialogContent = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(AlertDialogPortal, { children: [
|
|
2738
2806
|
/* @__PURE__ */ jsx(AlertDialogOverlay, {}),
|
|
2739
2807
|
/* @__PURE__ */ jsx(
|
|
2740
2808
|
AlertDialogPrimitive.Content,
|
|
@@ -2777,7 +2845,7 @@ var AlertDialogFooter = ({
|
|
|
2777
2845
|
}
|
|
2778
2846
|
);
|
|
2779
2847
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
2780
|
-
var AlertDialogTitle =
|
|
2848
|
+
var AlertDialogTitle = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2781
2849
|
AlertDialogPrimitive.Title,
|
|
2782
2850
|
{
|
|
2783
2851
|
ref,
|
|
@@ -2786,7 +2854,7 @@ var AlertDialogTitle = React50.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2786
2854
|
}
|
|
2787
2855
|
));
|
|
2788
2856
|
AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
|
|
2789
|
-
var AlertDialogDescription =
|
|
2857
|
+
var AlertDialogDescription = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2790
2858
|
AlertDialogPrimitive.Description,
|
|
2791
2859
|
{
|
|
2792
2860
|
ref,
|
|
@@ -2795,7 +2863,7 @@ var AlertDialogDescription = React50.forwardRef(({ className, ...props }, ref) =
|
|
|
2795
2863
|
}
|
|
2796
2864
|
));
|
|
2797
2865
|
AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
|
|
2798
|
-
var AlertDialogAction =
|
|
2866
|
+
var AlertDialogAction = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2799
2867
|
AlertDialogPrimitive.Action,
|
|
2800
2868
|
{
|
|
2801
2869
|
ref,
|
|
@@ -2804,7 +2872,7 @@ var AlertDialogAction = React50.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2804
2872
|
}
|
|
2805
2873
|
));
|
|
2806
2874
|
AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
|
|
2807
|
-
var AlertDialogCancel =
|
|
2875
|
+
var AlertDialogCancel = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2808
2876
|
AlertDialogPrimitive.Cancel,
|
|
2809
2877
|
{
|
|
2810
2878
|
ref,
|
|
@@ -2865,7 +2933,7 @@ var Popover = PopoverPrimitive.Root;
|
|
|
2865
2933
|
var PopoverTrigger = PopoverPrimitive.Trigger;
|
|
2866
2934
|
var PopoverAnchor = PopoverPrimitive.Anchor;
|
|
2867
2935
|
var PopoverClose = PopoverPrimitive.Close;
|
|
2868
|
-
var PopoverContent =
|
|
2936
|
+
var PopoverContent = React51.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
2869
2937
|
PopoverPrimitive.Content,
|
|
2870
2938
|
{
|
|
2871
2939
|
ref,
|
|
@@ -2879,7 +2947,7 @@ var PopoverContent = React50.forwardRef(({ className, align = "center", sideOffs
|
|
|
2879
2947
|
}
|
|
2880
2948
|
) }));
|
|
2881
2949
|
PopoverContent.displayName = PopoverPrimitive.Content.displayName;
|
|
2882
|
-
var PopoverArrow =
|
|
2950
|
+
var PopoverArrow = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2883
2951
|
PopoverPrimitive.Arrow,
|
|
2884
2952
|
{
|
|
2885
2953
|
ref,
|
|
@@ -2891,7 +2959,7 @@ PopoverArrow.displayName = PopoverPrimitive.Arrow.displayName;
|
|
|
2891
2959
|
var TooltipProvider = TooltipPrimitive.Provider;
|
|
2892
2960
|
var Tooltip = TooltipPrimitive.Root;
|
|
2893
2961
|
var TooltipTrigger = TooltipPrimitive.Trigger;
|
|
2894
|
-
var TooltipContent =
|
|
2962
|
+
var TooltipContent = React51.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsx(
|
|
2895
2963
|
TooltipPrimitive.Content,
|
|
2896
2964
|
{
|
|
2897
2965
|
ref,
|
|
@@ -2904,7 +2972,7 @@ var TooltipContent = React50.forwardRef(({ className, sideOffset = 4, ...props }
|
|
|
2904
2972
|
}
|
|
2905
2973
|
) }));
|
|
2906
2974
|
TooltipContent.displayName = TooltipPrimitive.Content.displayName;
|
|
2907
|
-
var TooltipArrow =
|
|
2975
|
+
var TooltipArrow = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2908
2976
|
TooltipPrimitive.Arrow,
|
|
2909
2977
|
{
|
|
2910
2978
|
ref,
|
|
@@ -2926,7 +2994,7 @@ function SimpleTooltip({
|
|
|
2926
2994
|
] }) });
|
|
2927
2995
|
}
|
|
2928
2996
|
var ToastProvider = ToastPrimitives.Provider;
|
|
2929
|
-
var ToastViewport =
|
|
2997
|
+
var ToastViewport = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2930
2998
|
ToastPrimitives.Viewport,
|
|
2931
2999
|
{
|
|
2932
3000
|
ref,
|
|
@@ -2955,7 +3023,7 @@ var toastVariants = cva(
|
|
|
2955
3023
|
}
|
|
2956
3024
|
}
|
|
2957
3025
|
);
|
|
2958
|
-
var Toast =
|
|
3026
|
+
var Toast = React51.forwardRef(({ className, variant, ...props }, ref) => {
|
|
2959
3027
|
return /* @__PURE__ */ jsx(
|
|
2960
3028
|
ToastPrimitives.Root,
|
|
2961
3029
|
{
|
|
@@ -2966,7 +3034,7 @@ var Toast = React50.forwardRef(({ className, variant, ...props }, ref) => {
|
|
|
2966
3034
|
);
|
|
2967
3035
|
});
|
|
2968
3036
|
Toast.displayName = ToastPrimitives.Root.displayName;
|
|
2969
|
-
var ToastAction =
|
|
3037
|
+
var ToastAction = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2970
3038
|
ToastPrimitives.Action,
|
|
2971
3039
|
{
|
|
2972
3040
|
ref,
|
|
@@ -2978,7 +3046,7 @@ var ToastAction = React50.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
2978
3046
|
}
|
|
2979
3047
|
));
|
|
2980
3048
|
ToastAction.displayName = ToastPrimitives.Action.displayName;
|
|
2981
|
-
var ToastClose =
|
|
3049
|
+
var ToastClose = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2982
3050
|
ToastPrimitives.Close,
|
|
2983
3051
|
{
|
|
2984
3052
|
ref,
|
|
@@ -2992,7 +3060,7 @@ var ToastClose = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
2992
3060
|
}
|
|
2993
3061
|
));
|
|
2994
3062
|
ToastClose.displayName = ToastPrimitives.Close.displayName;
|
|
2995
|
-
var ToastTitle =
|
|
3063
|
+
var ToastTitle = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
2996
3064
|
ToastPrimitives.Title,
|
|
2997
3065
|
{
|
|
2998
3066
|
ref,
|
|
@@ -3001,7 +3069,7 @@ var ToastTitle = React50.forwardRef(({ className, ...props }, ref) => /* @__PURE
|
|
|
3001
3069
|
}
|
|
3002
3070
|
));
|
|
3003
3071
|
ToastTitle.displayName = ToastPrimitives.Title.displayName;
|
|
3004
|
-
var ToastDescription =
|
|
3072
|
+
var ToastDescription = React51.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
3005
3073
|
ToastPrimitives.Description,
|
|
3006
3074
|
{
|
|
3007
3075
|
ref,
|
|
@@ -3140,8 +3208,8 @@ function toast({ ...props }) {
|
|
|
3140
3208
|
};
|
|
3141
3209
|
}
|
|
3142
3210
|
function useToast() {
|
|
3143
|
-
const [state, setState] =
|
|
3144
|
-
|
|
3211
|
+
const [state, setState] = React51.useState(memoryState);
|
|
3212
|
+
React51.useEffect(() => {
|
|
3145
3213
|
listeners.push(setState);
|
|
3146
3214
|
return () => {
|
|
3147
3215
|
const index = listeners.indexOf(setState);
|
|
@@ -3176,7 +3244,7 @@ function Toaster() {
|
|
|
3176
3244
|
/* @__PURE__ */ jsx(ToastViewport, {})
|
|
3177
3245
|
] });
|
|
3178
3246
|
}
|
|
3179
|
-
var Skeleton =
|
|
3247
|
+
var Skeleton = React51.forwardRef(
|
|
3180
3248
|
({ className, variant = "default", width, height, animate = true, style, ...props }, ref) => {
|
|
3181
3249
|
const variantStyles = {
|
|
3182
3250
|
default: "rounded-sm",
|
|
@@ -3204,7 +3272,7 @@ var Skeleton = React50.forwardRef(
|
|
|
3204
3272
|
}
|
|
3205
3273
|
);
|
|
3206
3274
|
Skeleton.displayName = "Skeleton";
|
|
3207
|
-
var SkeletonText =
|
|
3275
|
+
var SkeletonText = React51.forwardRef(
|
|
3208
3276
|
({ lines = 3, gap = 8, className, ...props }, ref) => {
|
|
3209
3277
|
return /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-2", className), style: { gap }, children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ jsx(
|
|
3210
3278
|
Skeleton,
|
|
@@ -3218,7 +3286,7 @@ var SkeletonText = React50.forwardRef(
|
|
|
3218
3286
|
}
|
|
3219
3287
|
);
|
|
3220
3288
|
SkeletonText.displayName = "SkeletonText";
|
|
3221
|
-
var SkeletonCard =
|
|
3289
|
+
var SkeletonCard = React51.forwardRef(
|
|
3222
3290
|
({ hasHeader = true, hasAvatar = false, className, ...props }, ref) => {
|
|
3223
3291
|
return /* @__PURE__ */ jsxs(
|
|
3224
3292
|
"div",
|
|
@@ -3270,7 +3338,7 @@ function generatePagination(currentPage, totalPages, siblingCount) {
|
|
|
3270
3338
|
);
|
|
3271
3339
|
return [1, "ellipsis", ...middleRange, "ellipsis", totalPages];
|
|
3272
3340
|
}
|
|
3273
|
-
var Pagination =
|
|
3341
|
+
var Pagination = React51.forwardRef(
|
|
3274
3342
|
({
|
|
3275
3343
|
currentPage,
|
|
3276
3344
|
totalPages,
|
|
@@ -3347,7 +3415,7 @@ var Pagination = React50.forwardRef(
|
|
|
3347
3415
|
}
|
|
3348
3416
|
);
|
|
3349
3417
|
Pagination.displayName = "Pagination";
|
|
3350
|
-
var SimplePagination =
|
|
3418
|
+
var SimplePagination = React51.forwardRef(
|
|
3351
3419
|
({
|
|
3352
3420
|
currentPage,
|
|
3353
3421
|
totalPages,
|
|
@@ -3409,7 +3477,7 @@ var SimplePagination = React50.forwardRef(
|
|
|
3409
3477
|
}
|
|
3410
3478
|
);
|
|
3411
3479
|
SimplePagination.displayName = "SimplePagination";
|
|
3412
|
-
var StepProgress =
|
|
3480
|
+
var StepProgress = React51.forwardRef(
|
|
3413
3481
|
({
|
|
3414
3482
|
steps,
|
|
3415
3483
|
currentStep,
|
|
@@ -3529,7 +3597,7 @@ var StepProgress = React50.forwardRef(
|
|
|
3529
3597
|
}
|
|
3530
3598
|
);
|
|
3531
3599
|
StepProgress.displayName = "StepProgress";
|
|
3532
|
-
var StepDots =
|
|
3600
|
+
var StepDots = React51.forwardRef(
|
|
3533
3601
|
({ totalSteps, currentStep, onStepClick, className }, ref) => {
|
|
3534
3602
|
return /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center gap-2", className), children: Array.from({ length: totalSteps }, (_, i) => i + 1).map((step) => {
|
|
3535
3603
|
const isCompleted = step < currentStep;
|
|
@@ -3555,7 +3623,7 @@ var StepDots = React50.forwardRef(
|
|
|
3555
3623
|
}
|
|
3556
3624
|
);
|
|
3557
3625
|
StepDots.displayName = "StepDots";
|
|
3558
|
-
var Breadcrumbs =
|
|
3626
|
+
var Breadcrumbs = React51.forwardRef(
|
|
3559
3627
|
({
|
|
3560
3628
|
items,
|
|
3561
3629
|
LinkComponent,
|
|
@@ -3637,7 +3705,7 @@ var Breadcrumbs = React50.forwardRef(
|
|
|
3637
3705
|
}
|
|
3638
3706
|
);
|
|
3639
3707
|
Breadcrumbs.displayName = "Breadcrumbs";
|
|
3640
|
-
var BreadcrumbLink =
|
|
3708
|
+
var BreadcrumbLink = React51.forwardRef(
|
|
3641
3709
|
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
3642
3710
|
"a",
|
|
3643
3711
|
{
|
|
@@ -3662,7 +3730,7 @@ var presetLabels = {
|
|
|
3662
3730
|
"this-year": "This year",
|
|
3663
3731
|
"custom": "Custom"
|
|
3664
3732
|
};
|
|
3665
|
-
var DateRangePicker =
|
|
3733
|
+
var DateRangePicker = React51.forwardRef(
|
|
3666
3734
|
({
|
|
3667
3735
|
value,
|
|
3668
3736
|
onChange,
|
|
@@ -3721,7 +3789,7 @@ var DateRangePicker = React50.forwardRef(
|
|
|
3721
3789
|
}
|
|
3722
3790
|
);
|
|
3723
3791
|
DateRangePicker.displayName = "DateRangePicker";
|
|
3724
|
-
var DateRangeSelect =
|
|
3792
|
+
var DateRangeSelect = React51.forwardRef(
|
|
3725
3793
|
({ value, onChange, presets = ["7d", "30d", "90d"], className }, ref) => {
|
|
3726
3794
|
return /* @__PURE__ */ jsx(
|
|
3727
3795
|
"select",
|
|
@@ -4060,7 +4128,7 @@ function FilePreview({
|
|
|
4060
4128
|
/* @__PURE__ */ jsx(CardContent, { children: content })
|
|
4061
4129
|
] });
|
|
4062
4130
|
}
|
|
4063
|
-
var SettingsNav =
|
|
4131
|
+
var SettingsNav = React51.forwardRef(
|
|
4064
4132
|
({ groups, LinkComponent, className, ...props }, ref) => {
|
|
4065
4133
|
const Link2 = LinkComponent || "a";
|
|
4066
4134
|
return /* @__PURE__ */ jsx("div", { ref, className: cn("space-y-8", className), ...props, children: groups.map((group) => /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -4091,7 +4159,7 @@ var SettingsNav = React50.forwardRef(
|
|
|
4091
4159
|
}
|
|
4092
4160
|
);
|
|
4093
4161
|
SettingsNav.displayName = "SettingsNav";
|
|
4094
|
-
var SettingsNavLink =
|
|
4162
|
+
var SettingsNavLink = React51.forwardRef(
|
|
4095
4163
|
({ title, description, icon, href, LinkComponent, className, ...props }, ref) => {
|
|
4096
4164
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4097
4165
|
icon && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center w-10 h-10 rounded-sm bg-gray-100 group-hover:bg-[var(--cyan)]/10 transition-colors", children: /* @__PURE__ */ jsx("span", { className: "text-gray-600 group-hover:text-[var(--cyan)] transition-colors [&>svg]:w-5 [&>svg]:h-5", children: icon }) }),
|
|
@@ -4226,11 +4294,11 @@ function ScenarioDialog({
|
|
|
4226
4294
|
onSave,
|
|
4227
4295
|
isLoading
|
|
4228
4296
|
}) {
|
|
4229
|
-
const [type, setType] =
|
|
4230
|
-
const [situation, setSituation] =
|
|
4231
|
-
const [action, setAction] =
|
|
4232
|
-
const [isSaving, setIsSaving] =
|
|
4233
|
-
|
|
4297
|
+
const [type, setType] = React51.useState(scenario?.type || "escalation");
|
|
4298
|
+
const [situation, setSituation] = React51.useState(scenario?.situation || "");
|
|
4299
|
+
const [action, setAction] = React51.useState(scenario?.action || "");
|
|
4300
|
+
const [isSaving, setIsSaving] = React51.useState(false);
|
|
4301
|
+
React51.useEffect(() => {
|
|
4234
4302
|
if (open) {
|
|
4235
4303
|
setType(scenario?.type || "escalation");
|
|
4236
4304
|
setSituation(scenario?.situation || "");
|
|
@@ -4318,12 +4386,14 @@ function ScenariosManager({
|
|
|
4318
4386
|
isLoading,
|
|
4319
4387
|
isComplete = false,
|
|
4320
4388
|
minScenariosToComplete = 1,
|
|
4389
|
+
defaultExpanded = true,
|
|
4321
4390
|
className
|
|
4322
4391
|
}) {
|
|
4323
|
-
const [dialogOpen, setDialogOpen] =
|
|
4324
|
-
const [editingScenario, setEditingScenario] =
|
|
4325
|
-
const [deletingId, setDeletingId] =
|
|
4326
|
-
const [isCompleting, setIsCompleting] =
|
|
4392
|
+
const [dialogOpen, setDialogOpen] = React51.useState(false);
|
|
4393
|
+
const [editingScenario, setEditingScenario] = React51.useState(null);
|
|
4394
|
+
const [deletingId, setDeletingId] = React51.useState(null);
|
|
4395
|
+
const [isCompleting, setIsCompleting] = React51.useState(false);
|
|
4396
|
+
const [isExpanded, setIsExpanded] = React51.useState(defaultExpanded);
|
|
4327
4397
|
const canComplete = scenarios.length >= minScenariosToComplete && !isComplete && onComplete;
|
|
4328
4398
|
const handleAddClick = () => {
|
|
4329
4399
|
setEditingScenario(null);
|
|
@@ -4366,74 +4436,85 @@ function ScenariosManager({
|
|
|
4366
4436
|
)
|
|
4367
4437
|
);
|
|
4368
4438
|
return /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", className), children: [
|
|
4369
|
-
/* @__PURE__ */ jsxs(
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4439
|
+
/* @__PURE__ */ jsxs(
|
|
4440
|
+
"button",
|
|
4441
|
+
{
|
|
4442
|
+
type: "button",
|
|
4443
|
+
onClick: () => setIsExpanded(!isExpanded),
|
|
4444
|
+
className: "w-full flex items-center justify-between hover:bg-muted/30 -mx-2 px-2 py-1 rounded-sm transition-colors",
|
|
4445
|
+
children: [
|
|
4446
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
4447
|
+
/* @__PURE__ */ jsx("div", { className: "w-10 h-10 rounded-sm bg-[var(--cyan)]/10 flex items-center justify-center", children: /* @__PURE__ */ jsx(Lightning, { size: 20, weight: "fill", className: "text-[var(--cyan)]" }) }),
|
|
4448
|
+
/* @__PURE__ */ jsxs("div", { className: "text-left", children: [
|
|
4449
|
+
/* @__PURE__ */ jsx("h3", { className: "font-semibold text-[var(--black)]", children: "Scenarios" }),
|
|
4450
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: scenarios.length === 0 ? "Define rules for edge cases and escalations" : `${scenarios.length} scenario${scenarios.length === 1 ? "" : "s"} defined` })
|
|
4451
|
+
] })
|
|
4452
|
+
] }),
|
|
4453
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
4454
|
+
isComplete && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 text-[var(--cyan)]", children: [
|
|
4455
|
+
/* @__PURE__ */ jsx(CheckCircle, { size: 16, weight: "fill" }),
|
|
4456
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: "Complete" })
|
|
4457
|
+
] }),
|
|
4458
|
+
isExpanded ? /* @__PURE__ */ jsx(CaretUp, { size: 20, className: "text-muted-foreground" }) : /* @__PURE__ */ jsx(CaretDown, { size: 20, className: "text-muted-foreground" })
|
|
4459
|
+
] })
|
|
4460
|
+
]
|
|
4461
|
+
}
|
|
4462
|
+
),
|
|
4463
|
+
isExpanded && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
4464
|
+
/* @__PURE__ */ jsx("div", { className: "flex justify-end", children: /* @__PURE__ */ jsxs(Button, { variant: "outline", size: "sm", onClick: handleAddClick, children: [
|
|
4378
4465
|
/* @__PURE__ */ jsx(Plus, { size: 16, className: "mr-1" }),
|
|
4379
4466
|
"Add scenario"
|
|
4380
|
-
] })
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
ScenarioCard,
|
|
4384
|
-
{
|
|
4385
|
-
scenario,
|
|
4386
|
-
onEdit: () => handleEditClick(scenario),
|
|
4387
|
-
onDelete: () => handleDelete(scenario.id)
|
|
4388
|
-
},
|
|
4389
|
-
scenario.id
|
|
4390
|
-
)) }),
|
|
4391
|
-
scenarios.length === 0 && /* @__PURE__ */ jsxs("div", { className: "border border-dashed border-border rounded-sm p-8 text-center", children: [
|
|
4392
|
-
/* @__PURE__ */ jsx("div", { className: "w-12 h-12 rounded-sm bg-muted flex items-center justify-center mx-auto mb-3", children: /* @__PURE__ */ jsx(Lightning, { size: 24, className: "text-muted-foreground" }) }),
|
|
4393
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-4", children: "No scenarios yet. Add rules for how the worker should handle edge cases." }),
|
|
4394
|
-
/* @__PURE__ */ jsxs(Button, { variant: "outline", size: "sm", onClick: handleAddClick, children: [
|
|
4395
|
-
/* @__PURE__ */ jsx(Plus, { size: 16, className: "mr-1.5" }),
|
|
4396
|
-
"Add your first scenario"
|
|
4397
|
-
] })
|
|
4398
|
-
] }),
|
|
4399
|
-
filteredSuggestions.length > 0 && !isComplete && /* @__PURE__ */ jsxs("div", { className: "pt-2", children: [
|
|
4400
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground mb-2", children: "Suggested scenarios:" }),
|
|
4401
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: filteredSuggestions.map((suggestion, index) => /* @__PURE__ */ jsx(
|
|
4402
|
-
SuggestionChip,
|
|
4467
|
+
] }) }),
|
|
4468
|
+
scenarios.length > 0 && /* @__PURE__ */ jsx("div", { className: "grid gap-3", children: scenarios.map((scenario) => /* @__PURE__ */ jsx(
|
|
4469
|
+
ScenarioCard,
|
|
4403
4470
|
{
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4471
|
+
scenario,
|
|
4472
|
+
onEdit: () => handleEditClick(scenario),
|
|
4473
|
+
onDelete: () => handleDelete(scenario.id)
|
|
4407
4474
|
},
|
|
4408
|
-
|
|
4409
|
-
)) })
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
/* @__PURE__ */
|
|
4414
|
-
|
|
4475
|
+
scenario.id
|
|
4476
|
+
)) }),
|
|
4477
|
+
scenarios.length === 0 && /* @__PURE__ */ jsxs("div", { className: "border border-dashed border-border rounded-sm p-8 text-center", children: [
|
|
4478
|
+
/* @__PURE__ */ jsx("div", { className: "w-12 h-12 rounded-sm bg-muted flex items-center justify-center mx-auto mb-3", children: /* @__PURE__ */ jsx(Lightning, { size: 24, className: "text-muted-foreground" }) }),
|
|
4479
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground mb-4", children: "No scenarios yet. Add rules for how the worker should handle edge cases." }),
|
|
4480
|
+
/* @__PURE__ */ jsxs(Button, { variant: "outline", size: "sm", onClick: handleAddClick, children: [
|
|
4481
|
+
/* @__PURE__ */ jsx(Plus, { size: 16, className: "mr-1.5" }),
|
|
4482
|
+
"Add your first scenario"
|
|
4483
|
+
] })
|
|
4415
4484
|
] }),
|
|
4416
|
-
/* @__PURE__ */ jsxs(
|
|
4417
|
-
|
|
4418
|
-
{
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
]
|
|
4428
|
-
}
|
|
4429
|
-
)
|
|
4430
|
-
] }) }),
|
|
4431
|
-
isComplete && /* @__PURE__ */ jsxs("div", { className: "pt-4 border-t border-border", children: [
|
|
4432
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-[var(--cyan)]", children: [
|
|
4433
|
-
/* @__PURE__ */ jsx(CheckCircle, { size: 16, weight: "fill" }),
|
|
4434
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: "Scenarios completed" })
|
|
4485
|
+
filteredSuggestions.length > 0 && !isComplete && /* @__PURE__ */ jsxs("div", { className: "pt-2", children: [
|
|
4486
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground mb-2", children: "Suggested scenarios:" }),
|
|
4487
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: filteredSuggestions.map((suggestion, index) => /* @__PURE__ */ jsx(
|
|
4488
|
+
SuggestionChip,
|
|
4489
|
+
{
|
|
4490
|
+
suggestion,
|
|
4491
|
+
onAdd: () => handleSuggestionAdd(suggestion),
|
|
4492
|
+
disabled: isLoading
|
|
4493
|
+
},
|
|
4494
|
+
index
|
|
4495
|
+
)) })
|
|
4435
4496
|
] }),
|
|
4436
|
-
/* @__PURE__ */ jsx("
|
|
4497
|
+
canComplete && /* @__PURE__ */ jsx("div", { className: "pt-4 border-t border-border", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-4 bg-[var(--cyan)]/5 rounded-sm p-4 -mx-1", children: [
|
|
4498
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
4499
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-[var(--black)]", children: "Ready to proceed?" }),
|
|
4500
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground mt-0.5", children: "Mark your scenarios as complete to continue with the onboarding." })
|
|
4501
|
+
] }),
|
|
4502
|
+
/* @__PURE__ */ jsxs(
|
|
4503
|
+
Button,
|
|
4504
|
+
{
|
|
4505
|
+
onClick: handleComplete,
|
|
4506
|
+
disabled: isCompleting,
|
|
4507
|
+
loading: isCompleting,
|
|
4508
|
+
size: "sm",
|
|
4509
|
+
className: "shrink-0",
|
|
4510
|
+
children: [
|
|
4511
|
+
/* @__PURE__ */ jsx(Check, { size: 16, className: "mr-1.5" }),
|
|
4512
|
+
"Mark complete"
|
|
4513
|
+
]
|
|
4514
|
+
}
|
|
4515
|
+
)
|
|
4516
|
+
] }) }),
|
|
4517
|
+
isComplete && /* @__PURE__ */ jsx("div", { className: "pt-4 border-t border-border", children: /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: "You can still add or edit scenarios while we build your worker." }) })
|
|
4437
4518
|
] }),
|
|
4438
4519
|
/* @__PURE__ */ jsx(
|
|
4439
4520
|
ScenarioDialog,
|
|
@@ -6018,6 +6099,6 @@ function WorkflowViewer({
|
|
|
6018
6099
|
// src/index.ts
|
|
6019
6100
|
__reExport(index_exports, icons_exports);
|
|
6020
6101
|
|
|
6021
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityTimeline, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, BreadcrumbLink, Breadcrumbs, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, ConfirmDialog, DateRangePicker, DateRangeSelect, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, ErrorState, FilePreview, FormField, IconBox, ImpactMetricsForm, Input, Label2 as Label, LabeledSwitch, Logo, Metric, MetricCard, MetricLabel, MetricSubtext, MetricValue, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupCard, RadioGroupItem, RadioGroupOption, ScenariosManager, Select, Separator2 as Separator, SettingsNav, SettingsNavLink, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SimplePagination, SimpleTooltip, Skeleton, SkeletonCard, SkeletonText, Stat, StepDots, StepProgress, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsListUnderline, TabsTrigger, TabsTriggerUnderline, Tag, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastIcon, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, UsageBar, UsageChart, WorkflowFlow, WorkflowViewer, alertVariants, badgeVariants, buttonVariants, cn, getDateRangeFromPreset, iconBoxVariants, metricCardVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, toast, usageBarVariants, useToast, valueVariants };
|
|
6102
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActivityTimeline, Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, Avatar, AvatarFallback, AvatarImage, Badge, BreadcrumbLink, Breadcrumbs, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, ConfirmDialog, DateRangePicker, DateRangeSelect, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Divider, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, ErrorState, FilePreview, FormField, IconBox, ImpactMetricsForm, Input, Label2 as Label, LabeledSlider, LabeledSwitch, Logo, Metric, MetricCard, MetricLabel, MetricSubtext, MetricValue, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, Popover, PopoverAnchor, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, Progress, RadioGroup, RadioGroupCard, RadioGroupItem, RadioGroupOption, ScenariosManager, Select, Separator2 as Separator, SettingsNav, SettingsNavLink, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SimplePagination, SimpleTooltip, Skeleton, SkeletonCard, SkeletonText, Slider, Stat, StepDots, StepProgress, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsListUnderline, TabsTrigger, TabsTriggerUnderline, Tag, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastIcon, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, UsageBar, UsageChart, WorkflowFlow, WorkflowViewer, alertVariants, badgeVariants, buttonVariants, cn, getDateRangeFromPreset, iconBoxVariants, metricCardVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, toast, usageBarVariants, useToast, valueVariants };
|
|
6022
6103
|
//# sourceMappingURL=index.mjs.map
|
|
6023
6104
|
//# sourceMappingURL=index.mjs.map
|