Skip to content

Commit

Permalink
🎉 v 1.0.0 - publish (#204)
Browse files Browse the repository at this point in the history
* docs: fix design menu

* docs: update design sk file

* docs: update ip lottie and img

* docs: changelog of 1.0.0

* docs: update

* chore: update commit role for publish

* chore: update img

* test: update
  • Loading branch information
YumoImer authored Nov 22, 2024
1 parent da4bb1d commit 134da19
Show file tree
Hide file tree
Showing 13 changed files with 54 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .dumi/hooks/useMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ const useMenu = (options: UseMenuOptions = {}): readonly [MenuProps['items'], st
const { before, after } = options;

const menuItems = useMemo<MenuProps['items']>(() => {
const sidebarItems = [...(sidebarData ?? [])];
let sidebarItems = [...(sidebarData ?? [])];

// 将设计文档未分类的放在最后
// 将设计文档未分类的放在最前面
if (pathname.startsWith('/docs/spec')) {
const notGrouped = sidebarItems.splice(0, 1);
sidebarItems.push(...notGrouped);
sidebarItems = [...notGrouped, ...sidebarItems];
}

// 把 /changelog 拼到开发文档中
Expand Down
2 changes: 1 addition & 1 deletion .dumi/pages/index/components/DesignBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion .dumi/pages/index/components/MainBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/spec/hybrid-ui-design.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
5 changes: 1 addition & 4 deletions docs/spec/introduce.en-US.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
group:
title: RICH 设计范式
order: 1
title: 简介
title: RICH 设计范式简介
---

![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*DvQ2Q6gYcaAAAAAAAAAAAAAADgCCAQ/fmt.webp)
Expand Down
5 changes: 1 addition & 4 deletions docs/spec/introduce.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
---
group:
title: RICH 设计范式
order: 1
title: 简介
title: RICH 设计范式简介
---

![](https://mdn.alipayobjects.com/huamei_iwk9zp/afts/img/A*DvQ2Q6gYcaAAAAAAAAAAAAAADgCCAQ/fmt.webp)
Expand Down
6 changes: 3 additions & 3 deletions docs/spec/wake-up-welcome-message.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down Expand Up @@ -76,12 +76,12 @@ 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)

---

### 示意 5:精心设计的视觉效果与文案

- **特点:** 通过视觉吸引与引导文案,增强用户兴趣。

![独立式](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)
6 changes: 3 additions & 3 deletions docs/spec/wake-up-welcome-message.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down Expand Up @@ -76,12 +76,12 @@ 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)

---

### 示意 5:精心设计的视觉效果与文案

- **特点:** 通过视觉吸引与引导文案,增强用户兴趣。

![独立式](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)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions scripts/generate-component-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ const miscKeys = [
'🌐',
' locale ',
' RTL ',
'🌈',
'🧩',
'⚡',
'🔄',
'📦',
'🛡',
'🎨',
'🇧🇪',
'🇨🇦',
'🇪🇸',
Expand Down

0 comments on commit 134da19

Please sign in to comment.