@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
@@ -1226,15 +1226,131 @@ var BUILTIN_ICON_COMPONENTS = {
|
|
1226
1226
|
FAQS: faqs_default
|
1227
1227
|
};
|
1228
1228
|
|
1229
|
+
// src/components/limited-lucide-icons.ts
|
1230
|
+
var limited_lucide_icons_exports = {};
|
1231
|
+
__export(limited_lucide_icons_exports, {
|
1232
|
+
AlbumIcon: () => import_lucide_react.AlbumIcon,
|
1233
|
+
AlignHorizontalJustifyEnd: () => import_lucide_react.AlignHorizontalJustifyEnd,
|
1234
|
+
ArrowLeft: () => import_lucide_react.ArrowLeft,
|
1235
|
+
ArrowRight: () => import_lucide_react.ArrowRight,
|
1236
|
+
ArrowUp: () => import_lucide_react.ArrowUp,
|
1237
|
+
Binary: () => import_lucide_react.Binary,
|
1238
|
+
Blocks: () => import_lucide_react.Blocks,
|
1239
|
+
BookX: () => import_lucide_react.BookX,
|
1240
|
+
BotMessageSquare: () => import_lucide_react.BotMessageSquare,
|
1241
|
+
Brain: () => import_lucide_react.Brain,
|
1242
|
+
BrainCircuit: () => import_lucide_react.BrainCircuit,
|
1243
|
+
BringToFront: () => import_lucide_react.BringToFront,
|
1244
|
+
Bug: () => import_lucide_react.Bug,
|
1245
|
+
BugOff: () => import_lucide_react.BugOff,
|
1246
|
+
Building2: () => import_lucide_react.Building2,
|
1247
|
+
Car: () => import_lucide_react.Car,
|
1248
|
+
Check: () => import_lucide_react.Check,
|
1249
|
+
CheckCheck: () => import_lucide_react.CheckCheck,
|
1250
|
+
CheckLine: () => import_lucide_react.CheckLine,
|
1251
|
+
ChevronDown: () => import_lucide_react.ChevronDown,
|
1252
|
+
ChevronLeft: () => import_lucide_react.ChevronLeft,
|
1253
|
+
ChevronRight: () => import_lucide_react.ChevronRight,
|
1254
|
+
ChevronUp: () => import_lucide_react.ChevronUp,
|
1255
|
+
Circle: () => import_lucide_react.Circle,
|
1256
|
+
CircleAlert: () => import_lucide_react.CircleAlert,
|
1257
|
+
CircleSmall: () => import_lucide_react.CircleSmall,
|
1258
|
+
CircleStop: () => import_lucide_react.CircleStop,
|
1259
|
+
ComponentIcon: () => import_lucide_react.ComponentIcon,
|
1260
|
+
Copy: () => import_lucide_react.Copy,
|
1261
|
+
Cpu: () => import_lucide_react.Cpu,
|
1262
|
+
DatabaseZap: () => import_lucide_react.DatabaseZap,
|
1263
|
+
Dot: () => import_lucide_react.Dot,
|
1264
|
+
Download: () => import_lucide_react.Download,
|
1265
|
+
ExternalLink: () => import_lucide_react.ExternalLink,
|
1266
|
+
Eye: () => import_lucide_react.Eye,
|
1267
|
+
Facebook: () => import_lucide_react.Facebook,
|
1268
|
+
File: () => import_lucide_react.File,
|
1269
|
+
FileDown: () => import_lucide_react.FileDown,
|
1270
|
+
FileInput: () => import_lucide_react.FileInput,
|
1271
|
+
FileLock2: () => import_lucide_react.FileLock2,
|
1272
|
+
FileUp: () => import_lucide_react.FileUp,
|
1273
|
+
Fingerprint: () => import_lucide_react.Fingerprint,
|
1274
|
+
Folder: () => import_lucide_react.Folder,
|
1275
|
+
FolderOpen: () => import_lucide_react.FolderOpen,
|
1276
|
+
Gift: () => import_lucide_react.Gift,
|
1277
|
+
GitMerge: () => import_lucide_react.GitMerge,
|
1278
|
+
GitPullRequestArrow: () => import_lucide_react.GitPullRequestArrow,
|
1279
|
+
Globe: () => import_lucide_react.Globe,
|
1280
|
+
GlobeLock: () => import_lucide_react.GlobeLock,
|
1281
|
+
Grip: () => import_lucide_react.Grip,
|
1282
|
+
GripVertical: () => import_lucide_react.GripVertical,
|
1283
|
+
HandHeart: () => import_lucide_react.HandHeart,
|
1284
|
+
Handshake: () => import_lucide_react.Handshake,
|
1285
|
+
Highlighter: () => import_lucide_react.Highlighter,
|
1286
|
+
HousePlus: () => import_lucide_react.HousePlus,
|
1287
|
+
ImageDown: () => import_lucide_react.ImageDown,
|
1288
|
+
ImageOff: () => import_lucide_react.ImageOff,
|
1289
|
+
ImageUp: () => import_lucide_react.ImageUp,
|
1290
|
+
Infinity: () => import_lucide_react.Infinity,
|
1291
|
+
Info: () => import_lucide_react.Info,
|
1292
|
+
Keyboard: () => import_lucide_react.Keyboard,
|
1293
|
+
LandPlot: () => import_lucide_react.LandPlot,
|
1294
|
+
Languages: () => import_lucide_react.Languages,
|
1295
|
+
Layout: () => import_lucide_react.Layout,
|
1296
|
+
LayoutTemplate: () => import_lucide_react.LayoutTemplate,
|
1297
|
+
LibraryIcon: () => import_lucide_react.LibraryIcon,
|
1298
|
+
Link: () => import_lucide_react.Link,
|
1299
|
+
ListTodo: () => import_lucide_react.ListTodo,
|
1300
|
+
Loader2: () => import_lucide_react.Loader2,
|
1301
|
+
LogIn: () => import_lucide_react.LogIn,
|
1302
|
+
LogOut: () => import_lucide_react.LogOut,
|
1303
|
+
Mail: () => import_lucide_react.Mail,
|
1304
|
+
MessageCircleCode: () => import_lucide_react.MessageCircleCode,
|
1305
|
+
MessageCircleMore: () => import_lucide_react.MessageCircleMore,
|
1306
|
+
MoreHorizontal: () => import_lucide_react.MoreHorizontal,
|
1307
|
+
MousePointerClick: () => import_lucide_react.MousePointerClick,
|
1308
|
+
NotepadText: () => import_lucide_react.NotepadText,
|
1309
|
+
Palette: () => import_lucide_react.Palette,
|
1310
|
+
PanelLeft: () => import_lucide_react.PanelLeft,
|
1311
|
+
PanelsTopLeft: () => import_lucide_react.PanelsTopLeft,
|
1312
|
+
PawPrint: () => import_lucide_react.PawPrint,
|
1313
|
+
Pencil: () => import_lucide_react.Pencil,
|
1314
|
+
Pi: () => import_lucide_react.Pi,
|
1315
|
+
QrCode: () => import_lucide_react.QrCode,
|
1316
|
+
ReceiptText: () => import_lucide_react.ReceiptText,
|
1317
|
+
RefreshCcw: () => import_lucide_react.RefreshCcw,
|
1318
|
+
Regex: () => import_lucide_react.Regex,
|
1319
|
+
Replace: () => import_lucide_react.Replace,
|
1320
|
+
Rocket: () => import_lucide_react.Rocket,
|
1321
|
+
Rss: () => import_lucide_react.Rss,
|
1322
|
+
Scale: () => import_lucide_react.Scale,
|
1323
|
+
Search: () => import_lucide_react.Search,
|
1324
|
+
SendHorizontal: () => import_lucide_react.SendHorizontal,
|
1325
|
+
Server: () => import_lucide_react.Server,
|
1326
|
+
Share: () => import_lucide_react.Share,
|
1327
|
+
Shield: () => import_lucide_react.Shield,
|
1328
|
+
ShieldUser: () => import_lucide_react.ShieldUser,
|
1329
|
+
Sigma: () => import_lucide_react.Sigma,
|
1330
|
+
Sparkles: () => import_lucide_react.Sparkles,
|
1331
|
+
SplinePointer: () => import_lucide_react.SplinePointer,
|
1332
|
+
Sprout: () => import_lucide_react.Sprout,
|
1333
|
+
SquareDashedBottomCode: () => import_lucide_react.SquareDashedBottomCode,
|
1334
|
+
SquareTerminal: () => import_lucide_react.SquareTerminal,
|
1335
|
+
Star: () => import_lucide_react.Star,
|
1336
|
+
Tablets: () => import_lucide_react.Tablets,
|
1337
|
+
Terminal: () => import_lucide_react.Terminal,
|
1338
|
+
Twitter: () => import_lucide_react.Twitter,
|
1339
|
+
UserRoundCheck: () => import_lucide_react.UserRoundCheck,
|
1340
|
+
Workflow: () => import_lucide_react.Workflow,
|
1341
|
+
X: () => import_lucide_react.X,
|
1342
|
+
Zap: () => import_lucide_react.Zap
|
1343
|
+
});
|
1344
|
+
var import_lucide_react = require("lucide-react");
|
1345
|
+
|
1229
1346
|
// src/components/global-icon.tsx
|
1230
|
-
var lucideIconsModule = __toESM(require("lucide-react"), 1);
|
1231
1347
|
var import_react32 = __toESM(require("react"), 1);
|
1232
1348
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
1233
1349
|
var tempStyledLimitedIcons = {};
|
1234
|
-
for (const iconNameKey in
|
1235
|
-
if (Object.prototype.hasOwnProperty.call(
|
1350
|
+
for (const iconNameKey in limited_lucide_icons_exports) {
|
1351
|
+
if (Object.prototype.hasOwnProperty.call(limited_lucide_icons_exports, iconNameKey)) {
|
1236
1352
|
const iconName = iconNameKey;
|
1237
|
-
const OriginalIconComponent =
|
1353
|
+
const OriginalIconComponent = limited_lucide_icons_exports[iconName];
|
1238
1354
|
if (typeof OriginalIconComponent === "function" || typeof OriginalIconComponent === "object" && OriginalIconComponent !== null && OriginalIconComponent.$$typeof === Symbol.for("react.forward_ref")) {
|
1239
1355
|
const ComponentToRender = OriginalIconComponent;
|
1240
1356
|
const StyledIcon = (props) => {
|
@@ -1280,7 +1396,7 @@ for (const [iconName, IconComponent] of Object.entries(BUILTIN_ICON_COMPONENTS))
|
|
1280
1396
|
}
|
1281
1397
|
var wrappedBuiltinIconsPart = tempWrappedBuiltinIcons;
|
1282
1398
|
var globalLucideIcons = __spreadValues(__spreadValues({}, styledLimitedIconsPart), wrappedBuiltinIconsPart);
|
1283
|
-
var DEFAULT_FALLBACK_ICON = "
|
1399
|
+
var DEFAULT_FALLBACK_ICON = "Sparkles";
|
1284
1400
|
function getGlobalIcon(iconKey, createElement) {
|
1285
1401
|
var _a;
|
1286
1402
|
if (!iconKey) {
|