@nextop-os/ui-system 0.0.27 → 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.
@@ -11,8 +11,10 @@ import {
11
11
  FolderFilledIcon,
12
12
  IssueIcon,
13
13
  LoadingIcon,
14
- SuccessFilledIcon
15
- } from "./chunk-UELLN5VR.js";
14
+ SuccessFilledIcon,
15
+ WarningFilledIcon,
16
+ WarningLinedIcon
17
+ } from "./chunk-3BPTHQCX.js";
16
18
  import {
17
19
  cn
18
20
  } from "./chunk-DGPY4WP3.js";
@@ -22,11 +24,12 @@ import { cva } from "class-variance-authority";
22
24
  import { Slot } from "radix-ui";
23
25
  import { jsx } from "react/jsx-runtime";
24
26
  var badgeVariants = cva(
25
- "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!",
26
28
  {
27
29
  variants: {
28
30
  variant: {
29
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)]",
30
33
  secondary: "bg-[var(--transparency-block)] text-[var(--text-secondary)] [a]:hover:bg-[var(--transparency-hover)]",
31
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",
32
35
  outline: "border-border bg-card/90 text-foreground [a]:hover:bg-muted [a]:hover:text-foreground",
@@ -884,13 +887,139 @@ var DatePicker = React2.forwardRef(
884
887
  );
885
888
  DatePicker.displayName = "DatePicker";
886
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
+
887
1016
  // src/components/dropdown-menu/dropdown-menu.tsx
888
1017
  import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui";
889
1018
 
890
1019
  // src/components/menu-surface/menu-surface.tsx
891
1020
  import * as React3 from "react";
892
1021
  import { Slot as Slot3 } from "radix-ui";
893
- import { jsx as jsx8 } from "react/jsx-runtime";
1022
+ import { jsx as jsx9 } from "react/jsx-runtime";
894
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";
895
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";
896
1025
  var menuItemWithIndicatorClassName = `${menuItemClassName} pr-8`;
@@ -904,7 +1033,7 @@ var MenuSurface = React3.forwardRef(
904
1033
  ...props
905
1034
  }, ref) => {
906
1035
  const Comp = asChild ? Slot3.Root : "div";
907
- return /* @__PURE__ */ jsx8(
1036
+ return /* @__PURE__ */ jsx9(
908
1037
  Comp,
909
1038
  {
910
1039
  ...props,
@@ -918,21 +1047,21 @@ var MenuSurface = React3.forwardRef(
918
1047
  MenuSurface.displayName = "MenuSurface";
919
1048
 
920
1049
  // src/components/dropdown-menu/dropdown-menu.tsx
921
- import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
1050
+ import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
922
1051
  function DropdownMenu({
923
1052
  ...props
924
1053
  }) {
925
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
1054
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
926
1055
  }
927
1056
  function DropdownMenuPortal({
928
1057
  ...props
929
1058
  }) {
930
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1059
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Portal, { "data-slot": "dropdown-menu-portal", ...props });
931
1060
  }
932
1061
  function DropdownMenuTrigger({
933
1062
  ...props
934
1063
  }) {
935
- return /* @__PURE__ */ jsx9(
1064
+ return /* @__PURE__ */ jsx10(
936
1065
  DropdownMenuPrimitive.Trigger,
937
1066
  {
938
1067
  "data-slot": "dropdown-menu-trigger",
@@ -948,7 +1077,7 @@ function DropdownMenuContent({
948
1077
  style,
949
1078
  ...props
950
1079
  }) {
951
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx9(
1080
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx10(
952
1081
  DropdownMenuPrimitive.Content,
953
1082
  {
954
1083
  asChild: true,
@@ -956,7 +1085,7 @@ function DropdownMenuContent({
956
1085
  align,
957
1086
  sideOffset,
958
1087
  ...props,
959
- children: /* @__PURE__ */ jsx9(
1088
+ children: /* @__PURE__ */ jsx10(
960
1089
  MenuSurface,
961
1090
  {
962
1091
  "data-slot": "dropdown-menu-content",
@@ -975,7 +1104,7 @@ function DropdownMenuGroup({
975
1104
  className,
976
1105
  ...props
977
1106
  }) {
978
- return /* @__PURE__ */ jsx9(
1107
+ return /* @__PURE__ */ jsx10(
979
1108
  DropdownMenuPrimitive.Group,
980
1109
  {
981
1110
  "data-slot": "dropdown-menu-group",
@@ -990,7 +1119,7 @@ function DropdownMenuItem({
990
1119
  variant = "default",
991
1120
  ...props
992
1121
  }) {
993
- return /* @__PURE__ */ jsx9(
1122
+ return /* @__PURE__ */ jsx10(
994
1123
  DropdownMenuPrimitive.Item,
995
1124
  {
996
1125
  "data-inset": inset,
@@ -1013,7 +1142,7 @@ function DropdownMenuCheckboxItem({
1013
1142
  inset,
1014
1143
  ...props
1015
1144
  }) {
1016
- return /* @__PURE__ */ jsxs4(
1145
+ return /* @__PURE__ */ jsxs5(
1017
1146
  DropdownMenuPrimitive.CheckboxItem,
1018
1147
  {
1019
1148
  checked,
@@ -1026,12 +1155,12 @@ function DropdownMenuCheckboxItem({
1026
1155
  ),
1027
1156
  ...props,
1028
1157
  children: [
1029
- /* @__PURE__ */ jsx9(
1158
+ /* @__PURE__ */ jsx10(
1030
1159
  "span",
1031
1160
  {
1032
1161
  className: menuItemIndicatorClassName,
1033
1162
  "data-slot": "dropdown-menu-checkbox-item-indicator",
1034
- children: /* @__PURE__ */ jsx9(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx9(CheckIcon, {}) })
1163
+ children: /* @__PURE__ */ jsx10(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx10(CheckIcon, {}) })
1035
1164
  }
1036
1165
  ),
1037
1166
  children
@@ -1043,7 +1172,7 @@ function DropdownMenuRadioGroup({
1043
1172
  className,
1044
1173
  ...props
1045
1174
  }) {
1046
- return /* @__PURE__ */ jsx9(
1175
+ return /* @__PURE__ */ jsx10(
1047
1176
  DropdownMenuPrimitive.RadioGroup,
1048
1177
  {
1049
1178
  "data-slot": "dropdown-menu-radio-group",
@@ -1058,7 +1187,7 @@ function DropdownMenuRadioItem({
1058
1187
  inset,
1059
1188
  ...props
1060
1189
  }) {
1061
- return /* @__PURE__ */ jsxs4(
1190
+ return /* @__PURE__ */ jsxs5(
1062
1191
  DropdownMenuPrimitive.RadioItem,
1063
1192
  {
1064
1193
  "data-inset": inset,
@@ -1070,12 +1199,12 @@ function DropdownMenuRadioItem({
1070
1199
  ),
1071
1200
  ...props,
1072
1201
  children: [
1073
- /* @__PURE__ */ jsx9(
1202
+ /* @__PURE__ */ jsx10(
1074
1203
  "span",
1075
1204
  {
1076
1205
  className: menuItemIndicatorClassName,
1077
1206
  "data-slot": "dropdown-menu-radio-item-indicator",
1078
- children: /* @__PURE__ */ jsx9(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx9(CheckIcon, {}) })
1207
+ children: /* @__PURE__ */ jsx10(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx10(CheckIcon, {}) })
1079
1208
  }
1080
1209
  ),
1081
1210
  children
@@ -1088,7 +1217,7 @@ function DropdownMenuLabel({
1088
1217
  inset,
1089
1218
  ...props
1090
1219
  }) {
1091
- return /* @__PURE__ */ jsx9(
1220
+ return /* @__PURE__ */ jsx10(
1092
1221
  DropdownMenuPrimitive.Label,
1093
1222
  {
1094
1223
  "data-inset": inset,
@@ -1105,7 +1234,7 @@ function DropdownMenuSeparator({
1105
1234
  className,
1106
1235
  ...props
1107
1236
  }) {
1108
- return /* @__PURE__ */ jsx9(
1237
+ return /* @__PURE__ */ jsx10(
1109
1238
  DropdownMenuPrimitive.Separator,
1110
1239
  {
1111
1240
  "data-slot": "dropdown-menu-separator",
@@ -1118,7 +1247,7 @@ function DropdownMenuShortcut({
1118
1247
  className,
1119
1248
  ...props
1120
1249
  }) {
1121
- return /* @__PURE__ */ jsx9(
1250
+ return /* @__PURE__ */ jsx10(
1122
1251
  "span",
1123
1252
  {
1124
1253
  "data-slot": "dropdown-menu-shortcut",
@@ -1133,7 +1262,7 @@ function DropdownMenuShortcut({
1133
1262
  function DropdownMenuSub({
1134
1263
  ...props
1135
1264
  }) {
1136
- return /* @__PURE__ */ jsx9(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
1265
+ return /* @__PURE__ */ jsx10(DropdownMenuPrimitive.Sub, { "data-slot": "dropdown-menu-sub", ...props });
1137
1266
  }
1138
1267
  function DropdownMenuSubTrigger({
1139
1268
  className,
@@ -1141,7 +1270,7 @@ function DropdownMenuSubTrigger({
1141
1270
  children,
1142
1271
  ...props
1143
1272
  }) {
1144
- return /* @__PURE__ */ jsxs4(
1273
+ return /* @__PURE__ */ jsxs5(
1145
1274
  DropdownMenuPrimitive.SubTrigger,
1146
1275
  {
1147
1276
  "data-inset": inset,
@@ -1154,7 +1283,7 @@ function DropdownMenuSubTrigger({
1154
1283
  ...props,
1155
1284
  children: [
1156
1285
  children,
1157
- /* @__PURE__ */ jsx9(ArrowRightIcon, { className: "ml-auto" })
1286
+ /* @__PURE__ */ jsx10(ArrowRightIcon, { className: "ml-auto" })
1158
1287
  ]
1159
1288
  }
1160
1289
  );
@@ -1165,13 +1294,13 @@ function DropdownMenuSubContent({
1165
1294
  style,
1166
1295
  ...props
1167
1296
  }) {
1168
- return /* @__PURE__ */ jsx9(
1297
+ return /* @__PURE__ */ jsx10(
1169
1298
  DropdownMenuPrimitive.SubContent,
1170
1299
  {
1171
1300
  asChild: true,
1172
1301
  "data-slot": "dropdown-menu-sub-content",
1173
1302
  ...props,
1174
- children: /* @__PURE__ */ jsx9(
1303
+ children: /* @__PURE__ */ jsx10(
1175
1304
  MenuSurface,
1176
1305
  {
1177
1306
  "data-slot": "dropdown-menu-sub-content",
@@ -1188,7 +1317,7 @@ function DropdownMenuSubContent({
1188
1317
  }
1189
1318
 
1190
1319
  // src/components/input/input.tsx
1191
- import { jsx as jsx10 } from "react/jsx-runtime";
1320
+ import { jsx as jsx11 } from "react/jsx-runtime";
1192
1321
  var inputVariantClassNames = {
1193
1322
  default: "h-8 rounded-[6px] px-3 py-0 text-sm leading-[1.3]",
1194
1323
  lg: "h-12 rounded-[8px] px-4 py-3 text-base leading-[1.3]",
@@ -1204,7 +1333,7 @@ function Input({
1204
1333
  ...props
1205
1334
  }) {
1206
1335
  const resolvedVariant = variant ?? (size === "sm" ? "sm" : "default");
1207
- return /* @__PURE__ */ jsx10(
1336
+ return /* @__PURE__ */ jsx11(
1208
1337
  "input",
1209
1338
  {
1210
1339
  type,
@@ -1223,7 +1352,7 @@ function Input({
1223
1352
  }
1224
1353
 
1225
1354
  // src/components/mention-pill/mention-pill.tsx
1226
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1355
+ import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1227
1356
  var mentionPillTokenByKind = {
1228
1357
  issue: "var(--rich-text-mention-issue)",
1229
1358
  session: "var(--rich-text-mention-session)",
@@ -1251,7 +1380,7 @@ function MentionPill({
1251
1380
  const dataKind = mentionPillDataKindByKind[kind];
1252
1381
  const iconSizeClassName = isFile ? "size-3.5" : "size-4";
1253
1382
  const iconShellClassName = isFile ? "size-3.5" : "size-[18px]";
1254
- return /* @__PURE__ */ jsxs5(
1383
+ return /* @__PURE__ */ jsxs6(
1255
1384
  "span",
1256
1385
  {
1257
1386
  className: cn(
@@ -1268,7 +1397,7 @@ function MentionPill({
1268
1397
  },
1269
1398
  ...props,
1270
1399
  children: [
1271
- /* @__PURE__ */ jsxs5(
1400
+ /* @__PURE__ */ jsxs6(
1272
1401
  "span",
1273
1402
  {
1274
1403
  "aria-hidden": removable ? void 0 : true,
@@ -1277,7 +1406,7 @@ function MentionPill({
1277
1406
  iconShellClassName
1278
1407
  ),
1279
1408
  children: [
1280
- /* @__PURE__ */ jsx11(
1409
+ /* @__PURE__ */ jsx12(
1281
1410
  Icon,
1282
1411
  {
1283
1412
  className: cn(
@@ -1287,7 +1416,7 @@ function MentionPill({
1287
1416
  )
1288
1417
  }
1289
1418
  ),
1290
- removable ? /* @__PURE__ */ jsx11(
1419
+ removable ? /* @__PURE__ */ jsx12(
1291
1420
  "button",
1292
1421
  {
1293
1422
  "aria-label": removeButtonProps?.["aria-label"],
@@ -1297,15 +1426,15 @@ function MentionPill({
1297
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",
1298
1427
  removeButtonProps?.className
1299
1428
  ),
1300
- children: /* @__PURE__ */ jsx11(CloseIcon, { className: "size-3.5" })
1429
+ children: /* @__PURE__ */ jsx12(CloseIcon, { className: "size-3.5" })
1301
1430
  }
1302
1431
  ) : null
1303
1432
  ]
1304
1433
  }
1305
1434
  ),
1306
- /* @__PURE__ */ jsxs5("span", { className: "min-w-0 overflow-hidden text-ellipsis whitespace-nowrap", children: [
1307
- /* @__PURE__ */ jsx11("span", { children: label }),
1308
- summary ? /* @__PURE__ */ jsxs5("span", { className: "text-current", children: [
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: [
1309
1438
  " ",
1310
1439
  summary
1311
1440
  ] }) : null
@@ -1317,26 +1446,26 @@ function MentionPill({
1317
1446
 
1318
1447
  // src/components/popover/popover.tsx
1319
1448
  import { Popover as PopoverPrimitive } from "radix-ui";
1320
- import { jsx as jsx12 } from "react/jsx-runtime";
1449
+ import { jsx as jsx13 } from "react/jsx-runtime";
1321
1450
  function Popover({
1322
1451
  ...props
1323
1452
  }) {
1324
- return /* @__PURE__ */ jsx12(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
1453
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Root, { "data-slot": "popover", ...props });
1325
1454
  }
1326
1455
  function PopoverTrigger({
1327
1456
  ...props
1328
1457
  }) {
1329
- return /* @__PURE__ */ jsx12(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
1458
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Trigger, { "data-slot": "popover-trigger", ...props });
1330
1459
  }
1331
1460
  function PopoverPortal({
1332
1461
  ...props
1333
1462
  }) {
1334
- return /* @__PURE__ */ jsx12(PopoverPrimitive.Portal, { "data-slot": "popover-portal", ...props });
1463
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Portal, { "data-slot": "popover-portal", ...props });
1335
1464
  }
1336
1465
  function PopoverClose({
1337
1466
  ...props
1338
1467
  }) {
1339
- return /* @__PURE__ */ jsx12(PopoverPrimitive.Close, { "data-slot": "popover-close", ...props });
1468
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Close, { "data-slot": "popover-close", ...props });
1340
1469
  }
1341
1470
  function PopoverContent({
1342
1471
  className,
@@ -1344,7 +1473,7 @@ function PopoverContent({
1344
1473
  sideOffset = 4,
1345
1474
  ...props
1346
1475
  }) {
1347
- return /* @__PURE__ */ jsx12(PopoverPortal, { children: /* @__PURE__ */ jsx12(
1476
+ return /* @__PURE__ */ jsx13(PopoverPortal, { children: /* @__PURE__ */ jsx13(
1348
1477
  PopoverPrimitive.Content,
1349
1478
  {
1350
1479
  "data-slot": "popover-content",
@@ -1362,18 +1491,18 @@ function PopoverContent({
1362
1491
  function PopoverAnchor({
1363
1492
  ...props
1364
1493
  }) {
1365
- return /* @__PURE__ */ jsx12(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
1494
+ return /* @__PURE__ */ jsx13(PopoverPrimitive.Anchor, { "data-slot": "popover-anchor", ...props });
1366
1495
  }
1367
1496
 
1368
1497
  // src/components/resizable/resizable.tsx
1369
1498
  import * as ResizablePrimitive from "react-resizable-panels";
1370
- import { jsx as jsx13 } from "react/jsx-runtime";
1499
+ import { jsx as jsx14 } from "react/jsx-runtime";
1371
1500
  function ResizablePanelGroup({
1372
1501
  className,
1373
1502
  orientation = "horizontal",
1374
1503
  ...props
1375
1504
  }) {
1376
- return /* @__PURE__ */ jsx13(
1505
+ return /* @__PURE__ */ jsx14(
1377
1506
  ResizablePrimitive.Group,
1378
1507
  {
1379
1508
  "data-orientation": orientation,
@@ -1388,14 +1517,14 @@ function ResizablePanelGroup({
1388
1517
  );
1389
1518
  }
1390
1519
  function ResizablePanel(props) {
1391
- return /* @__PURE__ */ jsx13(ResizablePrimitive.Panel, { "data-slot": "resizable-panel", ...props });
1520
+ return /* @__PURE__ */ jsx14(ResizablePrimitive.Panel, { "data-slot": "resizable-panel", ...props });
1392
1521
  }
1393
1522
  function ResizableHandle({
1394
1523
  className,
1395
1524
  withHandle,
1396
1525
  ...props
1397
1526
  }) {
1398
- return /* @__PURE__ */ jsx13(
1527
+ return /* @__PURE__ */ jsx14(
1399
1528
  ResizablePrimitive.Separator,
1400
1529
  {
1401
1530
  "data-slot": "resizable-handle",
@@ -1404,27 +1533,27 @@ function ResizableHandle({
1404
1533
  className
1405
1534
  ),
1406
1535
  ...props,
1407
- children: withHandle ? /* @__PURE__ */ jsx13("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
1408
1537
  }
1409
1538
  );
1410
1539
  }
1411
1540
 
1412
1541
  // src/components/scroll-area/scroll-area.tsx
1413
1542
  import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
1414
- import { jsx as jsx14, jsxs as jsxs6 } from "react/jsx-runtime";
1543
+ import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
1415
1544
  function ScrollArea({
1416
1545
  className,
1417
1546
  children,
1418
1547
  ...props
1419
1548
  }) {
1420
- return /* @__PURE__ */ jsxs6(
1549
+ return /* @__PURE__ */ jsxs7(
1421
1550
  ScrollAreaPrimitive.Root,
1422
1551
  {
1423
1552
  "data-slot": "scroll-area",
1424
1553
  className: cn("group/scroll-area relative", className),
1425
1554
  ...props,
1426
1555
  children: [
1427
- /* @__PURE__ */ jsx14(
1556
+ /* @__PURE__ */ jsx15(
1428
1557
  ScrollAreaPrimitive.Viewport,
1429
1558
  {
1430
1559
  "data-slot": "scroll-area-viewport",
@@ -1432,8 +1561,8 @@ function ScrollArea({
1432
1561
  children
1433
1562
  }
1434
1563
  ),
1435
- /* @__PURE__ */ jsx14(ScrollBar, {}),
1436
- /* @__PURE__ */ jsx14(ScrollAreaPrimitive.Corner, {})
1564
+ /* @__PURE__ */ jsx15(ScrollBar, {}),
1565
+ /* @__PURE__ */ jsx15(ScrollAreaPrimitive.Corner, {})
1437
1566
  ]
1438
1567
  }
1439
1568
  );
@@ -1443,7 +1572,7 @@ function ScrollBar({
1443
1572
  orientation = "vertical",
1444
1573
  ...props
1445
1574
  }) {
1446
- return /* @__PURE__ */ jsx14(
1575
+ return /* @__PURE__ */ jsx15(
1447
1576
  ScrollAreaPrimitive.ScrollAreaScrollbar,
1448
1577
  {
1449
1578
  "data-slot": "scroll-area-scrollbar",
@@ -1454,7 +1583,7 @@ function ScrollBar({
1454
1583
  className
1455
1584
  ),
1456
1585
  ...props,
1457
- children: /* @__PURE__ */ jsx14(
1586
+ children: /* @__PURE__ */ jsx15(
1458
1587
  ScrollAreaPrimitive.ScrollAreaThumb,
1459
1588
  {
1460
1589
  "data-slot": "scroll-area-thumb",
@@ -1467,17 +1596,17 @@ function ScrollBar({
1467
1596
 
1468
1597
  // src/components/select/select.tsx
1469
1598
  import { Select as SelectPrimitive } from "radix-ui";
1470
- import { jsx as jsx15, jsxs as jsxs7 } from "react/jsx-runtime";
1599
+ import { jsx as jsx16, jsxs as jsxs8 } from "react/jsx-runtime";
1471
1600
  function Select({
1472
1601
  ...props
1473
1602
  }) {
1474
- return /* @__PURE__ */ jsx15(SelectPrimitive.Root, { "data-slot": "select", ...props });
1603
+ return /* @__PURE__ */ jsx16(SelectPrimitive.Root, { "data-slot": "select", ...props });
1475
1604
  }
1476
1605
  function SelectGroup({
1477
1606
  className,
1478
1607
  ...props
1479
1608
  }) {
1480
- return /* @__PURE__ */ jsx15(
1609
+ return /* @__PURE__ */ jsx16(
1481
1610
  SelectPrimitive.Group,
1482
1611
  {
1483
1612
  "data-slot": "select-group",
@@ -1489,27 +1618,38 @@ function SelectGroup({
1489
1618
  function SelectValue({
1490
1619
  ...props
1491
1620
  }) {
1492
- return /* @__PURE__ */ jsx15(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1621
+ return /* @__PURE__ */ jsx16(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1493
1622
  }
1494
1623
  function SelectTrigger({
1495
1624
  className,
1496
1625
  size = "default",
1626
+ variant = "default",
1497
1627
  children,
1498
1628
  ...props
1499
1629
  }) {
1500
- return /* @__PURE__ */ jsxs7(
1630
+ return /* @__PURE__ */ jsxs8(
1501
1631
  SelectPrimitive.Trigger,
1502
1632
  {
1503
1633
  "data-slot": "select-trigger",
1504
1634
  "data-size": size,
1635
+ "data-variant": variant,
1505
1636
  className: cn(
1506
- "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",
1507
1639
  className
1508
1640
  ),
1509
1641
  ...props,
1510
1642
  children: [
1511
1643
  children,
1512
- /* @__PURE__ */ jsx15(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx15(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
+ ) })
1513
1653
  ]
1514
1654
  }
1515
1655
  );
@@ -1522,7 +1662,7 @@ function SelectContent({
1522
1662
  style,
1523
1663
  ...props
1524
1664
  }) {
1525
- return /* @__PURE__ */ jsx15(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx15(
1665
+ return /* @__PURE__ */ jsx16(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
1526
1666
  SelectPrimitive.Content,
1527
1667
  {
1528
1668
  asChild: true,
@@ -1531,7 +1671,7 @@ function SelectContent({
1531
1671
  position,
1532
1672
  align,
1533
1673
  ...props,
1534
- children: /* @__PURE__ */ jsxs7(
1674
+ children: /* @__PURE__ */ jsxs8(
1535
1675
  MenuSurface,
1536
1676
  {
1537
1677
  "data-slot": "select-content",
@@ -1542,8 +1682,8 @@ function SelectContent({
1542
1682
  ),
1543
1683
  style: { zIndex: "var(--z-popover)", ...style },
1544
1684
  children: [
1545
- /* @__PURE__ */ jsx15(SelectScrollUpButton, {}),
1546
- /* @__PURE__ */ jsx15(
1685
+ /* @__PURE__ */ jsx16(SelectScrollUpButton, {}),
1686
+ /* @__PURE__ */ jsx16(
1547
1687
  SelectPrimitive.Viewport,
1548
1688
  {
1549
1689
  "data-position": position,
@@ -1553,7 +1693,7 @@ function SelectContent({
1553
1693
  children
1554
1694
  }
1555
1695
  ),
1556
- /* @__PURE__ */ jsx15(SelectScrollDownButton, {})
1696
+ /* @__PURE__ */ jsx16(SelectScrollDownButton, {})
1557
1697
  ]
1558
1698
  }
1559
1699
  )
@@ -1564,7 +1704,7 @@ function SelectLabel({
1564
1704
  className,
1565
1705
  ...props
1566
1706
  }) {
1567
- return /* @__PURE__ */ jsx15(
1707
+ return /* @__PURE__ */ jsx16(
1568
1708
  SelectPrimitive.Label,
1569
1709
  {
1570
1710
  "data-slot": "select-label",
@@ -1580,7 +1720,7 @@ function SelectSplitLayout({
1580
1720
  className,
1581
1721
  ...props
1582
1722
  }) {
1583
- return /* @__PURE__ */ jsx15(
1723
+ return /* @__PURE__ */ jsx16(
1584
1724
  "div",
1585
1725
  {
1586
1726
  "data-slot": "select-split-layout",
@@ -1596,7 +1736,7 @@ function SelectSplitColumn({
1596
1736
  className,
1597
1737
  ...props
1598
1738
  }) {
1599
- return /* @__PURE__ */ jsx15(
1739
+ return /* @__PURE__ */ jsx16(
1600
1740
  "div",
1601
1741
  {
1602
1742
  "data-slot": "select-split-column",
@@ -1609,7 +1749,7 @@ function SelectSplitColumnLabel({
1609
1749
  className,
1610
1750
  ...props
1611
1751
  }) {
1612
- return /* @__PURE__ */ jsx15(
1752
+ return /* @__PURE__ */ jsx16(
1613
1753
  "div",
1614
1754
  {
1615
1755
  "data-slot": "select-split-column-label",
@@ -1625,7 +1765,7 @@ function SelectSplitColumnItems({
1625
1765
  className,
1626
1766
  ...props
1627
1767
  }) {
1628
- return /* @__PURE__ */ jsx15(
1768
+ return /* @__PURE__ */ jsx16(
1629
1769
  "div",
1630
1770
  {
1631
1771
  "data-slot": "select-split-column-items",
@@ -1641,7 +1781,7 @@ function SelectSplitDivider({
1641
1781
  className,
1642
1782
  ...props
1643
1783
  }) {
1644
- return /* @__PURE__ */ jsx15(
1784
+ return /* @__PURE__ */ jsx16(
1645
1785
  "div",
1646
1786
  {
1647
1787
  "aria-hidden": "true",
@@ -1657,17 +1797,24 @@ function SelectSplitDivider({
1657
1797
  function SelectItem({
1658
1798
  className,
1659
1799
  children,
1800
+ forceSelectedIndicator = false,
1660
1801
  ...props
1661
1802
  }) {
1662
- return /* @__PURE__ */ jsxs7(
1803
+ return /* @__PURE__ */ jsxs8(
1663
1804
  SelectPrimitive.Item,
1664
1805
  {
1665
1806
  "data-slot": "select-item",
1666
1807
  className: cn("w-full", menuItemWithIndicatorClassName, className),
1667
1808
  ...props,
1668
1809
  children: [
1669
- /* @__PURE__ */ jsx15("span", { className: menuItemIndicatorClassName, children: /* @__PURE__ */ jsx15(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx15(CheckIcon, { className: "pointer-events-none" }) }) }),
1670
- /* @__PURE__ */ jsx15(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 })
1671
1818
  ]
1672
1819
  }
1673
1820
  );
@@ -1676,7 +1823,7 @@ function SelectSeparator({
1676
1823
  className,
1677
1824
  ...props
1678
1825
  }) {
1679
- return /* @__PURE__ */ jsx15(
1826
+ return /* @__PURE__ */ jsx16(
1680
1827
  SelectPrimitive.Separator,
1681
1828
  {
1682
1829
  "data-slot": "select-separator",
@@ -1692,7 +1839,7 @@ function SelectScrollUpButton({
1692
1839
  className,
1693
1840
  ...props
1694
1841
  }) {
1695
- return /* @__PURE__ */ jsx15(
1842
+ return /* @__PURE__ */ jsx16(
1696
1843
  SelectPrimitive.ScrollUpButton,
1697
1844
  {
1698
1845
  "data-slot": "select-scroll-up-button",
@@ -1701,7 +1848,7 @@ function SelectScrollUpButton({
1701
1848
  className
1702
1849
  ),
1703
1850
  ...props,
1704
- children: /* @__PURE__ */ jsx15(ChevronUpIcon, {})
1851
+ children: /* @__PURE__ */ jsx16(ChevronUpIcon, {})
1705
1852
  }
1706
1853
  );
1707
1854
  }
@@ -1709,7 +1856,7 @@ function SelectScrollDownButton({
1709
1856
  className,
1710
1857
  ...props
1711
1858
  }) {
1712
- return /* @__PURE__ */ jsx15(
1859
+ return /* @__PURE__ */ jsx16(
1713
1860
  SelectPrimitive.ScrollDownButton,
1714
1861
  {
1715
1862
  "data-slot": "select-scroll-down-button",
@@ -1718,21 +1865,21 @@ function SelectScrollDownButton({
1718
1865
  className
1719
1866
  ),
1720
1867
  ...props,
1721
- children: /* @__PURE__ */ jsx15(ChevronDownIcon, {})
1868
+ children: /* @__PURE__ */ jsx16(ChevronDownIcon, {})
1722
1869
  }
1723
1870
  );
1724
1871
  }
1725
1872
 
1726
1873
  // src/components/separator/separator.tsx
1727
1874
  import { Separator as SeparatorPrimitive } from "radix-ui";
1728
- import { jsx as jsx16 } from "react/jsx-runtime";
1875
+ import { jsx as jsx17 } from "react/jsx-runtime";
1729
1876
  function Separator2({
1730
1877
  className,
1731
1878
  orientation = "horizontal",
1732
1879
  decorative = true,
1733
1880
  ...props
1734
1881
  }) {
1735
- return /* @__PURE__ */ jsx16(
1882
+ return /* @__PURE__ */ jsx17(
1736
1883
  SeparatorPrimitive.Root,
1737
1884
  {
1738
1885
  "data-slot": "separator",
@@ -1747,17 +1894,65 @@ function Separator2({
1747
1894
  );
1748
1895
  }
1749
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
+
1750
1945
  // src/components/spinner/spinner.tsx
1751
- import { jsx as jsx17 } from "react/jsx-runtime";
1946
+ import { jsx as jsx19 } from "react/jsx-runtime";
1752
1947
  function Spinner({
1753
1948
  className,
1754
1949
  size = 16,
1755
- strokeWidth = 3,
1950
+ strokeWidth = 2,
1756
1951
  style,
1757
1952
  testId,
1758
1953
  trackColor
1759
1954
  }) {
1760
- return /* @__PURE__ */ jsx17(
1955
+ return /* @__PURE__ */ jsx19(
1761
1956
  LoadingIcon,
1762
1957
  {
1763
1958
  "data-slot": "spinner",
@@ -1777,7 +1972,7 @@ function Spinner({
1777
1972
 
1778
1973
  // src/components/status-dot/status-dot.tsx
1779
1974
  import { cva as cva3 } from "class-variance-authority";
1780
- import { jsx as jsx18 } from "react/jsx-runtime";
1975
+ import { jsx as jsx20 } from "react/jsx-runtime";
1781
1976
  var statusDotVariants = cva3("inline-flex shrink-0 rounded-full", {
1782
1977
  variants: {
1783
1978
  tone: {
@@ -1811,7 +2006,7 @@ function StatusDot({
1811
2006
  title,
1812
2007
  className
1813
2008
  }) {
1814
- return /* @__PURE__ */ jsx18(
2009
+ return /* @__PURE__ */ jsx20(
1815
2010
  "span",
1816
2011
  {
1817
2012
  "aria-hidden": ariaLabel ? void 0 : true,
@@ -1829,13 +2024,13 @@ function StatusDot({
1829
2024
 
1830
2025
  // src/components/switch/switch.tsx
1831
2026
  import { Switch as SwitchPrimitive } from "radix-ui";
1832
- import { jsx as jsx19 } from "react/jsx-runtime";
2027
+ import { jsx as jsx21 } from "react/jsx-runtime";
1833
2028
  function Switch({
1834
2029
  className,
1835
2030
  size = "default",
1836
2031
  ...props
1837
2032
  }) {
1838
- return /* @__PURE__ */ jsx19(
2033
+ return /* @__PURE__ */ jsx21(
1839
2034
  SwitchPrimitive.Root,
1840
2035
  {
1841
2036
  "data-slot": "switch",
@@ -1845,7 +2040,7 @@ function Switch({
1845
2040
  className
1846
2041
  ),
1847
2042
  ...props,
1848
- children: /* @__PURE__ */ jsx19(
2043
+ children: /* @__PURE__ */ jsx21(
1849
2044
  SwitchPrimitive.Thumb,
1850
2045
  {
1851
2046
  "data-slot": "switch-thumb",
@@ -1857,9 +2052,9 @@ function Switch({
1857
2052
  }
1858
2053
 
1859
2054
  // src/components/textarea/textarea.tsx
1860
- import { jsx as jsx20 } from "react/jsx-runtime";
2055
+ import { jsx as jsx22 } from "react/jsx-runtime";
1861
2056
  function Textarea({ className, ...props }) {
1862
- return /* @__PURE__ */ jsx20(
2057
+ return /* @__PURE__ */ jsx22(
1863
2058
  "textarea",
1864
2059
  {
1865
2060
  "data-slot": "textarea",
@@ -1876,8 +2071,14 @@ function Textarea({ className, ...props }) {
1876
2071
  import * as React4 from "react";
1877
2072
  import { Toast as ToastPrimitive } from "radix-ui";
1878
2073
  import { cva as cva4 } from "class-variance-authority";
1879
- import { jsx as jsx21, jsxs as jsxs8 } from "react/jsx-runtime";
1880
- 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
+ }
1881
2082
  var ToastVisualContext = React4.createContext(null);
1882
2083
  var toastStatusIconByVariant = {
1883
2084
  destructive: FailedFilledIcon,
@@ -1934,7 +2135,7 @@ function ToastRoot({
1934
2135
  ...props
1935
2136
  }) {
1936
2137
  const isDestructive = variant === "destructive";
1937
- return /* @__PURE__ */ jsx21(
2138
+ return /* @__PURE__ */ jsx23(
1938
2139
  ToastPrimitive.Root,
1939
2140
  {
1940
2141
  "aria-busy": busy,
@@ -1951,7 +2152,7 @@ function ToastRoot({
1951
2152
  ...style
1952
2153
  },
1953
2154
  ...props,
1954
- children: /* @__PURE__ */ jsx21(ToastVisualContext.Provider, { value: { busy, variant }, children: /* @__PURE__ */ jsx21("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 }) })
1955
2156
  }
1956
2157
  );
1957
2158
  }
@@ -1962,7 +2163,7 @@ function ToastTitle({
1962
2163
  }) {
1963
2164
  const toastVisual = React4.useContext(ToastVisualContext);
1964
2165
  const StatusIcon = toastVisual?.variant && hasToastStatusIcon(toastVisual.variant) ? toastStatusIconByVariant[toastVisual.variant] : null;
1965
- return /* @__PURE__ */ jsxs8(
2166
+ return /* @__PURE__ */ jsxs9(
1966
2167
  ToastPrimitive.Title,
1967
2168
  {
1968
2169
  "data-slot": "toast-title",
@@ -1972,16 +2173,16 @@ function ToastTitle({
1972
2173
  ),
1973
2174
  ...props,
1974
2175
  children: [
1975
- toastVisual?.busy ? /* @__PURE__ */ jsx21(
2176
+ toastVisual?.busy ? /* @__PURE__ */ jsx23(
1976
2177
  Spinner,
1977
2178
  {
1978
2179
  className: "shrink-0 text-current",
1979
2180
  size: 16,
1980
- strokeWidth: 3,
2181
+ strokeWidth: 2,
1981
2182
  trackColor: "color-mix(in srgb, currentColor 28%, transparent)"
1982
2183
  }
1983
- ) : StatusIcon ? /* @__PURE__ */ jsx21(StatusIcon, { className: "size-4 shrink-0 text-current" }) : null,
1984
- /* @__PURE__ */ jsx21("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) })
1985
2186
  ]
1986
2187
  }
1987
2188
  );
@@ -1990,7 +2191,7 @@ function ToastDescription({
1990
2191
  className,
1991
2192
  ...props
1992
2193
  }) {
1993
- return /* @__PURE__ */ jsx21(
2194
+ return /* @__PURE__ */ jsx23(
1994
2195
  ToastPrimitive.Description,
1995
2196
  {
1996
2197
  "data-slot": "toast-description",
@@ -2006,7 +2207,7 @@ function ToastClose({
2006
2207
  className,
2007
2208
  ...props
2008
2209
  }) {
2009
- return /* @__PURE__ */ jsx21(
2210
+ return /* @__PURE__ */ jsx23(
2010
2211
  ToastPrimitive.Close,
2011
2212
  {
2012
2213
  "data-slot": "toast-close",
@@ -2015,7 +2216,7 @@ function ToastClose({
2015
2216
  className
2016
2217
  ),
2017
2218
  ...props,
2018
- children: /* @__PURE__ */ jsx21(CloseIcon, { className: "size-4" })
2219
+ children: /* @__PURE__ */ jsx23(CloseIcon, { className: "size-4" })
2019
2220
  }
2020
2221
  );
2021
2222
  }
@@ -2024,7 +2225,7 @@ function ToastViewport({
2024
2225
  style,
2025
2226
  ...props
2026
2227
  }) {
2027
- return /* @__PURE__ */ jsx21(
2228
+ return /* @__PURE__ */ jsx23(
2028
2229
  ToastPrimitive.Viewport,
2029
2230
  {
2030
2231
  "data-slot": "toast-viewport",
@@ -2040,12 +2241,12 @@ function ToastViewport({
2040
2241
 
2041
2242
  // src/components/tooltip/tooltip.tsx
2042
2243
  import { Tooltip as TooltipPrimitive } from "radix-ui";
2043
- import { jsx as jsx22 } from "react/jsx-runtime";
2244
+ import { jsx as jsx24 } from "react/jsx-runtime";
2044
2245
  function TooltipProvider({
2045
2246
  delayDuration = 0,
2046
2247
  ...props
2047
2248
  }) {
2048
- return /* @__PURE__ */ jsx22(
2249
+ return /* @__PURE__ */ jsx24(
2049
2250
  TooltipPrimitive.Provider,
2050
2251
  {
2051
2252
  "data-slot": "tooltip-provider",
@@ -2057,25 +2258,26 @@ function TooltipProvider({
2057
2258
  function Tooltip({
2058
2259
  ...props
2059
2260
  }) {
2060
- return /* @__PURE__ */ jsx22(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
2261
+ return /* @__PURE__ */ jsx24(TooltipPrimitive.Root, { "data-slot": "tooltip", ...props });
2061
2262
  }
2062
2263
  function TooltipTrigger({
2063
2264
  ...props
2064
2265
  }) {
2065
- return /* @__PURE__ */ jsx22(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
2266
+ return /* @__PURE__ */ jsx24(TooltipPrimitive.Trigger, { "data-slot": "tooltip-trigger", ...props });
2066
2267
  }
2067
2268
  function TooltipPortal({
2068
2269
  ...props
2069
2270
  }) {
2070
- return /* @__PURE__ */ jsx22(TooltipPrimitive.Portal, { "data-slot": "tooltip-portal", ...props });
2271
+ return /* @__PURE__ */ jsx24(TooltipPrimitive.Portal, { "data-slot": "tooltip-portal", ...props });
2071
2272
  }
2072
2273
  function TooltipContent({
2073
2274
  className,
2074
2275
  sideOffset = 8,
2075
2276
  children,
2277
+ style,
2076
2278
  ...props
2077
2279
  }) {
2078
- return /* @__PURE__ */ jsx22(TooltipPortal, { children: /* @__PURE__ */ jsx22(
2280
+ return /* @__PURE__ */ jsx24(TooltipPortal, { children: /* @__PURE__ */ jsx24(
2079
2281
  TooltipPrimitive.Content,
2080
2282
  {
2081
2283
  "data-slot": "tooltip-content",
@@ -2084,7 +2286,7 @@ function TooltipContent({
2084
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",
2085
2287
  className
2086
2288
  ),
2087
- style: { zIndex: "var(--z-popover)" },
2289
+ style: { zIndex: "var(--z-tooltip)", ...style },
2088
2290
  ...props,
2089
2291
  children
2090
2292
  }
@@ -2093,7 +2295,7 @@ function TooltipContent({
2093
2295
 
2094
2296
  // src/components/underline-tabs/underline-tabs.tsx
2095
2297
  import { useEffect as useEffect3, useLayoutEffect as useLayoutEffect2, useRef as useRef2, useState as useState3 } from "react";
2096
- import { jsx as jsx23, jsxs as jsxs9 } from "react/jsx-runtime";
2298
+ import { jsx as jsx25, jsxs as jsxs10 } from "react/jsx-runtime";
2097
2299
  function UnderlineTabs({
2098
2300
  tabs,
2099
2301
  value,
@@ -2176,7 +2378,7 @@ function UnderlineTabs({
2176
2378
  behavior: "smooth"
2177
2379
  });
2178
2380
  };
2179
- return /* @__PURE__ */ jsxs9(
2381
+ return /* @__PURE__ */ jsxs10(
2180
2382
  "div",
2181
2383
  {
2182
2384
  "aria-label": ariaLabel,
@@ -2188,7 +2390,7 @@ function UnderlineTabs({
2188
2390
  "data-testid": testId,
2189
2391
  role: "tablist",
2190
2392
  children: [
2191
- /* @__PURE__ */ jsx23(
2393
+ /* @__PURE__ */ jsx25(
2192
2394
  "div",
2193
2395
  {
2194
2396
  ref: viewportRef,
@@ -2202,7 +2404,7 @@ function UnderlineTabs({
2202
2404
  "data-can-scroll-right": overflow.canScrollRight ? "true" : "false",
2203
2405
  "data-slot": "underline-tabs-viewport",
2204
2406
  "data-testid": viewportTestId,
2205
- children: /* @__PURE__ */ jsxs9(
2407
+ children: /* @__PURE__ */ jsxs10(
2206
2408
  "div",
2207
2409
  {
2208
2410
  ref: rowRef,
@@ -2210,7 +2412,7 @@ function UnderlineTabs({
2210
2412
  children: [
2211
2413
  tabs.map((tab) => {
2212
2414
  const isActive = value === tab.value;
2213
- return /* @__PURE__ */ jsxs9(
2415
+ return /* @__PURE__ */ jsxs10(
2214
2416
  "button",
2215
2417
  {
2216
2418
  ref: (element) => {
@@ -2223,7 +2425,7 @@ function UnderlineTabs({
2223
2425
  "aria-selected": isActive,
2224
2426
  className: cn(
2225
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",
2226
- isActive && "text-primary"
2428
+ isActive && "text-[var(--accent)]"
2227
2429
  ),
2228
2430
  "data-active": isActive ? "true" : "false",
2229
2431
  "data-slot": "underline-tabs-tab",
@@ -2233,18 +2435,18 @@ function UnderlineTabs({
2233
2435
  onClick: () => onValueChange(tab.value),
2234
2436
  onMouseDown: preventMouseDownDefault ? (event) => event.preventDefault() : void 0,
2235
2437
  children: [
2236
- /* @__PURE__ */ jsx23("span", { children: tab.label }),
2237
- tab.count !== void 0 ? /* @__PURE__ */ jsx23("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
2238
2440
  ]
2239
2441
  },
2240
2442
  tab.value
2241
2443
  );
2242
2444
  }),
2243
- /* @__PURE__ */ jsx23(
2445
+ /* @__PURE__ */ jsx25(
2244
2446
  "div",
2245
2447
  {
2246
2448
  "aria-hidden": true,
2247
- 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",
2248
2450
  "data-slot": "underline-tabs-indicator",
2249
2451
  style: {
2250
2452
  transform: `translateX(${indicatorStyle.left}px)`,
@@ -2257,7 +2459,7 @@ function UnderlineTabs({
2257
2459
  )
2258
2460
  }
2259
2461
  ),
2260
- /* @__PURE__ */ jsx23(
2462
+ /* @__PURE__ */ jsx25(
2261
2463
  "button",
2262
2464
  {
2263
2465
  "aria-label": scrollLeftLabel,
@@ -2268,10 +2470,10 @@ function UnderlineTabs({
2268
2470
  disabled: !overflow.canScrollLeft,
2269
2471
  type: "button",
2270
2472
  onClick: () => scrollTabs("left"),
2271
- children: /* @__PURE__ */ jsx23(ArrowLeftIcon, { size: 16 })
2473
+ children: /* @__PURE__ */ jsx25(ArrowLeftIcon, { size: 16 })
2272
2474
  }
2273
2475
  ),
2274
- /* @__PURE__ */ jsx23(
2476
+ /* @__PURE__ */ jsx25(
2275
2477
  "button",
2276
2478
  {
2277
2479
  "aria-label": scrollRightLabel,
@@ -2282,7 +2484,7 @@ function UnderlineTabs({
2282
2484
  disabled: !overflow.canScrollRight,
2283
2485
  type: "button",
2284
2486
  onClick: () => scrollTabs("right"),
2285
- children: /* @__PURE__ */ jsx23(ArrowRightIcon, { size: 16 })
2487
+ children: /* @__PURE__ */ jsx25(ArrowRightIcon, { size: 16 })
2286
2488
  }
2287
2489
  )
2288
2490
  ]
@@ -2293,7 +2495,7 @@ function UnderlineTabs({
2293
2495
  // src/components/viewport-menu-surface/viewport-menu-surface.tsx
2294
2496
  import * as React5 from "react";
2295
2497
  import { createPortal as createPortal2 } from "react-dom";
2296
- import { jsx as jsx24 } from "react/jsx-runtime";
2498
+ import { jsx as jsx26 } from "react/jsx-runtime";
2297
2499
  var VIEWPORT_MENU_PADDING = 12;
2298
2500
  var MENU_BOUNDARY_PADDING = 8;
2299
2501
  function clampMenuCoordinate(origin, size, viewportExtent, padding) {
@@ -2540,7 +2742,7 @@ var ViewportMenuSurface = React5.forwardRef(function ViewportMenuSurface2({
2540
2742
  return null;
2541
2743
  }
2542
2744
  return createPortal2(
2543
- /* @__PURE__ */ jsx24(
2745
+ /* @__PURE__ */ jsx26(
2544
2746
  MenuSurface,
2545
2747
  {
2546
2748
  ...rest,
@@ -2598,6 +2800,16 @@ export {
2598
2800
  DialogDescription,
2599
2801
  ConfirmationDialog,
2600
2802
  DatePicker,
2803
+ Drawer,
2804
+ DrawerTrigger,
2805
+ DrawerPortal,
2806
+ DrawerClose,
2807
+ DrawerOverlay,
2808
+ DrawerContent,
2809
+ DrawerHeader,
2810
+ DrawerFooter,
2811
+ DrawerTitle,
2812
+ DrawerDescription,
2601
2813
  menuSurfaceClassName,
2602
2814
  menuItemClassName,
2603
2815
  menuItemWithIndicatorClassName,
@@ -2647,6 +2859,8 @@ export {
2647
2859
  SelectScrollUpButton,
2648
2860
  SelectScrollDownButton,
2649
2861
  Separator2 as Separator,
2862
+ toast,
2863
+ Toaster,
2650
2864
  Spinner,
2651
2865
  statusDotVariants,
2652
2866
  StatusDot,
@@ -2667,4 +2881,4 @@ export {
2667
2881
  UnderlineTabs,
2668
2882
  ViewportMenuSurface
2669
2883
  };
2670
- //# sourceMappingURL=chunk-D5Y4OBKX.js.map
2884
+ //# sourceMappingURL=chunk-CBMNQQWH.js.map