From 0472c1015298cf5525ef0c359c3e3257003d4ed1 Mon Sep 17 00:00:00 2001 From: aelf-lxy Date: Fri, 15 Mar 2024 10:57:49 +0800 Subject: [PATCH 1/3] modify aelf-design logo --- .dumirc.ts | 14 +++++++------- README.md | 4 ++-- docs/home/components/ShowCase/index.tsx | 4 +--- docs/index.md | 2 +- docs/index.zh-CN.md | 2 +- packages/component/src/Button/index.md | 2 +- packages/component/src/Modal/index.md | 4 ++-- 7 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.dumirc.ts b/.dumirc.ts index aac4a4d..9847c54 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -22,7 +22,7 @@ const alias = pkgList.reduce( ); export default defineConfig({ - title: 'AELF Design', + title: 'Aelf Design', headScripts: [ { src: 'https://www.googletagmanager.com/gtag/js?id=G-C31HWEY1D4', @@ -41,12 +41,12 @@ export default defineConfig({ metas: [ { name: 'keywords', - content: 'web3, AELF, dapp, frontend, components, AELF Design', + content: 'web3, AELF, dapp, frontend, components, Aelf Design', }, { name: 'description', content: 'A Components for Web3, Based on Ant Design,' }, { property: 'og:site_name', - content: 'AELF Design', + content: 'Aelf Design', }, { 'data-rh': 'keywords', @@ -56,7 +56,7 @@ export default defineConfig({ { property: 'og:description', content: - 'AELF Design is a React component library based on Ant Design. It provides a series of components that can help you quickly build decentralized applications(DApp)', + 'Aelf Design is a React component library based on Ant Design. It provides a series of components that can help you quickly build decentralized applications(DApp)', }, { name: 'apple-mobile-web-app-capable', @@ -95,13 +95,13 @@ export default defineConfig({ publicPath: process.env.PUBLIC_PATH || '/', base: process.env.BASE || '/', themeConfig: { - name: 'AELF Design', - logo: 'https://img2.imgtp.com/2024/03/01/EXKVhuMo.svg', + name: 'Aelf Design', + logo: 'https://ipfs.io/ipfs/QmWtjvb47DU1EQ4MpridFY1ow4214aAWCkhGu3ZF4xvRSY/', socialLinks: { github: 'https://github.com/AElf-devops/aelf-design', }, }, - favicons: ['https://img2.imgtp.com/2024/03/01/EXKVhuMo.svg'], + favicons: ['https://ipfs.io/ipfs/QmWtjvb47DU1EQ4MpridFY1ow4214aAWCkhGu3ZF4xvRSY/'], locales: [{ id: 'zh-CN', name: '中文' }], extraBabelPlugins: [ [ diff --git a/README.md b/README.md index 4c8185f..3727cfb 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@
- + -

AELF Design

+

Aelf Design

## develop diff --git a/docs/home/components/ShowCase/index.tsx b/docs/home/components/ShowCase/index.tsx index 19be518..abdf06b 100644 --- a/docs/home/components/ShowCase/index.tsx +++ b/docs/home/components/ShowCase/index.tsx @@ -1,11 +1,9 @@ import React from 'react'; import { useIntl } from 'dumi'; -import Address from './Address'; // import Connect from './Connect'; // import ConnectButton from './ConnectButton'; import styles from './index.module.less'; -import NFTCard from './NFTCard'; export default function ShowCase() { const intl = useIntl(); @@ -14,7 +12,7 @@ export default function ShowCase() {
Made with ❤ by
-
AELF DESIGN
+
Aelf Design
); diff --git a/docs/index.md b/docs/index.md index cb19fa9..81a664e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,5 +1,5 @@ --- -title: AELF Design +title: Aelf Design --- diff --git a/docs/index.zh-CN.md b/docs/index.zh-CN.md index cb19fa9..81a664e 100644 --- a/docs/index.zh-CN.md +++ b/docs/index.zh-CN.md @@ -1,5 +1,5 @@ --- -title: AELF Design +title: Aelf Design --- diff --git a/packages/component/src/Button/index.md b/packages/component/src/Button/index.md index ad2ef0c..492aa06 100644 --- a/packages/component/src/Button/index.md +++ b/packages/component/src/Button/index.md @@ -22,7 +22,7 @@ group: -## debounce button +## Debounce button diff --git a/packages/component/src/Modal/index.md b/packages/component/src/Modal/index.md index 261f404..73ff259 100644 --- a/packages/component/src/Modal/index.md +++ b/packages/component/src/Modal/index.md @@ -42,9 +42,9 @@ refer to [Modal Token](https://ant.design/components/modal-cn#%E4%B8%BB%E9%A2%98 ## API | Property | Description | Type | Default | Version | -| --- | --- | --- | --- | --- | --- | +| --- | --- | --- | --- | --- | | width修改 | 设置宽度 | `string \| number` | `438` | `1.0.0` | -| closeIcon修改 | 关闭icon,`false`时不显示,非`false`展示默认 | - | `ReactNode` | - | `1.0.0` | +| closeIcon修改 | 关闭icon,`false`时不显示,非`false`展示默认 | `ReactNode \| boolean` | `true` | `1.0.0` | ## Supported API From 9c8856c9ab6dde700aa947e6fa245d15bf44c925 Mon Sep 17 00:00:00 2001 From: aelf-lxy Date: Fri, 15 Mar 2024 11:03:02 +0800 Subject: [PATCH 2/3] modify version --- packages/common/package.json | 2 +- packages/component/package.json | 2 +- packages/internal-icons/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/common/package.json b/packages/common/package.json index 4f85165..b9729c7 100755 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@aelf-design/common", - "version": "1.0.0-alpha.2", + "version": "1.0.0-alpha.3", "type": "module", "main": "dist/esm/index.js", "module": "dist/esm/index.js", diff --git a/packages/component/package.json b/packages/component/package.json index 8e44eb6..ad38b28 100755 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -1,6 +1,6 @@ { "name": "aelf-design", - "version": "1.0.0-alpha.2", + "version": "1.0.0-alpha.3", "type": "module", "main": "dist/esm/index.js", "module": "dist/esm/index.js", diff --git a/packages/internal-icons/package.json b/packages/internal-icons/package.json index 0815498..6078fc2 100755 --- a/packages/internal-icons/package.json +++ b/packages/internal-icons/package.json @@ -1,6 +1,6 @@ { "name": "@aelf-design/internal-icons", - "version": "1.0.0-alpha.2", + "version": "1.0.0-alpha.3", "type": "module", "main": "dist/esm/index.js", "module": "dist/esm/index.js", From ddeaf50c4953e220c0ff3b297b8f12841b6825b2 Mon Sep 17 00:00:00 2001 From: aelf-lxy Date: Fri, 15 Mar 2024 11:43:39 +0800 Subject: [PATCH 3/3] modify doc for table --- packages/component/src/Table/index.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/component/src/Table/index.md b/packages/component/src/Table/index.md index 8bfdd7e..7862c55 100644 --- a/packages/component/src/Table/index.md +++ b/packages/component/src/Table/index.md @@ -10,9 +10,7 @@ group: 1. customize pagination 2. customize table header -:::warning -由于重写了分页器,这个onChange不会触发分页.使用分页组件的onChange -::: +:::warning由于重写了分页器,这个onChange不会触发分页.使用分页组件的onChange ::: ## Basic Table @@ -54,8 +52,9 @@ refer to[Table Token](https://ant.design/components/table-cn#%E4%B8%BB%E9%A2%98% | Property | Description | Type | Default | Version | | --- | --- | --- | --- | --- | -| pagination change | [分页组件api](/components/pagination) | | | | -| onChange change | 分页变化不会触发这个api | | | - | +| pagination 修改 | [分页组件api](/components/pagination) | | | `1.0.0` | +| onChange 修改 | 分页变化不会触发这个api | | | `1.0.0` | ## Supported API + refer to [Table API](https://ant.design/components/table-cn#table)