@windrun-huaiin/base-ui 20.0.0 → 21.0.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.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2026 D8ger
3
+ Copyright (c) 2025 D8ger
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -34,12 +34,17 @@ export declare const globalLucideIcons: {
34
34
  FAQ: StyledLucideIconComponent;
35
35
  FAQB: StyledLucideIconComponent;
36
36
  FAQS: StyledLucideIconComponent;
37
- AlbumIcon: StyledLucideIconComponent;
37
+ Album: StyledLucideIconComponent;
38
38
  AlignHorizontalJustifyEnd: StyledLucideIconComponent;
39
39
  ArrowLeft: StyledLucideIconComponent;
40
40
  ArrowRight: StyledLucideIconComponent;
41
41
  ArrowUp: StyledLucideIconComponent;
42
42
  Baby: StyledLucideIconComponent;
43
+ BadgeInfo: StyledLucideIconComponent;
44
+ BadgeAlert: StyledLucideIconComponent;
45
+ BadgeCheck: StyledLucideIconComponent;
46
+ BadgeX: StyledLucideIconComponent;
47
+ BadgeQuestionMark: StyledLucideIconComponent;
43
48
  Bell: StyledLucideIconComponent;
44
49
  Binary: StyledLucideIconComponent;
45
50
  Blocks: StyledLucideIconComponent;
@@ -64,7 +69,6 @@ export declare const globalLucideIcons: {
64
69
  Building2: StyledLucideIconComponent;
65
70
  Bug: StyledLucideIconComponent;
66
71
  BugOff: StyledLucideIconComponent;
67
- BadgeQuestionMark: StyledLucideIconComponent;
68
72
  Car: StyledLucideIconComponent;
69
73
  ChartColumnStacked: StyledLucideIconComponent;
70
74
  Circle: StyledLucideIconComponent;
@@ -83,7 +87,7 @@ export declare const globalLucideIcons: {
83
87
  ChevronUp: StyledLucideIconComponent;
84
88
  Coffee: StyledLucideIconComponent;
85
89
  Coins: StyledLucideIconComponent;
86
- ComponentIcon: StyledLucideIconComponent;
90
+ Component: StyledLucideIconComponent;
87
91
  Copy: StyledLucideIconComponent;
88
92
  CopyCheck: StyledLucideIconComponent;
89
93
  Cpu: StyledLucideIconComponent;
@@ -129,7 +133,7 @@ export declare const globalLucideIcons: {
129
133
  Languages: StyledLucideIconComponent;
130
134
  Layout: StyledLucideIconComponent;
131
135
  LayoutTemplate: StyledLucideIconComponent;
132
- LibraryIcon: StyledLucideIconComponent;
136
+ Library: StyledLucideIconComponent;
133
137
  Lightbulb: StyledLucideIconComponent;
134
138
  Link: StyledLucideIconComponent;
135
139
  ListTodo: StyledLucideIconComponent;
@@ -39,6 +39,21 @@ const globalLucideIcons = Object.assign(Object.assign({}, styledLimitedIconsPart
39
39
  // Default fallback icon - centralized configuration
40
40
  // Use a safe fallback that we know exists in both Lucide and custom icons
41
41
  const DEFAULT_FALLBACK_ICON = 'Sparkles';
42
+ function resolveIconKey(iconKey) {
43
+ const trimmedKey = iconKey.trim();
44
+ if (trimmedKey === '')
45
+ return undefined;
46
+ const candidates = [
47
+ trimmedKey,
48
+ trimmedKey.endsWith('Icon') ? trimmedKey.slice(0, -4) : `${trimmedKey}Icon`,
49
+ ];
50
+ for (const candidate of candidates) {
51
+ if (candidate in globalLucideIcons) {
52
+ return candidate;
53
+ }
54
+ }
55
+ return undefined;
56
+ }
42
57
  function getGlobalIcon(iconKey, createElement) {
43
58
  var _a;
44
59
  // Handle undefined iconKey case (for getIconElement compatibility)
@@ -48,7 +63,8 @@ function getGlobalIcon(iconKey, createElement) {
48
63
  }
49
64
  return globalLucideIcons[DEFAULT_FALLBACK_ICON];
50
65
  }
51
- const Icon = globalLucideIcons[iconKey];
66
+ const resolvedIconKey = resolveIconKey(iconKey);
67
+ const Icon = resolvedIconKey ? globalLucideIcons[resolvedIconKey] : undefined;
52
68
  if (!Icon) {
53
69
  if (typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) !== 'production') {
54
70
  // only show in dev|test
@@ -37,6 +37,21 @@ const globalLucideIcons = Object.assign(Object.assign({}, styledLimitedIconsPart
37
37
  // Default fallback icon - centralized configuration
38
38
  // Use a safe fallback that we know exists in both Lucide and custom icons
39
39
  const DEFAULT_FALLBACK_ICON = 'Sparkles';
40
+ function resolveIconKey(iconKey) {
41
+ const trimmedKey = iconKey.trim();
42
+ if (trimmedKey === '')
43
+ return undefined;
44
+ const candidates = [
45
+ trimmedKey,
46
+ trimmedKey.endsWith('Icon') ? trimmedKey.slice(0, -4) : `${trimmedKey}Icon`,
47
+ ];
48
+ for (const candidate of candidates) {
49
+ if (candidate in globalLucideIcons) {
50
+ return candidate;
51
+ }
52
+ }
53
+ return undefined;
54
+ }
40
55
  function getGlobalIcon(iconKey, createElement) {
41
56
  var _a;
42
57
  // Handle undefined iconKey case (for getIconElement compatibility)
@@ -46,7 +61,8 @@ function getGlobalIcon(iconKey, createElement) {
46
61
  }
47
62
  return globalLucideIcons[DEFAULT_FALLBACK_ICON];
48
63
  }
49
- const Icon = globalLucideIcons[iconKey];
64
+ const resolvedIconKey = resolveIconKey(iconKey);
65
+ const Icon = resolvedIconKey ? globalLucideIcons[resolvedIconKey] : undefined;
50
66
  if (!Icon) {
51
67
  if (typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) !== 'production') {
52
68
  // only show in dev|test
@@ -1,11 +1,3 @@
1
- /**
2
- * @license
3
- * MIT License
4
- * Copyright (c) 2026 D8ger
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
1
  interface LanguageSwitcherProps {
10
2
  locales: readonly string[];
11
3
  localeLabels: Record<string, string>;
@@ -8,14 +8,6 @@ var nextIntl = require('next-intl');
8
8
  var dropdownMenu = require('../ui/dropdown-menu.js');
9
9
  var languageButton = require('../ui/language-button.js');
10
10
 
11
- /**
12
- * @license
13
- * MIT License
14
- * Copyright (c) 2026 D8ger
15
- *
16
- * This source code is licensed under the MIT license found in the
17
- * LICENSE file in the root directory of this source tree.
18
- */
19
11
  function LanguageSwitcher({ locales, localeLabels }) {
20
12
  const locale = nextIntl.useLocale();
21
13
  const router = navigation.useRouter();
@@ -6,14 +6,6 @@ import { useLocale } from 'next-intl';
6
6
  import { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem } from '../ui/dropdown-menu.mjs';
7
7
  import { LanguageButton } from '../ui/language-button.mjs';
8
8
 
9
- /**
10
- * @license
11
- * MIT License
12
- * Copyright (c) 2026 D8ger
13
- *
14
- * This source code is licensed under the MIT license found in the
15
- * LICENSE file in the root directory of this source tree.
16
- */
17
9
  function LanguageSwitcher({ locales, localeLabels }) {
18
10
  const locale = useLocale();
19
11
  const router = useRouter();
@@ -1 +1 @@
1
- export { AlbumIcon, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Baby, Bell, Binary, Blocks, BookX, BookOpen, BookAudio, BookA, BookCheck, BookDown, BookHeadphones, Bookmark, BookmarkCheck, BookmarkMinus, BookmarkPlus, BookmarkX, BotMessageSquare, Brain, BrainCircuit, Briefcase, BringToFront, BrushCleaning, Building2, Bug, BugOff, BadgeQuestionMark, Car, ChartColumnStacked, Circle, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, Check, CircleArrowDown, CircleArrowUp, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Coffee, Coins, ComponentIcon, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Ellipsis, EllipsisVertical, Eye, EyeOff, ExternalLink, Facebook, Shield, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, History, HousePlus, Infinity, Info, ImageDown, ImageOff, ImageUp, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleMore, MessageCircleCode, MessageSquareDiff, Music4, MoreHorizontal, MousePointerClick, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, Pin, PinOff, Plus, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, RotateCcw, Rss, Scale, ScanSearch, Search, Send, SendHorizontal, Settings, Settings2, Share, Sigma, ShieldUser, ShoppingCart, Sprout, SquareDashedBottomCode, SquareTerminal, Server, SplinePointer, Sparkles, Star, Tablets, Terminal, Trash2, Twitter, Usb, UserRoundCheck, Wand2, Workflow, X, Zap, } from "lucide-react";
1
+ export { Album, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Baby, BadgeInfo, BadgeAlert, BadgeCheck, BadgeX, BadgeQuestionMark, Bell, Binary, Blocks, BookX, BookOpen, BookAudio, BookA, BookCheck, BookDown, BookHeadphones, Bookmark, BookmarkCheck, BookmarkMinus, BookmarkPlus, BookmarkX, BotMessageSquare, Brain, BrainCircuit, Briefcase, BringToFront, BrushCleaning, Building2, Bug, BugOff, Car, ChartColumnStacked, Circle, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, Check, CircleArrowDown, CircleArrowUp, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Coffee, Coins, Component, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Ellipsis, EllipsisVertical, Eye, EyeOff, ExternalLink, Facebook, Shield, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, History, HousePlus, Infinity, Info, ImageDown, ImageOff, ImageUp, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, Library, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleMore, MessageCircleCode, MessageSquareDiff, Music4, MoreHorizontal, MousePointerClick, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, Pin, PinOff, Plus, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, RotateCcw, Rss, Scale, ScanSearch, Search, Send, SendHorizontal, Settings, Settings2, Share, Sigma, ShieldUser, ShoppingCart, Sprout, SquareDashedBottomCode, SquareTerminal, Server, SplinePointer, Sparkles, Star, Tablets, Terminal, Trash2, Twitter, Usb, UserRoundCheck, Wand2, Workflow, X, Zap, } from "lucide-react";
@@ -9,9 +9,9 @@ var lucideReact = require('lucide-react');
9
9
  * in globalLucideIcons.
10
10
  */
11
11
 
12
- Object.defineProperty(exports, "AlbumIcon", {
12
+ Object.defineProperty(exports, "Album", {
13
13
  enumerable: true,
14
- get: function () { return lucideReact.AlbumIcon; }
14
+ get: function () { return lucideReact.Album; }
15
15
  });
16
16
  Object.defineProperty(exports, "AlignHorizontalJustifyEnd", {
17
17
  enumerable: true,
@@ -33,10 +33,26 @@ Object.defineProperty(exports, "Baby", {
33
33
  enumerable: true,
34
34
  get: function () { return lucideReact.Baby; }
35
35
  });
36
+ Object.defineProperty(exports, "BadgeAlert", {
37
+ enumerable: true,
38
+ get: function () { return lucideReact.BadgeAlert; }
39
+ });
40
+ Object.defineProperty(exports, "BadgeCheck", {
41
+ enumerable: true,
42
+ get: function () { return lucideReact.BadgeCheck; }
43
+ });
44
+ Object.defineProperty(exports, "BadgeInfo", {
45
+ enumerable: true,
46
+ get: function () { return lucideReact.BadgeInfo; }
47
+ });
36
48
  Object.defineProperty(exports, "BadgeQuestionMark", {
37
49
  enumerable: true,
38
50
  get: function () { return lucideReact.BadgeQuestionMark; }
39
51
  });
52
+ Object.defineProperty(exports, "BadgeX", {
53
+ enumerable: true,
54
+ get: function () { return lucideReact.BadgeX; }
55
+ });
40
56
  Object.defineProperty(exports, "Bell", {
41
57
  enumerable: true,
42
58
  get: function () { return lucideReact.Bell; }
@@ -205,9 +221,9 @@ Object.defineProperty(exports, "Coins", {
205
221
  enumerable: true,
206
222
  get: function () { return lucideReact.Coins; }
207
223
  });
208
- Object.defineProperty(exports, "ComponentIcon", {
224
+ Object.defineProperty(exports, "Component", {
209
225
  enumerable: true,
210
- get: function () { return lucideReact.ComponentIcon; }
226
+ get: function () { return lucideReact.Component; }
211
227
  });
212
228
  Object.defineProperty(exports, "Copy", {
213
229
  enumerable: true,
@@ -385,9 +401,9 @@ Object.defineProperty(exports, "LayoutTemplate", {
385
401
  enumerable: true,
386
402
  get: function () { return lucideReact.LayoutTemplate; }
387
403
  });
388
- Object.defineProperty(exports, "LibraryIcon", {
404
+ Object.defineProperty(exports, "Library", {
389
405
  enumerable: true,
390
- get: function () { return lucideReact.LibraryIcon; }
406
+ get: function () { return lucideReact.Library; }
391
407
  });
392
408
  Object.defineProperty(exports, "Lightbulb", {
393
409
  enumerable: true,
@@ -1,4 +1,4 @@
1
- export { AlbumIcon, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Baby, BadgeQuestionMark, Bell, Binary, Blocks, BookA, BookAudio, BookCheck, BookDown, BookHeadphones, BookOpen, BookX, Bookmark, BookmarkCheck, BookmarkMinus, BookmarkPlus, BookmarkX, BotMessageSquare, Brain, BrainCircuit, Briefcase, BringToFront, BrushCleaning, Bug, BugOff, Building2, Car, ChartColumnStacked, Check, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Circle, CircleAlert, CircleArrowDown, CircleArrowUp, CircleQuestionMark, CircleSmall, CircleStop, Coffee, Coins, ComponentIcon, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Ellipsis, EllipsisVertical, ExternalLink, Eye, EyeOff, Facebook, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, History, HousePlus, ImageDown, ImageOff, ImageUp, Infinity, Info, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleCode, MessageCircleMore, MessageSquareDiff, MoreHorizontal, MousePointerClick, Music4, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, Pin, PinOff, Plus, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, RotateCcw, Rss, Scale, ScanSearch, Search, Send, SendHorizontal, Server, Settings, Settings2, Share, Shield, ShieldUser, ShoppingCart, Sigma, Sparkles, SplinePointer, Sprout, SquareDashedBottomCode, SquareTerminal, Star, Tablets, Terminal, Trash2, Twitter, Usb, UserRoundCheck, Wand2, Workflow, X, Zap } from 'lucide-react';
1
+ export { Album, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Baby, BadgeAlert, BadgeCheck, BadgeInfo, BadgeQuestionMark, BadgeX, Bell, Binary, Blocks, BookA, BookAudio, BookCheck, BookDown, BookHeadphones, BookOpen, BookX, Bookmark, BookmarkCheck, BookmarkMinus, BookmarkPlus, BookmarkX, BotMessageSquare, Brain, BrainCircuit, Briefcase, BringToFront, BrushCleaning, Bug, BugOff, Building2, Car, ChartColumnStacked, Check, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Circle, CircleAlert, CircleArrowDown, CircleArrowUp, CircleQuestionMark, CircleSmall, CircleStop, Coffee, Coins, Component, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Ellipsis, EllipsisVertical, ExternalLink, Eye, EyeOff, Facebook, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, History, HousePlus, ImageDown, ImageOff, ImageUp, Infinity, Info, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, Library, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleCode, MessageCircleMore, MessageSquareDiff, MoreHorizontal, MousePointerClick, Music4, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, Pin, PinOff, Plus, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, RotateCcw, Rss, Scale, ScanSearch, Search, Send, SendHorizontal, Server, Settings, Settings2, Share, Shield, ShieldUser, ShoppingCart, Sigma, Sparkles, SplinePointer, Sprout, SquareDashedBottomCode, SquareTerminal, Star, Tablets, Terminal, Trash2, Twitter, Usb, UserRoundCheck, Wand2, Workflow, X, Zap } from 'lucide-react';
2
2
 
3
3
  /*
4
4
  * This file re-exports selected icons from 'lucide-react'.
@@ -22,7 +22,11 @@ exports.ArrowRightIcon = index.ArrowRightIcon;
22
22
  exports.ArrowUpIcon = index.ArrowUpIcon;
23
23
  exports.BTCIcon = index.BTCIcon;
24
24
  exports.BabyIcon = index.BabyIcon;
25
+ exports.BadgeAlertIcon = index.BadgeAlertIcon;
26
+ exports.BadgeCheckIcon = index.BadgeCheckIcon;
27
+ exports.BadgeInfoIcon = index.BadgeInfoIcon;
25
28
  exports.BadgeQuestionMarkIcon = index.BadgeQuestionMarkIcon;
29
+ exports.BadgeXIcon = index.BadgeXIcon;
26
30
  exports.BellIcon = index.BellIcon;
27
31
  exports.BinaryIcon = index.BinaryIcon;
28
32
  exports.BlocksIcon = index.BlocksIcon;
@@ -1,5 +1,5 @@
1
1
  export { DefaultSiteIcon, NotFoundIcon, getGlobalIcon, getIconElement, globalLucideIcons } from './global-icon.mjs';
2
- export { AlbumIcon, AlignHorizontalJustifyEndIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BTCIcon, BabyIcon, BadgeQuestionMarkIcon, BellIcon, BinaryIcon, BlocksIcon, BookAIcon, BookAudioIcon, BookCheckIcon, BookDownIcon, BookHeadphonesIcon, BookOpenIcon, BookXIcon, BookmarkCheckIcon, BookmarkIcon, BookmarkMinusIcon, BookmarkPlusIcon, BookmarkXIcon, BotMessageSquareIcon, BrainCircuitIcon, BrainIcon, BriefcaseIcon, BringToFrontIcon, BrushCleaningIcon, BugIcon, BugOffIcon, Building2Icon, CSSIcon, CSVIcon, CarIcon, ChartColumnStackedIcon, CheckCheckIcon, CheckIcon, CheckLineIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleAlertIcon, CircleArrowDownIcon, CircleArrowUpIcon, CircleIcon, CircleQuestionMarkIcon, CircleSmallIcon, CircleStopIcon, ClerkIcon, CoffeeIcon, CoinsIcon, ComponentIcon, CopyCheckIcon, CopyIcon, CpuIcon, D8Icon, DPAIcon, DatabaseIcon, DatabaseZapIcon, DiffIcon, DotIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FAQBIcon, FAQIcon, FAQSIcon, FacebookIcon, FileDownIcon, FileIcon, FileInputIcon, FileLock2Icon, FileUpIcon, FingerprintIcon, FolderIcon, FolderOpenIcon, GemIcon, GiftIcon, GitHubIcon, GitMergeIcon, GitPullRequestArrowIcon, GlobeIcon, GlobeLockIcon, GripIcon, GripVerticalIcon, HandHeartIcon, HandshakeIcon, HighlighterIcon, HistoryIcon, HousePlusIcon, HtmlIcon, HttpIcon, ImageDownIcon, ImageOffIcon, ImageUpIcon, InfinityIcon, InfoIcon, ItermIcon, JavaIcon, JsonIcon, KeyboardIcon, LandPlotIcon, LanguagesIcon, LastUpdatedIcon, LayoutIcon, LayoutTemplateIcon, LibraryIcon, LightbulbIcon, LinkIcon, ListTodoIcon, Loader2Icon, LogIcon, LogInIcon, LogOutIcon, MACIcon, MDXIcon, MailIcon, MarkdownIcon, MessageCircleCodeIcon, MessageCircleMoreIcon, MessageSquareDiffIcon, MmdIcon, MoreHorizontalIcon, MousePointerClickIcon, Music4Icon, NotepadTextIcon, PaletteIcon, PanelLeftIcon, PanelsTopLeftIcon, PawPrintIcon, PencilIcon, PiIcon, PinIcon, PinOffIcon, PlusIcon, QrCodeIcon, ReceiptTextIcon, RefreshCcwIcon, RegexIcon, ReplaceIcon, RocketIcon, RotateCcwIcon, RssIcon, SQLIcon, ScaleIcon, ScanSearchIcon, SchemeIcon, SearchIcon, SendHorizontalIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShareIcon, ShieldIcon, ShieldUserIcon, ShoppingCartIcon, SigmaIcon, SnippetsIcon, SparklesIcon, SplinePointerIcon, SproutIcon, SquareDashedBottomCodeIcon, SquareTerminalIcon, StarIcon, SubPIcon, T3PIcon, TabletsIcon, TerminalIcon, TestIcon, Trash2Icon, TwitterIcon, TxtIcon, UsbIcon, UserRoundCheckIcon, Wand2Icon, WorkflowIcon, XIcon, XMLIcon, YamlIcon, ZapIcon } from '../icons/index.mjs';
2
+ export { AlbumIcon, AlignHorizontalJustifyEndIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BTCIcon, BabyIcon, BadgeAlertIcon, BadgeCheckIcon, BadgeInfoIcon, BadgeQuestionMarkIcon, BadgeXIcon, BellIcon, BinaryIcon, BlocksIcon, BookAIcon, BookAudioIcon, BookCheckIcon, BookDownIcon, BookHeadphonesIcon, BookOpenIcon, BookXIcon, BookmarkCheckIcon, BookmarkIcon, BookmarkMinusIcon, BookmarkPlusIcon, BookmarkXIcon, BotMessageSquareIcon, BrainCircuitIcon, BrainIcon, BriefcaseIcon, BringToFrontIcon, BrushCleaningIcon, BugIcon, BugOffIcon, Building2Icon, CSSIcon, CSVIcon, CarIcon, ChartColumnStackedIcon, CheckCheckIcon, CheckIcon, CheckLineIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleAlertIcon, CircleArrowDownIcon, CircleArrowUpIcon, CircleIcon, CircleQuestionMarkIcon, CircleSmallIcon, CircleStopIcon, ClerkIcon, CoffeeIcon, CoinsIcon, ComponentIcon, CopyCheckIcon, CopyIcon, CpuIcon, D8Icon, DPAIcon, DatabaseIcon, DatabaseZapIcon, DiffIcon, DotIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FAQBIcon, FAQIcon, FAQSIcon, FacebookIcon, FileDownIcon, FileIcon, FileInputIcon, FileLock2Icon, FileUpIcon, FingerprintIcon, FolderIcon, FolderOpenIcon, GemIcon, GiftIcon, GitHubIcon, GitMergeIcon, GitPullRequestArrowIcon, GlobeIcon, GlobeLockIcon, GripIcon, GripVerticalIcon, HandHeartIcon, HandshakeIcon, HighlighterIcon, HistoryIcon, HousePlusIcon, HtmlIcon, HttpIcon, ImageDownIcon, ImageOffIcon, ImageUpIcon, InfinityIcon, InfoIcon, ItermIcon, JavaIcon, JsonIcon, KeyboardIcon, LandPlotIcon, LanguagesIcon, LastUpdatedIcon, LayoutIcon, LayoutTemplateIcon, LibraryIcon, LightbulbIcon, LinkIcon, ListTodoIcon, Loader2Icon, LogIcon, LogInIcon, LogOutIcon, MACIcon, MDXIcon, MailIcon, MarkdownIcon, MessageCircleCodeIcon, MessageCircleMoreIcon, MessageSquareDiffIcon, MmdIcon, MoreHorizontalIcon, MousePointerClickIcon, Music4Icon, NotepadTextIcon, PaletteIcon, PanelLeftIcon, PanelsTopLeftIcon, PawPrintIcon, PencilIcon, PiIcon, PinIcon, PinOffIcon, PlusIcon, QrCodeIcon, ReceiptTextIcon, RefreshCcwIcon, RegexIcon, ReplaceIcon, RocketIcon, RotateCcwIcon, RssIcon, SQLIcon, ScaleIcon, ScanSearchIcon, SchemeIcon, SearchIcon, SendHorizontalIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShareIcon, ShieldIcon, ShieldUserIcon, ShoppingCartIcon, SigmaIcon, SnippetsIcon, SparklesIcon, SplinePointerIcon, SproutIcon, SquareDashedBottomCodeIcon, SquareTerminalIcon, StarIcon, SubPIcon, T3PIcon, TabletsIcon, TerminalIcon, TestIcon, Trash2Icon, TwitterIcon, TxtIcon, UsbIcon, UserRoundCheckIcon, Wand2Icon, WorkflowIcon, XIcon, XMLIcon, YamlIcon, ZapIcon } from '../icons/index.mjs';
3
3
  export { createSiteIcon } from './site-icon.mjs';
4
4
  export { GoogleAnalyticsScript } from './script/google-analytics-script.mjs';
5
5
  export { MicrosoftClarityScript } from './script/microsoft-clarity-script.mjs';
@@ -7,6 +7,10 @@ export declare const ArrowLeftIcon: import("@base-ui/components/icon-factory").S
7
7
  export declare const ArrowRightIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
8
8
  export declare const ArrowUpIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
9
9
  export declare const BabyIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
10
+ export declare const BadgeInfoIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
11
+ export declare const BadgeAlertIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
12
+ export declare const BadgeCheckIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
13
+ export declare const BadgeXIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
10
14
  export declare const BellIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
11
15
  export declare const BinaryIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
12
16
  export declare const BlocksIcon: import("@base-ui/components/icon-factory").StyledLucideIconComponent;
@@ -36,12 +36,16 @@ var lucideReact = require('lucide-react');
36
36
  var globalIcon = require('../components/global-icon.js');
37
37
  var siteIcon = require('../components/site-icon.js');
38
38
 
39
- const AlbumIcon = iconFactory.createGlobalLucideIcon(lucideReact.AlbumIcon, 'AlbumIcon');
39
+ const AlbumIcon = iconFactory.createGlobalLucideIcon(lucideReact.Album, 'AlbumIcon');
40
40
  const AlignHorizontalJustifyEndIcon = iconFactory.createGlobalLucideIcon(lucideReact.AlignHorizontalJustifyEnd, 'AlignHorizontalJustifyEndIcon');
41
41
  const ArrowLeftIcon = iconFactory.createGlobalLucideIcon(lucideReact.ArrowLeft, 'ArrowLeftIcon');
42
42
  const ArrowRightIcon = iconFactory.createGlobalLucideIcon(lucideReact.ArrowRight, 'ArrowRightIcon');
43
43
  const ArrowUpIcon = iconFactory.createGlobalLucideIcon(lucideReact.ArrowUp, 'ArrowUpIcon');
44
44
  const BabyIcon = iconFactory.createGlobalLucideIcon(lucideReact.Baby, 'BabyIcon');
45
+ const BadgeInfoIcon = iconFactory.createGlobalLucideIcon(lucideReact.BadgeInfo, 'BadgeInfoIcon');
46
+ const BadgeAlertIcon = iconFactory.createGlobalLucideIcon(lucideReact.BadgeAlert, 'BadgeAlertIcon');
47
+ const BadgeCheckIcon = iconFactory.createGlobalLucideIcon(lucideReact.BadgeCheck, 'BadgeCheckIcon');
48
+ const BadgeXIcon = iconFactory.createGlobalLucideIcon(lucideReact.BadgeX, 'BadgeXIcon');
45
49
  const BellIcon = iconFactory.createGlobalLucideIcon(lucideReact.Bell, 'BellIcon');
46
50
  const BinaryIcon = iconFactory.createGlobalLucideIcon(lucideReact.Binary, 'BinaryIcon');
47
51
  const BlocksIcon = iconFactory.createGlobalLucideIcon(lucideReact.Blocks, 'BlocksIcon');
@@ -85,7 +89,7 @@ const ChevronRightIcon = iconFactory.createGlobalLucideIcon(lucideReact.ChevronR
85
89
  const ChevronUpIcon = iconFactory.createGlobalLucideIcon(lucideReact.ChevronUp, 'ChevronUpIcon');
86
90
  const CoffeeIcon = iconFactory.createGlobalLucideIcon(lucideReact.Coffee, 'CoffeeIcon');
87
91
  const CoinsIcon = iconFactory.createGlobalLucideIcon(lucideReact.Coins, 'CoinsIcon');
88
- const ComponentIcon = iconFactory.createGlobalLucideIcon(lucideReact.ComponentIcon, 'ComponentIcon');
92
+ const ComponentIcon = iconFactory.createGlobalLucideIcon(lucideReact.Component, 'ComponentIcon');
89
93
  const CopyIcon = iconFactory.createGlobalLucideIcon(lucideReact.Copy, 'CopyIcon');
90
94
  const CopyCheckIcon = iconFactory.createGlobalLucideIcon(lucideReact.CopyCheck, 'CopyCheckIcon');
91
95
  const CpuIcon = iconFactory.createGlobalLucideIcon(lucideReact.Cpu, 'CpuIcon');
@@ -131,7 +135,7 @@ const LandPlotIcon = iconFactory.createGlobalLucideIcon(lucideReact.LandPlot, 'L
131
135
  const LanguagesIcon = iconFactory.createGlobalLucideIcon(lucideReact.Languages, 'LanguagesIcon');
132
136
  const LayoutIcon = iconFactory.createGlobalLucideIcon(lucideReact.Layout, 'LayoutIcon');
133
137
  const LayoutTemplateIcon = iconFactory.createGlobalLucideIcon(lucideReact.LayoutTemplate, 'LayoutTemplateIcon');
134
- const LibraryIcon = iconFactory.createGlobalLucideIcon(lucideReact.LibraryIcon, 'LibraryIcon');
138
+ const LibraryIcon = iconFactory.createGlobalLucideIcon(lucideReact.Library, 'LibraryIcon');
135
139
  const LightbulbIcon = iconFactory.createGlobalLucideIcon(lucideReact.Lightbulb, 'LightbulbIcon');
136
140
  const LinkIcon = iconFactory.createGlobalLucideIcon(lucideReact.Link, 'LinkIcon');
137
141
  const ListTodoIcon = iconFactory.createGlobalLucideIcon(lucideReact.ListTodo, 'ListTodoIcon');
@@ -237,7 +241,11 @@ exports.ArrowRightIcon = ArrowRightIcon;
237
241
  exports.ArrowUpIcon = ArrowUpIcon;
238
242
  exports.BTCIcon = BTCIcon;
239
243
  exports.BabyIcon = BabyIcon;
244
+ exports.BadgeAlertIcon = BadgeAlertIcon;
245
+ exports.BadgeCheckIcon = BadgeCheckIcon;
246
+ exports.BadgeInfoIcon = BadgeInfoIcon;
240
247
  exports.BadgeQuestionMarkIcon = BadgeQuestionMarkIcon;
248
+ exports.BadgeXIcon = BadgeXIcon;
241
249
  exports.BellIcon = BellIcon;
242
250
  exports.BinaryIcon = BinaryIcon;
243
251
  exports.BlocksIcon = BlocksIcon;
@@ -31,16 +31,20 @@ import XMLIcon$1 from '../assets/xml.mjs';
31
31
  import YamlIcon$1 from '../assets/yaml.mjs';
32
32
  import { createGlobalLucideIcon, createGlobalIcon } from '../components/icon-factory.mjs';
33
33
  export { GlobalAccentIcon } from '../components/icon-factory.mjs';
34
- import { Loader2, ChevronRight, Check, Circle, AlbumIcon as AlbumIcon$1, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Baby, Bell, Binary, Blocks, BookX, BookOpen, BookAudio, BookA, BookCheck, BookDown, BookHeadphones, Bookmark, BookmarkCheck, BookmarkMinus, BookmarkPlus, BookmarkX, BotMessageSquare, Brain, BrainCircuit, Briefcase, BringToFront, BrushCleaning, Building2, Bug, BugOff, BadgeQuestionMark, Car, ChartColumnStacked, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, CircleArrowDown, CircleArrowUp, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronUp, Coffee, Coins, ComponentIcon as ComponentIcon$1, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Ellipsis, EllipsisVertical, Eye, EyeOff, ExternalLink, Facebook, Shield, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, History, HousePlus, Infinity, Info, ImageDown, ImageOff, ImageUp, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon as LibraryIcon$1, Lightbulb, Link, ListTodo, LogIn, LogOut, Mail, MessageCircleMore, MessageCircleCode, MessageSquareDiff, Music4, MoreHorizontal, MousePointerClick, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, Pin, PinOff, Plus, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, RotateCcw, Rss, Scale, ScanSearch, Search, Send, SendHorizontal, Settings, Settings2, Share, Sigma, ShieldUser, ShoppingCart, Sprout, SquareDashedBottomCode, SquareTerminal, Server, SplinePointer, Sparkles, Star, Tablets, Terminal, Trash2, Twitter, Usb, UserRoundCheck, Wand2, Workflow, X, Zap } from 'lucide-react';
34
+ import { Loader2, ChevronRight, Check, Circle, Album, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Baby, BadgeInfo, BadgeAlert, BadgeCheck, BadgeX, Bell, Binary, Blocks, BookX, BookOpen, BookAudio, BookA, BookCheck, BookDown, BookHeadphones, Bookmark, BookmarkCheck, BookmarkMinus, BookmarkPlus, BookmarkX, BotMessageSquare, Brain, BrainCircuit, Briefcase, BringToFront, BrushCleaning, Building2, Bug, BugOff, BadgeQuestionMark, Car, ChartColumnStacked, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, CircleArrowDown, CircleArrowUp, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronUp, Coffee, Coins, Component, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Ellipsis, EllipsisVertical, Eye, EyeOff, ExternalLink, Facebook, Shield, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, History, HousePlus, Infinity, Info, ImageDown, ImageOff, ImageUp, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, Library, Lightbulb, Link, ListTodo, LogIn, LogOut, Mail, MessageCircleMore, MessageCircleCode, MessageSquareDiff, Music4, MoreHorizontal, MousePointerClick, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, Pin, PinOff, Plus, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, RotateCcw, Rss, Scale, ScanSearch, Search, Send, SendHorizontal, Settings, Settings2, Share, Sigma, ShieldUser, ShoppingCart, Sprout, SquareDashedBottomCode, SquareTerminal, Server, SplinePointer, Sparkles, Star, Tablets, Terminal, Trash2, Twitter, Usb, UserRoundCheck, Wand2, Workflow, X, Zap } from 'lucide-react';
35
35
  export { getGlobalIcon, getIconElement, globalLucideIcons } from '../components/global-icon.mjs';
36
36
  export { createSiteIcon } from '../components/site-icon.mjs';
37
37
 
38
- const AlbumIcon = createGlobalLucideIcon(AlbumIcon$1, 'AlbumIcon');
38
+ const AlbumIcon = createGlobalLucideIcon(Album, 'AlbumIcon');
39
39
  const AlignHorizontalJustifyEndIcon = createGlobalLucideIcon(AlignHorizontalJustifyEnd, 'AlignHorizontalJustifyEndIcon');
40
40
  const ArrowLeftIcon = createGlobalLucideIcon(ArrowLeft, 'ArrowLeftIcon');
41
41
  const ArrowRightIcon = createGlobalLucideIcon(ArrowRight, 'ArrowRightIcon');
42
42
  const ArrowUpIcon = createGlobalLucideIcon(ArrowUp, 'ArrowUpIcon');
43
43
  const BabyIcon = createGlobalLucideIcon(Baby, 'BabyIcon');
44
+ const BadgeInfoIcon = createGlobalLucideIcon(BadgeInfo, 'BadgeInfoIcon');
45
+ const BadgeAlertIcon = createGlobalLucideIcon(BadgeAlert, 'BadgeAlertIcon');
46
+ const BadgeCheckIcon = createGlobalLucideIcon(BadgeCheck, 'BadgeCheckIcon');
47
+ const BadgeXIcon = createGlobalLucideIcon(BadgeX, 'BadgeXIcon');
44
48
  const BellIcon = createGlobalLucideIcon(Bell, 'BellIcon');
45
49
  const BinaryIcon = createGlobalLucideIcon(Binary, 'BinaryIcon');
46
50
  const BlocksIcon = createGlobalLucideIcon(Blocks, 'BlocksIcon');
@@ -84,7 +88,7 @@ const ChevronRightIcon = createGlobalLucideIcon(ChevronRight, 'ChevronRightIcon'
84
88
  const ChevronUpIcon = createGlobalLucideIcon(ChevronUp, 'ChevronUpIcon');
85
89
  const CoffeeIcon = createGlobalLucideIcon(Coffee, 'CoffeeIcon');
86
90
  const CoinsIcon = createGlobalLucideIcon(Coins, 'CoinsIcon');
87
- const ComponentIcon = createGlobalLucideIcon(ComponentIcon$1, 'ComponentIcon');
91
+ const ComponentIcon = createGlobalLucideIcon(Component, 'ComponentIcon');
88
92
  const CopyIcon = createGlobalLucideIcon(Copy, 'CopyIcon');
89
93
  const CopyCheckIcon = createGlobalLucideIcon(CopyCheck, 'CopyCheckIcon');
90
94
  const CpuIcon = createGlobalLucideIcon(Cpu, 'CpuIcon');
@@ -130,7 +134,7 @@ const LandPlotIcon = createGlobalLucideIcon(LandPlot, 'LandPlotIcon');
130
134
  const LanguagesIcon = createGlobalLucideIcon(Languages, 'LanguagesIcon');
131
135
  const LayoutIcon = createGlobalLucideIcon(Layout, 'LayoutIcon');
132
136
  const LayoutTemplateIcon = createGlobalLucideIcon(LayoutTemplate, 'LayoutTemplateIcon');
133
- const LibraryIcon = createGlobalLucideIcon(LibraryIcon$1, 'LibraryIcon');
137
+ const LibraryIcon = createGlobalLucideIcon(Library, 'LibraryIcon');
134
138
  const LightbulbIcon = createGlobalLucideIcon(Lightbulb, 'LightbulbIcon');
135
139
  const LinkIcon = createGlobalLucideIcon(Link, 'LinkIcon');
136
140
  const ListTodoIcon = createGlobalLucideIcon(ListTodo, 'ListTodoIcon');
@@ -222,4 +226,4 @@ const FAQIcon = createGlobalIcon(FAQIcon$1, 'FAQIcon');
222
226
  const FAQBIcon = createGlobalIcon(FAQBIcon$1, 'FAQBIcon');
223
227
  const FAQSIcon = createGlobalIcon(FAQSIcon$1, 'FAQSIcon');
224
228
 
225
- export { AlbumIcon, AlignHorizontalJustifyEndIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BTCIcon, BabyIcon, BadgeQuestionMarkIcon, BellIcon, BinaryIcon, BlocksIcon, BookAIcon, BookAudioIcon, BookCheckIcon, BookDownIcon, BookHeadphonesIcon, BookOpenIcon, BookXIcon, BookmarkCheckIcon, BookmarkIcon, BookmarkMinusIcon, BookmarkPlusIcon, BookmarkXIcon, BotMessageSquareIcon, BrainCircuitIcon, BrainIcon, BriefcaseIcon, BringToFrontIcon, BrushCleaningIcon, BugIcon, BugOffIcon, Building2Icon, CSSIcon, CSVIcon, CarIcon, ChartColumnStackedIcon, CheckCheckIcon, CheckIcon, CheckLineIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleAlertIcon, CircleArrowDownIcon, CircleArrowUpIcon, CircleIcon, CircleQuestionMarkIcon, CircleSmallIcon, CircleStopIcon, ClerkIcon, CoffeeIcon, CoinsIcon, ComponentIcon, CopyCheckIcon, CopyIcon, CpuIcon, D8Icon, DPAIcon, DatabaseIcon, DatabaseZapIcon, DiffIcon, DotIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FAQBIcon, FAQIcon, FAQSIcon, FacebookIcon, FileDownIcon, FileIcon, FileInputIcon, FileLock2Icon, FileUpIcon, FingerprintIcon, FolderIcon, FolderOpenIcon, GemIcon, GiftIcon, GitHubIcon, GitMergeIcon, GitPullRequestArrowIcon, GlobeIcon, GlobeLockIcon, GripIcon, GripVerticalIcon, HandHeartIcon, HandshakeIcon, HighlighterIcon, HistoryIcon, HousePlusIcon, HtmlIcon, HttpIcon, ImageDownIcon, ImageOffIcon, ImageUpIcon, InfinityIcon, InfoIcon, ItermIcon, JavaIcon, JsonIcon, KeyboardIcon, LandPlotIcon, LanguagesIcon, LastUpdatedIcon, LayoutIcon, LayoutTemplateIcon, LibraryIcon, LightbulbIcon, LinkIcon, ListTodoIcon, Loader2Icon, LogIcon, LogInIcon, LogOutIcon, MACIcon, MDXIcon, MailIcon, MarkdownIcon, MessageCircleCodeIcon, MessageCircleMoreIcon, MessageSquareDiffIcon, MmdIcon, MoreHorizontalIcon, MousePointerClickIcon, Music4Icon, NotepadTextIcon, PaletteIcon, PanelLeftIcon, PanelsTopLeftIcon, PawPrintIcon, PencilIcon, PiIcon, PinIcon, PinOffIcon, PlusIcon, QrCodeIcon, ReceiptTextIcon, RefreshCcwIcon, RegexIcon, ReplaceIcon, RocketIcon, RotateCcwIcon, RssIcon, SQLIcon, ScaleIcon, ScanSearchIcon, SchemeIcon, SearchIcon, SendHorizontalIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShareIcon, ShieldIcon, ShieldUserIcon, ShoppingCartIcon, SigmaIcon, SnippetsIcon, SparklesIcon, SplinePointerIcon, SproutIcon, SquareDashedBottomCodeIcon, SquareTerminalIcon, StarIcon, SubPIcon, T3PIcon, TabletsIcon, TerminalIcon, TestIcon, Trash2Icon, TwitterIcon, TxtIcon, UsbIcon, UserRoundCheckIcon, Wand2Icon, WorkflowIcon, XIcon, XMLIcon, YamlIcon, ZapIcon, createGlobalIcon, createGlobalLucideIcon };
229
+ export { AlbumIcon, AlignHorizontalJustifyEndIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, BTCIcon, BabyIcon, BadgeAlertIcon, BadgeCheckIcon, BadgeInfoIcon, BadgeQuestionMarkIcon, BadgeXIcon, BellIcon, BinaryIcon, BlocksIcon, BookAIcon, BookAudioIcon, BookCheckIcon, BookDownIcon, BookHeadphonesIcon, BookOpenIcon, BookXIcon, BookmarkCheckIcon, BookmarkIcon, BookmarkMinusIcon, BookmarkPlusIcon, BookmarkXIcon, BotMessageSquareIcon, BrainCircuitIcon, BrainIcon, BriefcaseIcon, BringToFrontIcon, BrushCleaningIcon, BugIcon, BugOffIcon, Building2Icon, CSSIcon, CSVIcon, CarIcon, ChartColumnStackedIcon, CheckCheckIcon, CheckIcon, CheckLineIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleAlertIcon, CircleArrowDownIcon, CircleArrowUpIcon, CircleIcon, CircleQuestionMarkIcon, CircleSmallIcon, CircleStopIcon, ClerkIcon, CoffeeIcon, CoinsIcon, ComponentIcon, CopyCheckIcon, CopyIcon, CpuIcon, D8Icon, DPAIcon, DatabaseIcon, DatabaseZapIcon, DiffIcon, DotIcon, DownloadIcon, EllipsisIcon, EllipsisVerticalIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FAQBIcon, FAQIcon, FAQSIcon, FacebookIcon, FileDownIcon, FileIcon, FileInputIcon, FileLock2Icon, FileUpIcon, FingerprintIcon, FolderIcon, FolderOpenIcon, GemIcon, GiftIcon, GitHubIcon, GitMergeIcon, GitPullRequestArrowIcon, GlobeIcon, GlobeLockIcon, GripIcon, GripVerticalIcon, HandHeartIcon, HandshakeIcon, HighlighterIcon, HistoryIcon, HousePlusIcon, HtmlIcon, HttpIcon, ImageDownIcon, ImageOffIcon, ImageUpIcon, InfinityIcon, InfoIcon, ItermIcon, JavaIcon, JsonIcon, KeyboardIcon, LandPlotIcon, LanguagesIcon, LastUpdatedIcon, LayoutIcon, LayoutTemplateIcon, LibraryIcon, LightbulbIcon, LinkIcon, ListTodoIcon, Loader2Icon, LogIcon, LogInIcon, LogOutIcon, MACIcon, MDXIcon, MailIcon, MarkdownIcon, MessageCircleCodeIcon, MessageCircleMoreIcon, MessageSquareDiffIcon, MmdIcon, MoreHorizontalIcon, MousePointerClickIcon, Music4Icon, NotepadTextIcon, PaletteIcon, PanelLeftIcon, PanelsTopLeftIcon, PawPrintIcon, PencilIcon, PiIcon, PinIcon, PinOffIcon, PlusIcon, QrCodeIcon, ReceiptTextIcon, RefreshCcwIcon, RegexIcon, ReplaceIcon, RocketIcon, RotateCcwIcon, RssIcon, SQLIcon, ScaleIcon, ScanSearchIcon, SchemeIcon, SearchIcon, SendHorizontalIcon, SendIcon, ServerIcon, Settings2Icon, SettingsIcon, ShareIcon, ShieldIcon, ShieldUserIcon, ShoppingCartIcon, SigmaIcon, SnippetsIcon, SparklesIcon, SplinePointerIcon, SproutIcon, SquareDashedBottomCodeIcon, SquareTerminalIcon, StarIcon, SubPIcon, T3PIcon, TabletsIcon, TerminalIcon, TestIcon, Trash2Icon, TwitterIcon, TxtIcon, UsbIcon, UserRoundCheckIcon, Wand2Icon, WorkflowIcon, XIcon, XMLIcon, YamlIcon, ZapIcon, createGlobalIcon, createGlobalLucideIcon };
@@ -4,7 +4,11 @@ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
4
  declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
5
  declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
6
  declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
- declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ interface AlertDialogContentProps extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> {
8
+ overlayClassName?: string;
9
+ onOverlayClick?: React.MouseEventHandler<HTMLDivElement>;
10
+ }
11
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<AlertDialogContentProps & React.RefAttributes<HTMLDivElement>>;
8
12
  declare const AlertDialogHeader: {
9
13
  ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
14
  displayName: string;
@@ -37,8 +37,8 @@ const AlertDialogOverlay = React__namespace.forwardRef((_a, ref) => {
37
37
  });
38
38
  AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
39
39
  const AlertDialogContent = React__namespace.forwardRef((_a, ref) => {
40
- var { className } = _a, props = tslib.__rest(_a, ["className"]);
41
- return (jsxRuntime.jsxs(AlertDialogPortal, { children: [jsxRuntime.jsx(AlertDialogOverlay, {}), jsxRuntime.jsx(AlertDialogPrimitive__namespace.Content, Object.assign({ ref: ref, className: utils.cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className) }, props))] }));
40
+ var { className, overlayClassName, onOverlayClick } = _a, props = tslib.__rest(_a, ["className", "overlayClassName", "onOverlayClick"]);
41
+ return (jsxRuntime.jsxs(AlertDialogPortal, { children: [jsxRuntime.jsx(AlertDialogOverlay, { className: overlayClassName, onClick: onOverlayClick }), jsxRuntime.jsx(AlertDialogPrimitive__namespace.Content, Object.assign({ ref: ref, className: utils.cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className) }, props))] }));
42
42
  });
43
43
  AlertDialogContent.displayName = AlertDialogPrimitive__namespace.Content.displayName;
44
44
  const AlertDialogHeader = (_a) => {
@@ -15,8 +15,8 @@ const AlertDialogOverlay = React.forwardRef((_a, ref) => {
15
15
  });
16
16
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
17
17
  const AlertDialogContent = React.forwardRef((_a, ref) => {
18
- var { className } = _a, props = __rest(_a, ["className"]);
19
- return (jsxs(AlertDialogPortal, { children: [jsx(AlertDialogOverlay, {}), jsx(AlertDialogPrimitive.Content, Object.assign({ ref: ref, className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className) }, props))] }));
18
+ var { className, overlayClassName, onOverlayClick } = _a, props = __rest(_a, ["className", "overlayClassName", "onOverlayClick"]);
19
+ return (jsxs(AlertDialogPortal, { children: [jsx(AlertDialogOverlay, { className: overlayClassName, onClick: onOverlayClick }), jsx(AlertDialogPrimitive.Content, Object.assign({ ref: ref, className: cn("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg", className) }, props))] }));
20
20
  });
21
21
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
22
22
  const AlertDialogHeader = (_a) => {
@@ -25,14 +25,6 @@ function _interopNamespaceDefault(e) {
25
25
 
26
26
  var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
27
27
 
28
- /**
29
- * @license
30
- * MIT License
31
- * Copyright (c) 2026 D8ger
32
- *
33
- * This source code is licensed under the MIT license found in the
34
- * LICENSE file in the root directory of this source tree.
35
- */
36
28
  const LanguageButton = React__namespace.forwardRef((_a, ref) => {
37
29
  var { className, variant = "default", size = "default" } = _a, props = tslib.__rest(_a, ["className", "variant", "size"]);
38
30
  return (jsxRuntime.jsx("button", Object.assign({ className: utils.cn("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background", {
@@ -4,14 +4,6 @@ import { jsx } from 'react/jsx-runtime';
4
4
  import * as React from 'react';
5
5
  import { cn } from '@windrun-huaiin/lib/utils';
6
6
 
7
- /**
8
- * @license
9
- * MIT License
10
- * Copyright (c) 2026 D8ger
11
- *
12
- * This source code is licensed under the MIT license found in the
13
- * LICENSE file in the root directory of this source tree.
14
- */
15
7
  const LanguageButton = React.forwardRef((_a, ref) => {
16
8
  var { className, variant = "default", size = "default" } = _a, props = __rest(_a, ["className", "variant", "size"]);
17
9
  return (jsx("button", Object.assign({ className: cn("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/base-ui",
3
- "version": "20.0.0",
3
+ "version": "21.0.0",
4
4
  "description": "Base UI components for windrun-huaiin projects",
5
5
  "type": "module",
6
6
  "exports": {
@@ -54,7 +54,7 @@
54
54
  "class-variance-authority": "^0.7.1",
55
55
  "lucide-react": "^0.577.0",
56
56
  "tslib": "^2.8.1",
57
- "@windrun-huaiin/lib": "^20.0.0"
57
+ "@windrun-huaiin/lib": "^21.0.0"
58
58
  },
59
59
  "peerDependencies": {
60
60
  "clsx": "^2.1.1",
@@ -65,6 +65,24 @@ export const globalLucideIcons = {
65
65
  // Use a safe fallback that we know exists in both Lucide and custom icons
66
66
  const DEFAULT_FALLBACK_ICON = 'Sparkles' as keyof typeof globalLucideIcons;
67
67
 
68
+ function resolveIconKey(iconKey: string): keyof typeof globalLucideIcons | undefined {
69
+ const trimmedKey = iconKey.trim();
70
+ if (trimmedKey === '') return undefined;
71
+
72
+ const candidates = [
73
+ trimmedKey,
74
+ trimmedKey.endsWith('Icon') ? trimmedKey.slice(0, -4) : `${trimmedKey}Icon`,
75
+ ];
76
+
77
+ for (const candidate of candidates) {
78
+ if (candidate in globalLucideIcons) {
79
+ return candidate as keyof typeof globalLucideIcons;
80
+ }
81
+ }
82
+
83
+ return undefined;
84
+ }
85
+
68
86
  /**
69
87
  * use iconKey to load icon safely
70
88
  * @param iconKey translation or configuration
@@ -89,7 +107,8 @@ export function getGlobalIcon(
89
107
  return globalLucideIcons[DEFAULT_FALLBACK_ICON] as IconComponent;
90
108
  }
91
109
 
92
- const Icon = globalLucideIcons[iconKey as keyof typeof globalLucideIcons];
110
+ const resolvedIconKey = resolveIconKey(iconKey);
111
+ const Icon = resolvedIconKey ? globalLucideIcons[resolvedIconKey] : undefined;
93
112
  if (!Icon) {
94
113
  if (typeof process !== 'undefined' && process.env?.NODE_ENV !== 'production') {
95
114
  // only show in dev|test
@@ -1,12 +1,3 @@
1
- /**
2
- * @license
3
- * MIT License
4
- * Copyright (c) 2026 D8ger
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
-
10
1
  'use client'
11
2
 
12
3
  import { GlobeIcon } from '@base-ui/icons'
@@ -5,12 +5,17 @@
5
5
  * in globalLucideIcons.
6
6
  */
7
7
  export {
8
- AlbumIcon,
8
+ Album,
9
9
  AlignHorizontalJustifyEnd,
10
10
  ArrowLeft,
11
11
  ArrowRight,
12
12
  ArrowUp,
13
13
  Baby,
14
+ BadgeInfo,
15
+ BadgeAlert,
16
+ BadgeCheck,
17
+ BadgeX,
18
+ BadgeQuestionMark,
14
19
  Bell,
15
20
  Binary,
16
21
  Blocks,
@@ -35,7 +40,6 @@ export {
35
40
  Building2,
36
41
  Bug,
37
42
  BugOff,
38
- BadgeQuestionMark,
39
43
  Car,
40
44
  ChartColumnStacked,
41
45
  Circle,
@@ -54,7 +58,7 @@ export {
54
58
  ChevronUp,
55
59
  Coffee,
56
60
  Coins,
57
- ComponentIcon,
61
+ Component,
58
62
  Copy,
59
63
  CopyCheck,
60
64
  Cpu,
@@ -100,7 +104,7 @@ export {
100
104
  Languages,
101
105
  Layout,
102
106
  LayoutTemplate,
103
- LibraryIcon,
107
+ Library,
104
108
  Lightbulb,
105
109
  Link,
106
110
  ListTodo,
@@ -31,13 +31,17 @@ import RawXMLIcon from '@base-ui/assets/xml';
31
31
  import RawYamlIcon from '@base-ui/assets/yaml';
32
32
  import { createGlobalIcon, createGlobalLucideIcon } from '@base-ui/components/icon-factory';
33
33
  import {
34
- AlbumIcon as RawAlbumIcon,
34
+ Album as RawAlbumIcon,
35
35
  AlignHorizontalJustifyEnd as RawAlignHorizontalJustifyEnd,
36
36
  ArrowLeft as RawArrowLeft,
37
37
  ArrowRight as RawArrowRight,
38
38
  ArrowUp as RawArrowUp,
39
39
  Baby as RawBaby,
40
+ BadgeAlert as RawBadgeAlert,
41
+ BadgeCheck as RawBadgeCheck,
42
+ BadgeInfo as RawBadgeInfo,
40
43
  BadgeQuestionMark as RawBadgeQuestionMark,
44
+ BadgeX as RawBadgeX,
41
45
  Bell as RawBell,
42
46
  Binary as RawBinary,
43
47
  Blocks as RawBlocks,
@@ -80,7 +84,7 @@ import {
80
84
  CircleStop as RawCircleStop,
81
85
  Coffee as RawCoffee,
82
86
  Coins as RawCoins,
83
- ComponentIcon as RawComponentIcon,
87
+ Component as RawComponentIcon,
84
88
  Copy as RawCopy,
85
89
  CopyCheck as RawCopyCheck,
86
90
  Cpu as RawCpu,
@@ -125,7 +129,7 @@ import {
125
129
  Languages as RawLanguages,
126
130
  Layout as RawLayout,
127
131
  LayoutTemplate as RawLayoutTemplate,
128
- LibraryIcon as RawLibraryIcon,
132
+ Library as RawLibraryIcon,
129
133
  Lightbulb as RawLightbulb,
130
134
  Link as RawLink,
131
135
  ListTodo as RawListTodo,
@@ -198,6 +202,10 @@ export const ArrowLeftIcon = createGlobalLucideIcon(RawArrowLeft, 'ArrowLeftIcon
198
202
  export const ArrowRightIcon = createGlobalLucideIcon(RawArrowRight, 'ArrowRightIcon');
199
203
  export const ArrowUpIcon = createGlobalLucideIcon(RawArrowUp, 'ArrowUpIcon');
200
204
  export const BabyIcon = createGlobalLucideIcon(RawBaby, 'BabyIcon');
205
+ export const BadgeInfoIcon = createGlobalLucideIcon(RawBadgeInfo, 'BadgeInfoIcon');
206
+ export const BadgeAlertIcon = createGlobalLucideIcon(RawBadgeAlert, 'BadgeAlertIcon');
207
+ export const BadgeCheckIcon = createGlobalLucideIcon(RawBadgeCheck, 'BadgeCheckIcon');
208
+ export const BadgeXIcon = createGlobalLucideIcon(RawBadgeX, 'BadgeXIcon');
201
209
  export const BellIcon = createGlobalLucideIcon(RawBell, 'BellIcon');
202
210
  export const BinaryIcon = createGlobalLucideIcon(RawBinary, 'BinaryIcon');
203
211
  export const BlocksIcon = createGlobalLucideIcon(RawBlocks, 'BlocksIcon');
@@ -27,12 +27,18 @@ const AlertDialogOverlay = React.forwardRef<
27
27
  ))
28
28
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName
29
29
 
30
+ interface AlertDialogContentProps
31
+ extends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> {
32
+ overlayClassName?: string
33
+ onOverlayClick?: React.MouseEventHandler<HTMLDivElement>
34
+ }
35
+
30
36
  const AlertDialogContent = React.forwardRef<
31
37
  React.ElementRef<typeof AlertDialogPrimitive.Content>,
32
- React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content>
33
- >(({ className, ...props }, ref) => (
38
+ AlertDialogContentProps
39
+ >(({ className, overlayClassName, onOverlayClick, ...props }, ref) => (
34
40
  <AlertDialogPortal>
35
- <AlertDialogOverlay />
41
+ <AlertDialogOverlay className={overlayClassName} onClick={onOverlayClick} />
36
42
  <AlertDialogPrimitive.Content
37
43
  ref={ref}
38
44
  className={cn(
@@ -1,11 +1,3 @@
1
- /**
2
- * @license
3
- * MIT License
4
- * Copyright (c) 2026 D8ger
5
- *
6
- * This source code is licensed under the MIT license found in the
7
- * LICENSE file in the root directory of this source tree.
8
- */
9
1
  "use client";
10
2
  import * as React from "react"
11
3
  import { cn } from "@windrun-huaiin/lib/utils"