@windrun-huaiin/base-ui 5.2.0 → 5.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui/index.js CHANGED
@@ -94,7 +94,7 @@ __export(ui_exports, {
94
94
  module.exports = __toCommonJS(ui_exports);
95
95
 
96
96
  // src/ui/alert-dialog.tsx
97
- var React31 = __toESM(require("react"), 1);
97
+ var React34 = __toESM(require("react"), 1);
98
98
  var AlertDialogPrimitive = __toESM(require("@radix-ui/react-alert-dialog"), 1);
99
99
 
100
100
  // ../lib/src/utils.ts
@@ -105,7 +105,7 @@ function cn(...inputs) {
105
105
  }
106
106
 
107
107
  // src/ui/button.tsx
108
- var React30 = __toESM(require("react"), 1);
108
+ var React33 = __toESM(require("react"), 1);
109
109
  var import_react_slot = require("@radix-ui/react-slot");
110
110
  var import_class_variance_authority = require("class-variance-authority");
111
111
 
@@ -1125,6 +1125,113 @@ var SchemeIcon = import_react28.default.forwardRef(
1125
1125
  SchemeIcon.displayName = "Scheme";
1126
1126
  var scheme_default = SchemeIcon;
1127
1127
 
1128
+ // src/assets/faq.tsx
1129
+ var import_react29 = __toESM(require("react"), 1);
1130
+ var import_jsx_runtime29 = require("react/jsx-runtime");
1131
+ var FAQIcon = import_react29.default.forwardRef(
1132
+ (_a, ref) => {
1133
+ var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
1134
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
1135
+ "svg",
1136
+ __spreadProps(__spreadValues({
1137
+ ref,
1138
+ role: "img",
1139
+ className,
1140
+ stroke: "currentColor",
1141
+ strokeWidth: "2",
1142
+ strokeLinecap: "round",
1143
+ strokeLinejoin: "round"
1144
+ }, props), {
1145
+ viewBox: "0 0 24 24",
1146
+ xmlns: "http://www.w3.org/2000/svg",
1147
+ children: [
1148
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("circle", { cx: "12", cy: "12", r: "10", fill: "none", stroke: themeSvgIconColor }),
1149
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", fill: "none", stroke: themeSvgIconColor }),
1150
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("path", { d: "M12 17h.01", fill: "none", stroke: themeSvgIconColor })
1151
+ ]
1152
+ })
1153
+ );
1154
+ }
1155
+ );
1156
+ FAQIcon.displayName = "FAQ";
1157
+ var faq_default = FAQIcon;
1158
+
1159
+ // src/assets/faqb.tsx
1160
+ var import_react30 = __toESM(require("react"), 1);
1161
+ var import_jsx_runtime30 = require("react/jsx-runtime");
1162
+ var FAQBIcon = import_react30.default.forwardRef(
1163
+ (_a, ref) => {
1164
+ var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
1165
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1166
+ "svg",
1167
+ __spreadProps(__spreadValues({
1168
+ ref,
1169
+ role: "img",
1170
+ className,
1171
+ stroke: "currentColor",
1172
+ strokeWidth: "2",
1173
+ strokeLinecap: "round",
1174
+ strokeLinejoin: "round"
1175
+ }, props), {
1176
+ viewBox: "0 0 24 24",
1177
+ xmlns: "http://www.w3.org/2000/svg",
1178
+ children: [
1179
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1180
+ "path",
1181
+ {
1182
+ fill: "none",
1183
+ stroke: themeSvgIconColor,
1184
+ d: "M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z"
1185
+ }
1186
+ ),
1187
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("path", { fill: "none", stroke: themeSvgIconColor, d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
1188
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("line", { fill: "none", stroke: themeSvgIconColor, x1: "12", x2: "12.01", y1: "17", y2: "17" })
1189
+ ]
1190
+ })
1191
+ );
1192
+ }
1193
+ );
1194
+ FAQBIcon.displayName = "FAQB";
1195
+ var faqb_default = FAQBIcon;
1196
+
1197
+ // src/assets/faqs.tsx
1198
+ var import_react31 = __toESM(require("react"), 1);
1199
+ var import_jsx_runtime31 = require("react/jsx-runtime");
1200
+ var FAQSIcon = import_react31.default.forwardRef(
1201
+ (_a, ref) => {
1202
+ var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
1203
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
1204
+ "svg",
1205
+ __spreadProps(__spreadValues({
1206
+ ref,
1207
+ role: "img",
1208
+ className,
1209
+ stroke: "currentColor",
1210
+ strokeWidth: "2",
1211
+ strokeLinecap: "round",
1212
+ strokeLinejoin: "round"
1213
+ }, props), {
1214
+ viewBox: "0 0 24 24",
1215
+ xmlns: "http://www.w3.org/2000/svg",
1216
+ children: [
1217
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1218
+ "path",
1219
+ {
1220
+ fill: "none",
1221
+ stroke: themeSvgIconColor,
1222
+ d: "M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"
1223
+ }
1224
+ ),
1225
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { fill: "none", stroke: themeSvgIconColor, d: "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3" }),
1226
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("path", { fill: "none", stroke: themeSvgIconColor, d: "M12 17h.01" })
1227
+ ]
1228
+ })
1229
+ );
1230
+ }
1231
+ );
1232
+ FAQSIcon.displayName = "FAQS";
1233
+ var faqs_default = FAQSIcon;
1234
+
1128
1235
  // src/assets/index.ts
