diff --git a/.dumi/hooks/useMenu.tsx b/.dumi/hooks/useMenu.tsx index 092f3b2c..d511291e 100644 --- a/.dumi/hooks/useMenu.tsx +++ b/.dumi/hooks/useMenu.tsx @@ -84,12 +84,12 @@ const useMenu = (options: UseMenuOptions = {}): readonly [MenuProps['items'], st const { before, after } = options; const menuItems = useMemo(() => { - const sidebarItems = [...(sidebarData ?? [])]; + let sidebarItems = [...(sidebarData ?? [])]; - // 将设计文档未分类的放在最后 + // 将设计文档未分类的放在最前面 if (pathname.startsWith('/docs/spec')) { const notGrouped = sidebarItems.splice(0, 1); - sidebarItems.push(...notGrouped); + sidebarItems = [...notGrouped, ...sidebarItems]; } // 把 /changelog 拼到开发文档中 diff --git a/.dumi/pages/index/components/DesignBanner.tsx b/.dumi/pages/index/components/DesignBanner.tsx index 30824474..4e56f7f4 100644 --- a/.dumi/pages/index/components/DesignBanner.tsx +++ b/.dumi/pages/index/components/DesignBanner.tsx @@ -47,7 +47,7 @@ const DesignBanner: React.FC = () => { renderer: 'svg', loop: false, autoplay: true, - path: 'https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*HFhMS5HH9twAAAAAAAAAAAAADgCCAQ', + path: 'https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*eZsQT5KKBtIAAAAAAAAAAAAADgCCAQ', }); return ( diff --git a/.dumi/pages/index/components/MainBanner.tsx b/.dumi/pages/index/components/MainBanner.tsx index ba02266b..0cb76611 100644 --- a/.dumi/pages/index/components/MainBanner.tsx +++ b/.dumi/pages/index/components/MainBanner.tsx @@ -227,7 +227,7 @@ const MainBanner: React.FC = () => { rendererSettings: { preserveAspectRatio: 'xMidYMid meet', }, - path: 'https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*oI6rQbj2NA0AAAAAAAAAAAAADgCCAQ', + path: 'https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*YbV2QqZdDQ0AAAAAAAAAAAAADgCCAQ', }); React.useEffect(() => { diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index b7057168..d4966ded 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -16,6 +16,22 @@ tag: vVERSION --- +## 1.0.0 + +`2024-11-22` + +🎉 We are thrilled to announce the official release of [Ant Design X](https://x.ant.design) 1.0.0! + +- 🌈 **Derived from Best Practices of Enterprise-Level AI Products**: Built on the RICH interaction paradigm, delivering an exceptional AI interaction experience. +- 🧩 **Flexible and Diverse Atomic Components**: Covers most AI dialogue scenarios, empowering you to quickly build personalized AI interaction interfaces. +- ⚡ **Out-of-the-Box Model Integration**: Easily connect with inference services compatible with OpenAI standards. +- 🔄 **Efficient Management of Conversation Data Flows**: Provides powerful tools for managing data flows, enhancing development efficiency. +- 📦 **Rich Template Support**: Offers multiple templates for quickly starting LUI application development. +- 🛡 **Complete TypeScript Support**: Developed with TypeScript, ensuring robust type coverage to improve the development experience and reliability. +- 🎨 **Advanced Theme Customization**: Supports fine-grained style adjustments to meet diverse use cases and personalization needs. + +![demos](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp) + ## 1.0.0-alpha.12 `2024-11-07` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index e667e37b..698a83ea 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,22 @@ tag: vVERSION --- +## 1.0.0 + +`2024-11-22` + +🎉 我们非常开心的宣布 [Ant Design X](https://x.ant.design) 1.0.0 版本正式发布啦~ + +- 🌈 **源自企业级 AI 产品的最佳实践**:基于 RICH 交互范式,提供卓越的 AI 交互体验 +- 🧩 **灵活多样的原子组件**:覆盖绝大部分 AI 对话场景,助力快速构建个性化 AI 交互页面 +- ⚡ **开箱即用的模型对接能力**:轻松对接符合 OpenAI 标准的模型推理服务 +- 🔄 **高效管理对话数据流**:提供好用的数据流管理功能,让开发更高效 +- 📦 **丰富的样板间支持**:提供多种模板,快速启动 LUI 应用开发 +- 🛡 **TypeScript 全覆盖**:采用 TypeScript 开发,提供完整类型支持,提升开发体验与可靠性 +- 🎨 **深度主题定制能力**:支持细粒度的样式调整,满足各种场景的个性化需求 + +![demos](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp) + ## 1.0.0-alpha.12 `2024-11-07` diff --git a/bun.lockb b/bun.lockb index 89a72098..8dc09103 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/docs/spec/hybrid-ui-design.en-US.md b/docs/spec/hybrid-ui-design.en-US.md index dd9ea7dd..cf655a81 100644 --- a/docs/spec/hybrid-ui-design.en-US.md +++ b/docs/spec/hybrid-ui-design.en-US.md @@ -52,7 +52,7 @@ AI 不仅带来了强大的工具功能,也提高了用户对智能体验的 我们与工程师合作,将 Ant Design X 设计组件转化为可重用代码,最大限度提高生产力和沟通效率。 - **研发组件:** Ant Design X 提供多类基础组件库。 -- **Sketch 资产:** 提供设计资产包,包括组件和典型模板。[🌟AntDesignX_UI KIT_20241122版.sketch](https://www.yuque.com/attachments/yuque/0/2024/sketch/635293/1732072368187-dd14a3f0-54d4-4af6-9b82-1a408b879aa0.sketch) +- **Sketch 资产:** 提供设计资产包,包括组件和典型模板。[🌟AntDesignX_UI KIT_20241122版.sketch](https://www.yuque.com/attachments/yuque/0/2024/sketch/635293/1732243563729-54cfd0a2-f767-49a6-82ea-fefe168a05ef.sketch) - **演示 Demo:** 提供真实样板间体验,包括独立式、助手式、嵌入式。 ![典型页面示意](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*UAEeSbJfuM8AAAAAAAAAAAAADgCCAQ/fmt.webp) diff --git a/docs/spec/introduce.en-US.md b/docs/spec/introduce.en-US.md index 95ee9a96..1f792cec 100644 --- a/docs/spec/introduce.en-US.md +++ b/docs/spec/introduce.en-US.md @@ -1,8 +1,5 @@ --- -group: - title: RICH 设计范式 - order: 1 -title: 简介 +title: RICH 设计范式简介 --- ![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*DvQ2Q6gYcaAAAAAAAAAAAAAADgCCAQ/fmt.webp) diff --git a/docs/spec/introduce.zh-CN.md b/docs/spec/introduce.zh-CN.md index 95ee9a96..1f792cec 100644 --- a/docs/spec/introduce.zh-CN.md +++ b/docs/spec/introduce.zh-CN.md @@ -1,8 +1,5 @@ --- -group: - title: RICH 设计范式 - order: 1 -title: 简介 +title: RICH 设计范式简介 --- ![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*DvQ2Q6gYcaAAAAAAAAAAAAAADgCCAQ/fmt.webp) diff --git a/docs/spec/wake-up-welcome-message.en-US.md b/docs/spec/wake-up-welcome-message.en-US.md index 650a45e9..39f86c6b 100644 --- a/docs/spec/wake-up-welcome-message.en-US.md +++ b/docs/spec/wake-up-welcome-message.en-US.md @@ -26,7 +26,7 @@ title: 唤醒|欢迎提示 > **注:** 欢迎组件通常搭载推荐组件,可适用于不同场景。 -![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*6n0jSYQyAz0AAAAAAAAAAAAADgCCAQ/fmt.webp) +![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*_MGXTpIAO8wAAAAAAAAAAAAADgCCAQ/fmt.webp) --- @@ -76,7 +76,7 @@ title: 唤醒|欢迎提示 - **特点:** 分组信息展示,信息层次清晰。 -![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*jbGiSbAalWMAAAAAAAAAAAAADgCCAQ/fmt.webp) +![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*6-ceTLx-uxAAAAAAAAAAAAAADgCCAQ/fmt.webp) --- @@ -84,4 +84,4 @@ title: 唤醒|欢迎提示 - **特点:** 通过视觉吸引与引导文案,增强用户兴趣。 -![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*zXz3SKUcYCkAAAAAAAAAAAAADgCCAQ/fmt.webp) +![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*PF-KTrxGfL8AAAAAAAAAAAAADgCCAQ/fmt.webp) diff --git a/docs/spec/wake-up-welcome-message.zh-CN.md b/docs/spec/wake-up-welcome-message.zh-CN.md index 650a45e9..39f86c6b 100644 --- a/docs/spec/wake-up-welcome-message.zh-CN.md +++ b/docs/spec/wake-up-welcome-message.zh-CN.md @@ -26,7 +26,7 @@ title: 唤醒|欢迎提示 > **注:** 欢迎组件通常搭载推荐组件,可适用于不同场景。 -![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*6n0jSYQyAz0AAAAAAAAAAAAADgCCAQ/fmt.webp) +![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*_MGXTpIAO8wAAAAAAAAAAAAADgCCAQ/fmt.webp) --- @@ -76,7 +76,7 @@ title: 唤醒|欢迎提示 - **特点:** 分组信息展示,信息层次清晰。 -![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*jbGiSbAalWMAAAAAAAAAAAAADgCCAQ/fmt.webp) +![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*6-ceTLx-uxAAAAAAAAAAAAAADgCCAQ/fmt.webp) --- @@ -84,4 +84,4 @@ title: 唤醒|欢迎提示 - **特点:** 通过视觉吸引与引导文案,增强用户兴趣。 -![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*zXz3SKUcYCkAAAAAAAAAAAAADgCCAQ/fmt.webp) +![独立式](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*PF-KTrxGfL8AAAAAAAAAAAAADgCCAQ/fmt.webp) diff --git a/package.json b/package.json index 5c5850c4..e07cb7bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ant-design/x", - "version": "1.0.0-alpha.12", + "version": "1.0.0", "description": "Crafting AI-driven interfaces with React, seamlessly integrating smart chat components and API services at your fingertips.", "keywords": [ "AI", diff --git a/scripts/generate-component-changelog.ts b/scripts/generate-component-changelog.ts index fe94eede..38d30b4f 100644 --- a/scripts/generate-component-changelog.ts +++ b/scripts/generate-component-changelog.ts @@ -56,6 +56,13 @@ const miscKeys = [ '🌐', ' locale ', ' RTL ', + '🌈', + '🧩', + '⚡', + '🔄', + '📦', + '🛡', + '🎨', '🇧🇪', '🇨🇦', '🇪🇸',