@7onic-ui/react 0.2.9 → 0.3.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
@@ -49,7 +49,6 @@ __export(ui_exports, {
49
49
  AlertModalPortal: () => AlertModalPortal,
50
50
  AlertModalTitle: () => AlertModalTitle,
51
51
  AlertModalTrigger: () => AlertModalTrigger,
52
- AlertRoot: () => AlertRoot,
53
52
  AlertTitle: () => AlertTitle,
54
53
  Avatar: () => Avatar,
55
54
  AvatarFallback: () => AvatarFallback,
@@ -75,13 +74,11 @@ __export(ui_exports, {
75
74
  CardTitle: () => CardTitle,
76
75
  ChatInput: () => ChatInput,
77
76
  ChatInputField: () => ChatInputField,
78
- ChatInputRoot: () => ChatInputRoot,
79
77
  ChatInputSubmit: () => ChatInputSubmit,
80
78
  ChatMessage: () => ChatMessage,
81
79
  ChatMessageAvatar: () => ChatMessageAvatar,
82
80
  ChatMessageContent: () => ChatMessageContent,
83
81
  ChatMessageFooter: () => ChatMessageFooter,
84
- ChatMessageRoot: () => ChatMessageRoot,
85
82
  Checkbox: () => Checkbox,
86
83
  Divider: () => Divider,
87
84
  Drawer: () => Drawer,
@@ -93,7 +90,6 @@ __export(ui_exports, {
93
90
  DrawerHeader: () => DrawerHeader,
94
91
  DrawerOverlay: () => DrawerOverlay,
95
92
  DrawerPortal: () => DrawerPortal,
96
- DrawerRoot: () => DrawerRoot,
97
93
  DrawerTitle: () => DrawerTitle,
98
94
  DrawerTrigger: () => DrawerTrigger,
99
95
  DropdownMenu: () => DropdownMenu,
@@ -159,12 +155,10 @@ __export(ui_exports, {
159
155
  PopoverClose: () => PopoverClose,
160
156
  PopoverContent: () => PopoverContent,
161
157
  PopoverPortal: () => PopoverPortal,
162
- PopoverRoot: () => PopoverRoot,
163
158
  PopoverTrigger: () => PopoverTrigger,
164
159
  Progress: () => Progress,
165
160
  QuickReply: () => QuickReply,
166
161
  QuickReplyItem: () => QuickReplyItem,
167
- QuickReplyRoot: () => QuickReplyRoot,
168
162
  RadioGroup: () => RadioGroup,
169
163
  RadioGroupItem: () => RadioGroupItem,
170
164
  Segmented: () => Segmented,
@@ -203,7 +197,6 @@ __export(ui_exports, {
203
197
  TooltipContent: () => TooltipContent,
204
198
  TooltipPortal: () => TooltipPortal,
205
199
  TooltipProvider: () => TooltipProvider,
206
- TooltipRoot: () => TooltipRoot,
207
200
  TooltipTrigger: () => TooltipTrigger,
208
201
  TypingIndicator: () => TypingIndicator,
209
202
  accordionTriggerVariants: () => accordionTriggerVariants,
@@ -297,7 +290,7 @@ var accordionVariants = (0, import_class_variance_authority.cva)("w-full", {
297
290
  variant: "default"
298
291
  }
299
292
  });
300
- var AccordionRoot = React.forwardRef(
293
+ var Accordion = React.forwardRef(
301
294
  ({ className, variant = "default", size = "default", iconPosition = "right", type = "single", collapsible = true, defaultValue, value, onValueChange, disabled, ...props }, ref) => {
302
295
  const restProps = props;
303
296
  const sharedClassName = cn(accordionVariants({ variant }), className);
@@ -326,7 +319,7 @@ var AccordionRoot = React.forwardRef(
326
319
  ));
327
320
  }
328
321
  );
329
- AccordionRoot.displayName = "Accordion";
322
+ Accordion.displayName = "Accordion";
330
323
  var accordionItemVariants = (0, import_class_variance_authority.cva)("", {
331
324
  variants: {
332
325
  variant: {
@@ -434,11 +427,6 @@ var AccordionContent = React.forwardRef(({ className, children, ...props }, ref)
434
427
  );
435
428
  });
436
429
  AccordionContent.displayName = "AccordionContent";
437
- var Accordion = Object.assign(AccordionRoot, {
438
- Item: AccordionItem,
439
- Trigger: AccordionTrigger,
440
- Content: AccordionContent
441
- });
442
430
 
443
431
  // src/components/ui/breadcrumb.tsx
444
432
  var React2 = __toESM(require("react"));
@@ -476,7 +464,7 @@ var breadcrumbSizeMap = {
476
464
  default: { text: "text-sm", icon: "icon-xs", gap: "gap-2" },
477
465
  lg: { text: "text-md", icon: "icon-sm", gap: "gap-2" }
478
466
  };
479
- var BreadcrumbRoot = React2.forwardRef(
467
+ var Breadcrumb = React2.forwardRef(
480
468
  ({ className, separator, size = "default", ...props }, ref) => /* @__PURE__ */ React2.createElement(BreadcrumbContext.Provider, { value: { size, separator } }, /* @__PURE__ */ React2.createElement(
481
469
  "nav",
482
470
  {
@@ -487,7 +475,7 @@ var BreadcrumbRoot = React2.forwardRef(
487
475
  }
488
476
  ))
489
477
  );
490
- BreadcrumbRoot.displayName = "Breadcrumb";
478
+ Breadcrumb.displayName = "Breadcrumb";
491
479
  var BreadcrumbList = React2.forwardRef(
492
480
  ({ className, ...props }, ref) => {
493
481
  const { size = "default" } = useBreadcrumbContext();
@@ -588,14 +576,6 @@ var BreadcrumbEllipsis = React2.forwardRef(
588
576
  }
589
577
  );
590
578
  BreadcrumbEllipsis.displayName = "BreadcrumbEllipsis";
591
- var Breadcrumb = Object.assign(BreadcrumbRoot, {
592
- List: BreadcrumbList,
593
- Item: BreadcrumbItem,
594
- Link: BreadcrumbLink,
595
- Page: BreadcrumbPage,
596
- Separator: BreadcrumbSeparator,
597
- Ellipsis: BreadcrumbEllipsis
598
- });
599
579
 
600
580
  // src/components/ui/divider.tsx
601
581
  var React3 = __toESM(require("react"));
@@ -1236,7 +1216,7 @@ var ToggleGroupContext = React8.createContext({
1236
1216
  radius: "default",
1237
1217
  fontWeight: "normal"
1238
1218
  });
1239
- var ToggleGroupRoot = React8.forwardRef(({ className, orientation, variant, size, radius, fontWeight, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1219
+ var ToggleGroup = React8.forwardRef(({ className, orientation, variant, size, radius, fontWeight, children, ...props }, ref) => /* @__PURE__ */ React8.createElement(
1240
1220
  ToggleGroupPrimitive.Root,
1241
1221
  {
1242
1222
  ref,
@@ -1270,7 +1250,7 @@ var ToggleGroupRoot = React8.forwardRef(({ className, orientation, variant, size
1270
1250
  },
1271
1251
  /* @__PURE__ */ React8.createElement(ToggleGroupContext.Provider, { value: { variant, size, radius, fontWeight } }, children)
1272
1252
  ));
1273
- ToggleGroupRoot.displayName = ToggleGroupPrimitive.Root.displayName;
1253
+ ToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;
1274
1254
  var iconSizeClasses2 = {
1275
1255
  xs: "[&>svg]:icon-xs",
1276
1256
  // 14px
@@ -1306,9 +1286,6 @@ var ToggleGroupItem = React8.forwardRef(({ className, variant, size, radius, fon
1306
1286
  );
1307
1287
  });
1308
1288
  ToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;
1309
- var ToggleGroup = Object.assign(ToggleGroupRoot, {
1310
- Item: ToggleGroupItem
1311
- });
1312
1289
 
1313
1290
  // src/components/ui/segmented.tsx
1314
1291
  var React9 = __toESM(require("react"));
@@ -1462,7 +1439,7 @@ var segmentedItemVariants = (0, import_class_variance_authority7.cva)(
1462
1439
  }
1463
1440
  }
1464
1441
  );
1465
- var SegmentedRoot = React9.forwardRef(({ className, variant, size, radius, fontWeight, ...props }, ref) => {
1442
+ var Segmented = React9.forwardRef(({ className, variant, size, radius, fontWeight, ...props }, ref) => {
1466
1443
  const resolvedFontWeight = fontWeight ?? "normal";
1467
1444
  return /* @__PURE__ */ React9.createElement(SegmentedContext.Provider, { value: { variant: variant || "default", size: size || "default", radius: radius || "default" } }, /* @__PURE__ */ React9.createElement(
1468
1445
  RadioGroupPrimitive.Root,
@@ -1473,7 +1450,7 @@ var SegmentedRoot = React9.forwardRef(({ className, variant, size, radius, fontW
1473
1450
  }
1474
1451
  ));
1475
1452
  });
1476
- SegmentedRoot.displayName = "Segmented";
1453
+ Segmented.displayName = "Segmented";
1477
1454
  var iconSizeClasses3 = {
1478
1455
  sm: "[&>svg]:icon-xs",
1479
1456
  // 14px
@@ -1503,9 +1480,6 @@ var SegmentedItem = React9.forwardRef(({ className, children, size, radius, cont
1503
1480
  );
1504
1481
  });
1505
1482
  SegmentedItem.displayName = "SegmentedItem";
1506
- var Segmented = Object.assign(SegmentedRoot, {
1507
- Item: SegmentedItem
1508
- });
1509
1483
 
1510
1484
  // src/components/ui/input.tsx
1511
1485
  var React11 = __toESM(require("react"));
@@ -1532,7 +1506,7 @@ var fieldVariants = (0, import_class_variance_authority8.cva)("flex flex-col", {
1532
1506
  gap: "default"
1533
1507
  }
1534
1508
  });
1535
- var FieldRoot = React10.forwardRef(
1509
+ var Field = React10.forwardRef(
1536
1510
  ({ className, gap, error, disabled, children, ...props }, ref) => {
1537
1511
  const id = React10.useId();
1538
1512
  return /* @__PURE__ */ React10.createElement(FieldContext.Provider, { value: { id, error, disabled } }, /* @__PURE__ */ React10.createElement(
@@ -1548,7 +1522,7 @@ var FieldRoot = React10.forwardRef(
1548
1522
  ));
1549
1523
  }
1550
1524
  );
1551
- FieldRoot.displayName = "Field";
1525
+ Field.displayName = "Field";
1552
1526
  var FieldLabel = React10.forwardRef(
1553
1527
  ({ className, required, children, ...props }, ref) => {
1554
1528
  const context = useFieldContext();
@@ -1605,11 +1579,6 @@ var FieldCharCount = React10.forwardRef(({ className, ...props }, ref) => {
1605
1579
  );
1606
1580
  });
1607
1581
  FieldCharCount.displayName = "FieldCharCount";
1608
- var Field = Object.assign(FieldRoot, {
1609
- Label: FieldLabel,
1610
- Error: FieldError,
1611
- CharCount: FieldCharCount
1612
- });
1613
1582
 
1614
1583
  // src/components/ui/input.tsx
1615
1584
  var inputVariants = (0, import_class_variance_authority9.cva)(
@@ -2116,7 +2085,7 @@ var radioGroupVariants = (0, import_class_variance_authority12.cva)("grid gap-3"
2116
2085
  orientation: "vertical"
2117
2086
  }
2118
2087
  });
2119
- var RadioGroupRoot = React14.forwardRef(({ className, orientation, size = "default", weight = "bold", color = "default", disabled, ...props }, ref) => {
2088
+ var RadioGroup = React14.forwardRef(({ className, orientation, size = "default", weight = "bold", color = "default", disabled, ...props }, ref) => {
2120
2089
  const fieldContext = useFieldContext();
2121
2090
  const resolvedDisabled = disabled ?? fieldContext?.disabled;
2122
2091
  return /* @__PURE__ */ React14.createElement(RadioGroupContext.Provider, { value: { size, weight, color, disabled: resolvedDisabled } }, /* @__PURE__ */ React14.createElement(
@@ -2130,7 +2099,7 @@ var RadioGroupRoot = React14.forwardRef(({ className, orientation, size = "defau
2130
2099
  }
2131
2100
  ));
2132
2101
  });
2133
- RadioGroupRoot.displayName = "RadioGroup";
2102
+ RadioGroup.displayName = "RadioGroup";
2134
2103
  var radioItemVariants = (0, import_class_variance_authority12.cva)(
2135
2104
  [
2136
2105
  "relative shrink-0 rounded-full border-border hover:border-border-strong transition-all duration-micro ease-out",
@@ -2218,9 +2187,6 @@ var RadioGroupItem = React14.forwardRef(({ className, label, disabled, ...props
2218
2187
  ));
2219
2188
  });
2220
2189
  RadioGroupItem.displayName = "RadioGroupItem";
2221
- var RadioGroup = Object.assign(RadioGroupRoot, {
2222
- Item: RadioGroupItem
2223
- });
2224
2190
 
2225
2191
  // src/components/ui/switch.tsx
2226
2192
  var React15 = __toESM(require("react"));
@@ -2549,7 +2515,7 @@ var insetSizeMap = {
2549
2515
  lg: "pl-10"
2550
2516
  };
2551
2517
  var DropdownMenuStyleContext = React17.createContext({ radius: "lg", flush: false, size: "md" });
2552
- var DropdownMenuRoot = DropdownMenuPrimitive.Root;
2518
+ var DropdownMenu = DropdownMenuPrimitive.Root;
2553
2519
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
2554
2520
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
2555
2521
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
@@ -2726,21 +2692,6 @@ function DropdownMenuShortcut({
2726
2692
  );
2727
2693
  }
2728
2694
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
2729
- var DropdownMenu = Object.assign(DropdownMenuRoot, {
2730
- Trigger: DropdownMenuTrigger,
2731
- Content: DropdownMenuContent,
2732
- Item: DropdownMenuItem,
2733
- CheckboxItem: DropdownMenuCheckboxItem,
2734
- RadioGroup: DropdownMenuRadioGroup,
2735
- RadioItem: DropdownMenuRadioItem,
2736
- Label: DropdownMenuLabel,
2737
- Separator: DropdownMenuSeparator,
2738
- Group: DropdownMenuGroup,
2739
- Sub: DropdownMenuSub,
2740
- SubTrigger: DropdownMenuSubTrigger,
2741
- SubContent: DropdownMenuSubContent,
2742
- Shortcut: DropdownMenuShortcut
2743
- });
2744
2695
 
2745
2696
  // src/components/ui/select.tsx
2746
2697
  var React18 = __toESM(require("react"));
@@ -2846,7 +2797,7 @@ var flushLabelPaddingMap = {
2846
2797
  };
2847
2798
  var SelectRootContext = React18.createContext({ size: "default", radius: "default" });
2848
2799
  var SelectStyleContext = React18.createContext({ contentRadius: "xl", itemSize: "md", flush: false });
2849
- var SelectRoot = ({
2800
+ var Select = ({
2850
2801
  size = "default",
2851
2802
  radius = "default",
2852
2803
  ...props
@@ -2997,15 +2948,6 @@ var SelectSeparator = React18.forwardRef(({ className, ...props }, ref) => {
2997
2948
  );
2998
2949
  });
2999
2950
  SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
3000
- var Select = Object.assign(SelectRoot, {
3001
- Trigger: SelectTrigger,
3002
- Value: SelectValue,
3003
- Content: SelectContent,
3004
- Item: SelectItem,
3005
- Group: SelectGroup,
3006
- Label: SelectLabel,
3007
- Separator: SelectSeparator
3008
- });
3009
2951
 
3010
2952
  // src/components/ui/avatar.tsx
3011
2953
  var React19 = __toESM(require("react"));
@@ -3113,7 +3055,7 @@ function getAvatarColor(name, variant = "vivid") {
3113
3055
  }
3114
3056
  return avatarColors[(hash >>> 0) % avatarColors.length][variant];
3115
3057
  }
3116
- var AvatarRoot = React19.forwardRef(({ className, size, shape, status, children, ...props }, ref) => {
3058
+ var Avatar = React19.forwardRef(({ className, size, shape, status, children, ...props }, ref) => {
3117
3059
  const resolvedSize = size || "default";
3118
3060
  if (!status) {
3119
3061
  return /* @__PURE__ */ React19.createElement(
@@ -3145,7 +3087,7 @@ var AvatarRoot = React19.forwardRef(({ className, size, shape, status, children,
3145
3087
  }
3146
3088
  ));
3147
3089
  });
3148
- AvatarRoot.displayName = "Avatar";
3090
+ Avatar.displayName = "Avatar";
3149
3091
  var AvatarImage = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React19.createElement(
3150
3092
  AvatarPrimitive.Image,
3151
3093
  {
@@ -3194,16 +3136,11 @@ var AvatarGroup = React19.forwardRef(
3194
3136
  ...props
3195
3137
  },
3196
3138
  visibleChildren,
3197
- overflowCount > 0 && /* @__PURE__ */ React19.createElement(AvatarRoot, { size, shape }, /* @__PURE__ */ React19.createElement(AvatarFallback, { size }, "+", overflowCount))
3139
+ overflowCount > 0 && /* @__PURE__ */ React19.createElement(Avatar, { size, shape }, /* @__PURE__ */ React19.createElement(AvatarFallback, { size }, "+", overflowCount))
3198
3140
  );
3199
3141
  }
3200
3142
  );
3201
3143
  AvatarGroup.displayName = "AvatarGroup";
3202
- var Avatar = Object.assign(AvatarRoot, {
3203
- Image: AvatarImage,
3204
- Fallback: AvatarFallback,
3205
- Group: AvatarGroup
3206
- });
3207
3144
 
3208
3145
  // src/components/ui/metric-card.tsx
3209
3146
  var React20 = __toESM(require("react"));
@@ -3267,7 +3204,7 @@ var trendConfig = {
3267
3204
  neutral: { color: "text-text-muted", srLabel: "No change" }
3268
3205
  };
3269
3206
  var MetricCardContext = React20.createContext({ size: "default", animated: false });
3270
- var MetricCardRoot = React20.forwardRef(
3207
+ var MetricCard = React20.forwardRef(
3271
3208
  ({ className, variant, size, radius, animated = false, children, ...props }, ref) => {
3272
3209
  const resolvedSize = size || "default";
3273
3210
  return /* @__PURE__ */ React20.createElement(MetricCardContext.Provider, { value: { size: resolvedSize, animated } }, /* @__PURE__ */ React20.createElement(
@@ -3281,7 +3218,7 @@ var MetricCardRoot = React20.forwardRef(
3281
3218
  ));
3282
3219
  }
3283
3220
  );
3284
- MetricCardRoot.displayName = "MetricCard";
3221
+ MetricCard.displayName = "MetricCard";
3285
3222
  var MetricCardHeader = React20.forwardRef(
3286
3223
  ({ className, ...props }, ref) => /* @__PURE__ */ React20.createElement(
3287
3224
  "div",
@@ -3402,14 +3339,6 @@ var MetricCardSymbol = React20.forwardRef(
3402
3339
  }
3403
3340
  );
3404
3341
  MetricCardSymbol.displayName = "MetricCardSymbol";
3405
- var MetricCard = Object.assign(MetricCardRoot, {
3406
- Header: MetricCardHeader,
3407
- Title: MetricCardTitle,
3408
- Value: MetricCardValue,
3409
- Trend: MetricCardTrend,
3410
- Description: MetricCardDescription,
3411
- Symbol: MetricCardSymbol
3412
- });
3413
3342
 
3414
3343
  // src/components/ui/badge.tsx
3415
3344
  var React21 = __toESM(require("react"));
@@ -3628,7 +3557,7 @@ var cardVariants = (0, import_class_variance_authority18.cva)(
3628
3557
  }
3629
3558
  }
3630
3559
  );
3631
- var CardRoot = React22.forwardRef(
3560
+ var Card = React22.forwardRef(
3632
3561
  ({
3633
3562
  className,
3634
3563
  variant = "default",
@@ -3670,7 +3599,7 @@ var CardRoot = React22.forwardRef(
3670
3599
  ));
3671
3600
  }
3672
3601
  );
3673
- CardRoot.displayName = "Card";
3602
+ Card.displayName = "Card";
3674
3603
  var sizePaddingXMap = {
3675
3604
  sm: "px-4",
3676
3605
  // 16px
@@ -3874,15 +3803,6 @@ var CardFooter = React22.forwardRef(
3874
3803
  }
3875
3804
  );
3876
3805
  CardFooter.displayName = "CardFooter";
3877
- var Card = Object.assign(CardRoot, {
3878
- Image: CardImage,
3879
- Header: CardHeader,
3880
- Title: CardTitle,
3881
- Description: CardDescription,
3882
- Action: CardAction,
3883
- Content: CardContent,
3884
- Footer: CardFooter
3885
- });
3886
3806
 
3887
3807
  // src/components/ui/table.tsx
3888
3808
  var React23 = __toESM(require("react"));
@@ -3918,7 +3838,7 @@ var tableVariants = (0, import_class_variance_authority19.cva)(
3918
3838
  }
3919
3839
  }
3920
3840
  );
3921
- var TableRoot = React23.forwardRef(
3841
+ var Table = React23.forwardRef(
3922
3842
  ({ className, size = "default", variant = "default", stickyHeader = false, wrapperClassName, ...props }, ref) => /* @__PURE__ */ React23.createElement(TableContext.Provider, { value: { size, variant, stickyHeader } }, /* @__PURE__ */ React23.createElement("div", { className: cn("relative w-full overflow-auto", wrapperClassName) }, /* @__PURE__ */ React23.createElement(
3923
3843
  "table",
3924
3844
  {
@@ -3928,7 +3848,7 @@ var TableRoot = React23.forwardRef(
3928
3848
  }
3929
3849
  )))
3930
3850
  );
3931
- TableRoot.displayName = "Table";
3851
+ Table.displayName = "Table";
3932
3852
  var TableHeader = React23.forwardRef(({ className, ...props }, ref) => {
3933
3853
  const { stickyHeader } = React23.useContext(TableContext);
3934
3854
  return /* @__PURE__ */ React23.createElement(
@@ -4062,15 +3982,6 @@ var TableCaption = React23.forwardRef(({ className, ...props }, ref) => /* @__PU
4062
3982
  }
4063
3983
  ));
4064
3984
  TableCaption.displayName = "TableCaption";
4065
- var Table = Object.assign(TableRoot, {
4066
- Header: TableHeader,
4067
- Body: TableBody,
4068
- Footer: TableFooter,
4069
- Row: TableRow,
4070
- Head: TableHead,
4071
- Cell: TableCell,
4072
- Caption: TableCaption
4073
- });
4074
3985
 
4075
3986
  // src/components/ui/tabs.tsx
4076
3987
  var React24 = __toESM(require("react"));
@@ -4255,12 +4166,7 @@ var TabsContent = React24.forwardRef(({ className, ...props }, ref) => /* @__PUR
4255
4166
  }
4256
4167
  ));
4257
4168
  TabsContent.displayName = "TabsContent";
4258
- var TabsRoot = TabsPrimitive.Root;
4259
- var Tabs = Object.assign(TabsRoot, {
4260
- List: TabsList,
4261
- Trigger: TabsTrigger,
4262
- Content: TabsContent
4263
- });
4169
+ var Tabs = TabsPrimitive.Root;
4264
4170
 
4265
4171
  // src/components/ui/navigation-menu.tsx
4266
4172
  var React25 = __toESM(require("react"));
@@ -4348,7 +4254,7 @@ var navigationMenuSizeMap = {
4348
4254
  groupMargin: "mt-6 first:mt-0"
4349
4255
  }
4350
4256
  };
4351
- var NavigationMenuRoot = React25.forwardRef(
4257
+ var NavigationMenu = React25.forwardRef(
4352
4258
  ({
4353
4259
  className,
4354
4260
  orientation = "horizontal",
@@ -4405,7 +4311,7 @@ var NavigationMenuRoot = React25.forwardRef(
4405
4311
  ));
4406
4312
  }
4407
4313
  );
4408
- NavigationMenuRoot.displayName = "NavigationMenu";
4314
+ NavigationMenu.displayName = "NavigationMenu";
4409
4315
  var NavigationMenuList = React25.forwardRef(
4410
4316
  ({ className, children, ...props }, ref) => {
4411
4317
  const { orientation } = useNavigationMenuContext();
@@ -4725,16 +4631,6 @@ var NavigationMenuViewport = React25.forwardRef(
4725
4631
  }
4726
4632
  );
4727
4633
  NavigationMenuViewport.displayName = "NavigationMenuViewport";
4728
- var NavigationMenu = Object.assign(NavigationMenuRoot, {
4729
- List: NavigationMenuList,
4730
- Item: NavigationMenuItem,
4731
- Trigger: NavigationMenuTrigger,
4732
- Content: NavigationMenuContent,
4733
- Link: NavigationMenuLink,
4734
- Group: NavigationMenuGroup,
4735
- Indicator: NavigationMenuIndicator,
4736
- Viewport: NavigationMenuViewport
4737
- });
4738
4634
 
4739
4635
  // src/components/ui/pagination.tsx
4740
4636
  var React26 = __toESM(require("react"));
@@ -4906,7 +4802,7 @@ function getItemClasses(variant, color, isActive, disabled) {
4906
4802
  return "border border-transparent text-text-muted hover:bg-background-muted hover:text-foreground";
4907
4803
  }
4908
4804
  }
4909
- var PaginationRoot = React26.forwardRef(
4805
+ var Pagination = React26.forwardRef(
4910
4806
  ({
4911
4807
  className,
4912
4808
  total = 1,
@@ -4963,7 +4859,7 @@ var PaginationRoot = React26.forwardRef(
4963
4859
  ));
4964
4860
  }
4965
4861
  );
4966
- PaginationRoot.displayName = "Pagination";
4862
+ Pagination.displayName = "Pagination";
4967
4863
  var PaginationContent = React26.forwardRef(
4968
4864
  ({ className, ...props }, ref) => {
4969
4865
  const { size } = usePaginationContext();
@@ -5157,17 +5053,6 @@ var PaginationItems = React26.forwardRef(
5157
5053
  }
5158
5054
  );
5159
5055
  PaginationItems.displayName = "PaginationItems";
5160
- var Pagination = Object.assign(PaginationRoot, {
5161
- Content: PaginationContent,
5162
- Item: PaginationItem,
5163
- Link: PaginationLink,
5164
- Previous: PaginationPrevious,
5165
- Next: PaginationNext,
5166
- First: PaginationFirst,
5167
- Last: PaginationLast,
5168
- Ellipsis: PaginationEllipsis,
5169
- Items: PaginationItems
5170
- });
5171
5056
 
5172
5057
  // src/components/ui/modal.tsx
5173
5058
  var React27 = __toESM(require("react"));
@@ -5189,7 +5074,7 @@ var DefaultCloseIcon = ({ className }) => /* @__PURE__ */ React27.createElement(
5189
5074
  var ModalStyleContext = React27.createContext({
5190
5075
  scrollBehavior: "outside"
5191
5076
  });
5192
- function ModalRoot(props) {
5077
+ function Modal(props) {
5193
5078
  return /* @__PURE__ */ React27.createElement(DialogPrimitive.Root, { ...props });
5194
5079
  }
5195
5080
  var ModalTrigger = DialogPrimitive.Trigger;
@@ -5342,7 +5227,7 @@ var ModalFooter = React27.forwardRef(({ className, ...props }, ref) => /* @__PUR
5342
5227
  }
5343
5228
  ));
5344
5229
  ModalFooter.displayName = "ModalFooter";
5345
- var AlertModalRoot = AlertDialogPrimitive.Root;
5230
+ var AlertModal = AlertDialogPrimitive.Root;
5346
5231
  var AlertModalTrigger = AlertDialogPrimitive.Trigger;
5347
5232
  var AlertModalPortal = AlertDialogPrimitive.Portal;
5348
5233
  var AlertModalOverlay = React27.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React27.createElement(
@@ -5453,31 +5338,6 @@ var AlertModalCancel = React27.forwardRef(({ className, ...props }, ref) => /* @
5453
5338
  }
5454
5339
  ));
5455
5340
  AlertModalCancel.displayName = "AlertModalCancel";
5456
- var Modal = Object.assign(ModalRoot, {
5457
- Trigger: ModalTrigger,
5458
- Portal: ModalPortal,
5459
- Overlay: ModalOverlay,
5460
- Content: ModalContent,
5461
- Header: ModalHeader,
5462
- Title: ModalTitle,
5463
- Description: ModalDescription,
5464
- Body: ModalBody,
5465
- Footer: ModalFooter,
5466
- Close: ModalClose
5467
- });
5468
- var AlertModal = Object.assign(AlertModalRoot, {
5469
- Trigger: AlertModalTrigger,
5470
- Portal: AlertModalPortal,
5471
- Overlay: AlertModalOverlay,
5472
- Content: AlertModalContent,
5473
- Header: AlertModalHeader,
5474
- Title: AlertModalTitle,
5475
- Description: AlertModalDescription,
5476
- Body: AlertModalBody,
5477
- Footer: AlertModalFooter,
5478
- Action: AlertModalAction,
5479
- Cancel: AlertModalCancel
5480
- });
5481
5341
 
5482
5342
  // src/components/ui/drawer.tsx
5483
5343
  var React28 = __toESM(require("react"));
@@ -5525,7 +5385,7 @@ var drawerSizeVertical = (0, import_class_variance_authority23.cva)("", {
5525
5385
  },
5526
5386
  defaultVariants: { size: "md" }
5527
5387
  });
5528
- function DrawerRoot(props) {
5388
+ function Drawer(props) {
5529
5389
  return /* @__PURE__ */ React28.createElement(DialogPrimitive2.Root, { ...props });
5530
5390
  }
5531
5391
  var DrawerTrigger = DialogPrimitive2.Trigger;
@@ -5627,18 +5487,6 @@ var DrawerFooter = React28.forwardRef(({ className, ...props }, ref) => /* @__PU
5627
5487
  }
5628
5488
  ));
5629
5489
  DrawerFooter.displayName = "DrawerFooter";
5630
- var Drawer = Object.assign(DrawerRoot, {
5631
- Trigger: DrawerTrigger,
5632
- Portal: DrawerPortal,
5633
- Overlay: DrawerOverlay,
5634
- Content: DrawerContent,
5635
- Header: DrawerHeader,
5636
- Title: DrawerTitle,
5637
- Description: DrawerDescription,
5638
- Body: DrawerBody,
5639
- Footer: DrawerFooter,
5640
- Close: DrawerClose
5641
- });
5642
5490
 
5643
5491
  // src/components/ui/tooltip.tsx
5644
5492
  var React29 = __toESM(require("react"));
@@ -5674,7 +5522,7 @@ var ARROW_FILL = {
5674
5522
  inverted: "fill-background-paper drop-shadow-sm"
5675
5523
  };
5676
5524
  var TooltipProvider = TooltipPrimitive.Provider;
5677
- function TooltipRoot({ delayDuration = 200, ...props }) {
5525
+ function Tooltip({ delayDuration = 200, ...props }) {
5678
5526
  return /* @__PURE__ */ React29.createElement(TooltipPrimitive.Root, { delayDuration, ...props });
5679
5527
  }
5680
5528
  var TooltipTrigger = TooltipPrimitive.Trigger;
@@ -5717,13 +5565,6 @@ var TooltipArrow = React29.forwardRef(({ className, ...props }, ref) => /* @__PU
5717
5565
  }
5718
5566
  ));
5719
5567
  TooltipArrow.displayName = "TooltipArrow";
5720
- var Tooltip = Object.assign(TooltipRoot, {
5721
- Trigger: TooltipTrigger,
5722
- Content: TooltipContent,
5723
- Arrow: TooltipArrow,
5724
- Portal: TooltipPortal,
5725
- Provider: TooltipProvider
5726
- });
5727
5568
 
5728
5569
  // src/components/ui/popover.tsx
5729
5570
  var React30 = __toESM(require("react"));
@@ -5774,7 +5615,7 @@ var CSS_ARROW_CLASSES = {
5774
5615
  left: "-right-[5px] top-1/2 -translate-y-1/2 border-t border-r border-border"
5775
5616
  };
5776
5617
  var ARROW_ELEVATED = "fill-background-paper drop-shadow-sm";
5777
- function PopoverRoot(props) {
5618
+ function Popover(props) {
5778
5619
  return /* @__PURE__ */ React30.createElement(PopoverPrimitive.Root, { ...props });
5779
5620
  }
5780
5621
  var PopoverTrigger = PopoverPrimitive.Trigger;
@@ -5837,14 +5678,6 @@ var PopoverArrow = React30.forwardRef(({ className, ...props }, ref) => /* @__PU
5837
5678
  }
5838
5679
  ));
5839
5680
  PopoverArrow.displayName = "PopoverArrow";
5840
- var Popover = Object.assign(PopoverRoot, {
5841
- Trigger: PopoverTrigger,
5842
- Content: PopoverContent,
5843
- Arrow: PopoverArrow,
5844
- Close: PopoverClose,
5845
- Anchor: PopoverAnchor,
5846
- Portal: PopoverPortal
5847
- });
5848
5681
 
5849
5682
  // src/components/ui/alert.tsx
5850
5683
  var React31 = __toESM(require("react"));
@@ -5940,7 +5773,7 @@ var AlertContext = React31.createContext({
5940
5773
  function useAlertContext() {
5941
5774
  return React31.useContext(AlertContext);
5942
5775
  }
5943
- var AlertRoot = React31.forwardRef(
5776
+ var Alert = React31.forwardRef(
5944
5777
  ({
5945
5778
  className,
5946
5779
  variant = "default",
@@ -5989,7 +5822,7 @@ var AlertRoot = React31.forwardRef(
5989
5822
  ));
5990
5823
  }
5991
5824
  );
5992
- AlertRoot.displayName = "AlertRoot";
5825
+ Alert.displayName = "Alert";
5993
5826
  var AlertTitle = React31.forwardRef(
5994
5827
  ({ className, ...props }, ref) => {
5995
5828
  const { size } = useAlertContext();
@@ -6023,10 +5856,6 @@ var AlertDescription = React31.forwardRef(
6023
5856
  }
6024
5857
  );
6025
5858
  AlertDescription.displayName = "AlertDescription";
6026
- var Alert = Object.assign(AlertRoot, {
6027
- Title: AlertTitle,
6028
- Description: AlertDescription
6029
- });
6030
5859
 
6031
5860
  // src/components/ui/toast.tsx
6032
5861
  var React32 = __toESM(require("react"));
@@ -7287,7 +7116,7 @@ var iconSizeMap = {
7287
7116
  lg: "icon-sm"
7288
7117
  // 16px
7289
7118
  };
7290
- var QuickReplyRoot = React37.forwardRef(
7119
+ var QuickReply = React37.forwardRef(
7291
7120
  ({
7292
7121
  className,
7293
7122
  layout = "scroll",
@@ -7316,7 +7145,7 @@ var QuickReplyRoot = React37.forwardRef(
7316
7145
  ));
7317
7146
  }
7318
7147
  );
7319
- QuickReplyRoot.displayName = "QuickReply";
7148
+ QuickReply.displayName = "QuickReply";
7320
7149
  var QuickReplyItem = React37.forwardRef(
7321
7150
  ({ className, icon, asChild = false, children, ...props }, ref) => {
7322
7151
  const { size, variant, color, radius } = React37.useContext(QuickReplyContext);
@@ -7346,10 +7175,7 @@ var QuickReplyItem = React37.forwardRef(
7346
7175
  );
7347
7176
  }
7348
7177
  );
7349
- QuickReplyItem.displayName = "QuickReply.Item";
7350
- var QuickReply = Object.assign(QuickReplyRoot, {
7351
- Item: QuickReplyItem
7352
- });
7178
+ QuickReplyItem.displayName = "QuickReplyItem";
7353
7179
 
7354
7180
  // src/components/ui/chat-input.tsx
7355
7181
  var React38 = __toESM(require("react"));
@@ -7465,7 +7291,7 @@ var ChatInputContext = React38.createContext({
7465
7291
  _handleSubmit: () => {
7466
7292
  }
7467
7293
  });
7468
- var ChatInputRoot = React38.forwardRef(
7294
+ var ChatInput = React38.forwardRef(
7469
7295
  ({
7470
7296
  className,
7471
7297
  variant = "outline",
@@ -7540,7 +7366,7 @@ var ChatInputRoot = React38.forwardRef(
7540
7366
  ));
7541
7367
  }
7542
7368
  );
7543
- ChatInputRoot.displayName = "ChatInput";
7369
+ ChatInput.displayName = "ChatInput";
7544
7370
  var ChatInputField = React38.forwardRef(
7545
7371
  ({
7546
7372
  className,
@@ -7625,7 +7451,7 @@ var ChatInputField = React38.forwardRef(
7625
7451
  ));
7626
7452
  }
7627
7453
  );
7628
- ChatInputField.displayName = "ChatInput.Field";
7454
+ ChatInputField.displayName = "ChatInputField";
7629
7455
  var ChatInputSubmit = React38.forwardRef(
7630
7456
  ({
7631
7457
  className,
@@ -7693,7 +7519,7 @@ var ChatInputSubmit = React38.forwardRef(
7693
7519
  ));
7694
7520
  }
7695
7521
  );
7696
- ChatInputSubmit.displayName = "ChatInput.Submit";
7522
+ ChatInputSubmit.displayName = "ChatInputSubmit";
7697
7523
  function SendIcon() {
7698
7524
  return /* @__PURE__ */ React38.createElement(
7699
7525
  "svg",
@@ -7713,10 +7539,6 @@ function SendIcon() {
7713
7539
  function StopIcon() {
7714
7540
  return /* @__PURE__ */ React38.createElement("svg", { viewBox: "0 0 24 24", fill: "currentColor", className: "w-full h-full" }, /* @__PURE__ */ React38.createElement("rect", { x: "5", y: "5", width: "14", height: "14", rx: "2" }));
7715
7541
  }
7716
- var ChatInput = Object.assign(ChatInputRoot, {
7717
- Field: ChatInputField,
7718
- Submit: ChatInputSubmit
7719
- });
7720
7542
 
7721
7543
  // src/components/ui/chat-message.tsx
7722
7544
  var React39 = __toESM(require("react"));
@@ -7811,7 +7633,7 @@ var typingMinWidthMap = {
7811
7633
  default: "min-w-12",
7812
7634
  lg: "min-w-16"
7813
7635
  };
7814
- var ChatMessageRoot = React39.forwardRef(
7636
+ var ChatMessage = React39.forwardRef(
7815
7637
  ({
7816
7638
  className,
7817
7639
  role = "assistant",
@@ -7847,7 +7669,7 @@ var ChatMessageRoot = React39.forwardRef(
7847
7669
  ));
7848
7670
  }
7849
7671
  );
7850
- ChatMessageRoot.displayName = "ChatMessage";
7672
+ ChatMessage.displayName = "ChatMessage";
7851
7673
  function DefaultAiIcon() {
7852
7674
  return /* @__PURE__ */ React39.createElement("svg", { viewBox: "0 0 24 24", fill: "currentColor", className: "w-3/5 h-3/5", "aria-hidden": "true" }, /* @__PURE__ */ React39.createElement("path", { d: "M12 3l1.8 5.4 5.4 1.8-5.4 1.8L12 17.4l-1.8-5.4L4.8 10.2l5.4-1.8z" }), /* @__PURE__ */ React39.createElement("path", { d: "M19.5 3.5l.8 2.4 2.4.8-2.4.8L19.5 10l-.8-2.5-2.4-.8 2.4-.8z", opacity: ".6" }), /* @__PURE__ */ React39.createElement("path", { d: "M4.5 14.5l.7 2 2 .7-2 .7L4.5 20l-.7-2-2-.7 2-.7z", opacity: ".4" }));
7853
7675
  }
@@ -7863,7 +7685,7 @@ var ChatMessageAvatar = React39.forwardRef(
7863
7685
  /* @__PURE__ */ React39.createElement(AvatarFallback, { className: cn("font-semibold", chatAvatarFontMap[avatarSize]) }, icon ?? (initials || /* @__PURE__ */ React39.createElement(DefaultAiIcon, null)))
7864
7686
  )
7865
7687
  );
7866
- ChatMessageAvatar.displayName = "ChatMessage.Avatar";
7688
+ ChatMessageAvatar.displayName = "ChatMessageAvatar";
7867
7689
  var ChatMessageContent = React39.forwardRef(
7868
7690
  ({ className, children, ...props }, ref) => {
7869
7691
  const { role, variant, color, size, radius, tail, typing, actions } = React39.useContext(ChatMessageContext);
@@ -7906,7 +7728,7 @@ var ChatMessageContent = React39.forwardRef(
7906
7728
  ) }, actions));
7907
7729
  }
7908
7730
  );
7909
- ChatMessageContent.displayName = "ChatMessage.Content";
7731
+ ChatMessageContent.displayName = "ChatMessageContent";
7910
7732
  var ChatMessageFooter = React39.forwardRef(
7911
7733
  ({
7912
7734
  className,
@@ -7948,12 +7770,7 @@ var ChatMessageFooter = React39.forwardRef(
7948
7770
  );
7949
7771
  }
7950
7772
  );
7951
- ChatMessageFooter.displayName = "ChatMessage.Footer";
7952
- var ChatMessage = Object.assign(ChatMessageRoot, {
7953
- Avatar: ChatMessageAvatar,
7954
- Content: ChatMessageContent,
7955
- Footer: ChatMessageFooter
7956
- });
7773
+ ChatMessageFooter.displayName = "ChatMessageFooter";
7957
7774
  // Annotate the CommonJS export names for ESM import in node:
7958
7775
  0 && (module.exports = {
7959
7776
  Accordion,
@@ -7974,7 +7791,6 @@ var ChatMessage = Object.assign(ChatMessageRoot, {
7974
7791
  AlertModalPortal,
7975
7792
  AlertModalTitle,
7976
7793
  AlertModalTrigger,
7977
- AlertRoot,
7978
7794
  AlertTitle,
7979
7795
  Avatar,
7980
7796
  AvatarFallback,
@@ -8000,13 +7816,11 @@ var ChatMessage = Object.assign(ChatMessageRoot, {
8000
7816
  CardTitle,
8001
7817
  ChatInput,
8002
7818
  ChatInputField,
8003
- ChatInputRoot,
8004
7819
  ChatInputSubmit,
8005
7820
  ChatMessage,
8006
7821
  ChatMessageAvatar,
8007
7822
  ChatMessageContent,
8008
7823
  ChatMessageFooter,
8009
- ChatMessageRoot,
8010
7824
  Checkbox,
8011
7825
  Divider,
8012
7826
  Drawer,
@@ -8018,7 +7832,6 @@ var ChatMessage = Object.assign(ChatMessageRoot, {
8018
7832
  DrawerHeader,
8019
7833
  DrawerOverlay,
8020
7834
  DrawerPortal,
8021
- DrawerRoot,
8022
7835
  DrawerTitle,
8023
7836
  DrawerTrigger,
8024
7837
  DropdownMenu,
@@ -8084,12 +7897,10 @@ var ChatMessage = Object.assign(ChatMessageRoot, {
8084
7897
  PopoverClose,
8085
7898
  PopoverContent,
8086
7899
  PopoverPortal,
8087
- PopoverRoot,
8088
7900
  PopoverTrigger,
8089
7901
  Progress,
8090
7902
  QuickReply,
8091
7903
  QuickReplyItem,
8092
- QuickReplyRoot,
8093
7904
  RadioGroup,
8094
7905
  RadioGroupItem,
8095
7906
  Segmented,
@@ -8128,7 +7939,6 @@ var ChatMessage = Object.assign(ChatMessageRoot, {
8128
7939
  TooltipContent,
8129
7940
  TooltipPortal,
8130
7941
  TooltipProvider,
8131
- TooltipRoot,
8132
7942
  TooltipTrigger,
8133
7943
  TypingIndicator,
8134
7944
  accordionTriggerVariants,