@dilipod/ui 0.2.13 → 0.2.14

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import * as React24 from 'react';
1
+ import * as React25 from 'react';
2
2
  import { Slot, createSlot } from '@radix-ui/react-slot';
3
3
  import { cva } from 'class-variance-authority';
4
4
  import { clsx } from 'clsx';
@@ -95,6 +95,7 @@ __export(index_exports, {
95
95
  NavigationMenuTrigger: () => NavigationMenuTrigger,
96
96
  NavigationMenuViewport: () => NavigationMenuViewport,
97
97
  Progress: () => Progress,
98
+ Select: () => Select,
98
99
  Separator: () => Separator2,
99
100
  Sheet: () => Sheet,
100
101
  SheetClose: () => SheetClose,
@@ -174,7 +175,7 @@ var buttonVariants = cva(
174
175
  }
175
176
  }
176
177
  );
177
- var Button = React24.forwardRef(
178
+ var Button = React25.forwardRef(
178
179
  ({ className, variant, size, asChild = false, loading, loadingText, children, disabled, ...props }, ref) => {
179
180
  const Comp = asChild ? Slot : "button";
180
181
  const isDisabled = disabled || loading;
@@ -227,7 +228,7 @@ var Sheet = SheetPrimitive.Root;
227
228
  var SheetTrigger = SheetPrimitive.Trigger;
228
229
  var SheetClose = SheetPrimitive.Close;
229
230
  var SheetPortal = SheetPrimitive.Portal;
230
- var SheetOverlay = React24.forwardRef(({ className, ...props }, ref) => (
231
+ var SheetOverlay = React25.forwardRef(({ className, ...props }, ref) => (
231
232
  // @ts-ignore - Radix Dialog Overlay accepts className at runtime
232
233
  /* @__PURE__ */ jsx(
233
234
  SheetPrimitive.Overlay,
@@ -258,7 +259,7 @@ var sheetVariants = cva(
258
259
  }
259
260
  }
260
261
  );
261
- var SheetContent = React24.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
262
+ var SheetContent = React25.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ jsxs(SheetPortal, { children: [
262
263
  /* @__PURE__ */ jsx(SheetOverlay, {}),
263
264
  /* @__PURE__ */ jsxs(
264
265
  SheetPrimitive.Content,
@@ -305,7 +306,7 @@ var SheetFooter = ({
305
306
  }
306
307
  );
307
308
  SheetFooter.displayName = "SheetFooter";
308
- var SheetTitle = React24.forwardRef(({ className, ...props }, ref) => (
309
+ var SheetTitle = React25.forwardRef(({ className, ...props }, ref) => (
309
310
  // @ts-ignore - Radix Dialog Title accepts className at runtime
310
311
  /* @__PURE__ */ jsx(
311
312
  SheetPrimitive.Title,
@@ -317,7 +318,7 @@ var SheetTitle = React24.forwardRef(({ className, ...props }, ref) => (
317
318
  )
318
319
  ));
319
320
  SheetTitle.displayName = SheetPrimitive.Title.displayName;
320
- var SheetDescription = React24.forwardRef(({ className, ...props }, ref) => (
321
+ var SheetDescription = React25.forwardRef(({ className, ...props }, ref) => (
321
322
  // @ts-ignore - Radix Dialog Description accepts className at runtime
322
323
  /* @__PURE__ */ jsx(
323
324
  SheetPrimitive.Description,
@@ -417,7 +418,7 @@ var badgeVariants = cva(
417
418
  }
418
419
  }
419
420
  );
420
- var Badge = React24.forwardRef(
421
+ var Badge = React25.forwardRef(
421
422
  ({ className, variant, size, pulse, pulseColor: pulseColorProp, children, ...props }, ref) => {
422
423
  const getPulseColorClass = () => {
423
424
  const color = pulseColorProp || variant || "default";
@@ -471,7 +472,7 @@ var Badge = React24.forwardRef(
471
472
  }
472
473
  );
473
474
  Badge.displayName = "Badge";
474
- var Card = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
475
+ var Card = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
475
476
  "div",
476
477
  {
477
478
  ref,
@@ -483,7 +484,7 @@ var Card = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
483
484
  }
484
485
  ));
485
486
  Card.displayName = "Card";
486
- var CardHeader = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
487
+ var CardHeader = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
487
488
  "div",
488
489
  {
489
490
  ref,
@@ -492,7 +493,7 @@ var CardHeader = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE
492
493
  }
493
494
  ));
494
495
  CardHeader.displayName = "CardHeader";
495
- var CardTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
496
+ var CardTitle = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
496
497
  "h3",
497
498
  {
498
499
  ref,
@@ -504,7 +505,7 @@ var CardTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE_
504
505
  }
505
506
  ));
506
507
  CardTitle.displayName = "CardTitle";
507
- var CardDescription = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
508
+ var CardDescription = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
508
509
  "p",
509
510
  {
510
511
  ref,
@@ -513,9 +514,9 @@ var CardDescription = React24.forwardRef(({ className, ...props }, ref) => /* @_
513
514
  }
514
515
  ));
515
516
  CardDescription.displayName = "CardDescription";
516
- var CardContent = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
517
+ var CardContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("p-6 pt-0", className), ...props }));
517
518
  CardContent.displayName = "CardContent";
518
- var CardFooter = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
519
+ var CardFooter = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
519
520
  "div",
520
521
  {
521
522
  ref,
@@ -538,7 +539,7 @@ var progressVariants = cva("h-full rounded-full transition-all duration-300", {
538
539
  variant: "default"
539
540
  }
540
541
  });
541
- var Progress = React24.forwardRef(
542
+ var Progress = React25.forwardRef(
542
543
  ({ className, value, variant, showLabel, label = "Progress", size = "default", ...props }, ref) => {
543
544
  const clampedValue = Math.min(100, Math.max(0, value));
544
545
  const heightClass = {
@@ -605,7 +606,7 @@ var iconBoxVariants = cva(
605
606
  }
606
607
  }
607
608
  );
608
- var IconBox = React24.forwardRef(
609
+ var IconBox = React25.forwardRef(
609
610
  ({ className, variant, size, rounded, children, ...props }, ref) => {
610
611
  return /* @__PURE__ */ jsx(
611
612
  "div",
@@ -641,7 +642,7 @@ var tagVariants = cva(
641
642
  }
642
643
  }
643
644
  );
644
- var Tag = React24.forwardRef(
645
+ var Tag = React25.forwardRef(
645
646
  ({ className, variant, size, icon, children, ...props }, ref) => {
646
647
  return /* @__PURE__ */ jsxs(
647
648
  "span",
@@ -695,7 +696,7 @@ var valueVariants = cva("font-bold", {
695
696
  color: "default"
696
697
  }
697
698
  });
698
- var Stat = React24.forwardRef(
699
+ var Stat = React25.forwardRef(
699
700
  ({
700
701
  className,
701
702
  variant,
@@ -777,7 +778,7 @@ var iconVariants = cva("h-5 w-5", {
777
778
  color: "cyan"
778
779
  }
779
780
  });
780
- var MetricCard = React24.forwardRef(
781
+ var MetricCard = React25.forwardRef(
781
782
  ({
782
783
  className,
783
784
  variant,
@@ -836,7 +837,7 @@ var progressColorVariants = cva("", {
836
837
  color: "cyan"
837
838
  }
838
839
  });
839
- var UsageBar = React24.forwardRef(
840
+ var UsageBar = React25.forwardRef(
840
841
  ({
841
842
  className,
842
843
  size,
@@ -908,7 +909,7 @@ var UsageBar = React24.forwardRef(
908
909
  }
909
910
  );
910
911
  UsageBar.displayName = "UsageBar";
911
- var UsageChart = React24.forwardRef(
912
+ var UsageChart = React25.forwardRef(
912
913
  ({
913
914
  className,
914
915
  data,
@@ -919,8 +920,8 @@ var UsageChart = React24.forwardRef(
919
920
  formatValue = (v) => v.toLocaleString(),
920
921
  ...props
921
922
  }, ref) => {
922
- const [hoveredIndex, setHoveredIndex] = React24.useState(null);
923
- const maxValue = React24.useMemo(() => {
923
+ const [hoveredIndex, setHoveredIndex] = React25.useState(null);
924
+ const maxValue = React25.useMemo(() => {
924
925
  return Math.max(
925
926
  ...data.map((d) => d.value + (d.secondaryValue || 0)),
926
927
  1
@@ -1047,7 +1048,7 @@ var UsageChart = React24.forwardRef(
1047
1048
  }
1048
1049
  );
1049
1050
  UsageChart.displayName = "UsageChart";
1050
- var Input = React24.forwardRef(
1051
+ var Input = React25.forwardRef(
1051
1052
  ({ className, type, error, ...props }, ref) => {
1052
1053
  return /* @__PURE__ */ jsx(
1053
1054
  "input",
@@ -1087,7 +1088,7 @@ var NODES = [
1087
1088
  ];
1088
1089
  var Primitive = NODES.reduce((primitive, node) => {
1089
1090
  const Slot2 = createSlot(`Primitive.${node}`);
1090
- const Node = React24.forwardRef((props, forwardedRef) => {
1091
+ const Node = React25.forwardRef((props, forwardedRef) => {
1091
1092
  const { asChild, ...primitiveProps } = props;
1092
1093
  const Comp = asChild ? Slot2 : node;
1093
1094
  if (typeof window !== "undefined") {
@@ -1099,7 +1100,7 @@ var Primitive = NODES.reduce((primitive, node) => {
1099
1100
  return { ...primitive, [node]: Node };
1100
1101
  }, {});
1101
1102
  var NAME = "Label";
1102
- var Label = React24.forwardRef((props, forwardedRef) => {
1103
+ var Label = React25.forwardRef((props, forwardedRef) => {
1103
1104
  return /* @__PURE__ */ jsx(
1104
1105
  Primitive.label,
1105
1106
  {
@@ -1119,7 +1120,7 @@ var Root2 = Label;
1119
1120
  var labelVariants = cva(
1120
1121
  "text-sm font-medium leading-none text-[var(--black)] peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1121
1122
  );
1122
- var Label2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1123
+ var Label2 = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1123
1124
  Root2,
1124
1125
  {
1125
1126
  ref,
@@ -1128,7 +1129,7 @@ var Label2 = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
1128
1129
  }
1129
1130
  ));
1130
1131
  Label2.displayName = Root2.displayName;
1131
- var Textarea = React24.forwardRef(
1132
+ var Textarea = React25.forwardRef(
1132
1133
  ({ className, error, ...props }, ref) => {
1133
1134
  return /* @__PURE__ */ jsx(
1134
1135
  "textarea",
@@ -1146,11 +1147,33 @@ var Textarea = React24.forwardRef(
1146
1147
  }
1147
1148
  );
1148
1149
  Textarea.displayName = "Textarea";
1150
+ var Select = React25.forwardRef(
1151
+ ({ className, error, children, ...props }, ref) => {
1152
+ return /* @__PURE__ */ jsx(
1153
+ "select",
1154
+ {
1155
+ ref,
1156
+ className: cn(
1157
+ "flex h-10 w-full rounded-sm border bg-white px-3 py-2 text-base text-[var(--black)] ring-offset-background",
1158
+ "placeholder:text-gray-500",
1159
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
1160
+ "disabled:cursor-not-allowed disabled:opacity-50 md:text-sm transition-colors",
1161
+ error ? "border-red-500 focus-visible:ring-red-500" : "border-gray-300 focus-visible:ring-[var(--cyan)]",
1162
+ className
1163
+ ),
1164
+ "aria-invalid": error ? "true" : void 0,
1165
+ ...props,
1166
+ children
1167
+ }
1168
+ );
1169
+ }
1170
+ );
1171
+ Select.displayName = "Select";
1149
1172
 
1150
1173
  // src/icons.ts
1151
1174
  var icons_exports = {};
1152
1175
  __reExport(icons_exports, react_star);
1153
- var Checkbox = React24.forwardRef(
1176
+ var Checkbox = React25.forwardRef(
1154
1177
  ({ className, checked, onCheckedChange, ...props }, ref) => {
1155
1178
  return /* @__PURE__ */ jsxs("label", { className: "relative inline-flex items-center cursor-pointer", children: [
1156
1179
  /* @__PURE__ */ jsx(
@@ -1182,7 +1205,7 @@ var Checkbox = React24.forwardRef(
1182
1205
  );
1183
1206
  Checkbox.displayName = "Checkbox";
1184
1207
  var Accordion = AccordionPrimitive.Root;
1185
- var AccordionItem = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1208
+ var AccordionItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1186
1209
  AccordionPrimitive.Item,
1187
1210
  {
1188
1211
  ref,
@@ -1191,7 +1214,7 @@ var AccordionItem = React24.forwardRef(({ className, ...props }, ref) => /* @__P
1191
1214
  }
1192
1215
  ));
1193
1216
  AccordionItem.displayName = "AccordionItem";
1194
- var AccordionTrigger = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
1217
+ var AccordionTrigger = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
1195
1218
  AccordionPrimitive.Trigger,
1196
1219
  {
1197
1220
  ref,
@@ -1207,7 +1230,7 @@ var AccordionTrigger = React24.forwardRef(({ className, children, ...props }, re
1207
1230
  }
1208
1231
  ) }));
1209
1232
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
1210
- var AccordionContent = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
1233
+ var AccordionContent = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
1211
1234
  AccordionPrimitive.Content,
1212
1235
  {
1213
1236
  ref,
@@ -1238,7 +1261,7 @@ var NODES2 = [
1238
1261
  ];
1239
1262
  var Primitive2 = NODES2.reduce((primitive, node) => {
1240
1263
  const Slot2 = createSlot(`Primitive.${node}`);
1241
- const Node = React24.forwardRef((props, forwardedRef) => {
1264
+ const Node = React25.forwardRef((props, forwardedRef) => {
1242
1265
  const { asChild, ...primitiveProps } = props;
1243
1266
  const Comp = asChild ? Slot2 : node;
1244
1267
  if (typeof window !== "undefined") {
@@ -1252,7 +1275,7 @@ var Primitive2 = NODES2.reduce((primitive, node) => {
1252
1275
  var NAME2 = "Separator";
1253
1276
  var DEFAULT_ORIENTATION = "horizontal";
1254
1277
  var ORIENTATIONS = ["horizontal", "vertical"];
1255
- var Separator = React24.forwardRef((props, forwardedRef) => {
1278
+ var Separator = React25.forwardRef((props, forwardedRef) => {
1256
1279
  const { decorative, orientation: orientationProp = DEFAULT_ORIENTATION, ...domProps } = props;
1257
1280
  const orientation = isValidOrientation(orientationProp) ? orientationProp : DEFAULT_ORIENTATION;
1258
1281
  const ariaOrientation = orientation === "vertical" ? orientation : void 0;
@@ -1272,7 +1295,7 @@ function isValidOrientation(orientation) {
1272
1295
  return ORIENTATIONS.includes(orientation);
1273
1296
  }
1274
1297
  var Root4 = Separator;
1275
- var Separator2 = React24.forwardRef(
1298
+ var Separator2 = React25.forwardRef(
1276
1299
  ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ jsx(
1277
1300
  Root4,
1278
1301
  {
@@ -1289,7 +1312,7 @@ var Separator2 = React24.forwardRef(
1289
1312
  )
1290
1313
  );
1291
1314
  Separator2.displayName = Root4.displayName;
1292
- var NavigationMenu = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1315
+ var NavigationMenu = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1293
1316
  NavigationMenuPrimitive.Root,
1294
1317
  {
1295
1318
  ref,
@@ -1305,7 +1328,7 @@ var NavigationMenu = React24.forwardRef(({ className, children, ...props }, ref)
1305
1328
  }
1306
1329
  ));
1307
1330
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
1308
- var NavigationMenuList = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1331
+ var NavigationMenuList = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1309
1332
  NavigationMenuPrimitive.List,
1310
1333
  {
1311
1334
  ref,
@@ -1321,7 +1344,7 @@ var NavigationMenuItem = NavigationMenuPrimitive.Item;
1321
1344
  var navigationMenuTriggerStyle = cva(
1322
1345
  "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"
1323
1346
  );
1324
- var NavigationMenuTrigger = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1347
+ var NavigationMenuTrigger = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1325
1348
  NavigationMenuPrimitive.Trigger,
1326
1349
  {
1327
1350
  ref,
@@ -1341,7 +1364,7 @@ var NavigationMenuTrigger = React24.forwardRef(({ className, children, ...props
1341
1364
  }
1342
1365
  ));
1343
1366
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
1344
- var NavigationMenuContent = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1367
+ var NavigationMenuContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1345
1368
  NavigationMenuPrimitive.Content,
1346
1369
  {
1347
1370
  ref,
@@ -1354,7 +1377,7 @@ var NavigationMenuContent = React24.forwardRef(({ className, ...props }, ref) =>
1354
1377
  ));
1355
1378
  NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
1356
1379
  var NavigationMenuLink = NavigationMenuPrimitive.Link;
1357
- var NavigationMenuViewport = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
1380
+ var NavigationMenuViewport = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: cn("absolute left-0 top-full flex justify-center"), children: /* @__PURE__ */ jsx(
1358
1381
  NavigationMenuPrimitive.Viewport,
1359
1382
  {
1360
1383
  className: cn(
@@ -1366,7 +1389,7 @@ var NavigationMenuViewport = React24.forwardRef(({ className, ...props }, ref) =
1366
1389
  }
1367
1390
  ) }));
1368
1391
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
1369
- var NavigationMenuIndicator = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1392
+ var NavigationMenuIndicator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1370
1393
  NavigationMenuPrimitive.Indicator,
1371
1394
  {
1372
1395
  ref,
@@ -1379,7 +1402,7 @@ var NavigationMenuIndicator = React24.forwardRef(({ className, ...props }, ref)
1379
1402
  }
1380
1403
  ));
1381
1404
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
1382
- var Avatar = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1405
+ var Avatar = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1383
1406
  AvatarPrimitive.Root,
1384
1407
  {
1385
1408
  ref,
@@ -1391,7 +1414,7 @@ var Avatar = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
1391
1414
  }
1392
1415
  ));
1393
1416
  Avatar.displayName = AvatarPrimitive.Root.displayName;
1394
- var AvatarImage = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1417
+ var AvatarImage = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1395
1418
  AvatarPrimitive.Image,
1396
1419
  {
1397
1420
  ref,
@@ -1400,7 +1423,7 @@ var AvatarImage = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
1400
1423
  }
1401
1424
  ));
1402
1425
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
1403
- var AvatarFallback = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1426
+ var AvatarFallback = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1404
1427
  AvatarPrimitive.Fallback,
1405
1428
  {
1406
1429
  ref,
@@ -1418,7 +1441,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1418
1441
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1419
1442
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1420
1443
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1421
- var DropdownMenuSubTrigger = React24.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1444
+ var DropdownMenuSubTrigger = React25.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1422
1445
  DropdownMenuPrimitive.SubTrigger,
1423
1446
  {
1424
1447
  ref,
@@ -1435,7 +1458,7 @@ var DropdownMenuSubTrigger = React24.forwardRef(({ className, inset, children, .
1435
1458
  }
1436
1459
  ));
1437
1460
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1438
- var DropdownMenuSubContent = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1461
+ var DropdownMenuSubContent = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1439
1462
  DropdownMenuPrimitive.SubContent,
1440
1463
  {
1441
1464
  ref,
@@ -1447,7 +1470,7 @@ var DropdownMenuSubContent = React24.forwardRef(({ className, ...props }, ref) =
1447
1470
  }
1448
1471
  ));
1449
1472
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1450
- var DropdownMenuContent = React24.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
1473
+ var DropdownMenuContent = React25.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
1451
1474
  DropdownMenuPrimitive.Content,
1452
1475
  {
1453
1476
  ref,
@@ -1460,7 +1483,7 @@ var DropdownMenuContent = React24.forwardRef(({ className, sideOffset = 4, ...pr
1460
1483
  }
1461
1484
  ) }));
1462
1485
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1463
- var DropdownMenuItem = React24.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1486
+ var DropdownMenuItem = React25.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1464
1487
  DropdownMenuPrimitive.Item,
1465
1488
  {
1466
1489
  ref,
@@ -1473,7 +1496,7 @@ var DropdownMenuItem = React24.forwardRef(({ className, inset, ...props }, ref)
1473
1496
  }
1474
1497
  ));
1475
1498
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1476
- var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1499
+ var DropdownMenuCheckboxItem = React25.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1477
1500
  DropdownMenuPrimitive.CheckboxItem,
1478
1501
  {
1479
1502
  ref,
@@ -1490,7 +1513,7 @@ var DropdownMenuCheckboxItem = React24.forwardRef(({ className, children, checke
1490
1513
  }
1491
1514
  ));
1492
1515
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1493
- var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1516
+ var DropdownMenuRadioItem = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1494
1517
  DropdownMenuPrimitive.RadioItem,
1495
1518
  {
1496
1519
  ref,
@@ -1506,7 +1529,7 @@ var DropdownMenuRadioItem = React24.forwardRef(({ className, children, ...props
1506
1529
  }
1507
1530
  ));
1508
1531
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1509
- var DropdownMenuLabel = React24.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1532
+ var DropdownMenuLabel = React25.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1510
1533
  DropdownMenuPrimitive.Label,
1511
1534
  {
1512
1535
  ref,
@@ -1519,7 +1542,7 @@ var DropdownMenuLabel = React24.forwardRef(({ className, inset, ...props }, ref)
1519
1542
  }
1520
1543
  ));
1521
1544
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1522
- var DropdownMenuSeparator = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1545
+ var DropdownMenuSeparator = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1523
1546
  DropdownMenuPrimitive.Separator,
1524
1547
  {
1525
1548
  ref,
@@ -1541,7 +1564,7 @@ var DropdownMenuShortcut = ({
1541
1564
  );
1542
1565
  };
1543
1566
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1544
- var SidebarNavItem = React24.forwardRef(
1567
+ var SidebarNavItem = React25.forwardRef(
1545
1568
  ({ item, isActive, className, LinkComponent, ...props }, ref) => {
1546
1569
  const Icon = item.icon;
1547
1570
  const baseClassName = cn(
@@ -1581,7 +1604,7 @@ var SidebarNavItem = React24.forwardRef(
1581
1604
  }
1582
1605
  );
1583
1606
  SidebarNavItem.displayName = "SidebarNavItem";
1584
- var Sidebar = React24.forwardRef(
1607
+ var Sidebar = React25.forwardRef(
1585
1608
  ({
1586
1609
  mainNav = [],
1587
1610
  bottomNav = [],
@@ -1691,7 +1714,7 @@ var alertVariants = cva(
1691
1714
  }
1692
1715
  }
1693
1716
  );
1694
- var Alert = React24.forwardRef(
1717
+ var Alert = React25.forwardRef(
1695
1718
  ({ className, variant, icon, title, action, children, ...props }, ref) => {
1696
1719
  return /* @__PURE__ */ jsx(
1697
1720
  "div",
@@ -1714,7 +1737,7 @@ var Alert = React24.forwardRef(
1714
1737
  }
1715
1738
  );
1716
1739
  Alert.displayName = "Alert";
1717
- var EmptyState = React24.forwardRef(
1740
+ var EmptyState = React25.forwardRef(
1718
1741
  ({ className, icon, title, description, action, size = "default", ...props }, ref) => {
1719
1742
  const paddingClass = {
1720
1743
  sm: "p-8",
@@ -1742,7 +1765,7 @@ var EmptyState = React24.forwardRef(
1742
1765
  }
1743
1766
  );
1744
1767
  EmptyState.displayName = "EmptyState";
1745
- var CodeBlock = React24.forwardRef(
1768
+ var CodeBlock = React25.forwardRef(
1746
1769
  ({ className, children, language, ...props }, ref) => {
1747
1770
  return /* @__PURE__ */ jsx(
1748
1771
  "pre",
@@ -1760,15 +1783,15 @@ var CodeBlock = React24.forwardRef(
1760
1783
  }
1761
1784
  );
1762
1785
  CodeBlock.displayName = "CodeBlock";
1763
- var FormField = React24.forwardRef(
1786
+ var FormField = React25.forwardRef(
1764
1787
  ({ label, error, helperText, hint, required, id, className, children, ...props }, ref) => {
1765
- const fieldId = id || React24.useId();
1788
+ const fieldId = id || React25.useId();
1766
1789
  const errorId = `${fieldId}-error`;
1767
1790
  const helperId = `${fieldId}-helper`;
1768
- const enhancedChildren = React24.Children.map(children, (child) => {
1769
- if (React24.isValidElement(child)) {
1791
+ const enhancedChildren = React25.Children.map(children, (child) => {
1792
+ if (React25.isValidElement(child)) {
1770
1793
  const childProps = child.props;
1771
- return React24.cloneElement(child, {
1794
+ return React25.cloneElement(child, {
1772
1795
  id: fieldId,
1773
1796
  "aria-invalid": error ? "true" : void 0,
1774
1797
  "aria-describedby": error ? errorId : helperText ? helperId : void 0,
@@ -1792,7 +1815,7 @@ var FormField = React24.forwardRef(
1792
1815
  }
1793
1816
  );
1794
1817
  FormField.displayName = "FormField";
1795
- var Table = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx(
1818
+ var Table = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx(
1796
1819
  "table",
1797
1820
  {
1798
1821
  ref,
@@ -1801,11 +1824,11 @@ var Table = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1801
1824
  }
1802
1825
  ) }));
1803
1826
  Table.displayName = "Table";
1804
- var TableHeader = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("", className), ...props }));
1827
+ var TableHeader = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("", className), ...props }));
1805
1828
  TableHeader.displayName = "TableHeader";
1806
- var TableBody = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("", className), ...props }));
1829
+ var TableBody = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("", className), ...props }));
1807
1830
  TableBody.displayName = "TableBody";
1808
- var TableFooter = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1831
+ var TableFooter = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1809
1832
  "tfoot",
1810
1833
  {
1811
1834
  ref,
@@ -1814,7 +1837,7 @@ var TableFooter = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
1814
1837
  }
1815
1838
  ));
1816
1839
  TableFooter.displayName = "TableFooter";
1817
- var TableRow = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1840
+ var TableRow = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1818
1841
  "tr",
1819
1842
  {
1820
1843
  ref,
@@ -1823,7 +1846,7 @@ var TableRow = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1823
1846
  }
1824
1847
  ));
1825
1848
  TableRow.displayName = "TableRow";
1826
- var TableHead = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1849
+ var TableHead = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1827
1850
  "th",
1828
1851
  {
1829
1852
  ref,
@@ -1835,7 +1858,7 @@ var TableHead = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1835
1858
  }
1836
1859
  ));
1837
1860
  TableHead.displayName = "TableHead";
1838
- var TableCell = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1861
+ var TableCell = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1839
1862
  "td",
1840
1863
  {
1841
1864
  ref,
@@ -1844,7 +1867,7 @@ var TableCell = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1844
1867
  }
1845
1868
  ));
1846
1869
  TableCell.displayName = "TableCell";
1847
- var TableCaption = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1870
+ var TableCaption = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1848
1871
  "caption",
1849
1872
  {
1850
1873
  ref,
@@ -1853,7 +1876,7 @@ var TableCaption = React24.forwardRef(({ className, ...props }, ref) => /* @__PU
1853
1876
  }
1854
1877
  ));
1855
1878
  TableCaption.displayName = "TableCaption";
1856
- var Divider = React24.forwardRef(
1879
+ var Divider = React25.forwardRef(
1857
1880
  ({ className, text, orientation = "horizontal", ...props }, ref) => {
1858
1881
  if (orientation === "vertical") {
1859
1882
  return /* @__PURE__ */ jsx(
@@ -1895,7 +1918,7 @@ var Dialog = SheetPrimitive.Root;
1895
1918
  var DialogTrigger = SheetPrimitive.Trigger;
1896
1919
  var DialogPortal = SheetPrimitive.Portal;
1897
1920
  var DialogClose = SheetPrimitive.Close;
1898
- var DialogOverlay = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1921
+ var DialogOverlay = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1899
1922
  SheetPrimitive.Overlay,
1900
1923
  {
1901
1924
  ref,
@@ -1907,7 +1930,7 @@ var DialogOverlay = React24.forwardRef(({ className, ...props }, ref) => /* @__P
1907
1930
  }
1908
1931
  ));
1909
1932
  DialogOverlay.displayName = SheetPrimitive.Overlay.displayName;
1910
- var DialogContent = React24.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
1933
+ var DialogContent = React25.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(DialogPortal, { children: [
1911
1934
  /* @__PURE__ */ jsx(DialogOverlay, {}),
1912
1935
  /* @__PURE__ */ jsxs(
1913
1936
  SheetPrimitive.Content,
@@ -1957,7 +1980,7 @@ var DialogFooter = ({
1957
1980
  }
1958
1981
  );
1959
1982
  DialogFooter.displayName = "DialogFooter";
1960
- var DialogTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1983
+ var DialogTitle = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1961
1984
  SheetPrimitive.Title,
1962
1985
  {
1963
1986
  ref,
@@ -1969,7 +1992,7 @@ var DialogTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
1969
1992
  }
1970
1993
  ));
1971
1994
  DialogTitle.displayName = SheetPrimitive.Title.displayName;
1972
- var DialogDescription = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1995
+ var DialogDescription = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1973
1996
  SheetPrimitive.Description,
1974
1997
  {
1975
1998
  ref,
@@ -1979,7 +2002,7 @@ var DialogDescription = React24.forwardRef(({ className, ...props }, ref) => /*
1979
2002
  ));
1980
2003
  DialogDescription.displayName = SheetPrimitive.Description.displayName;
1981
2004
  var ToastProvider = ToastPrimitives.Provider;
1982
- var ToastViewport = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2005
+ var ToastViewport = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1983
2006
  ToastPrimitives.Viewport,
1984
2007
  {
1985
2008
  ref,
@@ -2007,7 +2030,7 @@ var toastVariants = cva(
2007
2030
  }
2008
2031
  }
2009
2032
  );
2010
- var Toast = React24.forwardRef(({ className, variant, ...props }, ref) => {
2033
+ var Toast = React25.forwardRef(({ className, variant, ...props }, ref) => {
2011
2034
  return /* @__PURE__ */ jsx(
2012
2035
  ToastPrimitives.Root,
2013
2036
  {
@@ -2018,7 +2041,7 @@ var Toast = React24.forwardRef(({ className, variant, ...props }, ref) => {
2018
2041
  );
2019
2042
  });
2020
2043
  Toast.displayName = ToastPrimitives.Root.displayName;
2021
- var ToastAction = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2044
+ var ToastAction = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2022
2045
  ToastPrimitives.Action,
2023
2046
  {
2024
2047
  ref,
@@ -2030,7 +2053,7 @@ var ToastAction = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
2030
2053
  }
2031
2054
  ));
2032
2055
  ToastAction.displayName = ToastPrimitives.Action.displayName;
2033
- var ToastClose = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2056
+ var ToastClose = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2034
2057
  ToastPrimitives.Close,
2035
2058
  {
2036
2059
  ref,
@@ -2044,7 +2067,7 @@ var ToastClose = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE
2044
2067
  }
2045
2068
  ));
2046
2069
  ToastClose.displayName = ToastPrimitives.Close.displayName;
2047
- var ToastTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2070
+ var ToastTitle = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2048
2071
  ToastPrimitives.Title,
2049
2072
  {
2050
2073
  ref,
@@ -2053,7 +2076,7 @@ var ToastTitle = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE
2053
2076
  }
2054
2077
  ));
2055
2078
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
2056
- var ToastDescription = React24.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2079
+ var ToastDescription = React25.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2057
2080
  ToastPrimitives.Description,
2058
2081
  {
2059
2082
  ref,
@@ -2190,8 +2213,8 @@ function toast({ ...props }) {
2190
2213
  };
2191
2214
  }
2192
2215
  function useToast() {
2193
- const [state, setState] = React24.useState(memoryState);
2194
- React24.useEffect(() => {
2216
+ const [state, setState] = React25.useState(memoryState);
2217
+ React25.useEffect(() => {
2195
2218
  listeners.push(setState);
2196
2219
  return () => {
2197
2220
  const index = listeners.indexOf(setState);
@@ -2230,6 +2253,6 @@ function Toaster() {
2230
2253
  // src/index.ts
2231
2254
  __reExport(index_exports, icons_exports);
2232
2255
 
2233
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, 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, FormField, IconBox, Input, Label2 as Label, Logo, MetricCard, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, Separator2 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarNavItem, Stat, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tag, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastIcon, ToastProvider, ToastTitle, ToastViewport, Toaster, UsageBar, UsageChart, alertVariants, badgeVariants, buttonVariants, cn, iconBoxVariants, metricCardVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, toast, usageBarVariants, useToast, valueVariants };
2256
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CodeBlock, 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, FormField, IconBox, Input, Label2 as Label, Logo, MetricCard, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Progress, Select, Separator2 as Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarNavItem, Stat, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tag, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastIcon, ToastProvider, ToastTitle, ToastViewport, Toaster, UsageBar, UsageChart, alertVariants, badgeVariants, buttonVariants, cn, iconBoxVariants, metricCardVariants, navigationMenuTriggerStyle, progressVariants, statVariants, tagVariants, toast, usageBarVariants, useToast, valueVariants };
2234
2257
  //# sourceMappingURL=index.mjs.map
2235
2258
  //# sourceMappingURL=index.mjs.map