1129
1236
  var BUILTIN_ICON_COMPONENTS = {
1130
1237
  GitHub: github_default,
@@ -1154,7 +1261,10 @@ var BUILTIN_ICON_COMPONENTS = {
1154
1261
  SubP: subp_default,
1155
1262
  T3P: t3p_default,
1156
1263
  Http: http_default,
1157
- Scheme: scheme_default
1264
+ Scheme: scheme_default,
1265
+ FAQ: faq_default,
1266
+ FAQB: faqb_default,
1267
+ FAQS: faqs_default
1158
1268
  };
1159
1269
 
1160
1270
  // ../lib/src/limited-lucide-icons.ts
@@ -1181,6 +1291,7 @@ __export(limited_lucide_icons_exports, {
1181
1291
  Circle: () => import_lucide_react.Circle,
1182
1292
  CircleAlert: () => import_lucide_react.CircleAlert,
1183
1293
  CircleSmall: () => import_lucide_react.CircleSmall,
1294
+ CircleStop: () => import_lucide_react.CircleStop,
1184
1295
  ComponentIcon: () => import_lucide_react.ComponentIcon,
1185
1296
  Copy: () => import_lucide_react.Copy,
1186
1297
  Cpu: () => import_lucide_react.Cpu,
@@ -1202,6 +1313,7 @@ __export(limited_lucide_icons_exports, {
1202
1313
  GitPullRequestArrow: () => import_lucide_react.GitPullRequestArrow,
1203
1314
  Globe: () => import_lucide_react.Globe,
1204
1315
  GlobeLock: () => import_lucide_react.GlobeLock,
1316
+ Grip: () => import_lucide_react.Grip,
1205
1317
  GripVertical: () => import_lucide_react.GripVertical,
1206
1318
  HandHeart: () => import_lucide_react.HandHeart,
1207
1319
  Handshake: () => import_lucide_react.Handshake,
@@ -1210,6 +1322,7 @@ __export(limited_lucide_icons_exports, {
1210
1322
  ImageDown: () => import_lucide_react.ImageDown,
1211
1323
  ImageOff: () => import_lucide_react.ImageOff,
1212
1324
  ImageUp: () => import_lucide_react.ImageUp,
1325
+ Infinity: () => import_lucide_react.Infinity,
1213
1326
  Info: () => import_lucide_react.Info,
1214
1327
  Keyboard: () => import_lucide_react.Keyboard,
1215
1328
  LandPlot: () => import_lucide_react.LandPlot,
@@ -1227,36 +1340,42 @@ __export(limited_lucide_icons_exports, {
1227
1340
  Palette: () => import_lucide_react.Palette,
1228
1341
  PanelLeft: () => import_lucide_react.PanelLeft,
1229
1342
  PanelsTopLeft: () => import_lucide_react.PanelsTopLeft,
1343
+ PawPrint: () => import_lucide_react.PawPrint,
1230
1344
  Pencil: () => import_lucide_react.Pencil,
1231
1345
  Pi: () => import_lucide_react.Pi,
1346
+ QrCode: () => import_lucide_react.QrCode,
1232
1347
  ReceiptText: () => import_lucide_react.ReceiptText,
1233
1348
  RefreshCcw: () => import_lucide_react.RefreshCcw,
1234
1349
  Regex: () => import_lucide_react.Regex,
1235
1350
  Replace: () => import_lucide_react.Replace,
1351
+ Rocket: () => import_lucide_react.Rocket,
1236
1352
  Rss: () => import_lucide_react.Rss,
1237
1353
  Scale: () => import_lucide_react.Scale,
1238
1354
  Search: () => import_lucide_react.Search,
1239
1355
  SendHorizontal: () => import_lucide_react.SendHorizontal,
1240
1356
  Server: () => import_lucide_react.Server,
1241
1357
  Share: () => import_lucide_react.Share,
1358
+ Shield: () => import_lucide_react.Shield,
1242
1359
  ShieldUser: () => import_lucide_react.ShieldUser,
1243
1360
  Sigma: () => import_lucide_react.Sigma,
1244
1361
  Sparkles: () => import_lucide_react.Sparkles,
1245
1362
  SplinePointer: () => import_lucide_react.SplinePointer,
1363
+ Sprout: () => import_lucide_react.Sprout,
1246
1364
  SquareDashedBottomCode: () => import_lucide_react.SquareDashedBottomCode,
1247
1365
  SquareTerminal: () => import_lucide_react.SquareTerminal,
1248
1366
  Star: () => import_lucide_react.Star,
1249
1367
  Tablets: () => import_lucide_react.Tablets,
1250
1368
  Terminal: () => import_lucide_react.Terminal,
1251
1369
  Twitter: () => import_lucide_react.Twitter,
1370
+ Workflow: () => import_lucide_react.Workflow,
1252
1371
  X: () => import_lucide_react.X,
1253
1372
  Zap: () => import_lucide_react.Zap
1254
1373
  });
1255
1374
  var import_lucide_react = require("lucide-react");
1256
1375
 
1257
1376
  // src/components/global-icon.tsx
1258
- var import_react29 = __toESM(require("react"), 1);
1259
- var import_jsx_runtime29 = require("react/jsx-runtime");
1377
+ var import_react32 = __toESM(require("react"), 1);
1378
+ var import_jsx_runtime32 = require("react/jsx-runtime");
1260
1379
  var tempStyledLimitedIcons = {};
1261
1380
  for (const iconNameKey in limited_lucide_icons_exports) {
1262
1381
  if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
@@ -1276,7 +1395,7 @@ for (const iconNameKey in limited_lucide_icons_exports) {
1276
1395
  height: props.size || themeSvgIconSize
1277
1396
  }, props.style)
1278
1397
  });
1279
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(ComponentToRender, __spreadValues({}, finalProps));
1398
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(ComponentToRender, __spreadValues({}, finalProps));
1280
1399
  };
1281
1400
  StyledIcon.displayName = `Styled(${iconName})`;
1282
1401
  tempStyledLimitedIcons[iconName] = StyledIcon;
@@ -1300,7 +1419,7 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
1300
1419
  height: props.size || themeSvgIconSize
1301
1420
  }, props.style)
1302
1421
  });
