@windrun-huaiin/base-ui 14.0.2 → 15.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.
@@ -11,7 +11,7 @@ const MermaidIcon = React.forwardRef(
11
11
  // Memmaid need special size for good view
12
12
  (_a, ref) => {
13
13
  var { color = "currentColor", className } = _a, props = tslib_es6.__rest(_a, ["color", "className"]);
14
- return (jsxRuntime.jsx("svg", Object.assign({ ref: ref, role: "img", className: className }, props, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { d: "M23.99 2.115A12.223 12.223 0 0 0 12 10.149 12.223 12.223 0 0 0 .01 2.115a12.23 12.23 0 0 0 5.32 10.604 6.562 6.562 0 0 1 2.845 5.423v3.754h7.65v-3.754a6.561 6.561 0 0 1 2.844-5.423 12.223 12.223 0 0 0 5.32-10.604Z", fill: "none", stroke: themeUtil.themeSvgIconColor, strokeWidth: "2" }) })));
14
+ return (jsxRuntime.jsx("svg", Object.assign({ ref: ref, role: "img", className: className }, props, { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", children: jsxRuntime.jsx("path", { fill: themeUtil.themeSvgIconColor, strokeWidth: "2", fillRule: "evenodd", clipRule: "evenodd", d: "M38.3865 12.0135C35.2747 11.879 32.2016 12.7511 29.6141 14.5031C27.0267 16.2551 25.0599 18.7955 23.9998 21.7549C22.9396 18.7955 20.9728 16.2551 18.3854 14.5031C15.7979 12.7511 12.7248 11.879 9.61304 12.0135C9.50856 14.5283 10.0398 17.0285 11.1567 19.2782C12.2737 21.528 13.9394 23.4531 15.9967 24.872C17.0522 25.6045 17.9148 26.5863 18.5096 27.7321C19.1044 28.878 19.4135 30.1532 19.41 31.4471V36H28.5904V31.4471C28.5867 30.1532 28.8956 28.8781 29.4903 27.7322C30.085 26.5864 30.9474 25.6046 32.0028 24.872C34.0607 23.4537 35.7268 21.5286 36.8438 19.2788C37.9608 17.0289 38.4917 14.5284 38.3865 12.0135ZM16.5185 31.4471C16.5228 30.6289 16.3292 29.822 15.9544 29.0967C15.5797 28.3713 15.0353 27.7495 14.3685 27.2854C13.4622 26.6605 12.6158 25.9514 11.8401 25.1674C11.0015 24.3182 10.2508 23.3848 9.59975 22.3816V36H16.5185V31.4471ZM32.0451 29.0967C31.6703 29.822 31.4767 30.6289 31.481 31.4471V36H38.3997V22.3816C37.7487 23.3848 36.998 24.3182 36.1594 25.1674C35.3837 25.9514 34.5373 26.6605 33.6311 27.2854C32.9642 27.7495 32.4198 28.3713 32.0451 29.0967Z" }) })));
15
15
  });
16
16
  MermaidIcon.displayName = "Mmd";
17
17
 
@@ -7,7 +7,7 @@ const MermaidIcon = React__default.forwardRef(
7
7
  // Memmaid need special size for good view
8
8
  (_a, ref) => {
9
9
  var { color = "currentColor", className } = _a, props = __rest(_a, ["color", "className"]);
10
- return (jsx("svg", Object.assign({ ref: ref, role: "img", className: className }, props, { viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { d: "M23.99 2.115A12.223 12.223 0 0 0 12 10.149 12.223 12.223 0 0 0 .01 2.115a12.23 12.23 0 0 0 5.32 10.604 6.562 6.562 0 0 1 2.845 5.423v3.754h7.65v-3.754a6.561 6.561 0 0 1 2.844-5.423 12.223 12.223 0 0 0 5.32-10.604Z", fill: "none", stroke: themeSvgIconColor, strokeWidth: "2" }) })));
10
+ return (jsx("svg", Object.assign({ ref: ref, role: "img", className: className }, props, { viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { fill: themeSvgIconColor, strokeWidth: "2", fillRule: "evenodd", clipRule: "evenodd", d: "M38.3865 12.0135C35.2747 11.879 32.2016 12.7511 29.6141 14.5031C27.0267 16.2551 25.0599 18.7955 23.9998 21.7549C22.9396 18.7955 20.9728 16.2551 18.3854 14.5031C15.7979 12.7511 12.7248 11.879 9.61304 12.0135C9.50856 14.5283 10.0398 17.0285 11.1567 19.2782C12.2737 21.528 13.9394 23.4531 15.9967 24.872C17.0522 25.6045 17.9148 26.5863 18.5096 27.7321C19.1044 28.878 19.4135 30.1532 19.41 31.4471V36H28.5904V31.4471C28.5867 30.1532 28.8956 28.8781 29.4903 27.7322C30.085 26.5864 30.9474 25.6046 32.0028 24.872C34.0607 23.4537 35.7268 21.5286 36.8438 19.2788C37.9608 17.0289 38.4917 14.5284 38.3865 12.0135ZM16.5185 31.4471C16.5228 30.6289 16.3292 29.822 15.9544 29.0967C15.5797 28.3713 15.0353 27.7495 14.3685 27.2854C13.4622 26.6605 12.6158 25.9514 11.8401 25.1674C11.0015 24.3182 10.2508 23.3848 9.59975 22.3816V36H16.5185V31.4471ZM32.0451 29.0967C31.6703 29.822 31.4767 30.6289 31.481 31.4471V36H38.3997V22.3816C37.7487 23.3848 36.998 24.3182 36.1594 25.1674C35.3837 25.9514 34.5373 26.6605 33.6311 27.2854C32.9642 27.7495 32.4198 28.3713 32.0451 29.0967Z" }) })));
11
11
  });
