@moontra/moonui 6.8.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.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  'use strict';
4
4
 
5
- var React23 = require('react');
5
+ var React12 = require('react');
6
6
  var AccordionPrimitive = require('@radix-ui/react-accordion');
7
7
  var lucideReact = require('lucide-react');
8
8
  var clsx = require('clsx');
@@ -53,7 +53,7 @@ function _interopNamespace(e) {
53
53
  return Object.freeze(n);
54
54
  }
55
55
 
56
- var React23__namespace = /*#__PURE__*/_interopNamespace(React23);
56
+ var React12__namespace = /*#__PURE__*/_interopNamespace(React12);
57
57
  var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
58
58
  var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
59
59
  var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
@@ -84,14 +84,14 @@ function readableText(node) {
84
84
  if (Array.isArray(node)) {
85
85
  return node.map(readableText).filter(Boolean).join(" ").trim();
86
86
  }
87
- if (React23__namespace.isValidElement(node)) {
87
+ if (React12__namespace.isValidElement(node)) {
88
88
  const props = node.props;
89
89
  return readableText(props.children);
90
90
  }
91
91
  return "";
92
92
  }
93
93
  var Accordion = AccordionPrimitive__namespace.Root;
94
- var AccordionItem = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
94
+ var AccordionItem = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
95
95
  AccordionPrimitive__namespace.Item,
96
96
  {
97
97
  ref,
@@ -100,7 +100,7 @@ var AccordionItem = React23__namespace.forwardRef(({ className, ...props }, ref)
100
100
  }
101
101
  ));
102
102
  AccordionItem.displayName = "AccordionItem";
