@windrun-huaiin/base-ui 5.2.0 → 5.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1050,6 +1050,113 @@ var SchemeIcon = React28.forwardRef(
1050
1050
  SchemeIcon.displayName = "Scheme";
1051
1051
  var scheme_default = SchemeIcon;
1052
1052
 
1053
+ // src/assets/faq.tsx
1054
+ import React29 from "react";
1055
+ import { jsx as jsx29, jsxs as jsxs7 } from "react/jsx-runtime";
1056
+ var FAQIcon = React29.forwardRef(
1057
+ (_a, ref) => {
1058
+ var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
1059
+ return /* @__PURE__ */ jsxs7(
1060
+ "svg",
1061
+ __spreadProps(__spreadValues({
1062
+ ref,
1063
+ role: "img",
1064
+ className,
1065
+ stroke: "currentColor",
1066
+ strokeWidth: "2",
1067
+ strokeLinecap: "round",
1068
+ strokeLinejoin: "round"
1069
+ }, props), {
1070
+ viewBox: "0 0 24 24",
1071
+ xmlns: "http://www.w3.org/2000/svg",
1072
+ children: [
1073
+ /* @__PURE__ */ jsx29("circle", { cx: "12", cy: "12", r: "10", fill: "none", stroke: themeSvgIconColor }),
1074
+ /* @__PURE__ */ jsx29("path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", fill: "none", stroke: themeSvgIconColor }),
1075
+ /* @__PURE__ */ jsx29("path", { d: "M12 17h.01", fill: "none", stroke: themeSvgIconColor })
1076
+ ]
1077
+ })
1078
+ );
1079
+ }
1080
+ );
1081
+ FAQIcon.displayName = "FAQ";
1082
+ var faq_default = FAQIcon;
1083
+
1084
+ // src/assets/faqb.tsx
1085
+ import React30 from "react";
1086
+ import { jsx as jsx30, jsxs as jsxs8 } from "react/jsx-runtime";
1087
+ var FAQBIcon = React30.forwardRef(
1088
+ (_a, ref) => {
1089
+ var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
1090
+ return /* @__PURE__ */ jsxs8(
1091
+ "svg",
1092
+ __spreadProps(__spreadValues({
1093
+ ref,
1094
+ role: "img",
1095
+ className,
1096
+ stroke: "currentColor",
1097
+ strokeWidth: "2",
1098
+ strokeLinecap: "round",
1099
+ strokeLinejoin: "round"
1100
+ }, props), {
1101
+ viewBox: "0 0 24 24",
1102
+ xmlns: "http://www.w3.org/2000/svg",
1103
+ children: [
1104
+ /* @__PURE__ */ jsx30(
1105
+ "path",
1106
+ {
1107
+ fill: "none",
1108
+ stroke: themeSvgIconColor,
1109
+ 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"
1110
+ }
1111
+ ),
1112
+ /* @__PURE__ */ jsx30("path", { fill: "none", stroke: themeSvgIconColor, d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" }),
1113
+ /* @__PURE__ */ jsx30("line", { fill: "none", stroke: themeSvgIconColor, x1: "12", x2: "12.01", y1: "17", y2: "17" })
1114
+ ]
1115
+ })
1116
+ );
1117
+ }
1118
+ );
1119
+ FAQBIcon.displayName = "FAQB";
1120
+ var faqb_default = FAQBIcon;
1121
+
1122
+ // src/assets/faqs.tsx
1123
+ import React31 from "react";
1124
+ import { jsx as jsx31, jsxs as jsxs9 } from "react/jsx-runtime";
1125
+ var FAQSIcon = React31.forwardRef(
1126
+ (_a, ref) => {
1127
+ var _b = _a, { color = "currentColor", className } = _b, props = __objRest(_b, ["color", "className"]);
1128
+ return /* @__PURE__ */ jsxs9(
1129
+ "svg",
1130
+ __spreadProps(__spreadValues({
1131
+ ref,
1132
+ role: "img",
1133
+ className,
1134
+ stroke: "currentColor",
1135
+ strokeWidth: "2",
1136
+ strokeLinecap: "round",
1137
+ strokeLinejoin: "round"
1138
+ }, props), {
1139
+ viewBox: "0 0 24 24",
1140
+ xmlns: "http://www.w3.org/2000/svg",
1141
+ children: [
1142
+ /* @__PURE__ */ jsx31(
1143
+ "path",
1144
+ {
1145
+ fill: "none",
1146
+ stroke: themeSvgIconColor,
1147
+ 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"
1148
+ }
1149
+ ),
1150
+ /* @__PURE__ */ jsx31("path", { fill: "none", stroke: themeSvgIconColor, d: "M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3" }),
1151
+ /* @__PURE__ */ jsx31("path", { fill: "none", stroke: themeSvgIconColor, d: "M12 17h.01" })
1152
+ ]
1153
+ })
1154
+ );
1155
+ }
1156
+ );
1157
+ FAQSIcon.displayName = "FAQS";
1158
+ var faqs_default = FAQSIcon;
1159
+
1053
1160
  // src/assets/index.ts
1054
1161
  var BUILTIN_ICON_COMPONENTS = {
1055
1162
  GitHub: github_default,
@@ -1079,7 +1186,10 @@ var BUILTIN_ICON_COMPONENTS = {
1079
1186
  SubP: subp_default,
1080
1187
  T3P: t3p_default,
1081
1188
  Http: http_default,
1082
- Scheme: scheme_default
1189
+ Scheme: scheme_default,
1190
+ FAQ: faq_default,
1191
+ FAQB: faqb_default,
1192
+ FAQS: faqs_default
1083
1193
  };
1084
1194
 
1085
1195
  // ../lib/src/limited-lucide-icons.ts
@@ -1127,6 +1237,7 @@ __export(limited_lucide_icons_exports, {
1127
1237
  GitPullRequestArrow: () => GitPullRequestArrow,
1128
1238
  Globe: () => Globe,
1129
1239
  GlobeLock: () => GlobeLock,
1240
+ Grip: () => Grip,
1130
1241
  GripVertical: () => GripVertical,
1131
1242
  HandHeart: () => HandHeart,
1132
1243
  Handshake: () => Handshake,
@@ -1135,6 +1246,7 @@ __export(limited_lucide_icons_exports, {
1135
1246
  ImageDown: () => ImageDown,
1136
1247
  ImageOff: () => ImageOff,
1137
1248
  ImageUp: () => ImageUp,
1249
+ Infinity: () => Infinity,
1138
1250
  Info: () => Info,
1139
1251
  Keyboard: () => Keyboard,
1140
1252
  LandPlot: () => LandPlot,
@@ -1152,28 +1264,34 @@ __export(limited_lucide_icons_exports, {
1152
1264
  Palette: () => Palette,
1153
1265
  PanelLeft: () => PanelLeft,
1154
1266
  PanelsTopLeft: () => PanelsTopLeft,
1267
+ PawPrint: () => PawPrint,
1155
1268
  Pencil: () => Pencil,
1156
1269
  Pi: () => Pi,
1270
+ QrCode: () => QrCode,
1157
1271
  ReceiptText: () => ReceiptText,
1158
1272
  RefreshCcw: () => RefreshCcw,
1159
1273
  Regex: () => Regex,
1160
1274
  Replace: () => Replace,
1275
+ Rocket: () => Rocket,
1161
1276
  Rss: () => Rss,
1162
1277
  Scale: () => Scale,
1163
1278
  Search: () => Search,
1164
1279
  SendHorizontal: () => SendHorizontal,
1165
1280
  Server: () => Server,
1166
1281
  Share: () => Share,
1282
+ Shield: () => Shield,
1167
1283
  ShieldUser: () => ShieldUser,
1168
1284
  Sigma: () => Sigma,
1169
1285
  Sparkles: () => Sparkles,
1170
1286
  SplinePointer: () => SplinePointer,
1287
+ Sprout: () => Sprout,
1171
1288
  SquareDashedBottomCode: () => SquareDashedBottomCode,
1172
1289
  SquareTerminal: () => SquareTerminal,
1173
1290
  Star: () => Star,
1174
1291
  Tablets: () => Tablets,
1175
1292
  Terminal: () => Terminal,
1176
1293
  Twitter: () => Twitter,
1294
+ Workflow: () => Workflow,
1177
1295
  X: () => X,
1178
1296
  Zap: () => Zap
1179
1297
  });
@@ -1208,6 +1326,7 @@ import {
1208
1326
  Eye,
1209
1327
  ExternalLink,
1210
1328
  Facebook,
1329
+ Shield,
1211
1330
  File,
1212
1331
  FileDown,
1213
1332
  FileInput,
@@ -1220,11 +1339,13 @@ import {
1220
1339
  GitPullRequestArrow,
1221
1340
  Globe,
1222
1341
  GlobeLock,
1342
+ Grip,
1223
1343
  GripVertical,
1224
1344
  HandHeart,
1225
1345
  Handshake,
1226
1346
  Highlighter,
1227
1347
  HousePlus,
1348
+ Infinity,
1228
1349
  Info,
1229
1350
  ImageDown,
1230
1351
  ImageOff,
@@ -1242,15 +1363,18 @@ import {
1242
1363
  Mail,
1243
1364
  MoreHorizontal,
1244
1365
  MousePointerClick,
1366
+ Palette,
1245
1367
  PanelLeft,
1246
1368
  PanelsTopLeft,
1369
+ PawPrint,
1247
1370
  Pencil,
1248
1371
  Pi,
1249
- Palette,
1372
+ QrCode,
1250
1373
  ReceiptText,
1251
1374
  RefreshCcw,
1252
1375
  Regex,
1253
1376
  Replace,
1377
+ Rocket,
1254
1378
  Rss,
1255
1379
  Scale,
1256
1380
  Search,
@@ -1258,6 +1382,7 @@ import {
1258
1382
  Share,
1259
1383
  Sigma,
1260
1384
  ShieldUser,
1385
+ Sprout,
1261
1386
  SquareDashedBottomCode,
1262
1387
  SquareTerminal,
1263
1388
  Server,
@@ -1267,13 +1392,14 @@ import {
1267
1392
  Tablets,
1268
1393
  Terminal,
1269
1394
  Twitter,
1395
+ Workflow,
1270
1396
  X,
1271
1397
  Zap
1272
1398
  } from "lucide-react";
1273
1399
 
1274
1400
  // src/components/global-icon.tsx
1275
- import React29 from "react";
1276
- import { jsx as jsx29 } from "react/jsx-runtime";
1401
+ import React32 from "react";
1402
+ import { jsx as jsx32 } from "react/jsx-runtime";
1277
1403
  var tempStyledLimitedIcons = {};
1278
1404
  for (const iconNameKey in limited_lucide_icons_exports) {
1279
1405
  if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
@@ -1293,7 +1419,7 @@ for (const iconNameKey in limited_lucide_icons_exports) {
1293
1419
  height: props.size || themeSvgIconSize
1294
1420
  }, props.style)
1295
1421
  });
1296
- return /* @__PURE__ */ jsx29(ComponentToRender, __spreadValues({}, finalProps));
1422
+ return /* @__PURE__ */ jsx32(ComponentToRender, __spreadValues({}, finalProps));
1297
1423
  };
1298
1424
  StyledIcon.displayName = `Styled(${iconName})`;
1299
1425
  tempStyledLimitedIcons[iconName] = StyledIcon;
@@ -1317,7 +1443,7 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
1317
1443
  height: props.size || themeSvgIconSize
1318
1444
  }, props.style)
1319
1445
  });
1320
- return /* @__PURE__ */ jsx29(IconComponent, __spreadValues({}, finalProps));
1446
+ return /* @__PURE__ */ jsx32(IconComponent, __spreadValues({}, finalProps));
1321
1447
  };
1322
1448
  WrappedIcon.displayName = `Wrapped(${iconName})`;
1323
1449
  tempWrappedBuiltinIcons[iconName] = WrappedIcon;
@@ -1342,20 +1468,20 @@ function getGlobalIcon(iconKey, createElement) {
1342
1468
  }
1343
1469
  const FallbackIcon = globalLucideIcons[DEFAULT_FALLBACK_ICON];
1344
1470
  if (createElement) {
1345
- return React29.createElement(FallbackIcon);
1471
+ return React32.createElement(FallbackIcon);
1346
1472
  }
1347
1473
  return FallbackIcon;
1348
1474
  }
1349
1475
  if (createElement) {
1350
- return React29.createElement(Icon);
1476
+ return React32.createElement(Icon);
1351
1477
  }
1352
1478
  return Icon;
1353
1479
  }
1354
1480
  function getIconElement(icon) {
1355
1481
  return getGlobalIcon(icon, true);
1356
1482
  }
1357
- var DefaultSiteIcon = () => /* @__PURE__ */ jsx29(globalLucideIcons.Zap, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
1358
- var NotFoundIcon = () => /* @__PURE__ */ jsx29(globalLucideIcons.SquareTerminal, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
1483
+ var DefaultSiteIcon = () => /* @__PURE__ */ jsx32(globalLucideIcons.Zap, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
1484
+ var NotFoundIcon = () => /* @__PURE__ */ jsx32(globalLucideIcons.SquareTerminal, { className: `h-8 w-8 rounded-full p-1 shadow-lg ring-0.5 border border-purple-500 ring-purple-500/20 ${themeIconColor}` });
1359
1485
 
1360
1486
  // ../lib/src/utils.ts
1361
1487
  import { clsx } from "clsx";
@@ -1365,7 +1491,7 @@ function cn(...inputs) {
1365
1491
  }
1366
1492
 
1367
1493
  // src/components/site-icon.tsx
1368
- import { jsx as jsx30 } from "react/jsx-runtime";
1494
+ import { jsx as jsx33 } from "react/jsx-runtime";
1369
1495
  function createSiteIcon(iconConfig) {
1370
1496
  return function CreatedSiteIcon(_a) {
1371
1497
  var _b = _a, {
@@ -1378,18 +1504,18 @@ function createSiteIcon(iconConfig) {
1378
1504
  if (typeof iconConfig === "string") {
1379
1505
  if (iconConfig === "") {
1380
1506
  const DefaultIcon = globalLucideIcons["Download"];
1381
- return /* @__PURE__ */ jsx30(DefaultIcon, __spreadValues({ size, className: cn(themeIconColor, className) }, props));
1507
+ return /* @__PURE__ */ jsx33(DefaultIcon, __spreadValues({ size, className: cn(themeIconColor, className) }, props));
1382
1508
  }
1383
1509
  const IconComponent = globalLucideIcons[iconConfig];
1384
1510
  if (!IconComponent) {
1385
1511
  throw new Error(`[CreatedSiteIcon] Icon key "${iconConfig}" not found in globalLucideIcons.`);
1386
1512
  }
1387
- return /* @__PURE__ */ jsx30(IconComponent, __spreadValues({ size, className: cn(themeIconColor, className) }, props));
1513
+ return /* @__PURE__ */ jsx33(IconComponent, __spreadValues({ size, className: cn(themeIconColor, className) }, props));
1388
1514
  } else {
1389
1515
  const CustomIcon = iconConfig;
1390
1516
  const hasColorClass = className && /text-\w+/.test(className);
1391
1517
  const finalClassName = hasColorClass ? className : cn(themeIconColor, className);
1392
- return /* @__PURE__ */ jsx30(CustomIcon, __spreadValues({ size, className: finalClassName }, props));
1518
+ return /* @__PURE__ */ jsx33(CustomIcon, __spreadValues({ size, className: finalClassName }, props));
1393
1519
  }
1394
1520
  };
1395
1521
  }