@vuer-ai/vuer-uikit 0.0.29 → 0.0.31

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.
Files changed (78) hide show
  1. package/dist/{chunk-GM6ZAFCM.mjs → chunk-2QJF6YMB.mjs} +5 -15
  2. package/dist/{chunk-OLIRY7YF.mjs → chunk-47WYS4WO.mjs} +107 -109
  3. package/dist/{chunk-MP3L7ZVI.mjs → chunk-ALTGL7MF.mjs} +57 -40
  4. package/dist/{chunk-AQWYFBXL.js → chunk-CCNGF3D2.js} +1 -4
  5. package/dist/{chunk-DNDWCHEB.js → chunk-CZBGKVGH.js} +93 -35
  6. package/dist/{chunk-MFQ3ZHFJ.mjs → chunk-D6KVE3E3.mjs} +28 -43
  7. package/dist/{chunk-FA7B4T24.mjs → chunk-EXM36UYZ.mjs} +2 -16
  8. package/dist/{chunk-WU66I4PW.mjs → chunk-HQX4LDOI.mjs} +71 -35
  9. package/dist/{chunk-EAZWH4U4.js → chunk-J2ZRCEKZ.js} +107 -109
  10. package/dist/{chunk-JBUN2HUK.mjs → chunk-JCUMV4F7.mjs} +1 -4
  11. package/dist/{chunk-OE5HF5A6.mjs → chunk-LD654LL2.mjs} +4 -4
  12. package/dist/{chunk-XSREJYEX.js → chunk-LKFZSASJ.js} +28 -43
  13. package/dist/{chunk-S7UWM46Z.mjs → chunk-MFXAWZIK.mjs} +15 -15
  14. package/dist/{chunk-F4BR4V3S.mjs → chunk-MGHV5V6D.mjs} +1 -1
  15. package/dist/{chunk-V2DDMNVD.js → chunk-NC6NIC5C.js} +16 -16
  16. package/dist/{chunk-Y4EFNE6Q.mjs → chunk-NKNUMZJL.mjs} +22 -14
  17. package/dist/{chunk-6CABRTQF.js → chunk-PBQSATSN.js} +71 -35
  18. package/dist/{chunk-B4C6WQKH.js → chunk-Q73WG234.js} +57 -40
  19. package/dist/{chunk-2EMN6VM2.js → chunk-QF5IKMHU.js} +5 -15
  20. package/dist/{chunk-IEA6DQ7J.js → chunk-R3SHGA4V.js} +22 -14
  21. package/dist/{chunk-F2S3PF25.mjs → chunk-SHQFIJDC.mjs} +11 -9
  22. package/dist/{chunk-OCNRBXK4.mjs → chunk-TZLILQLV.mjs} +73 -36
  23. package/dist/{chunk-6VRLWVXF.mjs → chunk-VN2N7EAO.mjs} +2 -2
  24. package/dist/{chunk-PKDNA72Q.js → chunk-W3AIC7FW.js} +2 -16
  25. package/dist/{chunk-HTU7SD4O.js → chunk-WCK3EIS2.js} +4 -4
  26. package/dist/{chunk-QPGCDLOI.js → chunk-X2LJ5T2W.js} +11 -9
  27. package/dist/{chunk-HUHNQPQH.js → chunk-X5JZF4L3.js} +1 -1
  28. package/dist/{chunk-XLIICBKP.js → chunk-XWC6N2UQ.js} +4 -4
  29. package/dist/highlight-cursor/enhanced-components.js +8 -8
  30. package/dist/highlight-cursor/enhanced-components.mjs +3 -3
  31. package/dist/highlight-cursor/index.js +8 -8
  32. package/dist/highlight-cursor/index.mjs +3 -3
  33. package/dist/index.js +163 -79
  34. package/dist/index.mjs +14 -14
  35. package/dist/ui/collapsible.js +4 -4
  36. package/dist/ui/collapsible.mjs +1 -1
  37. package/dist/ui/dropdown.js +16 -16
  38. package/dist/ui/dropdown.mjs +1 -1
  39. package/dist/ui/index.js +157 -73
  40. package/dist/ui/index.mjs +13 -13
  41. package/dist/ui/input-numbers.js +2 -2
  42. package/dist/ui/input-numbers.mjs +1 -1
  43. package/dist/ui/modal.js +11 -11
  44. package/dist/ui/modal.mjs +1 -1
  45. package/dist/ui/popover.js +5 -5
  46. package/dist/ui/popover.mjs +1 -1
  47. package/dist/ui/select.js +95 -11
  48. package/dist/ui/select.mjs +1 -1
  49. package/dist/ui/sheet.js +9 -9
  50. package/dist/ui/sheet.mjs +1 -1
  51. package/dist/ui/slider.js +2 -2
  52. package/dist/ui/slider.mjs +1 -1
  53. package/dist/ui/tabs.js +5 -5
  54. package/dist/ui/tabs.mjs +1 -1
  55. package/dist/ui/timeline.js +3 -3
  56. package/dist/ui/timeline.mjs +2 -2
  57. package/dist/ui/tree-view-v2.js +2 -2
  58. package/dist/ui/tree-view-v2.mjs +1 -1
  59. package/dist/ui/tree-view.js +2 -2
  60. package/dist/ui/tree-view.mjs +1 -1
  61. package/dist/ui/version-badge.js +2 -2
  62. package/dist/ui/version-badge.mjs +1 -1
  63. package/package.json +1 -1
  64. package/src/hooks/useDocument.tsx +3 -3
  65. package/src/hooks/useWindow.tsx +3 -3
  66. package/src/index.css +1 -1
  67. package/src/ui/collapsible.tsx +16 -7
  68. package/src/ui/dropdown.tsx +57 -39
  69. package/src/ui/input-numbers.tsx +84 -37
  70. package/src/ui/modal.tsx +2 -10
  71. package/src/ui/popover.tsx +1 -4
  72. package/src/ui/select.tsx +35 -6
  73. package/src/ui/sheet.tsx +9 -20
  74. package/src/ui/slider.tsx +97 -98
  75. package/src/ui/tabs.tsx +2 -10
  76. package/src/ui/timeline.tsx +15 -15
  77. package/src/ui/tree-view-v2.tsx +4 -4
  78. package/src/ui/tree-view.tsx +8 -2
