@almadar/ui 5.76.4 → 5.76.5
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/avl/index.cjs +8 -4
- package/dist/avl/index.js +8 -4
- package/dist/components/game/3d/index.cjs +5 -2
- package/dist/components/game/3d/index.js +5 -2
- package/dist/components/index.cjs +8 -4
- package/dist/components/index.js +8 -4
- package/dist/marketing/index.cjs +8 -4
- package/dist/marketing/index.js +8 -4
- package/dist/providers/index.cjs +8 -4
- package/dist/providers/index.js +8 -4
- package/dist/runtime/index.cjs +8 -4
- package/dist/runtime/index.js +8 -4
- package/package.json +1 -1
package/dist/avl/index.cjs
CHANGED
|
@@ -4566,14 +4566,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
4566
4566
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
4567
4567
|
return Wrapped;
|
|
4568
4568
|
}
|
|
4569
|
+
function isComponentLike(v) {
|
|
4570
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
4571
|
+
}
|
|
4569
4572
|
function resolveLucide(name) {
|
|
4570
4573
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
4571
4574
|
const pascal = kebabToPascal(name);
|
|
4572
4575
|
const lucideMap = LucideIcons2__namespace;
|
|
4573
4576
|
const direct = lucideMap[pascal];
|
|
4574
|
-
if (direct
|
|
4577
|
+
if (isComponentLike(direct)) return direct;
|
|
4575
4578
|
const asIs = lucideMap[name];
|
|
4576
|
-
if (asIs
|
|
4579
|
+
if (isComponentLike(asIs)) return asIs;
|
|
4577
4580
|
return LucideIcons2__namespace.HelpCircle;
|
|
4578
4581
|
}
|
|
4579
4582
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -5217,12 +5220,13 @@ function resolveIcon(name) {
|
|
|
5217
5220
|
}
|
|
5218
5221
|
function doResolve(name) {
|
|
5219
5222
|
if (iconAliases[name]) return iconAliases[name];
|
|
5223
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
5220
5224
|
const pascalName = kebabToPascal2(name);
|
|
5221
5225
|
const lucideMap = LucideIcons2__namespace;
|
|
5222
5226
|
const directLookup = lucideMap[pascalName];
|
|
5223
|
-
if (directLookup
|
|
5227
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
5224
5228
|
const asIs = lucideMap[name];
|
|
5225
|
-
if (asIs
|
|
5229
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
5226
5230
|
return LucideIcons2__namespace.HelpCircle;
|
|
5227
5231
|
}
|
|
5228
5232
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|
package/dist/avl/index.js
CHANGED
|
@@ -4520,14 +4520,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
4520
4520
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
4521
4521
|
return Wrapped;
|
|
4522
4522
|
}
|
|
4523
|
+
function isComponentLike(v) {
|
|
4524
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
4525
|
+
}
|
|
4523
4526
|
function resolveLucide(name) {
|
|
4524
4527
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
4525
4528
|
const pascal = kebabToPascal(name);
|
|
4526
4529
|
const lucideMap = LucideIcons2;
|
|
4527
4530
|
const direct = lucideMap[pascal];
|
|
4528
|
-
if (direct
|
|
4531
|
+
if (isComponentLike(direct)) return direct;
|
|
4529
4532
|
const asIs = lucideMap[name];
|
|
4530
|
-
if (asIs
|
|
4533
|
+
if (isComponentLike(asIs)) return asIs;
|
|
4531
4534
|
return LucideIcons2.HelpCircle;
|
|
4532
4535
|
}
|
|
4533
4536
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -5171,12 +5174,13 @@ function resolveIcon(name) {
|
|
|
5171
5174
|
}
|
|
5172
5175
|
function doResolve(name) {
|
|
5173
5176
|
if (iconAliases[name]) return iconAliases[name];
|
|
5177
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
5174
5178
|
const pascalName = kebabToPascal2(name);
|
|
5175
5179
|
const lucideMap = LucideIcons2;
|
|
5176
5180
|
const directLookup = lucideMap[pascalName];
|
|
5177
|
-
if (directLookup
|
|
5181
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
5178
5182
|
const asIs = lucideMap[name];
|
|
5179
|
-
if (asIs
|
|
5183
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
5180
5184
|
return LucideIcons2.HelpCircle;
|
|
5181
5185
|
}
|
|
5182
5186
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|
|
@@ -2415,14 +2415,17 @@ var lucideAliases = {
|
|
|
2415
2415
|
"sort-asc": LucideIcons__namespace.ArrowUpNarrowWide,
|
|
2416
2416
|
"sort-desc": LucideIcons__namespace.ArrowDownNarrowWide
|
|
2417
2417
|
};
|
|
2418
|
+
function isComponentLike(v) {
|
|
2419
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
2420
|
+
}
|
|
2418
2421
|
function resolveLucide(name) {
|
|
2419
2422
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
2420
2423
|
const pascal = kebabToPascal(name);
|
|
2421
2424
|
const lucideMap = LucideIcons__namespace;
|
|
2422
2425
|
const direct = lucideMap[pascal];
|
|
2423
|
-
if (direct
|
|
2426
|
+
if (isComponentLike(direct)) return direct;
|
|
2424
2427
|
const asIs = lucideMap[name];
|
|
2425
|
-
if (asIs
|
|
2428
|
+
if (isComponentLike(asIs)) return asIs;
|
|
2426
2429
|
return LucideIcons__namespace.HelpCircle;
|
|
2427
2430
|
}
|
|
2428
2431
|
var phosphorAliases = {
|
|
@@ -2391,14 +2391,17 @@ var lucideAliases = {
|
|
|
2391
2391
|
"sort-asc": LucideIcons.ArrowUpNarrowWide,
|
|
2392
2392
|
"sort-desc": LucideIcons.ArrowDownNarrowWide
|
|
2393
2393
|
};
|
|
2394
|
+
function isComponentLike(v) {
|
|
2395
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
2396
|
+
}
|
|
2394
2397
|
function resolveLucide(name) {
|
|
2395
2398
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
2396
2399
|
const pascal = kebabToPascal(name);
|
|
2397
2400
|
const lucideMap = LucideIcons;
|
|
2398
2401
|
const direct = lucideMap[pascal];
|
|
2399
|
-
if (direct
|
|
2402
|
+
if (isComponentLike(direct)) return direct;
|
|
2400
2403
|
const asIs = lucideMap[name];
|
|
2401
|
-
if (asIs
|
|
2404
|
+
if (isComponentLike(asIs)) return asIs;
|
|
2402
2405
|
return LucideIcons.HelpCircle;
|
|
2403
2406
|
}
|
|
2404
2407
|
var phosphorAliases = {
|
|
@@ -1304,14 +1304,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
1304
1304
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
1305
1305
|
return Wrapped;
|
|
1306
1306
|
}
|
|
1307
|
+
function isComponentLike(v) {
|
|
1308
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
1309
|
+
}
|
|
1307
1310
|
function resolveLucide(name) {
|
|
1308
1311
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
1309
1312
|
const pascal = kebabToPascal(name);
|
|
1310
1313
|
const lucideMap = LucideIcons2__namespace;
|
|
1311
1314
|
const direct = lucideMap[pascal];
|
|
1312
|
-
if (direct
|
|
1315
|
+
if (isComponentLike(direct)) return direct;
|
|
1313
1316
|
const asIs = lucideMap[name];
|
|
1314
|
-
if (asIs
|
|
1317
|
+
if (isComponentLike(asIs)) return asIs;
|
|
1315
1318
|
return LucideIcons2__namespace.HelpCircle;
|
|
1316
1319
|
}
|
|
1317
1320
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -1955,12 +1958,13 @@ function resolveIcon(name) {
|
|
|
1955
1958
|
}
|
|
1956
1959
|
function doResolve(name) {
|
|
1957
1960
|
if (iconAliases[name]) return iconAliases[name];
|
|
1961
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
1958
1962
|
const pascalName = kebabToPascal2(name);
|
|
1959
1963
|
const lucideMap = LucideIcons2__namespace;
|
|
1960
1964
|
const directLookup = lucideMap[pascalName];
|
|
1961
|
-
if (directLookup
|
|
1965
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
1962
1966
|
const asIs = lucideMap[name];
|
|
1963
|
-
if (asIs
|
|
1967
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
1964
1968
|
return LucideIcons2__namespace.HelpCircle;
|
|
1965
1969
|
}
|
|
1966
1970
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses; exports.Icon = void 0;
|
package/dist/components/index.js
CHANGED
|
@@ -1258,14 +1258,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
1258
1258
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
1259
1259
|
return Wrapped;
|
|
1260
1260
|
}
|
|
1261
|
+
function isComponentLike(v) {
|
|
1262
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
1263
|
+
}
|
|
1261
1264
|
function resolveLucide(name) {
|
|
1262
1265
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
1263
1266
|
const pascal = kebabToPascal(name);
|
|
1264
1267
|
const lucideMap = LucideIcons2;
|
|
1265
1268
|
const direct = lucideMap[pascal];
|
|
1266
|
-
if (direct
|
|
1269
|
+
if (isComponentLike(direct)) return direct;
|
|
1267
1270
|
const asIs = lucideMap[name];
|
|
1268
|
-
if (asIs
|
|
1271
|
+
if (isComponentLike(asIs)) return asIs;
|
|
1269
1272
|
return LucideIcons2.HelpCircle;
|
|
1270
1273
|
}
|
|
1271
1274
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -1909,12 +1912,13 @@ function resolveIcon(name) {
|
|
|
1909
1912
|
}
|
|
1910
1913
|
function doResolve(name) {
|
|
1911
1914
|
if (iconAliases[name]) return iconAliases[name];
|
|
1915
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
1912
1916
|
const pascalName = kebabToPascal2(name);
|
|
1913
1917
|
const lucideMap = LucideIcons2;
|
|
1914
1918
|
const directLookup = lucideMap[pascalName];
|
|
1915
|
-
if (directLookup
|
|
1919
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
1916
1920
|
const asIs = lucideMap[name];
|
|
1917
|
-
if (asIs
|
|
1921
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
1918
1922
|
return LucideIcons2.HelpCircle;
|
|
1919
1923
|
}
|
|
1920
1924
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|
package/dist/marketing/index.cjs
CHANGED
|
@@ -3165,14 +3165,17 @@ var lucideAliases = {
|
|
|
3165
3165
|
"sort-asc": LucideIcons2__namespace.ArrowUpNarrowWide,
|
|
3166
3166
|
"sort-desc": LucideIcons2__namespace.ArrowDownNarrowWide
|
|
3167
3167
|
};
|
|
3168
|
+
function isComponentLike(v) {
|
|
3169
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
3170
|
+
}
|
|
3168
3171
|
function resolveLucide(name) {
|
|
3169
3172
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
3170
3173
|
const pascal = kebabToPascal(name);
|
|
3171
3174
|
const lucideMap = LucideIcons2__namespace;
|
|
3172
3175
|
const direct = lucideMap[pascal];
|
|
3173
|
-
if (direct
|
|
3176
|
+
if (isComponentLike(direct)) return direct;
|
|
3174
3177
|
const asIs = lucideMap[name];
|
|
3175
|
-
if (asIs
|
|
3178
|
+
if (isComponentLike(asIs)) return asIs;
|
|
3176
3179
|
return LucideIcons2__namespace.HelpCircle;
|
|
3177
3180
|
}
|
|
3178
3181
|
var phosphorAliases = {
|
|
@@ -3806,12 +3809,13 @@ function resolveIcon(name) {
|
|
|
3806
3809
|
}
|
|
3807
3810
|
function doResolve(name) {
|
|
3808
3811
|
if (iconAliases[name]) return iconAliases[name];
|
|
3812
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
3809
3813
|
const pascalName = kebabToPascal2(name);
|
|
3810
3814
|
const lucideMap = LucideIcons2__namespace;
|
|
3811
3815
|
const directLookup = lucideMap[pascalName];
|
|
3812
|
-
if (directLookup
|
|
3816
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
3813
3817
|
const asIs = lucideMap[name];
|
|
3814
|
-
if (asIs
|
|
3818
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
3815
3819
|
return LucideIcons2__namespace.HelpCircle;
|
|
3816
3820
|
}
|
|
3817
3821
|
var sizeClasses = {
|
package/dist/marketing/index.js
CHANGED
|
@@ -3141,14 +3141,17 @@ var lucideAliases = {
|
|
|
3141
3141
|
"sort-asc": LucideIcons2.ArrowUpNarrowWide,
|
|
3142
3142
|
"sort-desc": LucideIcons2.ArrowDownNarrowWide
|
|
3143
3143
|
};
|
|
3144
|
+
function isComponentLike(v) {
|
|
3145
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
3146
|
+
}
|
|
3144
3147
|
function resolveLucide(name) {
|
|
3145
3148
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
3146
3149
|
const pascal = kebabToPascal(name);
|
|
3147
3150
|
const lucideMap = LucideIcons2;
|
|
3148
3151
|
const direct = lucideMap[pascal];
|
|
3149
|
-
if (direct
|
|
3152
|
+
if (isComponentLike(direct)) return direct;
|
|
3150
3153
|
const asIs = lucideMap[name];
|
|
3151
|
-
if (asIs
|
|
3154
|
+
if (isComponentLike(asIs)) return asIs;
|
|
3152
3155
|
return LucideIcons2.HelpCircle;
|
|
3153
3156
|
}
|
|
3154
3157
|
var phosphorAliases = {
|
|
@@ -3782,12 +3785,13 @@ function resolveIcon(name) {
|
|
|
3782
3785
|
}
|
|
3783
3786
|
function doResolve(name) {
|
|
3784
3787
|
if (iconAliases[name]) return iconAliases[name];
|
|
3788
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
3785
3789
|
const pascalName = kebabToPascal2(name);
|
|
3786
3790
|
const lucideMap = LucideIcons2;
|
|
3787
3791
|
const directLookup = lucideMap[pascalName];
|
|
3788
|
-
if (directLookup
|
|
3792
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
3789
3793
|
const asIs = lucideMap[name];
|
|
3790
|
-
if (asIs
|
|
3794
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
3791
3795
|
return LucideIcons2.HelpCircle;
|
|
3792
3796
|
}
|
|
3793
3797
|
var sizeClasses = {
|
package/dist/providers/index.cjs
CHANGED
|
@@ -620,14 +620,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
620
620
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
621
621
|
return Wrapped;
|
|
622
622
|
}
|
|
623
|
+
function isComponentLike(v) {
|
|
624
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
625
|
+
}
|
|
623
626
|
function resolveLucide(name) {
|
|
624
627
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
625
628
|
const pascal = kebabToPascal(name);
|
|
626
629
|
const lucideMap = LucideIcons2__namespace;
|
|
627
630
|
const direct = lucideMap[pascal];
|
|
628
|
-
if (direct
|
|
631
|
+
if (isComponentLike(direct)) return direct;
|
|
629
632
|
const asIs = lucideMap[name];
|
|
630
|
-
if (asIs
|
|
633
|
+
if (isComponentLike(asIs)) return asIs;
|
|
631
634
|
return LucideIcons2__namespace.HelpCircle;
|
|
632
635
|
}
|
|
633
636
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -1271,12 +1274,13 @@ function resolveIcon(name) {
|
|
|
1271
1274
|
}
|
|
1272
1275
|
function doResolve(name) {
|
|
1273
1276
|
if (iconAliases[name]) return iconAliases[name];
|
|
1277
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
1274
1278
|
const pascalName = kebabToPascal2(name);
|
|
1275
1279
|
const lucideMap = LucideIcons2__namespace;
|
|
1276
1280
|
const directLookup = lucideMap[pascalName];
|
|
1277
|
-
if (directLookup
|
|
1281
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
1278
1282
|
const asIs = lucideMap[name];
|
|
1279
|
-
if (asIs
|
|
1283
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
1280
1284
|
return LucideIcons2__namespace.HelpCircle;
|
|
1281
1285
|
}
|
|
1282
1286
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|
package/dist/providers/index.js
CHANGED
|
@@ -575,14 +575,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
575
575
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
576
576
|
return Wrapped;
|
|
577
577
|
}
|
|
578
|
+
function isComponentLike(v) {
|
|
579
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
580
|
+
}
|
|
578
581
|
function resolveLucide(name) {
|
|
579
582
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
580
583
|
const pascal = kebabToPascal(name);
|
|
581
584
|
const lucideMap = LucideIcons2;
|
|
582
585
|
const direct = lucideMap[pascal];
|
|
583
|
-
if (direct
|
|
586
|
+
if (isComponentLike(direct)) return direct;
|
|
584
587
|
const asIs = lucideMap[name];
|
|
585
|
-
if (asIs
|
|
588
|
+
if (isComponentLike(asIs)) return asIs;
|
|
586
589
|
return LucideIcons2.HelpCircle;
|
|
587
590
|
}
|
|
588
591
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -1226,12 +1229,13 @@ function resolveIcon(name) {
|
|
|
1226
1229
|
}
|
|
1227
1230
|
function doResolve(name) {
|
|
1228
1231
|
if (iconAliases[name]) return iconAliases[name];
|
|
1232
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
1229
1233
|
const pascalName = kebabToPascal2(name);
|
|
1230
1234
|
const lucideMap = LucideIcons2;
|
|
1231
1235
|
const directLookup = lucideMap[pascalName];
|
|
1232
|
-
if (directLookup
|
|
1236
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
1233
1237
|
const asIs = lucideMap[name];
|
|
1234
|
-
if (asIs
|
|
1238
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
1235
1239
|
return LucideIcons2.HelpCircle;
|
|
1236
1240
|
}
|
|
1237
1241
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -1169,14 +1169,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
1169
1169
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
1170
1170
|
return Wrapped;
|
|
1171
1171
|
}
|
|
1172
|
+
function isComponentLike(v) {
|
|
1173
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
1174
|
+
}
|
|
1172
1175
|
function resolveLucide(name) {
|
|
1173
1176
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
1174
1177
|
const pascal = kebabToPascal(name);
|
|
1175
1178
|
const lucideMap = LucideIcons2__namespace;
|
|
1176
1179
|
const direct = lucideMap[pascal];
|
|
1177
|
-
if (direct
|
|
1180
|
+
if (isComponentLike(direct)) return direct;
|
|
1178
1181
|
const asIs = lucideMap[name];
|
|
1179
|
-
if (asIs
|
|
1182
|
+
if (isComponentLike(asIs)) return asIs;
|
|
1180
1183
|
return LucideIcons2__namespace.HelpCircle;
|
|
1181
1184
|
}
|
|
1182
1185
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -1820,12 +1823,13 @@ function resolveIcon(name) {
|
|
|
1820
1823
|
}
|
|
1821
1824
|
function doResolve(name) {
|
|
1822
1825
|
if (iconAliases[name]) return iconAliases[name];
|
|
1826
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
1823
1827
|
const pascalName = kebabToPascal2(name);
|
|
1824
1828
|
const lucideMap = LucideIcons2__namespace;
|
|
1825
1829
|
const directLookup = lucideMap[pascalName];
|
|
1826
|
-
if (directLookup
|
|
1830
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
1827
1831
|
const asIs = lucideMap[name];
|
|
1828
|
-
if (asIs
|
|
1832
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
1829
1833
|
return LucideIcons2__namespace.HelpCircle;
|
|
1830
1834
|
}
|
|
1831
1835
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|
package/dist/runtime/index.js
CHANGED
|
@@ -1124,14 +1124,17 @@ function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
|
|
|
1124
1124
|
Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
|
|
1125
1125
|
return Wrapped;
|
|
1126
1126
|
}
|
|
1127
|
+
function isComponentLike(v) {
|
|
1128
|
+
return v != null && (typeof v === "function" || typeof v === "object");
|
|
1129
|
+
}
|
|
1127
1130
|
function resolveLucide(name) {
|
|
1128
1131
|
if (lucideAliases[name]) return lucideAliases[name];
|
|
1129
1132
|
const pascal = kebabToPascal(name);
|
|
1130
1133
|
const lucideMap = LucideIcons2;
|
|
1131
1134
|
const direct = lucideMap[pascal];
|
|
1132
|
-
if (direct
|
|
1135
|
+
if (isComponentLike(direct)) return direct;
|
|
1133
1136
|
const asIs = lucideMap[name];
|
|
1134
|
-
if (asIs
|
|
1137
|
+
if (isComponentLike(asIs)) return asIs;
|
|
1135
1138
|
return LucideIcons2.HelpCircle;
|
|
1136
1139
|
}
|
|
1137
1140
|
function resolvePhosphor(name, weight, family) {
|
|
@@ -1775,12 +1778,13 @@ function resolveIcon(name) {
|
|
|
1775
1778
|
}
|
|
1776
1779
|
function doResolve(name) {
|
|
1777
1780
|
if (iconAliases[name]) return iconAliases[name];
|
|
1781
|
+
const isComponentLike2 = (v) => v != null && (typeof v === "function" || typeof v === "object");
|
|
1778
1782
|
const pascalName = kebabToPascal2(name);
|
|
1779
1783
|
const lucideMap = LucideIcons2;
|
|
1780
1784
|
const directLookup = lucideMap[pascalName];
|
|
1781
|
-
if (directLookup
|
|
1785
|
+
if (isComponentLike2(directLookup)) return directLookup;
|
|
1782
1786
|
const asIs = lucideMap[name];
|
|
1783
|
-
if (asIs
|
|
1787
|
+
if (isComponentLike2(asIs)) return asIs;
|
|
1784
1788
|
return LucideIcons2.HelpCircle;
|
|
1785
1789
|
}
|
|
1786
1790
|
var colorTokenClasses, iconAliases, resolvedCache, sizeClasses, animationClasses, Icon;
|