@moontra/moonui 6.7.0 → 6.9.0

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,7 +1,7 @@
1
1
  'use client';
2
2
 
3
- import * as React23 from 'react';
4
- import React23__default, { useState, useCallback, useEffect } from 'react';
3
+ import * as React12 from 'react';
4
+ import React12__default, { useState, useCallback, useEffect } from 'react';
5
5
  import * as AccordionPrimitive from '@radix-ui/react-accordion';
6
6
  import { ChevronDown, Info, AlertCircle, AlertTriangle, Check, X, MoreHorizontal, Loader2, CreditCard, ArrowLeft, ArrowRight, Minus, Search, Calendar as Calendar$1, Clock, ChevronLeft, ChevronRight, Circle, Upload, Dot, ChevronUp, Phone, Bold, Italic, Underline, Strikethrough, AlignLeft, AlignCenter, AlignRight, AlignJustify, List, ListOrdered, Quote, Code, Link, Image, Palette, Undo, Redo, Edit, Eye, Copy, ArrowDown, ArrowUp, ArrowUpDown, CheckCircle, Star, GitFork, ExternalLink, Crown, Lock, Zap, Video, Music, FileText, File } from 'lucide-react';
7
7
  export { Palette, Pipette } from 'lucide-react';
@@ -10,6 +10,7 @@ import { twMerge } from 'tailwind-merge';
10
10
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
11
11
  import { cva } from 'class-variance-authority';
12
12
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
13
+ import { Slot } from '@radix-ui/react-slot';
13
14
  import { motion, AnimatePresence, useMotionValue, useTransform, animate } from 'framer-motion';
14
15
  import { isValid, format, isSameMonth, isToday, subMonths, addMonths, isSameDay, startOfMonth, endOfMonth, eachDayOfInterval, getDay, startOfWeek, endOfWeek } from 'date-fns';
15
16
  export { format } from 'date-fns';
