@lobehub/ui 2.17.0 → 2.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -166,9 +166,11 @@ export function escapeCurrencyDollars(text) {
166
166
  // 2. Inline code: `...`
167
167
  // 3. Display math: $$...$$
168
168
  // 4. Inline math with LaTeX commands: $...\...$ (must contain backslash to distinguish from currency)
169
- // 5. LaTeX bracket notation: \[...\]
170
- // 6. LaTeX parenthesis notation: \(...\)
171
- /(```[\S\s]*?```|`[^\n`]*`|\$\$[\S\s]*?\$\$|(?<!\\)\$(?!\$)(?=[\S\s]*?\\)[\S\s]*?(?<!\\)\$(?!\$)|\\\[[\S\s]*?\\]|\\\(.*?\\\))/g, function (match) {
169
+ // 5. Simple number formulas: $1$, $10$, $100$ (pure digits in math mode)
170
+ // 6. Number lists in math mode: $1,-1,0$ or $1,2,3$ (comma-separated numbers, possibly negative)
171
+ // 7. LaTeX bracket notation: \[...\]
172
+ // 8. LaTeX parenthesis notation: \(...\)
173
+ /(```[\S\s]*?```|`[^\n`]*`|\$\$[\S\s]*?\$\$|(?<!\\)\$(?!\$)(?=[\S\s]*?\\)[\S\s]*?(?<!\\)\$(?!\$)|\$\d+\$|\$-?\d+(?:,-?\d+)+\$|\\\[[\S\s]*?\\]|\\\(.*?\\\))/g, function (match) {
172
174
  return manager.add(match);
173
175
  });
174
176
 
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const BotPromptIcon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default BotPromptIcon;
@@ -0,0 +1,7 @@
1
+ import { createLucideIcon } from 'lucide-react';
2
+ var BotPromptIcon = createLucideIcon('BotPrompt', [['path', {
3
+ d: 'M12 8V4H8M18 8H6C4.895 8 4 8.895 4 10V18C4 19.105 4.895 20 6 20H18C19.105 20 20 19.105 20 18V10C20 8.895 19.105 8 18 8ZM2 14H4M20 14H22M8 12H14M8 16H16',
4
+ key: '1'
5
+ }]]);
6
+ BotPromptIcon.displayName = 'BotPromptIcon';
7
+ export default BotPromptIcon;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const GroupBotIcon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default GroupBotIcon;
@@ -0,0 +1,13 @@
1
+ import { createLucideIcon } from 'lucide-react';
2
+ var GroupBotIcon = createLucideIcon('GroupBot', [['path', {
3
+ d: 'M11 6V2H7M17 6H5C3.895 6 3 6.895 3 8V16C3 17.105 3.895 18 5 18H17C18.105 18 19 17.105 19 16V8C19 6.895 18.105 6 17 6Z',
4
+ key: '1'
5
+ }], ['path', {
6
+ d: 'M17 6H5C3.89543 6 3 6.89543 3 8V16C3 17.1046 3.89543 18 5 18H17C18.1046 18 19 17.1046 19 16V8C19 6.89543 18.1046 6 17 6Z',
7
+ key: '2'
8
+ }], ['path', {
9
+ d: 'M6 18V19C6 20.105 6.895 21 8 21H20C21.105 21 22 20.105 22 19V11C22 9.895 21.105 9 20 9H19M14 11V13M8 11V13',
10
+ key: '3'
11
+ }]]);
12
+ GroupBotIcon.displayName = 'GroupBotIcon';
13
+ export default GroupBotIcon;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const GroupBotSquareIcon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default GroupBotSquareIcon;
@@ -0,0 +1,10 @@
1
+ import { createLucideIcon } from 'lucide-react';
2
+ var GroupBotSquareIcon = createLucideIcon('GroupBotSquare', [['path', {
3
+ d: 'M3 7V5C3 3.9 3.9 3 5 3H7M17 3H19C20.1 3 21 3.9 21 5V7M21 17V19C21 20.1 20.1 21 19 21H17M7 21H5C3.9 21 3 20.1 3 19V17M12 7V5H10M16 8H8C6.895 8 6 8.895 6 10V16C6 17.105 6.895 18 8 18H16C17.105 18 18 17.105 18 16V10C18 8.895 17.105 8 16 8ZM4 13H6M18 13H20M14 12.5V13.5M10 12.5V13.5',
4
+ key: '1'
5
+ }], ['path', {
6
+ d: 'M3 7V5C3 3.9 3.9 3 5 3H7M17 3H19C20.1 3 21 3.9 21 5V7M21 17V19C21 20.1 20.1 21 19 21H17M7 21H5C3.9 21 3 20.1 3 19V17M12 7V5H10M16 8H8C6.895 8 6 8.895 6 10V16C6 17.105 6.895 18 8 18H16C17.105 18 18 17.105 18 16V10C18 8.895 17.105 8 16 8ZM4 13H6M18 13H20M14 12.5V13.5M10 12.5V13.5',
7
+ key: '2'
8
+ }]]);
9
+ GroupBotSquareIcon.displayName = 'GroupBotSquareIcon';
10
+ export default GroupBotSquareIcon;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TreeDownRightIcon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default TreeDownRightIcon;
@@ -0,0 +1,7 @@
1
+ import { createLucideIcon } from 'lucide-react';
2
+ var TreeDownRightIcon = createLucideIcon('TreeDownRight', [['path', {
3
+ d: 'M4 2V9C4 10.0609 4.42143 11.0783 5.17157 11.8284C5.92172 12.5786 6.93913 13 8 13H20',
4
+ key: '1'
5
+ }]]);
6
+ TreeDownRightIcon.displayName = 'TreeDownRightIcon';
7
+ export default TreeDownRightIcon;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare const TreeUpDownRightIcon: import("react").ForwardRefExoticComponent<Omit<import("lucide-react").LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
3
+ export default TreeUpDownRightIcon;
@@ -0,0 +1,7 @@
1
+ import { createLucideIcon } from 'lucide-react';
2
+ var TreeUpDownRightIcon = createLucideIcon('TreeUpDownRight', [['path', {
3
+ d: 'M4 2V9C4 10.061 4.421 11.078 5.172 11.828 5.922 12.579 6.939 13 8 13H20M4 2V22',
4
+ key: '1'
5
+ }]]);
6
+ TreeUpDownRightIcon.displayName = 'TreeUpDownRightIcon';
7
+ export default TreeUpDownRightIcon;
@@ -1,6 +1,11 @@
1
+ export { default as BotPromptIcon } from './BotPromptIcon';
1
2
  export { default as DiscordIcon } from './DiscordIcon';