12
12
  MermaidIcon.displayName = "Mmd";
13
13
 
@@ -49,6 +49,8 @@ export declare const globalLucideIcons: {
49
49
  BookCheck: StyledLucideIconComponent;
50
50
  BookDown: StyledLucideIconComponent;
51
51
  BookHeadphones: StyledLucideIconComponent;
52
+ BookmarkCheck: StyledLucideIconComponent;
53
+ BookmarkPlus: StyledLucideIconComponent;
52
54
  BotMessageSquare: StyledLucideIconComponent;
53
55
  Brain: StyledLucideIconComponent;
54
56
  BrainCircuit: StyledLucideIconComponent;
@@ -64,6 +66,8 @@ export declare const globalLucideIcons: {
64
66
  CircleSmall: StyledLucideIconComponent;
65
67
  CircleStop: StyledLucideIconComponent;
66
68
  Check: StyledLucideIconComponent;
69
+ CircleArrowDown: StyledLucideIconComponent;
70
+ CircleArrowUp: StyledLucideIconComponent;
67
71
  CheckCheck: StyledLucideIconComponent;
68
72
  CheckLine: StyledLucideIconComponent;
69
73
  ChevronDown: StyledLucideIconComponent;
@@ -73,12 +77,14 @@ export declare const globalLucideIcons: {
73
77
  Coins: StyledLucideIconComponent;
74
78
  ComponentIcon: StyledLucideIconComponent;
75
79
  Copy: StyledLucideIconComponent;
80
+ CopyCheck: StyledLucideIconComponent;
76
81
  Cpu: StyledLucideIconComponent;
77
82
  Database: StyledLucideIconComponent;
78
83
  DatabaseZap: StyledLucideIconComponent;
79
84
  Dot: StyledLucideIconComponent;
80
85
  Download: StyledLucideIconComponent;
81
86
  Eye: StyledLucideIconComponent;
87
+ EyeOff: StyledLucideIconComponent;
82
88
  ExternalLink: StyledLucideIconComponent;
83
89
  Facebook: StyledLucideIconComponent;
84
90
  Shield: StyledLucideIconComponent;
@@ -1 +1 @@
1
- export { AlbumIcon, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Bell, Binary, Blocks, BookX, BookOpen, BookAudio, BookA, BookCheck, BookDown, BookHeadphones, BotMessageSquare, Brain, BrainCircuit, BringToFront, Building2, Bug, BugOff, BadgeQuestionMark, Car, Circle, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, Check, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Coins, ComponentIcon, Copy, Cpu, Database, DatabaseZap, Dot, Download, Eye, ExternalLink, Facebook, Shield, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, HousePlus, Infinity, Info, ImageDown, ImageOff, ImageUp, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleMore, MessageCircleCode, Music4, MoreHorizontal, MousePointerClick, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, Rss, Scale, Search, SendHorizontal, Settings, Settings2, Share, Sigma, ShieldUser, ShoppingCart, Sprout, SquareDashedBottomCode, SquareTerminal, Server, SplinePointer, Sparkles, Star, Tablets, Terminal, Twitter, UserRoundCheck, Workflow, X, Zap, } from "lucide-react";
1
+ export { AlbumIcon, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, Bell, Binary, Blocks, BookX, BookOpen, BookAudio, BookA, BookCheck, BookDown, BookHeadphones, BookmarkCheck, BookmarkPlus, BotMessageSquare, Brain, BrainCircuit, BringToFront, Building2, Bug, BugOff, BadgeQuestionMark, Car, Circle, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, Check, CircleArrowDown, CircleArrowUp, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Coins, ComponentIcon, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, Eye, EyeOff, ExternalLink, Facebook, Shield, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, HousePlus, Infinity, Info, ImageDown, ImageOff, ImageUp, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleMore, MessageCircleCode, Music4, MoreHorizontal, MousePointerClick, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, Rss, Scale, Search, SendHorizontal, Settings, Settings2, Share, Sigma, ShieldUser, ShoppingCart, Sprout, SquareDashedBottomCode, SquareTerminal, Server, SplinePointer, Sparkles, Star, Tablets, Terminal, Twitter, UserRoundCheck, Workflow, X, Zap, } from "lucide-react";
@@ -73,6 +73,14 @@ Object.defineProperty(exports, "BookX", {
73
73
  enumerable: true,
74
74
  get: function () { return lucideReact.BookX; }
75
75
  });
76
+ Object.defineProperty(exports, "BookmarkCheck", {
77
+ enumerable: true,
78
+ get: function () { return lucideReact.BookmarkCheck; }
79
+ });
80
+ Object.defineProperty(exports, "BookmarkPlus", {
81
+ enumerable: true,
82
+ get: function () { return lucideReact.BookmarkPlus; }
83
+ });
76
84
  Object.defineProperty(exports, "BotMessageSquare", {
77
85
  enumerable: true,
78
86
  get: function () { return lucideReact.BotMessageSquare; }
@@ -141,6 +149,14 @@ Object.defineProperty(exports, "CircleAlert", {
141
149
  enumerable: true,
142
150
  get: function () { return lucideReact.CircleAlert; }
143
151
  });
152
+ Object.defineProperty(exports, "CircleArrowDown", {
153
+ enumerable: true,
154
+ get: function () { return lucideReact.CircleArrowDown; }
155
+ });
156
+ Object.defineProperty(exports, "CircleArrowUp", {
157
+ enumerable: true,
158
+ get: function () { return lucideReact.CircleArrowUp; }
159
+ });
144
160
  Object.defineProperty(exports, "CircleQuestionMark", {
145
161
  enumerable: true,
146
162
  get: function () { return lucideReact.CircleQuestionMark; }
@@ -165,6 +181,10 @@ Object.defineProperty(exports, "Copy", {
165
181
  enumerable: true,
166
182
  get: function () { return lucideReact.Copy; }
167
183
  });
184
+ Object.defineProperty(exports, "CopyCheck", {
185
+ enumerable: true,
186
+ get: function () { return lucideReact.CopyCheck; }
187
+ });
168
188
  Object.defineProperty(exports, "Cpu", {
169
189
  enumerable: true,
170
190
  get: function () { return lucideReact.Cpu; }
@@ -193,6 +213,10 @@ Object.defineProperty(exports, "Eye", {
193
213
  enumerable: true,
194
214
  get: function () { return lucideReact.Eye; }
195
215
  });
216
+ Object.defineProperty(exports, "EyeOff", {
217
+ enumerable: true,
218
+ get: function () { return lucideReact.EyeOff; }
219
+ });
196
220
  Object.defineProperty(exports, "Facebook", {
197
221
  enumerable: true,
198
222
  get: function () { return lucideReact.Facebook; }
@@ -1,4 +1,4 @@
1
- export { AlbumIcon, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, BadgeQuestionMark, Bell, Binary, Blocks, BookA, BookAudio, BookCheck, BookDown, BookHeadphones, BookOpen, BookX, BotMessageSquare, Brain, BrainCircuit, BringToFront, Bug, BugOff, Building2, Car, Check, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Circle, CircleAlert, CircleQuestionMark, CircleSmall, CircleStop, Coins, ComponentIcon, Copy, Cpu, Database, DatabaseZap, Dot, Download, ExternalLink, Eye, Facebook, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, HousePlus, ImageDown, ImageOff, ImageUp, Infinity, Info, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleCode, MessageCircleMore, MoreHorizontal, MousePointerClick, Music4, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, Rss, Scale, Search, SendHorizontal, Server, Settings, Settings2, Share, Shield, ShieldUser, ShoppingCart, Sigma, Sparkles, SplinePointer, Sprout, SquareDashedBottomCode, SquareTerminal, Star, Tablets, Terminal, Twitter, UserRoundCheck, Workflow, X, Zap } from 'lucide-react';
1
+ export { AlbumIcon, AlignHorizontalJustifyEnd, ArrowLeft, ArrowRight, ArrowUp, BadgeQuestionMark, Bell, Binary, Blocks, BookA, BookAudio, BookCheck, BookDown, BookHeadphones, BookOpen, BookX, BookmarkCheck, BookmarkPlus, BotMessageSquare, Brain, BrainCircuit, BringToFront, Bug, BugOff, Building2, Car, Check, CheckCheck, CheckLine, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Circle, CircleAlert, CircleArrowDown, CircleArrowUp, CircleQuestionMark, CircleSmall, CircleStop, Coins, ComponentIcon, Copy, CopyCheck, Cpu, Database, DatabaseZap, Dot, Download, ExternalLink, Eye, EyeOff, Facebook, File, FileDown, FileInput, FileLock2, FileUp, Fingerprint, Folder, FolderOpen, Gem, Gift, GitMerge, GitPullRequestArrow, Globe, GlobeLock, Grip, GripVertical, HandHeart, Handshake, Highlighter, HousePlus, ImageDown, ImageOff, ImageUp, Infinity, Info, Keyboard, LandPlot, Languages, Layout, LayoutTemplate, LibraryIcon, Lightbulb, Link, ListTodo, Loader2, LogIn, LogOut, Mail, MessageCircleCode, MessageCircleMore, MoreHorizontal, MousePointerClick, Music4, NotepadText, Palette, PanelLeft, PanelsTopLeft, PawPrint, Pencil, Pi, QrCode, ReceiptText, RefreshCcw, Regex, Replace, Rocket, Rss, Scale, Search, SendHorizontal, Server, Settings, Settings2, Share, Shield, ShieldUser, ShoppingCart, Sigma, Sparkles, SplinePointer, Sprout, SquareDashedBottomCode, SquareTerminal, Star, Tablets, Terminal, Twitter, UserRoundCheck, Workflow, X, Zap } from 'lucide-react';
2
2
 
3
3
  /*
4
4
  * This file re-exports selected icons from 'lucide-react'.
package/dist/lib/index.js CHANGED
@@ -21,6 +21,7 @@ exports.themeButtonGradientClass = themeUtil.themeButtonGradientClass;
21
21
  exports.themeButtonGradientHoverClass = themeUtil.themeButtonGradientHoverClass;
22
22
  exports.themeHeroEyesOnClass = themeUtil.themeHeroEyesOnClass;
23
23
  exports.themeIconColor = themeUtil.themeIconColor;
24
+ exports.themeMainBgColor = themeUtil.themeMainBgColor;
24
25
  exports.themeName = themeUtil.themeName;
25
26
  exports.themeRichTextMarkClass = themeUtil.themeRichTextMarkClass;
26
27
  exports.themeRingColor = themeUtil.themeRingColor;
@@ -1 +1 @@
1
- export { THEME_BUTTON_GRADIENT_CLASS_MAP, THEME_BUTTON_GRADIENT_HOVER_CLASS_MAP, THEME_COLOR_HEX_MAP, THEME_COLOR_NAME_TO_BG_CLASS_MAP, THEME_COLOR_NAME_TO_BORDER_CLASS_MAP, THEME_COLOR_NAME_TO_CLASS_MAP, THEME_COLOR_NAME_TO_RING_CLASS_MAP, THEME_COLOR_NAME_TO_VIA_CLASS_MAP, THEME_HERO_EYES_ON_CLASS_MAP, THEME_RICH_TEXT_MARK_CLASS_MAP, __SUPPORTED_THEME_COLORS, themeBgColor, themeBorderColor, themeButtonGradientClass, themeButtonGradientHoverClass, themeHeroEyesOnClass, themeIconColor, themeName, themeRichTextMarkClass, themeRingColor, themeSvgIconColor, themeSvgIconSize, themeViaColor, validateThemeColor, validateThemeName } from './theme-util.mjs';
1
+ export { THEME_BUTTON_GRADIENT_CLASS_MAP, THEME_BUTTON_GRADIENT_HOVER_CLASS_MAP, THEME_COLOR_HEX_MAP, THEME_COLOR_NAME_TO_BG_CLASS_MAP, THEME_COLOR_NAME_TO_BORDER_CLASS_MAP, THEME_COLOR_NAME_TO_CLASS_MAP, THEME_COLOR_NAME_TO_RING_CLASS_MAP, THEME_COLOR_NAME_TO_VIA_CLASS_MAP, THEME_HERO_EYES_ON_CLASS_MAP, THEME_RICH_TEXT_MARK_CLASS_MAP, __SUPPORTED_THEME_COLORS, themeBgColor, themeBorderColor, themeButtonGradientClass, themeButtonGradientHoverClass, themeHeroEyesOnClass, themeIconColor, themeMainBgColor, themeName, themeRichTextMarkClass, themeRingColor, themeSvgIconColor, themeSvgIconSize, themeViaColor, validateThemeColor, validateThemeName } from './theme-util.mjs';
@@ -116,6 +116,7 @@ export declare const themeBgColor: SupportedThemeBgColor;
116
116
  export declare const themeViaColor: SupportedThemeViaColor;
117
117
  export declare const themeRingColor: SupportedThemeRingColor;
118
118
  export declare const themeBorderColor: SupportedThemeBorderColor;
119
+ export declare const themeMainBgColor = "bg-neutral-100 dark:bg-neutral-900";
119
120
  export declare const themeSvgIconColor: "#AC62FD" | "#F97316" | "#6366F1" | "#10B981" | "#F43F5E";
120
121
  export declare const themeSvgIconSize: string | number;
121
122
  export declare const THEME_BUTTON_GRADIENT_CLASS_MAP: Readonly<{
@@ -133,6 +133,7 @@ const themeBgColor = THEME_COLOR_NAME_TO_BG_CLASS_MAP[themeName];
133
133
  const themeViaColor = THEME_COLOR_NAME_TO_VIA_CLASS_MAP[themeName];
134
134
  const themeRingColor = THEME_COLOR_NAME_TO_RING_CLASS_MAP[themeName];
135
135
  const themeBorderColor = THEME_COLOR_NAME_TO_BORDER_CLASS_MAP[themeName];
136
+ const themeMainBgColor = "bg-neutral-100 dark:bg-neutral-900";
136
137
  // SVG icon color (auto-derived, type-safe - NO any type)
137
138
  const themeSvgIconColor = THEME_COLOR_HEX_MAP[themeIconColor];
138
139
  // SVG icon size (global)
@@ -192,6 +193,7 @@ exports.themeButtonGradientClass = themeButtonGradientClass;
192
193
  exports.themeButtonGradientHoverClass = themeButtonGradientHoverClass;
193
194
  exports.themeHeroEyesOnClass = themeHeroEyesOnClass;
194
195
  exports.themeIconColor = themeIconColor;
196
+ exports.themeMainBgColor = themeMainBgColor;
195
197
  exports.themeName = themeName;
196
198
  exports.themeRichTextMarkClass = themeRichTextMarkClass;
197
199
  exports.themeRingColor = themeRingColor;
@@ -131,6 +131,7 @@ const themeBgColor = THEME_COLOR_NAME_TO_BG_CLASS_MAP[themeName];
131
131
  const themeViaColor = THEME_COLOR_NAME_TO_VIA_CLASS_MAP[themeName];
132
132
  const themeRingColor = THEME_COLOR_NAME_TO_RING_CLASS_MAP[themeName];
133
133
  const themeBorderColor = THEME_COLOR_NAME_TO_BORDER_CLASS_MAP[themeName];
134
+ const themeMainBgColor = "bg-neutral-100 dark:bg-neutral-900";
134
135
  // SVG icon color (auto-derived, type-safe - NO any type)
135
136
  const themeSvgIconColor = THEME_COLOR_HEX_MAP[themeIconColor];
136
137
  // SVG icon size (global)
@@ -173,4 +174,4 @@ const THEME_RICH_TEXT_MARK_CLASS_MAP = Object.freeze({
173
174
  });
174
175
  const themeRichTextMarkClass = THEME_RICH_TEXT_MARK_CLASS_MAP[themeIconColor];
175
176
 
176
- export { THEME_BUTTON_GRADIENT_CLASS_MAP, THEME_BUTTON_GRADIENT_HOVER_CLASS_MAP, THEME_COLOR_HEX_MAP, THEME_COLOR_NAME_TO_BG_CLASS_MAP, THEME_COLOR_NAME_TO_BORDER_CLASS_MAP, THEME_COLOR_NAME_TO_CLASS_MAP, THEME_COLOR_NAME_TO_RING_CLASS_MAP, THEME_COLOR_NAME_TO_VIA_CLASS_MAP, THEME_HERO_EYES_ON_CLASS_MAP, THEME_RICH_TEXT_MARK_CLASS_MAP, __SUPPORTED_THEME_COLORS, themeBgColor, themeBorderColor, themeButtonGradientClass, themeButtonGradientHoverClass, themeHeroEyesOnClass, themeIconColor, themeName, themeRichTextMarkClass, themeRingColor, themeSvgIconColor, themeSvgIconSize, themeViaColor, validateThemeColor, validateThemeName };
177
+ export { THEME_BUTTON_GRADIENT_CLASS_MAP, THEME_BUTTON_GRADIENT_HOVER_CLASS_MAP, THEME_COLOR_HEX_MAP, THEME_COLOR_NAME_TO_BG_CLASS_MAP, THEME_COLOR_NAME_TO_BORDER_CLASS_MAP, THEME_COLOR_NAME_TO_CLASS_MAP, THEME_COLOR_NAME_TO_RING_CLASS_MAP, THEME_COLOR_NAME_TO_VIA_CLASS_MAP, THEME_HERO_EYES_ON_CLASS_MAP, THEME_RICH_TEXT_MARK_CLASS_MAP, __SUPPORTED_THEME_COLORS, themeBgColor, themeBorderColor, themeButtonGradientClass, themeButtonGradientHoverClass, themeHeroEyesOnClass, themeIconColor, themeMainBgColor, themeName, themeRichTextMarkClass, themeRingColor, themeSvgIconColor, themeSvgIconSize, themeViaColor, validateThemeColor, validateThemeName };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/base-ui",
3
- "version": "14.0.2",
3
+ "version": "15.0.0",
4
4
  "description": "Base UI components for windrun-huaiin projects",
5
5
  "type": "module",
6
6
  "exports": {
@@ -40,13 +40,13 @@
40
40
  "LICENSE"
41
41
  ],
42
42
  "dependencies": {
43
- "@radix-ui/react-alert-dialog": "^1.1.13",
44
- "@radix-ui/react-dropdown-menu": "^2.1.14",
45
- "@radix-ui/react-label": "^2.1.6",
46
- "@radix-ui/react-slot": "^1.2.2",
43
+ "@radix-ui/react-alert-dialog": "^1.1.15",
44
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
45
+ "@radix-ui/react-label": "^2.1.8",
46
+ "@radix-ui/react-slot": "^1.2.4",
47
47
  "class-variance-authority": "^0.7.1",
48
48
  "lucide-react": "^0.575.0",
49
- "@windrun-huaiin/lib": "^14.0.0"
49
+ "@windrun-huaiin/lib": "^15.0.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "clsx": "^2.1.1",
@@ -10,11 +10,9 @@ const MermaidIcon = React.forwardRef<SVGSVGElement, LucideProps>(
10
10
  role="img"
11
11
  className={className}
12
12
  {...props}
13
- viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" >
14
- <path
15
- d="M23.99 2.115A12.223 12.223 0 0 0 12 10.149 12.223 12.223 0 0 0 .01 2.115a12.23 12.23 0 0 0 5.32 10.604 6.562 6.562 0 0 1 2.845 5.423v3.754h7.65v-3.754a6.561 6.561 0 0 1 2.844-5.423 12.223 12.223 0 0 0 5.32-10.604Z"
16
- fill="none" stroke={themeSvgIconColor} strokeWidth="2"
17
- />
13
+ viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg" >
14
+ <path fill={themeSvgIconColor} strokeWidth="2" fillRule="evenodd" clipRule="evenodd"
15
+ d="M38.3865 12.0135C35.2747 11.879 32.2016 12.7511 29.6141 14.5031C27.0267 16.2551 25.0599 18.7955 23.9998 21.7549C22.9396 18.7955 20.9728 16.2551 18.3854 14.5031C15.7979 12.7511 12.7248 11.879 9.61304 12.0135C9.50856 14.5283 10.0398 17.0285 11.1567 19.2782C12.2737 21.528 13.9394 23.4531 15.9967 24.872C17.0522 25.6045 17.9148 26.5863 18.5096 27.7321C19.1044 28.878 19.4135 30.1532 19.41 31.4471V36H28.5904V31.4471C28.5867 30.1532 28.8956 28.8781 29.4903 27.7322C30.085 26.5864 30.9474 25.6046 32.0028 24.872C34.0607 23.4537 35.7268 21.5286 36.8438 19.2788C37.9608 17.0289 38.4917 14.5284 38.3865 12.0135ZM16.5185 31.4471C16.5228 30.6289 16.3292 29.822 15.9544 29.0967C15.5797 28.3713 15.0353 27.7495 14.3685 27.2854C13.4622 26.6605 12.6158 25.9514 11.8401 25.1674C11.0015 24.3182 10.2508 23.3848 9.59975 22.3816V36H16.5185V31.4471ZM32.0451 29.0967C31.6703 29.822 31.4767 30.6289 31.481 31.4471V36H38.3997V22.3816C37.7487 23.3848 36.998 24.3182 36.1594 25.1674C35.3837 25.9514 34.5373 26.6605 33.6311 27.2854C32.9642 27.7495 32.4198 28.3713 32.0451 29.0967Z" />
18
16
  </svg>
19
17
  )
20
18
  );
@@ -20,6 +20,8 @@ export {
20
20
  BookCheck,
21
21
  BookDown,
22
22
  BookHeadphones,
23
+ BookmarkCheck,
24
+ BookmarkPlus,
23
25
  BotMessageSquare,
24
26
  Brain,
25
27
  BrainCircuit,
@@ -35,6 +37,8 @@ export {
35
37
  CircleSmall,
36
38
  CircleStop,
37
39
  Check,
40
+ CircleArrowDown,
41
+ CircleArrowUp,
38
42
  CheckCheck,
39
43
  CheckLine,
40
44
  ChevronDown,
@@ -44,12 +48,14 @@ export {
44
48
  Coins,
45
49
  ComponentIcon,
46
50
  Copy,
51
+ CopyCheck,
47
52
  Cpu,
48
53
  Database,
49
54
  DatabaseZap,
50
55
  Dot,
51
56
  Download,
52
57
  Eye,
58
+ EyeOff,
53
59
  ExternalLink,
54
60
  Facebook,
55
61
  Shield,
@@ -154,6 +154,7 @@ export const themeBgColor: SupportedThemeBgColor = THEME_COLOR_NAME_TO_BG_CLASS_
154
154
  export const themeViaColor: SupportedThemeViaColor = THEME_COLOR_NAME_TO_VIA_CLASS_MAP[themeName];
155
155
  export const themeRingColor: SupportedThemeRingColor = THEME_COLOR_NAME_TO_RING_CLASS_MAP[themeName];
156
156
  export const themeBorderColor: SupportedThemeBorderColor = THEME_COLOR_NAME_TO_BORDER_CLASS_MAP[themeName];
157
+ export const themeMainBgColor = "bg-neutral-100 dark:bg-neutral-900";
157
158
 
158
159
  // SVG icon color (auto-derived, type-safe - NO any type)
159
160
  export const themeSvgIconColor = THEME_COLOR_HEX_MAP[themeIconColor];