@windrun-huaiin/base-ui 5.4.0 → 6.0.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/components/index.js +120 -4
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +236 -4
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/server.d.cts +16 -5373
- package/dist/components/server.d.ts +16 -5373
- package/dist/components/server.js +121 -5
- package/dist/components/server.js.map +1 -1
- package/dist/components/server.mjs +237 -5
- package/dist/components/server.mjs.map +1 -1
- package/dist/ui/index.js +120 -4
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +236 -4
- package/dist/ui/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/components/global-icon.tsx +8 -8
- package/src/components/limited-lucide-icons.ts +119 -0
@@ -29,6 +29,10 @@ var __objRest = (source, exclude) => {
|
|
29
29
|
}
|
30
30
|
return target;
|
31
31
|
};
|
32
|
+
var __export = (target, all) => {
|
33
|
+
for (var name in all)
|
34
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
35
|
+
};
|
32
36
|
|
33
37
|
// src/assets/github.tsx
|
34
38
|
import React from "react";
|
@@ -1188,15 +1192,243 @@ var BUILTIN_ICON_COMPONENTS = {
|
|
1188
1192
|
FAQS: faqs_default
|
1189
1193
|
};
|
1190
1194
|
|
1195
|
+
// src/components/limited-lucide-icons.ts
|
1196
|
+
var limited_lucide_icons_exports = {};
|
1197
|
+
__export(limited_lucide_icons_exports, {
|
1198
|
+
AlbumIcon: () => AlbumIcon,
|
1199
|
+
AlignHorizontalJustifyEnd: () => AlignHorizontalJustifyEnd,
|
1200
|
+
ArrowLeft: () => ArrowLeft,
|
1201
|
+
ArrowRight: () => ArrowRight,
|
1202
|
+
ArrowUp: () => ArrowUp,
|
1203
|
+
Binary: () => Binary,
|
1204
|
+
Blocks: () => Blocks,
|
1205
|
+
BookX: () => BookX,
|
1206
|
+
BotMessageSquare: () => BotMessageSquare,
|
1207
|
+
Brain: () => Brain,
|
1208
|
+
BrainCircuit: () => BrainCircuit,
|
1209
|
+
BringToFront: () => BringToFront,
|
1210
|
+
Bug: () => Bug,
|
1211
|
+
BugOff: () => BugOff,
|
1212
|
+
Building2: () => Building2,
|
1213
|
+
Car: () => Car,
|
1214
|
+
Check: () => Check,
|
1215
|
+
CheckCheck: () => CheckCheck,
|
1216
|
+
CheckLine: () => CheckLine,
|
1217
|
+
ChevronDown: () => ChevronDown,
|
1218
|
+
ChevronLeft: () => ChevronLeft,
|
1219
|
+
ChevronRight: () => ChevronRight,
|
1220
|
+
ChevronUp: () => ChevronUp,
|
1221
|
+
Circle: () => Circle,
|
1222
|
+
CircleAlert: () => CircleAlert,
|
1223
|
+
CircleSmall: () => CircleSmall,
|
1224
|
+
CircleStop: () => CircleStop,
|
1225
|
+
ComponentIcon: () => ComponentIcon,
|
1226
|
+
Copy: () => Copy,
|
1227
|
+
Cpu: () => Cpu,
|
1228
|
+
DatabaseZap: () => DatabaseZap,
|
1229
|
+
Dot: () => Dot,
|
1230
|
+
Download: () => Download,
|
1231
|
+
ExternalLink: () => ExternalLink,
|
1232
|
+
Eye: () => Eye,
|
1233
|
+
Facebook: () => Facebook,
|
1234
|
+
File: () => File,
|
1235
|
+
FileDown: () => FileDown,
|
1236
|
+
FileInput: () => FileInput,
|
1237
|
+
FileLock2: () => FileLock2,
|
1238
|
+
FileUp: () => FileUp,
|
1239
|
+
Fingerprint: () => Fingerprint,
|
1240
|
+
Folder: () => Folder,
|
1241
|
+
FolderOpen: () => FolderOpen,
|
1242
|
+
Gift: () => Gift,
|
1243
|
+
GitMerge: () => GitMerge,
|
1244
|
+
GitPullRequestArrow: () => GitPullRequestArrow,
|
1245
|
+
Globe: () => Globe,
|
1246
|
+
GlobeLock: () => GlobeLock,
|
1247
|
+
Grip: () => Grip,
|
1248
|
+
GripVertical: () => GripVertical,
|
1249
|
+
HandHeart: () => HandHeart,
|
1250
|
+
Handshake: () => Handshake,
|
1251
|
+
Highlighter: () => Highlighter,
|
1252
|
+
HousePlus: () => HousePlus,
|
1253
|
+
ImageDown: () => ImageDown,
|
1254
|
+
ImageOff: () => ImageOff,
|
1255
|
+
ImageUp: () => ImageUp,
|
1256
|
+
Infinity: () => Infinity,
|
1257
|
+
Info: () => Info,
|
1258
|
+
Keyboard: () => Keyboard,
|
1259
|
+
LandPlot: () => LandPlot,
|
1260
|
+
Languages: () => Languages,
|
1261
|
+
Layout: () => Layout,
|
1262
|
+
LayoutTemplate: () => LayoutTemplate,
|
1263
|
+
LibraryIcon: () => LibraryIcon,
|
1264
|
+
Link: () => Link,
|
1265
|
+
ListTodo: () => ListTodo,
|
1266
|
+
Loader2: () => Loader2,
|
1267
|
+
LogIn: () => LogIn,
|
1268
|
+
LogOut: () => LogOut,
|
1269
|
+
Mail: () => Mail,
|
1270
|
+
MessageCircleCode: () => MessageCircleCode,
|
1271
|
+
MessageCircleMore: () => MessageCircleMore,
|
1272
|
+
MoreHorizontal: () => MoreHorizontal,
|
1273
|
+
MousePointerClick: () => MousePointerClick,
|
1274
|
+
NotepadText: () => NotepadText,
|
1275
|
+
Palette: () => Palette,
|
1276
|
+
PanelLeft: () => PanelLeft,
|
1277
|
+
PanelsTopLeft: () => PanelsTopLeft,
|
1278
|
+
PawPrint: () => PawPrint,
|
1279
|
+
Pencil: () => Pencil,
|
1280
|
+
Pi: () => Pi,
|
1281
|
+
QrCode: () => QrCode,
|
1282
|
+
ReceiptText: () => ReceiptText,
|
1283
|
+
RefreshCcw: () => RefreshCcw,
|
1284
|
+
Regex: () => Regex,
|
1285
|
+
Replace: () => Replace,
|
1286
|
+
Rocket: () => Rocket,
|
1287
|
+
Rss: () => Rss,
|
1288
|
+
Scale: () => Scale,
|
1289
|
+
Search: () => Search,
|
1290
|
+
SendHorizontal: () => SendHorizontal,
|
1291
|
+
Server: () => Server,
|
1292
|
+
Share: () => Share,
|
1293
|
+
Shield: () => Shield,
|
1294
|
+
ShieldUser: () => ShieldUser,
|
1295
|
+
Sigma: () => Sigma,
|
1296
|
+
Sparkles: () => Sparkles,
|
1297
|
+
SplinePointer: () => SplinePointer,
|
1298
|
+
Sprout: () => Sprout,
|
1299
|
+
SquareDashedBottomCode: () => SquareDashedBottomCode,
|
1300
|
+
SquareTerminal: () => SquareTerminal,
|
1301
|
+
Star: () => Star,
|
1302
|
+
Tablets: () => Tablets,
|
1303
|
+
Terminal: () => Terminal,
|
1304
|
+
Twitter: () => Twitter,
|
1305
|
+
UserRoundCheck: () => UserRoundCheck,
|
1306
|
+
Workflow: () => Workflow,
|
1307
|
+
X: () => X,
|
1308
|
+
Zap: () => Zap
|
1309
|
+
});
|
1310
|
+
import {
|
1311
|
+
AlbumIcon,
|
1312
|
+
AlignHorizontalJustifyEnd,
|
1313
|
+
ArrowLeft,
|
1314
|
+
ArrowRight,
|
1315
|
+
ArrowUp,
|
1316
|
+
Binary,
|
1317
|
+
Blocks,
|
1318
|
+
BookX,
|
1319
|
+
BotMessageSquare,
|
1320
|
+
Brain,
|
1321
|
+
BrainCircuit,
|
1322
|
+
BringToFront,
|
1323
|
+
Building2,
|
1324
|
+
Bug,
|
1325
|
+
BugOff,
|
1326
|
+
Car,
|
1327
|
+
Circle,
|
1328
|
+
CircleAlert,
|
1329
|
+
CircleSmall,
|
1330
|
+
CircleStop,
|
1331
|
+
Check,
|
1332
|
+
CheckCheck,
|
1333
|
+
CheckLine,
|
1334
|
+
ChevronDown,
|
1335
|
+
ChevronLeft,
|
1336
|
+
ChevronRight,
|
1337
|
+
ChevronUp,
|
1338
|
+
Cpu,
|
1339
|
+
Copy,
|
1340
|
+
ComponentIcon,
|
1341
|
+
DatabaseZap,
|
1342
|
+
Dot,
|
1343
|
+
Download,
|
1344
|
+
Eye,
|
1345
|
+
ExternalLink,
|
1346
|
+
Facebook,
|
1347
|
+
Shield,
|
1348
|
+
File,
|
1349
|
+
FileDown,
|
1350
|
+
FileInput,
|
1351
|
+
FileLock2,
|
1352
|
+
FileUp,
|
1353
|
+
Fingerprint,
|
1354
|
+
Folder,
|
1355
|
+
FolderOpen,
|
1356
|
+
Gift,
|
1357
|
+
GitMerge,
|
1358
|
+
GitPullRequestArrow,
|
1359
|
+
Globe,
|
1360
|
+
GlobeLock,
|
1361
|
+
Grip,
|
1362
|
+
GripVertical,
|
1363
|
+
HandHeart,
|
1364
|
+
Handshake,
|
1365
|
+
Highlighter,
|
1366
|
+
HousePlus,
|
1367
|
+
Infinity,
|
1368
|
+
Info,
|
1369
|
+
ImageDown,
|
1370
|
+
ImageOff,
|
1371
|
+
ImageUp,
|
1372
|
+
Keyboard,
|
1373
|
+
LandPlot,
|
1374
|
+
Languages,
|
1375
|
+
Layout,
|
1376
|
+
LayoutTemplate,
|
1377
|
+
LibraryIcon,
|
1378
|
+
Link,
|
1379
|
+
ListTodo,
|
1380
|
+
Loader2,
|
1381
|
+
LogIn,
|
1382
|
+
LogOut,
|
1383
|
+
Mail,
|
1384
|
+
MessageCircleMore,
|
1385
|
+
MessageCircleCode,
|
1386
|
+
MoreHorizontal,
|
1387
|
+
MousePointerClick,
|
1388
|
+
NotepadText,
|
1389
|
+
Palette,
|
1390
|
+
PanelLeft,
|
1391
|
+
PanelsTopLeft,
|
1392
|
+
PawPrint,
|
1393
|
+
Pencil,
|
1394
|
+
Pi,
|
1395
|
+
QrCode,
|
1396
|
+
ReceiptText,
|
1397
|
+
RefreshCcw,
|
1398
|
+
Regex,
|
1399
|
+
Replace,
|
1400
|
+
Rocket,
|
1401
|
+
Rss,
|
1402
|
+
Scale,
|
1403
|
+
Search,
|
1404
|
+
SendHorizontal,
|
1405
|
+
Share,
|
1406
|
+
Sigma,
|
1407
|
+
ShieldUser,
|
1408
|
+
Sprout,
|
1409
|
+
SquareDashedBottomCode,
|
1410
|
+
SquareTerminal,
|
1411
|
+
Server,
|
1412
|
+
SplinePointer,
|
1413
|
+
Sparkles,
|
1414
|
+
Star,
|
1415
|
+
Tablets,
|
1416
|
+
Terminal,
|
1417
|
+
Twitter,
|
1418
|
+
UserRoundCheck,
|
1419
|
+
Workflow,
|
1420
|
+
X,
|
1421
|
+
Zap
|
1422
|
+
} from "lucide-react";
|
1423
|
+
|
1191
1424
|
// src/components/global-icon.tsx
|
1192
|
-
import * as lucideIconsModule from "lucide-react";
|
1193
1425
|
import React32 from "react";
|
1194
1426
|
import { jsx as jsx32 } from "react/jsx-runtime";
|
1195
1427
|
var tempStyledLimitedIcons = {};
|
1196
|
-
for (const iconNameKey in
|
1197
|
-
if (Object.prototype.hasOwnProperty.call(
|
1428
|
+
for (const iconNameKey in limited_lucide_icons_exports) {
|
1429
|
+
if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
|
1198
1430
|
const iconName = iconNameKey;
|
1199
|
-
const OriginalIconComponent =
|
1431
|
+
const OriginalIconComponent = limited_lucide_icons_exports[iconName];
|
1200
1432
|
if (typeof OriginalIconComponent === "function" || typeof OriginalIconComponent === "object" && OriginalIconComponent !== null && OriginalIconComponent.$$typeof === Symbol.for("react.forward_ref")) {
|
1201
1433
|
const ComponentToRender = OriginalIconComponent;
|
1202
1434
|
const StyledIcon = (props) => {
|
@@ -1242,7 +1474,7 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
|
|
1242
1474
|
}
|
1243
1475
|
var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
|
1244
1476
|
var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
|
1245
|
-
var DEFAULT_FALLBACK_ICON = "
|
1477
|
+
var DEFAULT_FALLBACK_ICON = "Sparkles";
|
1246
1478
|
function getGlobalIcon(iconKey, createElement) {
|
1247
1479
|
var _a;
|
1248
1480
|
if (!iconKey) {
|