@nextop-os/ui-system 0.0.26 → 0.0.28

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.
@@ -1,15 +1,20 @@
1
1
  import {
2
+ AgentSessionsIcon,
2
3
  ArrowLeftIcon,
3
4
  ArrowRightIcon,
4
5
  CheckIcon,
5
6
  ChevronDownIcon,
6
- ChevronRightIcon,
7
7
  ChevronUpIcon,
8
8
  CloseIcon,
9
9
  FailedFilledIcon,
10
+ FileIcon,
11
+ FolderFilledIcon,
12
+ IssueIcon,
10
13
  LoadingIcon,
11
- SuccessFilledIcon
12
- } from "./chunk-AEKKSXBL.js";
14
+ SuccessFilledIcon,
15
+ WarningFilledIcon,
16
+ WarningLinedIcon
17
+ } from "./chunk-3BPTHQCX.js";
13
18
  import {
14
19
  cn
15
20
  } from "./chunk-DGPY4WP3.js";
@@ -19,12 +24,13 @@ import { cva } from "class-variance-authority";
19
24
  import { Slot } from "radix-ui";
20
25
  import { jsx } from "react/jsx-runtime";
21
26
  var badgeVariants = cva(
22
- "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-[4px] border border-transparent px-2 py-0.5 text-[0.72rem] font-normal whitespace-nowrap transition-[background-color,border-color,color,box-shadow] focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/35 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
27
+ "group/badge inline-flex h-5 w-fit shrink-0 items-center justify-center gap-1 overflow-hidden rounded-[4px] border border-transparent px-1 py-0.5 text-[0.72rem] font-normal whitespace-nowrap transition-[background-color,border-color,color,box-shadow] focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/35 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!",
23
28
  {
24
29
  variants: {
25
30
  variant: {
26
- default: "bg-transparency-block text-[var(--text-secondary)] [a]:hover:bg-transparency-hover",
27
- secondary: "bg-transparency-block text-[var(--text-secondary)] [a]:hover:bg-transparency-hover",
31
+ default: "bg-[var(--transparency-block)] text-[var(--text-secondary)] [a]:hover:bg-[var(--transparency-hover)]",
32
+ accent: "bg-[var(--accent-bg)] text-[var(--accent)] [a]:hover:bg-[var(--accent-bg)]",
33
+ secondary: "bg-[var(--transparency-block)] text-[var(--text-secondary)] [a]:hover:bg-[var(--transparency-hover)]",
28
34
  destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/18",
29
35
  outline: "border-border bg-card/90 text-foreground [a]:hover:bg-muted [a]:hover:text-foreground",
30
36
  ghost: "hover:bg-accent/80 hover:text-accent-foreground dark:hover:bg-muted/50",
@@ -221,7 +227,7 @@ function Checkbox({
221
227
  {
222
228
  "data-slot": "checkbox",
223
229
  className: cn(
224
- "peer inline-flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-border/70 bg-[var(--workbench-field-bg)] text-[var(--text-inverted)] transition-[background-color,border-color,color,box-shadow] outline-none focus-visible:border-border focus-visible:ring-2 focus-visible:ring-ring/30 disabled:cursor-not-allowed disabled:border-[var(--border-1)] disabled:bg-muted disabled:text-[var(--text-inverted)] disabled:opacity-100 data-disabled:border-[var(--border-1)] aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-[state=checked]:border-[var(--text-primary)] data-[state=checked]:bg-[var(--text-primary)] data-[state=unchecked]:hover:border-[color-mix(in_srgb,var(--text-primary)_40%,transparent)] disabled:data-[state=checked]:border-[var(--border-1)] disabled:data-[state=checked]:bg-[var(--text-disabled)] data-disabled:data-[state=checked]:border-[var(--border-1)]",
230
+ "peer inline-flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-[var(--border-1)] bg-[var(--transparency-block)] text-[var(--text-inverted)] transition-[background-color,border-color,color,box-shadow] outline-none focus-visible:border-[var(--border-focus)] focus-visible:ring-2 focus-visible:ring-[color-mix(in_srgb,var(--border-focus)_30%,transparent)] disabled:cursor-not-allowed disabled:border-[var(--border-1)] disabled:bg-[var(--transparency-block)] disabled:text-[var(--text-inverted)] disabled:opacity-100 data-disabled:border-[var(--border-1)] aria-invalid:border-[var(--state-danger)] aria-invalid:ring-2 aria-invalid:ring-[color-mix(in_srgb,var(--state-danger)_20%,transparent)] data-[state=checked]:border-[var(--text-primary)] data-[state=checked]:bg-[var(--text-primary)] data-[state=unchecked]:hover:border-[color-mix(in_srgb,var(--text-primary)_40%,transparent)] disabled:data-[state=checked]:border-[var(--border-1)] disabled:data-[state=checked]:bg-[var(--text-disabled)] data-disabled:data-[state=checked]:border-[var(--border-1)]",
225
231
  className
226
232
  ),
227
233
  ...props,
@@ -427,7 +433,7 @@ function DialogDescription({
427
433
  {
428
434
  "data-slot": "dialog-description",
429
435
  className: cn(
430
- "text-sm leading-[1.3] text-text-secondary *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
436
+ "text-sm font-[400] leading-[1.3] text-text-secondary *:[a]:underline *:[a]:underline-offset-3 *:[a]:hover:text-foreground",
431
437
  className
432
438
  ),
433
439
  ...props
@@ -881,15 +887,141 @@ var DatePicker = React2.forwardRef(
881
887
  );
882
888
  DatePicker.displayName = "DatePicker";
883
889
 
890
+ // src/components/drawer/drawer.tsx
891
+ import { Drawer as DrawerPrimitive } from "vaul";
892
+ import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
893
+ function Drawer({
894
+ ...props
895
+ }) {
896
+ return /* @__PURE__ */ jsx8(DrawerPrimitive.Root, { "data-slot": "drawer", ...props });
897
+ }
898
+ function DrawerTrigger({
899
+ ...props
900
+ }) {
901
+ return /* @__PURE__ */ jsx8(DrawerPrimitive.Trigger, { "data-slot": "drawer-trigger", ...props });
902
+ }
903
+ function DrawerPortal({
904
+ ...props
905
+ }) {
906
+ return /* @__PURE__ */ jsx8(DrawerPrimitive.Portal, { "data-slot": "drawer-portal", ...props });
907
+ }
908
+ function DrawerClose({
909
+ ...props
910
+ }) {
911
+ return /* @__PURE__ */ jsx8(DrawerPrimitive.Close, { "data-slot": "drawer-close", ...props });
912
+ }
913
+ function DrawerOverlay({
914
+ className,
915
+ style,
916
+ ...props
917
+ }) {
918
+ return /* @__PURE__ */ jsx8(
919
+ DrawerPrimitive.Overlay,
920
+ {
921
+ "data-slot": "drawer-overlay",
922
+ className: cn(
923
+ "fixed inset-0 isolate bg-[var(--backdrop)] duration-150 supports-backdrop-filter:backdrop-blur-sm data-closed:animate-out data-closed:fade-out-0 data-open:animate-in data-open:fade-in-0",
924
+ className
925
+ ),
926
+ style: { zIndex: "var(--z-dialog-overlay)", ...style },
927
+ ...props
928
+ }
929
+ );
930
+ }
931
+ function DrawerContent({
932
+ className,
933
+ children,
934
+ portalContainer,
935
+ showOverlay = true,
936
+ style,
937
+ ...props
938
+ }) {
939
+ return /* @__PURE__ */ jsxs4(DrawerPortal, { "data-slot": "drawer-portal", container: portalContainer, children: [
940
+ showOverlay ? /* @__PURE__ */ jsx8(DrawerOverlay, {}) : null,
941
+ /* @__PURE__ */ jsxs4(
942
+ DrawerPrimitive.Content,
943
+ {
944
+ "data-slot": "drawer-content",
945
+ className: cn(
946
+ "group/drawer-content fixed flex h-auto flex-col border-[var(--border-1)] bg-background-fronted text-sm text-foreground shadow-panel outline-none",
947
+ "data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t",
948
+ "data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-r-xl data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
949
+ "data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-l-xl data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
950
+ "data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b",
951
+ className
952
+ ),
953
+ style: { zIndex: "var(--z-dialog)", ...style },
954
+ ...props,
955
+ children: [
956
+ /* @__PURE__ */ jsx8("div", { className: "mx-auto mt-4 hidden h-1 w-[100px] shrink-0 rounded-full bg-muted group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
957
+ children
958
+ ]
959
+ }
960
+ )
961
+ ] });
962
+ }
963
+ function DrawerHeader({ className, ...props }) {
964
+ return /* @__PURE__ */ jsx8(
965
+ "div",
966
+ {
967
+ "data-slot": "drawer-header",
968
+ className: cn(
969
+ "flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-left",
970
+ className
971
+ ),
972
+ ...props
973
+ }
974
+ );
975
+ }
976
+ function DrawerFooter({ className, ...props }) {
977
+ return /* @__PURE__ */ jsx8(
978
+ "div",
979
+ {
980
+ "data-slot": "drawer-footer",
981
+ className: cn("mt-auto flex flex-col gap-2 p-4", className),
982
+ ...props
983
+ }
984
+ );
985
+ }
986
+ function DrawerTitle({
987
+ className,
988
+ ...props
989
+ }) {
990
+ return /* @__PURE__ */ jsx8(
991
+ DrawerPrimitive.Title,
992
+ {
993
+ "data-slot": "drawer-title",
994
+ className: cn(
995
+ "text-base font-medium leading-[1.35] text-foreground",
996
+ className
997
+ ),
998
+ ...props
999
+ }
1000
+ );
1001
+ }
1002
+ function DrawerDescription({
1003
+ className,
1004
+ ...props
1005
+ }) {
1006
+ return /* @__PURE__ */ jsx8(
1007
+ DrawerPrimitive.Description,
1008
+ {
1009
+ "data-slot": "drawer-description",
1010
+ className: cn("text-sm text-muted-foreground", className),
1011
+ ...props
1012
+ }
1013
+ );
1014
+ }
1015
+
884
1016
  // src/components/dropdown-menu/dropdown-menu.tsx
885
1017
  import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
886
1018
 
887
1019
  // src/components/menu-surface/menu-surface.tsx
888
1020
  import * as React3 from "react";
889
1021
  import { Slot as Slot3 } from "radix-ui";
890
- import { jsx as jsx8 } from "react/jsx-runtime";
1022
+ import { jsx as jsx9 } from "react/jsx-runtime";
891
1023
  var menuSurfaceClassName = "t-dropdown flex flex-col gap-0.5 rounded-[8px] border border-[var(--border-1)] bg-[var(--background-fronted)] p-1 text-sm text-[var(--text-primary)] shadow-panel outline-none";
892
- var menuItemClassName = "relative flex cursor-pointer items-center gap-1.5 rounded-sm px-2 py-1 text-sm text-[var(--text-primary)] outline-hidden transition-colors duration-200 select-none hover:bg-[var(--transparency-block)] hover:text-[var(--text-primary)] focus:bg-[var(--transparency-block)] focus:text-[var(--text-primary)] data-[highlighted]:bg-[var(--transparency-block)] data-[highlighted]:text-[var(--text-primary)] data-disabled:pointer-events-none data-disabled:text-[var(--text-disabled)] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2";
1024
+ var menuItemClassName = "relative flex cursor-pointer items-center gap-1.5 rounded-sm px-2 py-1 text-sm text-[var(--text-primary)] outline-hidden transition-colors duration-200 select-none hover:bg-[var(--transparency-hover)] hover:text-[var(--text-primary)] focus:bg-[var(--transparency-hover)] focus:text-[var(--text-primary)] data-[highlighted]:bg-[var(--transparency-hover)] data-[highlighted]:text-[var(--text-primary)] data-disabled:pointer-events-none data-disabled:text-[var(--text-disabled)] [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2";
893
1025
  var menuItemWithIndicatorClassName = `${menuItemClassName} pr-8`;
894
1026
  var menuItemIndicatorClassName = "pointer-events-none absolute right-2 flex size-4 items-center justify-center";
895
1027
  var MenuSurface = React3.forwardRef(
@@ -901,7 +1033,7 @@ var MenuSurface = React3.forwardRef(
901
1033
  ...props
902
1034
  }, ref) => {
903
1035
  const Comp = asChild ? Slot3.Root : "div";
904
- return /* @__PURE__ */ jsx8(
1036
+ return /* @__PURE__ */ jsx9(
905
1037
  Comp,
906
1038
  {
907
1039
  ...props,
@@ -915,21 +1047,21 @@ var MenuSurface = React3.forwardRef(
915
1047
  MenuSurface.displayName = "MenuSurface";
916
1048
 
917
1049
  // src/components/dropdown-menu/dropdown-menu.tsx
918
- import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
1050
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
919
1051
  function DropdownMenu({
920
1052
  ...props
921
1053
  }) {
922
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
1054
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
923
1055
  }
924
1056
  function DropdownMenuPortal({
925
1057
  ...props
926
1058
  }) {
927
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1059
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
928
1060
  }
929
1061
  function DropdownMenuTrigger({
930
1062
  ...props
931
1063
  }) {
932
- return /* @__PURE__ */ jsx9(
1064
+ return /* @__PURE__ */ jsx10(
933
1065
  DropdownMenuPrimitive.Trigger,
934
1066
  {
935
1067
  "data-slot": "dropdown-menu-trigger",
@@ -939,12 +1071,13 @@ function DropdownMenuTrigger({
939
1071
  }
940
1072
  function DropdownMenuContent({
941
1073
  className,
1074
+ children,
942
1075
  align = "start",
943
1076
  sideOffset = 4,
944
1077
  style,
945
1078
  ...props
946
1079
  }) {
947
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx9(
1080
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx10(
948
1081
  DropdownMenuPrimitive.Content,
949
1082
  {
950
1083
  asChild: true,
@@ -952,7 +1085,7 @@ function DropdownMenuContent({
952
1085
  align,
953
1086
  sideOffset,
954
1087
  ...props,
955
- children: /* @__PURE__ */ jsx9(
1088
+ children: /* @__PURE__ */ jsx10(
956
1089
  MenuSurface,
957
1090
  {
958
1091
  "data-slot": "dropdown-menu-content",
@@ -960,7 +1093,8 @@ function DropdownMenuContent({
960
1093
  "z-50 max-h-(--radix-dropdown-menu-content-available-height) w-(--radix-dropdown-menu-trigger-width) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto",
961
1094
  className
962
1095
  ),
963
- style: { zIndex: "var(--z-popover)", ...style }
1096
+ style: { zIndex: "var(--z-popover)", ...style },
1097
+ children
964
1098
  }
965
1099
  )
966
1100
  }
@@ -970,7 +1104,7 @@ function DropdownMenuGroup({
970
1104
  className,
971
1105
  ...props
972
1106
  }) {
973
- return /* @__PURE__ */ jsx9(
1107
+ return /* @__PURE__ */ jsx10(
974
1108
  DropdownMenuPrimitive.Group,
975
1109
  {
976
1110
  "data-slot": "dropdown-menu-group",
@@ -985,7 +1119,7 @@ function DropdownMenuItem({
985
1119
  variant = "default",
986
1120
  ...props
987
1121
  }) {
988
- return /* @__PURE__ */ jsx9(
1122
+ return /* @__PURE__ */ jsx10(
989
1123
  DropdownMenuPrimitive.Item,
990
1124
  {
991
1125
  "data-inset": inset,
@@ -1008,7 +1142,7 @@ function DropdownMenuCheckboxItem({
1008
1142
  inset,
1009
1143
  ...props
1010
1144
  }) {
1011
- return /* @__PURE__ */ jsxs4(
1145
+ return /* @__PURE__ */ jsxs5(
1012
1146
  DropdownMenuPrimitive.CheckboxItem,
1013
1147
  {
1014
1148
  checked,
@@ -1021,12 +1155,12 @@ function DropdownMenuCheckboxItem({
1021
1155
  ),
1022
1156
  ...props,
1023
1157
  children: [
1024
- /* @__PURE__ */ jsx9(
1158
+ /* @__PURE__ */ jsx10(
1025
1159
  "span",
1026
1160
  {
1027
1161
  className: menuItemIndicatorClassName,
1028
1162
  "data-slot": "dropdown-menu-checkbox-item-indicator",
1029
- children: /* @__PURE__ */ jsx9(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx9(CheckIcon, {}) })
1163
+ children: /* @__PURE__ */ jsx10(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx10(CheckIcon, {}) })
1030
1164
  }
1031
1165
  ),
1032
1166
  children
@@ -1038,7 +1172,7 @@ function DropdownMenuRadioGroup({
1038
1172
  className,
1039
1173
  ...props
1040
1174
  }) {
1041
- return /* @__PURE__ */ jsx9(
1175
+ return /* @__PURE__ */ jsx10(
1042
1176
  DropdownMenuPrimitive.RadioGroup,
1043
1177
  {
1044
1178
  "data-slot": "dropdown-menu-radio-group",
@@ -1053,7 +1187,7 @@ function DropdownMenuRadioItem({
1053
1187
  inset,
1054
1188
  ...props
1055
1189
  }) {
1056
- return /* @__PURE__ */ jsxs4(
1190
+ return /* @__PURE__ */ jsxs5(
1057
1191
  DropdownMenuPrimitive.RadioItem,
1058
1192
  {
1059
1193
  "data-inset": inset,
@@ -1065,12 +1199,12 @@ function DropdownMenuRadioItem({
1065
1199
  ),
1066
1200
  ...props,
1067
1201
  children: [
1068
- /* @__PURE__ */ jsx9(
1202
+ /* @__PURE__ */ jsx10(
1069
1203
  "span",
1070
1204
  {
1071
1205
  className: menuItemIndicatorClassName,
1072
1206
  "data-slot": "dropdown-menu-radio-item-indicator",
1073
- children: /* @__PURE__ */ jsx9(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx9(CheckIcon, {}) })
1207
+ children: /* @__PURE__ */ jsx10(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx10(CheckIcon, {}) })
1074
1208
  }
1075
1209
  ),
1076
1210
  children
@@ -1083,7 +1217,7 @@ function DropdownMenuLabel({
1083
1217
  inset,
1084
1218
  ...props
1085
1219
  }) {
1086
- return /* @__PURE__ */ jsx9(
1220
+ return /* @__PURE__ */ jsx10(
1087
1221
  DropdownMenuPrimitive.Label,
1088
1222
  {
1089
1223
  "data-inset": inset,
@@ -1100,7 +1234,7 @@ function DropdownMenuSeparator({
1100
1234
  className,
1101
1235
  ...props
1102
1236
  }) {
1103
- return /* @__PURE__ */ jsx9(
1237
+ return /* @__PURE__ */ jsx10(
1104
1238
  DropdownMenuPrimitive.Separator,
1105
1239
  {
1106
1240
  "data-slot": "dropdown-menu-separator",
@@ -1113,7 +1247,7 @@ function DropdownMenuShortcut({
1113
1247
  className,
1114
1248
  ...props
1115
1249
  }) {
1116
- return /* @__PURE__ */ jsx9(
1250
+ return /* @__PURE__ */ jsx10(
1117
1251
  "span",
1118
1252
  {
1119
1253
  "data-slot": "dropdown-menu-shortcut",
@@ -1128,7 +1262,7 @@ function DropdownMenuShortcut({
1128
1262
  function DropdownMenuSub({
1129
1263
  ...props
1130
1264
  }) {
1131
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
1265
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
1132
1266
  }
1133
1267
  function DropdownMenuSubTrigger({
1134
1268
  className,
@@ -1136,7 +1270,7 @@ function DropdownMenuSubTrigger({
1136
1270
  children,
1137
1271
  ...props
1138
1272
  }) {
1139
- return /* @__PURE__ */ jsxs4(
1273
+ return /* @__PURE__ */ jsxs5(
1140
1274
  DropdownMenuPrimitive.SubTrigger,
1141
1275
  {
1142
1276
  "data-inset": inset,
@@ -1149,23 +1283,24 @@ function DropdownMenuSubTrigger({
1149
1283
  ...props,
1150
1284
  children: [
1151
1285
  children,
1152
- /* @__PURE__ */ jsx9(ChevronRightIcon, { className: "ml-auto" })
1286
+ /* @__PURE__ */ jsx10(ArrowRightIcon, { className: "ml-auto" })
1153
1287
  ]
1154
1288
  }
1155
1289
  );
1156
1290
  }
1157
1291
  function DropdownMenuSubContent({
1158
1292
  className,
1293
+ children,
1159
1294
  style,
1160
1295
  ...props
1161
1296
  }) {
1162
- return /* @__PURE__ */ jsx9(
1297
+ return /* @__PURE__ */ jsx10(
1163
1298
  DropdownMenuPrimitive.SubContent,
1164
1299
  {
1165
1300
  asChild: true,
1166
1301
  "data-slot": "dropdown-menu-sub-content",
1167
1302
  ...props,
1168
- children: /* @__PURE__ */ jsx9(
1303
+ children: /* @__PURE__ */ jsx10(
1169
1304
  MenuSurface,
1170
1305
  {
1171
1306
  "data-slot": "dropdown-menu-sub-content",
@@ -1173,7 +1308,8 @@ function DropdownMenuSubContent({
1173
1308
  "z-50 min-w-[96px] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden",
1174
1309
  className
1175
1310
  ),
1176
- style: { zIndex: "var(--z-popover)", ...style }
1311
+ style: { zIndex: "var(--z-popover)", ...style },
1312
+ children
1177
1313
  }
1178
1314
  )
1179
1315
  }
@@ -1181,7 +1317,7 @@ function DropdownMenuSubContent({
1181
1317
  }
1182
1318
 
1183
1319
  // src/components/input/input.tsx
1184
- import { jsx as jsx10 } from "react/jsx-runtime";
1320
+ import { jsx as jsx11 } from "react/jsx-runtime";
1185
1321
  var inputVariantClassNames = {
1186
1322
  default: "h-8 rounded-[6px] px-3 py-0 text-sm leading-[1.3]",
1187
1323
  lg: "h-12 rounded-[8px] px-4 py-3 text-base leading-[1.3]",
@@ -1197,7 +1333,7 @@ function Input({
1197
1333
  ...props
1198
1334
  }) {
1199
1335
  const resolvedVariant = variant ?? (size === "sm" ? "sm" : "default");
1200
- return /* @__PURE__ */ jsx10(
1336
+ return /* @__PURE__ */ jsx11(
1201
1337
  "input",
1202
1338
  {
1203
1339
  type,
@@ -1215,28 +1351,121 @@ function Input({
1215
1351
  );
1216
1352
  }
1217
1353
 
1354
+ // src/components/mention-pill/mention-pill.tsx
1355
+ import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1356
+ var mentionPillTokenByKind = {
1357
+ issue: "var(--rich-text-mention-issue)",
1358
+ session: "var(--rich-text-mention-session)",
1359
+ file: "var(--rich-text-mention-file)"
1360
+ };
1361
+ var mentionPillDataKindByKind = {
1362
+ issue: "task",
1363
+ session: "session",
1364
+ file: "file"
1365
+ };
1366
+ function MentionPill({
1367
+ className,
1368
+ fileKind = "file",
1369
+ kind,
1370
+ label,
1371
+ removable = kind === "file",
1372
+ removeButtonProps,
1373
+ style,
1374
+ summary,
1375
+ ...props
1376
+ }) {
1377
+ const isFile = kind === "file";
1378
+ const Icon = isFile ? fileKind === "folder" ? FolderFilledIcon : FileIcon : kind === "issue" ? IssueIcon : AgentSessionsIcon;
1379
+ const color = isFile && fileKind === "folder" ? "var(--rich-text-folder)" : mentionPillTokenByKind[kind];
1380
+ const dataKind = mentionPillDataKindByKind[kind];
1381
+ const iconSizeClassName = isFile ? "size-3.5" : "size-4";
1382
+ const iconShellClassName = isFile ? "size-3.5" : "size-[18px]";
1383
+ return /* @__PURE__ */ jsxs6(
1384
+ "span",
1385
+ {
1386
+ className: cn(
1387
+ "group relative top-[3px] inline-flex max-w-full cursor-default items-center overflow-hidden rounded-[4px] border border-transparent bg-transparent py-0.5 align-baseline text-sm font-medium leading-5 no-underline transition-colors hover:border-transparent hover:bg-[color-mix(in_srgb,currentColor_12%,transparent)]",
1388
+ isFile ? "gap-1.5 px-1.5" : "gap-1 px-1",
1389
+ className
1390
+ ),
1391
+ "data-agent-file-mention": "true",
1392
+ "data-agent-mention-kind": dataKind,
1393
+ "data-slot": "mention-pill",
1394
+ style: {
1395
+ color,
1396
+ ...style
1397
+ },
1398
+ ...props,
1399
+ children: [
1400
+ /* @__PURE__ */ jsxs6(
1401
+ "span",
1402
+ {
1403
+ "aria-hidden": removable ? void 0 : true,
1404
+ className: cn(
1405
+ "relative grid shrink-0 place-items-center",
1406
+ iconShellClassName
1407
+ ),
1408
+ children: [
1409
+ /* @__PURE__ */ jsx12(
1410
+ Icon,
1411
+ {
1412
+ className: cn(
1413
+ "text-current transition-opacity",
1414
+ removable && "group-hover:opacity-0 group-focus-within:opacity-0",
1415
+ iconSizeClassName
1416
+ )
1417
+ }
1418
+ ),
1419
+ removable ? /* @__PURE__ */ jsx12(
1420
+ "button",
1421
+ {
1422
+ "aria-label": removeButtonProps?.["aria-label"],
1423
+ type: "button",
1424
+ ...removeButtonProps,
1425
+ className: cn(
1426
+ "absolute top-1/2 left-1/2 inline-flex size-5 -translate-x-1/2 -translate-y-1/2 items-center justify-center rounded-sm text-[var(--text-secondary)] opacity-0 transition-opacity group-hover:opacity-100 hover:bg-transparency-block hover:text-[var(--text-primary)] focus-visible:opacity-100",
1427
+ removeButtonProps?.className
1428
+ ),
1429
+ children: /* @__PURE__ */ jsx12(CloseIcon, { className: "size-3.5" })
1430
+ }
1431
+ ) : null
1432
+ ]
1433
+ }
1434
+ ),
1435
+ /* @__PURE__ */ jsxs6("span", { className: "min-w-0 overflow-hidden text-ellipsis whitespace-nowrap", children: [
1436
+ /* @__PURE__ */ jsx12("span", { children: label }),
1437
+ summary ? /* @__PURE__ */ jsxs6("span", { className: "text-current", children: [
1438
+ " ",
1439
+ summary
1440
+ ] }) : null
1441
+ ] })
1442
+ ]
1443
+ }
1444
+ );
1445
+ }
1446
+
1218
1447
  // src/components/popover/popover.tsx
1219
1448
  import { Popover as PopoverPrimitive } from "radix-ui";
1220
- import { jsx as jsx11 } from "react/jsx-runtime";
1449
+ import { jsx as jsx13 } from "react/jsx-runtime";
1221
1450
  function Popover({
1222
1451
  ...props
1223
1452
  }) {
1224
- return /* @__PURE__ */ jsx11(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
1453
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
1225
1454
  }
1226
1455
  function PopoverTrigger({
1227
1456
  ...props
1228
1457
  }) {
1229
- return /* @__PURE__ */ jsx11(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
1458
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
1230
1459
  }
1231
1460
  function PopoverPortal({
1232
1461
  ...props
1233
1462
  }) {
1234
- return /* @__PURE__ */ jsx11(PopoverPrimitive.Portal, { "data-slot": "popover-portal", ...props });
1463
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Portal, { "data-slot": "popover-portal", ...props });
1235
1464
  }
1236
1465
  function PopoverClose({
1237
1466
  ...props
1238
1467
  }) {
1239
- return /* @__PURE__ */ jsx11(PopoverPrimitive.Close, { "data-slot": "popover-close", ...props });
1468
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Close, { "data-slot": "popover-close", ...props });
1240
1469
  }
1241
1470
  function PopoverContent({
1242
1471
  className,
@@ -1244,7 +1473,7 @@ function PopoverContent({
1244
1473
  sideOffset = 4,
1245
1474
  ...props
1246
1475
  }) {
1247
- return /* @__PURE__ */ jsx11(PopoverPortal, { children: /* @__PURE__ */ jsx11(
1476
+ return /* @__PURE__ */ jsx13(PopoverPortal, { children: /* @__PURE__ */ jsx13(
1248
1477
  PopoverPrimitive.Content,
1249
1478
  {
1250
1479
  "data-slot": "popover-content",
@@ -1262,18 +1491,18 @@ function PopoverContent({
1262
1491
  function PopoverAnchor({
1263
1492
  ...props
1264
1493
  }) {
1265
- return /* @__PURE__ */ jsx11(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
1494
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
1266
1495
  }
1267
1496
 
1268
1497
  // src/components/resizable/resizable.tsx
1269
1498
  import * as ResizablePrimitive from "react-resizable-panels";
1270
- import { jsx as jsx12 } from "react/jsx-runtime";
1499
+ import { jsx as jsx14 } from "react/jsx-runtime";
1271
1500
  function ResizablePanelGroup({
1272
1501
  className,
1273
1502
  orientation = "horizontal",
1274
1503
  ...props
1275
1504
  }) {
1276
- return /* @__PURE__ */ jsx12(
1505
+ return /* @__PURE__ */ jsx14(
1277
1506
  ResizablePrimitive.Group,
1278
1507
  {
1279
1508
  "data-orientation": orientation,
@@ -1288,14 +1517,14 @@ function ResizablePanelGroup({
1288
1517
  );
1289
1518
  }
1290
1519
  function ResizablePanel(props) {
1291
- return /* @__PURE__ */ jsx12(ResizablePrimitive.Panel, { "data-slot": "resizable-panel", ...props });
1520
+ return /* @__PURE__ */ jsx14(ResizablePrimitive.Panel, { "data-slot": "resizable-panel", ...props });
1292
1521
  }
1293
1522
  function ResizableHandle({
1294
1523
  className,
1295
1524
  withHandle,
1296
1525
  ...props
1297
1526
  }) {
1298
- return /* @__PURE__ */ jsx12(
1527
+ return /* @__PURE__ */ jsx14(
1299
1528
  ResizablePrimitive.Separator,
1300
1529
  {
1301
1530
  "data-slot": "resizable-handle",
@@ -1304,27 +1533,27 @@ function ResizableHandle({
1304
1533
  className
1305
1534
  ),
1306
1535
  ...props,
1307
- children: withHandle ? /* @__PURE__ */ jsx12("div", { className: "z-10 flex items-center justify-center rounded-full bg-border/85 opacity-0 transition-[background-color,opacity] group-hover:bg-border group-hover:opacity-100 group-focus-visible:bg-border group-focus-visible:opacity-100 group-aria-[orientation=horizontal]:h-[3px] group-aria-[orientation=horizontal]:w-10 group-aria-[orientation=vertical]:h-10 group-aria-[orientation=vertical]:w-[3px]" }) : null
1536
+ children: withHandle ? /* @__PURE__ */ jsx14("div", { className: "z-10 flex items-center justify-center rounded-full bg-border/85 opacity-0 transition-[background-color,opacity] group-hover:bg-border group-hover:opacity-100 group-focus-visible:bg-border group-focus-visible:opacity-100 group-aria-[orientation=horizontal]:h-[3px] group-aria-[orientation=horizontal]:w-10 group-aria-[orientation=vertical]:h-10 group-aria-[orientation=vertical]:w-[3px]" }) : null
1308
1537
  }
1309
1538
  );
1310
1539
  }
1311
1540
 
1312
1541
  // src/components/scroll-area/scroll-area.tsx
1313
1542
  import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
1314
- import { jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
1543
+ import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
1315
1544
  function ScrollArea({
1316
1545
  className,
1317
1546
  children,
1318
1547
  ...props
1319
1548
  }) {
1320
- return /* @__PURE__ */ jsxs5(
1549
+ return /* @__PURE__ */ jsxs7(
1321
1550
  ScrollAreaPrimitive.Root,
1322
1551
  {
1323
1552
  "data-slot": "scroll-area",
1324
1553
  className: cn("group/scroll-area relative", className),
1325
1554
  ...props,
1326
1555
  children: [
1327
- /* @__PURE__ */ jsx13(
1556
+ /* @__PURE__ */ jsx15(
1328
1557
  ScrollAreaPrimitive.Viewport,
1329
1558
  {
1330
1559
  "data-slot": "scroll-area-viewport",
@@ -1332,8 +1561,8 @@ function ScrollArea({
1332
1561
  children
1333
1562
  }
1334
1563
  ),
1335
- /* @__PURE__ */ jsx13(ScrollBar, {}),
1336
- /* @__PURE__ */ jsx13(ScrollAreaPrimitive.Corner, {})
1564
+ /* @__PURE__ */ jsx15(ScrollBar, {}),
1565
+ /* @__PURE__ */ jsx15(ScrollAreaPrimitive.Corner, {})
1337
1566
  ]
1338
1567
  }
1339
1568
  );
@@ -1343,7 +1572,7 @@ function ScrollBar({
1343
1572
  orientation = "vertical",
1344
1573
  ...props
1345
1574
  }) {
1346
- return /* @__PURE__ */ jsx13(
1575
+ return /* @__PURE__ */ jsx15(
1347
1576
  ScrollAreaPrimitive.ScrollAreaScrollbar,
1348
1577
  {
1349
1578
  "data-slot": "scroll-area-scrollbar",
@@ -1354,7 +1583,7 @@ function ScrollBar({
1354
1583
  className
1355
1584
  ),
1356
1585
  ...props,
1357
- children: /* @__PURE__ */ jsx13(
1586
+ children: /* @__PURE__ */ jsx15(
1358
1587
  ScrollAreaPrimitive.ScrollAreaThumb,
1359
1588
  {
1360
1589
  "data-slot": "scroll-area-thumb",
@@ -1367,17 +1596,17 @@ function ScrollBar({
1367
1596
 
1368
1597
  // src/components/select/select.tsx
1369
1598
  import { Select as SelectPrimitive } from "radix-ui";
1370
- import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
1599
+ import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
1371
1600
  function Select({
1372
1601
  ...props
1373
1602
  }) {
1374
- return /* @__PURE__ */ jsx14(SelectPrimitive.Root, { "data-slot": "select", ...props });
1603
+ return /* @__PURE__ */ jsx16(SelectPrimitive.Root, { "data-slot": "select", ...props });
1375
1604
  }
1376
1605
  function SelectGroup({
1377
1606
  className,
1378
1607
  ...props
1379
1608
  }) {
1380
- return /* @__PURE__ */ jsx14(
1609
+ return /* @__PURE__ */ jsx16(
1381
1610
  SelectPrimitive.Group,
1382
1611
  {
1383
1612
  "data-slot": "select-group",
@@ -1389,27 +1618,38 @@ function SelectGroup({
1389
1618
  function SelectValue({
1390
1619
  ...props
1391
1620
  }) {
1392
- return /* @__PURE__ */ jsx14(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1621
+ return /* @__PURE__ */ jsx16(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1393
1622
  }
1394
1623
  function SelectTrigger({
1395
1624
  className,
1396
1625
  size = "default",
1626
+ variant = "default",
1397
1627
  children,
1398
1628
  ...props
1399
1629
  }) {
1400
- return /* @__PURE__ */ jsxs6(
1630
+ return /* @__PURE__ */ jsxs8(
1401
1631
  SelectPrimitive.Trigger,
1402
1632
  {
1403
1633
  "data-slot": "select-trigger",
1404
1634
  "data-size": size,
1635
+ "data-variant": variant,
1405
1636
  className: cn(
1406
- "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-transparent bg-[var(--transparency-block)] py-2 pr-2 pl-2.5 text-sm text-[var(--text-primary)] whitespace-nowrap transition-colors outline-none select-none hover:bg-[var(--transparency-hover)] focus:bg-[var(--transparency-hover)] focus-visible:border-transparent focus-visible:bg-[var(--transparency-hover)] focus-visible:ring-0 disabled:cursor-not-allowed disabled:bg-[var(--transparency-block)] disabled:text-[var(--text-disabled)] disabled:opacity-100 aria-invalid:border-[var(--state-danger)] aria-invalid:bg-[var(--transparency-block)] aria-invalid:hover:bg-[var(--transparency-hover)] aria-invalid:focus:bg-[var(--transparency-hover)] aria-invalid:focus-visible:bg-[var(--transparency-hover)] aria-invalid:ring-0 aria-invalid:shadow-none data-placeholder:text-[var(--text-placeholder)] data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&[data-state=open]>svg]:rotate-180 [&>svg]:transition-transform [&>svg]:duration-200 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1637
+ variant === "button" ? buttonVariants({ variant: "default", size }) : "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-transparent bg-[var(--transparency-block)] py-2 pr-2 pl-2.5 text-sm text-[var(--text-primary)] whitespace-nowrap transition-colors outline-none select-none hover:bg-[var(--transparency-hover)] focus:bg-[var(--transparency-hover)] focus-visible:border-transparent focus-visible:bg-[var(--transparency-hover)] focus-visible:ring-0 disabled:cursor-not-allowed disabled:bg-[var(--transparency-block)] disabled:text-[var(--text-disabled)] disabled:opacity-100 aria-invalid:border-[var(--state-danger)] aria-invalid:bg-[var(--transparency-block)] aria-invalid:hover:bg-[var(--transparency-hover)] aria-invalid:focus:bg-[var(--transparency-hover)] aria-invalid:focus-visible:bg-[var(--transparency-hover)] aria-invalid:ring-0 aria-invalid:shadow-none data-placeholder:text-[var(--text-placeholder)] data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1638
+ "[&[data-state=open]>svg]:rotate-180 [&>svg]:transition-transform [&>svg]:duration-200",
1407
1639
  className
1408
1640
  ),
1409
1641
  ...props,
1410
1642
  children: [
1411
1643
  children,
1412
- /* @__PURE__ */ jsx14(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx14(ChevronDownIcon, { className: "pointer-events-none size-4 text-[var(--text-secondary)]" }) })
1644
+ /* @__PURE__ */ jsx16(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx16(
1645
+ ChevronDownIcon,
1646
+ {
1647
+ className: cn(
1648
+ "pointer-events-none size-4",
1649
+ variant === "button" ? "text-current" : "text-[var(--text-secondary)]"
1650
+ )
1651
+ }
1652
+ ) })
1413
1653
  ]
1414
1654
  }
1415
1655
  );
@@ -1422,7 +1662,7 @@ function SelectContent({
1422
1662
  style,
1423
1663
  ...props
1424
1664
  }) {
1425
- return /* @__PURE__ */ jsx14(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx14(
1665
+ return /* @__PURE__ */ jsx16(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
1426
1666
  SelectPrimitive.Content,
1427
1667
  {
1428
1668
  asChild: true,
@@ -1431,7 +1671,7 @@ function SelectContent({
1431
1671
  position,
1432
1672
  align,
1433
1673
  ...props,
1434
- children: /* @__PURE__ */ jsxs6(
1674
+ children: /* @__PURE__ */ jsxs8(
1435
1675
  MenuSurface,
1436
1676
  {
1437
1677
  "data-slot": "select-content",
@@ -1442,8 +1682,8 @@ function SelectContent({
1442
1682
  ),
1443
1683
  style: { zIndex: "var(--z-popover)", ...style },
1444
1684
  children: [
1445
- /* @__PURE__ */ jsx14(SelectScrollUpButton, {}),
1446
- /* @__PURE__ */ jsx14(
1685
+ /* @__PURE__ */ jsx16(SelectScrollUpButton, {}),
1686
+ /* @__PURE__ */ jsx16(
1447
1687
  SelectPrimitive.Viewport,
1448
1688
  {
1449
1689
  "data-position": position,
@@ -1453,7 +1693,7 @@ function SelectContent({
1453
1693
  children
1454
1694
  }
1455
1695
  ),
1456
- /* @__PURE__ */ jsx14(SelectScrollDownButton, {})
1696
+ /* @__PURE__ */ jsx16(SelectScrollDownButton, {})
1457
1697
  ]
1458
1698
  }
1459
1699
  )
@@ -1464,7 +1704,7 @@ function SelectLabel({
1464
1704
  className,
1465
1705
  ...props
1466
1706
  }) {
1467
- return /* @__PURE__ */ jsx14(
1707
+ return /* @__PURE__ */ jsx16(
1468
1708
  SelectPrimitive.Label,
1469
1709
  {
1470
1710
  "data-slot": "select-label",
@@ -1480,7 +1720,7 @@ function SelectSplitLayout({
1480
1720
  className,
1481
1721
  ...props
1482
1722
  }) {
1483
- return /* @__PURE__ */ jsx14(
1723
+ return /* @__PURE__ */ jsx16(
1484
1724
  "div",
1485
1725
  {
1486
1726
  "data-slot": "select-split-layout",
@@ -1496,7 +1736,7 @@ function SelectSplitColumn({
1496
1736
  className,
1497
1737
  ...props
1498
1738
  }) {
1499
- return /* @__PURE__ */ jsx14(
1739
+ return /* @__PURE__ */ jsx16(
1500
1740
  "div",
1501
1741
  {
1502
1742
  "data-slot": "select-split-column",
@@ -1509,7 +1749,7 @@ function SelectSplitColumnLabel({
1509
1749
  className,
1510
1750
  ...props
1511
1751
  }) {
1512
- return /* @__PURE__ */ jsx14(
1752
+ return /* @__PURE__ */ jsx16(
1513
1753
  "div",
1514
1754
  {
1515
1755
  "data-slot": "select-split-column-label",
@@ -1525,7 +1765,7 @@ function SelectSplitColumnItems({
1525
1765
  className,
1526
1766
  ...props
1527
1767
  }) {
1528
- return /* @__PURE__ */ jsx14(
1768
+ return /* @__PURE__ */ jsx16(
1529
1769
  "div",
1530
1770
  {
1531
1771
  "data-slot": "select-split-column-items",
@@ -1541,7 +1781,7 @@ function SelectSplitDivider({
1541
1781
  className,
1542
1782
  ...props
1543
1783
  }) {
1544
- return /* @__PURE__ */ jsx14(
1784
+ return /* @__PURE__ */ jsx16(
1545
1785
  "div",
1546
1786
  {
1547
1787
  "aria-hidden": "true",
@@ -1557,17 +1797,24 @@ function SelectSplitDivider({
1557
1797
  function SelectItem({
1558
1798
  className,
1559
1799
  children,
1800
+ forceSelectedIndicator = false,
1560
1801
  ...props
1561
1802
  }) {
1562
- return /* @__PURE__ */ jsxs6(
1803
+ return /* @__PURE__ */ jsxs8(
1563
1804
  SelectPrimitive.Item,
1564
1805
  {
1565
1806
  "data-slot": "select-item",
1566
1807
  className: cn("w-full", menuItemWithIndicatorClassName, className),
1567
1808
  ...props,
1568
1809
  children: [
1569
- /* @__PURE__ */ jsx14("span", { className: menuItemIndicatorClassName, children: /* @__PURE__ */ jsx14(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx14(CheckIcon, { className: "pointer-events-none" }) }) }),
1570
- /* @__PURE__ */ jsx14(SelectPrimitive.ItemText, { children })
1810
+ /* @__PURE__ */ jsx16("span", { className: menuItemIndicatorClassName, children: forceSelectedIndicator ? /* @__PURE__ */ jsx16(
1811
+ CheckIcon,
1812
+ {
1813
+ className: "pointer-events-none",
1814
+ "data-slot": "select-item-forced-indicator"
1815
+ }
1816
+ ) : /* @__PURE__ */ jsx16(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx16(CheckIcon, { className: "pointer-events-none" }) }) }),
1817
+ /* @__PURE__ */ jsx16(SelectPrimitive.ItemText, { children })
1571
1818
  ]
1572
1819
  }
1573
1820
  );
@@ -1576,7 +1823,7 @@ function SelectSeparator({
1576
1823
  className,
1577
1824
  ...props
1578
1825
  }) {
1579
- return /* @__PURE__ */ jsx14(
1826
+ return /* @__PURE__ */ jsx16(
1580
1827
  SelectPrimitive.Separator,
1581
1828
  {
1582
1829
  "data-slot": "select-separator",
@@ -1592,7 +1839,7 @@ function SelectScrollUpButton({
1592
1839
  className,
1593
1840
  ...props
1594
1841
  }) {
1595
- return /* @__PURE__ */ jsx14(
1842
+ return /* @__PURE__ */ jsx16(
1596
1843
  SelectPrimitive.ScrollUpButton,
1597
1844
  {
1598
1845
  "data-slot": "select-scroll-up-button",
@@ -1601,7 +1848,7 @@ function SelectScrollUpButton({
1601
1848
  className
1602
1849
  ),
1603
1850
  ...props,
1604
- children: /* @__PURE__ */ jsx14(ChevronUpIcon, {})
1851
+ children: /* @__PURE__ */ jsx16(ChevronUpIcon, {})
1605
1852
  }
1606
1853
  );
1607
1854
  }
@@ -1609,7 +1856,7 @@ function SelectScrollDownButton({
1609
1856
  className,
1610
1857
  ...props
1611
1858
  }) {
1612
- return /* @__PURE__ */ jsx14(
1859
+ return /* @__PURE__ */ jsx16(
1613
1860
  SelectPrimitive.ScrollDownButton,
1614
1861
  {
1615
1862
  "data-slot": "select-scroll-down-button",
@@ -1618,21 +1865,21 @@ function SelectScrollDownButton({
1618
1865
  className
1619
1866
  ),
1620
1867
  ...props,
1621
- children: /* @__PURE__ */ jsx14(ChevronDownIcon, {})
1868
+ children: /* @__PURE__ */ jsx16(ChevronDownIcon, {})
1622
1869
  }
1623
1870
  );
1624
1871
  }
1625
1872
 
1626
1873
  // src/components/separator/separator.tsx
1627
1874
  import { Separator as SeparatorPrimitive } from "radix-ui";
1628
- import { jsx as jsx15 } from "react/jsx-runtime";
1875
+ import { jsx as jsx17 } from "react/jsx-runtime";
1629
1876
  function Separator2({
1630
1877
  className,
1631
1878
  orientation = "horizontal",
1632
1879
  decorative = true,
1633
1880
  ...props
1634
1881
  }) {
1635
- return /* @__PURE__ */ jsx15(
1882
+ return /* @__PURE__ */ jsx17(
1636
1883
  SeparatorPrimitive.Root,
1637
1884
  {
1638
1885
  "data-slot": "separator",
@@ -1647,17 +1894,65 @@ function Separator2({
1647
1894
  );
1648
1895
  }
1649
1896
 
1897
+ // src/components/sonner/sonner.tsx
1898
+ import {
1899
+ Toaster as SonnerToaster,
1900
+ toast
1901
+ } from "sonner";
1902
+ import { jsx as jsx18 } from "react/jsx-runtime";
1903
+ function Toaster({ toastOptions, style, ...props }) {
1904
+ return /* @__PURE__ */ jsx18(
1905
+ SonnerToaster,
1906
+ {
1907
+ closeButton: true,
1908
+ expand: false,
1909
+ gap: 8,
1910
+ position: "top-right",
1911
+ visibleToasts: 4,
1912
+ icons: {
1913
+ error: /* @__PURE__ */ jsx18(FailedFilledIcon, { className: "size-4" }),
1914
+ info: /* @__PURE__ */ jsx18(WarningLinedIcon, { className: "size-4" }),
1915
+ loading: /* @__PURE__ */ jsx18(LoadingIcon, { className: "size-4 animate-spin" }),
1916
+ success: /* @__PURE__ */ jsx18(SuccessFilledIcon, { className: "size-4" }),
1917
+ warning: /* @__PURE__ */ jsx18(WarningFilledIcon, { className: "size-4" })
1918
+ },
1919
+ style: {
1920
+ "--normal-bg": "var(--background-fronted)",
1921
+ "--normal-border": "var(--line-2)",
1922
+ "--normal-text": "var(--text-primary)",
1923
+ "--border-radius": "8px",
1924
+ zIndex: "var(--z-toast)",
1925
+ ...style
1926
+ },
1927
+ toastOptions: {
1928
+ ...toastOptions,
1929
+ classNames: {
1930
+ toast: "group pointer-events-auto min-h-14 rounded-[8px] border border-[var(--line-2)] bg-[var(--background-fronted)] px-3.5 py-3 text-[var(--text-primary)] shadow-[0_14px_40px_var(--shadow-elevated)]",
1931
+ title: "text-sm font-semibold leading-5 text-[var(--text-primary)]",
1932
+ description: "mt-0.5 text-xs leading-5 text-[var(--text-secondary)]",
1933
+ actionButton: "h-7 rounded-[6px] bg-[var(--text-primary)] px-2.5 text-xs font-normal text-[var(--text-inverted)] transition-colors hover:bg-[var(--text-primary-hover)]",
1934
+ cancelButton: "h-7 rounded-[6px] bg-[var(--transparency-block)] px-2.5 text-xs font-normal text-[var(--text-primary)] transition-colors hover:bg-[var(--transparency-hover)]",
1935
+ closeButton: "border-[var(--line-2)] bg-[var(--background-fronted)] text-[var(--text-secondary)] hover:bg-[var(--transparency-hover)] hover:text-[var(--text-primary)]",
1936
+ icon: "text-[var(--accent)]",
1937
+ ...toastOptions?.classNames
1938
+ }
1939
+ },
1940
+ ...props
1941
+ }
1942
+ );
1943
+ }
1944
+
1650
1945
  // src/components/spinner/spinner.tsx
1651
- import { jsx as jsx16 } from "react/jsx-runtime";
1946
+ import { jsx as jsx19 } from "react/jsx-runtime";
1652
1947
  function Spinner({
1653
1948
  className,
1654
1949
  size = 16,
1655
- strokeWidth = 3,
1950
+ strokeWidth = 2,
1656
1951
  style,
1657
1952
  testId,
1658
1953
  trackColor
1659
1954
  }) {
1660
- return /* @__PURE__ */ jsx16(
1955
+ return /* @__PURE__ */ jsx19(
1661
1956
  LoadingIcon,
1662
1957
  {
1663
1958
  "data-slot": "spinner",
@@ -1677,7 +1972,7 @@ function Spinner({
1677
1972
 
1678
1973
  // src/components/status-dot/status-dot.tsx
1679
1974
  import { cva as cva3 } from "class-variance-authority";
1680
- import { jsx as jsx17 } from "react/jsx-runtime";
1975
+ import { jsx as jsx20 } from "react/jsx-runtime";
1681
1976
  var statusDotVariants = cva3("inline-flex shrink-0 rounded-full", {
1682
1977
  variants: {
1683
1978
  tone: {
@@ -1711,7 +2006,7 @@ function StatusDot({
1711
2006
  title,
1712
2007
  className
1713
2008
  }) {
1714
- return /* @__PURE__ */ jsx17(
2009
+ return /* @__PURE__ */ jsx20(
1715
2010
  "span",
1716
2011
  {
1717
2012
  "aria-hidden": ariaLabel ? void 0 : true,
@@ -1729,27 +2024,27 @@ function StatusDot({
1729
2024
 
1730
2025
  // src/components/switch/switch.tsx
1731
2026
  import { Switch as SwitchPrimitive } from "radix-ui";
1732
- import { jsx as jsx18 } from "react/jsx-runtime";
2027
+ import { jsx as jsx21 } from "react/jsx-runtime";
1733
2028
  function Switch({
1734
2029
  className,
1735
2030
  size = "default",
1736
2031
  ...props
1737
2032
  }) {
1738
- return /* @__PURE__ */ jsx18(
2033
+ return /* @__PURE__ */ jsx21(
1739
2034
  SwitchPrimitive.Root,
1740
2035
  {
1741
2036
  "data-slot": "switch",
1742
2037
  "data-size": size,
1743
2038
  className: cn(
1744
- "peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-[background-color,border-color,box-shadow] outline-none focus-visible:border-border focus-visible:ring-2 focus-visible:ring-ring/30 aria-invalid:border-destructive aria-invalid:ring-2 aria-invalid:ring-destructive/20 data-[size=default]:h-[18px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input dark:data-[state=unchecked]:bg-input/80 data-disabled:cursor-not-allowed data-disabled:opacity-100",
2039
+ "peer group/switch relative inline-flex shrink-0 items-center rounded-full border border-transparent transition-[background-color,border-color,box-shadow] outline-none focus-visible:border-[var(--border-focus)] focus-visible:ring-2 focus-visible:ring-[color-mix(in_srgb,var(--border-focus)_30%,transparent)] aria-invalid:border-[var(--state-danger)] aria-invalid:ring-2 aria-invalid:ring-[color-mix(in_srgb,var(--state-danger)_20%,transparent)] data-[size=default]:h-[18px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] data-[state=checked]:bg-[var(--accent)] data-[state=unchecked]:bg-[var(--text-disabled)] data-disabled:cursor-not-allowed data-disabled:opacity-100",
1745
2040
  className
1746
2041
  ),
1747
2042
  ...props,
1748
- children: /* @__PURE__ */ jsx18(
2043
+ children: /* @__PURE__ */ jsx21(
1749
2044
  SwitchPrimitive.Thumb,
1750
2045
  {
1751
2046
  "data-slot": "switch-thumb",
1752
- className: "pointer-events-none block rounded-full bg-[var(--white-stationary)] ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-[state=checked]:translate-x-[14px] group-data-[size=sm]/switch:data-[state=checked]:translate-x-[10px] group-data-[size=default]/switch:data-[state=unchecked]:translate-x-[1px] group-data-[size=sm]/switch:data-[state=unchecked]:translate-x-[1px]"
2047
+ className: "pointer-events-none block rounded-full bg-[var(--white-stationary)] ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-[state=checked]:translate-x-[14px] group-data-[size=sm]/switch:data-[state=checked]:translate-x-[10px] group-data-[size=default]/switch:data-[state=unchecked]:translate-x-0 group-data-[size=sm]/switch:data-[state=unchecked]:translate-x-0"
1753
2048
  }
1754
2049
  )
1755
2050
  }
@@ -1757,9 +2052,9 @@ function Switch({
1757
2052
  }
1758
2053
 
1759
2054
  // src/components/textarea/textarea.tsx
1760
- import { jsx as jsx19 } from "react/jsx-runtime";
2055
+ import { jsx as jsx22 } from "react/jsx-runtime";
1761
2056
  function Textarea({ className, ...props }) {
1762
- return /* @__PURE__ */ jsx19(
2057
+ return /* @__PURE__ */ jsx22(
1763
2058
  "textarea",
1764
2059
  {
1765
2060
  "data-slot": "textarea",
@@ -1776,8 +2071,14 @@ function Textarea({ className, ...props }) {
1776
2071
  import * as React4 from "react";
1777
2072
  import { Toast as ToastPrimitive } from "radix-ui";
1778
2073
  import { cva as cva4 } from "class-variance-authority";
1779
- import { jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
1780
- var ToastProvider = ToastPrimitive.Provider;
2074
+ import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
2075
+ var toastDefaultDurationMs = 3e3;
2076
+ function ToastProvider({
2077
+ duration = toastDefaultDurationMs,
2078
+ ...props
2079
+ }) {
2080
+ return /* @__PURE__ */ jsx23(ToastPrimitive.Provider, { duration, ...props });
2081
+ }
1781
2082
  var ToastVisualContext = React4.createContext(null);
1782
2083
  var toastStatusIconByVariant = {
1783
2084
  destructive: FailedFilledIcon,
@@ -1814,7 +2115,7 @@ var toastVariants = cva4(
1814
2115
  variants: {
1815
2116
  variant: {
1816
2117
  default: "border border-[var(--toast-neutral-border)] bg-[var(--toast-neutral-bg)] text-[var(--toast-neutral-fg)]",
1817
- destructive: "border-0 bg-[var(--state-danger)] text-[var(--text-inverted)]",
2118
+ destructive: "border-0 bg-[var(--state-danger)] text-[var(--white-stationary)]",
1818
2119
  success: "border-0 bg-[var(--state-success)] text-[var(--text-inverted)]"
1819
2120
  }
1820
2121
  },
@@ -1834,7 +2135,7 @@ function ToastRoot({
1834
2135
  ...props
1835
2136
  }) {
1836
2137
  const isDestructive = variant === "destructive";
1837
- return /* @__PURE__ */ jsx20(
2138
+ return /* @__PURE__ */ jsx23(
1838
2139
  ToastPrimitive.Root,
1839
2140
  {
1840
2141
  "aria-busy": busy,
@@ -1851,7 +2152,7 @@ function ToastRoot({
1851
2152
  ...style
1852
2153
  },
1853
2154
  ...props,
1854
- children: /* @__PURE__ */ jsx20(ToastVisualContext.Provider, { value: { busy, variant }, children: /* @__PURE__ */ jsx20("span", { className: "flex min-w-0 max-w-full flex-col items-center justify-center whitespace-normal break-words text-center", children }) })
2155
+ children: /* @__PURE__ */ jsx23(ToastVisualContext.Provider, { value: { busy, variant }, children: /* @__PURE__ */ jsx23("span", { className: "flex min-w-0 max-w-full flex-col items-center justify-center whitespace-normal break-words text-center", children }) })
1855
2156
  }
1856
2157
  );
1857
2158
  }
@@ -1862,7 +2163,7 @@ function ToastTitle({
1862
2163
  }) {
1863
2164
  const toastVisual = React4.useContext(ToastVisualContext);
1864
2165
  const StatusIcon = toastVisual?.variant && hasToastStatusIcon(toastVisual.variant) ? toastStatusIconByVariant[toastVisual.variant] : null;
1865
- return /* @__PURE__ */ jsxs7(
2166
+ return /* @__PURE__ */ jsxs9(
1866
2167
  ToastPrimitive.Title,
1867
2168
  {
1868
2169
  "data-slot": "toast-title",
@@ -1872,16 +2173,16 @@ function ToastTitle({
1872
2173
  ),
1873
2174
  ...props,
1874
2175
  children: [
1875
- toastVisual?.busy ? /* @__PURE__ */ jsx20(
2176
+ toastVisual?.busy ? /* @__PURE__ */ jsx23(
1876
2177
  Spinner,
1877
2178
  {
1878
2179
  className: "shrink-0 text-current",
1879
2180
  size: 16,
1880
- strokeWidth: 3,
2181
+ strokeWidth: 2,
1881
2182
  trackColor: "color-mix(in srgb, currentColor 28%, transparent)"
1882
2183
  }
1883
- ) : StatusIcon ? /* @__PURE__ */ jsx20(StatusIcon, { className: "size-4 shrink-0 text-current" }) : null,
1884
- /* @__PURE__ */ jsx20("span", { className: "min-w-0 break-words", children: formatToastText(children) })
2184
+ ) : StatusIcon ? /* @__PURE__ */ jsx23(StatusIcon, { className: "size-4 shrink-0 text-current" }) : null,
2185
+ /* @__PURE__ */ jsx23("span", { className: "min-w-0 break-words", children: formatToastText(children) })
1885
2186
  ]
1886
2187
  }
1887
2188
  );
@@ -1890,7 +2191,7 @@ function ToastDescription({
1890
2191
  className,
1891
2192
  ...props
1892
2193
  }) {
1893
- return /* @__PURE__ */ jsx20(
2194
+ return /* @__PURE__ */ jsx23(
1894
2195
  ToastPrimitive.Description,
1895
2196
  {
1896
2197
  "data-slot": "toast-description",
@@ -1906,7 +2207,7 @@ function ToastClose({
1906
2207
  className,
1907
2208
  ...props
1908
2209
  }) {
1909
- return /* @__PURE__ */ jsx20(
2210
+ return /* @__PURE__ */ jsx23(
1910
2211
  ToastPrimitive.Close,
1911
2212
  {
1912
2213
  "data-slot": "toast-close",
@@ -1915,7 +2216,7 @@ function ToastClose({
1915
2216
  className
1916
2217
  ),
1917
2218
  ...props,
1918
- children: /* @__PURE__ */ jsx20(CloseIcon, { className: "size-4" })
2219
+ children: /* @__PURE__ */ jsx23(CloseIcon, { className: "size-4" })
1919
2220
  }
1920
2221
  );
1921
2222
  }
@@ -1924,7 +2225,7 @@ function ToastViewport({
1924
2225
  style,
1925
2226
  ...props
1926
2227
  }) {
1927
- return /* @__PURE__ */ jsx20(
2228
+ return /* @__PURE__ */ jsx23(
1928
2229
  ToastPrimitive.Viewport,
1929
2230
  {
1930
2231
  "data-slot": "toast-viewport",
@@ -1940,12 +2241,12 @@ function ToastViewport({
1940
2241
 
1941
2242
  // src/components/tooltip/tooltip.tsx
1942
2243
  import { Tooltip as TooltipPrimitive } from "radix-ui";
1943
- import { jsx as jsx21 } from "react/jsx-runtime";
2244
+ import { jsx as jsx24 } from "react/jsx-runtime";
1944
2245
  function TooltipProvider({
1945
2246
  delayDuration = 0,
1946
2247
  ...props
1947
2248
  }) {
1948
- return /* @__PURE__ */ jsx21(
2249
+ return /* @__PURE__ */ jsx24(
1949
2250
  TooltipPrimitive.Provider,
1950
2251
  {
1951
2252
  "data-slot": "tooltip-provider",
@@ -1957,25 +2258,26 @@ function TooltipProvider({
1957
2258
  function Tooltip({
1958
2259
  ...props
1959
2260
  }) {
1960
- return /* @__PURE__ */ jsx21(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
2261
+ return /* @__PURE__ */ jsx24(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
1961
2262
  }
1962
2263
  function TooltipTrigger({
1963
2264
  ...props
1964
2265
  }) {
1965
- return /* @__PURE__ */ jsx21(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
2266
+ return /* @__PURE__ */ jsx24(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
1966
2267
  }
1967
2268
  function TooltipPortal({
1968
2269
  ...props
1969
2270
  }) {
1970
- return /* @__PURE__ */ jsx21(TooltipPrimitive.Portal, { "data-slot": "tooltip-portal", ...props });
2271
+ return /* @__PURE__ */ jsx24(TooltipPrimitive.Portal, { "data-slot": "tooltip-portal", ...props });
1971
2272
  }
1972
2273
  function TooltipContent({
1973
2274
  className,
1974
2275
  sideOffset = 8,
1975
2276
  children,
2277
+ style,
1976
2278
  ...props
1977
2279
  }) {
1978
- return /* @__PURE__ */ jsx21(TooltipPortal, { children: /* @__PURE__ */ jsx21(
2280
+ return /* @__PURE__ */ jsx24(TooltipPortal, { children: /* @__PURE__ */ jsx24(
1979
2281
  TooltipPrimitive.Content,
1980
2282
  {
1981
2283
  "data-slot": "tooltip-content",
@@ -1984,7 +2286,7 @@ function TooltipContent({
1984
2286
  "z-50 inline-flex w-fit max-w-xs origin-(--radix-tooltip-content-transform-origin) items-center gap-2 rounded-md border border-[var(--border-1)] bg-[var(--background-fronted)] px-2 py-1 text-sm leading-[1.3] text-popover-foreground shadow-soft outline-none 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 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
1985
2287
  className
1986
2288
  ),
1987
- style: { zIndex: "var(--z-popover)" },
2289
+ style: { zIndex: "var(--z-tooltip)", ...style },
1988
2290
  ...props,
1989
2291
  children
1990
2292
  }
@@ -1993,7 +2295,7 @@ function TooltipContent({
1993
2295
 
1994
2296
  // src/components/underline-tabs/underline-tabs.tsx
1995
2297
  import { useEffect as useEffect3, useLayoutEffect as useLayoutEffect2, useRef as useRef2, useState as useState3 } from "react";
1996
- import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
2298
+ import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
1997
2299
  function UnderlineTabs({
1998
2300
  tabs,
1999
2301
  value,
@@ -2076,7 +2378,7 @@ function UnderlineTabs({
2076
2378
  behavior: "smooth"
2077
2379
  });
2078
2380
  };
2079
- return /* @__PURE__ */ jsxs8(
2381
+ return /* @__PURE__ */ jsxs10(
2080
2382
  "div",
2081
2383
  {
2082
2384
  "aria-label": ariaLabel,
@@ -2088,7 +2390,7 @@ function UnderlineTabs({
2088
2390
  "data-testid": testId,
2089
2391
  role: "tablist",
2090
2392
  children: [
2091
- /* @__PURE__ */ jsx22(
2393
+ /* @__PURE__ */ jsx25(
2092
2394
  "div",
2093
2395
  {
2094
2396
  ref: viewportRef,
@@ -2102,7 +2404,7 @@ function UnderlineTabs({
2102
2404
  "data-can-scroll-right": overflow.canScrollRight ? "true" : "false",
2103
2405
  "data-slot": "underline-tabs-viewport",
2104
2406
  "data-testid": viewportTestId,
2105
- children: /* @__PURE__ */ jsxs8(
2407
+ children: /* @__PURE__ */ jsxs10(
2106
2408
  "div",
2107
2409
  {
2108
2410
  ref: rowRef,
@@ -2110,7 +2412,7 @@ function UnderlineTabs({
2110
2412
  children: [
2111
2413
  tabs.map((tab) => {
2112
2414
  const isActive = value === tab.value;
2113
- return /* @__PURE__ */ jsxs8(
2415
+ return /* @__PURE__ */ jsxs10(
2114
2416
  "button",
2115
2417
  {
2116
2418
  ref: (element) => {
@@ -2123,7 +2425,7 @@ function UnderlineTabs({
2123
2425
  "aria-selected": isActive,
2124
2426
  className: cn(
2125
2427
  "relative inline-flex h-6 shrink-0 items-center gap-1.5 whitespace-nowrap border-0 bg-transparent p-0 text-[13px] font-semibold leading-6 text-[var(--text-secondary)] transition-colors hover:text-[var(--text-primary)] focus-visible:outline-none",
2126
- isActive && "text-primary"
2428
+ isActive && "text-[var(--accent)]"
2127
2429
  ),
2128
2430
  "data-active": isActive ? "true" : "false",
2129
2431
  "data-slot": "underline-tabs-tab",
@@ -2133,18 +2435,18 @@ function UnderlineTabs({
2133
2435
  onClick: () => onValueChange(tab.value),
2134
2436
  onMouseDown: preventMouseDownDefault ? (event) => event.preventDefault() : void 0,
2135
2437
  children: [
2136
- /* @__PURE__ */ jsx22("span", { children: tab.label }),
2137
- tab.count !== void 0 ? /* @__PURE__ */ jsx22("span", { className: "text-xs font-semibold leading-6 text-[inherit] opacity-[0.58]", children: tab.count }) : null
2438
+ /* @__PURE__ */ jsx25("span", { children: tab.label }),
2439
+ tab.count !== void 0 ? /* @__PURE__ */ jsx25("span", { className: "text-xs font-semibold leading-6 text-[inherit]", children: tab.count }) : null
2138
2440
  ]
2139
2441
  },
2140
2442
  tab.value
2141
2443
  );
2142
2444
  }),
2143
- /* @__PURE__ */ jsx22(
2445
+ /* @__PURE__ */ jsx25(
2144
2446
  "div",
2145
2447
  {
2146
2448
  "aria-hidden": true,
2147
- className: "absolute bottom-0 left-0 z-[1] h-0.5 rounded-[1px] bg-primary transition-[transform,width] duration-[220ms] ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:transition-none",
2449
+ className: "absolute bottom-0 left-0 z-[1] h-0.5 rounded-[1px] bg-[var(--accent)] transition-[transform,width] duration-[220ms] ease-[cubic-bezier(0.4,0,0.2,1)] motion-reduce:transition-none",
2148
2450
  "data-slot": "underline-tabs-indicator",
2149
2451
  style: {
2150
2452
  transform: `translateX(${indicatorStyle.left}px)`,
@@ -2157,7 +2459,7 @@ function UnderlineTabs({
2157
2459
  )
2158
2460
  }
2159
2461
  ),
2160
- /* @__PURE__ */ jsx22(
2462
+ /* @__PURE__ */ jsx25(
2161
2463
  "button",
2162
2464
  {
2163
2465
  "aria-label": scrollLeftLabel,
@@ -2168,10 +2470,10 @@ function UnderlineTabs({
2168
2470
  disabled: !overflow.canScrollLeft,
2169
2471
  type: "button",
2170
2472
  onClick: () => scrollTabs("left"),
2171
- children: /* @__PURE__ */ jsx22(ArrowLeftIcon, { size: 16 })
2473
+ children: /* @__PURE__ */ jsx25(ArrowLeftIcon, { size: 16 })
2172
2474
  }
2173
2475
  ),
2174
- /* @__PURE__ */ jsx22(
2476
+ /* @__PURE__ */ jsx25(
2175
2477
  "button",
2176
2478
  {
2177
2479
  "aria-label": scrollRightLabel,
@@ -2182,7 +2484,7 @@ function UnderlineTabs({
2182
2484
  disabled: !overflow.canScrollRight,
2183
2485
  type: "button",
2184
2486
  onClick: () => scrollTabs("right"),
2185
- children: /* @__PURE__ */ jsx22(ArrowRightIcon, { size: 16 })
2487
+ children: /* @__PURE__ */ jsx25(ArrowRightIcon, { size: 16 })
2186
2488
  }
2187
2489
  )
2188
2490
  ]
@@ -2193,7 +2495,7 @@ function UnderlineTabs({
2193
2495
  // src/components/viewport-menu-surface/viewport-menu-surface.tsx
2194
2496
  import * as React5 from "react";
2195
2497
  import { createPortal as createPortal2 } from "react-dom";
2196
- import { jsx as jsx23 } from "react/jsx-runtime";
2498
+ import { jsx as jsx26 } from "react/jsx-runtime";
2197
2499
  var VIEWPORT_MENU_PADDING = 12;
2198
2500
  var MENU_BOUNDARY_PADDING = 8;
2199
2501
  function clampMenuCoordinate(origin, size, viewportExtent, padding) {
@@ -2440,7 +2742,7 @@ var ViewportMenuSurface = React5.forwardRef(function ViewportMenuSurface2({
2440
2742
  return null;
2441
2743
  }
2442
2744
  return createPortal2(
2443
- /* @__PURE__ */ jsx23(
2745
+ /* @__PURE__ */ jsx26(
2444
2746
  MenuSurface,
2445
2747
  {
2446
2748
  ...rest,
@@ -2498,6 +2800,16 @@ export {
2498
2800
  DialogDescription,
2499
2801
  ConfirmationDialog,
2500
2802
  DatePicker,
2803
+ Drawer,
2804
+ DrawerTrigger,
2805
+ DrawerPortal,
2806
+ DrawerClose,
2807
+ DrawerOverlay,
2808
+ DrawerContent,
2809
+ DrawerHeader,
2810
+ DrawerFooter,
2811
+ DrawerTitle,
2812
+ DrawerDescription,
2501
2813
  menuSurfaceClassName,
2502
2814
  menuItemClassName,
2503
2815
  menuItemWithIndicatorClassName,
@@ -2519,6 +2831,7 @@ export {
2519
2831
  DropdownMenuSubTrigger,
2520
2832
  DropdownMenuSubContent,
2521
2833
  Input,
2834
+ MentionPill,
2522
2835
  Popover,
2523
2836
  PopoverTrigger,
2524
2837
  PopoverPortal,
@@ -2546,6 +2859,8 @@ export {
2546
2859
  SelectScrollUpButton,
2547
2860
  SelectScrollDownButton,
2548
2861
  Separator2 as Separator,
2862
+ toast,
2863
+ Toaster,
2549
2864
  Spinner,
2550
2865
  statusDotVariants,
2551
2866
  StatusDot,
@@ -2566,4 +2881,4 @@ export {
2566
2881
  UnderlineTabs,
2567
2882
  ViewportMenuSurface
2568
2883
  };
2569
- //# sourceMappingURL=chunk-DKR4UYO3.js.map
2884
+ //# sourceMappingURL=chunk-CBMNQQWH.js.map