1303
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(IconComponent, __spreadValues({}, finalProps));
1422
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(IconComponent, __spreadValues({}, finalProps));
1304
1423
  };
1305
1424
  WrappedIcon.displayName = `Wrapped(${iconName})`;
1306
1425
  tempWrappedBuiltinIcons[iconName] = WrappedIcon;
@@ -1309,7 +1428,7 @@ var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
1309
1428
  var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
1310
1429
 
1311
1430
  // src/ui/button.tsx
1312
- var import_jsx_runtime30 = require("react/jsx-runtime");
1431
+ var import_jsx_runtime33 = require("react/jsx-runtime");
1313
1432
  var buttonVariants = (0, import_class_variance_authority.cva)(
1314
1433
  "inline-flex items-center gap-2 whitespace-nowrap rounded-md text-sm ring-offset-background transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
1315
1434
  {
@@ -1335,12 +1454,12 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
1335
1454
  }
1336
1455
  }
1337
1456
  );
1338
- var Button = React30.forwardRef(
1457
+ var Button = React33.forwardRef(
1339
1458
  (_a, ref) => {
1340
1459
  var _b = _a, { className, variant, size, asChild = false, loading = false, children } = _b, props = __objRest(_b, ["className", "variant", "size", "asChild", "loading", "children"]);
1341
1460
  const Comp = asChild ? import_react_slot.Slot : "button";
1342
1461
  if (asChild) {
1343
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
1462
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1344
1463
  Comp,
1345
1464
  __spreadProps(__spreadValues({
1346
1465
  className: cn(buttonVariants({ variant, size, className })),
@@ -1351,7 +1470,7 @@ var Button = React30.forwardRef(
1351
1470
  })
1352
1471
  );
1353
1472
  }
1354
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
1473
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
1355
1474
  Comp,
1356
1475
  __spreadProps(__spreadValues({
1357
1476
  className: cn(buttonVariants({ variant, size, className })),
@@ -1360,7 +1479,7 @@ var Button = React30.forwardRef(
1360
1479
  }, props), {
1361
1480
  children: [
1362
1481
  children,
1363
- loading && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(globalLucideIcons.Loader2, { className: "ml-2 h-4 w-4 animate-spin" })
1482
+ loading && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(globalLucideIcons.Loader2, { className: "ml-2 h-4 w-4 animate-spin" })
1364
1483
  ]
1365
1484
  })
1366
1485
  );
@@ -1369,13 +1488,13 @@ var Button = React30.forwardRef(
1369
1488
  Button.displayName = "Button";
1370
1489
 
1371
1490
  // src/ui/alert-dialog.tsx
1372
- var import_jsx_runtime31 = require("react/jsx-runtime");
1491
+ var import_jsx_runtime34 = require("react/jsx-runtime");
1373
1492
  var AlertDialog = AlertDialogPrimitive.Root;
1374
1493
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
1375
1494
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
1376
- var AlertDialogOverlay = React31.forwardRef((_a, ref) => {
1495
+ var AlertDialogOverlay = React34.forwardRef((_a, ref) => {
1377
1496
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1378
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1497
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1379
1498
  AlertDialogPrimitive.Overlay,
1380
1499
  __spreadProps(__spreadValues({
1381
1500
  className: cn(
@@ -1388,11 +1507,11 @@ var AlertDialogOverlay = React31.forwardRef((_a, ref) => {
1388
1507
  );
1389
1508
  });
1390
1509
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
1391
- var AlertDialogContent = React31.forwardRef((_a, ref) => {
1510
+ var AlertDialogContent = React34.forwardRef((_a, ref) => {
1392
1511
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1393
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(AlertDialogPortal, { children: [
1394
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(AlertDialogOverlay, {}),
1395
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1512
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(AlertDialogPortal, { children: [
1513
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(AlertDialogOverlay, {}),
1514
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1396
1515
  AlertDialogPrimitive.Content,
1397
1516
  __spreadValues({
1398
1517
  ref,
@@ -1411,7 +1530,7 @@ var AlertDialogHeader = (_a) => {
1411
1530
  } = _b, props = __objRest(_b, [
1412
1531
  "className"
1413
1532
  ]);
1414
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1533
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1415
1534
  "div",
1416
1535
  __spreadValues({
1417
1536
  className: cn(
@@ -1428,7 +1547,7 @@ var AlertDialogFooter = (_a) => {
1428
1547
  } = _b, props = __objRest(_b, [
1429
1548
  "className"
1430
1549
  ]);
1431
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1550
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1432
1551
  "div",
1433
1552
  __spreadValues({
1434
1553
  className: cn(
@@ -1439,9 +1558,9 @@ var AlertDialogFooter = (_a) => {
1439
1558
  );
1440
1559
  };
1441
1560
  AlertDialogFooter.displayName = "AlertDialogFooter";
1442
- var AlertDialogTitle = React31.forwardRef((_a, ref) => {
1561
+ var AlertDialogTitle = React34.forwardRef((_a, ref) => {
1443
1562
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1444
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1563
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1445
1564
  AlertDialogPrimitive.Title,
1446
1565
  __spreadValues({
1447
1566
  ref,
@@ -1450,9 +1569,9 @@ var AlertDialogTitle = React31.forwardRef((_a, ref) => {
1450
1569
  );
1451
1570
  });
1452
1571
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
1453
- var AlertDialogDescription = React31.forwardRef((_a, ref) => {
1572
+ var AlertDialogDescription = React34.forwardRef((_a, ref) => {
1454
1573
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1455
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1574
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1456
1575
  AlertDialogPrimitive.Description,
1457
1576
  __spreadValues({
1458
1577
  ref,
@@ -1461,9 +1580,9 @@ var AlertDialogDescription = React31.forwardRef((_a, ref) => {
1461
1580
  );
1462
1581
  });
1463
1582
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
1464
- var AlertDialogAction = React31.forwardRef((_a, ref) => {
1583
+ var AlertDialogAction = React34.forwardRef((_a, ref) => {
1465
1584
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1466
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1585
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1467
1586
  AlertDialogPrimitive.Action,
1468
1587
  __spreadValues({
1469
1588
  ref,
@@ -1472,9 +1591,9 @@ var AlertDialogAction = React31.forwardRef((_a, ref) => {
1472
1591
  );
1473
1592
  });
1474
1593
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
1475
- var AlertDialogCancel = React31.forwardRef((_a, ref) => {
1594
+ var AlertDialogCancel = React34.forwardRef((_a, ref) => {
1476
1595
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1477
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
1596
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1478
1597
  AlertDialogPrimitive.Cancel,
1479
1598
  __spreadValues({
1480
1599
  ref,
@@ -1489,18 +1608,18 @@ var AlertDialogCancel = React31.forwardRef((_a, ref) => {
1489
1608
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
1490
1609
 
1491
1610
  // src/ui/dropdown-menu.tsx
1492
- var React32 = __toESM(require("react"), 1);
1611
+ var React35 = __toESM(require("react"), 1);
1493
1612
  var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"), 1);
1494
- var import_jsx_runtime32 = require("react/jsx-runtime");
1613
+ var import_jsx_runtime35 = require("react/jsx-runtime");
1495
1614
  var DropdownMenu = DropdownMenuPrimitive.Root;
1496
1615
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1497
1616
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1498
1617
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1499
1618
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1500
1619
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1501
- var DropdownMenuSubTrigger = React32.forwardRef((_a, ref) => {
1620
+ var DropdownMenuSubTrigger = React35.forwardRef((_a, ref) => {
1502
1621
  var _b = _a, { className, inset, children } = _b, props = __objRest(_b, ["className", "inset", "children"]);
1503
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1622
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1504
1623
  DropdownMenuPrimitive.SubTrigger,
1505
1624
  __spreadProps(__spreadValues({
1506
1625
  ref,
@@ -1512,15 +1631,15 @@ var DropdownMenuSubTrigger = React32.forwardRef((_a, ref) => {
1512
1631
  }, props), {
1513
1632
  children: [
1514
1633
  children,
1515
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(globalLucideIcons.ChevronRight, { className: "ml-auto" })
1634
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(globalLucideIcons.ChevronRight, { className: "ml-auto" })
1516
1635
  ]
1517
1636
  })
1518
1637
  );
1519
1638
  });
1520
1639
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1521
- var DropdownMenuSubContent = React32.forwardRef((_a, ref) => {
1640
+ var DropdownMenuSubContent = React35.forwardRef((_a, ref) => {
1522
1641
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1523
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1642
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1524
1643
  DropdownMenuPrimitive.SubContent,
1525
1644
  __spreadValues({
1526
1645
  ref,
@@ -1532,9 +1651,9 @@ var DropdownMenuSubContent = React32.forwardRef((_a, ref) => {
1532
1651
  );
1533
1652
  });
1534
1653
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1535
- var DropdownMenuContent = React32.forwardRef((_a, ref) => {
1654
+ var DropdownMenuContent = React35.forwardRef((_a, ref) => {
1536
1655
  var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
1537
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1656
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1538
1657
  DropdownMenuPrimitive.Content,
1539
1658
  __spreadValues({
1540
1659
  ref,
@@ -1547,9 +1666,9 @@ var DropdownMenuContent = React32.forwardRef((_a, ref) => {
1547
1666
  ) });
1548
1667
  });
1549
1668
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1550
- var DropdownMenuItem = React32.forwardRef((_a, ref) => {
1669
+ var DropdownMenuItem = React35.forwardRef((_a, ref) => {
1551
1670
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
1552
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1671
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1553
1672
  DropdownMenuPrimitive.Item,
1554
1673
  __spreadValues({
1555
1674
  ref,
@@ -1562,9 +1681,9 @@ var DropdownMenuItem = React32.forwardRef((_a, ref) => {
1562
1681
  );
1563
1682
  });
1564
1683
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1565
- var DropdownMenuCheckboxItem = React32.forwardRef((_a, ref) => {
1684
+ var DropdownMenuCheckboxItem = React35.forwardRef((_a, ref) => {
1566
1685
  var _b = _a, { className, children, checked } = _b, props = __objRest(_b, ["className", "children", "checked"]);
1567
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1686
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1568
1687
  DropdownMenuPrimitive.CheckboxItem,
1569
1688
  __spreadProps(__spreadValues({
1570
1689
  ref,
@@ -1575,16 +1694,16 @@ var DropdownMenuCheckboxItem = React32.forwardRef((_a, ref) => {
1575
1694
  checked
1576
1695
  }, props), {
1577
1696
  children: [
1578
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(globalLucideIcons.Check, { className: "h-4 w-4" }) }) }),
1697
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(globalLucideIcons.Check, { className: "h-4 w-4" }) }) }),
1579
1698
  children
1580
1699
  ]
1581
1700
  })
1582
1701
  );
1583
1702
  });
1584
1703
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1585
- var DropdownMenuRadioItem = React32.forwardRef((_a, ref) => {
1704
+ var DropdownMenuRadioItem = React35.forwardRef((_a, ref) => {
1586
1705
  var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
1587
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
1706
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
1588
1707
  DropdownMenuPrimitive.RadioItem,
1589
1708
  __spreadProps(__spreadValues({
1590
1709
  ref,
@@ -1594,16 +1713,16 @@ var DropdownMenuRadioItem = React32.forwardRef((_a, ref) => {
1594
1713
  )
1595
1714
  }, props), {
1596
1715
  children: [
1597
- /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(globalLucideIcons.Circle, { className: "h-2 w-2 fill-current" }) }) }),
1716
+ /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(globalLucideIcons.Circle, { className: "h-2 w-2 fill-current" }) }) }),
1598
1717
  children
1599
1718
  ]
1600
1719
  })
1601
1720
  );
1602
1721
  });
1603
1722
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1604
- var DropdownMenuLabel = React32.forwardRef((_a, ref) => {
1723
+ var DropdownMenuLabel = React35.forwardRef((_a, ref) => {
1605
1724
  var _b = _a, { className, inset } = _b, props = __objRest(_b, ["className", "inset"]);
1606
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1725
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1607
1726
  DropdownMenuPrimitive.Label,
1608
1727
  __spreadValues({
1609
1728
  ref,
@@ -1616,9 +1735,9 @@ var DropdownMenuLabel = React32.forwardRef((_a, ref) => {
1616
1735
  );
1617
1736
  });
1618
1737
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1619
- var DropdownMenuSeparator = React32.forwardRef((_a, ref) => {
1738
+ var DropdownMenuSeparator = React35.forwardRef((_a, ref) => {
1620
1739
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1621
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1740
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1622
1741
  DropdownMenuPrimitive.Separator,
1623
1742
  __spreadValues({
1624
1743
  ref,
@@ -1633,7 +1752,7 @@ var DropdownMenuShortcut = (_a) => {
1633
1752
  } = _b, props = __objRest(_b, [
1634
1753
  "className"
1635
1754
  ]);
1636
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
1755
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1637
1756
  "span",
1638
1757
  __spreadValues({
1639
1758
  className: cn("ml-auto text-xs tracking-widest opacity-60", className)
@@ -1643,16 +1762,16 @@ var DropdownMenuShortcut = (_a) => {
1643
1762
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1644
1763
 
1645
1764
  // src/ui/label.tsx
1646
- var React33 = __toESM(require("react"), 1);
1765
+ var React36 = __toESM(require("react"), 1);
1647
1766
  var LabelPrimitive = __toESM(require("@radix-ui/react-label"), 1);
1648
1767
  var import_class_variance_authority2 = require("class-variance-authority");
1649
- var import_jsx_runtime33 = require("react/jsx-runtime");
1768
+ var import_jsx_runtime36 = require("react/jsx-runtime");
1650
1769
  var labelVariants = (0, import_class_variance_authority2.cva)(
1651
1770
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
1652
1771
  );
1653
- var Label2 = React33.forwardRef((_a, ref) => {
1772
+ var Label2 = React36.forwardRef((_a, ref) => {
1654
1773
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1655
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
1774
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
1656
1775
  LabelPrimitive.Root,
1657
1776
  __spreadValues({
1658
1777
  ref,
@@ -1663,12 +1782,12 @@ var Label2 = React33.forwardRef((_a, ref) => {
1663
1782
  Label2.displayName = LabelPrimitive.Root.displayName;
1664
1783
 
1665
1784
  // src/ui/language-button.tsx
1666
- var React34 = __toESM(require("react"), 1);
1667
- var import_jsx_runtime34 = require("react/jsx-runtime");
1668
- var LanguageButton = React34.forwardRef(
1785
+ var React37 = __toESM(require("react"), 1);
1786
+ var import_jsx_runtime37 = require("react/jsx-runtime");
1787
+ var LanguageButton = React37.forwardRef(
1669
1788
  (_a, ref) => {
1670
1789
  var _b = _a, { className, variant = "default", size = "default" } = _b, props = __objRest(_b, ["className", "variant", "size"]);
1671
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
1790
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
1672
1791
  "button",
1673
1792
  __spreadValues({
1674
1793
  className: cn(