@@ -45,14 +46,14 @@ function readableText(node) {
45
46
  if (Array.isArray(node)) {
46
47
  return node.map(readableText).filter(Boolean).join(" ").trim();
47
48
  }
48
- if (React23.isValidElement(node)) {
49
+ if (React12.isValidElement(node)) {
49
50
  const props = node.props;
50
51
  return readableText(props.children);
51
52
  }
52
53
  return "";
53
54
  }
54
55
  var Accordion = AccordionPrimitive.Root;
55
- var AccordionItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
56
+ var AccordionItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
56
57
  AccordionPrimitive.Item,
57
58
  {
58
59
  ref,
@@ -61,7 +62,7 @@ var AccordionItem = React23.forwardRef(({ className, ...props }, ref) => /* @__P
61
62
  }
62
63
  ));
63
64
  AccordionItem.displayName = "AccordionItem";
64
- var AccordionTrigger = React23.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
65
+ var AccordionTrigger = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
65
66
  AccordionPrimitive.Trigger,
66
67
  {
67
68
  ref,
@@ -79,7 +80,7 @@ var AccordionTrigger = React23.forwardRef(({ className, children, ...props }, re
79
80
  }
80
81
  ) }));
81
82
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
82
- var AccordionContent = React23.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
83
+ var AccordionContent = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
83
84
  AccordionPrimitive.Content,
84
85
  {
85
86
  ref,
@@ -132,7 +133,7 @@ var alertVariants = cva(
132
133
  }
133
134
  }
134
135
  );
135
- var Alert = React23.forwardRef(
136
+ var Alert = React12.forwardRef(
136
137
  ({
137
138
  className,
138
139
  variant = "default",
@@ -144,7 +145,7 @@ var Alert = React23.forwardRef(
144
145
  children,
145
146
  ...props
146
147
  }, ref) => {
147
- const Icon2 = React23.useMemo(() => {
148
+ const Icon2 = React12.useMemo(() => {
148
149
  switch (variant) {
149
150
  case "success":
150
151
  return Check;
@@ -192,7 +193,7 @@ var Alert = React23.forwardRef(
192
193
  }
193
194
  );
194
195
  Alert.displayName = "Alert";
195
- var AlertTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
196
+ var AlertTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
196
197
  "h5",
197
198
  {
198
199
  ref,
@@ -205,7 +206,7 @@ var AlertTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE
205
206
  }
206
207
  ));
207
208
  AlertTitle.displayName = "AlertTitle";
208
- var AlertDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
209
+ var AlertDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
209
210
  "div",
210
211
  {
211
212
  ref,
@@ -247,7 +248,7 @@ var aspectRatioVariants = cva(
247
248
  }
248
249
  }
249
250
  );
250
- var AspectRatio = React23.forwardRef(({ className, variant, radius, ratio = 16 / 9, style, children, ...props }, ref) => /* @__PURE__ */ jsx(
251
+ var AspectRatio = React12.forwardRef(({ className, variant, radius, ratio = 16 / 9, style, children, ...props }, ref) => /* @__PURE__ */ jsx(
251
252
  "div",
252
253
  {
253
254
  ref,
@@ -296,7 +297,7 @@ var avatarVariants = cva(
296
297
  }
297
298
  }
298
299
  );
299
- var Avatar = React23.forwardRef(({ className, size, radius, variant, ...props }, ref) => /* @__PURE__ */ jsx(
300
+ var Avatar = React12.forwardRef(({ className, size, radius, variant, ...props }, ref) => /* @__PURE__ */ jsx(
300
301
  AvatarPrimitive.Root,
301
302
  {
302
303
  ref,
@@ -305,7 +306,7 @@ var Avatar = React23.forwardRef(({ className, size, radius, variant, ...props },
305
306
  }
306
307
  ));
307
308
  Avatar.displayName = AvatarPrimitive.Root.displayName;
308
- var AvatarImage = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
309
+ var AvatarImage = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
309
310
  AvatarPrimitive.Image,
310
311
  {
311
312
  ref,
@@ -314,7 +315,7 @@ var AvatarImage = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
314
315
  }
315
316
  ));
316
317
  AvatarImage.displayName = AvatarPrimitive.Image.displayName;
317
- var AvatarFallback = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
318
+ var AvatarFallback = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
318
319
  AvatarPrimitive.Fallback,
319
320
  {
320
321
  ref,
@@ -326,9 +327,9 @@ var AvatarFallback = React23.forwardRef(({ className, ...props }, ref) => /* @__
326
327
  }
327
328
  ));
328
329
  AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
329
- var AvatarGroup = React23.forwardRef(
330
+ var AvatarGroup = React12.forwardRef(
330
331
  ({ className, max, children, overlapOffset = -8, ...props }, ref) => {
331
- const childrenArray = React23.Children.toArray(children);
332
+ const childrenArray = React12.Children.toArray(children);
332
333
  const visibleAvatars = max ? childrenArray.slice(0, max) : childrenArray;
333
334
  const remainingCount = max ? Math.max(0, childrenArray.length - max) : 0;
334
335
  return /* @__PURE__ */ jsx(
@@ -459,7 +460,7 @@ var badgeVariants = cva(
459
460
  }
460
461
  }
461
462
  );
462
- var Badge = React23.forwardRef(({
463
+ var Badge = React12.forwardRef(({
463
464
  className,
464
465
  variant,
465
466
  size,
@@ -567,8 +568,11 @@ var breadcrumbVariants = cva(
567
568
  }
568
569
  }
569
570
  );
570
- var Breadcrumb = React23.forwardRef(
571
- ({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
571
+ var BreadcrumbSeparatorContext = React12.createContext(void 0);
572
+ var Breadcrumb = React12.forwardRef(
573
+ // #309: `separator` ve `showHomeIcon` ESKİDEN destructure EDİLMİYORDU → `{...props}` ile
574
+ // `<nav>`'a öznitelik olarak basılıyor, React uyarı veriyordu. İkisi de artık ayrılıyor.
575
+ ({ className, variant, size, separator, showHomeIcon: _showHomeIcon, ...props }, ref) => /* @__PURE__ */ jsx(BreadcrumbSeparatorContext.Provider, { value: separator, children: /* @__PURE__ */ jsx(
572
576
  "nav",
573
577
  {
574
578
  ref,
@@ -576,12 +580,12 @@ var Breadcrumb = React23.forwardRef(
576
580
  "aria-label": "breadcrumb",
577
581
  ...props
578
582
  }
579
- )
583
+ ) })
580
584
  );
581
585
  Breadcrumb.displayName = "Breadcrumb";
582
- var BreadcrumbList = React23.forwardRef(
586
+ var BreadcrumbList = React12.forwardRef(
583
587
  ({ className, collapsed, collapsedWidth = 3, ...props }, ref) => {
584
- const childrenArray = React23.Children.toArray(props.children).filter(Boolean);
588
+ const childrenArray = React12.Children.toArray(props.children).filter(Boolean);
585
589
  const childCount = childrenArray.length;
586
590
  if (collapsed && childCount > collapsedWidth) {
587
591
  const firstItem = childrenArray[0];
@@ -617,26 +621,26 @@ var BreadcrumbList = React23.forwardRef(
617
621
  }
618
622
  );
619
623
  BreadcrumbList.displayName = "BreadcrumbList";
620
- var BreadcrumbItem = React23.forwardRef(
621
- ({ className, isCurrent, href, asChild = false, ...props }, ref) => {
622
- const Comp = asChild ? React23.Fragment : href ? "a" : "span";
623
- const itemProps = asChild ? {} : href ? { href } : {};
624
+ var BreadcrumbItem = React12.forwardRef(
625
+ ({ className, isCurrent, href, asChild = false, children, ...props }, ref) => {
626
+ const Comp = asChild ? Slot : href ? "a" : "span";
627
+ const itemProps = !asChild && href ? { href } : {};
624
628
  return /* @__PURE__ */ jsx(
625
629
  "li",
626
630
  {
627
631
  ref,
628
632
  className: cn("moonui-theme", "inline-flex items-center gap-1.5", className),
629
- "aria-current": isCurrent ? "page" : void 0,
630
633
  ...props,
631
634
  children: /* @__PURE__ */ jsx(
632
635
  Comp,
633
636
  {
637
+ "aria-current": isCurrent ? "page" : void 0,
634
638
  className: cn(
635
639
  "transition-colors duration-200 hover:text-foreground",
636
640
  isCurrent ? "font-medium text-foreground" : "text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"
637
641
  ),
638
642
  ...itemProps,
639
- children: props.children
643
+ children
640
644
  }
641
645
  )
642
646
  }
@@ -647,36 +651,53 @@ BreadcrumbItem.displayName = "BreadcrumbItem";
647
651
  var BreadcrumbSeparator = ({
648
652
  children,
649
653
  className,
654
+ icon,
650
655
  ...props
651
- }) => /* @__PURE__ */ jsx(
652
- "span",
653
- {
654
- role: "presentation",
655
- "aria-hidden": "true",
656
- className: cn("moonui-theme", "text-muted-foreground opacity-70", className),
657
- ...props,
658
- children: children || /* @__PURE__ */ jsx(ChevronRight, { className: "h-3.5 w-3.5" })
659
- }
660
- );
656
+ }) => {
657
+ const rootSeparator = React12.useContext(BreadcrumbSeparatorContext);
658
+ return (
659
+ // Ayraç tümüyle dekoratiftir → `aria-hidden` burada DOĞRU (ellipsis'in aksine içinde
660
+ // ekran-okuyucuya ait metin yok).
661
+ /* @__PURE__ */ jsx(
662
+ "span",
663
+ {
664
+ role: "presentation",
665
+ "aria-hidden": "true",
666
+ className: cn("moonui-theme", "text-muted-foreground opacity-70", className),
667
+ ...props,
668
+ children: children || icon || rootSeparator || /* @__PURE__ */ jsx(ChevronRight, { className: "h-3.5 w-3.5" })
669
+ }
670
+ )
671
+ );
672
+ };
661
673
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
662
674
  var BreadcrumbEllipsis = ({
663
675
  className,
676
+ icon,
664
677
  ...props
665
- }) => /* @__PURE__ */ jsxs(
666
- "span",
667
- {
668
- role: "presentation",
669
- "aria-hidden": "true",
670
- className: cn("moonui-theme", "flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200", className),
671
- ...props,
672
- children: [
673
- /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
674
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
675
- ]
676
- }
678
+ }) => (
679
+ // #309: `aria-hidden="true"` ESKİDEN BU ELEMANDAYDI → alt ağacın tamamı, içindeki
680
+ // `sr-only` "More pages" metni DAHİL, erişilebilirlik ağacından düşüyordu; yani metin
681
+ // hiçbir zaman duyurulmuyordu (eleman kendi amacını geçersiz kılıyordu). Gizleme artık
682
+ // yalnız dekoratif ikonda.
683
+ //
684
+ // `role="presentation"` KASITLI olarak korundu: span'in zaten örtük rolü yok, dolayısıyla
685
+ // zararsız ve alt ağacı GİZLEMEZ (aria-hidden'ın aksine) — kusur yalnız aria-hidden'dı.
686
+ /* @__PURE__ */ jsxs(
687
+ "span",
688
+ {
689
+ role: "presentation",
690
+ className: cn("moonui-theme", "flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200", className),
691
+ ...props,
692
+ children: [
693
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "flex items-center", children: icon || /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }) }),
694
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
695
+ ]
696
+ }
697
+ )
677
698
  );
678
699
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
679
- var BreadcrumbLink = React23.forwardRef(
700
+ var BreadcrumbLink = React12.forwardRef(
680
701
  ({ className, href, ...props }, ref) => /* @__PURE__ */ jsx(
681
702
  "a",
682
703
  {
@@ -691,7 +712,7 @@ var BreadcrumbLink = React23.forwardRef(
691
712
  )
692
713
  );
693
714
  BreadcrumbLink.displayName = "BreadcrumbLink";
694
- var BreadcrumbPage = React23.forwardRef(
715
+ var BreadcrumbPage = React12.forwardRef(
695
716
  ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
696
717
  "span",
697
718
  {
@@ -854,7 +875,7 @@ var buttonVariants = cva(
854
875
  }
855
876
  }
856
877
  );
857
- var Button = React23.forwardRef(
878
+ var Button = React12.forwardRef(
858
879
  ({
859
880
  className,
860
881
  variant,
@@ -1069,7 +1090,7 @@ var cardVariants = cva(
1069
1090
  }
1070
1091
  }
1071
1092
  );
1072
- var Card = React23.forwardRef(
1093
+ var Card = React12.forwardRef(
1073
1094
  ({ className, variant, size, radius, interactive, microInteraction = "lift", ...props }, ref) => {
1074
1095
  if (interactive && microInteraction !== "none") {
1075
1096
  const interactionProps = {
@@ -1097,7 +1118,7 @@ var Card = React23.forwardRef(
1097
1118
  }
1098
1119
  );
1099
1120
  Card.displayName = "Card";
1100
- var CardHeader = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1121
+ var CardHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1101
1122
  "div",
1102
1123
  {
1103
1124
  ref,
@@ -1106,7 +1127,7 @@ var CardHeader = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE
1106
1127
  }
1107
1128
  ));
1108
1129
  CardHeader.displayName = "CardHeader";
1109
- var CardTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1130
+ var CardTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1110
1131
  "h3",
1111
1132
  {
1112
1133
  ref,
@@ -1115,7 +1136,7 @@ var CardTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1115
1136
  }
1116
1137
  ));
1117
1138
  CardTitle.displayName = "CardTitle";
1118
- var CardDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1139
+ var CardDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1119
1140
  "p",
1120
1141
  {
1121
1142
  ref,
@@ -1124,9 +1145,9 @@ var CardDescription = React23.forwardRef(({ className, ...props }, ref) => /* @_
1124
1145
  }
1125
1146
  ));
1126
1147
  CardDescription.displayName = "CardDescription";
1127
- var CardContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("moonui-theme", "p-6 pt-0", className), ...props }));
1148
+ var CardContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("moonui-theme", "p-6 pt-0", className), ...props }));
1128
1149
  CardContent.displayName = "CardContent";
1129
- var CardFooter = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1150
+ var CardFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1130
1151
  "div",
1131
1152
  {
1132
1153
  ref,
@@ -1147,7 +1168,7 @@ function Calendar({
1147
1168
  defaultMonth,
1148
1169
  ...props
1149
1170
  }) {
1150
- const [currentMonth, setCurrentMonth] = React23.useState(
1171
+ const [currentMonth, setCurrentMonth] = React12.useState(
1151
1172
  defaultMonth || selected && selected || /* @__PURE__ */ new Date()
1152
1173
  );
1153
1174
  const weekDays = [
@@ -1361,9 +1382,9 @@ var formatCardNumber = (value, cardType) => {
1361
1382
  }
1362
1383
  return formatted;
1363
1384
  };
1364
- var CardNumberInput = React23.forwardRef(
1385
+ var CardNumberInput = React12.forwardRef(
1365
1386
  ({ className, value = "", onChange, showIcon = true, size, ...props }, ref) => {
1366
- const [cardType, setCardType] = React23.useState("unknown");
1387
+ const [cardType, setCardType] = React12.useState("unknown");
1367
1388
  const handleChange = (e) => {
1368
1389
  const rawValue = e.target.value.replace(/\D/g, "");
1369
1390
  const detectedType = getCardType(rawValue);
@@ -1394,7 +1415,7 @@ var CardNumberInput = React23.forwardRef(
1394
1415
  }
1395
1416
  );
1396
1417
  CardNumberInput.displayName = "CardNumberInput";
1397
- var CardExpiryInput = React23.forwardRef(
1418
+ var CardExpiryInput = React12.forwardRef(
1398
1419
  ({ className, value = "", onChange, size, ...props }, ref) => {
1399
1420
  const handleChange = (e) => {
1400
1421
  let rawValue = e.target.value.replace(/\D/g, "");
@@ -1432,7 +1453,7 @@ var CardExpiryInput = React23.forwardRef(
1432
1453
  }
1433
1454
  );
1434
1455
  CardExpiryInput.displayName = "CardExpiryInput";
1435
- var CardCVCInput = React23.forwardRef(
1456
+ var CardCVCInput = React12.forwardRef(
1436
1457
  ({ className, value = "", onChange, cardType = "unknown", size, ...props }, ref) => {
1437
1458
  const maxLength = cardType === "amex" ? 4 : 3;
1438
1459
  const handleChange = (e) => {
@@ -1457,7 +1478,7 @@ var CardCVCInput = React23.forwardRef(
1457
1478
  }
1458
1479
  );
1459
1480
  CardCVCInput.displayName = "CardCVCInput";
1460
- var CardZipInput = React23.forwardRef(
1481
+ var CardZipInput = React12.forwardRef(
1461
1482
  ({ className, value = "", onChange, format: format4 = "US", size, ...props }, ref) => {
1462
1483
  const handleChange = (e) => {
1463
1484
  let rawValue = e.target.value;
@@ -1508,15 +1529,15 @@ var CardZipInput = React23.forwardRef(
1508
1529
  }
1509
1530
  );
1510
1531
  CardZipInput.displayName = "CardZipInput";
1511
- var CarouselContext = React23.createContext(null);
1532
+ var CarouselContext = React12.createContext(null);
1512
1533
  function useCarousel() {
1513
- const context = React23.useContext(CarouselContext);
1534
+ const context = React12.useContext(CarouselContext);
1514
1535
  if (!context) {
1515
1536
  throw new Error("useCarousel must be used within a <Carousel />");
1516
1537
  }
1517
1538
  return context;
1518
1539
  }
1519
- var Carousel = React23.forwardRef(
1540
+ var Carousel = React12.forwardRef(
1520
1541
  ({
1521
1542
  orientation = "horizontal",
1522
1543
  opts,
@@ -1534,21 +1555,28 @@ var Carousel = React23.forwardRef(
1534
1555
  },
1535
1556
  plugins
1536
1557
  );
1537
- const [canScrollPrev, setCanScrollPrev] = React23.useState(false);
1538
- const [canScrollNext, setCanScrollNext] = React23.useState(false);
1539
- const onSelect = React23.useCallback((emblaApi) => {
1558
+ const [canScrollPrev, setCanScrollPrev] = React12.useState(false);
1559
+ const [canScrollNext, setCanScrollNext] = React12.useState(false);
1560
+ const [slideState, setSlideState] = React12.useState(
1561
+ { current: 0, total: 0 }
1562
+ );
1563
+ const onSelect = React12.useCallback((emblaApi) => {
1540
1564
  if (!emblaApi)
1541
1565
  return;
1542
1566
  setCanScrollPrev(emblaApi.canScrollPrev());
1543
1567
  setCanScrollNext(emblaApi.canScrollNext());
1568
+ setSlideState({
1569
+ current: emblaApi.selectedScrollSnap() + 1,
1570
+ total: emblaApi.scrollSnapList().length
1571
+ });
1544
1572
  }, []);
1545
- const scrollPrev = React23.useCallback(() => {
1573
+ const scrollPrev = React12.useCallback(() => {
1546
1574
  api?.scrollPrev();
1547
1575
  }, [api]);
1548
- const scrollNext = React23.useCallback(() => {
1576
+ const scrollNext = React12.useCallback(() => {
1549
1577
  api?.scrollNext();
1550
1578
  }, [api]);
1551
- const handleKeyDown = React23.useCallback(
1579
+ const handleKeyDown = React12.useCallback(
1552
1580
  (event) => {
1553
1581
  const prevKey = resolvedOrientation === "horizontal" ? "ArrowLeft" : "ArrowUp";
1554
1582
  const nextKey = resolvedOrientation === "horizontal" ? "ArrowRight" : "ArrowDown";
@@ -1562,12 +1590,12 @@ var Carousel = React23.forwardRef(
1562
1590
  },
1563
1591
  [resolvedOrientation, scrollPrev, scrollNext]
1564
1592
  );
1565
- React23.useEffect(() => {
1593
+ React12.useEffect(() => {
1566
1594
  if (!api || !setApi)
1567
1595
  return;
1568
1596
  setApi(api);
1569
1597
  }, [api, setApi]);
1570
- React23.useEffect(() => {
1598
+ React12.useEffect(() => {
1571
1599
  if (!api)
1572
1600
  return;
1573
1601
  onSelect(api);
@@ -1591,7 +1619,7 @@ var Carousel = React23.forwardRef(
1591
1619
  canScrollNext,
1592
1620
  orientation: resolvedOrientation
1593
1621
  },
1594
- children: /* @__PURE__ */ jsx(
1622
+ children: /* @__PURE__ */ jsxs(
1595
1623
  "div",
1596
1624
  {
1597
1625
  ref,
@@ -1600,7 +1628,10 @@ var Carousel = React23.forwardRef(
1600
1628
  role: "region",
1601
1629
  "aria-roledescription": "carousel",
1602
1630
  ...props,
1603
- children
1631
+ children: [
1632
+ children,
1633
+ /* @__PURE__ */ jsx("div", { "aria-live": "polite", "aria-atomic": "true", className: "sr-only", children: slideState.total > 0 ? `Slide ${slideState.current} of ${slideState.total}` : "" })
1634
+ ]
1604
1635
  }
1605
1636
  )
1606
1637
  }
@@ -1619,7 +1650,7 @@ var carouselContentVariants = cva("flex", {
1619
1650
  orientation: "horizontal"
1620
1651
  }
1621
1652
  });
1622
- var CarouselContent = React23.forwardRef(
1653
+ var CarouselContent = React12.forwardRef(
1623
1654
  ({ className, ...props }, ref) => {
1624
1655
  const { carouselRef, orientation } = useCarousel();
1625
1656
  return /* @__PURE__ */ jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsx(
@@ -1644,7 +1675,7 @@ var carouselItemVariants = cva("min-w-0 shrink-0 grow-0 basis-full", {
1644
1675
  orientation: "horizontal"
1645
1676
  }
1646
1677
  });
1647
- var CarouselItem = React23.forwardRef(
1678
+ var CarouselItem = React12.forwardRef(
1648
1679
  ({ className, ...props }, ref) => {
1649
1680
  const { orientation } = useCarousel();
1650
1681
  return /* @__PURE__ */ jsx(
@@ -1660,7 +1691,7 @@ var CarouselItem = React23.forwardRef(
1660
1691
  }
1661
1692
  );
1662
1693
  CarouselItem.displayName = "CarouselItem";
1663
- var CarouselPrevious = React23.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1694
+ var CarouselPrevious = React12.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1664
1695
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
1665
1696
  return /* @__PURE__ */ jsxs(
1666
1697
  Button,
@@ -1685,7 +1716,7 @@ var CarouselPrevious = React23.forwardRef(({ className, variant = "outline", siz
1685
1716
  );
1686
1717
  });
1687
1718
  CarouselPrevious.displayName = "CarouselPrevious";
1688
- var CarouselNext = React23.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1719
+ var CarouselNext = React12.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1689
1720
  const { orientation, scrollNext, canScrollNext } = useCarousel();
1690
1721
  return /* @__PURE__ */ jsxs(
1691
1722
  Button,
@@ -1748,7 +1779,7 @@ var checkboxVariants = cva(
1748
1779
  }
1749
1780
  }
1750
1781
  );
1751
- var Checkbox = React23.forwardRef(({
1782
+ var Checkbox = React12.forwardRef(({
1752
1783
  className,
1753
1784
  variant,
1754
1785
  size,
@@ -1781,7 +1812,7 @@ var Checkbox = React23.forwardRef(({
1781
1812
  );
1782
1813
  });
1783
1814
  Checkbox.displayName = CheckboxPrimitive.Root.displayName;
1784
- var CheckboxGroup = React23.forwardRef(
1815
+ var CheckboxGroup = React12.forwardRef(
1785
1816
  ({ className, orientation = "vertical", spacing = "1rem", children, ...props }, ref) => {
1786
1817
  return /* @__PURE__ */ jsx(
1787
1818
  "div",
@@ -1801,7 +1832,7 @@ var CheckboxGroup = React23.forwardRef(
1801
1832
  }
1802
1833
  );
1803
1834
  CheckboxGroup.displayName = "CheckboxGroup";
1804
- var CheckboxLabel = React23.forwardRef(
1835
+ var CheckboxLabel = React12.forwardRef(
1805
1836
  ({ className, htmlFor, children, position = "end", disabled = false, ...props }, ref) => {
1806
1837
  return /* @__PURE__ */ jsx(
1807
1838
  "label",
@@ -1821,14 +1852,14 @@ var CheckboxLabel = React23.forwardRef(
1821
1852
  }
1822
1853
  );
1823
1854
  CheckboxLabel.displayName = "CheckboxLabel";
1824
- var CheckboxWithLabel = React23.forwardRef(({
1855
+ var CheckboxWithLabel = React12.forwardRef(({
1825
1856
  id,
1826
1857
  label,
1827
1858
  labelPosition = "end",
1828
1859
  labelClassName,
1829
1860
  ...checkboxProps
1830
1861
  }, ref) => {
1831
- const generatedId = React23.useId();
1862
+ const generatedId = React12.useId();
1832
1863
  const checkboxId = id || generatedId;
1833
1864
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
1834
1865
  labelPosition === "start" && /* @__PURE__ */ jsx(
@@ -1878,7 +1909,7 @@ var collapsibleTriggerVariants = cva(
1878
1909
  }
1879
1910
  }
1880
1911
  );
1881
- var CollapsibleTrigger = React23.forwardRef(({ className, children, variant, size, asChild, ...props }, ref) => {
1912
+ var CollapsibleTrigger = React12.forwardRef(({ className, children, variant, size, asChild, ...props }, ref) => {
1882
1913
  if (asChild) {
1883
1914
  return /* @__PURE__ */ jsx(
1884
1915
  CollapsiblePrimitive.Trigger,
@@ -1927,7 +1958,7 @@ var collapsibleContentVariants = cva(
1927
1958
  }
1928
1959
  }
1929
1960
  );
1930
- var CollapsibleContent = React23.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
1961
+ var CollapsibleContent = React12.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
1931
1962
  CollapsiblePrimitive.Content,
1932
1963
  {
1933
1964
  ref,
@@ -2010,7 +2041,7 @@ var inputVariants = cva(
2010
2041
  }
2011
2042
  }
2012
2043
  );
2013
- var Input = React23.forwardRef(
2044
+ var Input = React12.forwardRef(
2014
2045
  ({
2015
2046
  className,
2016
2047
  wrapperClassName,
@@ -2037,10 +2068,10 @@ var Input = React23.forwardRef(
2037
2068
  placeholder,
2038
2069
  ...props
2039
2070
  }, ref) => {
2040
- const reactId = React23.useId();
2071
+ const reactId = React12.useId();
2041
2072
  const fieldId = props.id || reactId;
2042
- const [isFocused, setIsFocused] = React23.useState(false);
2043
- const [internalValue, setInternalValue] = React23.useState(value || defaultValue || "");
2073
+ const [isFocused, setIsFocused] = React12.useState(false);
2074
+ const [internalValue, setInternalValue] = React12.useState(value || defaultValue || "");
2044
2075
  const hasValue = internalValue !== "" && internalValue !== null && internalValue !== void 0;
2045
2076
  const isLabelActive = isFocused || hasValue;
2046
2077
  const handleFocus = (e) => {
@@ -2055,7 +2086,7 @@ var Input = React23.forwardRef(
2055
2086
  setInternalValue(e.target.value);
2056
2087
  onChange?.(e);
2057
2088
  };
2058
- React23.useEffect(() => {
2089
+ React12.useEffect(() => {
2059
2090
  if (value !== void 0) {
2060
2091
  setInternalValue(value);
2061
2092
  }
@@ -2139,7 +2170,7 @@ Input.displayName = "Input";
2139
2170
  var labelVariants = cva(
2140
2171
  "text-sm font-medium leading-none text-foreground peer-disabled:cursor-not-allowed peer-disabled:opacity-70 dark:peer-disabled:opacity-60 transition-colors duration-200"
2141
2172
  );
2142
- var Label = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2173
+ var Label = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
2143
2174
  LabelPrimitive.Root,
2144
2175
  {
2145
2176
  ref,
@@ -2200,7 +2231,7 @@ var popoverContentVariants = cva(
2200
2231
  var Popover = PopoverPrimitive.Root;
2201
2232
  var PopoverTrigger = PopoverPrimitive.Trigger;
2202
2233
  var PopoverAnchor = PopoverPrimitive.Anchor;
2203
- var PopoverContent = React23.forwardRef(({
2234
+ var PopoverContent = React12.forwardRef(({
2204
2235
  className,
2205
2236
  variant,
2206
2237
  size,
@@ -2274,15 +2305,19 @@ var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ jsx(
2274
2305
  }
2275
2306
  );
2276
2307
  PopoverFooter.displayName = "PopoverFooter";
2277
- var Tabs = React23.forwardRef(({ vertical = false, ...props }, ref) => /* @__PURE__ */ jsx(
2278
- TabsPrimitive.Root,
2279
- {
2280
- ref,
2281
- className: cn("moonui-theme", props.className),
2282
- orientation: vertical ? "vertical" : "horizontal",
2283
- ...props
2284
- }
2285
- ));
2308
+ var TabsOrientationContext = React12.createContext("horizontal");
2309
+ var Tabs = React12.forwardRef(({ vertical = false, orientation, className, ...props }, ref) => {
2310
+ const resolvedOrientation = orientation ?? (vertical ? "vertical" : "horizontal");
2311
+ return /* @__PURE__ */ jsx(TabsOrientationContext.Provider, { value: resolvedOrientation, children: /* @__PURE__ */ jsx(
2312
+ TabsPrimitive.Root,
2313
+ {
2314
+ ref,
2315
+ className: cn("moonui-theme", className),
2316
+ orientation: resolvedOrientation,
2317
+ ...props
2318
+ }
2319
+ ) });
2320
+ });
2286
2321
  Tabs.displayName = TabsPrimitive.Root.displayName;
2287
2322
  var tabsListVariants = cva(
2288
2323
  "flex items-center justify-start transition-all duration-200",
@@ -2315,12 +2350,14 @@ var tabsListVariants = cva(
2315
2350
  }
2316
2351
  }
2317
2352
  );
2318
- var TabsList = React23.forwardRef(({ className, variant, orientation, fullWidth, scrollable, ...props }, ref) => {
2353
+ var TabsList = React12.forwardRef(({ className, variant, orientation, fullWidth, scrollable, ...props }, ref) => {
2354
+ const contextOrientation = React12.useContext(TabsOrientationContext);
2355
+ const resolvedOrientation = orientation ?? contextOrientation;
2319
2356
  return /* @__PURE__ */ jsx(
2320
2357
  TabsPrimitive.List,
2321
2358
  {
2322
2359
  ref,
2323
- className: cn("moonui-theme", tabsListVariants({ variant, orientation, fullWidth, scrollable, className })),
2360
+ className: cn("moonui-theme", tabsListVariants({ variant, orientation: resolvedOrientation, fullWidth, scrollable, className })),
2324
2361
  ...props
2325
2362
  }
2326
2363
  );
@@ -2358,7 +2395,7 @@ var tabsTriggerVariants = cva(
2358
2395
  }
2359
2396
  }
2360
2397
  );
2361
- var TabsTrigger = React23.forwardRef(({
2398
+ var TabsTrigger = React12.forwardRef(({
2362
2399
  className,
2363
2400
  variant,
2364
2401
  size,
@@ -2370,27 +2407,31 @@ var TabsTrigger = React23.forwardRef(({
2370
2407
  fullWidth,
2371
2408
  children,
2372
2409
  ...props
2373
- }, ref) => /* @__PURE__ */ jsxs(
2374
- TabsPrimitive.Trigger,
2375
- {
2376
- ref,
2377
- className: cn(
2378
- "moonui-theme",
2379
- tabsTriggerVariants({ variant, size, orientation, fullWidth }),
2380
- fadeTabs && "data-[state=inactive]:opacity-60",
2381
- className
2382
- ),
2383
- ...props,
2384
- children: [
2385
- icon && iconPosition === "left" && /* @__PURE__ */ jsx("span", { className: "mr-2", children: icon }),
2386
- children,
2387
- icon && iconPosition === "right" && /* @__PURE__ */ jsx("span", { className: "ml-2", children: icon }),
2388
- badge && /* @__PURE__ */ jsx("span", { className: "ml-2", children: badge })
2389
- ]
2390
- }
2391
- ));
2410
+ }, ref) => {
2411
+ const contextOrientation = React12.useContext(TabsOrientationContext);
2412
+ const resolvedOrientation = orientation ?? contextOrientation;
2413
+ return /* @__PURE__ */ jsxs(
2414
+ TabsPrimitive.Trigger,
2415
+ {
2416
+ ref,
2417
+ className: cn(
2418
+ "moonui-theme",
2419
+ tabsTriggerVariants({ variant, size, orientation: resolvedOrientation, fullWidth }),
2420
+ fadeTabs && "data-[state=inactive]:opacity-60",
2421
+ className
2422
+ ),
2423
+ ...props,
2424
+ children: [
2425
+ icon && iconPosition === "left" && /* @__PURE__ */ jsx("span", { className: "mr-2", children: icon }),
2426
+ children,
2427
+ icon && iconPosition === "right" && /* @__PURE__ */ jsx("span", { className: "ml-2", children: icon }),
2428
+ badge && /* @__PURE__ */ jsx("span", { className: "ml-2", children: badge })
2429
+ ]
2430
+ }
2431
+ );
2432
+ });
2392
2433
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
2393
- var TabsContent = React23.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsx(
2434
+ var TabsContent = React12.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsx(
2394
2435
  TabsPrimitive.Content,
2395
2436
  {
2396
2437
  ref,
@@ -2484,7 +2525,7 @@ var sliderThumbVariants = cva(
2484
2525
  }
2485
2526
  }
2486
2527
  );
2487
- var Slider = React23.forwardRef(({
2528
+ var Slider = React12.forwardRef(({
2488
2529
  className,
2489
2530
  size,
2490
2531
  trackVariant,
@@ -2500,10 +2541,10 @@ var Slider = React23.forwardRef(({
2500
2541
  disabled,
2501
2542
  ...props
2502
2543
  }, ref) => {
2503
- const [sliderValue, setSliderValue] = React23.useState(
2544
+ const [sliderValue, setSliderValue] = React12.useState(
2504
2545
  value || defaultValue || [0]
2505
2546
  );
2506
- React23.useEffect(() => {
2547
+ React12.useEffect(() => {
2507
2548
  if (value !== void 0) {
2508
2549
  setSliderValue(value);
2509
2550
  }
@@ -2518,7 +2559,7 @@ var Slider = React23.forwardRef(({
2518
2559
  const calculateThumbPercent = (value2, min2, max2) => {
2519
2560
  return (value2 - min2) / (max2 - min2) * 100;
2520
2561
  };
2521
- const trackRef = React23.useRef(null);
2562
+ const trackRef = React12.useRef(null);
2522
2563
  const min = props.min || 0;
2523
2564
  const max = props.max || 100;
2524
2565
  const step = props.step || 1;
@@ -2830,14 +2871,14 @@ function ColorPicker({
2830
2871
  disabled,
2831
2872
  ...props
2832
2873
  }) {
2833
- const [open, setOpen] = React23.useState(false);
2834
- const [color, setColor] = React23.useState(value);
2835
- const [opacity, setOpacity] = React23.useState(100);
2836
- const [copied, setCopied] = React23.useState(false);
2837
- const [inputValue, setInputValue] = React23.useState(value);
2838
- const hsl = React23.useMemo(() => hexToHsl(color) || { h: 0, s: 0, l: 0 }, [color]);
2839
- const rgb = React23.useMemo(() => hexToRgb(color) || { r: 0, g: 0, b: 0 }, [color]);
2840
- React23.useEffect(() => {
2874
+ const [open, setOpen] = React12.useState(false);
2875
+ const [color, setColor] = React12.useState(value);
2876
+ const [opacity, setOpacity] = React12.useState(100);
2877
+ const [copied, setCopied] = React12.useState(false);
2878
+ const [inputValue, setInputValue] = React12.useState(value);
2879
+ const hsl = React12.useMemo(() => hexToHsl(color) || { h: 0, s: 0, l: 0 }, [color]);
2880
+ const rgb = React12.useMemo(() => hexToRgb(color) || { r: 0, g: 0, b: 0 }, [color]);
2881
+ React12.useEffect(() => {
2841
2882
  setColor(value);
2842
2883
  setInputValue(value);
2843
2884
  }, [value]);
@@ -3232,7 +3273,7 @@ function GradientPicker({
3232
3273
  onChange,
3233
3274
  className
3234
3275
  }) {
3235
- const [gradient, setGradient] = React23.useState(value);
3276
+ const [gradient, setGradient] = React12.useState(value);
3236
3277
  const handleChange = (field, newValue) => {
3237
3278
  const newGradient = { ...gradient, [field]: newValue };
3238
3279
  setGradient(newGradient);
@@ -3318,7 +3359,7 @@ var overlayVariants = cva(
3318
3359
  }
3319
3360
  }
3320
3361
  );
3321
- var DialogOverlay = React23.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsx(
3362
+ var DialogOverlay = React12.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsx(
3322
3363
  DialogPrimitive.Overlay,
3323
3364
  {
3324
3365
  ref,
@@ -3377,7 +3418,7 @@ var dialogContentVariants = cva(
3377
3418
  }
3378
3419
  }
3379
3420
  );
3380
- var DialogContent = React23.forwardRef(
3421
+ var DialogContent = React12.forwardRef(
3381
3422
  ({
3382
3423
  className,
3383
3424
  children,
@@ -3490,7 +3531,7 @@ var DialogFooter = ({
3490
3531
  }
3491
3532
  );
3492
3533
  DialogFooter.displayName = "DialogFooter";
3493
- var DialogTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3534
+ var DialogTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3494
3535
  DialogPrimitive.Title,
3495
3536
  {
3496
3537
  ref,
@@ -3502,7 +3543,7 @@ var DialogTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
3502
3543
  }
3503
3544
  ));
3504
3545
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
3505
- var DialogDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3546
+ var DialogDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3506
3547
  DialogPrimitive.Description,
3507
3548
  {
3508
3549
  ref,
@@ -3514,7 +3555,7 @@ var DialogDescription = React23.forwardRef(({ className, ...props }, ref) => /*
3514
3555
  }
3515
3556
  ));
3516
3557
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
3517
- var DialogForm = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3558
+ var DialogForm = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3518
3559
  "form",
3519
3560
  {
3520
3561
  ref,
@@ -3544,7 +3585,7 @@ var commandVariants = cva(
3544
3585
  }
3545
3586
  }
3546
3587
  );
3547
- var Command = React23.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
3588
+ var Command = React12.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
3548
3589
  Command$1,
3549
3590
  {
3550
3591
  ref,
@@ -3566,7 +3607,7 @@ var CommandDialog = ({
3566
3607
  ), children })
3567
3608
  ] }) });
3568
3609
  };
3569
- var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3610
+ var CommandInput = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3570
3611
  /* @__PURE__ */ jsx(Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3571
3612
  /* @__PURE__ */ jsx(
3572
3613
  Command$1.Input,
@@ -3581,7 +3622,7 @@ var CommandInput = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
3581
3622
  )
3582
3623
  ] }));
3583
3624
  CommandInput.displayName = "CommandInput";
3584
- var CommandList = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3625
+ var CommandList = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3585
3626
  Command$1.List,
3586
3627
  {
3587
3628
  ref,
@@ -3590,7 +3631,7 @@ var CommandList = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
3590
3631
  }
3591
3632
  ));
3592
3633
  CommandList.displayName = "CommandList";
3593
- var CommandEmpty = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3634
+ var CommandEmpty = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3594
3635
  Command$1.Empty,
3595
3636
  {
3596
3637
  ref,
@@ -3599,7 +3640,7 @@ var CommandEmpty = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
3599
3640
  }
3600
3641
  ));
3601
3642
  CommandEmpty.displayName = "CommandEmpty";
3602
- var CommandGroup = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3643
+ var CommandGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3603
3644
  Command$1.Group,
3604
3645
  {
3605
3646
  ref,
@@ -3611,16 +3652,17 @@ var CommandGroup = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
3611
3652
  }
3612
3653
  ));
3613
3654
  CommandGroup.displayName = "CommandGroup";
3614
- var CommandSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3655
+ var CommandSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3615
3656
  Command$1.Separator,
3616
3657
  {
3617
3658
  ref,
3659
+ "aria-hidden": "true",
3618
3660
  className: cn("moonui-theme", "-mx-1 h-px bg-border", className),
3619
3661
  ...props
3620
3662
  }
3621
3663
  ));
3622
3664
  CommandSeparator.displayName = "CommandSeparator";
3623
- var CommandItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3665
+ var CommandItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3624
3666
  Command$1.Item,
3625
3667
  {
3626
3668
  ref,
@@ -3648,7 +3690,7 @@ var CommandShortcut = ({
3648
3690
  );
3649
3691
  };
3650
3692
  CommandShortcut.displayName = "CommandShortcut";
3651
- var TableSortContext = React23.createContext(null);
3693
+ var TableSortContext = React12.createContext(null);
3652
3694
  function nextSortDirection(current) {
3653
3695
  if (current === "asc")
3654
3696
  return "desc";
@@ -3679,7 +3721,7 @@ var tableVariants = cva(
3679
3721
  }
3680
3722
  }
3681
3723
  );
3682
- var Table = React23.forwardRef(({
3724
+ var Table = React12.forwardRef(({
3683
3725
  className,
3684
3726
  variant,
3685
3727
  size,
@@ -3702,15 +3744,15 @@ var Table = React23.forwardRef(({
3702
3744
  ...props
3703
3745
  }, ref) => {
3704
3746
  const striped = variant === "striped";
3705
- const sortContextValue = React23.useMemo(
3747
+ const sortContextValue = React12.useMemo(
3706
3748
  () => ({ sortColumn, sortDirection, onSortChange }),
3707
3749
  [sortColumn, sortDirection, onSortChange]
3708
3750
  );
3709
- const childrenWithProps = React23.Children.map(props.children, (child) => {
3710
- if (React23.isValidElement(child)) {
3751
+ const childrenWithProps = React12.Children.map(props.children, (child) => {
3752
+ if (React12.isValidElement(child)) {
3711
3753
  if (child.type === "tbody") {
3712
3754
  const tbodyProps = child.props;
3713
- return React23.cloneElement(child, {
3755
+ return React12.cloneElement(child, {
3714
3756
  className: cn(tbodyProps.className, striped && "even:[&>tr]:bg-muted/50")
3715
3757
  });
3716
3758
  }
@@ -3735,10 +3777,10 @@ var Table = React23.forwardRef(({
3735
3777
  ] });
3736
3778
  });
3737
3779
  Table.displayName = "Table";
3738
- var TableHeader = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("moonui-theme", "[&_tr]:border-b", className), ...props }));
3780
+ var TableHeader = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("moonui-theme", "[&_tr]:border-b", className), ...props }));
3739
3781
  TableHeader.displayName = "TableHeader";
3740
- var TableBody = React23.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
3741
- const hasChildren = React23.Children.count(children) > 0;
3782
+ var TableBody = React12.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
3783
+ const hasChildren = React12.Children.count(children) > 0;
3742
3784
  return /* @__PURE__ */ jsx(
3743
3785
  "tbody",
3744
3786
  {
@@ -3750,7 +3792,7 @@ var TableBody = React23.forwardRef(({ className, emptyContent, emptyMessage = "N
3750
3792
  );
3751
3793
  });
3752
3794
  TableBody.displayName = "TableBody";
3753
- var TableFooter = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3795
+ var TableFooter = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3754
3796
  "tfoot",
3755
3797
  {
3756
3798
  ref,
@@ -3759,7 +3801,7 @@ var TableFooter = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
3759
3801
  }
3760
3802
  ));
3761
3803
  TableFooter.displayName = "TableFooter";
3762
- var TableRow = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3804
+ var TableRow = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3763
3805
  "tr",
3764
3806
  {
3765
3807
  ref,
@@ -3771,12 +3813,12 @@ var TableRow = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__
3771
3813
  }
3772
3814
  ));
3773
3815
  TableRow.displayName = "TableRow";
3774
- var TableHead = React23.forwardRef(
3816
+ var TableHead = React12.forwardRef(
3775
3817
  ({ className, sortable, sorted, onSort, columnId, align = "left", children, ...props }, ref) => {
3776
- const sortCtx = React23.useContext(TableSortContext);
3818
+ const sortCtx = React12.useContext(TableSortContext);
3777
3819
  const ctxSorted = columnId && sortCtx && sortCtx.sortColumn === columnId ? sortCtx.sortDirection ?? null : null;
3778
3820
  const effectiveSorted = sorted !== void 0 ? sorted : ctxSorted;
3779
- const handleSort = React23.useCallback(() => {
3821
+ const handleSort = React12.useCallback(() => {
3780
3822
  if (onSort) {
3781
3823
  onSort();
3782
3824
  return;
@@ -3887,7 +3929,7 @@ var TableHead = React23.forwardRef(
3887
3929
  }
3888
3930
  );
3889
3931
  TableHead.displayName = "TableHead";
3890
- var TableCell = React23.forwardRef(({ className, align = "left", ...props }, ref) => {
3932
+ var TableCell = React12.forwardRef(({ className, align = "left", ...props }, ref) => {
3891
3933
  const alignmentClass = {
3892
3934
  left: "text-left",
3893
3935
  center: "text-center",
@@ -3903,7 +3945,7 @@ var TableCell = React23.forwardRef(({ className, align = "left", ...props }, ref
3903
3945
  );
3904
3946
  });
3905
3947
  TableCell.displayName = "TableCell";
3906
- var TableCaption = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3948
+ var TableCaption = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3907
3949
  "caption",
3908
3950
  {
3909
3951
  ref,
@@ -3923,8 +3965,8 @@ function DataTableBasic({
3923
3965
  emptyMessage = "No results found.",
3924
3966
  className
3925
3967
  }) {
3926
- const [sorting, setSorting] = React23.useState([]);
3927
- const [globalFilter, setGlobalFilter] = React23.useState("");
3968
+ const [sorting, setSorting] = React12.useState([]);
3969
+ const [globalFilter, setGlobalFilter] = React12.useState("");
3928
3970
  const table = useReactTable({
3929
3971
  data,
3930
3972
  columns,
@@ -4087,7 +4129,7 @@ var datePickerVariants = cva(
4087
4129
  }
4088
4130
  }
4089
4131
  );
4090
- var DatePicker = React23.forwardRef(function DatePicker2({
4132
+ var DatePicker = React12.forwardRef(function DatePicker2({
4091
4133
  className,
4092
4134
  variant,
4093
4135
  size,
@@ -4110,9 +4152,9 @@ var DatePicker = React23.forwardRef(function DatePicker2({
4110
4152
  disabled,
4111
4153
  ...props
4112
4154
  }, ref) {
4113
- const [open, setOpen] = React23.useState(false);
4114
- const [internalDate, setInternalDate] = React23.useState(value);
4115
- React23.useEffect(() => {
4155
+ const [open, setOpen] = React12.useState(false);
4156
+ const [internalDate, setInternalDate] = React12.useState(value);
4157
+ React12.useEffect(() => {
4116
4158
  setInternalDate(value);
4117
4159
  }, [value]);
4118
4160
  const handleSelect = (date) => {
@@ -4260,7 +4302,7 @@ var DatePicker = React23.forwardRef(function DatePicker2({
4260
4302
  ] }) });
4261
4303
  });
4262
4304
  DatePicker.displayName = "DatePicker";
4263
- var DateRangePicker = React23.forwardRef(function DateRangePicker2({
4305
+ var DateRangePicker = React12.forwardRef(function DateRangePicker2({
4264
4306
  className,
4265
4307
  value,
4266
4308
  onChange,
@@ -4269,9 +4311,9 @@ var DateRangePicker = React23.forwardRef(function DateRangePicker2({
4269
4311
  separator = " - ",
4270
4312
  ...props
4271
4313
  }, ref) {
4272
- const [open, setOpen] = React23.useState(false);
4273
- const [internalRange, setInternalRange] = React23.useState(value);
4274
- React23.useEffect(() => {
4314
+ const [open, setOpen] = React12.useState(false);
4315
+ const [internalRange, setInternalRange] = React12.useState(value);
4316
+ React12.useEffect(() => {
4275
4317
  setInternalRange(value);
4276
4318
  }, [value]);
4277
4319
  const handleSelect = (range) => {
@@ -4281,7 +4323,7 @@ var DateRangePicker = React23.forwardRef(function DateRangePicker2({
4281
4323
  setOpen(false);
4282
4324
  }
4283
4325
  };
4284
- const displayValue = React23.useMemo(() => {
4326
+ const displayValue = React12.useMemo(() => {
4285
4327
  if (!internalRange?.from)
4286
4328
  return null;
4287
4329
  if (!internalRange?.to) {
@@ -4329,7 +4371,7 @@ var DateRangePicker = React23.forwardRef(function DateRangePicker2({
4329
4371
  ] });
4330
4372
  });
4331
4373
  DateRangePicker.displayName = "DateRangePicker";
4332
- var DateTimePicker = React23.forwardRef(function DateTimePicker2({
4374
+ var DateTimePicker = React12.forwardRef(function DateTimePicker2({
4333
4375
  value,
4334
4376
  onChange,
4335
4377
  // Saat ayrı bir <select> ile gösterildiği için buton yalnızca TARİHİ yazar;
@@ -4341,8 +4383,8 @@ var DateTimePicker = React23.forwardRef(function DateTimePicker2({
4341
4383
  timeInterval = 15,
4342
4384
  ...props
4343
4385
  }, ref) {
4344
- const [date, setDate] = React23.useState(value);
4345
- const [time, setTime] = React23.useState(
4386
+ const [date, setDate] = React12.useState(value);
4387
+ const [time, setTime] = React12.useState(
4346
4388
  value ? format(value, timeFormat === "24" ? "HH:mm" : "hh:mm a") : "00:00"
4347
4389
  );
4348
4390
  const handleDateChange = (newDate) => {
@@ -4367,7 +4409,7 @@ var DateTimePicker = React23.forwardRef(function DateTimePicker2({
4367
4409
  onChange?.(newDate);
4368
4410
  }
4369
4411
  };
4370
- const timeOptions = React23.useMemo(() => {
4412
+ const timeOptions = React12.useMemo(() => {
4371
4413
  const options = [];
4372
4414
  for (let h = 0; h < 24; h++) {
4373
4415
  for (let m = 0; m < 60; m += timeInterval) {
@@ -4421,15 +4463,15 @@ var DateTimePicker = React23.forwardRef(function DateTimePicker2({
4421
4463
  ] });
4422
4464
  });
4423
4465
  DateTimePicker.displayName = "DateTimePicker";
4424
- var MonthPicker = React23.forwardRef(function MonthPicker2({
4466
+ var MonthPicker = React12.forwardRef(function MonthPicker2({
4425
4467
  value,
4426
4468
  onChange,
4427
4469
  placeholder = "Pick a month",
4428
4470
  formatString = "MMMM yyyy",
4429
4471
  ...props
4430
4472
  }, ref) {
4431
- const [open, setOpen] = React23.useState(false);
4432
- const [viewDate, setViewDate] = React23.useState(value || /* @__PURE__ */ new Date());
4473
+ const [open, setOpen] = React12.useState(false);
4474
+ const [viewDate, setViewDate] = React12.useState(value || /* @__PURE__ */ new Date());
4433
4475
  const months = [
4434
4476
  "January",
4435
4477
  "February",
@@ -4525,7 +4567,7 @@ function DraggableList({
4525
4567
  className,
4526
4568
  disabled = false
4527
4569
  }) {
4528
- const [draggedIndex, setDraggedIndex] = React23.useState(null);
4570
+ const [draggedIndex, setDraggedIndex] = React12.useState(null);
4529
4571
  const handleDragStart = (e, index) => {
4530
4572
  if (disabled)
4531
4573
  return;
@@ -4577,7 +4619,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive.Group;
4577
4619
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
4578
4620
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
4579
4621
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
4580
- var DropdownMenuSubTrigger = React23.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
4622
+ var DropdownMenuSubTrigger = React12.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
4581
4623
  DropdownMenuPrimitive.SubTrigger,
4582
4624
  {
4583
4625
  ref,
@@ -4594,7 +4636,7 @@ var DropdownMenuSubTrigger = React23.forwardRef(({ className, inset, children, .
4594
4636
  }
4595
4637
  ));
4596
4638
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
4597
- var DropdownMenuSubContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4639
+ var DropdownMenuSubContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4598
4640
  DropdownMenuPrimitive.SubContent,
4599
4641
  {
4600
4642
  ref,
@@ -4606,7 +4648,7 @@ var DropdownMenuSubContent = React23.forwardRef(({ className, ...props }, ref) =
4606
4648
  }
4607
4649
  ));
4608
4650
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
4609
- var DropdownMenuContent = React23.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
4651
+ var DropdownMenuContent = React12.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
4610
4652
  DropdownMenuPrimitive.Content,
4611
4653
  {
4612
4654
  ref,
@@ -4619,7 +4661,7 @@ var DropdownMenuContent = React23.forwardRef(({ className, sideOffset = 4, ...pr
4619
4661
  }
4620
4662
  ) }));
4621
4663
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
4622
- var DropdownMenuItem = React23.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
4664
+ var DropdownMenuItem = React12.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
4623
4665
  DropdownMenuPrimitive.Item,
4624
4666
  {
4625
4667
  ref,
@@ -4632,7 +4674,7 @@ var DropdownMenuItem = React23.forwardRef(({ className, inset, ...props }, ref)
4632
4674
  }
4633
4675
  ));
4634
4676
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
4635
- var DropdownMenuCheckboxItem = React23.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
4677
+ var DropdownMenuCheckboxItem = React12.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
4636
4678
  DropdownMenuPrimitive.CheckboxItem,
4637
4679
  {
4638
4680
  ref,
@@ -4649,7 +4691,7 @@ var DropdownMenuCheckboxItem = React23.forwardRef(({ className, children, checke
4649
4691
  }
4650
4692
  ));
4651
4693
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
4652
- var DropdownMenuRadioItem = React23.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
4694
+ var DropdownMenuRadioItem = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
4653
4695
  DropdownMenuPrimitive.RadioItem,
4654
4696
  {
4655
4697
  ref,
@@ -4665,7 +4707,7 @@ var DropdownMenuRadioItem = React23.forwardRef(({ className, children, ...props
4665
4707
  }
4666
4708
  ));
4667
4709
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
4668
- var DropdownMenuLabel = React23.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
4710
+ var DropdownMenuLabel = React12.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
4669
4711
  DropdownMenuPrimitive.Label,
4670
4712
  {
4671
4713
  ref,
@@ -4678,7 +4720,7 @@ var DropdownMenuLabel = React23.forwardRef(({ className, inset, ...props }, ref)
4678
4720
  }
4679
4721
  ));
4680
4722
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
4681
- var DropdownMenuSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4723
+ var DropdownMenuSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4682
4724
  DropdownMenuPrimitive.Separator,
4683
4725
  {
4684
4726
  ref,
@@ -4767,7 +4809,7 @@ var progressIndicatorVariants = cva(
4767
4809
  }
4768
4810
  }
4769
4811
  );
4770
- var Progress = React23.forwardRef(({
4812
+ var Progress = React12.forwardRef(({
4771
4813
  className,
4772
4814
  value = 0,
4773
4815
  variant,
@@ -4897,7 +4939,7 @@ var FileItem = ({
4897
4939
  }
4898
4940
  );
4899
4941
  };
4900
- var FileUpload = React23__default.forwardRef(
4942
+ var FileUpload = React12__default.forwardRef(
4901
4943
  ({
4902
4944
  accept = "*",
4903
4945
  multiple = true,
@@ -5120,7 +5162,7 @@ var FileUpload = React23__default.forwardRef(
5120
5162
  }
5121
5163
  );
5122
5164
  FileUpload.displayName = "FileUpload";
5123
- var GestureDrawer = React23__default.forwardRef(
5165
+ var GestureDrawer = React12__default.forwardRef(
5124
5166
  ({
5125
5167
  children,
5126
5168
  isOpen,
@@ -5391,7 +5433,7 @@ function GitHubStarButton({
5391
5433
  }
5392
5434
  );
5393
5435
  }
5394
- var InputOTP = React23.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
5436
+ var InputOTP = React12.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsx(
5395
5437
  OTPInput,
5396
5438
  {
5397
5439
  ref,
@@ -5406,7 +5448,7 @@ var InputOTP = React23.forwardRef(({ className, containerClassName, ...props },
5406
5448
  }
5407
5449
  ));
5408
5450
  InputOTP.displayName = "InputOTP";
5409
- var InputOTPGroup = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
5451
+ var InputOTPGroup = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("flex items-center", className), ...props }));
5410
5452
  InputOTPGroup.displayName = "InputOTPGroup";
5411
5453
  var inputOTPSlotVariants = cva(
5412
5454
  [
@@ -5428,9 +5470,9 @@ var inputOTPSlotVariants = cva(
5428
5470
  }
5429
5471
  }
5430
5472
  );
5431
- var InputOTPSlot = React23.forwardRef(
5473
+ var InputOTPSlot = React12.forwardRef(
5432
5474
  ({ index, className, ...props }, ref) => {
5433
- const inputOTPContext = React23.useContext(OTPInputContext);
5475
+ const inputOTPContext = React12.useContext(OTPInputContext);
5434
5476
  const slot = inputOTPContext?.slots?.[index];
5435
5477
  const char = slot?.char;
5436
5478
  const hasFakeCaret = slot?.hasFakeCaret;
@@ -5452,7 +5494,7 @@ var InputOTPSlot = React23.forwardRef(
5452
5494
  }
5453
5495
  );
5454
5496
  InputOTPSlot.displayName = "InputOTPSlot";
5455
- var InputOTPSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5497
+ var InputOTPSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5456
5498
  "div",
5457
5499
  {
5458
5500
  ref,
@@ -5751,7 +5793,7 @@ function MoonLogo({
5751
5793
  showText = true,
5752
5794
  ...props
5753
5795
  }) {
5754
- const logoId = React23.useId();
5796
+ const logoId = React12.useId();
5755
5797
  const gradientId = `moon-gradient-${logoId}`;
5756
5798
  const maskId = `moon-mask-${logoId}`;
5757
5799
  return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", className), children: [
@@ -5823,17 +5865,20 @@ function MoonLogoAnimated({
5823
5865
  }
5824
5866
  );
5825
5867
  }
5826
- var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
5827
- "nav",
5828
- {
5829
- role: "navigation",
5830
- "aria-label": "pagination",
5831
- className: cn("moonui-theme", "mx-auto flex w-full justify-center", className),
5832
- ...props
5833
- }
5868
+ var Pagination = React12.forwardRef(
5869
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5870
+ "nav",
5871
+ {
5872
+ ref,
5873
+ role: "navigation",
5874
+ "aria-label": "pagination",
5875
+ className: cn("moonui-theme", "mx-auto flex w-full justify-center", className),
5876
+ ...props
5877
+ }
5878
+ )
5834
5879
  );
5835
5880
  Pagination.displayName = "Pagination";
5836
- var PaginationContent = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5881
+ var PaginationContent = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5837
5882
  "ul",
5838
5883
  {
5839
5884
  ref,
@@ -5842,77 +5887,74 @@ var PaginationContent = React23.forwardRef(({ className, ...props }, ref) => /*
5842
5887
  }
5843
5888
  ));
5844
5889
  PaginationContent.displayName = "PaginationContent";
5845
- var PaginationItem = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("moonui-theme", "", className), ...props }));
5890
+ var PaginationItem = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("moonui-theme", "", className), ...props }));
5846
5891
  PaginationItem.displayName = "PaginationItem";
5847
- var PaginationLink = ({
5848
- className,
5849
- isActive,
5850
- size = "icon",
5851
- ...props
5852
- }) => /* @__PURE__ */ jsx(
5853
- "a",
5854
- {
5855
- "aria-current": isActive ? "page" : void 0,
5856
- className: cn(
5857
- buttonVariants({
5858
- variant: isActive ? "outline" : "ghost",
5859
- size
5860
- }),
5861
- className
5862
- ),
5863
- ...props
5864
- }
5892
+ var PaginationLink = React12.forwardRef(
5893
+ ({ className, isActive, size = "icon", ...props }, ref) => /* @__PURE__ */ jsx(
5894
+ "a",
5895
+ {
5896
+ ref,
5897
+ "aria-current": isActive ? "page" : void 0,
5898
+ className: cn(
5899
+ buttonVariants({
5900
+ variant: isActive ? "outline" : "ghost",
5901
+ size
5902
+ }),
5903
+ className
5904
+ ),
5905
+ ...props
5906
+ }
5907
+ )
5865
5908
  );
5866
5909
  PaginationLink.displayName = "PaginationLink";
5867
- var PaginationPrevious = ({
5868
- className,
5869
- ...props
5870
- }) => /* @__PURE__ */ jsxs(
5910
+ var paginationLabelClass = "hidden sm:inline";
5911
+ var PaginationPrevious = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
5871
5912
  PaginationLink,
5872
5913
  {
5914
+ ref,
5873
5915
  "aria-label": "Go to previous page",
5874
5916
  size: "md",
5875
5917
  className: cn("moonui-theme", "gap-1 pl-2.5", className),
5876
5918
  ...props,
5877
5919
  children: [
5878
5920
  /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" }),
5879
- /* @__PURE__ */ jsx("span", { children: "Previous" })
5921
+ /* @__PURE__ */ jsx("span", { className: paginationLabelClass, children: "Previous" })
5880
5922
  ]
5881
5923
  }
5882
- );
5924
+ ));
5883
5925
  PaginationPrevious.displayName = "PaginationPrevious";
5884
- var PaginationNext = ({
5885
- className,
5886
- ...props
5887
- }) => /* @__PURE__ */ jsxs(
5926
+ var PaginationNext = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
5888
5927
  PaginationLink,
5889
5928
  {
5929
+ ref,
5890
5930
  "aria-label": "Go to next page",
5891
5931
  size: "md",
5892
5932
  className: cn("moonui-theme", "gap-1 pr-2.5", className),
5893
5933
  ...props,
5894
5934
  children: [
5895
- /* @__PURE__ */ jsx("span", { children: "Next" }),
5935
+ /* @__PURE__ */ jsx("span", { className: paginationLabelClass, children: "Next" }),
5896
5936
  /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
5897
5937
  ]
5898
5938
  }
5899
- );
5939
+ ));
5900
5940
  PaginationNext.displayName = "PaginationNext";
5901
- var PaginationEllipsis = ({
5902
- className,
5903
- ...props
5904
- }) => /* @__PURE__ */ jsxs(
5905
- "span",
5906
- {
5907
- "aria-hidden": true,
5908
- className: cn("moonui-theme", "flex h-9 w-9 items-center justify-center", className),
5909
- ...props,
5910
- children: [
5911
- /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
5912
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
5913
- ]
5914
- }
5915
- );
5941
+ var PaginationEllipsis = React12.forwardRef(({ className, ...props }, ref) => (
5942
+ // #315: `aria-hidden` ESKİDEN BU ELEMANDAYDI → içindeki `sr-only` "More pages" metni
5943
+ // erişilebilirlik ağacından düşüyor, hiç duyurulmuyordu. Gizleme artık yalnız dekoratif
5944
+ // ikonda. (breadcrumb.tsx'te birebir aynı çakışma vardı — aynı PR'da düzeltildi.)
5945
+ /* @__PURE__ */ jsxs(
5946
+ "span",
5947
+ {
5948
+ ref,
5949
+ className: cn("moonui-theme", "flex h-9 w-9 items-center justify-center", className),
5950
+ ...props,
5951
+ children: [
5952
+ /* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "flex items-center", children: /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }) }),
5953
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
5954
+ ]
5955
+ }
5956
+ )
5957
+ ));
5916
5958
  PaginationEllipsis.displayName = "PaginationEllipsis";
5917
5959
  var Select = SelectPrimitive.Root;
5918
5960
  Select.displayName = "Select";
@@ -5950,7 +5992,7 @@ var selectTriggerVariants = cva(
5950
5992
  }
5951
5993
  }
5952
5994
  );
5953
- var SelectTrigger = React23.forwardRef(({ className, children, variant, size, error, success, loading, leftIcon, rightIcon, ...props }, ref) => /* @__PURE__ */ jsxs(
5995
+ var SelectTrigger = React12.forwardRef(({ className, children, variant, size, error, success, loading, leftIcon, rightIcon, ...props }, ref) => /* @__PURE__ */ jsxs(
5954
5996
  SelectPrimitive.Trigger,
5955
5997
  {
5956
5998
  ref,
@@ -5981,7 +6023,7 @@ var SelectTrigger = React23.forwardRef(({ className, children, variant, size, er
5981
6023
  }
5982
6024
  ));
5983
6025
  SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
5984
- var SelectScrollUpButton = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6026
+ var SelectScrollUpButton = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5985
6027
  SelectPrimitive.ScrollUpButton,
5986
6028
  {
5987
6029
  ref,
@@ -5994,7 +6036,7 @@ var SelectScrollUpButton = React23.forwardRef(({ className, ...props }, ref) =>
5994
6036
  }
5995
6037
  ));
5996
6038
  SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
5997
- var SelectScrollDownButton = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6039
+ var SelectScrollDownButton = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
5998
6040
  SelectPrimitive.ScrollDownButton,
5999
6041
  {
6000
6042
  ref,
@@ -6007,7 +6049,7 @@ var SelectScrollDownButton = React23.forwardRef(({ className, ...props }, ref) =
6007
6049
  }
6008
6050
  ));
6009
6051
  SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
6010
- var SelectContent = React23.forwardRef(({ className, children, position = "popper", side = "bottom", sideOffset = 4, align = "start", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
6052
+ var SelectContent = React12.forwardRef(({ className, children, position = "popper", side = "bottom", sideOffset = 4, align = "start", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
6011
6053
  SelectPrimitive.Content,
6012
6054
  {
6013
6055
  ref,
@@ -6048,7 +6090,7 @@ var SelectContent = React23.forwardRef(({ className, children, position = "poppe
6048
6090
  }
6049
6091
  ) }));
6050
6092
  SelectContent.displayName = SelectPrimitive.Content.displayName;
6051
- var SelectLabel = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6093
+ var SelectLabel = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6052
6094
  SelectPrimitive.Label,
6053
6095
  {
6054
6096
  ref,
@@ -6057,7 +6099,7 @@ var SelectLabel = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
6057
6099
  }
6058
6100
  ));
6059
6101
  SelectLabel.displayName = SelectPrimitive.Label.displayName;
6060
- var SelectItem = React23.forwardRef(({ className, children, variant = "default", size = "md", rightIcon, customIndicator, ...props }, ref) => /* @__PURE__ */ jsxs(
6102
+ var SelectItem = React12.forwardRef(({ className, children, variant = "default", size = "md", rightIcon, customIndicator, ...props }, ref) => /* @__PURE__ */ jsxs(
6061
6103
  SelectPrimitive.Item,
6062
6104
  {
6063
6105
  ref,
@@ -6087,7 +6129,7 @@ var SelectItem = React23.forwardRef(({ className, children, variant = "default",
6087
6129
  }
6088
6130
  ));
6089
6131
  SelectItem.displayName = SelectPrimitive.Item.displayName;
6090
- var SelectSeparator = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6132
+ var SelectSeparator = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6091
6133
  SelectPrimitive.Separator,
6092
6134
  {
6093
6135
  ref,
@@ -6169,7 +6211,7 @@ var getMaxLength = (countryCode) => {
6169
6211
  return 15;
6170
6212
  }
6171
6213
  };
6172
- var PhoneInput = React23.forwardRef(
6214
+ var PhoneInput = React12.forwardRef(
6173
6215
  ({
6174
6216
  className,
6175
6217
  value = "",
@@ -6181,8 +6223,8 @@ var PhoneInput = React23.forwardRef(
6181
6223
  size,
6182
6224
  ...props
6183
6225
  }, ref) => {
6184
- const [countryCode, setCountryCode] = React23.useState(defaultCountry);
6185
- const [phoneNumber, setPhoneNumber] = React23.useState(value);
6226
+ const [countryCode, setCountryCode] = React12.useState(defaultCountry);
6227
+ const [phoneNumber, setPhoneNumber] = React12.useState(value);
6186
6228
  const selectedCountry = countries.find((c) => c.code === countryCode) || countries[0];
6187
6229
  const handlePhoneChange = (e) => {
6188
6230
  const rawValue = e.target.value.replace(/\D/g, "");
@@ -6253,15 +6295,15 @@ var radioGroupItemVariants = cva(
6253
6295
  }
6254
6296
  }
6255
6297
  );
6256
- var RadioGroupContext = React23.createContext({});
6257
- var RadioGroup2 = React23.forwardRef(
6298
+ var RadioGroupContext = React12.createContext({});
6299
+ var RadioGroup2 = React12.forwardRef(
6258
6300
  ({ className, value, defaultValue, onValueChange, disabled, name, ...props }, ref) => {
6259
- const [internalValue, setInternalValue] = React23.useState(
6301
+ const [internalValue, setInternalValue] = React12.useState(
6260
6302
  defaultValue
6261
6303
  );
6262
6304
  const isControlled = value !== void 0;
6263
6305
  const currentValue = isControlled ? value : internalValue;
6264
- const handleValueChange = React23.useCallback(
6306
+ const handleValueChange = React12.useCallback(
6265
6307
  (next) => {
6266
6308
  if (!isControlled) {
6267
6309
  setInternalValue(next);
@@ -6293,9 +6335,9 @@ var RadioGroup2 = React23.forwardRef(
6293
6335
  }
6294
6336
  );
6295
6337
  RadioGroup2.displayName = "RadioGroup";
6296
- var RadioGroupItem = React23.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
6297
- const radioGroup = React23.useContext(RadioGroupContext);
6298
- const generatedId = React23.useId();
6338
+ var RadioGroupItem = React12.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
6339
+ const radioGroup = React12.useContext(RadioGroupContext);
6340
+ const generatedId = React12.useId();
6299
6341
  const radioId = id || generatedId;
6300
6342
  const isChecked = radioGroup.value === value;
6301
6343
  const handleChange = (e) => {
@@ -6348,7 +6390,7 @@ var RadioGroupItem = React23.forwardRef(({ className, variant, size, indicator,
6348
6390
  ] });
6349
6391
  });
6350
6392
  RadioGroupItem.displayName = "RadioGroupItem";
6351
- var RadioLabel = React23.forwardRef(
6393
+ var RadioLabel = React12.forwardRef(
6352
6394
  ({ className, htmlFor, children, disabled = false, ...props }, ref) => {
6353
6395
  return /* @__PURE__ */ jsx(
6354
6396
  "label",
@@ -6367,13 +6409,13 @@ var RadioLabel = React23.forwardRef(
6367
6409
  }
6368
6410
  );
6369
6411
  RadioLabel.displayName = "RadioLabel";
6370
- var RadioItemWithLabel = React23.forwardRef(({
6412
+ var RadioItemWithLabel = React12.forwardRef(({
6371
6413
  id,
6372
6414
  label,
6373
6415
  labelClassName,
6374
6416
  ...radioProps
6375
6417
  }, ref) => {
6376
- const generatedId = React23.useId();
6418
+ const generatedId = React12.useId();
6377
6419
  const radioId = id || generatedId;
6378
6420
  return /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
6379
6421
  /* @__PURE__ */ jsx(RadioGroupItem, { ref, id: radioId, ...radioProps }),
@@ -6450,21 +6492,28 @@ function RichTextEditor({
6450
6492
  )
6451
6493
  ] });
6452
6494
  }
6453
- var ScrollArea = React23.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
6495
+ var ScrollArea = React12.forwardRef(({ className, children, focusable = true, ...props }, ref) => /* @__PURE__ */ jsxs(
6454
6496
  ScrollAreaPrimitive.Root,
6455
6497
  {
6456
6498
  ref,
6457
6499
  className: cn("relative overflow-hidden", className),
6458
6500
  ...props,
6459
6501
  children: [
6460
- /* @__PURE__ */ jsx(ScrollAreaPrimitive.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
6502
+ /* @__PURE__ */ jsx(
6503
+ ScrollAreaPrimitive.Viewport,
6504
+ {
6505
+ tabIndex: focusable ? 0 : void 0,
6506
+ className: "h-full w-full rounded-[inherit]",
6507
+ children
6508
+ }
6509
+ ),
6461
6510
  /* @__PURE__ */ jsx(ScrollBar, {}),
6462
6511
  /* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
6463
6512
  ]
6464
6513
  }
6465
6514
  ));
6466
6515
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
6467
- var ScrollBar = React23.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
6516
+ var ScrollBar = React12.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsx(
6468
6517
  ScrollAreaPrimitive.ScrollAreaScrollbar,
6469
6518
  {
6470
6519
  ref,
@@ -6518,7 +6567,7 @@ var defaultTransition = {
6518
6567
  ease: [0.25, 0.46, 0.45, 0.94]
6519
6568
  // Custom cubic-bezier for smooth motion
6520
6569
  };
6521
- var ScrollReveal = React23.forwardRef(
6570
+ var ScrollReveal = React12.forwardRef(
6522
6571
  ({
6523
6572
  children,
6524
6573
  direction = "up",
@@ -6539,17 +6588,17 @@ var ScrollReveal = React23.forwardRef(
6539
6588
  viewport
6540
6589
  }, ref) => {
6541
6590
  const shouldTriggerOnce = triggerOnce !== void 0 ? triggerOnce : once;
6542
- const animationVariants = React23.useMemo(() => {
6591
+ const animationVariants = React12.useMemo(() => {
6543
6592
  if (variants)
6544
6593
  return variants;
6545
6594
  return createDefaultVariants(direction, distance);
6546
6595
  }, [direction, distance, variants]);
6547
- const transition = React23.useMemo(() => ({
6596
+ const transition = React12.useMemo(() => ({
6548
6597
  ...defaultTransition,
6549
6598
  duration,
6550
6599
  delay: delay + stagger
6551
6600
  }), [duration, delay, stagger]);
6552
- const viewportConfig = React23.useMemo(() => ({
6601
+ const viewportConfig = React12.useMemo(() => ({
6553
6602
  once: shouldTriggerOnce,
6554
6603
  amount: threshold,
6555
6604
  ...viewport
@@ -6584,7 +6633,7 @@ var ScrollReveal = React23.forwardRef(
6584
6633
  }
6585
6634
  );
6586
6635
  ScrollReveal.displayName = "ScrollReveal";
6587
- var ScrollRevealContainer = React23.forwardRef(
6636
+ var ScrollRevealContainer = React12.forwardRef(
6588
6637
  ({
6589
6638
  children,
6590
6639
  stagger = 0.1,
@@ -6597,7 +6646,7 @@ var ScrollRevealContainer = React23.forwardRef(
6597
6646
  viewport
6598
6647
  }, ref) => {
6599
6648
  const shouldTriggerOnce = triggerOnce !== void 0 ? triggerOnce : once;
6600
- const viewportConfig = React23.useMemo(() => ({
6649
+ const viewportConfig = React12.useMemo(() => ({
6601
6650
  once: shouldTriggerOnce,
6602
6651
  amount: threshold,
6603
6652
  ...viewport
@@ -6628,7 +6677,7 @@ var ScrollRevealContainer = React23.forwardRef(
6628
6677
  }
6629
6678
  );
6630
6679
  ScrollRevealContainer.displayName = "ScrollRevealContainer";
6631
- var ScrollRevealItem = React23.forwardRef(
6680
+ var ScrollRevealItem = React12.forwardRef(
6632
6681
  ({
6633
6682
  children,
6634
6683
  direction = "up",
@@ -6639,12 +6688,12 @@ var ScrollRevealItem = React23.forwardRef(
6639
6688
  style,
6640
6689
  id
6641
6690
  }, ref) => {
6642
- const animationVariants = React23.useMemo(() => {
6691
+ const animationVariants = React12.useMemo(() => {
6643
6692
  if (variants)
6644
6693
  return variants;
6645
6694
  return createDefaultVariants(direction, distance);
6646
6695
  }, [direction, distance, variants]);
6647
- const transition = React23.useMemo(() => ({
6696
+ const transition = React12.useMemo(() => ({
6648
6697
  ...defaultTransition,
6649
6698
  duration
6650
6699
  }), [duration]);
@@ -6760,7 +6809,7 @@ var separatorVariants = cva(
6760
6809
  }
6761
6810
  }
6762
6811
  );
6763
- var Separator3 = React23.forwardRef(
6812
+ var Separator3 = React12.forwardRef(
6764
6813
  ({
6765
6814
  className,
6766
6815
  orientation = "horizontal",
@@ -6803,7 +6852,7 @@ var toggleVariants = cva(
6803
6852
  }
6804
6853
  }
6805
6854
  );
6806
- var Toggle = React23.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
6855
+ var Toggle = React12.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsx(
6807
6856
  TogglePrimitive.Root,
6808
6857
  {
6809
6858
  ref,
@@ -6839,7 +6888,7 @@ var tooltipVariants = cva(
6839
6888
  );
6840
6889
  var Tooltip = TooltipPrimitive.Root;
6841
6890
  var TooltipTrigger = TooltipPrimitive.Trigger;
6842
- var TooltipArrow = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6891
+ var TooltipArrow = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
6843
6892
  TooltipPrimitive.Arrow,
6844
6893
  {
6845
6894
  ref,
@@ -6848,7 +6897,7 @@ var TooltipArrow = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
6848
6897
  }
6849
6898
  ));
6850
6899
  TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
6851
- var TooltipContent = React23.forwardRef(({ className, variant, size, showArrow = false, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxs(
6900
+ var TooltipContent = React12.forwardRef(({ className, variant, size, showArrow = false, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxs(
6852
6901
  TooltipPrimitive.Content,
6853
6902
  {
6854
6903
  ref,
@@ -6862,7 +6911,7 @@ var TooltipContent = React23.forwardRef(({ className, variant, size, showArrow =
6862
6911
  }
6863
6912
  ));
6864
6913
  TooltipContent.displayName = TooltipPrimitive.Content.displayName;
6865
- var SimpleTooltip = React23.forwardRef(
6914
+ var SimpleTooltip = React12.forwardRef(
6866
6915
  ({
6867
6916
  children,
6868
6917
  content,
@@ -6950,7 +6999,7 @@ var ColorPicker2 = ({ onColorSelect }) => {
6950
6999
  color
6951
7000
  )) });
6952
7001
  };
6953
- var SimpleEditor = React23__default.forwardRef(
7002
+ var SimpleEditor = React12__default.forwardRef(
6954
7003
  ({
6955
7004
  value = "",
6956
7005
  onChange,
@@ -6967,8 +7016,8 @@ var SimpleEditor = React23__default.forwardRef(
6967
7016
  const [isPreview, setIsPreview] = useState(false);
6968
7017
  const [sourceContent, setSourceContent] = useState(value);
6969
7018
  useState(null);
6970
- const editorRef = React23__default.useRef(null);
6971
- const sourceRef = React23__default.useRef(null);
7019
+ const editorRef = React12__default.useRef(null);
7020
+ const sourceRef = React12__default.useRef(null);
6972
7021
  const [formatState, setFormatState] = useState({
6973
7022
  bold: false,
6974
7023
  italic: false,
@@ -7102,12 +7151,12 @@ var SimpleEditor = React23__default.forwardRef(
7102
7151
  }
7103
7152
  }
7104
7153
  }, [executeCommand, updateContent]);
7105
- React23__default.useEffect(() => {
7154
+ React12__default.useEffect(() => {
7106
7155
  if (editorRef.current && content && content !== editorRef.current.innerHTML) {
7107
7156
  editorRef.current.innerHTML = content;
7108
7157
  }
7109
7158
  }, [content]);
7110
- React23__default.useEffect(() => {
7159
+ React12__default.useEffect(() => {
7111
7160
  if (value !== void 0 && value !== content) {
7112
7161
  setContent(value);
7113
7162
  setSourceContent(value);
@@ -7517,7 +7566,7 @@ var skeletonVariants = cva(
7517
7566
  }
7518
7567
  }
7519
7568
  );
7520
- var Skeleton = React23.forwardRef(
7569
+ var Skeleton = React12.forwardRef(
7521
7570
  ({
7522
7571
  className,
7523
7572
  variant,
@@ -7583,6 +7632,7 @@ var Skeleton = React23.forwardRef(
7583
7632
  SkeletonElement,
7584
7633
  {
7585
7634
  ref,
7635
+ "aria-hidden": "true",
7586
7636
  className: cn(
7587
7637
  "moonui-theme",
7588
7638
  skeletonVariants({ variant, size, shape, animation }),
@@ -7601,7 +7651,7 @@ var Skeleton = React23.forwardRef(
7601
7651
  }
7602
7652
  );
7603
7653
  Skeleton.displayName = "Skeleton";
7604
- var SkeletonText = React23.forwardRef(
7654
+ var SkeletonText = React12.forwardRef(
7605
7655
  ({
7606
7656
  className,
7607
7657
  lines = 3,
@@ -7642,7 +7692,7 @@ var SkeletonText = React23.forwardRef(
7642
7692
  }
7643
7693
  );
7644
7694
  SkeletonText.displayName = "SkeletonText";
7645
- var SkeletonAvatar = React23.forwardRef(
7695
+ var SkeletonAvatar = React12.forwardRef(
7646
7696
  ({
7647
7697
  className,
7648
7698
  size = "2.5rem",
@@ -7668,7 +7718,7 @@ var SkeletonAvatar = React23.forwardRef(
7668
7718
  }
7669
7719
  );
7670
7720
  SkeletonAvatar.displayName = "SkeletonAvatar";
7671
- var SkeletonCard = React23.forwardRef(
7721
+ var SkeletonCard = React12.forwardRef(
7672
7722
  ({
7673
7723
  className,
7674
7724
  showHeader = true,
@@ -7742,11 +7792,11 @@ var SkeletonCard = React23.forwardRef(
7742
7792
  }
7743
7793
  );
7744
7794
  SkeletonCard.displayName = "SkeletonCard";
7745
- var SwipeableCard = React23.forwardRef(
7795
+ var SwipeableCard = React12.forwardRef(
7746
7796
  ({ className, children, onSwipeLeft, onSwipeRight, threshold = 100, disabled = false, ...props }, ref) => {
7747
- const [startX, setStartX] = React23.useState(0);
7748
- const [currentX, setCurrentX] = React23.useState(0);
7749
- const [isSwiping, setIsSwiping] = React23.useState(false);
7797
+ const [startX, setStartX] = React12.useState(0);
7798
+ const [currentX, setCurrentX] = React12.useState(0);
7799
+ const [isSwiping, setIsSwiping] = React12.useState(false);
7750
7800
  const handleTouchStart = (e) => {
7751
7801
  if (disabled)
7752
7802
  return;
@@ -7841,7 +7891,7 @@ var switchThumbVariants = cva(
7841
7891
  }
7842
7892
  }
7843
7893
  );
7844
- var Switch = React23.forwardRef(({
7894
+ var Switch = React12.forwardRef(({
7845
7895
  className,
7846
7896
  size,
7847
7897
  variant,
@@ -7852,7 +7902,7 @@ var Switch = React23.forwardRef(({
7852
7902
  "aria-describedby": ariaDescribedBy,
7853
7903
  ...props
7854
7904
  }, ref) => {
7855
- const reactId = React23.useId();
7905
+ const reactId = React12.useId();
7856
7906
  const descriptionId = description ? `${reactId}-description` : void 0;
7857
7907
  const describedBy = [ariaDescribedBy, descriptionId].filter(Boolean).join(" ") || void 0;
7858
7908
  return /* @__PURE__ */ jsxs("div", { className: "moonui-theme inline-flex items-center gap-2", children: [
@@ -7880,7 +7930,7 @@ var Switch = React23.forwardRef(({
7880
7930
  ] });
7881
7931
  });
7882
7932
  Switch.displayName = SwitchPrimitives.Root.displayName;
7883
- var TagsInput = React23.forwardRef(
7933
+ var TagsInput = React12.forwardRef(
7884
7934
  ({
7885
7935
  value = [],
7886
7936
  onChange,
@@ -7893,12 +7943,12 @@ var TagsInput = React23.forwardRef(
7893
7943
  disabled,
7894
7944
  ...props
7895
7945
  }, ref) => {
7896
- const [inputValue, setInputValue] = React23.useState("");
7897
- const [error, setError] = React23.useState("");
7898
- const innerInputRef = React23.useRef(null);
7899
- React23.useImperativeHandle(ref, () => innerInputRef.current);
7900
- const tagButtonRefs = React23.useRef([]);
7901
- const errorId = React23.useId();
7946
+ const [inputValue, setInputValue] = React12.useState("");
7947
+ const [error, setError] = React12.useState("");
7948
+ const innerInputRef = React12.useRef(null);
7949
+ React12.useImperativeHandle(ref, () => innerInputRef.current);
7950
+ const tagButtonRefs = React12.useRef([]);
7951
+ const errorId = React12.useId();
7902
7952
  const focusTag = (index) => {
7903
7953
  if (value.length === 0)
7904
7954
  return;
@@ -8075,7 +8125,7 @@ var textareaVariants = cva(
8075
8125
  }
8076
8126
  }
8077
8127
  );
8078
- var Textarea = React23.forwardRef(
8128
+ var Textarea = React12.forwardRef(
8079
8129
  ({
8080
8130
  className,
8081
8131
  wrapperClassName,
@@ -8095,12 +8145,12 @@ var Textarea = React23.forwardRef(
8095
8145
  onChange,
8096
8146
  ...props
8097
8147
  }, ref) => {
8098
- const reactId = React23.useId();
8148
+ const reactId = React12.useId();
8099
8149
  const fieldId = props.id || reactId;
8100
- const textareaRef = React23.useRef(null);
8101
- const [internalValue, setInternalValue] = React23.useState(value || defaultValue || "");
8102
- React23.useImperativeHandle(ref, () => textareaRef.current);
8103
- const adjustHeight = React23.useCallback(() => {
8150
+ const textareaRef = React12.useRef(null);
8151
+ const [internalValue, setInternalValue] = React12.useState(value || defaultValue || "");
8152
+ React12.useImperativeHandle(ref, () => textareaRef.current);
8153
+ const adjustHeight = React12.useCallback(() => {
8104
8154
  const textarea = textareaRef.current;
8105
8155
  if (!textarea || !autoResize)
8106
8156
  return;
@@ -8114,10 +8164,10 @@ var Textarea = React23.forwardRef(
8114
8164
  textarea.style.overflowY = "hidden";
8115
8165
  }
8116
8166
  }, [autoResize, maxHeight]);
8117
- React23.useEffect(() => {
8167
+ React12.useEffect(() => {
8118
8168
  adjustHeight();
8119
8169
  }, [internalValue, adjustHeight]);
8120
- React23.useEffect(() => {
8170
+ React12.useEffect(() => {
8121
8171
  if (value !== void 0) {
8122
8172
  setInternalValue(value);
8123
8173
  }
@@ -8183,7 +8233,7 @@ var Textarea = React23.forwardRef(
8183
8233
  );
8184
8234
  Textarea.displayName = "Textarea";
8185
8235
  var ToastProvider = ToastPrimitives.Provider;
8186
- var ToastViewport = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8236
+ var ToastViewport = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8187
8237
  ToastPrimitives.Viewport,
8188
8238
  {
8189
8239
  ref,
@@ -8212,7 +8262,7 @@ var toastVariants = cva(
8212
8262
  }
8213
8263
  }
8214
8264
  );
8215
- var Toast = React23.forwardRef(({ className, variant, ...props }, ref) => {
8265
+ var Toast = React12.forwardRef(({ className, variant, ...props }, ref) => {
8216
8266
  return /* @__PURE__ */ jsx(
8217
8267
  ToastPrimitives.Root,
8218
8268
  {
@@ -8223,7 +8273,7 @@ var Toast = React23.forwardRef(({ className, variant, ...props }, ref) => {
8223
8273
  );
8224
8274
  });
8225
8275
  Toast.displayName = ToastPrimitives.Root.displayName;
8226
- var ToastAction = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8276
+ var ToastAction = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8227
8277
  ToastPrimitives.Action,
8228
8278
  {
8229
8279
  ref,
@@ -8235,7 +8285,7 @@ var ToastAction = React23.forwardRef(({ className, ...props }, ref) => /* @__PUR
8235
8285
  }
8236
8286
  ));
8237
8287
  ToastAction.displayName = ToastPrimitives.Action.displayName;
8238
- var ToastClose = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
8288
+ var ToastClose = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
8239
8289
  ToastPrimitives.Close,
8240
8290
  {
8241
8291
  ref,
@@ -8252,7 +8302,7 @@ var ToastClose = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE
8252
8302
  }
8253
8303
  ));
8254
8304
  ToastClose.displayName = ToastPrimitives.Close.displayName;
8255
- var ToastTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8305
+ var ToastTitle = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8256
8306
  ToastPrimitives.Title,
8257
8307
  {
8258
8308
  ref,
@@ -8261,7 +8311,7 @@ var ToastTitle = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE
8261
8311
  }
8262
8312
  ));
8263
8313
  ToastTitle.displayName = ToastPrimitives.Title.displayName;
8264
- var ToastDescription = React23.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8314
+ var ToastDescription = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
8265
8315
  ToastPrimitives.Description,
8266
8316
  {
8267
8317
  ref,
@@ -8369,8 +8419,8 @@ function toast({ ...props }) {
8369
8419
  };
8370
8420
  }
8371
8421
  function useToast() {
8372
- const [state, setState] = React23.useState(memoryState);
8373
- React23.useEffect(() => {
8422
+ const [state, setState] = React12.useState(memoryState);
8423
+ React12.useEffect(() => {
8374
8424
  listeners.push(setState);
8375
8425
  return () => {
8376
8426
  const index = listeners.indexOf(setState);
@@ -8423,7 +8473,7 @@ var kbdVariants = cva(
8423
8473
  }
8424
8474
  }
8425
8475
  );
8426
- var Kbd = React23.forwardRef(
8476
+ var Kbd = React12.forwardRef(
8427
8477
  ({ className, size, children, ...props }, ref) => {
8428
8478
  return /* @__PURE__ */ jsx(
8429
8479
  "kbd",
@@ -8460,7 +8510,7 @@ var iconSizeMap = {
8460
8510
  md: "h-5 w-5",
8461
8511
  lg: "h-6 w-6"
8462
8512
  };
8463
- var Rating = React23.forwardRef(
8513
+ var Rating = React12.forwardRef(
8464
8514
  ({
8465
8515
  className,
8466
8516
  value,
@@ -8478,11 +8528,11 @@ var Rating = React23.forwardRef(
8478
8528
  const iconSizeClass = iconSizeMap[resolvedSize];
8479
8529
  const step = precision === "half" ? 0.5 : 1;
8480
8530
  const isControlled = value !== void 0;
8481
- const [internalValue, setInternalValue] = React23.useState(defaultValue ?? 0);
8531
+ const [internalValue, setInternalValue] = React12.useState(defaultValue ?? 0);
8482
8532
  const currentValue = isControlled ? value ?? 0 : internalValue;
8483
- const [hoverValue, setHoverValue] = React23.useState(null);
8533
+ const [hoverValue, setHoverValue] = React12.useState(null);
8484
8534
  const displayValue = hoverValue !== null ? hoverValue : currentValue;
8485
- const commit = React23.useCallback(
8535
+ const commit = React12.useCallback(
8486
8536
  (next) => {
8487
8537
  if (readOnly)
8488
8538
  return;
@@ -8492,7 +8542,7 @@ var Rating = React23.forwardRef(
8492
8542
  },
8493
8543
  [readOnly, isControlled, onValueChange]
8494
8544
  );
8495
- const handleKeyDown = React23.useCallback(
8545
+ const handleKeyDown = React12.useCallback(
8496
8546
  (event) => {
8497
8547
  if (readOnly)
8498
8548
  return;
@@ -8521,9 +8571,9 @@ var Rating = React23.forwardRef(
8521
8571
  [readOnly, max, currentValue, step, commit]
8522
8572
  );
8523
8573
  const renderIcon = (filled) => {
8524
- if (React23.isValidElement(icon)) {
8574
+ if (React12.isValidElement(icon)) {
8525
8575
  const element = icon;
8526
- return React23.cloneElement(element, {
8576
+ return React12.cloneElement(element, {
8527
8577
  className: cn(
8528
8578
  iconSizeClass,
8529
8579
  "shrink-0",
@@ -8657,7 +8707,7 @@ var dotSizeMap = {
8657
8707
  lg: "h-2 w-2",
8658
8708
  xl: "h-2.5 w-2.5"
8659
8709
  };
8660
- var Spinner = React23.forwardRef(
8710
+ var Spinner = React12.forwardRef(
8661
8711
  ({ className, size, variant = "default", label = "Loading", ...props }, ref) => {
8662
8712
  return /* @__PURE__ */ jsxs(
8663
8713
  "div",
@@ -8736,15 +8786,15 @@ var buttonGroupVariants = cva(
8736
8786
  }
8737
8787
  }
8738
8788
  );
8739
- var ButtonGroup = React23.forwardRef(
8789
+ var ButtonGroup = React12.forwardRef(
8740
8790
  ({ className, orientation, attached, size, variant, children, ...props }, ref) => {
8741
8791
  const shouldPropagate = size !== void 0 || variant !== void 0;
8742
- const enhancedChildren = shouldPropagate ? React23.Children.map(children, (child) => {
8743
- if (!React23.isValidElement(child) || child.type !== Button) {
8792
+ const enhancedChildren = shouldPropagate ? React12.Children.map(children, (child) => {
8793
+ if (!React12.isValidElement(child) || child.type !== Button) {
8744
8794
  return child;
8745
8795
  }
8746
8796
  const childProps = child.props;
8747
- return React23.cloneElement(child, {
8797
+ return React12.cloneElement(child, {
8748
8798
  size: childProps.size ?? size,
8749
8799
  variant: childProps.variant ?? variant
8750
8800
  });
@@ -8762,11 +8812,11 @@ var ButtonGroup = React23.forwardRef(
8762
8812
  }
8763
8813
  );
8764
8814
  ButtonGroup.displayName = "ButtonGroup";
8765
- var ToggleGroupContext = React23.createContext({
8815
+ var ToggleGroupContext = React12.createContext({
8766
8816
  size: "default",
8767
8817
  variant: "default"
8768
8818
  });
8769
- var ToggleGroup = React23.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
8819
+ var ToggleGroup = React12.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsx(
8770
8820
  ToggleGroupPrimitive.Root,
8771
8821
  {
8772
8822
  ref,
@@ -8783,8 +8833,8 @@ var ToggleGroup = React23.forwardRef(({ className, variant, size, children, ...p
8783
8833
  }
8784
8834
  ));
8785
8835
  ToggleGroup.displayName = "ToggleGroup";
8786
- var ToggleGroupItem = React23.forwardRef(({ className, children, variant, size, ...props }, ref) => {
8787
- const context = React23.useContext(ToggleGroupContext);
8836
+ var ToggleGroupItem = React12.forwardRef(({ className, children, variant, size, ...props }, ref) => {
8837
+ const context = React12.useContext(ToggleGroupContext);
8788
8838
  return /* @__PURE__ */ jsx(
8789
8839
  ToggleGroupPrimitive.Item,
8790
8840
  {
@@ -8803,6 +8853,6 @@ var ToggleGroupItem = React23.forwardRef(({ className, children, variant, size,
8803
8853
  });
8804
8854
  ToggleGroupItem.displayName = "ToggleGroupItem";
8805
8855
 
8806
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, Card, CardCVCInput, CardContent, CardDescription, CardExpiryInput, CardFooter, CardHeader, CardNumberInput, CardTitle, CardZipInput, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxWithLabel, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DraggableList, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileUpload, FreeBadge, GestureDrawer, GitHubStarButton, GitHubStars, GradientPicker, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, Label, LockedComponent, MonthPicker, MoonLogo, MoonLogoAnimated, MoonLogoIcon, Accordion as MoonUIAccordion, AccordionContent as MoonUIAccordionContent, AccordionItem as MoonUIAccordionItem, AccordionTrigger as MoonUIAccordionTrigger, Alert as MoonUIAlert, AlertDescription as MoonUIAlertDescription, AlertTitle as MoonUIAlertTitle, AspectRatio as MoonUIAspectRatio, Avatar as MoonUIAvatar, AvatarFallback as MoonUIAvatarFallback, AvatarGroup as MoonUIAvatarGroup, AvatarImage as MoonUIAvatarImage, Badge as MoonUIBadge, Breadcrumb as MoonUIBreadcrumb, BreadcrumbEllipsis as MoonUIBreadcrumbEllipsis, BreadcrumbItem as MoonUIBreadcrumbItem, BreadcrumbLink as MoonUIBreadcrumbLink, BreadcrumbList as MoonUIBreadcrumbList, BreadcrumbPage as MoonUIBreadcrumbPage, BreadcrumbSeparator as MoonUIBreadcrumbSeparator, Button as MoonUIButton, ButtonGroup as MoonUIButtonGroup, Calendar as MoonUICalendar, Card as MoonUICard, CardCVCInput as MoonUICardCVCInput, CardContent as MoonUICardContent, CardDescription as MoonUICardDescription, CardExpiryInput as MoonUICardExpiryInput, CardFooter as MoonUICardFooter, CardHeader as MoonUICardHeader, CardNumberInput as MoonUICardNumberInput, CardTitle as MoonUICardTitle, CardZipInput as MoonUICardZipInput, Carousel as MoonUICarousel, CarouselContent as MoonUICarouselContent, CarouselItem as MoonUICarouselItem, CarouselNext as MoonUICarouselNext, CarouselPrevious as MoonUICarouselPrevious, Checkbox as MoonUICheckbox, CheckboxGroup as MoonUICheckboxGroup, CheckboxLabel as MoonUICheckboxLabel, CheckboxWithLabel as MoonUICheckboxWithLabel, Collapsible as MoonUICollapsible, CollapsibleContent as MoonUICollapsibleContent, CollapsibleTrigger as MoonUICollapsibleTrigger, ColorPicker as MoonUIColorPicker, Command as MoonUICommand, CommandDialog as MoonUICommandDialog, CommandEmpty as MoonUICommandEmpty, CommandGroup as MoonUICommandGroup, CommandInput as MoonUICommandInput, CommandItem as MoonUICommandItem, CommandList as MoonUICommandList, CommandSeparator as MoonUICommandSeparator, CommandShortcut as MoonUICommandShortcut, DataTableBasic as MoonUIDataTableBasic, DatePicker as MoonUIDatePicker, DateRangePicker as MoonUIDateRangePicker, DateTimePicker as MoonUIDateTimePicker, Dialog as MoonUIDialog, DialogClose as MoonUIDialogClose, DialogContent as MoonUIDialogContent, DialogDescription as MoonUIDialogDescription, DialogFooter as MoonUIDialogFooter, DialogForm as MoonUIDialogForm, DialogHeader as MoonUIDialogHeader, DialogTitle as MoonUIDialogTitle, DialogTrigger as MoonUIDialogTrigger, DraggableList as MoonUIDraggableList, DropdownMenu as MoonUIDropdownMenu, DropdownMenuCheckboxItem as MoonUIDropdownMenuCheckboxItem, DropdownMenuContent as MoonUIDropdownMenuContent, DropdownMenuGroup as MoonUIDropdownMenuGroup, DropdownMenuItem as MoonUIDropdownMenuItem, DropdownMenuLabel as MoonUIDropdownMenuLabel, DropdownMenuPortal as MoonUIDropdownMenuPortal, DropdownMenuRadioGroup as MoonUIDropdownMenuRadioGroup, DropdownMenuRadioItem as MoonUIDropdownMenuRadioItem, DropdownMenuSeparator as MoonUIDropdownMenuSeparator, DropdownMenuShortcut as MoonUIDropdownMenuShortcut, DropdownMenuSub as MoonUIDropdownMenuSub, DropdownMenuSubContent as MoonUIDropdownMenuSubContent, DropdownMenuSubTrigger as MoonUIDropdownMenuSubTrigger, DropdownMenuTrigger as MoonUIDropdownMenuTrigger, FileUpload as MoonUIFileUpload, FreeBadge as MoonUIFreeBadge, GestureDrawer as MoonUIGestureDrawer, GitHubStars as MoonUIGitHubStars, GradientPicker as MoonUIGradientPicker, Input as MoonUIInput, InputOTP as MoonUIInputOTP, InputOTPGroup as MoonUIInputOTPGroup, InputOTPSeparator as MoonUIInputOTPSeparator, InputOTPSlot as MoonUIInputOTPSlot, Kbd as MoonUIKbd, Label as MoonUILabel, LockedComponent as MoonUILockedComponent, MonthPicker as MoonUIMonthPicker, MoonLogo as MoonUIMoonLogo, Pagination as MoonUIPagination, PaginationContent as MoonUIPaginationContent, PaginationEllipsis as MoonUIPaginationEllipsis, PaginationItem as MoonUIPaginationItem, PaginationLink as MoonUIPaginationLink, PaginationNext as MoonUIPaginationNext, PaginationPrevious as MoonUIPaginationPrevious, PhoneInput as MoonUIPhoneInput, Popover as MoonUIPopover, PopoverAnchor as MoonUIPopoverAnchor, PopoverClose as MoonUIPopoverClose, PopoverContent as MoonUIPopoverContent, PopoverFooter as MoonUIPopoverFooter, PopoverHeader as MoonUIPopoverHeader, PopoverSeparator as MoonUIPopoverSeparator, PopoverTrigger as MoonUIPopoverTrigger, ProBadge as MoonUIProBadge, ProComponentWrapper as MoonUIProComponentWrapper, Progress as MoonUIProgress, RadioGroup2 as MoonUIRadioGroup, RadioGroupItem as MoonUIRadioGroupItem, RadioItemWithLabel as MoonUIRadioItemWithLabel, RadioLabel as MoonUIRadioLabel, Rating as MoonUIRating, RichTextEditor as MoonUIRichTextEditor, ScrollArea as MoonUIScrollArea, ScrollBar as MoonUIScrollBar, ScrollReveal as MoonUIScrollReveal, ScrollRevealContainer as MoonUIScrollRevealContainer, ScrollRevealItem as MoonUIScrollRevealItem, Select as MoonUISelect, SelectContent as MoonUISelectContent, SelectGroup as MoonUISelectGroup, SelectItem as MoonUISelectItem, SelectLabel as MoonUISelectLabel, SelectScrollDownButton as MoonUISelectScrollDownButton, SelectScrollUpButton as MoonUISelectScrollUpButton, SelectSeparator as MoonUISelectSeparator, SelectTrigger as MoonUISelectTrigger, SelectValue as MoonUISelectValue, Separator3 as MoonUISeparator, SimpleColorPicker as MoonUISimpleColorPicker, SimpleEditor as MoonUISimpleEditor, SimpleTooltip as MoonUISimpleTooltip, Skeleton as MoonUISkeleton, SkeletonAvatar as MoonUISkeletonAvatar, SkeletonCard as MoonUISkeletonCard, SkeletonText as MoonUISkeletonText, Slider as MoonUISlider, Spinner as MoonUISpinner, SwipeableCard as MoonUISwipeableCard, Switch as MoonUISwitch, Table as MoonUITable, TableBody as MoonUITableBody, TableCaption as MoonUITableCaption, TableCell as MoonUITableCell, TableFooter as MoonUITableFooter, TableHead as MoonUITableHead, TableHeader as MoonUITableHeader, TableRow as MoonUITableRow, Tabs as MoonUITabs, TabsContent as MoonUITabsContent, TabsList as MoonUITabsList, TabsTrigger as MoonUITabsTrigger, TagsInput as MoonUITagsInput, Textarea as MoonUITextarea, Toast as MoonUIToast, ToastAction as MoonUIToastAction, ToastClose as MoonUIToastClose, ToastDescription as MoonUIToastDescription, ToastProvider as MoonUIToastProvider, ToastTitle as MoonUIToastTitle, ToastViewport as MoonUIToastViewport, Toaster as MoonUIToaster, Toggle as MoonUIToggle, ToggleGroup as MoonUIToggleGroup, ToggleGroupItem as MoonUIToggleGroupItem, Tooltip as MoonUITooltip, TooltipArrow as MoonUITooltipArrow, TooltipContent as MoonUITooltipContent, TooltipProvider as MoonUITooltipProvider, TooltipTrigger as MoonUITooltipTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PhoneInput, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, ProBadge, ProComponentWrapper, Progress, RadioGroup2 as RadioGroup, RadioGroupItem, RadioItemWithLabel, RadioLabel, Rating, RichTextEditor, ScrollArea, ScrollBar, ScrollReveal, ScrollRevealContainer, ScrollRevealItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, SimpleColorPicker, SimpleEditor, SimpleTooltip, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonText, Slider, Spinner, SwipeableCard, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, aspectRatioVariants, badgeVariants, buttonGroupVariants, buttonVariants, carouselContentVariants, carouselItemVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, inputOTPSlotVariants, kbdVariants, badgeVariants as moonUIBadgeVariants, buttonGroupVariants as moonUIButtonGroupVariants, buttonVariants as moonUIButtonVariants, carouselContentVariants as moonUICarouselContentVariants, carouselItemVariants as moonUICarouselItemVariants, createSortableHeader as moonUICreateSortableHeader, inputOTPSlotVariants as moonUIInputOTPSlotVariants, kbdVariants as moonUIKbdVariants, popoverContentVariants as moonUIPopoverContentVariants, ratingVariants as moonUIRatingVariants, skeletonVariants as moonUISkeletonVariants, spinnerVariants as moonUISpinnerVariants, toggleVariants as moonUIToggleVariants, tooltipVariants as moonUITooltipVariants, popoverContentVariants, progressVariants, ratingVariants, separatorVariants, skeletonVariants, spinnerVariants, switchVariants, toast, toggleVariants, tooltipVariants, useCarousel, useToast };
8856
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarGroup, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, Card, CardCVCInput, CardContent, CardDescription, CardExpiryInput, CardFooter, CardHeader, CardNumberInput, CardTitle, CardZipInput, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, CheckboxGroup, CheckboxLabel, CheckboxWithLabel, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogForm, DialogHeader, DialogTitle, DialogTrigger, DraggableList, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FileUpload, FreeBadge, GestureDrawer, GitHubStarButton, GitHubStars, GradientPicker, Input, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Kbd, Label, LockedComponent, MonthPicker, MoonLogo, MoonLogoAnimated, MoonLogoIcon, Accordion as MoonUIAccordion, AccordionContent as MoonUIAccordionContent, AccordionItem as MoonUIAccordionItem, AccordionTrigger as MoonUIAccordionTrigger, Alert as MoonUIAlert, AlertDescription as MoonUIAlertDescription, AlertTitle as MoonUIAlertTitle, AspectRatio as MoonUIAspectRatio, Avatar as MoonUIAvatar, AvatarFallback as MoonUIAvatarFallback, AvatarGroup as MoonUIAvatarGroup, AvatarImage as MoonUIAvatarImage, Badge as MoonUIBadge, Breadcrumb as MoonUIBreadcrumb, BreadcrumbEllipsis as MoonUIBreadcrumbEllipsis, BreadcrumbItem as MoonUIBreadcrumbItem, BreadcrumbLink as MoonUIBreadcrumbLink, BreadcrumbList as MoonUIBreadcrumbList, BreadcrumbPage as MoonUIBreadcrumbPage, BreadcrumbSeparator as MoonUIBreadcrumbSeparator, Button as MoonUIButton, ButtonGroup as MoonUIButtonGroup, Calendar as MoonUICalendar, Card as MoonUICard, CardCVCInput as MoonUICardCVCInput, CardContent as MoonUICardContent, CardDescription as MoonUICardDescription, CardExpiryInput as MoonUICardExpiryInput, CardFooter as MoonUICardFooter, CardHeader as MoonUICardHeader, CardNumberInput as MoonUICardNumberInput, CardTitle as MoonUICardTitle, CardZipInput as MoonUICardZipInput, Carousel as MoonUICarousel, CarouselContent as MoonUICarouselContent, CarouselItem as MoonUICarouselItem, CarouselNext as MoonUICarouselNext, CarouselPrevious as MoonUICarouselPrevious, Checkbox as MoonUICheckbox, CheckboxGroup as MoonUICheckboxGroup, CheckboxLabel as MoonUICheckboxLabel, CheckboxWithLabel as MoonUICheckboxWithLabel, Collapsible as MoonUICollapsible, CollapsibleContent as MoonUICollapsibleContent, CollapsibleTrigger as MoonUICollapsibleTrigger, ColorPicker as MoonUIColorPicker, Command as MoonUICommand, CommandDialog as MoonUICommandDialog, CommandEmpty as MoonUICommandEmpty, CommandGroup as MoonUICommandGroup, CommandInput as MoonUICommandInput, CommandItem as MoonUICommandItem, CommandList as MoonUICommandList, CommandSeparator as MoonUICommandSeparator, CommandShortcut as MoonUICommandShortcut, DataTableBasic as MoonUIDataTableBasic, DatePicker as MoonUIDatePicker, DateRangePicker as MoonUIDateRangePicker, DateTimePicker as MoonUIDateTimePicker, Dialog as MoonUIDialog, DialogClose as MoonUIDialogClose, DialogContent as MoonUIDialogContent, DialogDescription as MoonUIDialogDescription, DialogFooter as MoonUIDialogFooter, DialogForm as MoonUIDialogForm, DialogHeader as MoonUIDialogHeader, DialogTitle as MoonUIDialogTitle, DialogTrigger as MoonUIDialogTrigger, DraggableList as MoonUIDraggableList, DropdownMenu as MoonUIDropdownMenu, DropdownMenuCheckboxItem as MoonUIDropdownMenuCheckboxItem, DropdownMenuContent as MoonUIDropdownMenuContent, DropdownMenuGroup as MoonUIDropdownMenuGroup, DropdownMenuItem as MoonUIDropdownMenuItem, DropdownMenuLabel as MoonUIDropdownMenuLabel, DropdownMenuPortal as MoonUIDropdownMenuPortal, DropdownMenuRadioGroup as MoonUIDropdownMenuRadioGroup, DropdownMenuRadioItem as MoonUIDropdownMenuRadioItem, DropdownMenuSeparator as MoonUIDropdownMenuSeparator, DropdownMenuShortcut as MoonUIDropdownMenuShortcut, DropdownMenuSub as MoonUIDropdownMenuSub, DropdownMenuSubContent as MoonUIDropdownMenuSubContent, DropdownMenuSubTrigger as MoonUIDropdownMenuSubTrigger, DropdownMenuTrigger as MoonUIDropdownMenuTrigger, FileUpload as MoonUIFileUpload, FreeBadge as MoonUIFreeBadge, GestureDrawer as MoonUIGestureDrawer, GitHubStars as MoonUIGitHubStars, GradientPicker as MoonUIGradientPicker, Input as MoonUIInput, InputOTP as MoonUIInputOTP, InputOTPGroup as MoonUIInputOTPGroup, InputOTPSeparator as MoonUIInputOTPSeparator, InputOTPSlot as MoonUIInputOTPSlot, Kbd as MoonUIKbd, Label as MoonUILabel, LockedComponent as MoonUILockedComponent, MonthPicker as MoonUIMonthPicker, MoonLogo as MoonUIMoonLogo, Pagination as MoonUIPagination, PaginationContent as MoonUIPaginationContent, PaginationEllipsis as MoonUIPaginationEllipsis, PaginationItem as MoonUIPaginationItem, PaginationLink as MoonUIPaginationLink, PaginationNext as MoonUIPaginationNext, PaginationPrevious as MoonUIPaginationPrevious, PhoneInput as MoonUIPhoneInput, Popover as MoonUIPopover, PopoverAnchor as MoonUIPopoverAnchor, PopoverClose as MoonUIPopoverClose, PopoverContent as MoonUIPopoverContent, PopoverFooter as MoonUIPopoverFooter, PopoverHeader as MoonUIPopoverHeader, PopoverSeparator as MoonUIPopoverSeparator, PopoverTrigger as MoonUIPopoverTrigger, ProBadge as MoonUIProBadge, ProComponentWrapper as MoonUIProComponentWrapper, Progress as MoonUIProgress, RadioGroup2 as MoonUIRadioGroup, RadioGroupItem as MoonUIRadioGroupItem, RadioItemWithLabel as MoonUIRadioItemWithLabel, RadioLabel as MoonUIRadioLabel, Rating as MoonUIRating, RichTextEditor as MoonUIRichTextEditor, ScrollArea as MoonUIScrollArea, ScrollBar as MoonUIScrollBar, ScrollReveal as MoonUIScrollReveal, ScrollRevealContainer as MoonUIScrollRevealContainer, ScrollRevealItem as MoonUIScrollRevealItem, Select as MoonUISelect, SelectContent as MoonUISelectContent, SelectGroup as MoonUISelectGroup, SelectItem as MoonUISelectItem, SelectLabel as MoonUISelectLabel, SelectScrollDownButton as MoonUISelectScrollDownButton, SelectScrollUpButton as MoonUISelectScrollUpButton, SelectSeparator as MoonUISelectSeparator, SelectTrigger as MoonUISelectTrigger, SelectValue as MoonUISelectValue, Separator3 as MoonUISeparator, SimpleColorPicker as MoonUISimpleColorPicker, SimpleEditor as MoonUISimpleEditor, SimpleTooltip as MoonUISimpleTooltip, Skeleton as MoonUISkeleton, SkeletonAvatar as MoonUISkeletonAvatar, SkeletonCard as MoonUISkeletonCard, SkeletonText as MoonUISkeletonText, Slider as MoonUISlider, Spinner as MoonUISpinner, SwipeableCard as MoonUISwipeableCard, Switch as MoonUISwitch, Table as MoonUITable, TableBody as MoonUITableBody, TableCaption as MoonUITableCaption, TableCell as MoonUITableCell, TableFooter as MoonUITableFooter, TableHead as MoonUITableHead, TableHeader as MoonUITableHeader, TableRow as MoonUITableRow, Tabs as MoonUITabs, TabsContent as MoonUITabsContent, TabsList as MoonUITabsList, TabsTrigger as MoonUITabsTrigger, TagsInput as MoonUITagsInput, Textarea as MoonUITextarea, Toast as MoonUIToast, ToastAction as MoonUIToastAction, ToastClose as MoonUIToastClose, ToastDescription as MoonUIToastDescription, ToastProvider as MoonUIToastProvider, ToastTitle as MoonUIToastTitle, ToastViewport as MoonUIToastViewport, Toaster as MoonUIToaster, Toggle as MoonUIToggle, ToggleGroup as MoonUIToggleGroup, ToggleGroupItem as MoonUIToggleGroupItem, Tooltip as MoonUITooltip, TooltipArrow as MoonUITooltipArrow, TooltipContent as MoonUITooltipContent, TooltipProvider as MoonUITooltipProvider, TooltipTrigger as MoonUITooltipTrigger, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PhoneInput, Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverFooter, PopoverHeader, PopoverSeparator, PopoverTrigger, ProBadge, ProComponentWrapper, Progress, RadioGroup2 as RadioGroup, RadioGroupItem, RadioItemWithLabel, RadioLabel, Rating, RichTextEditor, ScrollArea, ScrollBar, ScrollReveal, ScrollRevealContainer, ScrollRevealItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator3 as Separator, SimpleColorPicker, SimpleEditor, SimpleTooltip, Skeleton, SkeletonAvatar, SkeletonCard, SkeletonText, Slider, Spinner, SwipeableCard, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TagsInput, Textarea, Toast, ToastAction, ToastClose, ToastDescription, ToastProvider, ToastTitle, ToastViewport, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, aspectRatioVariants, badgeVariants, breadcrumbVariants, buttonGroupVariants, buttonVariants, carouselContentVariants, carouselItemVariants, cn, collapsibleContentVariants, collapsibleTriggerVariants, inputOTPSlotVariants, kbdVariants, badgeVariants as moonUIBadgeVariants, buttonGroupVariants as moonUIButtonGroupVariants, buttonVariants as moonUIButtonVariants, carouselContentVariants as moonUICarouselContentVariants, carouselItemVariants as moonUICarouselItemVariants, createSortableHeader as moonUICreateSortableHeader, inputOTPSlotVariants as moonUIInputOTPSlotVariants, kbdVariants as moonUIKbdVariants, popoverContentVariants as moonUIPopoverContentVariants, ratingVariants as moonUIRatingVariants, skeletonVariants as moonUISkeletonVariants, spinnerVariants as moonUISpinnerVariants, toggleVariants as moonUIToggleVariants, tooltipVariants as moonUITooltipVariants, popoverContentVariants, progressVariants, ratingVariants, separatorVariants, skeletonVariants, spinnerVariants, switchVariants, tabsListVariants, tabsTriggerVariants, toast, toggleVariants, tooltipVariants, useCarousel, useToast };
8807
8857
  //# sourceMappingURL=out.js.map
8808
8858
  //# sourceMappingURL=index.mjs.map