@lobehub/ui 1.157.1 → 1.158.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/es/A/index.js +2 -2
- package/es/ActionIcon/index.js +11 -15
- package/es/ActionIconGroup/index.js +45 -47
- package/es/Alert/index.js +43 -50
- package/es/Avatar/index.js +10 -12
- package/es/Burger/index.js +30 -35
- package/es/CodeEditor/index.js +38 -41
- package/es/Collapse/index.js +3 -3
- package/es/ColorScales/ScaleRow.js +39 -43
- package/es/ColorScales/index.js +57 -59
- package/es/ConfigProvider/index.js +3 -5
- package/es/ContextMenu/index.js +2 -3
- package/es/CopyButton/index.js +3 -4
- package/es/DraggablePanel/components/DraggablePanelBody.js +2 -3
- package/es/DraggablePanel/components/DraggablePanelContainer.js +2 -3
- package/es/DraggablePanel/components/DraggablePanelFooter.js +2 -3
- package/es/DraggablePanel/components/DraggablePanelHeader.js +5 -9
- package/es/DraggablePanel/index.js +28 -35
- package/es/EditableText/index.js +13 -16
- package/es/EmojiPicker/AvatarUploader.js +60 -71
- package/es/EmojiPicker/index.js +101 -110
- package/es/EmptyCard/index.js +23 -31
- package/es/FileTypeIcon/index.js +44 -55
- package/es/FluentEmoji/index.js +4 -6
- package/es/Footer/index.js +8 -10
- package/es/Form/components/FormDivider.js +2 -2
- package/es/Form/components/FormFlatGroup.js +4 -9
- package/es/Form/components/FormFooter.js +3 -6
- package/es/Form/components/FormGroup.js +15 -21
- package/es/Form/components/FormItem.js +10 -17
- package/es/Form/components/FormTitle.js +15 -23
- package/es/Form/index.js +26 -30
- package/es/FormModal/index.js +30 -34
- package/es/Grid/index.js +3 -6
- package/es/Header/index.js +49 -65
- package/es/Highlighter/FullFeatured.js +41 -51
- package/es/Highlighter/SyntaxHighlighter/index.js +19 -30
- package/es/Highlighter/index.js +19 -29
- package/es/Icon/icons/DiscordIcon.js +2 -3
- package/es/Icon/index.js +13 -16
- package/es/Image/ImageGallery.js +3 -5
- package/es/Image/Preview.js +5 -6
- package/es/Image/index.js +34 -38
- package/es/Image/usePreview.js +33 -37
- package/es/Img/index.js +2 -2
- package/es/Input/index.js +3 -3
- package/es/Layout/index.js +35 -63
- package/es/List/ListItem/index.js +53 -67
- package/es/Markdown/CodeBlock.js +10 -16
- package/es/Markdown/Typography.js +3 -6
- package/es/Markdown/index.js +18 -22
- package/es/MaterialFileTypeIcon/index.js +17 -20
- package/es/MaterialFileTypeIcon/utils.d.ts +2 -2
- package/es/Mermaid/FullFeatured.js +35 -45
- package/es/Mermaid/index.js +17 -26
- package/es/Mermaid/useMermaid.d.ts +2 -1
- package/es/Mermaid/useMermaid.js +3 -5
- package/es/Modal/index.js +48 -60
- package/es/SearchBar/index.js +48 -52
- package/es/SelectWithImg/index.js +34 -40
- package/es/SideNav/index.js +15 -22
- package/es/SliderWithInput/index.js +35 -38
- package/es/Snippet/index.js +10 -15
- package/es/SortableList/DragHandle.js +3 -3
- package/es/SortableList/SortableItem.js +16 -19
- package/es/SortableList/SortableOverlay.js +3 -5
- package/es/SortableList/index.js +15 -23
- package/es/Swatches/index.js +18 -20
- package/es/TabsNav/index.js +2 -3
- package/es/Tag/index.js +7 -12
- package/es/ThemeProvider/Meta.js +53 -58
- package/es/ThemeProvider/index.js +17 -23
- package/es/ThemeSwitch/index.js +15 -19
- package/es/Toc/TocMobile.js +47 -52
- package/es/Toc/index.js +8 -13
- package/es/Tooltip/index.js +2 -3
- package/es/Video/index.js +41 -47
- package/es/awesome/AuroraBackground/index.js +11 -18
- package/es/awesome/Features/Item.js +37 -45
- package/es/awesome/Features/index.js +5 -4
- package/es/awesome/GaussianBackground/index.js +8 -13
- package/es/awesome/GaussianBackground/useGaussianBackground.d.ts +1 -1
- package/es/awesome/GaussianBackground/useGaussianBackground.js +1 -1
- package/es/awesome/Giscus/index.js +13 -15
- package/es/awesome/GradientButton/index.js +5 -9
- package/es/awesome/GridBackground/Grid.js +49 -61
- package/es/awesome/GridBackground/GridShowcase.js +24 -28
- package/es/awesome/GridBackground/index.js +27 -33
- package/es/awesome/Hero/index.js +63 -74
- package/es/awesome/Spline/ParentSize.js +7 -8
- package/es/awesome/Spline/index.js +10 -13
- package/es/awesome/Spotlight/index.js +3 -4
- package/es/awesome/SpotlightCard/SpotlightCardItem.js +5 -8
- package/es/awesome/SpotlightCard/index.js +9 -12
- package/es/brand/BrandLoading/index.js +2 -3
- package/es/brand/LobeChat/index.js +29 -38
- package/es/brand/LobeChatText/index.js +8 -13
- package/es/brand/LobeHub/index.js +29 -38
- package/es/brand/LobeHubText/index.js +4 -9
- package/es/brand/Logo3d/index.js +2 -3
- package/es/brand/LogoFlat/index.js +44 -49
- package/es/brand/LogoMono/index.js +48 -53
- package/es/brand/LogoThree/Loading.js +9 -11
- package/es/brand/LogoThree/LogoSpline.js +10 -12
- package/es/brand/LogoThree/index.js +23 -25
- package/es/brand/components/Divider.js +4 -6
- package/es/chat/BackBottom/index.js +4 -6
- package/es/chat/ChatHeader/ChatHeaderTitle.js +22 -31
- package/es/chat/ChatHeader/index.js +35 -42
- package/es/chat/ChatInputArea/ChatInputActionBar.js +16 -21
- package/es/chat/ChatInputArea/ChatInputArea.d.ts +1 -1
- package/es/chat/ChatInputArea/ChatInputArea.js +19 -23
- package/es/chat/ChatInputArea/ChatInputAreaInner.d.ts +1 -1
- package/es/chat/ChatInputArea/ChatInputAreaInner.js +2 -3
- package/es/chat/ChatInputArea/SendButton.js +36 -51
- package/es/chat/ChatItem/components/Actions.js +3 -5
- package/es/chat/ChatItem/components/Avatar.js +17 -21
- package/es/chat/ChatItem/components/BorderSpacing.js +1 -2
- package/es/chat/ChatItem/components/ErrorContent.js +9 -11
- package/es/chat/ChatItem/components/Loading.js +10 -12
- package/es/chat/ChatItem/components/MessageContent.js +6 -10
- package/es/chat/ChatItem/components/Title.js +3 -8
- package/es/chat/ChatItem/index.js +47 -53
- package/es/chat/ChatList/ActionsBar.js +2 -3
- package/es/chat/ChatList/HistoryDivider.js +6 -11
- package/es/chat/ChatList/Item.js +14 -12
- package/es/chat/ChatList/index.js +25 -29
- package/es/chat/EditableMessage/index.js +26 -32
- package/es/chat/EditableMessageList/index.js +72 -76
- package/es/chat/MessageInput/index.js +35 -43
- package/es/chat/MessageModal/index.js +41 -51
- package/es/chat/TokenTag/index.js +7 -11
- package/es/components/ControlInput.js +18 -22
- package/es/hooks/useHighlight.d.ts +1 -1
- package/es/mdx/Callout/index.js +13 -19
- package/es/mdx/Cards/Card.js +46 -59
- package/es/mdx/Cards/index.js +3 -6
- package/es/mdx/FileTree/File.js +5 -11
- package/es/mdx/FileTree/Folder.js +13 -22
- package/es/mdx/FileTree/index.js +3 -6
- package/es/mdx/Mdx/index.js +7 -9
- package/es/mdx/Steps/index.js +3 -6
- package/es/mdx/Tabs/Tab.js +3 -8
- package/es/mdx/Tabs/index.js +17 -21
- package/es/mdx/mdxComponents/CodeBlock.js +9 -14
- package/es/mdx/mdxComponents/Image.js +2 -2
- package/es/mdx/mdxComponents/Link.js +2 -3
- package/es/mdx/mdxComponents/Pre.js +7 -14
- package/es/mdx/mdxComponents/Video.js +2 -2
- package/es/mobile/MobileChatInputArea/SendButton.js +3 -4
- package/es/mobile/MobileChatInputArea/index.js +69 -79
- package/es/mobile/MobileNavBar/MobileNavBarTitle.js +26 -37
- package/es/mobile/MobileNavBar/index.js +41 -48
- package/es/mobile/MobileSafeArea/index.js +2 -3
- package/es/mobile/MobileTabBar/index.js +29 -35
- package/es/storybook/StoryBook/index.js +19 -26
- package/package.json +41 -45
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.158.0",
|
|
4
4
|
"description": "Lobe UI is an open-source UI component library for building AIGC web apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lobehub",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"test": "vitest --passWithNoTests",
|
|
65
65
|
"test:coverage": "vitest run --coverage --passWithNoTests",
|
|
66
66
|
"test:update": "vitest -u",
|
|
67
|
-
"type-check": "tsc
|
|
67
|
+
"type-check": "tsc --noEmit"
|
|
68
68
|
},
|
|
69
69
|
"lint-staged": {
|
|
70
70
|
"*.md": [
|
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
]
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@ant-design/cssinjs": "^1.22.1",
|
|
90
89
|
"@babel/runtime": "^7.26.0",
|
|
91
90
|
"@dnd-kit/core": "^6.3.1",
|
|
92
91
|
"@dnd-kit/modifiers": "^8.0.0",
|
|
@@ -95,82 +94,61 @@
|
|
|
95
94
|
"@emoji-mart/data": "^1.2.1",
|
|
96
95
|
"@emoji-mart/react": "^1.1.1",
|
|
97
96
|
"@floating-ui/react": "^0.26.28",
|
|
98
|
-
"@giscus/react": "^3.
|
|
99
|
-
"@lobehub/fluent-emoji": "^1.0.1",
|
|
97
|
+
"@giscus/react": "^3.1.0",
|
|
100
98
|
"@mdx-js/mdx": "^2.3.0",
|
|
101
99
|
"@mdx-js/react": "^2.3.0",
|
|
102
|
-
"@radix-ui/react-slot": "^1.1.
|
|
103
|
-
"@
|
|
104
|
-
"@shikijs/transformers": "^1.24.0",
|
|
105
|
-
"@splinetool/runtime": "^0.9.526",
|
|
106
|
-
"ahooks": "^3.8.4",
|
|
107
|
-
"chroma-js": "^3.1.2",
|
|
108
|
-
"class-variance-authority": "^0.7.1",
|
|
109
|
-
"dayjs": "^1.11.13",
|
|
100
|
+
"@radix-ui/react-slot": "^1.1.1",
|
|
101
|
+
"@shikijs/transformers": "^1.26.1",
|
|
110
102
|
"emoji-mart": "^5.6.0",
|
|
111
|
-
"fast-deep-equal": "^3.1.3",
|
|
112
103
|
"immer": "^10.1.1",
|
|
113
104
|
"leva": "^0.9.35",
|
|
114
|
-
"lodash-es": "^4.17.21",
|
|
115
105
|
"mermaid": "^11.4.1",
|
|
116
106
|
"numeral": "^2.0.6",
|
|
117
|
-
"polished": "^4.3.1",
|
|
118
|
-
"prism-react-renderer": "^2.4.0",
|
|
119
|
-
"query-string": "^9.1.1",
|
|
120
107
|
"rc-footer": "^0.6.8",
|
|
121
|
-
"re-resizable": "^6.10.
|
|
108
|
+
"re-resizable": "^6.10.3",
|
|
122
109
|
"react-avatar-editor": "^13.0.2",
|
|
123
110
|
"react-error-boundary": "^4.1.2",
|
|
124
|
-
"react-layout-kit": "^1.9.1",
|
|
125
111
|
"react-markdown": "^8.0.7",
|
|
126
112
|
"react-merge-refs": "^2.1.1",
|
|
127
|
-
"react-rnd": "^10.4.
|
|
128
|
-
"react-simple-code-editor": "^0.13.1",
|
|
113
|
+
"react-rnd": "^10.4.14",
|
|
129
114
|
"rehype-katex": "^6.0.3",
|
|
130
115
|
"rehype-raw": "^7.0.0",
|
|
131
116
|
"remark-breaks": "^4.0.0",
|
|
132
117
|
"remark-gfm": "^3.0.1",
|
|
133
118
|
"remark-math": "^5.1.1",
|
|
134
|
-
"shiki": "^1.
|
|
135
|
-
"
|
|
136
|
-
"ts-md5": "^1.3.1",
|
|
137
|
-
"unified": "^10.1.2",
|
|
138
|
-
"url-join": "^5.0.0",
|
|
139
|
-
"use-merge-value": "^1.2.0",
|
|
140
|
-
"uuid": "^11.0.3"
|
|
119
|
+
"shiki": "^1.26.1",
|
|
120
|
+
"unified": "^10.1.2"
|
|
141
121
|
},
|
|
142
122
|
"devDependencies": {
|
|
143
123
|
"@ant-design/icons": "^5.5.2",
|
|
144
|
-
"@commitlint/cli": "^19.6.
|
|
124
|
+
"@commitlint/cli": "^19.6.1",
|
|
145
125
|
"@lobehub/lint": "^1.24.4",
|
|
146
126
|
"@testing-library/react": "^14.3.1",
|
|
147
|
-
"@types/chroma-js": "^2.4.
|
|
127
|
+
"@types/chroma-js": "^2.4.5",
|
|
148
128
|
"@types/lodash-es": "^4.17.12",
|
|
149
129
|
"@types/mdx": "^2.0.13",
|
|
150
130
|
"@types/numeral": "^2.0.5",
|
|
151
131
|
"@types/pangu": "^4.0.2",
|
|
152
132
|
"@types/query-string": "^6.3.0",
|
|
153
|
-
"@types/react": "^
|
|
133
|
+
"@types/react": "^19.0.2",
|
|
154
134
|
"@types/react-avatar-editor": "^13.0.3",
|
|
155
|
-
"@types/react-dom": "^
|
|
135
|
+
"@types/react-dom": "^19.0.2",
|
|
156
136
|
"@types/unist": "^3.0.3",
|
|
157
137
|
"@types/uuid": "^10.0.0",
|
|
158
138
|
"@vitest/coverage-v8": "~1.2.2",
|
|
159
139
|
"babel-plugin-antd-style": "^1.0.4",
|
|
160
|
-
"commitlint": "^19.6.
|
|
161
|
-
"concurrently": "^9.1.
|
|
140
|
+
"commitlint": "^19.6.1",
|
|
141
|
+
"concurrently": "^9.1.2",
|
|
162
142
|
"cross-env": "^7.0.3",
|
|
163
143
|
"dpdm": "^3.14.0",
|
|
164
|
-
"dumi": "^2.4.
|
|
165
|
-
"dumi-theme-lobehub": "^1.10.
|
|
144
|
+
"dumi": "^2.4.17",
|
|
145
|
+
"dumi-theme-lobehub": "^1.10.10",
|
|
166
146
|
"eslint": "^8.57.1",
|
|
167
147
|
"father": "^4.5.1",
|
|
168
148
|
"husky": "^9.1.7",
|
|
169
149
|
"jsdom": "^25.0.1",
|
|
170
|
-
"lint-staged": "^15.
|
|
150
|
+
"lint-staged": "^15.3.0",
|
|
171
151
|
"prettier": "^3.4.2",
|
|
172
|
-
"react": "^18.3.1",
|
|
173
|
-
"react-dom": "^18.3.1",
|
|
174
152
|
"remark": "^14.0.3",
|
|
175
153
|
"remark-cli": "^11.0.0",
|
|
176
154
|
"semantic-release": "^21.1.2",
|
|
@@ -181,11 +159,29 @@
|
|
|
181
159
|
"vitest": "~1.2.2"
|
|
182
160
|
},
|
|
183
161
|
"peerDependencies": {
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
162
|
+
"@ant-design/cssinjs": "^1.22.0",
|
|
163
|
+
"@babel/runtime": "^7.0.0",
|
|
164
|
+
"@lobehub/fluent-emoji": "^1.0.0",
|
|
165
|
+
"@splinetool/runtime": "^0.9.0",
|
|
166
|
+
"ahooks": "^3.8.0",
|
|
167
|
+
"antd": "^5.22.0",
|
|
168
|
+
"antd-style": "^3.7.0",
|
|
169
|
+
"chroma-js": "^3.0.0",
|
|
170
|
+
"class-variance-authority": "^0.7.0",
|
|
171
|
+
"dayjs": "^1.11.0",
|
|
172
|
+
"fast-deep-equal": "^3.0.0",
|
|
173
|
+
"lodash-es": "^4.0.0",
|
|
174
|
+
"lucide-react": "^0.400.0",
|
|
175
|
+
"polished": "^4.0.0",
|
|
176
|
+
"query-string": "^9.0.0",
|
|
177
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
178
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
179
|
+
"react-layout-kit": "^1.0.0",
|
|
180
|
+
"swr": "^2.3.0",
|
|
181
|
+
"ts-md5": "^1.0.0",
|
|
182
|
+
"url-join": "^5.0.0",
|
|
183
|
+
"use-merge-value": "^1.2.0",
|
|
184
|
+
"uuid": "^11.0.0"
|
|
189
185
|
},
|
|
190
186
|
"publishConfig": {
|
|
191
187
|
"access": "public",
|