@blocknote/shadcn 0.42.2 → 0.43.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.
@@ -17,7 +17,7 @@ import * as x from "@radix-ui/react-select";
17
17
  import * as T from "@radix-ui/react-tabs";
18
18
  import * as me from "@radix-ui/react-toggle";
19
19
  import * as N from "@radix-ui/react-tooltip";
20
- function i(...e) {
20
+ function d(...e) {
21
21
  return ie(se(e));
22
22
  }
23
23
  function pe({
@@ -28,7 +28,7 @@ function pe({
28
28
  D.Root,
29
29
  {
30
30
  "data-slot": "avatar",
31
- className: i(
31
+ className: d(
32
32
  "relative flex size-8 shrink-0 overflow-hidden rounded-full",
33
33
  e
34
34
  ),
@@ -44,7 +44,7 @@ function ge({
44
44
  D.Image,
45
45
  {
46
46
  "data-slot": "avatar-image",
47
- className: i("aspect-square size-full", e),
47
+ className: d("aspect-square size-full", e),
48
48
  ...t
49
49
  }
50
50
  );
@@ -57,7 +57,7 @@ function ve({
57
57
  D.Fallback,
58
58
  {
59
59
  "data-slot": "avatar-fallback",
60
- className: i(
60
+ className: d(
61
61
  "bg-muted flex size-full items-center justify-center rounded-full",
62
62
  e
63
63
  ),
@@ -91,7 +91,7 @@ function be({
91
91
  n ? A : "span",
92
92
  {
93
93
  "data-slot": "badge",
94
- className: i(fe({ variant: t }), e),
94
+ className: d(fe({ variant: t }), e),
95
95
  ...a
96
96
  }
97
97
  );
@@ -132,7 +132,7 @@ function xe({
132
132
  a ? A : "button",
133
133
  {
134
134
  "data-slot": "button",
135
- className: i(he({ variant: t, size: n, className: e })),
135
+ className: d(he({ variant: t, size: n, className: e })),
136
136
  ...r
137
137
  }
138
138
  );
@@ -142,7 +142,7 @@ function we({ className: e, ...t }) {
142
142
  "div",
143
143
  {
144
144
  "data-slot": "card",
145
- className: i(
145
+ className: d(
146
146
  "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
147
147
  e
148
148
  ),
@@ -155,7 +155,7 @@ function Ce({ className: e, ...t }) {
155
155
  "div",
156
156
  {
157
157
  "data-slot": "card-content",
158
- className: i("px-6", e),
158
+ className: d("px-6", e),
159
159
  ...t
160
160
  }
161
161
  );
@@ -186,7 +186,7 @@ function Te({
186
186
  {
187
187
  "data-slot": "dropdown-menu-content",
188
188
  sideOffset: t,
189
- className: i(
189
+ className: d(
190
190
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border p-1 shadow-md",
191
191
  e
192
192
  ),
@@ -206,7 +206,7 @@ function ye({
206
206
  "data-slot": "dropdown-menu-item",
207
207
  "data-inset": t,
208
208
  "data-variant": n,
209
- className: i(
209
+ className: d(
210
210
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*=text-])]:text-muted-foreground outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[disabled]:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
211
211
  e
212
212
  ),
@@ -224,7 +224,7 @@ function ke({
224
224
  w.CheckboxItem,
225
225
  {
226
226
  "data-slot": "dropdown-menu-checkbox-item",
227
- className: i(
227
+ className: d(
228
228
  "focus:bg-accent focus:text-accent-foreground outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm py-1.5 pl-8 pr-2 text-sm data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
229
229
  e
230
230
  ),
@@ -247,7 +247,7 @@ function Me({
247
247
  {
248
248
  "data-slot": "dropdown-menu-label",
249
249
  "data-inset": t,
250
- className: i(
250
+ className: d(
251
251
  "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
252
252
  e
253
253
  ),
@@ -263,7 +263,7 @@ function ze({
263
263
  w.Separator,
264
264
  {
265
265
  "data-slot": "dropdown-menu-separator",
266
- className: i("bg-border -mx-1 my-1 h-px", e),
266
+ className: d("bg-border -mx-1 my-1 h-px", e),
267
267
  ...t
268
268
  }
269
269
  );
@@ -284,7 +284,7 @@ function Ie({
284
284
  {
285
285
  "data-slot": "dropdown-menu-sub-trigger",
286
286
  "data-inset": t,
287
- className: i(
287
+ className: d(
288
288
  "focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground outline-hidden flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm data-[inset]:pl-8",
289
289
  e
290
290
  ),
@@ -304,7 +304,7 @@ function Be({
304
304
  w.SubContent,
305
305
  {
306
306
  "data-slot": "dropdown-menu-sub-content",
307
- className: i(
307
+ className: d(
308
308
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-lg",
309
309
  e
310
310
  ),
@@ -320,7 +320,7 @@ function Pe({
320
320
  ue.Root,
321
321
  {
322
322
  "data-slot": "label",
323
- className: i(
323
+ className: d(
324
324
  "flex select-none items-center gap-2 text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50 group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50",
325
325
  e
326
326
  ),
@@ -341,7 +341,7 @@ function Re({ className: e, type: t, ...n }) {
341
341
  {
342
342
  type: t,
343
343
  "data-slot": "input",
344
- className: i(
344
+ className: d(
345
345
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input shadow-xs flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base outline-none transition-[color,box-shadow] file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
346
346
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
347
347
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
@@ -373,7 +373,7 @@ function Ee({
373
373
  "data-slot": "popover-content",
374
374
  align: t,
375
375
  sideOffset: n,
376
- className: i(
376
+ className: d(
377
377
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin) outline-hidden z-50 w-72 rounded-md border p-4 shadow-md",
378
378
  e
379
379
  ),
@@ -402,7 +402,7 @@ function je({
402
402
  {
403
403
  "data-slot": "select-trigger",
404
404
  "data-size": t,
405
- className: i(
405
+ className: d(
406
406
  "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*=text-])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 shadow-xs flex w-fit items-center justify-between gap-2 whitespace-nowrap rounded-md border bg-transparent px-3 py-2 text-sm outline-none transition-[color,box-shadow] focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
407
407
  e
408
408
  ),
@@ -424,7 +424,7 @@ function qe({
424
424
  x.Content,
425
425
  {
426
426
  "data-slot": "select-content",
427
- className: i(
427
+ className: d(
428
428
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) relative z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border shadow-md",
429
429
  n === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
430
430
  e
@@ -436,7 +436,7 @@ function qe({
436
436
  /* @__PURE__ */ o(
437
437
  x.Viewport,
438
438
  {
439
- className: i(
439
+ className: d(
440
440
  "p-1",
441
441
  n === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
442
442
  ),
@@ -457,7 +457,7 @@ function $e({
457
457
  x.Item,
458
458
  {
459
459
  "data-slot": "select-item",
460
- className: i(
460
+ className: d(
461
461
  "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*=text-])]:text-muted-foreground outline-hidden *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 pl-2 pr-8 text-sm data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
462
462
  e
463
463
  ),
@@ -477,7 +477,7 @@ function Ge({
477
477
  x.ScrollUpButton,
478
478
  {
479
479
  "data-slot": "select-scroll-up-button",
480
- className: i(
480
+ className: d(
481
481
  "flex cursor-default items-center justify-center py-1",
482
482
  e
483
483
  ),
@@ -494,7 +494,7 @@ function Oe({
494
494
  x.ScrollDownButton,
495
495
  {
496
496
  "data-slot": "select-scroll-down-button",
497
- className: i(
497
+ className: d(
498
498
  "flex cursor-default items-center justify-center py-1",
499
499
  e
500
500
  ),
@@ -508,7 +508,7 @@ function Ue({ className: e, ...t }) {
508
508
  "div",
509
509
  {
510
510
  "data-slot": "skeleton",
511
- className: i("bg-accent animate-pulse rounded-md", e),
511
+ className: d("bg-accent animate-pulse rounded-md", e),
512
512
  ...t
513
513
  }
514
514
  );
@@ -521,7 +521,7 @@ function He({
521
521
  T.Root,
522
522
  {
523
523
  "data-slot": "tabs",
524
- className: i("flex flex-col gap-2", e),
524
+ className: d("flex flex-col gap-2", e),
525
525
  ...t
526
526
  }
527
527
  );
@@ -534,7 +534,7 @@ function Ke({
534
534
  T.List,
535
535
  {
536
536
  "data-slot": "tabs-list",
537
- className: i(
537
+ className: d(
538
538
  "bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
539
539
  e
540
540
  ),
@@ -550,7 +550,7 @@ function Qe({
550
550
  T.Trigger,
551
551
  {
552
552
  "data-slot": "tabs-trigger",
553
- className: i(
553
+ className: d(
554
554
  "data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 whitespace-nowrap rounded-md border border-transparent px-2 py-1 text-sm font-medium transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
555
555
  e
556
556
  ),
@@ -566,7 +566,7 @@ function We({
566
566
  T.Content,
567
567
  {
568
568
  "data-slot": "tabs-content",
569
- className: i("flex-1 outline-none", e),
569
+ className: d("flex-1 outline-none", e),
570
570
  ...t
571
571
  }
572
572
  );
@@ -601,7 +601,7 @@ function Je({
601
601
  me.Root,
602
602
  {
603
603
  "data-slot": "toggle",
604
- className: i(Ze({ variant: t, size: n, className: e })),
604
+ className: d(Ze({ variant: t, size: n, className: e })),
605
605
  ...a
606
606
  }
607
607
  );
@@ -640,7 +640,7 @@ function et({
640
640
  {
641
641
  "data-slot": "tooltip-content",
642
642
  sideOffset: t,
643
- className: i(
643
+ className: d(
644
644
  "bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin) z-50 w-fit text-balance rounded-md px-3 py-1.5 text-xs",
645
645
  e
646
646
  ),
@@ -734,7 +734,7 @@ const nt = (e) => {
734
734
  name: a,
735
735
  label: r,
736
736
  variant: s,
737
- icon: d,
737
+ icon: i,
738
738
  // TODO: implement
739
739
  value: c,
740
740
  autoFocus: u,
@@ -753,19 +753,19 @@ const nt = (e) => {
753
753
  return /* @__PURE__ */ v(
754
754
  "div",
755
755
  {
756
- className: i(
756
+ className: d(
757
757
  n,
758
758
  "border-input bg-background ring-offset-background placeholder:text-muted-foreground focus-visible:ring-ring flex h-10 w-full rounded-md border px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
759
759
  "text-foreground items-center gap-2"
760
760
  ),
761
761
  children: [
762
- d,
762
+ i,
763
763
  /* @__PURE__ */ v("div", { className: "flex-1", children: [
764
764
  r && /* @__PURE__ */ o(P.Label.Label, { htmlFor: r, children: r }),
765
765
  /* @__PURE__ */ o(
766
766
  P.Input.Input,
767
767
  {
768
- className: i(n, "h-auto border-none p-0"),
768
+ className: d(n, "h-auto border-none p-0"),
769
769
  id: r,
770
770
  name: a,
771
771
  autoFocus: u,
@@ -808,15 +808,15 @@ const nt = (e) => {
808
808
  ...s
809
809
  } = e;
810
810
  m(s);
811
- const d = f();
811
+ const i = f();
812
812
  return r ? /* @__PURE__ */ o(
813
- d.DropdownMenu.DropdownMenuSub,
813
+ i.DropdownMenu.DropdownMenuSub,
814
814
  {
815
815
  onOpenChange: n,
816
816
  children: t
817
817
  }
818
818
  ) : /* @__PURE__ */ o(
819
- d.DropdownMenu.DropdownMenu,
819
+ i.DropdownMenu.DropdownMenu,
820
820
  {
821
821
  modal: !1,
822
822
  onOpenChange: n,
@@ -836,16 +836,16 @@ const nt = (e) => {
836
836
  }, it = p((e, t) => {
837
837
  const { className: n, children: a, sub: r, ...s } = e;
838
838
  m(s);
839
- const d = f();
839
+ const i = f();
840
840
  return r ? /* @__PURE__ */ o(
841
- d.DropdownMenu.DropdownMenuSubContent,
841
+ i.DropdownMenu.DropdownMenuSubContent,
842
842
  {
843
843
  className: n,
844
844
  ref: t,
845
845
  children: a
846
846
  }
847
847
  ) : /* @__PURE__ */ o(
848
- d.DropdownMenu.DropdownMenuContent,
848
+ i.DropdownMenu.DropdownMenuContent,
849
849
  {
850
850
  className: n,
851
851
  ref: t,
@@ -853,16 +853,16 @@ const nt = (e) => {
853
853
  }
854
854
  );
855
855
  }), dt = p((e, t) => {
856
- const { className: n, children: a, icon: r, checked: s, subTrigger: d, onClick: c, ...u } = e;
856
+ const { className: n, children: a, icon: r, checked: s, subTrigger: i, onClick: c, ...u } = e;
857
857
  m(u);
858
858
  const l = f();
859
- return d ? /* @__PURE__ */ v(U, { children: [
859
+ return i ? /* @__PURE__ */ v(U, { children: [
860
860
  r,
861
861
  a
862
862
  ] }) : s !== void 0 ? /* @__PURE__ */ v(
863
863
  l.DropdownMenu.DropdownMenuCheckboxItem,
864
864
  {
865
- className: i(n, "gap-1", s ? "" : "px-2"),
865
+ className: d(n, "gap-1", s ? "" : "px-2"),
866
866
  ref: t,
867
867
  checked: s,
868
868
  onClick: c,
@@ -882,7 +882,7 @@ const nt = (e) => {
882
882
  children: [
883
883
  r,
884
884
  a,
885
- d && /* @__PURE__ */ o(ce, { className: "ml-auto h-4 w-4" })
885
+ i && /* @__PURE__ */ o(ce, { className: "ml-auto h-4 w-4" })
886
886
  ]
887
887
  }
888
888
  );
@@ -915,7 +915,7 @@ const nt = (e) => {
915
915
  children: a,
916
916
  icon: r,
917
917
  onClick: s,
918
- onDragEnd: d,
918
+ onDragEnd: i,
919
919
  onDragStart: c,
920
920
  draggable: u,
921
921
  label: l,
@@ -927,12 +927,12 @@ const nt = (e) => {
927
927
  b.Button.Button,
928
928
  {
929
929
  variant: "ghost",
930
- className: i(n, "text-gray-400"),
930
+ className: d(n, "text-gray-400"),
931
931
  ref: t,
932
932
  "aria-label": l,
933
933
  onClick: s,
934
934
  onDragStart: c,
935
- onDragEnd: d,
935
+ onDragEnd: i,
936
936
  draggable: u,
937
937
  ...g,
938
938
  children: [
@@ -947,7 +947,7 @@ const nt = (e) => {
947
947
  tabs: a,
948
948
  defaultOpenTab: r,
949
949
  openTab: s,
950
- setOpenTab: d,
950
+ setOpenTab: i,
951
951
  loading: c,
952
952
  // TODO: implement loader
953
953
  ...u
@@ -957,11 +957,11 @@ const nt = (e) => {
957
957
  return /* @__PURE__ */ v(
958
958
  l.Tabs.Tabs,
959
959
  {
960
- className: i(n, "bg-popover max-w-screen rounded-lg p-2"),
960
+ className: d(n, "bg-popover max-w-screen rounded-lg p-2"),
961
961
  ref: t,
962
962
  value: s,
963
963
  defaultValue: r,
964
- onValueChange: d,
964
+ onValueChange: i,
965
965
  children: [
966
966
  /* @__PURE__ */ o(l.Tabs.TabsList, { children: a.map((g) => /* @__PURE__ */ o(l.Tabs.TabsTrigger, { value: g.name, children: g.name }, g.name)) }),
967
967
  a.map((g) => /* @__PURE__ */ o(l.Tabs.TabsContent, { value: g.name, children: /* @__PURE__ */ o(l.Card.Card, { children: /* @__PURE__ */ o(l.Card.CardContent, { className: "p-4", children: g.tabPanel }) }) }, g.name))
@@ -973,7 +973,7 @@ const nt = (e) => {
973
973
  return m(r), /* @__PURE__ */ o(
974
974
  "div",
975
975
  {
976
- className: i(
976
+ className: d(
977
977
  n,
978
978
  "flex flex-col items-start justify-center gap-2"
979
979
  ),
@@ -982,32 +982,33 @@ const nt = (e) => {
982
982
  }
983
983
  );
984
984
  }), gt = p((e, t) => {
985
- const { className: n, value: a, placeholder: r, onKeyDown: s, onChange: d, ...c } = e;
985
+ const { className: n, value: a, placeholder: r, onKeyDown: s, onChange: i, ...c } = e;
986
986
  m(c);
987
987
  const u = f();
988
988
  return /* @__PURE__ */ o(
989
989
  u.Input.Input,
990
990
  {
991
991
  "data-test": "embed-input",
992
- className: i(n, "w-80 max-w-full"),
992
+ className: d(n, "w-80 max-w-full"),
993
993
  ref: t,
994
994
  value: a,
995
995
  placeholder: r,
996
996
  onKeyDown: s,
997
- onChange: d
997
+ onChange: i
998
998
  }
999
999
  );
1000
1000
  }), vt = (e) => {
1001
1001
  const {
1002
1002
  children: t,
1003
- opened: n,
1004
- position: a,
1003
+ open: n,
1004
+ onOpenChange: a,
1005
+ position: r,
1005
1006
  // unused
1006
- ...r
1007
+ ...s
1007
1008
  } = e;
1008
- m(r);
1009
- const s = f();
1010
- return /* @__PURE__ */ o(s.Popover.Popover, { open: n, children: t });
1009
+ m(s);
1010
+ const i = f();
1011
+ return /* @__PURE__ */ o(i.Popover.Popover, { open: n, onOpenChange: a, children: t });
1011
1012
  }, ft = p(
1012
1013
  (e, t) => {
1013
1014
  const { children: n, ...a } = e;
@@ -1018,12 +1019,12 @@ const nt = (e) => {
1018
1019
  ), bt = p((e, t) => {
1019
1020
  const { className: n, variant: a, children: r, ...s } = e;
1020
1021
  m(s);
1021
- const d = f();
1022
+ const i = f();
1022
1023
  return /* @__PURE__ */ o(
1023
- d.Popover.PopoverContent,
1024
+ i.Popover.PopoverContent,
1024
1025
  {
1025
1026
  sideOffset: 8,
1026
- className: i(
1027
+ className: d(
1027
1028
  n,
1028
1029
  "z-[10000] flex flex-col gap-2",
1029
1030
  a === "panel-popover" ? "w-fit max-w-none border-none p-0 shadow-none" : ""
@@ -1041,7 +1042,7 @@ const nt = (e) => {
1041
1042
  children: a,
1042
1043
  icon: r,
1043
1044
  onClick: s,
1044
- onDragEnd: d,
1045
+ onDragEnd: i,
1045
1046
  onDragStart: c,
1046
1047
  draggable: u,
1047
1048
  label: l,
@@ -1053,12 +1054,12 @@ const nt = (e) => {
1053
1054
  b.Button.Button,
1054
1055
  {
1055
1056
  variant: "ghost",
1056
- className: i(n, "text-gray-400"),
1057
+ className: d(n, "text-gray-400"),
1057
1058
  ref: t,
1058
1059
  "aria-label": l,
1059
1060
  onClick: s,
1060
1061
  onDragStart: c,
1061
- onDragEnd: d,
1062
+ onDragEnd: i,
1062
1063
  draggable: u,
1063
1064
  ...g,
1064
1065
  children: [
@@ -1068,11 +1069,11 @@ const nt = (e) => {
1068
1069
  }
1069
1070
  );
1070
1071
  }), wt = p((e, t) => {
1071
- const { className: n, children: a, id: r, columns: s, ...d } = e;
1072
- return m(d), /* @__PURE__ */ o(
1072
+ const { className: n, children: a, id: r, columns: s, ...i } = e;
1073
+ return m(i), /* @__PURE__ */ o(
1073
1074
  "div",
1074
1075
  {
1075
- className: i(
1076
+ className: d(
1076
1077
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border p-1 shadow-md",
1077
1078
  "grid",
1078
1079
  n
@@ -1102,7 +1103,7 @@ const nt = (e) => {
1102
1103
  {
1103
1104
  id: r,
1104
1105
  role: "listbox",
1105
- className: i(
1106
+ className: d(
1106
1107
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 max-h-(--radix-dropdown-menu-content-available-height) origin-(--radix-dropdown-menu-content-transform-origin) z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border p-1 shadow-md",
1107
1108
  n
1108
1109
  ),
@@ -1115,7 +1116,7 @@ const nt = (e) => {
1115
1116
  return m(r), /* @__PURE__ */ o(
1116
1117
  "div",
1117
1118
  {
1118
- className: i(
1119
+ className: d(
1119
1120
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*=text-])]:text-muted-foreground outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[disabled]:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1120
1121
  "hover:bg-accent hover:text-accent-foreground data-[variant=destructive]:hover:bg-destructive/10 dark:data-[variant=destructive]:hover:bg-destructive/20 data-[variant=destructive]:hover:text-destructive",
1121
1122
  "aria-selected:bg-accent aria-selected:text-accent-foreground data-[variant=destructive]:aria-selected:bg-destructive/10 dark:data-[variant=destructive]:aria-selected:bg-destructive/20 data-[variant=destructive]:aria-selected:text-destructive",
@@ -1126,7 +1127,7 @@ const nt = (e) => {
1126
1127
  }
1127
1128
  );
1128
1129
  }), Tt = p((e, t) => {
1129
- const n = f(), { className: a, item: r, isSelected: s, onClick: d, id: c, ...u } = e;
1130
+ const n = f(), { className: a, item: r, isSelected: s, onClick: i, id: c, ...u } = e;
1130
1131
  m(u);
1131
1132
  const l = E(null);
1132
1133
  return V(() => {
@@ -1141,7 +1142,7 @@ const nt = (e) => {
1141
1142
  }, [s]), /* @__PURE__ */ v(
1142
1143
  "div",
1143
1144
  {
1144
- className: i(
1145
+ className: d(
1145
1146
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*=text-])]:text-muted-foreground outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[disabled]:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1146
1147
  "hover:bg-accent hover:text-accent-foreground data-[variant=destructive]:hover:bg-destructive/10 dark:data-[variant=destructive]:hover:bg-destructive/20 data-[variant=destructive]:hover:text-destructive",
1147
1148
  "aria-selected:bg-accent aria-selected:text-accent-foreground data-[variant=destructive]:aria-selected:bg-destructive/10 dark:data-[variant=destructive]:aria-selected:bg-destructive/20 data-[variant=destructive]:aria-selected:text-destructive",
@@ -1152,14 +1153,14 @@ const nt = (e) => {
1152
1153
  ref: R([t, l]),
1153
1154
  id: c,
1154
1155
  onMouseDown: (g) => g.preventDefault(),
1155
- onClick: d,
1156
+ onClick: i,
1156
1157
  role: "option",
1157
1158
  "aria-selected": s || void 0,
1158
1159
  children: [
1159
1160
  r.icon && /* @__PURE__ */ o(
1160
1161
  "div",
1161
1162
  {
1162
- className: i(
1163
+ className: d(
1163
1164
  "p-3",
1164
1165
  e.item.size === "small" ? "p-0" : "",
1165
1166
  a
@@ -1172,7 +1173,7 @@ const nt = (e) => {
1172
1173
  /* @__PURE__ */ o(
1173
1174
  "div",
1174
1175
  {
1175
- className: i(
1176
+ className: d(
1176
1177
  "text-base",
1177
1178
  e.item.size === "small" ? "text-sm" : "",
1178
1179
  a
@@ -1183,7 +1184,7 @@ const nt = (e) => {
1183
1184
  /* @__PURE__ */ o(
1184
1185
  "div",
1185
1186
  {
1186
- className: i(
1187
+ className: d(
1187
1188
  "text-xs",
1188
1189
  e.item.size === "small" ? "hidden" : "",
1189
1190
  a
@@ -1201,7 +1202,7 @@ const nt = (e) => {
1201
1202
  return m(r), /* @__PURE__ */ o(
1202
1203
  "div",
1203
1204
  {
1204
- className: i(
1205
+ className: d(
1205
1206
  "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
1206
1207
  n
1207
1208
  ),
@@ -1211,7 +1212,7 @@ const nt = (e) => {
1211
1212
  );
1212
1213
  }), kt = p((e, t) => {
1213
1214
  const { className: n, ...a } = e;
1214
- return m(a), /* @__PURE__ */ o("div", { className: i(n, "animate-spin"), ref: t, children: /* @__PURE__ */ o(
1215
+ return m(a), /* @__PURE__ */ o("div", { className: d(n, "animate-spin"), ref: t, children: /* @__PURE__ */ o(
1215
1216
  "svg",
1216
1217
  {
1217
1218
  xmlns: "http://www.w3.org/2000/svg",
@@ -1223,14 +1224,14 @@ const nt = (e) => {
1223
1224
  }
1224
1225
  ) });
1225
1226
  }), Mt = p((e, t) => {
1226
- const { className: n, children: a, onMouseDown: r, onClick: s, ...d } = e;
1227
- m(d, !1);
1227
+ const { className: n, children: a, onMouseDown: r, onClick: s, ...i } = e;
1228
+ m(i, !1);
1228
1229
  const c = f();
1229
1230
  return /* @__PURE__ */ o(
1230
1231
  c.Button.Button,
1231
1232
  {
1232
1233
  variant: "ghost",
1233
- className: i(
1234
+ className: d(
1234
1235
  n,
1235
1236
  "h-full w-full p-0 text-gray-400",
1236
1237
  n != null && n.includes("extend-button-add-remove-columns") ? "ml-1" : "mt-1",
@@ -1239,7 +1240,7 @@ const nt = (e) => {
1239
1240
  ref: t,
1240
1241
  onClick: s,
1241
1242
  onMouseDown: r,
1242
- ...d,
1243
+ ...i,
1243
1244
  children: a
1244
1245
  }
1245
1246
  );
@@ -1249,7 +1250,7 @@ const nt = (e) => {
1249
1250
  children: a,
1250
1251
  draggable: r,
1251
1252
  onDragStart: s,
1252
- onDragEnd: d,
1253
+ onDragEnd: i,
1253
1254
  style: c,
1254
1255
  label: u,
1255
1256
  ...l
@@ -1260,12 +1261,12 @@ const nt = (e) => {
1260
1261
  g.Button.Button,
1261
1262
  {
1262
1263
  variant: "ghost",
1263
- className: i(n, "h-fit w-fit p-0 text-gray-400"),
1264
+ className: d(n, "h-fit w-fit p-0 text-gray-400"),
1264
1265
  ref: t,
1265
1266
  "aria-label": u,
1266
1267
  draggable: r,
1267
1268
  onDragStart: s,
1268
- onDragEnd: d,
1269
+ onDragEnd: i,
1269
1270
  style: c,
1270
1271
  ...l,
1271
1272
  children: a
@@ -1278,7 +1279,7 @@ const nt = (e) => {
1278
1279
  children: a,
1279
1280
  onMouseEnter: r,
1280
1281
  onMouseLeave: s,
1281
- variant: d,
1282
+ variant: i,
1282
1283
  ...c
1283
1284
  } = e;
1284
1285
  m(c);
@@ -1286,10 +1287,10 @@ const nt = (e) => {
1286
1287
  return /* @__PURE__ */ o(u.Tooltip.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ o(
1287
1288
  "div",
1288
1289
  {
1289
- className: i(
1290
+ className: d(
1290
1291
  n,
1291
1292
  "bg-popover text-popover-foreground flex h-fit gap-1 rounded-lg border p-1 shadow-md",
1292
- d === "action-toolbar" ? "w-fit" : ""
1293
+ i === "action-toolbar" ? "w-fit" : ""
1293
1294
  ),
1294
1295
  ref: t,
1295
1296
  onMouseEnter: r,
@@ -1305,7 +1306,7 @@ const nt = (e) => {
1305
1306
  children: a,
1306
1307
  mainTooltip: r,
1307
1308
  secondaryTooltip: s,
1308
- icon: d,
1309
+ icon: i,
1309
1310
  isSelected: c,
1310
1311
  isDisabled: u,
1311
1312
  onClick: l,
@@ -1317,7 +1318,7 @@ const nt = (e) => {
1317
1318
  const C = f(), S = c === void 0 ? /* @__PURE__ */ v(
1318
1319
  C.Button.Button,
1319
1320
  {
1320
- className: i(
1321
+ className: d(
1321
1322
  n,
1322
1323
  b === "compact" ? "h-6 min-w-6 p-0" : ""
1323
1324
  ),
@@ -1329,14 +1330,14 @@ const nt = (e) => {
1329
1330
  "aria-label": g,
1330
1331
  ...h,
1331
1332
  children: [
1332
- d,
1333
+ i,
1333
1334
  a
1334
1335
  ]
1335
1336
  }
1336
1337
  ) : /* @__PURE__ */ v(
1337
1338
  C.Toggle.Toggle,
1338
1339
  {
1339
- className: i(
1340
+ className: d(
1340
1341
  n,
1341
1342
  "data-[state=open]:bg-accent data-[state=closed]:text-accent-foreground",
1342
1343
  b === "compact" ? "h-6 min-w-6 p-0" : ""
@@ -1351,7 +1352,7 @@ const nt = (e) => {
1351
1352
  ref: t,
1352
1353
  ...h,
1353
1354
  children: [
1354
- d,
1355
+ i,
1355
1356
  a
1356
1357
  ]
1357
1358
  }
@@ -1373,12 +1374,12 @@ const nt = (e) => {
1373
1374
  ), z = p((e, t) => {
1374
1375
  const { className: n, items: a, isDisabled: r, ...s } = e;
1375
1376
  m(s);
1376
- const d = f(), c = (l) => /* @__PURE__ */ v("div", { className: "flex items-center gap-1", children: [
1377
+ const i = f(), c = (l) => /* @__PURE__ */ v("div", { className: "flex items-center gap-1", children: [
1377
1378
  l.icon,
1378
1379
  l.text
1379
1380
  ] }), u = a.filter((l) => l.isSelected)[0];
1380
1381
  return u ? /* @__PURE__ */ v(
1381
- d.Select.Select,
1382
+ i.Select.Select,
1382
1383
  {
1383
1384
  value: u.text,
1384
1385
  onValueChange: (l) => {
@@ -1387,9 +1388,9 @@ const nt = (e) => {
1387
1388
  },
1388
1389
  disabled: r,
1389
1390
  children: [
1390
- /* @__PURE__ */ o(d.Select.SelectTrigger, { className: "border-none", children: /* @__PURE__ */ o(d.Select.SelectValue, {}) }),
1391
- /* @__PURE__ */ o(d.Select.SelectContent, { className: n, ref: t, children: a.map((l) => /* @__PURE__ */ o(
1392
- d.Select.SelectItem,
1391
+ /* @__PURE__ */ o(i.Select.SelectTrigger, { className: "border-none", children: /* @__PURE__ */ o(i.Select.SelectValue, {}) }),
1392
+ /* @__PURE__ */ o(i.Select.SelectContent, { className: n, ref: t, children: a.map((l) => /* @__PURE__ */ o(
1393
+ i.Select.SelectItem,
1393
1394
  {
1394
1395
  disabled: l.isDisabled,
1395
1396
  value: l.text,
@@ -1406,7 +1407,7 @@ const nt = (e) => {
1406
1407
  children: a,
1407
1408
  selected: r,
1408
1409
  headerText: s,
1409
- onFocus: d,
1410
+ onFocus: i,
1410
1411
  onBlur: c,
1411
1412
  tabIndex: u,
1412
1413
  ...l
@@ -1416,12 +1417,12 @@ const nt = (e) => {
1416
1417
  return /* @__PURE__ */ v(
1417
1418
  g.Card.Card,
1418
1419
  {
1419
- className: i(
1420
+ className: d(
1420
1421
  n,
1421
1422
  "w-[300px]",
1422
1423
  r ? "bg-accent text-accent-foreground" : ""
1423
1424
  ),
1424
- onFocus: d,
1425
+ onFocus: i,
1425
1426
  onBlur: c,
1426
1427
  tabIndex: u,
1427
1428
  ref: t,
@@ -1436,7 +1437,7 @@ const nt = (e) => {
1436
1437
  return m(r), /* @__PURE__ */ o(
1437
1438
  "div",
1438
1439
  {
1439
- className: i(
1440
+ className: d(
1440
1441
  n,
1441
1442
  "p-4",
1442
1443
  n != null && n.includes("thread-comments") ? "flex flex-col gap-6 border-b" : ""
@@ -1452,7 +1453,7 @@ const nt = (e) => {
1452
1453
  return /* @__PURE__ */ o(
1453
1454
  s.Button.Button,
1454
1455
  {
1455
- className: i(
1456
+ className: d(
1456
1457
  n,
1457
1458
  "text-foreground w-fit bg-transparent p-0 hover:bg-transparent"
1458
1459
  ),
@@ -1461,7 +1462,7 @@ const nt = (e) => {
1461
1462
  }
1462
1463
  );
1463
1464
  }), Pt = p((e, t) => {
1464
- const { authorInfo: n, timeString: a, edited: r, ...s } = e, d = Q();
1465
+ const { authorInfo: n, timeString: a, edited: r, ...s } = e, i = Q();
1465
1466
  m(s, !1);
1466
1467
  const c = f();
1467
1468
  return n === "loading" ? /* @__PURE__ */ v("div", { className: "flex flex-row flex-nowrap items-center gap-4", children: [
@@ -1494,7 +1495,7 @@ const nt = (e) => {
1494
1495
  /* @__PURE__ */ v("span", { className: "text-xs", children: [
1495
1496
  a,
1496
1497
  " ",
1497
- r && `(${d.comments.edited})`
1498
+ r && `(${i.comments.edited})`
1498
1499
  ] })
1499
1500
  ] })
1500
1501
  ] });
@@ -1504,7 +1505,7 @@ const nt = (e) => {
1504
1505
  showActions: a,
1505
1506
  authorInfo: r,
1506
1507
  timeString: s,
1507
- actions: d,
1508
+ actions: i,
1508
1509
  edited: c,
1509
1510
  emojiPickerOpen: u,
1510
1511
  // Unused
@@ -1512,30 +1513,30 @@ const nt = (e) => {
1512
1513
  ...g
1513
1514
  } = e;
1514
1515
  m(g);
1515
- const [b, h] = oe(!1), { focused: C, ref: S } = K(), y = d && (a === !0 || a === void 0 || a === "hover" && b || C);
1516
+ const [b, h] = oe(!1), { focused: C, ref: S } = K(), y = i && (a === !0 || a === void 0 || a === "hover" && b || C);
1516
1517
  return /* @__PURE__ */ v(
1517
1518
  "div",
1518
1519
  {
1519
1520
  ref: t,
1520
- className: i(n, "relative flex flex-col gap-2"),
1521
+ className: d(n, "relative flex flex-col gap-2"),
1521
1522
  onMouseEnter: () => h(!0),
1522
1523
  onMouseLeave: () => h(!1),
1523
1524
  children: [
1524
- y ? /* @__PURE__ */ o("div", { className: "absolute right-0 top-0 z-10", ref: S, children: d }) : null,
1525
+ y ? /* @__PURE__ */ o("div", { className: "absolute right-0 top-0 z-10", ref: S, children: i }) : null,
1525
1526
  /* @__PURE__ */ o(Pt, { ...e }),
1526
1527
  l
1527
1528
  ]
1528
1529
  }
1529
1530
  );
1530
1531
  }), Rt = p((e, t) => {
1531
- const { className: n, onFocus: a, onBlur: r, autoFocus: s, editor: d, editable: c, ...u } = e;
1532
+ const { className: n, onFocus: a, onBlur: r, autoFocus: s, editor: i, editable: c, ...u } = e;
1532
1533
  m(u);
1533
1534
  const l = W();
1534
1535
  return /* @__PURE__ */ o(
1535
1536
  Gt,
1536
1537
  {
1537
1538
  autoFocus: s,
1538
- className: i(n, ""),
1539
+ className: d(n, ""),
1539
1540
  theme: l == null ? void 0 : l.colorSchemePreference,
1540
1541
  editor: e.editor,
1541
1542
  sideMenu: !1,
@@ -1566,7 +1567,7 @@ const nt = (e) => {
1566
1567
  text: a,
1567
1568
  icon: r,
1568
1569
  isSelected: s,
1569
- mainTooltip: d,
1570
+ mainTooltip: i,
1570
1571
  secondaryTooltip: c,
1571
1572
  onClick: u,
1572
1573
  onMouseEnter: l,
@@ -1577,7 +1578,7 @@ const nt = (e) => {
1577
1578
  b.Button.Button,
1578
1579
  {
1579
1580
  variant: s ? "secondary" : "outline",
1580
- className: i(
1581
+ className: d(
1581
1582
  n,
1582
1583
  "flex h-7 items-center gap-1 rounded-full px-2.5"
1583
1584
  ),
@@ -1590,14 +1591,14 @@ const nt = (e) => {
1590
1591
  ]
1591
1592
  }
1592
1593
  );
1593
- return d ? /* @__PURE__ */ v(b.Tooltip.Tooltip, { children: [
1594
+ return i ? /* @__PURE__ */ v(b.Tooltip.Tooltip, { children: [
1594
1595
  /* @__PURE__ */ o(b.Tooltip.TooltipTrigger, { asChild: !0, children: h }),
1595
1596
  /* @__PURE__ */ v(
1596
1597
  b.Tooltip.TooltipContent,
1597
1598
  {
1598
1599
  className: "flex flex-col items-center whitespace-pre-wrap",
1599
1600
  children: [
1600
- /* @__PURE__ */ o("span", { children: d }),
1601
+ /* @__PURE__ */ o("span", { children: i }),
1601
1602
  c && /* @__PURE__ */ o("span", { children: c })
1602
1603
  ]
1603
1604
  }
@@ -1610,14 +1611,14 @@ const nt = (e) => {
1610
1611
  return /* @__PURE__ */ o(s.Tooltip.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ o(
1611
1612
  "div",
1612
1613
  {
1613
- className: i(n, "flex w-full flex-row flex-wrap gap-1"),
1614
+ className: d(n, "flex w-full flex-row flex-wrap gap-1"),
1614
1615
  ref: t,
1615
1616
  children: a
1616
1617
  }
1617
1618
  ) });
1618
1619
  }), Vt = p((e, t) => {
1619
- const { className: n, children: a, onClick: r, label: s, ...d } = e;
1620
- m(d);
1620
+ const { className: n, children: a, onClick: r, label: s, ...i } = e;
1621
+ m(i);
1621
1622
  const c = f();
1622
1623
  return /* @__PURE__ */ o(
1623
1624
  c.Button.Button,
@@ -1631,7 +1632,7 @@ const nt = (e) => {
1631
1632
  }
1632
1633
  );
1633
1634
  }), At = p((e, t) => {
1634
- const { className: n, accept: a, value: r, placeholder: s, onChange: d, ...c } = e;
1635
+ const { className: n, accept: a, value: r, placeholder: s, onChange: i, ...c } = e;
1635
1636
  m(c);
1636
1637
  const u = f();
1637
1638
  return /* @__PURE__ */ o(
@@ -1642,12 +1643,12 @@ const nt = (e) => {
1642
1643
  ref: t,
1643
1644
  accept: a,
1644
1645
  value: r ? r.name : void 0,
1645
- onChange: async (l) => d == null ? void 0 : d(l.target.files[0]),
1646
+ onChange: async (l) => i == null ? void 0 : i(l.target.files[0]),
1646
1647
  placeholder: s
1647
1648
  }
1648
1649
  );
1649
1650
  }), jt = p((e, t) => {
1650
- const { className: n, isSelected: a, onClick: r, item: s, id: d, ...c } = e;
1651
+ const { className: n, isSelected: a, onClick: r, item: s, id: i, ...c } = e;
1651
1652
  m(c);
1652
1653
  const u = E(null);
1653
1654
  return V(() => {
@@ -1661,7 +1662,7 @@ const nt = (e) => {
1661
1662
  }, [a]), /* @__PURE__ */ o(
1662
1663
  "div",
1663
1664
  {
1664
- className: i(
1665
+ className: d(
1665
1666
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*=text-])]:text-muted-foreground outline-hidden relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm data-[disabled]:pointer-events-none data-[inset]:pl-8 data-[disabled]:opacity-50 [&_svg:not([class*=size-])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
1666
1667
  "hover:bg-accent hover:text-accent-foreground data-[variant=destructive]:hover:bg-destructive/10 dark:data-[variant=destructive]:hover:bg-destructive/20 data-[variant=destructive]:hover:text-destructive",
1667
1668
  "aria-selected:bg-accent aria-selected:text-accent-foreground data-[variant=destructive]:aria-selected:bg-destructive/10 dark:data-[variant=destructive]:aria-selected:bg-destructive/20 data-[variant=destructive]:aria-selected:text-destructive",
@@ -1669,7 +1670,7 @@ const nt = (e) => {
1669
1670
  n
1670
1671
  ),
1671
1672
  ref: R([t, u]),
1672
- id: d,
1673
+ id: i,
1673
1674
  role: "option",
1674
1675
  onClick: r,
1675
1676
  "aria-selected": a || void 0,