2
3
  export { default as GlobeOffIcon } from './GlobeOffIcon';
4
+ export { default as GroupBotIcon } from './GroupBotIcon';
5
+ export { default as GroupBotSquareIcon } from './GroupBotSquareIcon';
3
6
  export { default as LeftClickIcon } from './LeftClickIcon';
4
7
  export { default as LeftDoubleClickIcon } from './LeftDoubleClickIcon';
5
8
  export { default as RightClickIcon } from './RightClickIcon';
6
9
  export { default as RightDoubleClickIcon } from './RightDoubleClickIcon';
10
+ export { default as TreeDownRightIcon } from './TreeDownRightIcon';
11
+ export { default as TreeUpDownRightIcon } from './TreeUpDownRightIcon';
@@ -1,6 +1,11 @@
1
+ export { default as BotPromptIcon } from "./BotPromptIcon";
1
2
  export { default as DiscordIcon } from "./DiscordIcon";
2
3
  export { default as GlobeOffIcon } from "./GlobeOffIcon";
4
+ export { default as GroupBotIcon } from "./GroupBotIcon";
5
+ export { default as GroupBotSquareIcon } from "./GroupBotSquareIcon";
3
6
  export { default as LeftClickIcon } from "./LeftClickIcon";
4
7
  export { default as LeftDoubleClickIcon } from "./LeftDoubleClickIcon";
5
8
  export { default as RightClickIcon } from "./RightClickIcon";
6
- export { default as RightDoubleClickIcon } from "./RightDoubleClickIcon";
9
+ export { default as RightDoubleClickIcon } from "./RightDoubleClickIcon";
10
+ export { default as TreeDownRightIcon } from "./TreeDownRightIcon";
11
+ export { default as TreeUpDownRightIcon } from "./TreeUpDownRightIcon";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/ui",
3
- "version": "2.17.0",
3
+ "version": "2.18.1",
4
4
  "description": "Lobe UI is an open-source UI component library for building AIGC web apps",
5
5
  "keywords": [
6
6
  "lobehub",