@@ -23,20 +23,13 @@ function SheetCloseRoot({ ...props }) {
23
23
  SheetPrimitive.Close,
24
24
  {
25
25
  "data-slot": "sheet-close",
26
- className: cn("focus:outline-none focus:ring-0"),
26
+ className: cn("focus:ring-0 focus:outline-none"),
27
27
  ...props
28
28
  }
29
29
  );
30
30
  }
31
31
  function SheetCloseFallback({ ...props }) {
32
- return /* @__PURE__ */ jsx(
33
- "button",
34
- {
35
- "data-slot": "sheet-close",
36
- className: cn("focus:outline-none focus:ring-0"),
37
- ...props
38
- }
39
- );
32
+ return /* @__PURE__ */ jsx("button", { "data-slot": "sheet-close", className: cn("focus:ring-0 focus:outline-none"), ...props });
40
33
  }
41
34
  var SheetClose = createClientOnlyComponent(SheetCloseRoot, SheetCloseFallback);
42
35
  function SheetPortal({ ...props }) {
@@ -78,7 +71,7 @@ function SheetContentRoot({
78
71
  ...props,
79
72
  children: [
80
73
  children,
81
- /* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "text-icon-primary hover:text-icon-highlight absolute right-4 top-4 disabled:pointer-events-none", children: [
74
+ /* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "text-icon-primary hover:text-icon-highlight absolute top-4 right-4 disabled:pointer-events-none", children: [
82
75
  /* @__PURE__ */ jsx(XIcon, { className: "size-4" }),
83
76
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
84
77
  ] })
@@ -108,7 +101,7 @@ function SheetContentFallback({
108
101
  ...props,
109
102
  children: [
110
103
  children,
111
- /* @__PURE__ */ jsxs("button", { className: "text-icon-primary hover:text-icon-highlight absolute right-4 top-4 disabled:pointer-events-none", children: [
104
+ /* @__PURE__ */ jsxs("button", { className: "text-icon-primary hover:text-icon-highlight absolute top-4 right-4 disabled:pointer-events-none", children: [
112
105
  /* @__PURE__ */ jsx(XIcon, { className: "size-4" }),
113
106
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
114
107
  ] })
@@ -171,10 +164,7 @@ function SheetDescriptionRoot({
171
164
  }
172
165
  );
173
166
  }
174
- function SheetDescriptionFallback({
175
- className,
176
- ...props
177
- }) {
167
+ function SheetDescriptionFallback({ className, ...props }) {
178
168
  return /* @__PURE__ */ jsx(
179
169
  "p",
180
170
  {
@@ -4,111 +4,113 @@ import * as SliderPrimitive from '@radix-ui/react-slider';
4
4
  import { forwardRef, useState, useMemo } from 'react';
5
5
  import { jsxs, jsx } from 'react/jsx-runtime';
6
6
 
7
- var SliderRoot = forwardRef(function SliderRoot2({
8
- className,
9
- defaultValue,
10
- value,
11
- onValueChange,
12
- showStep = false,
13
- step = 1,
14
- min = 0,
15
- max = 100,
16
- ...props
17
- }, ref) {
18
- const [currentValue, setCurrentValue] = useState(value ?? defaultValue ?? [0]);
19
- const _values = useMemo(
20
- () => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max],
21
- [value, defaultValue, min, max]
22
- );
23
- return /* @__PURE__ */ jsxs(
24
- SliderPrimitive.Root,
25
- {
26
- "data-slot": "slider",
27
- value,
28
- defaultValue,
29
- onValueChange: (v) => {
30
- onValueChange == null ? void 0 : onValueChange(v);
31
- setCurrentValue(v);
32
- },
33
- ref,
34
- min,
35
- max,
36
- step,
37
- className: cn(
38
- "relative",
39
- "flex",
40
- "w-full",
41
- "touch-none",
42
- "select-none",
43
- "items-center",
44
- "data-[orientation=vertical]:h-full",
45
- "data-[orientation=vertical]:min-h-44",
46
- "data-[orientation=vertical]:w-auto",
47
- "data-[orientation=vertical]:flex-col",
48
- className
49
- ),
50
- ...props,
51
- children: [
52
- /* @__PURE__ */ jsx(
53
- SliderPrimitive.Track,
54
- {
55
- "data-slot": "slider-track",
56
- className: cn(
57
- "peer/slider-track",
58
- "bg-line-primary",
59
- "relative",
60
- "grow",
61
- "overflow-hidden",
62
- "rounded-full",
63
- "data-[disabled]:bg-bg-secondary",
64
- "data-[orientation=vertical]:w-0.5",
65
- "data-[orientation=vertical]:h-full",
66
- "data-[orientation=horizontal]:h-0.5",
67
- "data-[orientation=horizontal]:w-full"
68
- ),
69
- children: /* @__PURE__ */ jsx(
70
- SliderPrimitive.Range,
71
- {
72
- "data-slot": "slider-range",
73
- className: cn(
74
- "bg-brand-primary",
75
- "absolute",
76
- "data-[disabled]:bg-bg-secondary",
77
- "data-[orientation=vertical]:w-full",
78
- "data-[orientation=horizontal]:h-full"
79
- )
80
- }
81
- )
82
- }
7
+ var SliderRoot = forwardRef(
8
+ function SliderRoot2({
9
+ className,
10
+ defaultValue,
11
+ value,
12
+ onValueChange,
13
+ showStep = false,
14
+ step = 1,
15
+ min = 0,
16
+ max = 100,
17
+ ...props
18
+ }, ref) {
19
+ const [currentValue, setCurrentValue] = useState(value ?? defaultValue ?? [0]);
20
+ const _values = useMemo(
21
+ () => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max],
22
+ [value, defaultValue, min, max]
23
+ );
24
+ return /* @__PURE__ */ jsxs(
25
+ SliderPrimitive.Root,
26
+ {
27
+ "data-slot": "slider",
28
+ value,
29
+ defaultValue,
30
+ onValueChange: (v) => {
31
+ onValueChange == null ? void 0 : onValueChange(v);
32
+ setCurrentValue(v);
33
+ },
34
+ ref,
35
+ min,
36
+ max,
37
+ step,
38
+ className: cn(
39
+ "relative",
40
+ "flex",
41
+ "w-full",
42
+ "touch-none",
43
+ "select-none",
44
+ "items-center",
45
+ "data-[orientation=vertical]:h-full",
46
+ "data-[orientation=vertical]:min-h-44",
47
+ "data-[orientation=vertical]:w-auto",
48
+ "data-[orientation=vertical]:flex-col",
49
+ className
83
50
  ),
84
- showStep && /* @__PURE__ */ jsx(SliderSteps, { currentValue, max, min, step }),
85
- Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ jsx(
86
- SliderPrimitive.Thumb,
87
- {
88
- "data-slot": "slider-thumb",
89
- className: cn(
90
- "ring-brand-primary/50",
91
- "bg-brand-primary",
92
- "block",
93
- "h-4",
94
- "w-[0.6rem]",
95
- "shrink-0",
96
- "rounded-[3px]",
97
- "transition-[color,box-shadow]",
98
- "hover:ring-4",
99
- "hover:cursor-ew-resize",
100
- "focus-visible:ring-4",
101
- "focus-visible:outline-hidden",
102
- "data-[disabled]:bg-bg-tertiary",
103
- "data-[disabled]:pointer-events-none"
104
- )
105
- },
106
- index
107
- ))
108
- ]
109
- }
110
- );
111
- });
51
+ ...props,
52
+ children: [
53
+ /* @__PURE__ */ jsx(
54
+ SliderPrimitive.Track,
55
+ {
56
+ "data-slot": "slider-track",
57
+ className: cn(
58
+ "peer/slider-track",
59
+ "bg-line-primary",
60
+ "relative",
61
+ "grow",
62
+ "overflow-hidden",
63
+ "rounded-full",
64
+ "data-[disabled]:bg-bg-secondary",
65
+ "data-[orientation=vertical]:w-0.5",
66
+ "data-[orientation=vertical]:h-full",
67
+ "data-[orientation=horizontal]:h-0.5",
68
+ "data-[orientation=horizontal]:w-full"
69
+ ),
70
+ children: /* @__PURE__ */ jsx(
71
+ SliderPrimitive.Range,
72
+ {
73
+ "data-slot": "slider-range",
74
+ className: cn(
75
+ "bg-brand-primary",
76
+ "absolute",
77
+ "data-[disabled]:bg-bg-secondary",
78
+ "data-[orientation=vertical]:w-full",
79
+ "data-[orientation=horizontal]:h-full"
80
+ )
81
+ }
82
+ )
83
+ }
84
+ ),
85
+ showStep && /* @__PURE__ */ jsx(SliderSteps, { currentValue, max, min, step }),
86
+ Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ jsx(
87
+ SliderPrimitive.Thumb,
88
+ {
89
+ "data-slot": "slider-thumb",
90
+ className: cn(
91
+ "ring-brand-primary/50",
92
+ "bg-brand-primary",
93
+ "block",
94
+ "h-4",
95
+ "w-[0.6rem]",
96
+ "shrink-0",
97
+ "rounded-[3px]",
98
+ "transition-[color,box-shadow]",
99
+ "hover:ring-4",
100
+ "hover:cursor-ew-resize",
101
+ "focus-visible:ring-4",
102
+ "focus-visible:outline-hidden",
103
+ "data-[disabled]:bg-bg-tertiary",
104
+ "data-[disabled]:pointer-events-none"
105
+ )
106
+ },
107
+ index
108
+ ))
109
+ ]
110
+ }
111
+ );
112
+ }
113
+ );
112
114
  var SliderFallback = forwardRef(function SliderFallback2({
113
115
  className,
114
116
  defaultValue,
@@ -158,11 +160,7 @@ var SliderFallback = forwardRef(function SliderFallback2({
158
160
  "div",
159
161
  {
160
162
  "data-slot": "slider-range",
161
- className: cn(
162
- "bg-brand-primary",
163
- "absolute",
164
- "h-full"
165
- ),
163
+ className: cn("bg-brand-primary", "absolute", "h-full"),
166
164
  style: { width: `${((currentValue[0] ?? min) - min) / (max - min) * 100}%` }
167
165
  }
168
166
  )
@@ -17,8 +17,13 @@ function DropdownMenuPortalRoot({ ...props }) {
17
17
  function DropdownMenuPortalFallback({ children }) {
18
18
  return /* @__PURE__ */ jsx("div", { "data-slot": "dropdown-menu-portal", children });
19
19
  }
20
- var DropdownMenuPortal = createClientOnlyComponent(DropdownMenuPortalRoot, DropdownMenuPortalFallback);
21
- function DropdownMenuTriggerRoot({ ...props }) {
20
+ var DropdownMenuPortal = createClientOnlyComponent(
21
+ DropdownMenuPortalRoot,
22
+ DropdownMenuPortalFallback
23
+ );
24
+ function DropdownMenuTriggerRoot({
25
+ ...props
26
+ }) {
22
27
  return /* @__PURE__ */ jsx(
23
28
  DropdownMenuPrimitive.Trigger,
24
29
  {
@@ -28,7 +33,10 @@ function DropdownMenuTriggerRoot({ ...props }) {
28
33
  }
29
34
  );
30
35
  }
31
- function DropdownMenuTriggerFallback({ asChild, ...props }) {
36
+ function DropdownMenuTriggerFallback({
37
+ asChild,
38
+ ...props
39
+ }) {
32
40
  return /* @__PURE__ */ jsx(
33
41
  "button",
34
42
  {
@@ -38,7 +46,10 @@ function DropdownMenuTriggerFallback({ asChild, ...props }) {
38
46
  }
39
47
  );
40
48
  }
41
- var DropdownMenuTrigger = createClientOnlyComponent(DropdownMenuTriggerRoot, DropdownMenuTriggerFallback);
49
+ var DropdownMenuTrigger = createClientOnlyComponent(
50
+ DropdownMenuTriggerRoot,
51
+ DropdownMenuTriggerFallback
52
+ );
42
53
  function DropdownMenuContentRoot({
43
54
  className,
44
55
  sideOffset = 4,
@@ -80,10 +91,7 @@ function DropdownMenuContentRoot({
80
91
  }
81
92
  ) });
82
93
  }
83
- function DropdownMenuContentFallback({
84
- className,
85
- ...props
86
- }) {
94
+ function DropdownMenuContentFallback({ className, ...props }) {
87
95
  return /* @__PURE__ */ jsx(
88
96
  "div",
89
97
  {
@@ -107,7 +115,10 @@ function DropdownMenuContentFallback({
107
115
  }
108
116
  );
109
117
  }
110
- var DropdownMenuContent = createClientOnlyComponent(DropdownMenuContentRoot, DropdownMenuContentFallback);
118
+ var DropdownMenuContent = createClientOnlyComponent(
119
+ DropdownMenuContentRoot,
120
+ DropdownMenuContentFallback
121
+ );
111
122
  function DropdownMenuGroupRoot({
112
123
  className,
113
124
  ...props
@@ -121,20 +132,13 @@ function DropdownMenuGroupRoot({
121
132
  }
122
133
  );
123
134
  }
124
- function DropdownMenuGroupFallback({
125
- className,
126
- ...props
127
- }) {
128
- return /* @__PURE__ */ jsx(
129
- "div",
130
- {
131
- "data-slot": "dropdown-menu-group",
132
- className: cn("space-y-xs", className),
133
- ...props
134
- }
135
- );
135
+ function DropdownMenuGroupFallback({ className, ...props }) {
136
+ return /* @__PURE__ */ jsx("div", { "data-slot": "dropdown-menu-group", className: cn("space-y-xs", className), ...props });
136
137
  }
137
- var DropdownMenuGroup = createClientOnlyComponent(DropdownMenuGroupRoot, DropdownMenuGroupFallback);
138
+ var DropdownMenuGroup = createClientOnlyComponent(
139
+ DropdownMenuGroupRoot,
140
+ DropdownMenuGroupFallback
141
+ );
138
142
  function DropdownMenuItemRoot({
139
143
  className,
140
144
  inset,
@@ -313,18 +317,22 @@ function DropdownMenuCheckboxItemFallback({
313
317
  }
314
318
  );
315
319
  }
316
- var DropdownMenuCheckboxItem = createClientOnlyComponent(DropdownMenuCheckboxItemRoot, DropdownMenuCheckboxItemFallback);
320
+ var DropdownMenuCheckboxItem = createClientOnlyComponent(
321
+ DropdownMenuCheckboxItemRoot,
322
+ DropdownMenuCheckboxItemFallback
323
+ );
317
324
  function DropdownMenuRadioGroupRoot({
318
325
  ...props
319
326
  }) {
320
327
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.RadioGroup, { "data-slot": "dropdown-menu-radio-group", ...props });
321
328
  }
322
- function DropdownMenuRadioGroupFallback({
323
- ...props
324
- }) {
329
+ function DropdownMenuRadioGroupFallback({ ...props }) {
325
330
  return /* @__PURE__ */ jsx("div", { "data-slot": "dropdown-menu-radio-group", ...props });
326
331
  }
327
- var DropdownMenuRadioGroup = createClientOnlyComponent(DropdownMenuRadioGroupRoot, DropdownMenuRadioGroupFallback);
332
+ var DropdownMenuRadioGroup = createClientOnlyComponent(
333
+ DropdownMenuRadioGroupRoot,
334
+ DropdownMenuRadioGroupFallback
335
+ );
328
336
  function DropdownMenuRadioItemRoot({
329
337
  className,
330
338
  children,
@@ -412,7 +420,10 @@ function DropdownMenuRadioItemFallback({
412
420
  }
413
421
  );
414
422
  }
415
- var DropdownMenuRadioItem = createClientOnlyComponent(DropdownMenuRadioItemRoot, DropdownMenuRadioItemFallback);
423
+ var DropdownMenuRadioItem = createClientOnlyComponent(
424
+ DropdownMenuRadioItemRoot,
425
+ DropdownMenuRadioItemFallback
426
+ );
416
427
  function DropdownMenuLabelRoot({
417
428
  className,
418
429
  inset,
@@ -443,7 +454,10 @@ function DropdownMenuLabelFallback({
443
454
  }
444
455
  );
445
456
  }
446
- var DropdownMenuLabel = createClientOnlyComponent(DropdownMenuLabelRoot, DropdownMenuLabelFallback);
457
+ var DropdownMenuLabel = createClientOnlyComponent(
458
+ DropdownMenuLabelRoot,
459
+ DropdownMenuLabelFallback
460
+ );
447
461
  function DropdownMenuSeparatorRoot({
448
462
  className,
449
463
  ...props
@@ -457,10 +471,7 @@ function DropdownMenuSeparatorRoot({
457
471
  }
458
472
  );
459
473
  }
460
- function DropdownMenuSeparatorFallback({
461
- className,
462
- ...props
463
- }) {
474
+ function DropdownMenuSeparatorFallback({ className, ...props }) {
464
475
  return /* @__PURE__ */ jsx(
465
476
  "div",
466
477
  {
@@ -470,7 +481,10 @@ function DropdownMenuSeparatorFallback({
470
481
  }
471
482
  );
472
483
  }
473
- var DropdownMenuSeparator = createClientOnlyComponent(DropdownMenuSeparatorRoot, DropdownMenuSeparatorFallback);
484
+ var DropdownMenuSeparator = createClientOnlyComponent(
485
+ DropdownMenuSeparatorRoot,
486
+ DropdownMenuSeparatorFallback
487
+ );
474
488
  function DropdownMenuShortcut({ className, ...props }) {
475
489
  return /* @__PURE__ */ jsx(
476
490
  "span",
@@ -576,7 +590,10 @@ function DropdownMenuSubTriggerFallback({
576
590
  }
577
591
  );
578
592
  }
579
- var DropdownMenuSubTrigger = createClientOnlyComponent(DropdownMenuSubTriggerRoot, DropdownMenuSubTriggerFallback);
593
+ var DropdownMenuSubTrigger = createClientOnlyComponent(
594
+ DropdownMenuSubTriggerRoot,
595
+ DropdownMenuSubTriggerFallback
596
+ );
580
597
  function DropdownMenuSubContentRoot({
581
598
  className,
582
599
  ...props
@@ -614,10 +631,7 @@ function DropdownMenuSubContentRoot({
614
631
  }
615
632
  );
616
633
  }
617
- function DropdownMenuSubContentFallback({
618
- className,
619
- ...props
620
- }) {
634
+ function DropdownMenuSubContentFallback({ className, ...props }) {
621
635
  return /* @__PURE__ */ jsx(
622
636
  "div",
623
637
  {
@@ -639,6 +653,9 @@ function DropdownMenuSubContentFallback({
639
653
  }
640
654
  );
641
655
  }
642
- var DropdownMenuSubContent = createClientOnlyComponent(DropdownMenuSubContentRoot, DropdownMenuSubContentFallback);
656
+ var DropdownMenuSubContent = createClientOnlyComponent(
657
+ DropdownMenuSubContentRoot,
658
+ DropdownMenuSubContentFallback
659
+ );
643
660
 
644
661
  export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger };
@@ -78,10 +78,7 @@ function PopoverContentRoot({
78
78
  }
79
79
  ) });
80
80
  }
81
- function PopoverContentFallback({
82
- className,
83
- ...props
84
- }) {
81
+ function PopoverContentFallback({ className, ...props }) {
85
82
  return /* @__PURE__ */ jsxRuntime.jsx(
86
83
  "div",
87
84
  {