@almadar/ui 5.112.0 → 5.114.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.
@@ -3054,14 +3054,7 @@ var Typography = ({
3054
3054
  };
3055
3055
  Typography.displayName = "Typography";
3056
3056
  var DEFAULT_FAMILY = "lucide";
3057
- var VALID_FAMILIES = [
3058
- "lucide",
3059
- "phosphor-outline",
3060
- "phosphor-fill",
3061
- "phosphor-duotone",
3062
- "tabler",
3063
- "fa-solid"
3064
- ];
3057
+ var VALID_FAMILIES = [DEFAULT_FAMILY];
3065
3058
  function getCurrentIconFamily() {
3066
3059
  if (typeof window === "undefined" || typeof document === "undefined") {
3067
3060
  return DEFAULT_FAMILY;
@@ -3115,42 +3108,6 @@ function kebabToPascal(name) {
3115
3108
  return part.charAt(0).toUpperCase() + part.slice(1);
3116
3109
  }).join("");
3117
3110
  }
3118
- var libPromises = /* @__PURE__ */ new Map();
3119
- function loadLib(key, importer) {
3120
- let p = libPromises.get(key);
3121
- if (!p) {
3122
- p = importer();
3123
- libPromises.set(key, p);
3124
- }
3125
- return p;
3126
- }
3127
- function lazyFamilyIcon(libKey, importer, pick, fallbackName, family) {
3128
- const Lazy = React12__namespace.default.lazy(async () => {
3129
- const lib = await loadLib(libKey, importer);
3130
- const Comp = pick(lib);
3131
- if (!Comp) {
3132
- warnFallback(fallbackName, family);
3133
- return { default: makeLucideAdapter(fallbackName, true) };
3134
- }
3135
- return { default: Comp };
3136
- });
3137
- const Wrapped = (props) => /* @__PURE__ */ jsxRuntime.jsx(
3138
- React12__namespace.default.Suspense,
3139
- {
3140
- fallback: /* @__PURE__ */ jsxRuntime.jsx(
3141
- "span",
3142
- {
3143
- "aria-hidden": true,
3144
- className: props.className,
3145
- style: { display: "inline-block", ...props.style }
3146
- }
3147
- ),
3148
- children: /* @__PURE__ */ jsxRuntime.jsx(Lazy, { ...props })
3149
- }
3150
- );
3151
- Wrapped.displayName = `Lazy.${libKey}.${fallbackName}`;
3152
- return Wrapped;
3153
- }
3154
3111
  var lucideAliases = {
3155
3112
  close: LucideIcons2__namespace.X,
3156
3113
  trash: LucideIcons2__namespace.Trash2,
@@ -3176,600 +3133,22 @@ function resolveLucide(name) {
3176
3133
  if (isComponentLike(asIs)) return asIs;
3177
3134
  return LucideIcons2__namespace.HelpCircle;
3178
3135
  }
3179
- var phosphorAliases = {
3180
- // lucide name → phosphor PascalCase name
3181
- // Actions
3182
- plus: "Plus",
3183
- minus: "Minus",
3184
- x: "X",
3185
- check: "Check",
3186
- close: "X",
3187
- edit: "PencilSimple",
3188
- pencil: "PencilSimple",
3189
- trash: "Trash",
3190
- save: "FloppyDisk",
3191
- copy: "Copy",
3192
- share: "Share",
3193
- send: "PaperPlaneRight",
3194
- download: "DownloadSimple",
3195
- upload: "UploadSimple",
3196
- archive: "Archive",
3197
- refresh: "ArrowsClockwise",
3198
- loader: "CircleNotch",
3199
- link: "Link",
3200
- paperclip: "Paperclip",
3201
- // Navigation
3202
- "chevron-down": "CaretDown",
3203
- "chevron-up": "CaretUp",
3204
- "chevron-left": "CaretLeft",
3205
- "chevron-right": "CaretRight",
3206
- "arrow-up": "ArrowUp",
3207
- "arrow-down": "ArrowDown",
3208
- "arrow-left": "ArrowLeft",
3209
- "arrow-right": "ArrowRight",
3210
- menu: "List",
3211
- more: "DotsThree",
3212
- "more-vertical": "DotsThreeVertical",
3213
- "more-horizontal": "DotsThree",
3214
- external: "ArrowSquareOut",
3215
- "external-link": "ArrowSquareOut",
3216
- // Files
3217
- file: "File",
3218
- "file-text": "FileText",
3219
- "file-plus": "FilePlus",
3220
- "file-minus": "FileMinus",
3221
- folder: "Folder",
3222
- "folder-open": "FolderOpen",
3223
- document: "FileText",
3224
- // Charts
3225
- "bar-chart": "ChartBar",
3226
- "bar-chart-2": "ChartBar",
3227
- "bar-chart-3": "ChartBar",
3228
- "line-chart": "ChartLine",
3229
- "pie-chart": "ChartPie",
3230
- activity: "Pulse",
3231
- "trending-up": "TrendUp",
3232
- "trending-down": "TrendDown",
3233
- // Messages
3234
- message: "ChatCircle",
3235
- "message-circle": "ChatCircle",
3236
- "message-square": "ChatText",
3237
- "messages-square": "ChatsCircle",
3238
- comment: "ChatCircle",
3239
- comments: "ChatsCircle",
3240
- inbox: "Tray",
3241
- mail: "Envelope",
3242
- envelope: "Envelope",
3243
- // Status
3244
- "alert-circle": "WarningCircle",
3245
- "alert-triangle": "Warning",
3246
- "check-circle": "CheckCircle",
3247
- "x-circle": "XCircle",
3248
- info: "Info",
3249
- "help-circle": "Question",
3250
- "life-buoy": "Lifebuoy",
3251
- lifebuoy: "Lifebuoy",
3252
- warning: "Warning",
3253
- error: "WarningCircle",
3254
- // Media
3255
- image: "Image",
3256
- video: "VideoCamera",
3257
- film: "FilmStrip",
3258
- camera: "Camera",
3259
- music: "MusicNote",
3260
- play: "Play",
3261
- pause: "Pause",
3262
- stop: "Stop",
3263
- "skip-forward": "SkipForward",
3264
- "skip-back": "SkipBack",
3265
- volume: "SpeakerHigh",
3266
- "volume-2": "SpeakerHigh",
3267
- "volume-x": "SpeakerX",
3268
- mic: "Microphone",
3269
- "mic-off": "MicrophoneSlash",
3270
- // People
3271
- user: "User",
3272
- users: "Users",
3273
- "user-plus": "UserPlus",
3274
- "user-check": "UserCheck",
3275
- // Time
3276
- calendar: "Calendar",
3277
- clock: "Clock",
3278
- timer: "Timer",
3279
- // Location
3280
- map: "MapTrifold",
3281
- "map-pin": "MapPin",
3282
- navigation: "NavigationArrow",
3283
- compass: "Compass",
3284
- globe: "Globe",
3285
- target: "Target",
3286
- // Project / layout
3287
- kanban: "Kanban",
3288
- list: "List",
3289
- table: "Table",
3290
- grid: "GridFour",
3291
- layout: "Layout",
3292
- columns: "Columns",
3293
- rows: "Rows",
3294
- // Misc
3295
- bell: "Bell",
3296
- bookmark: "Bookmark",
3297
- briefcase: "Briefcase",
3298
- flag: "Flag",
3299
- tag: "Tag",
3300
- tags: "Tag",
3301
- star: "Star",
3302
- heart: "Heart",
3303
- home: "House",
3304
- settings: "Gear",
3305
- eye: "Eye",
3306
- "eye-off": "EyeSlash",
3307
- lock: "Lock",
3308
- unlock: "LockOpen",
3309
- key: "Key",
3310
- shield: "Shield",
3311
- search: "MagnifyingGlass",
3312
- filter: "Funnel",
3313
- "sort-asc": "SortAscending",
3314
- "sort-desc": "SortDescending",
3315
- zap: "Lightning",
3316
- sparkles: "Sparkle",
3317
- // Code
3318
- code: "Code",
3319
- terminal: "Terminal",
3320
- database: "Database",
3321
- server: "HardDrives",
3322
- cloud: "Cloud",
3323
- wifi: "WifiHigh",
3324
- package: "Package",
3325
- box: "Package",
3326
- // Theme
3327
- sun: "Sun",
3328
- moon: "Moon",
3329
- // Phone
3330
- phone: "Phone",
3331
- printer: "Printer",
3332
- // Hierarchy
3333
- tree: "Tree",
3334
- network: "Network"
3335
- };
3336
- function resolvePhosphor(name, weight, family) {
3337
- const target = phosphorAliases[name] ?? kebabToPascal(name);
3338
- return lazyFamilyIcon(
3339
- "phosphor",
3340
- () => import('@phosphor-icons/react'),
3341
- (lib) => {
3342
- const PhosphorComp = lib[target];
3343
- if (!PhosphorComp) return null;
3344
- const Component = PhosphorComp;
3345
- const Adapter = (props) => /* @__PURE__ */ jsxRuntime.jsx(
3346
- Component,
3347
- {
3348
- weight,
3349
- className: props.className,
3350
- style: props.style,
3351
- size: props.size ?? "1em"
3352
- }
3353
- );
3354
- Adapter.displayName = `Phosphor.${target}.${weight}`;
3355
- return Adapter;
3356
- },
3357
- name,
3358
- family
3359
- );
3360
- }
3361
- var tablerAliases = {
3362
- // lucide name → tabler suffix (after the `Icon` prefix)
3363
- // Actions
3364
- plus: "Plus",
3365
- minus: "Minus",
3366
- x: "X",
3367
- check: "Check",
3368
- close: "X",
3369
- edit: "Pencil",
3370
- pencil: "Pencil",
3371
- trash: "Trash",
3372
- save: "DeviceFloppy",
3373
- copy: "Copy",
3374
- share: "Share",
3375
- send: "Send",
3376
- download: "Download",
3377
- upload: "Upload",
3378
- archive: "Archive",
3379
- refresh: "Refresh",
3380
- loader: "Loader2",
3381
- link: "Link",
3382
- paperclip: "Paperclip",
3383
- external: "ExternalLink",
3384
- "external-link": "ExternalLink",
3385
- // Navigation
3386
- "chevron-down": "ChevronDown",
3387
- "chevron-up": "ChevronUp",
3388
- "chevron-left": "ChevronLeft",
3389
- "chevron-right": "ChevronRight",
3390
- "arrow-down": "ArrowDown",
3391
- "arrow-up": "ArrowUp",
3392
- "arrow-left": "ArrowLeft",
3393
- "arrow-right": "ArrowRight",
3394
- menu: "Menu2",
3395
- more: "Dots",
3396
- "more-vertical": "DotsVertical",
3397
- // Files
3398
- file: "File",
3399
- "file-text": "FileText",
3400
- "file-plus": "FilePlus",
3401
- "file-check": "FileCheck",
3402
- "file-minus": "FileMinus",
3403
- folder: "Folder",
3404
- "folder-open": "FolderOpen",
3405
- document: "FileText",
3406
- // Charts
3407
- "bar-chart": "ChartBar",
3408
- "bar-chart-2": "ChartBar",
3409
- "bar-chart-3": "ChartBar",
3410
- "line-chart": "ChartLine",
3411
- "pie-chart": "ChartPie",
3412
- activity: "Activity",
3413
- "trending-up": "TrendingUp",
3414
- "trending-down": "TrendingDown",
3415
- // Messages
3416
- message: "Message",
3417
- "message-circle": "MessageCircle",
3418
- "message-square": "Message2",
3419
- "messages-square": "Messages",
3420
- comment: "Message",
3421
- comments: "Messages",
3422
- inbox: "Inbox",
3423
- mail: "Mail",
3424
- envelope: "Mail",
3425
- // Status
3426
- "alert-circle": "AlertCircle",
3427
- "alert-triangle": "AlertTriangle",
3428
- "check-circle": "CircleCheck",
3429
- "x-circle": "CircleX",
3430
- info: "InfoCircle",
3431
- "help-circle": "HelpCircle",
3432
- "life-buoy": "Lifebuoy",
3433
- warning: "AlertTriangle",
3434
- error: "AlertOctagon",
3435
- // Media
3436
- image: "Photo",
3437
- video: "Video",
3438
- camera: "Camera",
3439
- music: "Music",
3440
- play: "PlayerPlay",
3441
- pause: "PlayerPause",
3442
- stop: "PlayerStop",
3443
- "skip-forward": "PlayerSkipForward",
3444
- "skip-back": "PlayerSkipBack",
3445
- volume: "Volume",
3446
- "volume-2": "Volume",
3447
- "volume-x": "VolumeOff",
3448
- mic: "Microphone",
3449
- "mic-off": "MicrophoneOff",
3450
- // People
3451
- user: "User",
3452
- users: "Users",
3453
- "user-plus": "UserPlus",
3454
- "user-check": "UserCheck",
3455
- // Time
3456
- calendar: "Calendar",
3457
- clock: "Clock",
3458
- timer: "Hourglass",
3459
- // Location
3460
- map: "Map",
3461
- "map-pin": "MapPin",
3462
- navigation: "Navigation",
3463
- compass: "Compass",
3464
- globe: "World",
3465
- target: "Target",
3466
- // Project / layout
3467
- kanban: "LayoutKanban",
3468
- list: "List",
3469
- table: "Table",
3470
- grid: "LayoutGrid",
3471
- layout: "Layout",
3472
- columns: "LayoutColumns",
3473
- rows: "LayoutRows",
3474
- // Misc
3475
- bell: "Bell",
3476
- bookmark: "Bookmark",
3477
- briefcase: "Briefcase",
3478
- flag: "Flag",
3479
- tag: "Tag",
3480
- tags: "Tags",
3481
- star: "Star",
3482
- heart: "Heart",
3483
- home: "Home",
3484
- settings: "Settings",
3485
- eye: "Eye",
3486
- "eye-off": "EyeOff",
3487
- lock: "Lock",
3488
- unlock: "LockOpen",
3489
- key: "Key",
3490
- shield: "Shield",
3491
- search: "Search",
3492
- filter: "Filter",
3493
- "sort-asc": "SortAscending",
3494
- "sort-desc": "SortDescending",
3495
- zap: "Bolt",
3496
- sparkles: "Sparkles",
3497
- // Code / data
3498
- code: "Code",
3499
- terminal: "Terminal",
3500
- database: "Database",
3501
- server: "Server",
3502
- cloud: "Cloud",
3503
- wifi: "Wifi",
3504
- package: "Package",
3505
- box: "Box",
3506
- // Theme
3507
- sun: "Sun",
3508
- moon: "Moon",
3509
- // Phone
3510
- phone: "Phone",
3511
- printer: "Printer",
3512
- // Hierarchy
3513
- tree: "Hierarchy",
3514
- network: "Network"
3515
- };
3516
- function resolveTabler(name, family) {
3517
- const suffix = tablerAliases[name] ?? kebabToPascal(name);
3518
- const target = `Icon${suffix}`;
3519
- return lazyFamilyIcon(
3520
- "tabler",
3521
- () => import('@tabler/icons-react'),
3522
- (lib) => {
3523
- const TablerComp = lib[target];
3524
- if (!TablerComp) return null;
3525
- const Component = TablerComp;
3526
- const Adapter = (props) => /* @__PURE__ */ jsxRuntime.jsx(
3527
- Component,
3528
- {
3529
- stroke: props.strokeWidth ?? 1.5,
3530
- className: props.className,
3531
- style: props.style,
3532
- size: props.size ?? 24
3533
- }
3534
- );
3535
- Adapter.displayName = `Tabler.${target}`;
3536
- return Adapter;
3537
- },
3538
- name,
3539
- family
3540
- );
3541
- }
3542
- var faAliases = {
3543
- // lucide name → fa-solid suffix (after the `Fa` prefix).
3544
- // react-icons/fa ships FontAwesome 5 — names like `FaFileText` don't exist
3545
- // (FA renamed to `FaFileAlt`). When you see a console.warn from
3546
- // [iconFamily] about an unmapped lucide name in this family, add the
3547
- // closest FA5 sibling here so the fallback stays in-family.
3548
- search: "Search",
3549
- close: "Times",
3550
- x: "Times",
3551
- loader: "Spinner",
3552
- refresh: "Sync",
3553
- "sort-asc": "SortAmountUp",
3554
- "sort-desc": "SortAmountDown",
3555
- "chevron-down": "ChevronDown",
3556
- "chevron-up": "ChevronUp",
3557
- "chevron-left": "ChevronLeft",
3558
- "chevron-right": "ChevronRight",
3559
- "help-circle": "QuestionCircle",
3560
- "alert-triangle": "ExclamationTriangle",
3561
- "alert-circle": "ExclamationCircle",
3562
- "check-circle": "CheckCircle",
3563
- "x-circle": "TimesCircle",
3564
- edit: "Edit",
3565
- pencil: "PencilAlt",
3566
- trash: "Trash",
3567
- send: "PaperPlane",
3568
- share: "ShareAlt",
3569
- external: "ExternalLinkAlt",
3570
- plus: "Plus",
3571
- minus: "Minus",
3572
- check: "Check",
3573
- star: "Star",
3574
- heart: "Heart",
3575
- home: "Home",
3576
- user: "User",
3577
- users: "Users",
3578
- "user-plus": "UserPlus",
3579
- "user-check": "UserCheck",
3580
- settings: "Cog",
3581
- menu: "Bars",
3582
- "arrow-up": "ArrowUp",
3583
- "arrow-down": "ArrowDown",
3584
- "arrow-left": "ArrowLeft",
3585
- "arrow-right": "ArrowRight",
3586
- copy: "Copy",
3587
- download: "Download",
3588
- upload: "Upload",
3589
- filter: "Filter",
3590
- calendar: "Calendar",
3591
- clock: "Clock",
3592
- bell: "Bell",
3593
- mail: "Envelope",
3594
- envelope: "Envelope",
3595
- lock: "Lock",
3596
- unlock: "LockOpen",
3597
- eye: "Eye",
3598
- "eye-off": "EyeSlash",
3599
- more: "EllipsisH",
3600
- "more-vertical": "EllipsisV",
3601
- info: "InfoCircle",
3602
- warning: "ExclamationTriangle",
3603
- error: "ExclamationCircle",
3604
- // Time
3605
- timer: "Hourglass",
3606
- // Files (FA renamed FileText → FileAlt)
3607
- file: "File",
3608
- "file-text": "FileAlt",
3609
- "file-plus": "FileMedical",
3610
- "file-minus": "FileExcel",
3611
- "file-check": "FileSignature",
3612
- document: "FileAlt",
3613
- // Charts (lucide BarChart2 / BarChart3 → FA ChartBar)
3614
- "bar-chart": "ChartBar",
3615
- "bar-chart-2": "ChartBar",
3616
- "bar-chart-3": "ChartBar",
3617
- "line-chart": "ChartLine",
3618
- "pie-chart": "ChartPie",
3619
- activity: "ChartLine",
3620
- "trending-up": "ChartLine",
3621
- "trending-down": "ChartLine",
3622
- // Messages (lucide MessageCircle/MessageSquare → FA CommentDots/CommentAlt)
3623
- message: "Comment",
3624
- "message-circle": "CommentDots",
3625
- "message-square": "CommentAlt",
3626
- "messages-square": "Comments",
3627
- comment: "Comment",
3628
- comments: "Comments",
3629
- inbox: "Inbox",
3630
- // Support / help
3631
- "life-buoy": "LifeRing",
3632
- lifebuoy: "LifeRing",
3633
- // Project / kanban (FA has no kanban; closest semantic is Tasks/Columns)
3634
- kanban: "Tasks",
3635
- columns: "Columns",
3636
- rows: "Bars",
3637
- layout: "ThLarge",
3638
- grid: "Th",
3639
- list: "List",
3640
- table: "Table",
3641
- // Storage / folders
3642
- folder: "Folder",
3643
- "folder-open": "FolderOpen",
3644
- archive: "Archive",
3645
- bookmark: "Bookmark",
3646
- briefcase: "Briefcase",
3647
- package: "Box",
3648
- box: "Box",
3649
- // Map / location
3650
- map: "Map",
3651
- "map-pin": "MapMarkerAlt",
3652
- navigation: "LocationArrow",
3653
- compass: "Compass",
3654
- globe: "Globe",
3655
- target: "Bullseye",
3656
- // Media
3657
- image: "Image",
3658
- video: "Video",
3659
- film: "Film",
3660
- camera: "Camera",
3661
- music: "Music",
3662
- play: "Play",
3663
- pause: "Pause",
3664
- stop: "Stop",
3665
- "skip-forward": "Forward",
3666
- "skip-back": "Backward",
3667
- volume: "VolumeUp",
3668
- "volume-2": "VolumeUp",
3669
- "volume-x": "VolumeMute",
3670
- mic: "Microphone",
3671
- "mic-off": "MicrophoneSlash",
3672
- phone: "Phone",
3673
- // Code / data
3674
- code: "Code",
3675
- terminal: "Terminal",
3676
- database: "Database",
3677
- server: "Server",
3678
- cloud: "Cloud",
3679
- wifi: "Wifi",
3680
- // Security
3681
- shield: "ShieldAlt",
3682
- key: "Key",
3683
- // Misc actions
3684
- printer: "Print",
3685
- save: "Save",
3686
- link: "Link",
3687
- unlink: "Unlink",
3688
- paperclip: "Paperclip",
3689
- flag: "Flag",
3690
- tag: "Tag",
3691
- tags: "Tags",
3692
- zap: "Bolt",
3693
- sparkles: "Magic",
3694
- // Theme
3695
- sun: "Sun",
3696
- moon: "Moon",
3697
- // Hierarchy (FA has no Tree icon for hierarchies; Sitemap is the org-chart icon)
3698
- tree: "Sitemap",
3699
- network: "NetworkWired"
3700
- };
3701
- function resolveFa(name, family) {
3702
- const suffix = faAliases[name] ?? kebabToPascal(name);
3703
- const target = `Fa${suffix}`;
3704
- return lazyFamilyIcon(
3705
- "fa",
3706
- () => import('react-icons/fa'),
3707
- (lib) => {
3708
- const FaComp = lib[target];
3709
- if (!FaComp) return null;
3710
- const Component = FaComp;
3711
- const Adapter = (props) => /* @__PURE__ */ jsxRuntime.jsx(
3712
- Component,
3713
- {
3714
- className: props.className,
3715
- style: props.style,
3716
- size: props.size ?? "1em"
3717
- }
3718
- );
3719
- Adapter.displayName = `Fa.${target}`;
3720
- return Adapter;
3721
- },
3722
- name,
3723
- family
3724
- );
3725
- }
3726
- var warned = /* @__PURE__ */ new Set();
3727
- function warnFallback(name, family) {
3728
- const key = `${family}::${name}`;
3729
- if (warned.has(key)) return;
3730
- warned.add(key);
3731
- if (typeof console !== "undefined") {
3732
- console.warn(
3733
- `[iconFamily] No '${name}' mapping in family '${family}'; falling back to lucide. Add an alias in lib/iconFamily.ts.`
3734
- );
3735
- }
3736
- }
3737
- function makeLucideAdapter(name, isFallback = false) {
3136
+ function makeLucideAdapter(name) {
3738
3137
  const LucideComp = resolveLucide(name);
3739
- const Adapter = (props) => {
3740
- const stroke = props.strokeWidth ?? (isFallback ? 2 : void 0);
3741
- const style = isFallback ? { ...props.style ?? {}, strokeWidth: stroke ?? 2 } : props.style;
3742
- return /* @__PURE__ */ jsxRuntime.jsx(
3743
- LucideComp,
3744
- {
3745
- className: props.className,
3746
- strokeWidth: stroke,
3747
- style,
3748
- size: props.size
3749
- }
3750
- );
3751
- };
3752
- Adapter.displayName = `Lucide.${name}${isFallback ? ".fallback" : ""}`;
3138
+ const Adapter = (props) => /* @__PURE__ */ jsxRuntime.jsx(
3139
+ LucideComp,
3140
+ {
3141
+ className: props.className,
3142
+ strokeWidth: props.strokeWidth,
3143
+ style: props.style,
3144
+ size: props.size
3145
+ }
3146
+ );
3147
+ Adapter.displayName = `Lucide.${name}`;
3753
3148
  return Adapter;
3754
3149
  }
3755
- function resolveIconForFamily(name, family) {
3756
- switch (family) {
3757
- case "lucide":
3758
- return makeLucideAdapter(name, false);
3759
- // Non-lucide families resolve to a lazy, Suspense-wrapped component that
3760
- // dynamic-imports the library on first render and falls back to lucide
3761
- // internally when the family lacks the icon (see lazyFamilyIcon).
3762
- case "phosphor-outline":
3763
- return resolvePhosphor(name, "regular", family);
3764
- case "phosphor-fill":
3765
- return resolvePhosphor(name, "fill", family);
3766
- case "phosphor-duotone":
3767
- return resolvePhosphor(name, "duotone", family);
3768
- case "tabler":
3769
- return resolveTabler(name, family);
3770
- case "fa-solid":
3771
- return resolveFa(name, family);
3772
- }
3150
+ function resolveIconForFamily(name, _family) {
3151
+ return makeLucideAdapter(name);
3773
3152
  }
3774
3153
  var colorTokenClasses = {
3775
3154
  primary: "text-primary",
@@ -3843,7 +3222,7 @@ var Icon = ({
3843
3222
  const family = useIconFamily();
3844
3223
  const RenderedComponent = React12__namespace.default.useMemo(() => {
3845
3224
  if (directIcon) return null;
3846
- return effectiveName ? resolveIconForFamily(effectiveName, family) : null;
3225
+ return effectiveName ? resolveIconForFamily(effectiveName) : null;
3847
3226
  }, [directIcon, effectiveName, family]);
3848
3227
  const effectiveStrokeWidth = strokeWidth ?? void 0;
3849
3228
  const inlineStyle = {
@@ -4145,7 +3524,7 @@ var Button = React12__namespace.default.forwardRef(
4145
3524
  ref,
4146
3525
  disabled: disabled || isLoading,
4147
3526
  className: cn(
4148
- "inline-flex items-center justify-center gap-2",
3527
+ "relative inline-flex items-center justify-center gap-2",
4149
3528
  "font-medium",
4150
3529
  "rounded-sm",
4151
3530
  "cursor-pointer",