Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(skill-store): drop dead modal header overrides (#18920)

Inneibf5a10fd57ab
diff --git a/.agents/skills/design-prototype/assets/entry.mjs b/.agents/skills/design-prototype/assets/entry.mjs
index 998d9036797..2ab6a0d3e2a 100644
--- a/.agents/skills/design-prototype/assets/entry.mjs
+++ b/.agents/skills/design-prototype/assets/entry.mjs
@@ -13,6 +13,7 @@ import {
Button,
Center,
Collapse,
+ ConfigProvider,
DraggablePanel,
Drawer,
DropdownMenu,
@@ -26,6 +27,7 @@ import {
InputNumber,
Markdown,
Modal,
+ MotionProvider,
NeuralNetworkLoading,
Popover,
ScrollShadow,
@@ -57,6 +59,8 @@ import {
} from 'antd';
import * as antdStyle from 'antd-style';
import * as lucide from 'lucide-react';
+import * as motionReact from 'motion/react';
+import * as motionReactM from 'motion/react-m';
import * as react from 'react';
import * as jsxRuntime from 'react/jsx-runtime';
import * as reactDom from 'react-dom';
@@ -71,6 +75,7 @@ export default {
Button,
Center,
Collapse,
+ ConfigProvider,
DraggablePanel,
Drawer,
DropdownMenu,
@@ -96,6 +101,7 @@ export default {
Tag,
Text,
TextArea,
+ MotionProvider,
ThemeProvider,
Tooltip,
},
@@ -104,6 +110,8 @@ export default {
'antd': { App, Badge, Checkbox, Divider, Dropdown, Progress, Radio, Slider, Space, Steps, Table },
'antd-style': antdStyle,
'lucide-react': lucide,
+ 'motion/react': motionReact,
+ 'motion/react-m': motionReactM,
'react': react,
'react-dom': reactDom,
'react-dom/client': reactDomClient,
diff --git a/package.json b/package.json
index 5827e46a667..9af3651ab4d 100644
--- a/package.json
+++ b/package.json
@@ -590,6 +590,7 @@
"workerd"
],
"overrides": {
+ "@ant-design/icons": "6.3.2",
"@react-pdf/image": "3.0.4",
"@types/react": "19.2.13",
"@vitest/coverage-v8": "3.2.6",
diff --git a/src/features/SkillStore/SkillList/ImportFromGithubModal.tsx b/src/features/SkillStore/SkillList/ImportFromGithubModal.tsx
index 69865f02137..ad0d0a1f0f8 100644
--- a/src/features/SkillStore/SkillList/ImportFromGithubModal.tsx
+++ b/src/features/SkillStore/SkillList/ImportFromGithubModal.tsx
@@ -103,6 +103,5 @@ export const openImportFromGithubModal = (): ModalInstance =>
content: <ImportFromGithubContent />,
footer: null,
maskClosable: true,
- styles: { header: { display: 'none' } },
width: 480,
});
diff --git a/src/features/SkillStore/SkillList/ImportFromUrlModal.tsx b/src/features/SkillStore/SkillList/ImportFromUrlModal.tsx
index 4c2acdc85d9..3c615063604 100644
--- a/src/features/SkillStore/SkillList/ImportFromUrlModal.tsx
+++ b/src/features/SkillStore/SkillList/ImportFromUrlModal.tsx
@@ -100,6 +100,5 @@ export const openImportFromUrlModal = (): ModalInstance =>
content: <ImportFromUrlContent />,
footer: null,
maskClosable: true,
- styles: { header: { display: 'none' } },
width: 480,
});
diff --git a/src/features/SkillStore/SkillList/UploadSkillModal.tsx b/src/features/SkillStore/SkillList/UploadSkillModal.tsx
index 30622def284..c0996cc2c1b 100644
--- a/src/features/SkillStore/SkillList/UploadSkillModal.tsx
+++ b/src/features/SkillStore/SkillList/UploadSkillModal.tsx
@@ -146,6 +146,5 @@ export const openUploadSkillModal = (): ModalInstance =>
content: <UploadSkillContent />,
footer: null,
maskClosable: true,
- styles: { header: { display: 'none' } },
width: 480,
});