@dilipod/ui 0.4.17 → 0.4.18
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/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 +249 -178
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +206 -138
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -17
- package/src/components/slider.tsx +101 -0
- package/src/index.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var React51 = require('react');
|
|
5
5
|
var react = require('@xyflow/react');
|
|
6
6
|
require('@xyflow/react/dist/style.css');
|
|
7
7
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -13,6 +13,7 @@ var SheetPrimitive = require('@radix-ui/react-dialog');
|
|
|
13
13
|
var react_star = require('@phosphor-icons/react');
|
|
14
14
|
require('react-dom');
|
|
15
15
|
var SwitchPrimitive = require('@radix-ui/react-switch');
|
|
16
|
+
var SliderPrimitive = require('@radix-ui/react-slider');
|
|
16
17
|
var RadioGroupPrimitive = require('@radix-ui/react-radio-group');
|
|
17
18
|
var AccordionPrimitive = require('@radix-ui/react-accordion');
|
|
18
19
|
var NavigationMenuPrimitive = require('@radix-ui/react-navigation-menu');
|
|
@@ -42,10 +43,11 @@ function _interopNamespace(e) {
|
|
|
42
43
|
return Object.freeze(n);
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
var
|
|
46
|
+
var React51__namespace = /*#__PURE__*/_interopNamespace(React51);
|
|
46
47
|
var SheetPrimitive__namespace = /*#__PURE__*/_interopNamespace(SheetPrimitive);
|
|
47
48
|
var react_star__namespace = /*#__PURE__*/_interopNamespace(react_star);
|
|
48
49
|
var SwitchPrimitive__namespace = /*#__PURE__*/_interopNamespace(SwitchPrimitive);
|
|
50
|
+
var SliderPrimitive__namespace = /*#__PURE__*/_interopNamespace(SliderPrimitive);
|
|
49
51
|
var RadioGroupPrimitive__namespace = /*#__PURE__*/_interopNamespace(RadioGroupPrimitive);
|
|
50
52
|
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
51
53
|
var NavigationMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(NavigationMenuPrimitive);
|
|
@@ -124,7 +126,7 @@ function CustomNode({ data }) {
|
|
|
124
126
|
] });
|
|
125
127
|
}
|
|
126
128
|
function WorkflowFlow({ workflow, height = 350, className = "", platform = "n8n" }) {
|
|
127
|
-
const { initialNodes, initialEdges } =
|
|
129
|
+
const { initialNodes, initialEdges } = React51.useMemo(() => {
|
|
128
130
|
if (platform === "sim") {
|
|
129
131
|
const simWorkflow = workflow;
|
|
130
132
|
const blocks = simWorkflow.blocks || {};
|
|
@@ -429,6 +431,7 @@ __export(index_exports, {
|
|
|
429
431
|
ImpactMetricsForm: () => ImpactMetricsForm,
|
|
430
432
|
Input: () => Input,
|
|
431
433
|
Label: () => Label2,
|
|
434
|
+
LabeledSlider: () => LabeledSlider,
|
|
432
435
|
LabeledSwitch: () => LabeledSwitch,
|
|
433
436
|
Logo: () => Logo,
|
|
434
437
|
Metric: () => Metric,
|
|
@@ -477,6 +480,7 @@ __export(index_exports, {
|
|
|
477
480
|
Skeleton: () => Skeleton,
|
|
478
481
|
SkeletonCard: () => SkeletonCard,
|
|
479
482
|
SkeletonText: () => SkeletonText,
|
|
483
|
+
Slider: () => Slider,
|
|
480
484
|
Stat: () => Stat,
|
|
481
485
|
StepDots: () => StepDots,
|
|
482
486
|
StepProgress: () => StepProgress,
|
|
@@ -560,7 +564,7 @@ var buttonVariants = classVarianceAuthority.cva(
|
|
|
560
564
|
}
|
|
561
565
|
}
|
|
562
566
|
);
|
|
563
|
-
var Button =
|
|
567
|
+
var Button = React51__namespace.forwardRef(
|
|
564
568
|
({ className, variant, size, asChild = false, loading, loadingText, icon, iconAfter, children, disabled, ...props }, ref) => {
|
|
565
569
|
const Comp = asChild ? reactSlot.Slot : "button";
|
|
566
570
|
const isDisabled = disabled || loading;
|
|
@@ -632,7 +636,7 @@ var Sheet = SheetPrimitive__namespace.Root;
|
|
|
632
636
|
var SheetTrigger = SheetPrimitive__namespace.Trigger;
|
|
633
637
|
var SheetClose = SheetPrimitive__namespace.Close;
|
|
634
638
|
var SheetPortal = SheetPrimitive__namespace.Portal;
|
|
635
|
-
var SheetOverlay =
|
|
639
|
+
var SheetOverlay = React51__namespace.forwardRef(({ className, ...props }, ref) => (
|
|
636
640
|
// @ts-ignore - Radix Dialog Overlay accepts className at runtime
|
|
637
641
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
638
642
|
SheetPrimitive__namespace.Overlay,
|
|
@@ -663,7 +667,7 @@ var sheetVariants = classVarianceAuthority.cva(
|
|
|
663
667
|
}
|
|
664
668
|
}
|
|
665
669
|
);
|
|
666
|
-
var SheetContent =
|
|
670
|
+
var SheetContent = React51__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(SheetPortal, { children: [
|
|
667
671
|
/* @__PURE__ */ jsxRuntime.jsx(SheetOverlay, {}),
|
|
668
672
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
669
673
|
SheetPrimitive__namespace.Content,
|
|
@@ -710,7 +714,7 @@ var SheetFooter = ({
|
|
|
710
714
|
}
|
|
711
715
|
);
|
|
712
716
|
SheetFooter.displayName = "SheetFooter";
|
|
713
|
-
var SheetTitle =
|
|
717
|
+
var SheetTitle = React51__namespace.forwardRef(({ className, ...props }, ref) => (
|
|
714
718
|
// @ts-ignore - Radix Dialog Title accepts className at runtime
|
|
715
719
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
716
720
|
SheetPrimitive__namespace.Title,
|
|
@@ -722,7 +726,7 @@ var SheetTitle = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
722
726
|
)
|
|
723
727
|
));
|
|
724
728
|
SheetTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
725
|
-
var SheetDescription =
|
|
729
|
+
var SheetDescription = React51__namespace.forwardRef(({ className, ...props }, ref) => (
|
|
726
730
|
// @ts-ignore - Radix Dialog Description accepts className at runtime
|
|
727
731
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
728
732
|
SheetPrimitive__namespace.Description,
|
|
@@ -822,7 +826,7 @@ var badgeVariants = classVarianceAuthority.cva(
|
|
|
822
826
|
}
|
|
823
827
|
}
|
|
824
828
|
);
|
|
825
|
-
var Badge =
|
|
829
|
+
var Badge = React51__namespace.forwardRef(
|
|
826
830
|
({ className, variant, size, pulse, pulseColor: pulseColorProp, children, ...props }, ref) => {
|
|
827
831
|
const getPulseColorClass = () => {
|
|
828
832
|
const color = pulseColorProp || variant || "default";
|
|
@@ -876,7 +880,7 @@ var Badge = React50__namespace.forwardRef(
|
|
|
876
880
|
}
|
|
877
881
|
);
|
|
878
882
|
Badge.displayName = "Badge";
|
|
879
|
-
var Card =
|
|
883
|
+
var Card = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
880
884
|
"div",
|
|
881
885
|
{
|
|
882
886
|
ref,
|
|
@@ -888,7 +892,7 @@ var Card = React50__namespace.forwardRef(({ className, ...props }, ref) => /* @_
|
|
|
888
892
|
}
|
|
889
893
|
));
|
|
890
894
|
Card.displayName = "Card";
|
|
891
|
-
var CardHeader =
|
|
895
|
+
var CardHeader = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
892
896
|
"div",
|
|
893
897
|
{
|
|
894
898
|
ref,
|
|
@@ -897,7 +901,7 @@ var CardHeader = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
897
901
|
}
|
|
898
902
|
));
|
|
899
903
|
CardHeader.displayName = "CardHeader";
|
|
900
|
-
var CardTitle =
|
|
904
|
+
var CardTitle = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
901
905
|
"h3",
|
|
902
906
|
{
|
|
903
907
|
ref,
|
|
@@ -909,7 +913,7 @@ var CardTitle = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
909
913
|
}
|
|
910
914
|
));
|
|
911
915
|
CardTitle.displayName = "CardTitle";
|
|
912
|
-
var CardDescription =
|
|
916
|
+
var CardDescription = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
913
917
|
"p",
|
|
914
918
|
{
|
|
915
919
|
ref,
|
|
@@ -918,9 +922,9 @@ var CardDescription = React50__namespace.forwardRef(({ className, ...props }, re
|
|
|
918
922
|
}
|
|
919
923
|
));
|
|
920
924
|
CardDescription.displayName = "CardDescription";
|
|
921
|
-
var CardContent =
|
|
925
|
+
var CardContent = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
|
|
922
926
|
CardContent.displayName = "CardContent";
|
|
923
|
-
var CardFooter =
|
|
927
|
+
var CardFooter = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
924
928
|
"div",
|
|
925
929
|
{
|
|
926
930
|
ref,
|
|
@@ -943,7 +947,7 @@ var progressVariants = classVarianceAuthority.cva("h-full rounded-full transitio
|
|
|
943
947
|
variant: "default"
|
|
944
948
|
}
|
|
945
949
|
});
|
|
946
|
-
var Progress =
|
|
950
|
+
var Progress = React51__namespace.forwardRef(
|
|
947
951
|
({ className, value, variant, showLabel, label = "Progress", size = "default", ...props }, ref) => {
|
|
948
952
|
const clampedValue = Math.min(100, Math.max(0, value));
|
|
949
953
|
const heightClass = {
|
|
@@ -1010,7 +1014,7 @@ var iconBoxVariants = classVarianceAuthority.cva(
|
|
|
1010
1014
|
}
|
|
1011
1015
|
}
|
|
1012
1016
|
);
|
|
1013
|
-
var IconBox =
|
|
1017
|
+
var IconBox = React51__namespace.forwardRef(
|
|
1014
1018
|
({ className, variant, size, rounded, children, ...props }, ref) => {
|
|
1015
1019
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1016
1020
|
"div",
|
|
@@ -1046,7 +1050,7 @@ var tagVariants = classVarianceAuthority.cva(
|
|
|
1046
1050
|
}
|
|
1047
1051
|
}
|
|
1048
1052
|
);
|
|
1049
|
-
var Tag =
|
|
1053
|
+
var Tag = React51__namespace.forwardRef(
|
|
1050
1054
|
({ className, variant, size, icon, children, ...props }, ref) => {
|
|
1051
1055
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1052
1056
|
"span",
|
|
@@ -1100,7 +1104,7 @@ var valueVariants = classVarianceAuthority.cva("font-bold", {
|
|
|
1100
1104
|
color: "default"
|
|
1101
1105
|
}
|
|
1102
1106
|
});
|
|
1103
|
-
var Stat =
|
|
1107
|
+
var Stat = React51__namespace.forwardRef(
|
|
1104
1108
|
({
|
|
1105
1109
|
className,
|
|
1106
1110
|
variant,
|
|
@@ -1182,7 +1186,7 @@ var iconVariants = classVarianceAuthority.cva("h-5 w-5", {
|
|
|
1182
1186
|
color: "cyan"
|
|
1183
1187
|
}
|
|
1184
1188
|
});
|
|
1185
|
-
var MetricCard =
|
|
1189
|
+
var MetricCard = React51__namespace.forwardRef(
|
|
1186
1190
|
({
|
|
1187
1191
|
className,
|
|
1188
1192
|
variant,
|
|
@@ -1215,7 +1219,7 @@ var MetricCard = React50__namespace.forwardRef(
|
|
|
1215
1219
|
}
|
|
1216
1220
|
);
|
|
1217
1221
|
MetricCard.displayName = "MetricCard";
|
|
1218
|
-
var MetricLabel =
|
|
1222
|
+
var MetricLabel = React51__namespace.forwardRef(
|
|
1219
1223
|
({ className, children, ...props }, ref) => {
|
|
1220
1224
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1221
1225
|
"p",
|
|
@@ -1232,7 +1236,7 @@ var MetricLabel = React50__namespace.forwardRef(
|
|
|
1232
1236
|
}
|
|
1233
1237
|
);
|
|
1234
1238
|
MetricLabel.displayName = "MetricLabel";
|
|
1235
|
-
var MetricValue =
|
|
1239
|
+
var MetricValue = React51__namespace.forwardRef(
|
|
1236
1240
|
({ className, children, size = "default", highlight = false, ...props }, ref) => {
|
|
1237
1241
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
1242
|
"p",
|
|
@@ -1253,7 +1257,7 @@ var MetricValue = React50__namespace.forwardRef(
|
|
|
1253
1257
|
}
|
|
1254
1258
|
);
|
|
1255
1259
|
MetricValue.displayName = "MetricValue";
|
|
1256
|
-
var MetricSubtext =
|
|
1260
|
+
var MetricSubtext = React51__namespace.forwardRef(
|
|
1257
1261
|
({ className, children, ...props }, ref) => {
|
|
1258
1262
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1259
1263
|
"p",
|
|
@@ -1270,7 +1274,7 @@ var MetricSubtext = React50__namespace.forwardRef(
|
|
|
1270
1274
|
}
|
|
1271
1275
|
);
|
|
1272
1276
|
MetricSubtext.displayName = "MetricSubtext";
|
|
1273
|
-
var Metric =
|
|
1277
|
+
var Metric = React51__namespace.forwardRef(
|
|
1274
1278
|
({ className, children, ...props }, ref) => {
|
|
1275
1279
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1276
1280
|
"div",
|
|
@@ -1310,7 +1314,7 @@ var progressColorVariants = classVarianceAuthority.cva("", {
|
|
|
1310
1314
|
color: "cyan"
|
|
1311
1315
|
}
|
|
1312
1316
|
});
|
|
1313
|
-
var UsageBar =
|
|
1317
|
+
var UsageBar = React51__namespace.forwardRef(
|
|
1314
1318
|
({
|
|
1315
1319
|
className,
|
|
1316
1320
|
size,
|
|
@@ -1382,7 +1386,7 @@ var UsageBar = React50__namespace.forwardRef(
|
|
|
1382
1386
|
}
|
|
1383
1387
|
);
|
|
1384
1388
|
UsageBar.displayName = "UsageBar";
|
|
1385
|
-
var UsageChart =
|
|
1389
|
+
var UsageChart = React51__namespace.forwardRef(
|
|
1386
1390
|
({
|
|
1387
1391
|
className,
|
|
1388
1392
|
data,
|
|
@@ -1393,8 +1397,8 @@ var UsageChart = React50__namespace.forwardRef(
|
|
|
1393
1397
|
formatValue = (v) => v.toLocaleString(),
|
|
1394
1398
|
...props
|
|
1395
1399
|
}, ref) => {
|
|
1396
|
-
const [hoveredIndex, setHoveredIndex] =
|
|
1397
|
-
const maxValue =
|
|
1400
|
+
const [hoveredIndex, setHoveredIndex] = React51__namespace.useState(null);
|
|
1401
|
+
const maxValue = React51__namespace.useMemo(() => {
|
|
1398
1402
|
return Math.max(
|
|
1399
1403
|
...data.map((d) => d.value + (d.secondaryValue || 0)),
|
|
1400
1404
|
1
|
|
@@ -1521,7 +1525,7 @@ var UsageChart = React50__namespace.forwardRef(
|
|
|
1521
1525
|
}
|
|
1522
1526
|
);
|
|
1523
1527
|
UsageChart.displayName = "UsageChart";
|
|
1524
|
-
var Input =
|
|
1528
|
+
var Input = React51__namespace.forwardRef(
|
|
1525
1529
|
({ className, type, error, ...props }, ref) => {
|
|
1526
1530
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1527
1531
|
"input",
|
|
@@ -1561,7 +1565,7 @@ var NODES = [
|
|
|
1561
1565
|
];
|
|
1562
1566
|
var Primitive = NODES.reduce((primitive, node) => {
|
|
1563
1567
|
const Slot2 = reactSlot.createSlot(`Primitive.${node}`);
|
|
1564
|
-
const Node2 =
|
|
1568
|
+
const Node2 = React51__namespace.forwardRef((props, forwardedRef) => {
|
|
1565
1569
|
const { asChild, ...primitiveProps } = props;
|
|
1566
1570
|
const Comp = asChild ? Slot2 : node;
|
|
1567
1571
|
if (typeof window !== "undefined") {
|
|
@@ -1573,7 +1577,7 @@ var Primitive = NODES.reduce((primitive, node) => {
|
|
|
1573
1577
|
return { ...primitive, [node]: Node2 };
|
|
1574
1578
|
}, {});
|
|
1575
1579
|
var NAME = "Label";
|
|
1576
|
-
var Label =
|
|
1580
|
+
var Label = React51__namespace.forwardRef((props, forwardedRef) => {
|
|
1577
1581
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1578
1582
|
Primitive.label,
|
|
1579
1583
|
{
|
|
@@ -1593,7 +1597,7 @@ var Root2 = Label;
|
|
|
1593
1597
|
var labelVariants = classVarianceAuthority.cva(
|
|
1594
1598
|
"text-sm font-medium leading-none text-[var(--black)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
1595
1599
|
);
|
|
1596
|
-
var Label2 =
|
|
1600
|
+
var Label2 = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1597
1601
|
Root2,
|
|
1598
1602
|
{
|
|
1599
1603
|
ref,
|
|
@@ -1602,7 +1606,7 @@ var Label2 = React50__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
1602
1606
|
}
|
|
1603
1607
|
));
|
|
1604
1608
|
Label2.displayName = Root2.displayName;
|
|
1605
|
-
var Textarea =
|
|
1609
|
+
var Textarea = React51__namespace.forwardRef(
|
|
1606
1610
|
({ className, error, ...props }, ref) => {
|
|
1607
1611
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1608
1612
|
"textarea",
|
|
@@ -1620,7 +1624,7 @@ var Textarea = React50__namespace.forwardRef(
|
|
|
1620
1624
|
}
|
|
1621
1625
|
);
|
|
1622
1626
|
Textarea.displayName = "Textarea";
|
|
1623
|
-
var Select =
|
|
1627
|
+
var Select = React51__namespace.forwardRef(
|
|
1624
1628
|
({ className, error, children, ...props }, ref) => {
|
|
1625
1629
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
1626
1630
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1656,7 +1660,7 @@ Select.displayName = "Select";
|
|
|
1656
1660
|
// src/icons.ts
|
|
1657
1661
|
var icons_exports = {};
|
|
1658
1662
|
__reExport(icons_exports, react_star__namespace);
|
|
1659
|
-
var Checkbox =
|
|
1663
|
+
var Checkbox = React51__namespace.forwardRef(
|
|
1660
1664
|
({ className, checked, onCheckedChange, ...props }, ref) => {
|
|
1661
1665
|
return /* @__PURE__ */ jsxRuntime.jsxs("label", { className: "relative inline-flex items-center cursor-pointer", children: [
|
|
1662
1666
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1687,7 +1691,7 @@ var Checkbox = React50__namespace.forwardRef(
|
|
|
1687
1691
|
}
|
|
1688
1692
|
);
|
|
1689
1693
|
Checkbox.displayName = "Checkbox";
|
|
1690
|
-
var Switch =
|
|
1694
|
+
var Switch = React51__namespace.forwardRef(({ className, size = "default", ...props }, ref) => {
|
|
1691
1695
|
const sizeStyles = {
|
|
1692
1696
|
sm: {
|
|
1693
1697
|
root: "h-4 w-7",
|
|
@@ -1725,8 +1729,8 @@ var Switch = React50__namespace.forwardRef(({ className, size = "default", ...pr
|
|
|
1725
1729
|
);
|
|
1726
1730
|
});
|
|
1727
1731
|
Switch.displayName = SwitchPrimitive__namespace.Root.displayName;
|
|
1728
|
-
var LabeledSwitch =
|
|
1729
|
-
const switchId = id ||
|
|
1732
|
+
var LabeledSwitch = React51__namespace.forwardRef(({ label, description, labelPosition = "right", className, id, ...props }, ref) => {
|
|
1733
|
+
const switchId = id || React51__namespace.useId();
|
|
1730
1734
|
const labelContent = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0.5", children: [
|
|
1731
1735
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1732
1736
|
"label",
|
|
@@ -1754,7 +1758,72 @@ var LabeledSwitch = React50__namespace.forwardRef(({ label, description, labelPo
|
|
|
1754
1758
|
);
|
|
1755
1759
|
});
|
|
1756
1760
|
LabeledSwitch.displayName = "LabeledSwitch";
|
|
1757
|
-
var
|
|
1761
|
+
var Slider = React51__namespace.forwardRef(({ className, showValue, formatValue, size = "default", ...props }, ref) => {
|
|
1762
|
+
const value = props.value ?? props.defaultValue ?? [0];
|
|
1763
|
+
const currentValue = Array.isArray(value) ? value[0] : value;
|
|
1764
|
+
const sizeStyles = {
|
|
1765
|
+
sm: {
|
|
1766
|
+
track: "h-1",
|
|
1767
|
+
thumb: "h-3.5 w-3.5"
|
|
1768
|
+
},
|
|
1769
|
+
default: {
|
|
1770
|
+
track: "h-1.5",
|
|
1771
|
+
thumb: "h-4 w-4"
|
|
1772
|
+
},
|
|
1773
|
+
lg: {
|
|
1774
|
+
track: "h-2",
|
|
1775
|
+
thumb: "h-5 w-5"
|
|
1776
|
+
}
|
|
1777
|
+
};
|
|
1778
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-3", showValue && "pr-12 relative"), children: [
|
|
1779
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1780
|
+
SliderPrimitive__namespace.Root,
|
|
1781
|
+
{
|
|
1782
|
+
ref,
|
|
1783
|
+
className: cn(
|
|
1784
|
+
"relative flex w-full touch-none select-none items-center",
|
|
1785
|
+
className
|
|
1786
|
+
),
|
|
1787
|
+
...props,
|
|
1788
|
+
children: [
|
|
1789
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1790
|
+
SliderPrimitive__namespace.Track,
|
|
1791
|
+
{
|
|
1792
|
+
className: cn(
|
|
1793
|
+
"relative w-full grow overflow-hidden rounded-full bg-gray-200",
|
|
1794
|
+
sizeStyles[size].track
|
|
1795
|
+
),
|
|
1796
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(SliderPrimitive__namespace.Range, { className: "absolute h-full bg-[var(--cyan)]" })
|
|
1797
|
+
}
|
|
1798
|
+
),
|
|
1799
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1800
|
+
SliderPrimitive__namespace.Thumb,
|
|
1801
|
+
{
|
|
1802
|
+
className: cn(
|
|
1803
|
+
"block rounded-full border-2 border-[var(--cyan)] bg-white shadow-md ring-offset-background transition-colors",
|
|
1804
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--cyan)] focus-visible:ring-offset-2",
|
|
1805
|
+
"disabled:pointer-events-none disabled:opacity-50",
|
|
1806
|
+
"hover:border-[var(--cyan-dark,#00bfaa)] cursor-pointer",
|
|
1807
|
+
sizeStyles[size].thumb
|
|
1808
|
+
)
|
|
1809
|
+
}
|
|
1810
|
+
)
|
|
1811
|
+
]
|
|
1812
|
+
}
|
|
1813
|
+
),
|
|
1814
|
+
showValue && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute right-0 text-sm font-mono text-[var(--black)] min-w-[3rem] text-right", children: formatValue ? formatValue(currentValue) : currentValue })
|
|
1815
|
+
] });
|
|
1816
|
+
});
|
|
1817
|
+
Slider.displayName = SliderPrimitive__namespace.Root.displayName;
|
|
1818
|
+
var LabeledSlider = React51__namespace.forwardRef(({ label, helperText, className, ...props }, ref) => {
|
|
1819
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-2", className), children: [
|
|
1820
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { className: "text-sm font-medium leading-none text-[var(--black)]", children: label }),
|
|
1821
|
+
/* @__PURE__ */ jsxRuntime.jsx(Slider, { ref, ...props }),
|
|
1822
|
+
helperText && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-muted-foreground", children: helperText })
|
|
1823
|
+
] });
|
|
1824
|
+
});
|
|
1825
|
+
LabeledSlider.displayName = "LabeledSlider";
|
|
1826
|
+
var RadioGroup = React51__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1758
1827
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1759
1828
|
RadioGroupPrimitive__namespace.Root,
|
|
1760
1829
|
{
|
|
@@ -1765,7 +1834,7 @@ var RadioGroup = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
1765
1834
|
);
|
|
1766
1835
|
});
|
|
1767
1836
|
RadioGroup.displayName = RadioGroupPrimitive__namespace.Root.displayName;
|
|
1768
|
-
var RadioGroupItem =
|
|
1837
|
+
var RadioGroupItem = React51__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
1769
1838
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1770
1839
|
RadioGroupPrimitive__namespace.Item,
|
|
1771
1840
|
{
|
|
@@ -1780,8 +1849,8 @@ var RadioGroupItem = React50__namespace.forwardRef(({ className, ...props }, ref
|
|
|
1780
1849
|
);
|
|
1781
1850
|
});
|
|
1782
1851
|
RadioGroupItem.displayName = RadioGroupPrimitive__namespace.Item.displayName;
|
|
1783
|
-
var RadioGroupOption =
|
|
1784
|
-
const optionId = id ||
|
|
1852
|
+
var RadioGroupOption = React51__namespace.forwardRef(({ label, description, className, id, ...props }, ref) => {
|
|
1853
|
+
const optionId = id || React51__namespace.useId();
|
|
1785
1854
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-start gap-3", className), children: [
|
|
1786
1855
|
/* @__PURE__ */ jsxRuntime.jsx(RadioGroupItem, { ref, id: optionId, ...props }),
|
|
1787
1856
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-0.5", children: [
|
|
@@ -1798,8 +1867,8 @@ var RadioGroupOption = React50__namespace.forwardRef(({ label, description, clas
|
|
|
1798
1867
|
] });
|
|
1799
1868
|
});
|
|
1800
1869
|
RadioGroupOption.displayName = "RadioGroupOption";
|
|
1801
|
-
var RadioGroupCard =
|
|
1802
|
-
const cardId = id ||
|
|
1870
|
+
var RadioGroupCard = React51__namespace.forwardRef(({ label, description, children, className, id, ...props }, ref) => {
|
|
1871
|
+
const cardId = id || React51__namespace.useId();
|
|
1803
1872
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1804
1873
|
RadioGroupPrimitive__namespace.Item,
|
|
1805
1874
|
{
|
|
@@ -1830,7 +1899,7 @@ var RadioGroupCard = React50__namespace.forwardRef(({ label, description, childr
|
|
|
1830
1899
|
});
|
|
1831
1900
|
RadioGroupCard.displayName = "RadioGroupCard";
|
|
1832
1901
|
var Accordion = AccordionPrimitive__namespace.Root;
|
|
1833
|
-
var AccordionItem =
|
|
1902
|
+
var AccordionItem = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1834
1903
|
AccordionPrimitive__namespace.Item,
|
|
1835
1904
|
{
|
|
1836
1905
|
ref,
|
|
@@ -1839,7 +1908,7 @@ var AccordionItem = React50__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
1839
1908
|
}
|
|
1840
1909
|
));
|
|
1841
1910
|
AccordionItem.displayName = "AccordionItem";
|
|
1842
|
-
var AccordionTrigger =
|
|
1911
|
+
var AccordionTrigger = React51__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1843
1912
|
AccordionPrimitive__namespace.Trigger,
|
|
1844
1913
|
{
|
|
1845
1914
|
ref,
|
|
@@ -1855,7 +1924,7 @@ var AccordionTrigger = React50__namespace.forwardRef(({ className, children, ...
|
|
|
1855
1924
|
}
|
|
1856
1925
|
) }));
|
|
1857
1926
|
AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
|
|
1858
|
-
var AccordionContent =
|
|
1927
|
+
var AccordionContent = React51__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1859
1928
|
AccordionPrimitive__namespace.Content,
|
|
1860
1929
|
{
|
|
1861
1930
|
ref,
|
|
@@ -1886,7 +1955,7 @@ var NODES2 = [
|
|
|
1886
1955
|
];
|
|
1887
1956
|
var Primitive2 = NODES2.reduce((primitive, node) => {
|
|
1888
1957
|
const Slot2 = reactSlot.createSlot(`Primitive.${node}`);
|
|
1889
|
-
const Node2 =
|
|
1958
|
+
const Node2 = React51__namespace.forwardRef((props, forwardedRef) => {
|
|
1890
1959
|
const { asChild, ...primitiveProps } = props;
|
|
1891
1960
|
const Comp = asChild ? Slot2 : node;
|
|
1892
1961
|
if (typeof window !== "undefined") {
|
|
@@ -1900,7 +1969,7 @@ var Primitive2 = NODES2.reduce((primitive, node) => {
|
|
|
1900
1969
|
var NAME2 = "Separator";
|
|
1901
1970
|
var DEFAULT_ORIENTATION = "horizontal";
|
|
1902
1971
|
var ORIENTATIONS = ["horizontal", "vertical"];
|
|
1903
|
-
var Separator =
|
|
1972
|
+
var Separator = React51__namespace.forwardRef((props, forwardedRef) => {
|
|
1904
1973
|
const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
|
|
1905
1974
|
const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
|
|
1906
1975
|
const ariaOrientation = orientation === "vertical" ? orientation : void 0;
|
|
@@ -1919,10 +1988,10 @@ Separator.displayName = NAME2;
|
|
|
1919
1988
|
function isValidOrientation(orientation) {
|
|
1920
1989
|
return ORIENTATIONS.includes(orientation);
|
|
1921
1990
|
}
|
|
1922
|
-
var
|
|
1923
|
-
var Separator2 =
|
|
1991
|
+
var Root7 = Separator;
|
|
1992
|
+
var Separator2 = React51__namespace.forwardRef(
|
|
1924
1993
|
({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1925
|
-
|
|
1994
|
+
Root7,
|
|
1926
1995
|
{
|
|
1927
1996
|
ref,
|
|
1928
1997
|
decorative,
|
|
@@ -1936,8 +2005,8 @@ var Separator2 = React50__namespace.forwardRef(
|
|
|
1936
2005
|
}
|
|
1937
2006
|
)
|
|
1938
2007
|
);
|
|
1939
|
-
Separator2.displayName =
|
|
1940
|
-
var NavigationMenu =
|
|
2008
|
+
Separator2.displayName = Root7.displayName;
|
|
2009
|
+
var NavigationMenu = React51__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1941
2010
|
NavigationMenuPrimitive__namespace.Root,
|
|
1942
2011
|
{
|
|
1943
2012
|
ref,
|
|
@@ -1953,7 +2022,7 @@ var NavigationMenu = React50__namespace.forwardRef(({ className, children, ...pr
|
|
|
1953
2022
|
}
|
|
1954
2023
|
));
|
|
1955
2024
|
NavigationMenu.displayName = NavigationMenuPrimitive__namespace.Root.displayName;
|
|
1956
|
-
var NavigationMenuList =
|
|
2025
|
+
var NavigationMenuList = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1957
2026
|
NavigationMenuPrimitive__namespace.List,
|
|
1958
2027
|
{
|
|
1959
2028
|
ref,
|
|
@@ -1969,7 +2038,7 @@ var NavigationMenuItem = NavigationMenuPrimitive__namespace.Item;
|
|
|
1969
2038
|
var navigationMenuTriggerStyle = classVarianceAuthority.cva(
|
|
1970
2039
|
"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"
|
|
1971
2040
|
);
|
|
1972
|
-
var NavigationMenuTrigger =
|
|
2041
|
+
var NavigationMenuTrigger = React51__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1973
2042
|
NavigationMenuPrimitive__namespace.Trigger,
|
|
1974
2043
|
{
|
|
1975
2044
|
ref,
|
|
@@ -1989,7 +2058,7 @@ var NavigationMenuTrigger = React50__namespace.forwardRef(({ className, children
|
|
|
1989
2058
|
}
|
|
1990
2059
|
));
|
|
1991
2060
|
NavigationMenuTrigger.displayName = NavigationMenuPrimitive__namespace.Trigger.displayName;
|
|
1992
|
-
var NavigationMenuContent =
|
|
2061
|
+
var NavigationMenuContent = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1993
2062
|
NavigationMenuPrimitive__namespace.Content,
|
|
1994
2063
|
{
|
|
1995
2064
|
ref,
|
|
@@ -2002,7 +2071,7 @@ var NavigationMenuContent = React50__namespace.forwardRef(({ className, ...props
|
|
|
2002
2071
|
));
|
|
2003
2072
|
NavigationMenuContent.displayName = NavigationMenuPrimitive__namespace.Content.displayName;
|
|
2004
2073
|
var NavigationMenuLink = NavigationMenuPrimitive__namespace.Link;
|
|
2005
|
-
var NavigationMenuViewport =
|
|
2074
|
+
var NavigationMenuViewport = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2006
2075
|
NavigationMenuPrimitive__namespace.Viewport,
|
|
2007
2076
|
{
|
|
2008
2077
|
className: cn(
|
|
@@ -2014,7 +2083,7 @@ var NavigationMenuViewport = React50__namespace.forwardRef(({ className, ...prop
|
|
|
2014
2083
|
}
|
|
2015
2084
|
) }));
|
|
2016
2085
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive__namespace.Viewport.displayName;
|
|
2017
|
-
var NavigationMenuIndicator =
|
|
2086
|
+
var NavigationMenuIndicator = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2018
2087
|
NavigationMenuPrimitive__namespace.Indicator,
|
|
2019
2088
|
{
|
|
2020
2089
|
ref,
|
|
@@ -2027,7 +2096,7 @@ var NavigationMenuIndicator = React50__namespace.forwardRef(({ className, ...pro
|
|
|
2027
2096
|
}
|
|
2028
2097
|
));
|
|
2029
2098
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive__namespace.Indicator.displayName;
|
|
2030
|
-
var Avatar =
|
|
2099
|
+
var Avatar = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2031
2100
|
AvatarPrimitive__namespace.Root,
|
|
2032
2101
|
{
|
|
2033
2102
|
ref,
|
|
@@ -2039,7 +2108,7 @@ var Avatar = React50__namespace.forwardRef(({ className, ...props }, ref) => /*
|
|
|
2039
2108
|
}
|
|
2040
2109
|
));
|
|
2041
2110
|
Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
|
|
2042
|
-
var AvatarImage =
|
|
2111
|
+
var AvatarImage = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2043
2112
|
AvatarPrimitive__namespace.Image,
|
|
2044
2113
|
{
|
|
2045
2114
|
ref,
|
|
@@ -2048,7 +2117,7 @@ var AvatarImage = React50__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2048
2117
|
}
|
|
2049
2118
|
));
|
|
2050
2119
|
AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
|
|
2051
|
-
var AvatarFallback =
|
|
2120
|
+
var AvatarFallback = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2052
2121
|
AvatarPrimitive__namespace.Fallback,
|
|
2053
2122
|
{
|
|
2054
2123
|
ref,
|
|
@@ -2066,7 +2135,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
|
|
|
2066
2135
|
var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
|
|
2067
2136
|
var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
|
|
2068
2137
|
var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
|
|
2069
|
-
var DropdownMenuSubTrigger =
|
|
2138
|
+
var DropdownMenuSubTrigger = React51__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2070
2139
|
DropdownMenuPrimitive__namespace.SubTrigger,
|
|
2071
2140
|
{
|
|
2072
2141
|
ref,
|
|
@@ -2083,7 +2152,7 @@ var DropdownMenuSubTrigger = React50__namespace.forwardRef(({ className, inset,
|
|
|
2083
2152
|
}
|
|
2084
2153
|
));
|
|
2085
2154
|
DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
|
|
2086
|
-
var DropdownMenuSubContent =
|
|
2155
|
+
var DropdownMenuSubContent = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2087
2156
|
DropdownMenuPrimitive__namespace.SubContent,
|
|
2088
2157
|
{
|
|
2089
2158
|
ref,
|
|
@@ -2095,7 +2164,7 @@ var DropdownMenuSubContent = React50__namespace.forwardRef(({ className, ...prop
|
|
|
2095
2164
|
}
|
|
2096
2165
|
));
|
|
2097
2166
|
DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
|
|
2098
|
-
var DropdownMenuContent =
|
|
2167
|
+
var DropdownMenuContent = React51__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2099
2168
|
DropdownMenuPrimitive__namespace.Content,
|
|
2100
2169
|
{
|
|
2101
2170
|
ref,
|
|
@@ -2108,7 +2177,7 @@ var DropdownMenuContent = React50__namespace.forwardRef(({ className, sideOffset
|
|
|
2108
2177
|
}
|
|
2109
2178
|
) }));
|
|
2110
2179
|
DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
|
|
2111
|
-
var DropdownMenuItem =
|
|
2180
|
+
var DropdownMenuItem = React51__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2112
2181
|
DropdownMenuPrimitive__namespace.Item,
|
|
2113
2182
|
{
|
|
2114
2183
|
ref,
|
|
@@ -2121,7 +2190,7 @@ var DropdownMenuItem = React50__namespace.forwardRef(({ className, inset, ...pro
|
|
|
2121
2190
|
}
|
|
2122
2191
|
));
|
|
2123
2192
|
DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
|
|
2124
|
-
var DropdownMenuCheckboxItem =
|
|
2193
|
+
var DropdownMenuCheckboxItem = React51__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2125
2194
|
DropdownMenuPrimitive__namespace.CheckboxItem,
|
|
2126
2195
|
{
|
|
2127
2196
|
ref,
|
|
@@ -2138,7 +2207,7 @@ var DropdownMenuCheckboxItem = React50__namespace.forwardRef(({ className, child
|
|
|
2138
2207
|
}
|
|
2139
2208
|
));
|
|
2140
2209
|
DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
|
|
2141
|
-
var DropdownMenuRadioItem =
|
|
2210
|
+
var DropdownMenuRadioItem = React51__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2142
2211
|
DropdownMenuPrimitive__namespace.RadioItem,
|
|
2143
2212
|
{
|
|
2144
2213
|
ref,
|
|
@@ -2154,7 +2223,7 @@ var DropdownMenuRadioItem = React50__namespace.forwardRef(({ className, children
|
|
|
2154
2223
|
}
|
|
2155
2224
|
));
|
|
2156
2225
|
DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
|
|
2157
|
-
var DropdownMenuLabel =
|
|
2226
|
+
var DropdownMenuLabel = React51__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2158
2227
|
DropdownMenuPrimitive__namespace.Label,
|
|
2159
2228
|
{
|
|
2160
2229
|
ref,
|
|
@@ -2167,7 +2236,7 @@ var DropdownMenuLabel = React50__namespace.forwardRef(({ className, inset, ...pr
|
|
|
2167
2236
|
}
|
|
2168
2237
|
));
|
|
2169
2238
|
DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
|
|
2170
|
-
var DropdownMenuSeparator =
|
|
2239
|
+
var DropdownMenuSeparator = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2171
2240
|
DropdownMenuPrimitive__namespace.Separator,
|
|
2172
2241
|
{
|
|
2173
2242
|
ref,
|
|
@@ -2189,7 +2258,7 @@ var DropdownMenuShortcut = ({
|
|
|
2189
2258
|
);
|
|
2190
2259
|
};
|
|
2191
2260
|
DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
|
|
2192
|
-
var SidebarNavItem =
|
|
2261
|
+
var SidebarNavItem = React51__namespace.forwardRef(
|
|
2193
2262
|
({ item, isActive, className, LinkComponent, ...props }, ref) => {
|
|
2194
2263
|
const Icon = item.icon;
|
|
2195
2264
|
const baseClassName = cn(
|
|
@@ -2229,7 +2298,7 @@ var SidebarNavItem = React50__namespace.forwardRef(
|
|
|
2229
2298
|
}
|
|
2230
2299
|
);
|
|
2231
2300
|
SidebarNavItem.displayName = "SidebarNavItem";
|
|
2232
|
-
var Sidebar =
|
|
2301
|
+
var Sidebar = React51__namespace.forwardRef(
|
|
2233
2302
|
({
|
|
2234
2303
|
mainNav = [],
|
|
2235
2304
|
bottomNav = [],
|
|
@@ -2339,7 +2408,7 @@ var alertVariants = classVarianceAuthority.cva(
|
|
|
2339
2408
|
}
|
|
2340
2409
|
}
|
|
2341
2410
|
);
|
|
2342
|
-
var Alert =
|
|
2411
|
+
var Alert = React51__namespace.forwardRef(
|
|
2343
2412
|
({ className, variant, icon, title, action, children, ...props }, ref) => {
|
|
2344
2413
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2345
2414
|
"div",
|
|
@@ -2362,7 +2431,7 @@ var Alert = React50__namespace.forwardRef(
|
|
|
2362
2431
|
}
|
|
2363
2432
|
);
|
|
2364
2433
|
Alert.displayName = "Alert";
|
|
2365
|
-
var EmptyState =
|
|
2434
|
+
var EmptyState = React51__namespace.forwardRef(
|
|
2366
2435
|
({ className, icon, title, description, action, size = "default", ...props }, ref) => {
|
|
2367
2436
|
const paddingClass = {
|
|
2368
2437
|
sm: "p-8",
|
|
@@ -2390,7 +2459,7 @@ var EmptyState = React50__namespace.forwardRef(
|
|
|
2390
2459
|
}
|
|
2391
2460
|
);
|
|
2392
2461
|
EmptyState.displayName = "EmptyState";
|
|
2393
|
-
var ErrorState =
|
|
2462
|
+
var ErrorState = React51__namespace.forwardRef(
|
|
2394
2463
|
({
|
|
2395
2464
|
title = "Something went wrong",
|
|
2396
2465
|
description = "We encountered an error loading this page. Please try again.",
|
|
@@ -2453,7 +2522,7 @@ var ErrorState = React50__namespace.forwardRef(
|
|
|
2453
2522
|
}
|
|
2454
2523
|
);
|
|
2455
2524
|
ErrorState.displayName = "ErrorState";
|
|
2456
|
-
var CodeBlock =
|
|
2525
|
+
var CodeBlock = React51__namespace.forwardRef(
|
|
2457
2526
|
({ className, children, language, ...props }, ref) => {
|
|
2458
2527
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2459
2528
|
"pre",
|
|
@@ -2471,15 +2540,15 @@ var CodeBlock = React50__namespace.forwardRef(
|
|
|
2471
2540
|
}
|
|
2472
2541
|
);
|
|
2473
2542
|
CodeBlock.displayName = "CodeBlock";
|
|
2474
|
-
var FormField =
|
|
2543
|
+
var FormField = React51__namespace.forwardRef(
|
|
2475
2544
|
({ label, error, helperText, hint, required, id, className, children, ...props }, ref) => {
|
|
2476
|
-
const fieldId = id ||
|
|
2545
|
+
const fieldId = id || React51__namespace.useId();
|
|
2477
2546
|
const errorId = `${fieldId}-error`;
|
|
2478
2547
|
const helperId = `${fieldId}-helper`;
|
|
2479
|
-
const enhancedChildren =
|
|
2480
|
-
if (
|
|
2548
|
+
const enhancedChildren = React51__namespace.Children.map(children, (child) => {
|
|
2549
|
+
if (React51__namespace.isValidElement(child)) {
|
|
2481
2550
|
const childProps = child.props;
|
|
2482
|
-
return
|
|
2551
|
+
return React51__namespace.cloneElement(child, {
|
|
2483
2552
|
id: fieldId,
|
|
2484
2553
|
"aria-invalid": error ? "true" : void 0,
|
|
2485
2554
|
"aria-describedby": error ? errorId : helperText ? helperId : void 0,
|
|
@@ -2503,7 +2572,7 @@ var FormField = React50__namespace.forwardRef(
|
|
|
2503
2572
|
}
|
|
2504
2573
|
);
|
|
2505
2574
|
FormField.displayName = "FormField";
|
|
2506
|
-
var Table =
|
|
2575
|
+
var Table = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2507
2576
|
"table",
|
|
2508
2577
|
{
|
|
2509
2578
|
ref,
|
|
@@ -2512,11 +2581,11 @@ var Table = React50__namespace.forwardRef(({ className, ...props }, ref) => /* @
|
|
|
2512
2581
|
}
|
|
2513
2582
|
) }));
|
|
2514
2583
|
Table.displayName = "Table";
|
|
2515
|
-
var TableHeader =
|
|
2584
|
+
var TableHeader = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("", className), ...props }));
|
|
2516
2585
|
TableHeader.displayName = "TableHeader";
|
|
2517
|
-
var TableBody =
|
|
2586
|
+
var TableBody = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("tbody", { ref, className: cn("", className), ...props }));
|
|
2518
2587
|
TableBody.displayName = "TableBody";
|
|
2519
|
-
var TableFooter =
|
|
2588
|
+
var TableFooter = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2520
2589
|
"tfoot",
|
|
2521
2590
|
{
|
|
2522
2591
|
ref,
|
|
@@ -2525,7 +2594,7 @@ var TableFooter = React50__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2525
2594
|
}
|
|
2526
2595
|
));
|
|
2527
2596
|
TableFooter.displayName = "TableFooter";
|
|
2528
|
-
var TableRow =
|
|
2597
|
+
var TableRow = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2529
2598
|
"tr",
|
|
2530
2599
|
{
|
|
2531
2600
|
ref,
|
|
@@ -2534,7 +2603,7 @@ var TableRow = React50__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
2534
2603
|
}
|
|
2535
2604
|
));
|
|
2536
2605
|
TableRow.displayName = "TableRow";
|
|
2537
|
-
var TableHead =
|
|
2606
|
+
var TableHead = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2538
2607
|
"th",
|
|
2539
2608
|
{
|
|
2540
2609
|
ref,
|
|
@@ -2546,7 +2615,7 @@ var TableHead = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
2546
2615
|
}
|
|
2547
2616
|
));
|
|
2548
2617
|
TableHead.displayName = "TableHead";
|
|
2549
|
-
var TableCell =
|
|
2618
|
+
var TableCell = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2550
2619
|
"td",
|
|
2551
2620
|
{
|
|
2552
2621
|
ref,
|
|
@@ -2555,7 +2624,7 @@ var TableCell = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
2555
2624
|
}
|
|
2556
2625
|
));
|
|
2557
2626
|
TableCell.displayName = "TableCell";
|
|
2558
|
-
var TableCaption =
|
|
2627
|
+
var TableCaption = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2559
2628
|
"caption",
|
|
2560
2629
|
{
|
|
2561
2630
|
ref,
|
|
@@ -2564,7 +2633,7 @@ var TableCaption = React50__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
2564
2633
|
}
|
|
2565
2634
|
));
|
|
2566
2635
|
TableCaption.displayName = "TableCaption";
|
|
2567
|
-
var Divider =
|
|
2636
|
+
var Divider = React51__namespace.forwardRef(
|
|
2568
2637
|
({ className, text, orientation = "horizontal", ...props }, ref) => {
|
|
2569
2638
|
if (orientation === "vertical") {
|
|
2570
2639
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -2603,7 +2672,7 @@ var Divider = React50__namespace.forwardRef(
|
|
|
2603
2672
|
);
|
|
2604
2673
|
Divider.displayName = "Divider";
|
|
2605
2674
|
var Tabs = TabsPrimitive__namespace.Root;
|
|
2606
|
-
var TabsList =
|
|
2675
|
+
var TabsList = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2607
2676
|
TabsPrimitive__namespace.List,
|
|
2608
2677
|
{
|
|
2609
2678
|
ref,
|
|
@@ -2615,7 +2684,7 @@ var TabsList = React50__namespace.forwardRef(({ className, ...props }, ref) => /
|
|
|
2615
2684
|
}
|
|
2616
2685
|
));
|
|
2617
2686
|
TabsList.displayName = TabsPrimitive__namespace.List.displayName;
|
|
2618
|
-
var TabsTrigger =
|
|
2687
|
+
var TabsTrigger = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2619
2688
|
TabsPrimitive__namespace.Trigger,
|
|
2620
2689
|
{
|
|
2621
2690
|
ref,
|
|
@@ -2627,7 +2696,7 @@ var TabsTrigger = React50__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2627
2696
|
}
|
|
2628
2697
|
));
|
|
2629
2698
|
TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
|
|
2630
|
-
var TabsContent =
|
|
2699
|
+
var TabsContent = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2631
2700
|
TabsPrimitive__namespace.Content,
|
|
2632
2701
|
{
|
|
2633
2702
|
ref,
|
|
@@ -2639,7 +2708,7 @@ var TabsContent = React50__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2639
2708
|
}
|
|
2640
2709
|
));
|
|
2641
2710
|
TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
|
|
2642
|
-
var TabsListUnderline =
|
|
2711
|
+
var TabsListUnderline = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2643
2712
|
TabsPrimitive__namespace.List,
|
|
2644
2713
|
{
|
|
2645
2714
|
ref,
|
|
@@ -2651,7 +2720,7 @@ var TabsListUnderline = React50__namespace.forwardRef(({ className, ...props },
|
|
|
2651
2720
|
}
|
|
2652
2721
|
));
|
|
2653
2722
|
TabsListUnderline.displayName = "TabsListUnderline";
|
|
2654
|
-
var TabsTriggerUnderline =
|
|
2723
|
+
var TabsTriggerUnderline = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2655
2724
|
TabsPrimitive__namespace.Trigger,
|
|
2656
2725
|
{
|
|
2657
2726
|
ref,
|
|
@@ -2669,7 +2738,7 @@ var Dialog = SheetPrimitive__namespace.Root;
|
|
|
2669
2738
|
var DialogTrigger = SheetPrimitive__namespace.Trigger;
|
|
2670
2739
|
var DialogPortal = SheetPrimitive__namespace.Portal;
|
|
2671
2740
|
var DialogClose = SheetPrimitive__namespace.Close;
|
|
2672
|
-
var DialogOverlay =
|
|
2741
|
+
var DialogOverlay = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2673
2742
|
SheetPrimitive__namespace.Overlay,
|
|
2674
2743
|
{
|
|
2675
2744
|
ref,
|
|
@@ -2681,7 +2750,7 @@ var DialogOverlay = React50__namespace.forwardRef(({ className, ...props }, ref)
|
|
|
2681
2750
|
}
|
|
2682
2751
|
));
|
|
2683
2752
|
DialogOverlay.displayName = SheetPrimitive__namespace.Overlay.displayName;
|
|
2684
|
-
var DialogContent =
|
|
2753
|
+
var DialogContent = React51__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(DialogPortal, { children: [
|
|
2685
2754
|
/* @__PURE__ */ jsxRuntime.jsx(DialogOverlay, {}),
|
|
2686
2755
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2687
2756
|
SheetPrimitive__namespace.Content,
|
|
@@ -2731,7 +2800,7 @@ var DialogFooter = ({
|
|
|
2731
2800
|
}
|
|
2732
2801
|
);
|
|
2733
2802
|
DialogFooter.displayName = "DialogFooter";
|
|
2734
|
-
var DialogTitle =
|
|
2803
|
+
var DialogTitle = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2735
2804
|
SheetPrimitive__namespace.Title,
|
|
2736
2805
|
{
|
|
2737
2806
|
ref,
|
|
@@ -2743,7 +2812,7 @@ var DialogTitle = React50__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
2743
2812
|
}
|
|
2744
2813
|
));
|
|
2745
2814
|
DialogTitle.displayName = SheetPrimitive__namespace.Title.displayName;
|
|
2746
|
-
var DialogDescription =
|
|
2815
|
+
var DialogDescription = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2747
2816
|
SheetPrimitive__namespace.Description,
|
|
2748
2817
|
{
|
|
2749
2818
|
ref,
|
|
@@ -2755,7 +2824,7 @@ DialogDescription.displayName = SheetPrimitive__namespace.Description.displayNam
|
|
|
2755
2824
|
var AlertDialog = AlertDialogPrimitive__namespace.Root;
|
|
2756
2825
|
var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
|
|
2757
2826
|
var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
|
|
2758
|
-
var AlertDialogOverlay =
|
|
2827
|
+
var AlertDialogOverlay = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2759
2828
|
AlertDialogPrimitive__namespace.Overlay,
|
|
2760
2829
|
{
|
|
2761
2830
|
className: cn(
|
|
@@ -2767,7 +2836,7 @@ var AlertDialogOverlay = React50__namespace.forwardRef(({ className, ...props },
|
|
|
2767
2836
|
}
|
|
2768
2837
|
));
|
|
2769
2838
|
AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
|
|
2770
|
-
var AlertDialogContent =
|
|
2839
|
+
var AlertDialogContent = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(AlertDialogPortal, { children: [
|
|
2771
2840
|
/* @__PURE__ */ jsxRuntime.jsx(AlertDialogOverlay, {}),
|
|
2772
2841
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2773
2842
|
AlertDialogPrimitive__namespace.Content,
|
|
@@ -2810,7 +2879,7 @@ var AlertDialogFooter = ({
|
|
|
2810
2879
|
}
|
|
2811
2880
|
);
|
|
2812
2881
|
AlertDialogFooter.displayName = "AlertDialogFooter";
|
|
2813
|
-
var AlertDialogTitle =
|
|
2882
|
+
var AlertDialogTitle = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2814
2883
|
AlertDialogPrimitive__namespace.Title,
|
|
2815
2884
|
{
|
|
2816
2885
|
ref,
|
|
@@ -2819,7 +2888,7 @@ var AlertDialogTitle = React50__namespace.forwardRef(({ className, ...props }, r
|
|
|
2819
2888
|
}
|
|
2820
2889
|
));
|
|
2821
2890
|
AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
|
|
2822
|
-
var AlertDialogDescription =
|
|
2891
|
+
var AlertDialogDescription = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2823
2892
|
AlertDialogPrimitive__namespace.Description,
|
|
2824
2893
|
{
|
|
2825
2894
|
ref,
|
|
@@ -2828,7 +2897,7 @@ var AlertDialogDescription = React50__namespace.forwardRef(({ className, ...prop
|
|
|
2828
2897
|
}
|
|
2829
2898
|
));
|
|
2830
2899
|
AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
|
|
2831
|
-
var AlertDialogAction =
|
|
2900
|
+
var AlertDialogAction = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2832
2901
|
AlertDialogPrimitive__namespace.Action,
|
|
2833
2902
|
{
|
|
2834
2903
|
ref,
|
|
@@ -2837,7 +2906,7 @@ var AlertDialogAction = React50__namespace.forwardRef(({ className, ...props },
|
|
|
2837
2906
|
}
|
|
2838
2907
|
));
|
|
2839
2908
|
AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
|
|
2840
|
-
var AlertDialogCancel =
|
|
2909
|
+
var AlertDialogCancel = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2841
2910
|
AlertDialogPrimitive__namespace.Cancel,
|
|
2842
2911
|
{
|
|
2843
2912
|
ref,
|
|
@@ -2898,7 +2967,7 @@ var Popover = PopoverPrimitive__namespace.Root;
|
|
|
2898
2967
|
var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
|
|
2899
2968
|
var PopoverAnchor = PopoverPrimitive__namespace.Anchor;
|
|
2900
2969
|
var PopoverClose = PopoverPrimitive__namespace.Close;
|
|
2901
|
-
var PopoverContent =
|
|
2970
|
+
var PopoverContent = React51__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2902
2971
|
PopoverPrimitive__namespace.Content,
|
|
2903
2972
|
{
|
|
2904
2973
|
ref,
|
|
@@ -2912,7 +2981,7 @@ var PopoverContent = React50__namespace.forwardRef(({ className, align = "center
|
|
|
2912
2981
|
}
|
|
2913
2982
|
) }));
|
|
2914
2983
|
PopoverContent.displayName = PopoverPrimitive__namespace.Content.displayName;
|
|
2915
|
-
var PopoverArrow =
|
|
2984
|
+
var PopoverArrow = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2916
2985
|
PopoverPrimitive__namespace.Arrow,
|
|
2917
2986
|
{
|
|
2918
2987
|
ref,
|
|
@@ -2924,7 +2993,7 @@ PopoverArrow.displayName = PopoverPrimitive__namespace.Arrow.displayName;
|
|
|
2924
2993
|
var TooltipProvider = TooltipPrimitive__namespace.Provider;
|
|
2925
2994
|
var Tooltip = TooltipPrimitive__namespace.Root;
|
|
2926
2995
|
var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
|
|
2927
|
-
var TooltipContent =
|
|
2996
|
+
var TooltipContent = React51__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(TooltipPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2928
2997
|
TooltipPrimitive__namespace.Content,
|
|
2929
2998
|
{
|
|
2930
2999
|
ref,
|
|
@@ -2937,7 +3006,7 @@ var TooltipContent = React50__namespace.forwardRef(({ className, sideOffset = 4,
|
|
|
2937
3006
|
}
|
|
2938
3007
|
) }));
|
|
2939
3008
|
TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
|
|
2940
|
-
var TooltipArrow =
|
|
3009
|
+
var TooltipArrow = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2941
3010
|
TooltipPrimitive__namespace.Arrow,
|
|
2942
3011
|
{
|
|
2943
3012
|
ref,
|
|
@@ -2959,7 +3028,7 @@ function SimpleTooltip({
|
|
|
2959
3028
|
] }) });
|
|
2960
3029
|
}
|
|
2961
3030
|
var ToastProvider = ToastPrimitives__namespace.Provider;
|
|
2962
|
-
var ToastViewport =
|
|
3031
|
+
var ToastViewport = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
2963
3032
|
ToastPrimitives__namespace.Viewport,
|
|
2964
3033
|
{
|
|
2965
3034
|
ref,
|
|
@@ -2988,7 +3057,7 @@ var toastVariants = classVarianceAuthority.cva(
|
|
|
2988
3057
|
}
|
|
2989
3058
|
}
|
|
2990
3059
|
);
|
|
2991
|
-
var Toast =
|
|
3060
|
+
var Toast = React51__namespace.forwardRef(({ className, variant, ...props }, ref) => {
|
|
2992
3061
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
2993
3062
|
ToastPrimitives__namespace.Root,
|
|
2994
3063
|
{
|
|
@@ -2999,7 +3068,7 @@ var Toast = React50__namespace.forwardRef(({ className, variant, ...props }, ref
|
|
|
2999
3068
|
);
|
|
3000
3069
|
});
|
|
3001
3070
|
Toast.displayName = ToastPrimitives__namespace.Root.displayName;
|
|
3002
|
-
var ToastAction =
|
|
3071
|
+
var ToastAction = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3003
3072
|
ToastPrimitives__namespace.Action,
|
|
3004
3073
|
{
|
|
3005
3074
|
ref,
|
|
@@ -3011,7 +3080,7 @@ var ToastAction = React50__namespace.forwardRef(({ className, ...props }, ref) =
|
|
|
3011
3080
|
}
|
|
3012
3081
|
));
|
|
3013
3082
|
ToastAction.displayName = ToastPrimitives__namespace.Action.displayName;
|
|
3014
|
-
var ToastClose =
|
|
3083
|
+
var ToastClose = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3015
3084
|
ToastPrimitives__namespace.Close,
|
|
3016
3085
|
{
|
|
3017
3086
|
ref,
|
|
@@ -3025,7 +3094,7 @@ var ToastClose = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3025
3094
|
}
|
|
3026
3095
|
));
|
|
3027
3096
|
ToastClose.displayName = ToastPrimitives__namespace.Close.displayName;
|
|
3028
|
-
var ToastTitle =
|
|
3097
|
+
var ToastTitle = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3029
3098
|
ToastPrimitives__namespace.Title,
|
|
3030
3099
|
{
|
|
3031
3100
|
ref,
|
|
@@ -3034,7 +3103,7 @@ var ToastTitle = React50__namespace.forwardRef(({ className, ...props }, ref) =>
|
|
|
3034
3103
|
}
|
|
3035
3104
|
));
|
|
3036
3105
|
ToastTitle.displayName = ToastPrimitives__namespace.Title.displayName;
|
|
3037
|
-
var ToastDescription =
|
|
3106
|
+
var ToastDescription = React51__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3038
3107
|
ToastPrimitives__namespace.Description,
|
|
3039
3108
|
{
|
|
3040
3109
|
ref,
|
|
@@ -3173,8 +3242,8 @@ function toast({ ...props }) {
|
|
|
3173
3242
|
};
|
|
3174
3243
|
}
|
|
3175
3244
|
function useToast() {
|
|
3176
|
-
const [state, setState] =
|
|
3177
|
-
|
|
3245
|
+
const [state, setState] = React51__namespace.useState(memoryState);
|
|
3246
|
+
React51__namespace.useEffect(() => {
|
|
3178
3247
|
listeners.push(setState);
|
|
3179
3248
|
return () => {
|
|
3180
3249
|
const index = listeners.indexOf(setState);
|
|
@@ -3209,7 +3278,7 @@ function Toaster() {
|
|
|
3209
3278
|
/* @__PURE__ */ jsxRuntime.jsx(ToastViewport, {})
|
|
3210
3279
|
] });
|
|
3211
3280
|
}
|
|
3212
|
-
var Skeleton =
|
|
3281
|
+
var Skeleton = React51__namespace.forwardRef(
|
|
3213
3282
|
({ className, variant = "default", width, height, animate = true, style, ...props }, ref) => {
|
|
3214
3283
|
const variantStyles = {
|
|
3215
3284
|
default: "rounded-sm",
|
|
@@ -3237,7 +3306,7 @@ var Skeleton = React50__namespace.forwardRef(
|
|
|
3237
3306
|
}
|
|
3238
3307
|
);
|
|
3239
3308
|
Skeleton.displayName = "Skeleton";
|
|
3240
|
-
var SkeletonText =
|
|
3309
|
+
var SkeletonText = React51__namespace.forwardRef(
|
|
3241
3310
|
({ lines = 3, gap = 8, className, ...props }, ref) => {
|
|
3242
3311
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("space-y-2", className), style: { gap }, children: Array.from({ length: lines }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3243
3312
|
Skeleton,
|
|
@@ -3251,7 +3320,7 @@ var SkeletonText = React50__namespace.forwardRef(
|
|
|
3251
3320
|
}
|
|
3252
3321
|
);
|
|
3253
3322
|
SkeletonText.displayName = "SkeletonText";
|
|
3254
|
-
var SkeletonCard =
|
|
3323
|
+
var SkeletonCard = React51__namespace.forwardRef(
|
|
3255
3324
|
({ hasHeader = true, hasAvatar = false, className, ...props }, ref) => {
|
|
3256
3325
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3257
3326
|
"div",
|
|
@@ -3303,7 +3372,7 @@ function generatePagination(currentPage, totalPages, siblingCount) {
|
|
|
3303
3372
|
);
|
|
3304
3373
|
return [1, "ellipsis", ...middleRange, "ellipsis", totalPages];
|
|
3305
3374
|
}
|
|
3306
|
-
var Pagination =
|
|
3375
|
+
var Pagination = React51__namespace.forwardRef(
|
|
3307
3376
|
({
|
|
3308
3377
|
currentPage,
|
|
3309
3378
|
totalPages,
|
|
@@ -3380,7 +3449,7 @@ var Pagination = React50__namespace.forwardRef(
|
|
|
3380
3449
|
}
|
|
3381
3450
|
);
|
|
3382
3451
|
Pagination.displayName = "Pagination";
|
|
3383
|
-
var SimplePagination =
|
|
3452
|
+
var SimplePagination = React51__namespace.forwardRef(
|
|
3384
3453
|
({
|
|
3385
3454
|
currentPage,
|
|
3386
3455
|
totalPages,
|
|
@@ -3442,7 +3511,7 @@ var SimplePagination = React50__namespace.forwardRef(
|
|
|
3442
3511
|
}
|
|
3443
3512
|
);
|
|
3444
3513
|
SimplePagination.displayName = "SimplePagination";
|
|
3445
|
-
var StepProgress =
|
|
3514
|
+
var StepProgress = React51__namespace.forwardRef(
|
|
3446
3515
|
({
|
|
3447
3516
|
steps,
|
|
3448
3517
|
currentStep,
|
|
@@ -3562,7 +3631,7 @@ var StepProgress = React50__namespace.forwardRef(
|
|
|
3562
3631
|
}
|
|
3563
3632
|
);
|
|
3564
3633
|
StepProgress.displayName = "StepProgress";
|
|
3565
|
-
var StepDots =
|
|
3634
|
+
var StepDots = React51__namespace.forwardRef(
|
|
3566
3635
|
({ totalSteps, currentStep, onStepClick, className }, ref) => {
|
|
3567
3636
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("flex items-center gap-2", className), children: Array.from({ length: totalSteps }, (_, i) => i + 1).map((step) => {
|
|
3568
3637
|
const isCompleted = step < currentStep;
|
|
@@ -3588,7 +3657,7 @@ var StepDots = React50__namespace.forwardRef(
|
|
|
3588
3657
|
}
|
|
3589
3658
|
);
|
|
3590
3659
|
StepDots.displayName = "StepDots";
|
|
3591
|
-
var Breadcrumbs =
|
|
3660
|
+
var Breadcrumbs = React51__namespace.forwardRef(
|
|
3592
3661
|
({
|
|
3593
3662
|
items,
|
|
3594
3663
|
LinkComponent,
|
|
@@ -3670,7 +3739,7 @@ var Breadcrumbs = React50__namespace.forwardRef(
|
|
|
3670
3739
|
}
|
|
3671
3740
|
);
|
|
3672
3741
|
Breadcrumbs.displayName = "Breadcrumbs";
|
|
3673
|
-
var BreadcrumbLink =
|
|
3742
|
+
var BreadcrumbLink = React51__namespace.forwardRef(
|
|
3674
3743
|
({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
3675
3744
|
"a",
|
|
3676
3745
|
{
|
|
@@ -3695,7 +3764,7 @@ var presetLabels = {
|
|
|
3695
3764
|
"this-year": "This year",
|
|
3696
3765
|
"custom": "Custom"
|
|
3697
3766
|
};
|
|
3698
|
-
var DateRangePicker =
|
|
3767
|
+
var DateRangePicker = React51__namespace.forwardRef(
|
|
3699
3768
|
({
|
|
3700
3769
|
value,
|
|
3701
3770
|
onChange,
|
|
@@ -3754,7 +3823,7 @@ var DateRangePicker = React50__namespace.forwardRef(
|
|
|
3754
3823
|
}
|
|
3755
3824
|
);
|
|
3756
3825
|
DateRangePicker.displayName = "DateRangePicker";
|
|
3757
|
-
var DateRangeSelect =
|
|
3826
|
+
var DateRangeSelect = React51__namespace.forwardRef(
|
|
3758
3827
|
({ value, onChange, presets = ["7d", "30d", "90d"], className }, ref) => {
|
|
3759
3828
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
3760
3829
|
"select",
|
|
@@ -3850,12 +3919,12 @@ function FilePreview({
|
|
|
3850
3919
|
showCard = true,
|
|
3851
3920
|
emptyMessage = "No files uploaded"
|
|
3852
3921
|
}) {
|
|
3853
|
-
const [previewFile, setPreviewFile] =
|
|
3854
|
-
const [videoError, setVideoError] =
|
|
3855
|
-
const [signedUrl, setSignedUrl] =
|
|
3856
|
-
const [loadingUrl, setLoadingUrl] =
|
|
3857
|
-
const [urlError, setUrlError] =
|
|
3858
|
-
const videoRef =
|
|
3922
|
+
const [previewFile, setPreviewFile] = React51.useState(null);
|
|
3923
|
+
const [videoError, setVideoError] = React51.useState(false);
|
|
3924
|
+
const [signedUrl, setSignedUrl] = React51.useState(null);
|
|
3925
|
+
const [loadingUrl, setLoadingUrl] = React51.useState(false);
|
|
3926
|
+
const [urlError, setUrlError] = React51.useState(null);
|
|
3927
|
+
const videoRef = React51.useRef(null);
|
|
3859
3928
|
const handleOpenPreview = async (file) => {
|
|
3860
3929
|
setVideoError(false);
|
|
3861
3930
|
setPreviewFile(file);
|
|
@@ -4093,7 +4162,7 @@ function FilePreview({
|
|
|
4093
4162
|
/* @__PURE__ */ jsxRuntime.jsx(CardContent, { children: content })
|
|
4094
4163
|
] });
|
|
4095
4164
|
}
|
|
4096
|
-
var SettingsNav =
|
|
4165
|
+
var SettingsNav = React51__namespace.forwardRef(
|
|
4097
4166
|
({ groups, LinkComponent, className, ...props }, ref) => {
|
|
4098
4167
|
const Link2 = LinkComponent || "a";
|
|
4099
4168
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("space-y-8", className), ...props, children: groups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -4124,7 +4193,7 @@ var SettingsNav = React50__namespace.forwardRef(
|
|
|
4124
4193
|
}
|
|
4125
4194
|
);
|
|
4126
4195
|
SettingsNav.displayName = "SettingsNav";
|
|
4127
|
-
var SettingsNavLink =
|
|
4196
|
+
var SettingsNavLink = React51__namespace.forwardRef(
|
|
4128
4197
|
({ title, description, icon, href, LinkComponent, className, ...props }, ref) => {
|
|
4129
4198
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
4130
4199
|
icon && /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx("span", { className: "text-gray-600 group-hover:text-[var(--cyan)] transition-colors [&>svg]:w-5 [&>svg]:h-5", children: icon }) }),
|
|
@@ -4259,11 +4328,11 @@ function ScenarioDialog({
|
|
|
4259
4328
|
onSave,
|
|
4260
4329
|
isLoading
|
|
4261
4330
|
}) {
|
|
4262
|
-
const [type, setType] =
|
|
4263
|
-
const [situation, setSituation] =
|
|
4264
|
-
const [action, setAction] =
|
|
4265
|
-
const [isSaving, setIsSaving] =
|
|
4266
|
-
|
|
4331
|
+
const [type, setType] = React51__namespace.useState(scenario?.type || "escalation");
|
|
4332
|
+
const [situation, setSituation] = React51__namespace.useState(scenario?.situation || "");
|
|
4333
|
+
const [action, setAction] = React51__namespace.useState(scenario?.action || "");
|
|
4334
|
+
const [isSaving, setIsSaving] = React51__namespace.useState(false);
|
|
4335
|
+
React51__namespace.useEffect(() => {
|
|
4267
4336
|
if (open) {
|
|
4268
4337
|
setType(scenario?.type || "escalation");
|
|
4269
4338
|
setSituation(scenario?.situation || "");
|
|
@@ -4353,10 +4422,10 @@ function ScenariosManager({
|
|
|
4353
4422
|
minScenariosToComplete = 1,
|
|
4354
4423
|
className
|
|
4355
4424
|
}) {
|
|
4356
|
-
const [dialogOpen, setDialogOpen] =
|
|
4357
|
-
const [editingScenario, setEditingScenario] =
|
|
4358
|
-
const [deletingId, setDeletingId] =
|
|
4359
|
-
const [isCompleting, setIsCompleting] =
|
|
4425
|
+
const [dialogOpen, setDialogOpen] = React51__namespace.useState(false);
|
|
4426
|
+
const [editingScenario, setEditingScenario] = React51__namespace.useState(null);
|
|
4427
|
+
const [deletingId, setDeletingId] = React51__namespace.useState(null);
|
|
4428
|
+
const [isCompleting, setIsCompleting] = React51__namespace.useState(false);
|
|
4360
4429
|
const canComplete = scenarios.length >= minScenariosToComplete && !isComplete && onComplete;
|
|
4361
4430
|
const handleAddClick = () => {
|
|
4362
4431
|
setEditingScenario(null);
|
|
@@ -4497,11 +4566,11 @@ function ImpactMetricsForm({
|
|
|
4497
4566
|
showToasts = true,
|
|
4498
4567
|
className
|
|
4499
4568
|
}) {
|
|
4500
|
-
const [metrics, setMetrics] =
|
|
4501
|
-
const [savedMetrics, setSavedMetrics] =
|
|
4502
|
-
const [isSaving, setIsSaving] =
|
|
4569
|
+
const [metrics, setMetrics] = React51.useState(initialMetrics);
|
|
4570
|
+
const [savedMetrics, setSavedMetrics] = React51.useState(initialMetrics);
|
|
4571
|
+
const [isSaving, setIsSaving] = React51.useState(false);
|
|
4503
4572
|
const isInitiallySaved = initialMetrics.time_saved_minutes_per_run !== 30 || initialMetrics.hourly_rate_euros !== 20 || initialMetrics.fte_equivalent !== 0.1;
|
|
4504
|
-
const [isEditing, setIsEditing] =
|
|
4573
|
+
const [isEditing, setIsEditing] = React51.useState(!isInitiallySaved);
|
|
4505
4574
|
const workerCostPerMonth = TIER_PRICING[customerPlan] || TIER_PRICING.starter;
|
|
4506
4575
|
const workerCostPerYear = workerCostPerMonth * 12;
|
|
4507
4576
|
const calculateAnnualSavings = (fteEquivalent, hourlyRate) => {
|
|
@@ -4722,9 +4791,9 @@ function ActivityTimeline({
|
|
|
4722
4791
|
emptyMessage = "No activity yet",
|
|
4723
4792
|
className = ""
|
|
4724
4793
|
}) {
|
|
4725
|
-
const [newNote, setNewNote] =
|
|
4726
|
-
const [expanded, setExpanded] =
|
|
4727
|
-
const [isSubmitting, setIsSubmitting] =
|
|
4794
|
+
const [newNote, setNewNote] = React51.useState("");
|
|
4795
|
+
const [expanded, setExpanded] = React51.useState(false);
|
|
4796
|
+
const [isSubmitting, setIsSubmitting] = React51.useState(false);
|
|
4728
4797
|
const handleAddNote = async () => {
|
|
4729
4798
|
if (!newNote.trim() || !onAddNote) return;
|
|
4730
4799
|
setIsSubmitting(true);
|
|
@@ -4808,7 +4877,7 @@ function ActivityTimeline({
|
|
|
4808
4877
|
|
|
4809
4878
|
// src/index.ts
|
|
4810
4879
|
init_workflow_flow();
|
|
4811
|
-
var WorkflowFlow2 =
|
|
4880
|
+
var WorkflowFlow2 = React51.lazy(() => Promise.resolve().then(() => (init_workflow_flow(), workflow_flow_exports)).then((m) => ({ default: m.WorkflowFlow })));
|
|
4812
4881
|
var BLANK_N8N_WORKFLOW = {
|
|
4813
4882
|
name: "New Workflow",
|
|
4814
4883
|
nodes: [
|
|
@@ -5001,7 +5070,7 @@ function N8nWorkflowSummary({ workflow, showFlow = false }) {
|
|
|
5001
5070
|
] })
|
|
5002
5071
|
] })
|
|
5003
5072
|
] }),
|
|
5004
|
-
showFlow && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5073
|
+
showFlow && /* @__PURE__ */ jsxRuntime.jsx(React51.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-[320px] bg-slate-50 rounded-lg border border-slate-200 flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-slate-400 text-sm", children: "Loading..." }) }), children: /* @__PURE__ */ jsxRuntime.jsx(WorkflowFlow2, { workflow, height: 320 }) }),
|
|
5005
5074
|
!showFlow && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
5006
5075
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-xs font-medium text-muted-foreground uppercase tracking-wide", children: "Workflow Nodes" }),
|
|
5007
5076
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-1.5", children: nodes.map((node) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -5140,29 +5209,29 @@ function WorkflowViewer({
|
|
|
5140
5209
|
simWorkflowId,
|
|
5141
5210
|
simStudioUrl
|
|
5142
5211
|
}) {
|
|
5143
|
-
const [viewMode, setViewMode] =
|
|
5144
|
-
const [editedJson, setEditedJson] =
|
|
5145
|
-
const [jsonError, setJsonError] =
|
|
5146
|
-
const [message, setMessage] =
|
|
5147
|
-
const [saving, setSaving] =
|
|
5148
|
-
const [syncing, setSyncing] =
|
|
5149
|
-
const [pulling, setPulling] =
|
|
5150
|
-
const [creating, setCreating] =
|
|
5151
|
-
const [selectedTemplate, setSelectedTemplate] =
|
|
5152
|
-
const [exporting, setExporting] =
|
|
5153
|
-
const [backups, setBackups] =
|
|
5154
|
-
const [loadingBackups, setLoadingBackups] =
|
|
5155
|
-
const [pushingToSim, setPushingToSim] =
|
|
5156
|
-
const [pullingFromSim, setPullingFromSim] =
|
|
5157
|
-
const [switchingPlatform, setSwitchingPlatform] =
|
|
5158
|
-
const [diffMode, setDiffMode] =
|
|
5159
|
-
const [selectedBackupA, setSelectedBackupA] =
|
|
5160
|
-
const [selectedBackupB, setSelectedBackupB] =
|
|
5161
|
-
const [backupStateA, setBackupStateA] =
|
|
5162
|
-
const [backupStateB, setBackupStateB] =
|
|
5163
|
-
const [loadingDiff, setLoadingDiff] =
|
|
5164
|
-
const [localPlatform, setLocalPlatform] =
|
|
5165
|
-
const [localIsActive, setLocalIsActive] =
|
|
5212
|
+
const [viewMode, setViewMode] = React51.useState("summary");
|
|
5213
|
+
const [editedJson, setEditedJson] = React51.useState("");
|
|
5214
|
+
const [jsonError, setJsonError] = React51.useState(null);
|
|
5215
|
+
const [message, setMessage] = React51.useState(null);
|
|
5216
|
+
const [saving, setSaving] = React51.useState(false);
|
|
5217
|
+
const [syncing, setSyncing] = React51.useState(false);
|
|
5218
|
+
const [pulling, setPulling] = React51.useState(false);
|
|
5219
|
+
const [creating, setCreating] = React51.useState(false);
|
|
5220
|
+
const [selectedTemplate, setSelectedTemplate] = React51.useState("blank");
|
|
5221
|
+
const [exporting, setExporting] = React51.useState(false);
|
|
5222
|
+
const [backups, setBackups] = React51.useState([]);
|
|
5223
|
+
const [loadingBackups, setLoadingBackups] = React51.useState(false);
|
|
5224
|
+
const [pushingToSim, setPushingToSim] = React51.useState(false);
|
|
5225
|
+
const [pullingFromSim, setPullingFromSim] = React51.useState(false);
|
|
5226
|
+
const [switchingPlatform, setSwitchingPlatform] = React51.useState(false);
|
|
5227
|
+
const [diffMode, setDiffMode] = React51.useState(false);
|
|
5228
|
+
const [selectedBackupA, setSelectedBackupA] = React51.useState(null);
|
|
5229
|
+
const [selectedBackupB, setSelectedBackupB] = React51.useState(null);
|
|
5230
|
+
const [backupStateA, setBackupStateA] = React51.useState(null);
|
|
5231
|
+
const [backupStateB, setBackupStateB] = React51.useState(null);
|
|
5232
|
+
const [loadingDiff, setLoadingDiff] = React51.useState(false);
|
|
5233
|
+
const [localPlatform, setLocalPlatform] = React51.useState(platform);
|
|
5234
|
+
const [localIsActive, setLocalIsActive] = React51.useState(isActive ?? true);
|
|
5166
5235
|
const hasUnsavedChanges = localPlatform !== platform || localIsActive !== (isActive ?? true);
|
|
5167
5236
|
function copyToClipboard(text, label = "Copied") {
|
|
5168
5237
|
navigator.clipboard.writeText(text);
|
|
@@ -5853,7 +5922,7 @@ function WorkflowViewer({
|
|
|
5853
5922
|
)
|
|
5854
5923
|
] }),
|
|
5855
5924
|
/* @__PURE__ */ jsxRuntime.jsx("pre", { className: "p-4 bg-[var(--black)] text-gray-100 text-xs overflow-auto max-h-[500px] font-mono", children: JSON.stringify(workflow, null, 2) })
|
|
5856
|
-
] }) : viewMode === "flow" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
5925
|
+
] }) : viewMode === "flow" ? /* @__PURE__ */ jsxRuntime.jsx(React51.Suspense, { fallback: loadingComponent || DefaultLoading, children: /* @__PURE__ */ jsxRuntime.jsx(WorkflowFlow2, { workflow, height: 380, platform }) }) : viewMode === "backups" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
|
|
5857
5926
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
5858
5927
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-sm font-medium", children: diffMode ? "Compare Versions" : "Backup History" }),
|
|
5859
5928
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -6120,6 +6189,7 @@ exports.IconBox = IconBox;
|
|
|
6120
6189
|
exports.ImpactMetricsForm = ImpactMetricsForm;
|
|
6121
6190
|
exports.Input = Input;
|
|
6122
6191
|
exports.Label = Label2;
|
|
6192
|
+
exports.LabeledSlider = LabeledSlider;
|
|
6123
6193
|
exports.LabeledSwitch = LabeledSwitch;
|
|
6124
6194
|
exports.Logo = Logo;
|
|
6125
6195
|
exports.Metric = Metric;
|
|
@@ -6168,6 +6238,7 @@ exports.SimpleTooltip = SimpleTooltip;
|
|
|
6168
6238
|
exports.Skeleton = Skeleton;
|
|
6169
6239
|
exports.SkeletonCard = SkeletonCard;
|
|
6170
6240
|
exports.SkeletonText = SkeletonText;
|
|
6241
|
+
exports.Slider = Slider;
|
|
6171
6242
|
exports.Stat = Stat;
|
|
6172
6243
|
exports.StepDots = StepDots;
|
|
6173
6244
|
exports.StepProgress = StepProgress;
|