103
- var AccordionTrigger = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
103
+ var AccordionTrigger = React12__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(AccordionPrimitive__namespace.Header, { className: "flex", children: /* @__PURE__ */ jsxRuntime.jsxs(
104
104
  AccordionPrimitive__namespace.Trigger,
105
105
  {
106
106
  ref,
@@ -118,7 +118,7 @@ var AccordionTrigger = React23__namespace.forwardRef(({ className, children, ...
118
118
  }
119
119
  ) }));
120
120
  AccordionTrigger.displayName = AccordionPrimitive__namespace.Trigger.displayName;
121
- var AccordionContent = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
121
+ var AccordionContent = React12__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
122
122
  AccordionPrimitive__namespace.Content,
123
123
  {
124
124
  ref,
@@ -171,7 +171,7 @@ var alertVariants = classVarianceAuthority.cva(
171
171
  }
172
172
  }
173
173
  );
174
- var Alert = React23__namespace.forwardRef(
174
+ var Alert = React12__namespace.forwardRef(
175
175
  ({
176
176
  className,
177
177
  variant = "default",
@@ -183,7 +183,7 @@ var Alert = React23__namespace.forwardRef(
183
183
  children,
184
184
  ...props
185
185
  }, ref) => {
186
- const Icon2 = React23__namespace.useMemo(() => {
186
+ const Icon2 = React12__namespace.useMemo(() => {
187
187
  switch (variant) {
188
188
  case "success":
189
189
  return lucideReact.Check;
@@ -231,7 +231,7 @@ var Alert = React23__namespace.forwardRef(
231
231
  }
232
232
  );
233
233
  Alert.displayName = "Alert";
234
- var AlertTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
234
+ var AlertTitle = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
235
235
  "h5",
236
236
  {
237
237
  ref,
@@ -244,7 +244,7 @@ var AlertTitle = React23__namespace.forwardRef(({ className, ...props }, ref) =>
244
244
  }
245
245
  ));
246
246
  AlertTitle.displayName = "AlertTitle";
247
- var AlertDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
247
+ var AlertDescription = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
248
248
  "div",
249
249
  {
250
250
  ref,
@@ -286,7 +286,7 @@ var aspectRatioVariants = classVarianceAuthority.cva(
286
286
  }
287
287
  }
288
288
  );
289
- var AspectRatio = React23__namespace.forwardRef(({ className, variant, radius, ratio = 16 / 9, style, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
289
+ var AspectRatio = React12__namespace.forwardRef(({ className, variant, radius, ratio = 16 / 9, style, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
290
290
  "div",
291
291
  {
292
292
  ref,
@@ -335,7 +335,7 @@ var avatarVariants = classVarianceAuthority.cva(
335
335
  }
336
336
  }
337
337
  );
338
- var Avatar = React23__namespace.forwardRef(({ className, size, radius, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
338
+ var Avatar = React12__namespace.forwardRef(({ className, size, radius, variant, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
339
339
  AvatarPrimitive__namespace.Root,
340
340
  {
341
341
  ref,
@@ -344,7 +344,7 @@ var Avatar = React23__namespace.forwardRef(({ className, size, radius, variant,
344
344
  }
345
345
  ));
346
346
  Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
347
- var AvatarImage = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
347
+ var AvatarImage = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
348
348
  AvatarPrimitive__namespace.Image,
349
349
  {
350
350
  ref,
@@ -353,7 +353,7 @@ var AvatarImage = React23__namespace.forwardRef(({ className, ...props }, ref) =
353
353
  }
354
354
  ));
355
355
  AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
356
- var AvatarFallback = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
356
+ var AvatarFallback = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
357
357
  AvatarPrimitive__namespace.Fallback,
358
358
  {
359
359
  ref,
@@ -365,9 +365,9 @@ var AvatarFallback = React23__namespace.forwardRef(({ className, ...props }, ref
365
365
  }
366
366
  ));
367
367
  AvatarFallback.displayName = AvatarPrimitive__namespace.Fallback.displayName;
368
- var AvatarGroup = React23__namespace.forwardRef(
368
+ var AvatarGroup = React12__namespace.forwardRef(
369
369
  ({ className, max, children, overlapOffset = -8, ...props }, ref) => {
370
- const childrenArray = React23__namespace.Children.toArray(children);
370
+ const childrenArray = React12__namespace.Children.toArray(children);
371
371
  const visibleAvatars = max ? childrenArray.slice(0, max) : childrenArray;
372
372
  const remainingCount = max ? Math.max(0, childrenArray.length - max) : 0;
373
373
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -498,7 +498,7 @@ var badgeVariants = classVarianceAuthority.cva(
498
498
  }
499
499
  }
500
500
  );
501
- var Badge = React23__namespace.forwardRef(({
501
+ var Badge = React12__namespace.forwardRef(({
502
502
  className,
503
503
  variant,
504
504
  size,
@@ -606,8 +606,8 @@ var breadcrumbVariants = classVarianceAuthority.cva(
606
606
  }
607
607
  }
608
608
  );
609
- var BreadcrumbSeparatorContext = React23__namespace.createContext(void 0);
610
- var Breadcrumb = React23__namespace.forwardRef(
609
+ var BreadcrumbSeparatorContext = React12__namespace.createContext(void 0);
610
+ var Breadcrumb = React12__namespace.forwardRef(
611
611
  // #309: `separator` ve `showHomeIcon` ESKİDEN destructure EDİLMİYORDU → `{...props}` ile
612
612
  // `<nav>`'a öznitelik olarak basılıyor, React uyarı veriyordu. İkisi de artık ayrılıyor.
613
613
  ({ className, variant, size, separator, showHomeIcon: _showHomeIcon, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbSeparatorContext.Provider, { value: separator, children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -621,9 +621,9 @@ var Breadcrumb = React23__namespace.forwardRef(
621
621
  ) })
622
622
  );
623
623
  Breadcrumb.displayName = "Breadcrumb";
624
- var BreadcrumbList = React23__namespace.forwardRef(
624
+ var BreadcrumbList = React12__namespace.forwardRef(
625
625
  ({ className, collapsed, collapsedWidth = 3, ...props }, ref) => {
626
- const childrenArray = React23__namespace.Children.toArray(props.children).filter(Boolean);
626
+ const childrenArray = React12__namespace.Children.toArray(props.children).filter(Boolean);
627
627
  const childCount = childrenArray.length;
628
628
  if (collapsed && childCount > collapsedWidth) {
629
629
  const firstItem = childrenArray[0];
@@ -659,7 +659,7 @@ var BreadcrumbList = React23__namespace.forwardRef(
659
659
  }
660
660
  );
661
661
  BreadcrumbList.displayName = "BreadcrumbList";
662
- var BreadcrumbItem = React23__namespace.forwardRef(
662
+ var BreadcrumbItem = React12__namespace.forwardRef(
663
663
  ({ className, isCurrent, href, asChild = false, children, ...props }, ref) => {
664
664
  const Comp = asChild ? reactSlot.Slot : href ? "a" : "span";
665
665
  const itemProps = !asChild && href ? { href } : {};
@@ -692,7 +692,7 @@ var BreadcrumbSeparator = ({
692
692
  icon,
693
693
  ...props
694
694
  }) => {
695
- const rootSeparator = React23__namespace.useContext(BreadcrumbSeparatorContext);
695
+ const rootSeparator = React12__namespace.useContext(BreadcrumbSeparatorContext);
696
696
  return (
697
697
  // Ayraç tümüyle dekoratiftir → `aria-hidden` burada DOĞRU (ellipsis'in aksine içinde
698
698
  // ekran-okuyucuya ait metin yok).
@@ -735,7 +735,7 @@ var BreadcrumbEllipsis = ({
735
735
  )
736
736
  );
737
737
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
738
- var BreadcrumbLink = React23__namespace.forwardRef(
738
+ var BreadcrumbLink = React12__namespace.forwardRef(
739
739
  ({ className, href, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
740
740
  "a",
741
741
  {
@@ -750,7 +750,7 @@ var BreadcrumbLink = React23__namespace.forwardRef(
750
750
  )
751
751
  );
752
752
  BreadcrumbLink.displayName = "BreadcrumbLink";
753
- var BreadcrumbPage = React23__namespace.forwardRef(
753
+ var BreadcrumbPage = React12__namespace.forwardRef(
754
754
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
755
755
  "span",
756
756
  {
@@ -913,7 +913,7 @@ var buttonVariants = classVarianceAuthority.cva(
913
913
  }
914
914
  }
915
915
  );
916
- var Button = React23__namespace.forwardRef(
916
+ var Button = React12__namespace.forwardRef(
917
917
  ({
918
918
  className,
919
919
  variant,
@@ -1128,7 +1128,7 @@ var cardVariants = classVarianceAuthority.cva(
1128
1128
  }
1129
1129
  }
1130
1130
  );
1131
- var Card = React23__namespace.forwardRef(
1131
+ var Card = React12__namespace.forwardRef(
1132
1132
  ({ className, variant, size, radius, interactive, microInteraction = "lift", ...props }, ref) => {
1133
1133
  if (interactive && microInteraction !== "none") {
1134
1134
  const interactionProps = {
@@ -1156,7 +1156,7 @@ var Card = React23__namespace.forwardRef(
1156
1156
  }
1157
1157
  );
1158
1158
  Card.displayName = "Card";
1159
- var CardHeader = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1159
+ var CardHeader = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1160
1160
  "div",
1161
1161
  {
1162
1162
  ref,
@@ -1165,7 +1165,7 @@ var CardHeader = React23__namespace.forwardRef(({ className, ...props }, ref) =>
1165
1165
  }
1166
1166
  ));
1167
1167
  CardHeader.displayName = "CardHeader";
1168
- var CardTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1168
+ var CardTitle = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1169
1169
  "h3",
1170
1170
  {
1171
1171
  ref,
@@ -1174,7 +1174,7 @@ var CardTitle = React23__namespace.forwardRef(({ className, ...props }, ref) =>
1174
1174
  }
1175
1175
  ));
1176
1176
  CardTitle.displayName = "CardTitle";
1177
- var CardDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1177
+ var CardDescription = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1178
1178
  "p",
1179
1179
  {
1180
1180
  ref,
@@ -1183,9 +1183,9 @@ var CardDescription = React23__namespace.forwardRef(({ className, ...props }, re
1183
1183
  }
1184
1184
  ));
1185
1185
  CardDescription.displayName = "CardDescription";
1186
- var CardContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("moonui-theme", "p-6 pt-0", className), ...props }));
1186
+ var CardContent = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("moonui-theme", "p-6 pt-0", className), ...props }));
1187
1187
  CardContent.displayName = "CardContent";
1188
- var CardFooter = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1188
+ var CardFooter = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1189
1189
  "div",
1190
1190
  {
1191
1191
  ref,
@@ -1206,7 +1206,7 @@ function Calendar({
1206
1206
  defaultMonth,
1207
1207
  ...props
1208
1208
  }) {
1209
- const [currentMonth, setCurrentMonth] = React23__namespace.useState(
1209
+ const [currentMonth, setCurrentMonth] = React12__namespace.useState(
1210
1210
  defaultMonth || selected && selected || /* @__PURE__ */ new Date()
1211
1211
  );
1212
1212
  const weekDays = [
@@ -1420,9 +1420,9 @@ var formatCardNumber = (value, cardType) => {
1420
1420
  }
1421
1421
  return formatted;
1422
1422
  };
1423
- var CardNumberInput = React23__namespace.forwardRef(
1423
+ var CardNumberInput = React12__namespace.forwardRef(
1424
1424
  ({ className, value = "", onChange, showIcon = true, size, ...props }, ref) => {
1425
- const [cardType, setCardType] = React23__namespace.useState("unknown");
1425
+ const [cardType, setCardType] = React12__namespace.useState("unknown");
1426
1426
  const handleChange = (e) => {
1427
1427
  const rawValue = e.target.value.replace(/\D/g, "");
1428
1428
  const detectedType = getCardType(rawValue);
@@ -1453,7 +1453,7 @@ var CardNumberInput = React23__namespace.forwardRef(
1453
1453
  }
1454
1454
  );
1455
1455
  CardNumberInput.displayName = "CardNumberInput";
1456
- var CardExpiryInput = React23__namespace.forwardRef(
1456
+ var CardExpiryInput = React12__namespace.forwardRef(
1457
1457
  ({ className, value = "", onChange, size, ...props }, ref) => {
1458
1458
  const handleChange = (e) => {
1459
1459
  let rawValue = e.target.value.replace(/\D/g, "");
@@ -1491,7 +1491,7 @@ var CardExpiryInput = React23__namespace.forwardRef(
1491
1491
  }
1492
1492
  );
1493
1493
  CardExpiryInput.displayName = "CardExpiryInput";
1494
- var CardCVCInput = React23__namespace.forwardRef(
1494
+ var CardCVCInput = React12__namespace.forwardRef(
1495
1495
  ({ className, value = "", onChange, cardType = "unknown", size, ...props }, ref) => {
1496
1496
  const maxLength = cardType === "amex" ? 4 : 3;
1497
1497
  const handleChange = (e) => {
@@ -1516,7 +1516,7 @@ var CardCVCInput = React23__namespace.forwardRef(
1516
1516
  }
1517
1517
  );
1518
1518
  CardCVCInput.displayName = "CardCVCInput";
1519
- var CardZipInput = React23__namespace.forwardRef(
1519
+ var CardZipInput = React12__namespace.forwardRef(
1520
1520
  ({ className, value = "", onChange, format: format4 = "US", size, ...props }, ref) => {
1521
1521
  const handleChange = (e) => {
1522
1522
  let rawValue = e.target.value;
@@ -1567,15 +1567,15 @@ var CardZipInput = React23__namespace.forwardRef(
1567
1567
  }
1568
1568
  );
1569
1569
  CardZipInput.displayName = "CardZipInput";
1570
- var CarouselContext = React23__namespace.createContext(null);
1570
+ var CarouselContext = React12__namespace.createContext(null);
1571
1571
  function useCarousel() {
1572
- const context = React23__namespace.useContext(CarouselContext);
1572
+ const context = React12__namespace.useContext(CarouselContext);
1573
1573
  if (!context) {
1574
1574
  throw new Error("useCarousel must be used within a <Carousel />");
1575
1575
  }
1576
1576
  return context;
1577
1577
  }
1578
- var Carousel = React23__namespace.forwardRef(
1578
+ var Carousel = React12__namespace.forwardRef(
1579
1579
  ({
1580
1580
  orientation = "horizontal",
1581
1581
  opts,
@@ -1593,21 +1593,28 @@ var Carousel = React23__namespace.forwardRef(
1593
1593
  },
1594
1594
  plugins
1595
1595
  );
1596
- const [canScrollPrev, setCanScrollPrev] = React23__namespace.useState(false);
1597
- const [canScrollNext, setCanScrollNext] = React23__namespace.useState(false);
1598
- const onSelect = React23__namespace.useCallback((emblaApi) => {
1596
+ const [canScrollPrev, setCanScrollPrev] = React12__namespace.useState(false);
1597
+ const [canScrollNext, setCanScrollNext] = React12__namespace.useState(false);
1598
+ const [slideState, setSlideState] = React12__namespace.useState(
1599
+ { current: 0, total: 0 }
1600
+ );
1601
+ const onSelect = React12__namespace.useCallback((emblaApi) => {
1599
1602
  if (!emblaApi)
1600
1603
  return;
1601
1604
  setCanScrollPrev(emblaApi.canScrollPrev());
1602
1605
  setCanScrollNext(emblaApi.canScrollNext());
1606
+ setSlideState({
1607
+ current: emblaApi.selectedScrollSnap() + 1,
1608
+ total: emblaApi.scrollSnapList().length
1609
+ });
1603
1610
  }, []);
1604
- const scrollPrev = React23__namespace.useCallback(() => {
1611
+ const scrollPrev = React12__namespace.useCallback(() => {
1605
1612
  api?.scrollPrev();
1606
1613
  }, [api]);
1607
- const scrollNext = React23__namespace.useCallback(() => {
1614
+ const scrollNext = React12__namespace.useCallback(() => {
1608
1615
  api?.scrollNext();
1609
1616
  }, [api]);
1610
- const handleKeyDown = React23__namespace.useCallback(
1617
+ const handleKeyDown = React12__namespace.useCallback(
1611
1618
  (event) => {
1612
1619
  const prevKey = resolvedOrientation === "horizontal" ? "ArrowLeft" : "ArrowUp";
1613
1620
  const nextKey = resolvedOrientation === "horizontal" ? "ArrowRight" : "ArrowDown";
@@ -1621,12 +1628,12 @@ var Carousel = React23__namespace.forwardRef(
1621
1628
  },
1622
1629
  [resolvedOrientation, scrollPrev, scrollNext]
1623
1630
  );
1624
- React23__namespace.useEffect(() => {
1631
+ React12__namespace.useEffect(() => {
1625
1632
  if (!api || !setApi)
1626
1633
  return;
1627
1634
  setApi(api);
1628
1635
  }, [api, setApi]);
1629
- React23__namespace.useEffect(() => {
1636
+ React12__namespace.useEffect(() => {
1630
1637
  if (!api)
1631
1638
  return;
1632
1639
  onSelect(api);
@@ -1650,7 +1657,7 @@ var Carousel = React23__namespace.forwardRef(
1650
1657
  canScrollNext,
1651
1658
  orientation: resolvedOrientation
1652
1659
  },
1653
- children: /* @__PURE__ */ jsxRuntime.jsx(
1660
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
1654
1661
  "div",
1655
1662
  {
1656
1663
  ref,
@@ -1659,7 +1666,10 @@ var Carousel = React23__namespace.forwardRef(
1659
1666
  role: "region",
1660
1667
  "aria-roledescription": "carousel",
1661
1668
  ...props,
1662
- children
1669
+ children: [
1670
+ children,
1671
+ /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-live": "polite", "aria-atomic": "true", className: "sr-only", children: slideState.total > 0 ? `Slide ${slideState.current} of ${slideState.total}` : "" })
1672
+ ]
1663
1673
  }
1664
1674
  )
1665
1675
  }
@@ -1678,7 +1688,7 @@ var carouselContentVariants = classVarianceAuthority.cva("flex", {
1678
1688
  orientation: "horizontal"
1679
1689
  }
1680
1690
  });
1681
- var CarouselContent = React23__namespace.forwardRef(
1691
+ var CarouselContent = React12__namespace.forwardRef(
1682
1692
  ({ className, ...props }, ref) => {
1683
1693
  const { carouselRef, orientation } = useCarousel();
1684
1694
  return /* @__PURE__ */ jsxRuntime.jsx("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -1703,7 +1713,7 @@ var carouselItemVariants = classVarianceAuthority.cva("min-w-0 shrink-0 grow-0 b
1703
1713
  orientation: "horizontal"
1704
1714
  }
1705
1715
  });
1706
- var CarouselItem = React23__namespace.forwardRef(
1716
+ var CarouselItem = React12__namespace.forwardRef(
1707
1717
  ({ className, ...props }, ref) => {
1708
1718
  const { orientation } = useCarousel();
1709
1719
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -1719,7 +1729,7 @@ var CarouselItem = React23__namespace.forwardRef(
1719
1729
  }
1720
1730
  );
1721
1731
  CarouselItem.displayName = "CarouselItem";
1722
- var CarouselPrevious = React23__namespace.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1732
+ var CarouselPrevious = React12__namespace.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1723
1733
  const { orientation, scrollPrev, canScrollPrev } = useCarousel();
1724
1734
  return /* @__PURE__ */ jsxRuntime.jsxs(
1725
1735
  Button,
@@ -1744,7 +1754,7 @@ var CarouselPrevious = React23__namespace.forwardRef(({ className, variant = "ou
1744
1754
  );
1745
1755
  });
1746
1756
  CarouselPrevious.displayName = "CarouselPrevious";
1747
- var CarouselNext = React23__namespace.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1757
+ var CarouselNext = React12__namespace.forwardRef(({ className, variant = "outline", size = "icon-sm", ...props }, ref) => {
1748
1758
  const { orientation, scrollNext, canScrollNext } = useCarousel();
1749
1759
  return /* @__PURE__ */ jsxRuntime.jsxs(
1750
1760
  Button,
@@ -1807,7 +1817,7 @@ var checkboxVariants = classVarianceAuthority.cva(
1807
1817
  }
1808
1818
  }
1809
1819
  );
1810
- var Checkbox = React23__namespace.forwardRef(({
1820
+ var Checkbox = React12__namespace.forwardRef(({
1811
1821
  className,
1812
1822
  variant,
1813
1823
  size,
@@ -1840,7 +1850,7 @@ var Checkbox = React23__namespace.forwardRef(({
1840
1850
  );
1841
1851
  });
1842
1852
  Checkbox.displayName = CheckboxPrimitive__namespace.Root.displayName;
1843
- var CheckboxGroup = React23__namespace.forwardRef(
1853
+ var CheckboxGroup = React12__namespace.forwardRef(
1844
1854
  ({ className, orientation = "vertical", spacing = "1rem", children, ...props }, ref) => {
1845
1855
  return /* @__PURE__ */ jsxRuntime.jsx(
1846
1856
  "div",
@@ -1860,7 +1870,7 @@ var CheckboxGroup = React23__namespace.forwardRef(
1860
1870
  }
1861
1871
  );
1862
1872
  CheckboxGroup.displayName = "CheckboxGroup";
1863
- var CheckboxLabel = React23__namespace.forwardRef(
1873
+ var CheckboxLabel = React12__namespace.forwardRef(
1864
1874
  ({ className, htmlFor, children, position = "end", disabled = false, ...props }, ref) => {
1865
1875
  return /* @__PURE__ */ jsxRuntime.jsx(
1866
1876
  "label",
@@ -1880,14 +1890,14 @@ var CheckboxLabel = React23__namespace.forwardRef(
1880
1890
  }
1881
1891
  );
1882
1892
  CheckboxLabel.displayName = "CheckboxLabel";
1883
- var CheckboxWithLabel = React23__namespace.forwardRef(({
1893
+ var CheckboxWithLabel = React12__namespace.forwardRef(({
1884
1894
  id,
1885
1895
  label,
1886
1896
  labelPosition = "end",
1887
1897
  labelClassName,
1888
1898
  ...checkboxProps
1889
1899
  }, ref) => {
1890
- const generatedId = React23__namespace.useId();
1900
+ const generatedId = React12__namespace.useId();
1891
1901
  const checkboxId = id || generatedId;
1892
1902
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
1893
1903
  labelPosition === "start" && /* @__PURE__ */ jsxRuntime.jsx(
@@ -1937,7 +1947,7 @@ var collapsibleTriggerVariants = classVarianceAuthority.cva(
1937
1947
  }
1938
1948
  }
1939
1949
  );
1940
- var CollapsibleTrigger = React23__namespace.forwardRef(({ className, children, variant, size, asChild, ...props }, ref) => {
1950
+ var CollapsibleTrigger = React12__namespace.forwardRef(({ className, children, variant, size, asChild, ...props }, ref) => {
1941
1951
  if (asChild) {
1942
1952
  return /* @__PURE__ */ jsxRuntime.jsx(
1943
1953
  CollapsiblePrimitive__namespace.Trigger,
@@ -1986,7 +1996,7 @@ var collapsibleContentVariants = classVarianceAuthority.cva(
1986
1996
  }
1987
1997
  }
1988
1998
  );
1989
- var CollapsibleContent = React23__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1999
+ var CollapsibleContent = React12__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1990
2000
  CollapsiblePrimitive__namespace.Content,
1991
2001
  {
1992
2002
  ref,
@@ -2069,7 +2079,7 @@ var inputVariants = classVarianceAuthority.cva(
2069
2079
  }
2070
2080
  }
2071
2081
  );
2072
- var Input = React23__namespace.forwardRef(
2082
+ var Input = React12__namespace.forwardRef(
2073
2083
  ({
2074
2084
  className,
2075
2085
  wrapperClassName,
@@ -2096,10 +2106,10 @@ var Input = React23__namespace.forwardRef(
2096
2106
  placeholder,
2097
2107
  ...props
2098
2108
  }, ref) => {
2099
- const reactId = React23__namespace.useId();
2109
+ const reactId = React12__namespace.useId();
2100
2110
  const fieldId = props.id || reactId;
2101
- const [isFocused, setIsFocused] = React23__namespace.useState(false);
2102
- const [internalValue, setInternalValue] = React23__namespace.useState(value || defaultValue || "");
2111
+ const [isFocused, setIsFocused] = React12__namespace.useState(false);
2112
+ const [internalValue, setInternalValue] = React12__namespace.useState(value || defaultValue || "");
2103
2113
  const hasValue = internalValue !== "" && internalValue !== null && internalValue !== void 0;
2104
2114
  const isLabelActive = isFocused || hasValue;
2105
2115
  const handleFocus = (e) => {
@@ -2114,7 +2124,7 @@ var Input = React23__namespace.forwardRef(
2114
2124
  setInternalValue(e.target.value);
2115
2125
  onChange?.(e);
2116
2126
  };
2117
- React23__namespace.useEffect(() => {
2127
+ React12__namespace.useEffect(() => {
2118
2128
  if (value !== void 0) {
2119
2129
  setInternalValue(value);
2120
2130
  }
@@ -2198,7 +2208,7 @@ Input.displayName = "Input";
2198
2208
  var labelVariants = classVarianceAuthority.cva(
2199
2209
  "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"
2200
2210
  );
2201
- var Label = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2211
+ var Label = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2202
2212
  LabelPrimitive__namespace.Root,
2203
2213
  {
2204
2214
  ref,
@@ -2259,7 +2269,7 @@ var popoverContentVariants = classVarianceAuthority.cva(
2259
2269
  var Popover = PopoverPrimitive__namespace.Root;
2260
2270
  var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
2261
2271
  var PopoverAnchor = PopoverPrimitive__namespace.Anchor;
2262
- var PopoverContent = React23__namespace.forwardRef(({
2272
+ var PopoverContent = React12__namespace.forwardRef(({
2263
2273
  className,
2264
2274
  variant,
2265
2275
  size,
@@ -2333,8 +2343,8 @@ var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2333
2343
  }
2334
2344
  );
2335
2345
  PopoverFooter.displayName = "PopoverFooter";
2336
- var TabsOrientationContext = React23__namespace.createContext("horizontal");
2337
- var Tabs = React23__namespace.forwardRef(({ vertical = false, orientation, className, ...props }, ref) => {
2346
+ var TabsOrientationContext = React12__namespace.createContext("horizontal");
2347
+ var Tabs = React12__namespace.forwardRef(({ vertical = false, orientation, className, ...props }, ref) => {
2338
2348
  const resolvedOrientation = orientation ?? (vertical ? "vertical" : "horizontal");
2339
2349
  return /* @__PURE__ */ jsxRuntime.jsx(TabsOrientationContext.Provider, { value: resolvedOrientation, children: /* @__PURE__ */ jsxRuntime.jsx(
2340
2350
  TabsPrimitive__namespace.Root,
@@ -2378,8 +2388,8 @@ var tabsListVariants = classVarianceAuthority.cva(
2378
2388
  }
2379
2389
  }
2380
2390
  );
2381
- var TabsList = React23__namespace.forwardRef(({ className, variant, orientation, fullWidth, scrollable, ...props }, ref) => {
2382
- const contextOrientation = React23__namespace.useContext(TabsOrientationContext);
2391
+ var TabsList = React12__namespace.forwardRef(({ className, variant, orientation, fullWidth, scrollable, ...props }, ref) => {
2392
+ const contextOrientation = React12__namespace.useContext(TabsOrientationContext);
2383
2393
  const resolvedOrientation = orientation ?? contextOrientation;
2384
2394
  return /* @__PURE__ */ jsxRuntime.jsx(
2385
2395
  TabsPrimitive__namespace.List,
@@ -2423,7 +2433,7 @@ var tabsTriggerVariants = classVarianceAuthority.cva(
2423
2433
  }
2424
2434
  }
2425
2435
  );
2426
- var TabsTrigger = React23__namespace.forwardRef(({
2436
+ var TabsTrigger = React12__namespace.forwardRef(({
2427
2437
  className,
2428
2438
  variant,
2429
2439
  size,
@@ -2436,7 +2446,7 @@ var TabsTrigger = React23__namespace.forwardRef(({
2436
2446
  children,
2437
2447
  ...props
2438
2448
  }, ref) => {
2439
- const contextOrientation = React23__namespace.useContext(TabsOrientationContext);
2449
+ const contextOrientation = React12__namespace.useContext(TabsOrientationContext);
2440
2450
  const resolvedOrientation = orientation ?? contextOrientation;
2441
2451
  return /* @__PURE__ */ jsxRuntime.jsxs(
2442
2452
  TabsPrimitive__namespace.Trigger,
@@ -2459,7 +2469,7 @@ var TabsTrigger = React23__namespace.forwardRef(({
2459
2469
  );
2460
2470
  });
2461
2471
  TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
2462
- var TabsContent = React23__namespace.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2472
+ var TabsContent = React12__namespace.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
2463
2473
  TabsPrimitive__namespace.Content,
2464
2474
  {
2465
2475
  ref,
@@ -2553,7 +2563,7 @@ var sliderThumbVariants = classVarianceAuthority.cva(
2553
2563
  }
2554
2564
  }
2555
2565
  );
2556
- var Slider = React23__namespace.forwardRef(({
2566
+ var Slider = React12__namespace.forwardRef(({
2557
2567
  className,
2558
2568
  size,
2559
2569
  trackVariant,
@@ -2569,10 +2579,10 @@ var Slider = React23__namespace.forwardRef(({
2569
2579
  disabled,
2570
2580
  ...props
2571
2581
  }, ref) => {
2572
- const [sliderValue, setSliderValue] = React23__namespace.useState(
2582
+ const [sliderValue, setSliderValue] = React12__namespace.useState(
2573
2583
  value || defaultValue || [0]
2574
2584
  );
2575
- React23__namespace.useEffect(() => {
2585
+ React12__namespace.useEffect(() => {
2576
2586
  if (value !== void 0) {
2577
2587
  setSliderValue(value);
2578
2588
  }
@@ -2587,7 +2597,7 @@ var Slider = React23__namespace.forwardRef(({
2587
2597
  const calculateThumbPercent = (value2, min2, max2) => {
2588
2598
  return (value2 - min2) / (max2 - min2) * 100;
2589
2599
  };
2590
- const trackRef = React23__namespace.useRef(null);
2600
+ const trackRef = React12__namespace.useRef(null);
2591
2601
  const min = props.min || 0;
2592
2602
  const max = props.max || 100;
2593
2603
  const step = props.step || 1;
@@ -2899,14 +2909,14 @@ function ColorPicker({
2899
2909
  disabled,
2900
2910
  ...props
2901
2911
  }) {
2902
- const [open, setOpen] = React23__namespace.useState(false);
2903
- const [color, setColor] = React23__namespace.useState(value);
2904
- const [opacity, setOpacity] = React23__namespace.useState(100);
2905
- const [copied, setCopied] = React23__namespace.useState(false);
2906
- const [inputValue, setInputValue] = React23__namespace.useState(value);
2907
- const hsl = React23__namespace.useMemo(() => hexToHsl(color) || { h: 0, s: 0, l: 0 }, [color]);
2908
- const rgb = React23__namespace.useMemo(() => hexToRgb(color) || { r: 0, g: 0, b: 0 }, [color]);
2909
- React23__namespace.useEffect(() => {
2912
+ const [open, setOpen] = React12__namespace.useState(false);
2913
+ const [color, setColor] = React12__namespace.useState(value);
2914
+ const [opacity, setOpacity] = React12__namespace.useState(100);
2915
+ const [copied, setCopied] = React12__namespace.useState(false);
2916
+ const [inputValue, setInputValue] = React12__namespace.useState(value);
2917
+ const hsl = React12__namespace.useMemo(() => hexToHsl(color) || { h: 0, s: 0, l: 0 }, [color]);
2918
+ const rgb = React12__namespace.useMemo(() => hexToRgb(color) || { r: 0, g: 0, b: 0 }, [color]);
2919
+ React12__namespace.useEffect(() => {
2910
2920
  setColor(value);
2911
2921
  setInputValue(value);
2912
2922
  }, [value]);
@@ -3301,7 +3311,7 @@ function GradientPicker({
3301
3311
  onChange,
3302
3312
  className
3303
3313
  }) {
3304
- const [gradient, setGradient] = React23__namespace.useState(value);
3314
+ const [gradient, setGradient] = React12__namespace.useState(value);
3305
3315
  const handleChange = (field, newValue) => {
3306
3316
  const newGradient = { ...gradient, [field]: newValue };
3307
3317
  setGradient(newGradient);
@@ -3387,7 +3397,7 @@ var overlayVariants = classVarianceAuthority.cva(
3387
3397
  }
3388
3398
  }
3389
3399
  );
3390
- var DialogOverlay = React23__namespace.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3400
+ var DialogOverlay = React12__namespace.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3391
3401
  DialogPrimitive__namespace.Overlay,
3392
3402
  {
3393
3403
  ref,
@@ -3446,7 +3456,7 @@ var dialogContentVariants = classVarianceAuthority.cva(
3446
3456
  }
3447
3457
  }
3448
3458
  );
3449
- var DialogContent = React23__namespace.forwardRef(
3459
+ var DialogContent = React12__namespace.forwardRef(
3450
3460
  ({
3451
3461
  className,
3452
3462
  children,
@@ -3559,7 +3569,7 @@ var DialogFooter = ({
3559
3569
  }
3560
3570
  );
3561
3571
  DialogFooter.displayName = "DialogFooter";
3562
- var DialogTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3572
+ var DialogTitle = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3563
3573
  DialogPrimitive__namespace.Title,
3564
3574
  {
3565
3575
  ref,
@@ -3571,7 +3581,7 @@ var DialogTitle = React23__namespace.forwardRef(({ className, ...props }, ref) =
3571
3581
  }
3572
3582
  ));
3573
3583
  DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
3574
- var DialogDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3584
+ var DialogDescription = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3575
3585
  DialogPrimitive__namespace.Description,
3576
3586
  {
3577
3587
  ref,
@@ -3583,7 +3593,7 @@ var DialogDescription = React23__namespace.forwardRef(({ className, ...props },
3583
3593
  }
3584
3594
  ));
3585
3595
  DialogDescription.displayName = DialogPrimitive__namespace.Description.displayName;
3586
- var DialogForm = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3596
+ var DialogForm = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3587
3597
  "form",
3588
3598
  {
3589
3599
  ref,
@@ -3613,7 +3623,7 @@ var commandVariants = classVarianceAuthority.cva(
3613
3623
  }
3614
3624
  }
3615
3625
  );
3616
- var Command = React23__namespace.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3626
+ var Command = React12__namespace.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3617
3627
  cmdk.Command,
3618
3628
  {
3619
3629
  ref,
@@ -3635,7 +3645,7 @@ var CommandDialog = ({
3635
3645
  ), children })
3636
3646
  ] }) });
3637
3647
  };
3638
- var CommandInput = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3648
+ var CommandInput = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
3639
3649
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
3640
3650
  /* @__PURE__ */ jsxRuntime.jsx(
3641
3651
  cmdk.Command.Input,
@@ -3650,7 +3660,7 @@ var CommandInput = React23__namespace.forwardRef(({ className, ...props }, ref)
3650
3660
  )
3651
3661
  ] }));
3652
3662
  CommandInput.displayName = "CommandInput";
3653
- var CommandList = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3663
+ var CommandList = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3654
3664
  cmdk.Command.List,
3655
3665
  {
3656
3666
  ref,
@@ -3659,7 +3669,7 @@ var CommandList = React23__namespace.forwardRef(({ className, ...props }, ref) =
3659
3669
  }
3660
3670
  ));
3661
3671
  CommandList.displayName = "CommandList";
3662
- var CommandEmpty = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3672
+ var CommandEmpty = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3663
3673
  cmdk.Command.Empty,
3664
3674
  {
3665
3675
  ref,
@@ -3668,7 +3678,7 @@ var CommandEmpty = React23__namespace.forwardRef(({ className, ...props }, ref)
3668
3678
  }
3669
3679
  ));
3670
3680
  CommandEmpty.displayName = "CommandEmpty";
3671
- var CommandGroup = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3681
+ var CommandGroup = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3672
3682
  cmdk.Command.Group,
3673
3683
  {
3674
3684
  ref,
@@ -3680,16 +3690,17 @@ var CommandGroup = React23__namespace.forwardRef(({ className, ...props }, ref)
3680
3690
  }
3681
3691
  ));
3682
3692
  CommandGroup.displayName = "CommandGroup";
3683
- var CommandSeparator = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3693
+ var CommandSeparator = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3684
3694
  cmdk.Command.Separator,
3685
3695
  {
3686
3696
  ref,
3697
+ "aria-hidden": "true",
3687
3698
  className: cn("moonui-theme", "-mx-1 h-px bg-border", className),
3688
3699
  ...props
3689
3700
  }
3690
3701
  ));
3691
3702
  CommandSeparator.displayName = "CommandSeparator";
3692
- var CommandItem = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3703
+ var CommandItem = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3693
3704
  cmdk.Command.Item,
3694
3705
  {
3695
3706
  ref,
@@ -3717,7 +3728,7 @@ var CommandShortcut = ({
3717
3728
  );
3718
3729
  };
3719
3730
  CommandShortcut.displayName = "CommandShortcut";
3720
- var TableSortContext = React23__namespace.createContext(null);
3731
+ var TableSortContext = React12__namespace.createContext(null);
3721
3732
  function nextSortDirection(current) {
3722
3733
  if (current === "asc")
3723
3734
  return "desc";
@@ -3748,7 +3759,7 @@ var tableVariants = classVarianceAuthority.cva(
3748
3759
  }
3749
3760
  }
3750
3761
  );
3751
- var Table = React23__namespace.forwardRef(({
3762
+ var Table = React12__namespace.forwardRef(({
3752
3763
  className,
3753
3764
  variant,
3754
3765
  size,
@@ -3771,15 +3782,15 @@ var Table = React23__namespace.forwardRef(({
3771
3782
  ...props
3772
3783
  }, ref) => {
3773
3784
  const striped = variant === "striped";
3774
- const sortContextValue = React23__namespace.useMemo(
3785
+ const sortContextValue = React12__namespace.useMemo(
3775
3786
  () => ({ sortColumn, sortDirection, onSortChange }),
3776
3787
  [sortColumn, sortDirection, onSortChange]
3777
3788
  );
3778
- const childrenWithProps = React23__namespace.Children.map(props.children, (child) => {
3779
- if (React23__namespace.isValidElement(child)) {
3789
+ const childrenWithProps = React12__namespace.Children.map(props.children, (child) => {
3790
+ if (React12__namespace.isValidElement(child)) {
3780
3791
  if (child.type === "tbody") {
3781
3792
  const tbodyProps = child.props;
3782
- return React23__namespace.cloneElement(child, {
3793
+ return React12__namespace.cloneElement(child, {
3783
3794
  className: cn(tbodyProps.className, striped && "even:[&>tr]:bg-muted/50")
3784
3795
  });
3785
3796
  }
@@ -3804,10 +3815,10 @@ var Table = React23__namespace.forwardRef(({
3804
3815
  ] });
3805
3816
  });
3806
3817
  Table.displayName = "Table";
3807
- var TableHeader = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("moonui-theme", "[&_tr]:border-b", className), ...props }));
3818
+ var TableHeader = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("moonui-theme", "[&_tr]:border-b", className), ...props }));
3808
3819
  TableHeader.displayName = "TableHeader";
3809
- var TableBody = React23__namespace.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
3810
- const hasChildren = React23__namespace.Children.count(children) > 0;
3820
+ var TableBody = React12__namespace.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
3821
+ const hasChildren = React12__namespace.Children.count(children) > 0;
3811
3822
  return /* @__PURE__ */ jsxRuntime.jsx(
3812
3823
  "tbody",
3813
3824
  {
@@ -3819,7 +3830,7 @@ var TableBody = React23__namespace.forwardRef(({ className, emptyContent, emptyM
3819
3830
  );
3820
3831
  });
3821
3832
  TableBody.displayName = "TableBody";
3822
- var TableFooter = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3833
+ var TableFooter = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3823
3834
  "tfoot",
3824
3835
  {
3825
3836
  ref,
@@ -3828,7 +3839,7 @@ var TableFooter = React23__namespace.forwardRef(({ className, ...props }, ref) =
3828
3839
  }
3829
3840
  ));
3830
3841
  TableFooter.displayName = "TableFooter";
3831
- var TableRow = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3842
+ var TableRow = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3832
3843
  "tr",
3833
3844
  {
3834
3845
  ref,
@@ -3840,12 +3851,12 @@ var TableRow = React23__namespace.forwardRef(({ className, ...props }, ref) => /
3840
3851
  }
3841
3852
  ));
3842
3853
  TableRow.displayName = "TableRow";
3843
- var TableHead = React23__namespace.forwardRef(
3854
+ var TableHead = React12__namespace.forwardRef(
3844
3855
  ({ className, sortable, sorted, onSort, columnId, align = "left", children, ...props }, ref) => {
3845
- const sortCtx = React23__namespace.useContext(TableSortContext);
3856
+ const sortCtx = React12__namespace.useContext(TableSortContext);
3846
3857
  const ctxSorted = columnId && sortCtx && sortCtx.sortColumn === columnId ? sortCtx.sortDirection ?? null : null;
3847
3858
  const effectiveSorted = sorted !== void 0 ? sorted : ctxSorted;
3848
- const handleSort = React23__namespace.useCallback(() => {
3859
+ const handleSort = React12__namespace.useCallback(() => {
3849
3860
  if (onSort) {
3850
3861
  onSort();
3851
3862
  return;
@@ -3956,7 +3967,7 @@ var TableHead = React23__namespace.forwardRef(
3956
3967
  }
3957
3968
  );
3958
3969
  TableHead.displayName = "TableHead";
3959
- var TableCell = React23__namespace.forwardRef(({ className, align = "left", ...props }, ref) => {
3970
+ var TableCell = React12__namespace.forwardRef(({ className, align = "left", ...props }, ref) => {
3960
3971
  const alignmentClass = {
3961
3972
  left: "text-left",
3962
3973
  center: "text-center",
@@ -3972,7 +3983,7 @@ var TableCell = React23__namespace.forwardRef(({ className, align = "left", ...p
3972
3983
  );
3973
3984
  });
3974
3985
  TableCell.displayName = "TableCell";
3975
- var TableCaption = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3986
+ var TableCaption = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
3976
3987
  "caption",
3977
3988
  {
3978
3989
  ref,
@@ -3992,8 +4003,8 @@ function DataTableBasic({
3992
4003
  emptyMessage = "No results found.",
3993
4004
  className
3994
4005
  }) {
3995
- const [sorting, setSorting] = React23__namespace.useState([]);
3996
- const [globalFilter, setGlobalFilter] = React23__namespace.useState("");
4006
+ const [sorting, setSorting] = React12__namespace.useState([]);
4007
+ const [globalFilter, setGlobalFilter] = React12__namespace.useState("");
3997
4008
  const table = reactTable.useReactTable({
3998
4009
  data,
3999
4010
  columns,
@@ -4156,7 +4167,7 @@ var datePickerVariants = classVarianceAuthority.cva(
4156
4167
  }
4157
4168
  }
4158
4169
  );
4159
- var DatePicker = React23__namespace.forwardRef(function DatePicker2({
4170
+ var DatePicker = React12__namespace.forwardRef(function DatePicker2({
4160
4171
  className,
4161
4172
  variant,
4162
4173
  size,
@@ -4179,9 +4190,9 @@ var DatePicker = React23__namespace.forwardRef(function DatePicker2({
4179
4190
  disabled,
4180
4191
  ...props
4181
4192
  }, ref) {
4182
- const [open, setOpen] = React23__namespace.useState(false);
4183
- const [internalDate, setInternalDate] = React23__namespace.useState(value);
4184
- React23__namespace.useEffect(() => {
4193
+ const [open, setOpen] = React12__namespace.useState(false);
4194
+ const [internalDate, setInternalDate] = React12__namespace.useState(value);
4195
+ React12__namespace.useEffect(() => {
4185
4196
  setInternalDate(value);
4186
4197
  }, [value]);
4187
4198
  const handleSelect = (date) => {
@@ -4329,7 +4340,7 @@ var DatePicker = React23__namespace.forwardRef(function DatePicker2({
4329
4340
  ] }) });
4330
4341
  });
4331
4342
  DatePicker.displayName = "DatePicker";
4332
- var DateRangePicker = React23__namespace.forwardRef(function DateRangePicker2({
4343
+ var DateRangePicker = React12__namespace.forwardRef(function DateRangePicker2({
4333
4344
  className,
4334
4345
  value,
4335
4346
  onChange,
@@ -4338,9 +4349,9 @@ var DateRangePicker = React23__namespace.forwardRef(function DateRangePicker2({
4338
4349
  separator = " - ",
4339
4350
  ...props
4340
4351
  }, ref) {
4341
- const [open, setOpen] = React23__namespace.useState(false);
4342
- const [internalRange, setInternalRange] = React23__namespace.useState(value);
4343
- React23__namespace.useEffect(() => {
4352
+ const [open, setOpen] = React12__namespace.useState(false);
4353
+ const [internalRange, setInternalRange] = React12__namespace.useState(value);
4354
+ React12__namespace.useEffect(() => {
4344
4355
  setInternalRange(value);
4345
4356
  }, [value]);
4346
4357
  const handleSelect = (range) => {
@@ -4350,7 +4361,7 @@ var DateRangePicker = React23__namespace.forwardRef(function DateRangePicker2({
4350
4361
  setOpen(false);
4351
4362
  }
4352
4363
  };
4353
- const displayValue = React23__namespace.useMemo(() => {
4364
+ const displayValue = React12__namespace.useMemo(() => {
4354
4365
  if (!internalRange?.from)
4355
4366
  return null;
4356
4367
  if (!internalRange?.to) {
@@ -4398,7 +4409,7 @@ var DateRangePicker = React23__namespace.forwardRef(function DateRangePicker2({
4398
4409
  ] });
4399
4410
  });
4400
4411
  DateRangePicker.displayName = "DateRangePicker";
4401
- var DateTimePicker = React23__namespace.forwardRef(function DateTimePicker2({
4412
+ var DateTimePicker = React12__namespace.forwardRef(function DateTimePicker2({
4402
4413
  value,
4403
4414
  onChange,
4404
4415
  // Saat ayrı bir <select> ile gösterildiği için buton yalnızca TARİHİ yazar;
@@ -4410,8 +4421,8 @@ var DateTimePicker = React23__namespace.forwardRef(function DateTimePicker2({
4410
4421
  timeInterval = 15,
4411
4422
  ...props
4412
4423
  }, ref) {
4413
- const [date, setDate] = React23__namespace.useState(value);
4414
- const [time, setTime] = React23__namespace.useState(
4424
+ const [date, setDate] = React12__namespace.useState(value);
4425
+ const [time, setTime] = React12__namespace.useState(
4415
4426
  value ? dateFns.format(value, timeFormat === "24" ? "HH:mm" : "hh:mm a") : "00:00"
4416
4427
  );
4417
4428
  const handleDateChange = (newDate) => {
@@ -4436,7 +4447,7 @@ var DateTimePicker = React23__namespace.forwardRef(function DateTimePicker2({
4436
4447
  onChange?.(newDate);
4437
4448
  }
4438
4449
  };
4439
- const timeOptions = React23__namespace.useMemo(() => {
4450
+ const timeOptions = React12__namespace.useMemo(() => {
4440
4451
  const options = [];
4441
4452
  for (let h = 0; h < 24; h++) {
4442
4453
  for (let m = 0; m < 60; m += timeInterval) {
@@ -4490,15 +4501,15 @@ var DateTimePicker = React23__namespace.forwardRef(function DateTimePicker2({
4490
4501
  ] });
4491
4502
  });
4492
4503
  DateTimePicker.displayName = "DateTimePicker";
4493
- var MonthPicker = React23__namespace.forwardRef(function MonthPicker2({
4504
+ var MonthPicker = React12__namespace.forwardRef(function MonthPicker2({
4494
4505
  value,
4495
4506
  onChange,
4496
4507
  placeholder = "Pick a month",
4497
4508
  formatString = "MMMM yyyy",
4498
4509
  ...props
4499
4510
  }, ref) {
4500
- const [open, setOpen] = React23__namespace.useState(false);
4501
- const [viewDate, setViewDate] = React23__namespace.useState(value || /* @__PURE__ */ new Date());
4511
+ const [open, setOpen] = React12__namespace.useState(false);
4512
+ const [viewDate, setViewDate] = React12__namespace.useState(value || /* @__PURE__ */ new Date());
4502
4513
  const months = [
4503
4514
  "January",
4504
4515
  "February",
@@ -4594,7 +4605,7 @@ function DraggableList({
4594
4605
  className,
4595
4606
  disabled = false
4596
4607
  }) {
4597
- const [draggedIndex, setDraggedIndex] = React23__namespace.useState(null);
4608
+ const [draggedIndex, setDraggedIndex] = React12__namespace.useState(null);
4598
4609
  const handleDragStart = (e, index) => {
4599
4610
  if (disabled)
4600
4611
  return;
@@ -4646,7 +4657,7 @@ var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
4646
4657
  var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
4647
4658
  var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
4648
4659
  var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
4649
- var DropdownMenuSubTrigger = React23__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
4660
+ var DropdownMenuSubTrigger = React12__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
4650
4661
  DropdownMenuPrimitive__namespace.SubTrigger,
4651
4662
  {
4652
4663
  ref,
@@ -4663,7 +4674,7 @@ var DropdownMenuSubTrigger = React23__namespace.forwardRef(({ className, inset,
4663
4674
  }
4664
4675
  ));
4665
4676
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
4666
- var DropdownMenuSubContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4677
+ var DropdownMenuSubContent = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4667
4678
  DropdownMenuPrimitive__namespace.SubContent,
4668
4679
  {
4669
4680
  ref,
@@ -4675,7 +4686,7 @@ var DropdownMenuSubContent = React23__namespace.forwardRef(({ className, ...prop
4675
4686
  }
4676
4687
  ));
4677
4688
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
4678
- var DropdownMenuContent = React23__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
4689
+ var DropdownMenuContent = React12__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
4679
4690
  DropdownMenuPrimitive__namespace.Content,
4680
4691
  {
4681
4692
  ref,
@@ -4688,7 +4699,7 @@ var DropdownMenuContent = React23__namespace.forwardRef(({ className, sideOffset
4688
4699
  }
4689
4700
  ) }));
4690
4701
  DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
4691
- var DropdownMenuItem = React23__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4702
+ var DropdownMenuItem = React12__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4692
4703
  DropdownMenuPrimitive__namespace.Item,
4693
4704
  {
4694
4705
  ref,
@@ -4701,7 +4712,7 @@ var DropdownMenuItem = React23__namespace.forwardRef(({ className, inset, ...pro
4701
4712
  }
4702
4713
  ));
4703
4714
  DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
4704
- var DropdownMenuCheckboxItem = React23__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
4715
+ var DropdownMenuCheckboxItem = React12__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
4705
4716
  DropdownMenuPrimitive__namespace.CheckboxItem,
4706
4717
  {
4707
4718
  ref,
@@ -4718,7 +4729,7 @@ var DropdownMenuCheckboxItem = React23__namespace.forwardRef(({ className, child
4718
4729
  }
4719
4730
  ));
4720
4731
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
4721
- var DropdownMenuRadioItem = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
4732
+ var DropdownMenuRadioItem = React12__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
4722
4733
  DropdownMenuPrimitive__namespace.RadioItem,
4723
4734
  {
4724
4735
  ref,
@@ -4734,7 +4745,7 @@ var DropdownMenuRadioItem = React23__namespace.forwardRef(({ className, children
4734
4745
  }
4735
4746
  ));
4736
4747
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
4737
- var DropdownMenuLabel = React23__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4748
+ var DropdownMenuLabel = React12__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4738
4749
  DropdownMenuPrimitive__namespace.Label,
4739
4750
  {
4740
4751
  ref,
@@ -4747,7 +4758,7 @@ var DropdownMenuLabel = React23__namespace.forwardRef(({ className, inset, ...pr
4747
4758
  }
4748
4759
  ));
4749
4760
  DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
4750
- var DropdownMenuSeparator = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4761
+ var DropdownMenuSeparator = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
4751
4762
  DropdownMenuPrimitive__namespace.Separator,
4752
4763
  {
4753
4764
  ref,
@@ -4836,7 +4847,7 @@ var progressIndicatorVariants = classVarianceAuthority.cva(
4836
4847
  }
4837
4848
  }
4838
4849
  );
4839
- var Progress = React23__namespace.forwardRef(({
4850
+ var Progress = React12__namespace.forwardRef(({
4840
4851
  className,
4841
4852
  value = 0,
4842
4853
  variant,
@@ -4966,7 +4977,7 @@ var FileItem = ({
4966
4977
  }
4967
4978
  );
4968
4979
  };
4969
- var FileUpload = React23__namespace.default.forwardRef(
4980
+ var FileUpload = React12__namespace.default.forwardRef(
4970
4981
  ({
4971
4982
  accept = "*",
4972
4983
  multiple = true,
@@ -4980,9 +4991,9 @@ var FileUpload = React23__namespace.default.forwardRef(
4980
4991
  children,
4981
4992
  ...props
4982
4993
  }, ref) => {
4983
- const [uploadedFiles, setUploadedFiles] = React23.useState([]);
4984
- const [isDragOver, setIsDragOver] = React23.useState(false);
4985
- const [error, setError] = React23.useState(null);
4994
+ const [uploadedFiles, setUploadedFiles] = React12.useState([]);
4995
+ const [isDragOver, setIsDragOver] = React12.useState(false);
4996
+ const [error, setError] = React12.useState(null);
4986
4997
  const validateFile = (file) => {
4987
4998
  if (file.size > maxSize) {
4988
4999
  return `File size exceeds ${formatFileSize(maxSize)}`;
@@ -4998,7 +5009,7 @@ var FileUpload = React23__namespace.default.forwardRef(
4998
5009
  }
4999
5010
  return null;
5000
5011
  };
5001
- const processFiles = React23.useCallback(async (files) => {
5012
+ const processFiles = React12.useCallback(async (files) => {
5002
5013
  const fileArray = Array.from(files);
5003
5014
  setError(null);
5004
5015
  if (uploadedFiles.length + fileArray.length > maxFiles) {
@@ -5061,7 +5072,7 @@ var FileUpload = React23__namespace.default.forwardRef(
5061
5072
  }
5062
5073
  }
5063
5074
  }, [uploadedFiles.length, maxFiles, maxSize, accept, onUpload]);
5064
- const handleDrop = React23.useCallback((e) => {
5075
+ const handleDrop = React12.useCallback((e) => {
5065
5076
  e.preventDefault();
5066
5077
  setIsDragOver(false);
5067
5078
  if (disabled)
@@ -5071,24 +5082,24 @@ var FileUpload = React23__namespace.default.forwardRef(
5071
5082
  processFiles(files);
5072
5083
  }
5073
5084
  }, [processFiles, disabled]);
5074
- const handleDragOver = React23.useCallback((e) => {
5085
+ const handleDragOver = React12.useCallback((e) => {
5075
5086
  e.preventDefault();
5076
5087
  if (!disabled) {
5077
5088
  setIsDragOver(true);
5078
5089
  }
5079
5090
  }, [disabled]);
5080
- const handleDragLeave = React23.useCallback((e) => {
5091
+ const handleDragLeave = React12.useCallback((e) => {
5081
5092
  e.preventDefault();
5082
5093
  setIsDragOver(false);
5083
5094
  }, []);
5084
- const handleFileSelect = React23.useCallback((e) => {
5095
+ const handleFileSelect = React12.useCallback((e) => {
5085
5096
  const files = e.target.files;
5086
5097
  if (files && files.length > 0) {
5087
5098
  processFiles(files);
5088
5099
  }
5089
5100
  e.target.value = "";
5090
5101
  }, [processFiles]);
5091
- const removeFile = React23.useCallback((fileId) => {
5102
+ const removeFile = React12.useCallback((fileId) => {
5092
5103
  setUploadedFiles((prev) => {
5093
5104
  const fileToRemove = prev.find((f) => f.id === fileId);
5094
5105
  if (fileToRemove?.preview) {
@@ -5189,7 +5200,7 @@ var FileUpload = React23__namespace.default.forwardRef(
5189
5200
  }
5190
5201
  );
5191
5202
  FileUpload.displayName = "FileUpload";
5192
- var GestureDrawer = React23__namespace.default.forwardRef(
5203
+ var GestureDrawer = React12__namespace.default.forwardRef(
5193
5204
  ({
5194
5205
  children,
5195
5206
  isOpen,
@@ -5311,9 +5322,9 @@ function GitHubStars({
5311
5322
  showWatchers = false,
5312
5323
  repoUrl = "https://github.com/moonui/moonui"
5313
5324
  }) {
5314
- const [stats, setStats] = React23.useState(null);
5315
- const [isLoading, setIsLoading] = React23.useState(true);
5316
- React23.useEffect(() => {
5325
+ const [stats, setStats] = React12.useState(null);
5326
+ const [isLoading, setIsLoading] = React12.useState(true);
5327
+ React12.useEffect(() => {
5317
5328
  const fetchStats = async () => {
5318
5329
  try {
5319
5330
  const response = await fetch("/api/github-stars");
@@ -5412,9 +5423,9 @@ function GitHubStarButton({
5412
5423
  size = "md",
5413
5424
  repoUrl = "https://github.com/moonui/moonui"
5414
5425
  }) {
5415
- const [stars, setStars] = React23.useState(null);
5416
- const [isLoading, setIsLoading] = React23.useState(true);
5417
- React23.useEffect(() => {
5426
+ const [stars, setStars] = React12.useState(null);
5427
+ const [isLoading, setIsLoading] = React12.useState(true);
5428
+ React12.useEffect(() => {
5418
5429
  const fetchStats = async () => {
5419
5430
  try {
5420
5431
  const response = await fetch("/api/github-stars");
@@ -5460,7 +5471,7 @@ function GitHubStarButton({
5460
5471
  }
5461
5472
  );
5462
5473
  }
5463
- var InputOTP = React23__namespace.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5474
+ var InputOTP = React12__namespace.forwardRef(({ className, containerClassName, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5464
5475
  inputOtp.OTPInput,
5465
5476
  {
5466
5477
  ref,
@@ -5475,7 +5486,7 @@ var InputOTP = React23__namespace.forwardRef(({ className, containerClassName, .
5475
5486
  }
5476
5487
  ));
5477
5488
  InputOTP.displayName = "InputOTP";
5478
- var InputOTPGroup = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("flex items-center", className), ...props }));
5489
+ var InputOTPGroup = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("flex items-center", className), ...props }));
5479
5490
  InputOTPGroup.displayName = "InputOTPGroup";
5480
5491
  var inputOTPSlotVariants = classVarianceAuthority.cva(
5481
5492
  [
@@ -5497,9 +5508,9 @@ var inputOTPSlotVariants = classVarianceAuthority.cva(
5497
5508
  }
5498
5509
  }
5499
5510
  );
5500
- var InputOTPSlot = React23__namespace.forwardRef(
5511
+ var InputOTPSlot = React12__namespace.forwardRef(
5501
5512
  ({ index, className, ...props }, ref) => {
5502
- const inputOTPContext = React23__namespace.useContext(inputOtp.OTPInputContext);
5513
+ const inputOTPContext = React12__namespace.useContext(inputOtp.OTPInputContext);
5503
5514
  const slot = inputOTPContext?.slots?.[index];
5504
5515
  const char = slot?.char;
5505
5516
  const hasFakeCaret = slot?.hasFakeCaret;
@@ -5521,7 +5532,7 @@ var InputOTPSlot = React23__namespace.forwardRef(
5521
5532
  }
5522
5533
  );
5523
5534
  InputOTPSlot.displayName = "InputOTPSlot";
5524
- var InputOTPSeparator = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5535
+ var InputOTPSeparator = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5525
5536
  "div",
5526
5537
  {
5527
5538
  ref,
@@ -5539,8 +5550,8 @@ function LockedComponent({
5539
5550
  showPreview = true,
5540
5551
  previewDuration = 2e3
5541
5552
  }) {
5542
- const [isPreviewActive, setIsPreviewActive] = React23.useState(false);
5543
- const [previewTimeout, setPreviewTimeout] = React23.useState(null);
5553
+ const [isPreviewActive, setIsPreviewActive] = React12.useState(false);
5554
+ const [previewTimeout, setPreviewTimeout] = React12.useState(null);
5544
5555
  const handleMouseEnter = () => {
5545
5556
  if (!showPreview)
5546
5557
  return;
@@ -5637,13 +5648,13 @@ function ProComponentWrapper({
5637
5648
  fallback,
5638
5649
  requireCLI = true
5639
5650
  }) {
5640
- const [authState, setAuthState] = React23.useState({
5651
+ const [authState, setAuthState] = React12.useState({
5641
5652
  isAuthenticated: false,
5642
5653
  deviceValid: false,
5643
5654
  hasProAccess: false,
5644
5655
  loading: true
5645
5656
  });
5646
- React23.useEffect(() => {
5657
+ React12.useEffect(() => {
5647
5658
  const isDevelopment2 = () => {
5648
5659
  const checks = {
5649
5660
  nodeEnv: process.env.NODE_ENV === "development",
@@ -5820,7 +5831,7 @@ function MoonLogo({
5820
5831
  showText = true,
5821
5832
  ...props
5822
5833
  }) {
5823
- const logoId = React23__namespace.useId();
5834
+ const logoId = React12__namespace.useId();
5824
5835
  const gradientId = `moon-gradient-${logoId}`;
5825
5836
  const maskId = `moon-mask-${logoId}`;
5826
5837
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-2", className), children: [
@@ -5892,7 +5903,7 @@ function MoonLogoAnimated({
5892
5903
  }
5893
5904
  );
5894
5905
  }
5895
- var Pagination = React23__namespace.forwardRef(
5906
+ var Pagination = React12__namespace.forwardRef(
5896
5907
  ({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5897
5908
  "nav",
5898
5909
  {
@@ -5905,7 +5916,7 @@ var Pagination = React23__namespace.forwardRef(
5905
5916
  )
5906
5917
  );
5907
5918
  Pagination.displayName = "Pagination";
5908
- var PaginationContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5919
+ var PaginationContent = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5909
5920
  "ul",
5910
5921
  {
5911
5922
  ref,
@@ -5914,9 +5925,9 @@ var PaginationContent = React23__namespace.forwardRef(({ className, ...props },
5914
5925
  }
5915
5926
  ));
5916
5927
  PaginationContent.displayName = "PaginationContent";
5917
- var PaginationItem = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: cn("moonui-theme", "", className), ...props }));
5928
+ var PaginationItem = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: cn("moonui-theme", "", className), ...props }));
5918
5929
  PaginationItem.displayName = "PaginationItem";
5919
- var PaginationLink = React23__namespace.forwardRef(
5930
+ var PaginationLink = React12__namespace.forwardRef(
5920
5931
  ({ className, isActive, size = "icon", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
5921
5932
  "a",
5922
5933
  {
@@ -5935,7 +5946,7 @@ var PaginationLink = React23__namespace.forwardRef(
5935
5946
  );
5936
5947
  PaginationLink.displayName = "PaginationLink";
5937
5948
  var paginationLabelClass = "hidden sm:inline";
5938
- var PaginationPrevious = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
5949
+ var PaginationPrevious = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
5939
5950
  PaginationLink,
5940
5951
  {
5941
5952
  ref,
@@ -5950,7 +5961,7 @@ var PaginationPrevious = React23__namespace.forwardRef(({ className, ...props },
5950
5961
  }
5951
5962
  ));
5952
5963
  PaginationPrevious.displayName = "PaginationPrevious";
5953
- var PaginationNext = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
5964
+ var PaginationNext = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
5954
5965
  PaginationLink,
5955
5966
  {
5956
5967
  ref,
@@ -5965,7 +5976,7 @@ var PaginationNext = React23__namespace.forwardRef(({ className, ...props }, ref
5965
5976
  }
5966
5977
  ));
5967
5978
  PaginationNext.displayName = "PaginationNext";
5968
- var PaginationEllipsis = React23__namespace.forwardRef(({ className, ...props }, ref) => (
5979
+ var PaginationEllipsis = React12__namespace.forwardRef(({ className, ...props }, ref) => (
5969
5980
  // #315: `aria-hidden` ESKİDEN BU ELEMANDAYDI → içindeki `sr-only` "More pages" metni
5970
5981
  // erişilebilirlik ağacından düşüyor, hiç duyurulmuyordu. Gizleme artık yalnız dekoratif
5971
5982
  // ikonda. (breadcrumb.tsx'te birebir aynı çakışma vardı — aynı PR'da düzeltildi.)
@@ -6019,7 +6030,7 @@ var selectTriggerVariants = classVarianceAuthority.cva(
6019
6030
  }
6020
6031
  }
6021
6032
  );
6022
- var SelectTrigger = React23__namespace.forwardRef(({ className, children, variant, size, error, success, loading, leftIcon, rightIcon, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6033
+ var SelectTrigger = React12__namespace.forwardRef(({ className, children, variant, size, error, success, loading, leftIcon, rightIcon, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6023
6034
  SelectPrimitive__namespace.Trigger,
6024
6035
  {
6025
6036
  ref,
@@ -6050,7 +6061,7 @@ var SelectTrigger = React23__namespace.forwardRef(({ className, children, varian
6050
6061
  }
6051
6062
  ));
6052
6063
  SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
6053
- var SelectScrollUpButton = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6064
+ var SelectScrollUpButton = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6054
6065
  SelectPrimitive__namespace.ScrollUpButton,
6055
6066
  {
6056
6067
  ref,
@@ -6063,7 +6074,7 @@ var SelectScrollUpButton = React23__namespace.forwardRef(({ className, ...props
6063
6074
  }
6064
6075
  ));
6065
6076
  SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
6066
- var SelectScrollDownButton = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6077
+ var SelectScrollDownButton = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6067
6078
  SelectPrimitive__namespace.ScrollDownButton,
6068
6079
  {
6069
6080
  ref,
@@ -6076,7 +6087,7 @@ var SelectScrollDownButton = React23__namespace.forwardRef(({ className, ...prop
6076
6087
  }
6077
6088
  ));
6078
6089
  SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
6079
- var SelectContent = React23__namespace.forwardRef(({ className, children, position = "popper", side = "bottom", sideOffset = 4, align = "start", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
6090
+ var SelectContent = React12__namespace.forwardRef(({ className, children, position = "popper", side = "bottom", sideOffset = 4, align = "start", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Portal, { children: /* @__PURE__ */ jsxRuntime.jsxs(
6080
6091
  SelectPrimitive__namespace.Content,
6081
6092
  {
6082
6093
  ref,
@@ -6117,7 +6128,7 @@ var SelectContent = React23__namespace.forwardRef(({ className, children, positi
6117
6128
  }
6118
6129
  ) }));
6119
6130
  SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
6120
- var SelectLabel = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6131
+ var SelectLabel = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6121
6132
  SelectPrimitive__namespace.Label,
6122
6133
  {
6123
6134
  ref,
@@ -6126,7 +6137,7 @@ var SelectLabel = React23__namespace.forwardRef(({ className, ...props }, ref) =
6126
6137
  }
6127
6138
  ));
6128
6139
  SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
6129
- var SelectItem = React23__namespace.forwardRef(({ className, children, variant = "default", size = "md", rightIcon, customIndicator, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6140
+ var SelectItem = React12__namespace.forwardRef(({ className, children, variant = "default", size = "md", rightIcon, customIndicator, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6130
6141
  SelectPrimitive__namespace.Item,
6131
6142
  {
6132
6143
  ref,
@@ -6156,7 +6167,7 @@ var SelectItem = React23__namespace.forwardRef(({ className, children, variant =
6156
6167
  }
6157
6168
  ));
6158
6169
  SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
6159
- var SelectSeparator = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6170
+ var SelectSeparator = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6160
6171
  SelectPrimitive__namespace.Separator,
6161
6172
  {
6162
6173
  ref,
@@ -6238,7 +6249,7 @@ var getMaxLength = (countryCode) => {
6238
6249
  return 15;
6239
6250
  }
6240
6251
  };
6241
- var PhoneInput = React23__namespace.forwardRef(
6252
+ var PhoneInput = React12__namespace.forwardRef(
6242
6253
  ({
6243
6254
  className,
6244
6255
  value = "",
@@ -6250,8 +6261,8 @@ var PhoneInput = React23__namespace.forwardRef(
6250
6261
  size,
6251
6262
  ...props
6252
6263
  }, ref) => {
6253
- const [countryCode, setCountryCode] = React23__namespace.useState(defaultCountry);
6254
- const [phoneNumber, setPhoneNumber] = React23__namespace.useState(value);
6264
+ const [countryCode, setCountryCode] = React12__namespace.useState(defaultCountry);
6265
+ const [phoneNumber, setPhoneNumber] = React12__namespace.useState(value);
6255
6266
  const selectedCountry = countries.find((c) => c.code === countryCode) || countries[0];
6256
6267
  const handlePhoneChange = (e) => {
6257
6268
  const rawValue = e.target.value.replace(/\D/g, "");
@@ -6322,15 +6333,15 @@ var radioGroupItemVariants = classVarianceAuthority.cva(
6322
6333
  }
6323
6334
  }
6324
6335
  );
6325
- var RadioGroupContext = React23__namespace.createContext({});
6326
- var RadioGroup2 = React23__namespace.forwardRef(
6336
+ var RadioGroupContext = React12__namespace.createContext({});
6337
+ var RadioGroup2 = React12__namespace.forwardRef(
6327
6338
  ({ className, value, defaultValue, onValueChange, disabled, name, ...props }, ref) => {
6328
- const [internalValue, setInternalValue] = React23__namespace.useState(
6339
+ const [internalValue, setInternalValue] = React12__namespace.useState(
6329
6340
  defaultValue
6330
6341
  );
6331
6342
  const isControlled = value !== void 0;
6332
6343
  const currentValue = isControlled ? value : internalValue;
6333
- const handleValueChange = React23__namespace.useCallback(
6344
+ const handleValueChange = React12__namespace.useCallback(
6334
6345
  (next) => {
6335
6346
  if (!isControlled) {
6336
6347
  setInternalValue(next);
@@ -6362,9 +6373,9 @@ var RadioGroup2 = React23__namespace.forwardRef(
6362
6373
  }
6363
6374
  );
6364
6375
  RadioGroup2.displayName = "RadioGroup";
6365
- var RadioGroupItem = React23__namespace.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
6366
- const radioGroup = React23__namespace.useContext(RadioGroupContext);
6367
- const generatedId = React23__namespace.useId();
6376
+ var RadioGroupItem = React12__namespace.forwardRef(({ className, variant, size, indicator, id, value, disabled, ...props }, ref) => {
6377
+ const radioGroup = React12__namespace.useContext(RadioGroupContext);
6378
+ const generatedId = React12__namespace.useId();
6368
6379
  const radioId = id || generatedId;
6369
6380
  const isChecked = radioGroup.value === value;
6370
6381
  const handleChange = (e) => {
@@ -6417,7 +6428,7 @@ var RadioGroupItem = React23__namespace.forwardRef(({ className, variant, size,
6417
6428
  ] });
6418
6429
  });
6419
6430
  RadioGroupItem.displayName = "RadioGroupItem";
6420
- var RadioLabel = React23__namespace.forwardRef(
6431
+ var RadioLabel = React12__namespace.forwardRef(
6421
6432
  ({ className, htmlFor, children, disabled = false, ...props }, ref) => {
6422
6433
  return /* @__PURE__ */ jsxRuntime.jsx(
6423
6434
  "label",
@@ -6436,13 +6447,13 @@ var RadioLabel = React23__namespace.forwardRef(
6436
6447
  }
6437
6448
  );
6438
6449
  RadioLabel.displayName = "RadioLabel";
6439
- var RadioItemWithLabel = React23__namespace.forwardRef(({
6450
+ var RadioItemWithLabel = React12__namespace.forwardRef(({
6440
6451
  id,
6441
6452
  label,
6442
6453
  labelClassName,
6443
6454
  ...radioProps
6444
6455
  }, ref) => {
6445
- const generatedId = React23__namespace.useId();
6456
+ const generatedId = React12__namespace.useId();
6446
6457
  const radioId = id || generatedId;
6447
6458
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center", children: [
6448
6459
  /* @__PURE__ */ jsxRuntime.jsx(RadioGroupItem, { ref, id: radioId, ...radioProps }),
@@ -6519,21 +6530,28 @@ function RichTextEditor({
6519
6530
  )
6520
6531
  ] });
6521
6532
  }
6522
- var ScrollArea = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6533
+ var ScrollArea = React12__namespace.forwardRef(({ className, children, focusable = true, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6523
6534
  ScrollAreaPrimitive__namespace.Root,
6524
6535
  {
6525
6536
  ref,
6526
6537
  className: cn("relative overflow-hidden", className),
6527
6538
  ...props,
6528
6539
  children: [
6529
- /* @__PURE__ */ jsxRuntime.jsx(ScrollAreaPrimitive__namespace.Viewport, { className: "h-full w-full rounded-[inherit]", children }),
6540
+ /* @__PURE__ */ jsxRuntime.jsx(
6541
+ ScrollAreaPrimitive__namespace.Viewport,
6542
+ {
6543
+ tabIndex: focusable ? 0 : void 0,
6544
+ className: "h-full w-full rounded-[inherit]",
6545
+ children
6546
+ }
6547
+ ),
6530
6548
  /* @__PURE__ */ jsxRuntime.jsx(ScrollBar, {}),
6531
6549
  /* @__PURE__ */ jsxRuntime.jsx(ScrollAreaPrimitive__namespace.Corner, {})
6532
6550
  ]
6533
6551
  }
6534
6552
  ));
6535
6553
  ScrollArea.displayName = ScrollAreaPrimitive__namespace.Root.displayName;
6536
- var ScrollBar = React23__namespace.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6554
+ var ScrollBar = React12__namespace.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6537
6555
  ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
6538
6556
  {
6539
6557
  ref,
@@ -6587,7 +6605,7 @@ var defaultTransition = {
6587
6605
  ease: [0.25, 0.46, 0.45, 0.94]
6588
6606
  // Custom cubic-bezier for smooth motion
6589
6607
  };
6590
- var ScrollReveal = React23__namespace.forwardRef(
6608
+ var ScrollReveal = React12__namespace.forwardRef(
6591
6609
  ({
6592
6610
  children,
6593
6611
  direction = "up",
@@ -6608,17 +6626,17 @@ var ScrollReveal = React23__namespace.forwardRef(
6608
6626
  viewport
6609
6627
  }, ref) => {
6610
6628
  const shouldTriggerOnce = triggerOnce !== void 0 ? triggerOnce : once;
6611
- const animationVariants = React23__namespace.useMemo(() => {
6629
+ const animationVariants = React12__namespace.useMemo(() => {
6612
6630
  if (variants)
6613
6631
  return variants;
6614
6632
  return createDefaultVariants(direction, distance);
6615
6633
  }, [direction, distance, variants]);
6616
- const transition = React23__namespace.useMemo(() => ({
6634
+ const transition = React12__namespace.useMemo(() => ({
6617
6635
  ...defaultTransition,
6618
6636
  duration,
6619
6637
  delay: delay + stagger
6620
6638
  }), [duration, delay, stagger]);
6621
- const viewportConfig = React23__namespace.useMemo(() => ({
6639
+ const viewportConfig = React12__namespace.useMemo(() => ({
6622
6640
  once: shouldTriggerOnce,
6623
6641
  amount: threshold,
6624
6642
  ...viewport
@@ -6653,7 +6671,7 @@ var ScrollReveal = React23__namespace.forwardRef(
6653
6671
  }
6654
6672
  );
6655
6673
  ScrollReveal.displayName = "ScrollReveal";
6656
- var ScrollRevealContainer = React23__namespace.forwardRef(
6674
+ var ScrollRevealContainer = React12__namespace.forwardRef(
6657
6675
  ({
6658
6676
  children,
6659
6677
  stagger = 0.1,
@@ -6666,7 +6684,7 @@ var ScrollRevealContainer = React23__namespace.forwardRef(
6666
6684
  viewport
6667
6685
  }, ref) => {
6668
6686
  const shouldTriggerOnce = triggerOnce !== void 0 ? triggerOnce : once;
6669
- const viewportConfig = React23__namespace.useMemo(() => ({
6687
+ const viewportConfig = React12__namespace.useMemo(() => ({
6670
6688
  once: shouldTriggerOnce,
6671
6689
  amount: threshold,
6672
6690
  ...viewport
@@ -6697,7 +6715,7 @@ var ScrollRevealContainer = React23__namespace.forwardRef(
6697
6715
  }
6698
6716
  );
6699
6717
  ScrollRevealContainer.displayName = "ScrollRevealContainer";
6700
- var ScrollRevealItem = React23__namespace.forwardRef(
6718
+ var ScrollRevealItem = React12__namespace.forwardRef(
6701
6719
  ({
6702
6720
  children,
6703
6721
  direction = "up",
@@ -6708,12 +6726,12 @@ var ScrollRevealItem = React23__namespace.forwardRef(
6708
6726
  style,
6709
6727
  id
6710
6728
  }, ref) => {
6711
- const animationVariants = React23__namespace.useMemo(() => {
6729
+ const animationVariants = React12__namespace.useMemo(() => {
6712
6730
  if (variants)
6713
6731
  return variants;
6714
6732
  return createDefaultVariants(direction, distance);
6715
6733
  }, [direction, distance, variants]);
6716
- const transition = React23__namespace.useMemo(() => ({
6734
+ const transition = React12__namespace.useMemo(() => ({
6717
6735
  ...defaultTransition,
6718
6736
  duration
6719
6737
  }), [duration]);
@@ -6829,7 +6847,7 @@ var separatorVariants = classVarianceAuthority.cva(
6829
6847
  }
6830
6848
  }
6831
6849
  );
6832
- var Separator3 = React23__namespace.forwardRef(
6850
+ var Separator3 = React12__namespace.forwardRef(
6833
6851
  ({
6834
6852
  className,
6835
6853
  orientation = "horizontal",
@@ -6872,7 +6890,7 @@ var toggleVariants = classVarianceAuthority.cva(
6872
6890
  }
6873
6891
  }
6874
6892
  );
6875
- var Toggle = React23__namespace.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6893
+ var Toggle = React12__namespace.forwardRef(({ className, variant, size, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6876
6894
  TogglePrimitive__namespace.Root,
6877
6895
  {
6878
6896
  ref,
@@ -6908,7 +6926,7 @@ var tooltipVariants = classVarianceAuthority.cva(
6908
6926
  );
6909
6927
  var Tooltip = TooltipPrimitive__namespace.Root;
6910
6928
  var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
6911
- var TooltipArrow = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6929
+ var TooltipArrow = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
6912
6930
  TooltipPrimitive__namespace.Arrow,
6913
6931
  {
6914
6932
  ref,
@@ -6917,7 +6935,7 @@ var TooltipArrow = React23__namespace.forwardRef(({ className, ...props }, ref)
6917
6935
  }
6918
6936
  ));
6919
6937
  TooltipArrow.displayName = TooltipPrimitive__namespace.Arrow.displayName;
6920
- var TooltipContent = React23__namespace.forwardRef(({ className, variant, size, showArrow = false, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6938
+ var TooltipContent = React12__namespace.forwardRef(({ className, variant, size, showArrow = false, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
6921
6939
  TooltipPrimitive__namespace.Content,
6922
6940
  {
6923
6941
  ref,
@@ -6931,7 +6949,7 @@ var TooltipContent = React23__namespace.forwardRef(({ className, variant, size,
6931
6949
  }
6932
6950
  ));
6933
6951
  TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
6934
- var SimpleTooltip = React23__namespace.forwardRef(
6952
+ var SimpleTooltip = React12__namespace.forwardRef(
6935
6953
  ({
6936
6954
  children,
6937
6955
  content,
@@ -7019,7 +7037,7 @@ var ColorPicker2 = ({ onColorSelect }) => {
7019
7037
  color
7020
7038
  )) });
7021
7039
  };
7022
- var SimpleEditor = React23__namespace.default.forwardRef(
7040
+ var SimpleEditor = React12__namespace.default.forwardRef(
7023
7041
  ({
7024
7042
  value = "",
7025
7043
  onChange,
@@ -7032,13 +7050,13 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7032
7050
  showPreview = true,
7033
7051
  ...props
7034
7052
  }, ref) => {
7035
- const [content, setContent] = React23.useState(value);
7036
- const [isPreview, setIsPreview] = React23.useState(false);
7037
- const [sourceContent, setSourceContent] = React23.useState(value);
7038
- React23.useState(null);
7039
- const editorRef = React23__namespace.default.useRef(null);
7040
- const sourceRef = React23__namespace.default.useRef(null);
7041
- const [formatState, setFormatState] = React23.useState({
7053
+ const [content, setContent] = React12.useState(value);
7054
+ const [isPreview, setIsPreview] = React12.useState(false);
7055
+ const [sourceContent, setSourceContent] = React12.useState(value);
7056
+ React12.useState(null);
7057
+ const editorRef = React12__namespace.default.useRef(null);
7058
+ const sourceRef = React12__namespace.default.useRef(null);
7059
+ const [formatState, setFormatState] = React12.useState({
7042
7060
  bold: false,
7043
7061
  italic: false,
7044
7062
  underline: false,
@@ -7052,18 +7070,18 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7052
7070
  quote: false,
7053
7071
  code: false
7054
7072
  });
7055
- const updateContent = React23.useCallback((newContent) => {
7073
+ const updateContent = React12.useCallback((newContent) => {
7056
7074
  setContent(newContent);
7057
7075
  onChange?.(newContent);
7058
7076
  }, [onChange]);
7059
- const saveSelection = React23.useCallback(() => {
7077
+ const saveSelection = React12.useCallback(() => {
7060
7078
  const selection2 = window.getSelection();
7061
7079
  if (selection2 && selection2.rangeCount > 0) {
7062
7080
  return selection2.getRangeAt(0);
7063
7081
  }
7064
7082
  return null;
7065
7083
  }, []);
7066
- React23.useCallback((range) => {
7084
+ React12.useCallback((range) => {
7067
7085
  if (!range)
7068
7086
  return;
7069
7087
  const selection2 = window.getSelection();
@@ -7072,7 +7090,7 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7072
7090
  selection2.addRange(range);
7073
7091
  }
7074
7092
  }, []);
7075
- const executeCommand = React23.useCallback((command, value2) => {
7093
+ const executeCommand = React12.useCallback((command, value2) => {
7076
7094
  if (disabled)
7077
7095
  return;
7078
7096
  if (editorRef.current) {
@@ -7105,11 +7123,11 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7105
7123
  editorRef.current.focus();
7106
7124
  }
7107
7125
  }, [disabled, saveSelection, updateContent]);
7108
- const handleInput = React23.useCallback((e) => {
7126
+ const handleInput = React12.useCallback((e) => {
7109
7127
  const newContent = e.currentTarget.innerHTML;
7110
7128
  updateContent(newContent);
7111
7129
  }, [updateContent]);
7112
- const handleKeyDown = React23.useCallback((e) => {
7130
+ const handleKeyDown = React12.useCallback((e) => {
7113
7131
  if (e.ctrlKey || e.metaKey) {
7114
7132
  switch (e.key) {
7115
7133
  case "b":
@@ -7139,22 +7157,22 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7139
7157
  executeCommand("insertHTML", "&nbsp;&nbsp;&nbsp;&nbsp;");
7140
7158
  }
7141
7159
  }, [executeCommand]);
7142
- const insertLink = React23.useCallback(() => {
7160
+ const insertLink = React12.useCallback(() => {
7143
7161
  const url = prompt("Enter URL:");
7144
7162
  if (url) {
7145
7163
  executeCommand("createLink", url);
7146
7164
  }
7147
7165
  }, [executeCommand]);
7148
- const insertImage = React23.useCallback(() => {
7166
+ const insertImage = React12.useCallback(() => {
7149
7167
  const url = prompt("Enter image URL:");
7150
7168
  if (url) {
7151
7169
  executeCommand("insertImage", url);
7152
7170
  }
7153
7171
  }, [executeCommand]);
7154
- const formatHeading = React23.useCallback((level) => {
7172
+ const formatHeading = React12.useCallback((level) => {
7155
7173
  executeCommand("formatBlock", `<h${level}>`);
7156
7174
  }, [executeCommand]);
7157
- const setTextColor = React23.useCallback((color) => {
7175
+ const setTextColor = React12.useCallback((color) => {
7158
7176
  const selection2 = window.getSelection();
7159
7177
  if (selection2 && selection2.rangeCount > 0) {
7160
7178
  const range = selection2.getRangeAt(0);
@@ -7171,12 +7189,12 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7171
7189
  }
7172
7190
  }
7173
7191
  }, [executeCommand, updateContent]);
7174
- React23__namespace.default.useEffect(() => {
7192
+ React12__namespace.default.useEffect(() => {
7175
7193
  if (editorRef.current && content && content !== editorRef.current.innerHTML) {
7176
7194
  editorRef.current.innerHTML = content;
7177
7195
  }
7178
7196
  }, [content]);
7179
- React23__namespace.default.useEffect(() => {
7197
+ React12__namespace.default.useEffect(() => {
7180
7198
  if (value !== void 0 && value !== content) {
7181
7199
  setContent(value);
7182
7200
  setSourceContent(value);
@@ -7538,8 +7556,8 @@ var SimpleEditor = React23__namespace.default.forwardRef(
7538
7556
  );
7539
7557
  SimpleEditor.displayName = "SimpleEditor";
7540
7558
  var CharacterCount = ({ content }) => {
7541
- const [count, setCount] = React23.useState(0);
7542
- React23.useEffect(() => {
7559
+ const [count, setCount] = React12.useState(0);
7560
+ React12.useEffect(() => {
7543
7561
  const getPlainText = (html) => {
7544
7562
  const div = document.createElement("div");
7545
7563
  div.innerHTML = html;
@@ -7586,7 +7604,7 @@ var skeletonVariants = classVarianceAuthority.cva(
7586
7604
  }
7587
7605
  }
7588
7606
  );
7589
- var Skeleton = React23__namespace.forwardRef(
7607
+ var Skeleton = React12__namespace.forwardRef(
7590
7608
  ({
7591
7609
  className,
7592
7610
  variant,
@@ -7652,6 +7670,7 @@ var Skeleton = React23__namespace.forwardRef(
7652
7670
  SkeletonElement,
7653
7671
  {
7654
7672
  ref,
7673
+ "aria-hidden": "true",
7655
7674
  className: cn(
7656
7675
  "moonui-theme",
7657
7676
  skeletonVariants({ variant, size, shape, animation }),
@@ -7670,7 +7689,7 @@ var Skeleton = React23__namespace.forwardRef(
7670
7689
  }
7671
7690
  );
7672
7691
  Skeleton.displayName = "Skeleton";
7673
- var SkeletonText = React23__namespace.forwardRef(
7692
+ var SkeletonText = React12__namespace.forwardRef(
7674
7693
  ({
7675
7694
  className,
7676
7695
  lines = 3,
@@ -7711,7 +7730,7 @@ var SkeletonText = React23__namespace.forwardRef(
7711
7730
  }
7712
7731
  );
7713
7732
  SkeletonText.displayName = "SkeletonText";
7714
- var SkeletonAvatar = React23__namespace.forwardRef(
7733
+ var SkeletonAvatar = React12__namespace.forwardRef(
7715
7734
  ({
7716
7735
  className,
7717
7736
  size = "2.5rem",
@@ -7737,7 +7756,7 @@ var SkeletonAvatar = React23__namespace.forwardRef(
7737
7756
  }
7738
7757
  );
7739
7758
  SkeletonAvatar.displayName = "SkeletonAvatar";
7740
- var SkeletonCard = React23__namespace.forwardRef(
7759
+ var SkeletonCard = React12__namespace.forwardRef(
7741
7760
  ({
7742
7761
  className,
7743
7762
  showHeader = true,
@@ -7811,11 +7830,11 @@ var SkeletonCard = React23__namespace.forwardRef(
7811
7830
  }
7812
7831
  );
7813
7832
  SkeletonCard.displayName = "SkeletonCard";
7814
- var SwipeableCard = React23__namespace.forwardRef(
7833
+ var SwipeableCard = React12__namespace.forwardRef(
7815
7834
  ({ className, children, onSwipeLeft, onSwipeRight, threshold = 100, disabled = false, ...props }, ref) => {
7816
- const [startX, setStartX] = React23__namespace.useState(0);
7817
- const [currentX, setCurrentX] = React23__namespace.useState(0);
7818
- const [isSwiping, setIsSwiping] = React23__namespace.useState(false);
7835
+ const [startX, setStartX] = React12__namespace.useState(0);
7836
+ const [currentX, setCurrentX] = React12__namespace.useState(0);
7837
+ const [isSwiping, setIsSwiping] = React12__namespace.useState(false);
7819
7838
  const handleTouchStart = (e) => {
7820
7839
  if (disabled)
7821
7840
  return;
@@ -7910,7 +7929,7 @@ var switchThumbVariants = classVarianceAuthority.cva(
7910
7929
  }
7911
7930
  }
7912
7931
  );
7913
- var Switch = React23__namespace.forwardRef(({
7932
+ var Switch = React12__namespace.forwardRef(({
7914
7933
  className,
7915
7934
  size,
7916
7935
  variant,
@@ -7921,7 +7940,7 @@ var Switch = React23__namespace.forwardRef(({
7921
7940
  "aria-describedby": ariaDescribedBy,
7922
7941
  ...props
7923
7942
  }, ref) => {
7924
- const reactId = React23__namespace.useId();
7943
+ const reactId = React12__namespace.useId();
7925
7944
  const descriptionId = description ? `${reactId}-description` : void 0;
7926
7945
  const describedBy = [ariaDescribedBy, descriptionId].filter(Boolean).join(" ") || void 0;
7927
7946
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "moonui-theme inline-flex items-center gap-2", children: [
@@ -7949,7 +7968,7 @@ var Switch = React23__namespace.forwardRef(({
7949
7968
  ] });
7950
7969
  });
7951
7970
  Switch.displayName = SwitchPrimitives__namespace.Root.displayName;
7952
- var TagsInput = React23__namespace.forwardRef(
7971
+ var TagsInput = React12__namespace.forwardRef(
7953
7972
  ({
7954
7973
  value = [],
7955
7974
  onChange,
@@ -7962,12 +7981,12 @@ var TagsInput = React23__namespace.forwardRef(
7962
7981
  disabled,
7963
7982
  ...props
7964
7983
  }, ref) => {
7965
- const [inputValue, setInputValue] = React23__namespace.useState("");
7966
- const [error, setError] = React23__namespace.useState("");
7967
- const innerInputRef = React23__namespace.useRef(null);
7968
- React23__namespace.useImperativeHandle(ref, () => innerInputRef.current);
7969
- const tagButtonRefs = React23__namespace.useRef([]);
7970
- const errorId = React23__namespace.useId();
7984
+ const [inputValue, setInputValue] = React12__namespace.useState("");
7985
+ const [error, setError] = React12__namespace.useState("");
7986
+ const innerInputRef = React12__namespace.useRef(null);
7987
+ React12__namespace.useImperativeHandle(ref, () => innerInputRef.current);
7988
+ const tagButtonRefs = React12__namespace.useRef([]);
7989
+ const errorId = React12__namespace.useId();
7971
7990
  const focusTag = (index) => {
7972
7991
  if (value.length === 0)
7973
7992
  return;
@@ -8144,7 +8163,7 @@ var textareaVariants = classVarianceAuthority.cva(
8144
8163
  }
8145
8164
  }
8146
8165
  );
8147
- var Textarea = React23__namespace.forwardRef(
8166
+ var Textarea = React12__namespace.forwardRef(
8148
8167
  ({
8149
8168
  className,
8150
8169
  wrapperClassName,
@@ -8164,12 +8183,12 @@ var Textarea = React23__namespace.forwardRef(
8164
8183
  onChange,
8165
8184
  ...props
8166
8185
  }, ref) => {
8167
- const reactId = React23__namespace.useId();
8186
+ const reactId = React12__namespace.useId();
8168
8187
  const fieldId = props.id || reactId;
8169
- const textareaRef = React23__namespace.useRef(null);
8170
- const [internalValue, setInternalValue] = React23__namespace.useState(value || defaultValue || "");
8171
- React23__namespace.useImperativeHandle(ref, () => textareaRef.current);
8172
- const adjustHeight = React23__namespace.useCallback(() => {
8188
+ const textareaRef = React12__namespace.useRef(null);
8189
+ const [internalValue, setInternalValue] = React12__namespace.useState(value || defaultValue || "");
8190
+ React12__namespace.useImperativeHandle(ref, () => textareaRef.current);
8191
+ const adjustHeight = React12__namespace.useCallback(() => {
8173
8192
  const textarea = textareaRef.current;
8174
8193
  if (!textarea || !autoResize)
8175
8194
  return;
@@ -8183,10 +8202,10 @@ var Textarea = React23__namespace.forwardRef(
8183
8202
  textarea.style.overflowY = "hidden";
8184
8203
  }
8185
8204
  }, [autoResize, maxHeight]);
8186
- React23__namespace.useEffect(() => {
8205
+ React12__namespace.useEffect(() => {
8187
8206
  adjustHeight();
8188
8207
  }, [internalValue, adjustHeight]);
8189
- React23__namespace.useEffect(() => {
8208
+ React12__namespace.useEffect(() => {
8190
8209
  if (value !== void 0) {
8191
8210
  setInternalValue(value);
8192
8211
  }
@@ -8252,7 +8271,7 @@ var Textarea = React23__namespace.forwardRef(
8252
8271
  );
8253
8272
  Textarea.displayName = "Textarea";
8254
8273
  var ToastProvider = ToastPrimitives__namespace.Provider;
8255
- var ToastViewport = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8274
+ var ToastViewport = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8256
8275
  ToastPrimitives__namespace.Viewport,
8257
8276
  {
8258
8277
  ref,
@@ -8281,7 +8300,7 @@ var toastVariants = classVarianceAuthority.cva(
8281
8300
  }
8282
8301
  }
8283
8302
  );
8284
- var Toast = React23__namespace.forwardRef(({ className, variant, ...props }, ref) => {
8303
+ var Toast = React12__namespace.forwardRef(({ className, variant, ...props }, ref) => {
8285
8304
  return /* @__PURE__ */ jsxRuntime.jsx(
8286
8305
  ToastPrimitives__namespace.Root,
8287
8306
  {
@@ -8292,7 +8311,7 @@ var Toast = React23__namespace.forwardRef(({ className, variant, ...props }, ref
8292
8311
  );
8293
8312
  });
8294
8313
  Toast.displayName = ToastPrimitives__namespace.Root.displayName;
8295
- var ToastAction = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8314
+ var ToastAction = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8296
8315
  ToastPrimitives__namespace.Action,
8297
8316
  {
8298
8317
  ref,
@@ -8304,7 +8323,7 @@ var ToastAction = React23__namespace.forwardRef(({ className, ...props }, ref) =
8304
8323
  }
8305
8324
  ));
8306
8325
  ToastAction.displayName = ToastPrimitives__namespace.Action.displayName;
8307
- var ToastClose = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
8326
+ var ToastClose = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
8308
8327
  ToastPrimitives__namespace.Close,
8309
8328
  {
8310
8329
  ref,
@@ -8321,7 +8340,7 @@ var ToastClose = React23__namespace.forwardRef(({ className, ...props }, ref) =>
8321
8340
  }
8322
8341
  ));
8323
8342
  ToastClose.displayName = ToastPrimitives__namespace.Close.displayName;
8324
- var ToastTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8343
+ var ToastTitle = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8325
8344
  ToastPrimitives__namespace.Title,
8326
8345
  {
8327
8346
  ref,
@@ -8330,7 +8349,7 @@ var ToastTitle = React23__namespace.forwardRef(({ className, ...props }, ref) =>
8330
8349
  }
8331
8350
  ));
8332
8351
  ToastTitle.displayName = ToastPrimitives__namespace.Title.displayName;
8333
- var ToastDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8352
+ var ToastDescription = React12__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8334
8353
  ToastPrimitives__namespace.Description,
8335
8354
  {
8336
8355
  ref,
@@ -8438,8 +8457,8 @@ function toast({ ...props }) {
8438
8457
  };
8439
8458
  }
8440
8459
  function useToast() {
8441
- const [state, setState] = React23__namespace.useState(memoryState);
8442
- React23__namespace.useEffect(() => {
8460
+ const [state, setState] = React12__namespace.useState(memoryState);
8461
+ React12__namespace.useEffect(() => {
8443
8462
  listeners.push(setState);
8444
8463
  return () => {
8445
8464
  const index = listeners.indexOf(setState);
@@ -8492,7 +8511,7 @@ var kbdVariants = classVarianceAuthority.cva(
8492
8511
  }
8493
8512
  }
8494
8513
  );
8495
- var Kbd = React23__namespace.forwardRef(
8514
+ var Kbd = React12__namespace.forwardRef(
8496
8515
  ({ className, size, children, ...props }, ref) => {
8497
8516
  return /* @__PURE__ */ jsxRuntime.jsx(
8498
8517
  "kbd",
@@ -8529,7 +8548,7 @@ var iconSizeMap = {
8529
8548
  md: "h-5 w-5",
8530
8549
  lg: "h-6 w-6"
8531
8550
  };
8532
- var Rating = React23__namespace.forwardRef(
8551
+ var Rating = React12__namespace.forwardRef(
8533
8552
  ({
8534
8553
  className,
8535
8554
  value,
@@ -8547,11 +8566,11 @@ var Rating = React23__namespace.forwardRef(
8547
8566
  const iconSizeClass = iconSizeMap[resolvedSize];
8548
8567
  const step = precision === "half" ? 0.5 : 1;
8549
8568
  const isControlled = value !== void 0;
8550
- const [internalValue, setInternalValue] = React23__namespace.useState(defaultValue ?? 0);
8569
+ const [internalValue, setInternalValue] = React12__namespace.useState(defaultValue ?? 0);
8551
8570
  const currentValue = isControlled ? value ?? 0 : internalValue;
8552
- const [hoverValue, setHoverValue] = React23__namespace.useState(null);
8571
+ const [hoverValue, setHoverValue] = React12__namespace.useState(null);
8553
8572
  const displayValue = hoverValue !== null ? hoverValue : currentValue;
8554
- const commit = React23__namespace.useCallback(
8573
+ const commit = React12__namespace.useCallback(
8555
8574
  (next) => {
8556
8575
  if (readOnly)
8557
8576
  return;
@@ -8561,7 +8580,7 @@ var Rating = React23__namespace.forwardRef(
8561
8580
  },
8562
8581
  [readOnly, isControlled, onValueChange]
8563
8582
  );
8564
- const handleKeyDown = React23__namespace.useCallback(
8583
+ const handleKeyDown = React12__namespace.useCallback(
8565
8584
  (event) => {
8566
8585
  if (readOnly)
8567
8586
  return;
@@ -8590,9 +8609,9 @@ var Rating = React23__namespace.forwardRef(
8590
8609
  [readOnly, max, currentValue, step, commit]
8591
8610
  );
8592
8611
  const renderIcon = (filled) => {
8593
- if (React23__namespace.isValidElement(icon)) {
8612
+ if (React12__namespace.isValidElement(icon)) {
8594
8613
  const element = icon;
8595
- return React23__namespace.cloneElement(element, {
8614
+ return React12__namespace.cloneElement(element, {
8596
8615
  className: cn(
8597
8616
  iconSizeClass,
8598
8617
  "shrink-0",
@@ -8726,7 +8745,7 @@ var dotSizeMap = {
8726
8745
  lg: "h-2 w-2",
8727
8746
  xl: "h-2.5 w-2.5"
8728
8747
  };
8729
- var Spinner = React23__namespace.forwardRef(
8748
+ var Spinner = React12__namespace.forwardRef(
8730
8749
  ({ className, size, variant = "default", label = "Loading", ...props }, ref) => {
8731
8750
  return /* @__PURE__ */ jsxRuntime.jsxs(
8732
8751
  "div",
@@ -8805,15 +8824,15 @@ var buttonGroupVariants = classVarianceAuthority.cva(
8805
8824
  }
8806
8825
  }
8807
8826
  );
8808
- var ButtonGroup = React23__namespace.forwardRef(
8827
+ var ButtonGroup = React12__namespace.forwardRef(
8809
8828
  ({ className, orientation, attached, size, variant, children, ...props }, ref) => {
8810
8829
  const shouldPropagate = size !== void 0 || variant !== void 0;
8811
- const enhancedChildren = shouldPropagate ? React23__namespace.Children.map(children, (child) => {
8812
- if (!React23__namespace.isValidElement(child) || child.type !== Button) {
8830
+ const enhancedChildren = shouldPropagate ? React12__namespace.Children.map(children, (child) => {
8831
+ if (!React12__namespace.isValidElement(child) || child.type !== Button) {
8813
8832
  return child;
8814
8833
  }
8815
8834
  const childProps = child.props;
8816
- return React23__namespace.cloneElement(child, {
8835
+ return React12__namespace.cloneElement(child, {
8817
8836
  size: childProps.size ?? size,
8818
8837
  variant: childProps.variant ?? variant
8819
8838
  });
@@ -8831,11 +8850,11 @@ var ButtonGroup = React23__namespace.forwardRef(
8831
8850
  }
8832
8851
  );
8833
8852
  ButtonGroup.displayName = "ButtonGroup";
8834
- var ToggleGroupContext = React23__namespace.createContext({
8853
+ var ToggleGroupContext = React12__namespace.createContext({
8835
8854
  size: "default",
8836
8855
  variant: "default"
8837
8856
  });
8838
- var ToggleGroup = React23__namespace.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8857
+ var ToggleGroup = React12__namespace.forwardRef(({ className, variant, size, children, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
8839
8858
  ToggleGroupPrimitive__namespace.Root,
8840
8859
  {
8841
8860
  ref,
@@ -8852,8 +8871,8 @@ var ToggleGroup = React23__namespace.forwardRef(({ className, variant, size, chi
8852
8871
  }
8853
8872
  ));
8854
8873
  ToggleGroup.displayName = "ToggleGroup";
8855
- var ToggleGroupItem = React23__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => {
8856
- const context = React23__namespace.useContext(ToggleGroupContext);
8874
+ var ToggleGroupItem = React12__namespace.forwardRef(({ className, children, variant, size, ...props }, ref) => {
8875
+ const context = React12__namespace.useContext(ToggleGroupContext);
8857
8876
  return /* @__PURE__ */ jsxRuntime.jsx(
8858
8877
  ToggleGroupPrimitive__namespace.Item,
8859
8878
  {