Skip to content

Commit

Permalink
Merge pull request #79 from AElf-devops/release/v1.0.0
Browse files Browse the repository at this point in the history
Release/v1.0.0
  • Loading branch information
aelf-lxy authored Mar 15, 2024
2 parents 57089dd + ddeaf50 commit 4a4586b
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 25 deletions.
14 changes: 7 additions & 7 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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',
Expand All @@ -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',
Expand Down Expand Up @@ -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: [
[
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div align="center">

<img height="180" src="https://img2.imgtp.com/2024/03/01/EXKVhuMo.svg">
<img height="180" src="https://ipfs.io/ipfs/QmWtjvb47DU1EQ4MpridFY1ow4214aAWCkhGu3ZF4xvRSY/">

<h1 align="center">AELF Design</h1>
<h1 align="center">Aelf Design</h1>
</div>

## develop
Expand Down
4 changes: 1 addition & 3 deletions docs/home/components/ShowCase/index.tsx
Original file line number Diff line number Diff line change
@@ -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();
Expand All @@ -14,7 +12,7 @@ export default function ShowCase() {
<div className={styles.container}>
<div className={styles.footer}>
<div className={styles.footerText}>Made with ❤ by</div>
<div className={styles.footerDesc}>AELF DESIGN</div>
<div className={styles.footerDesc}>Aelf Design</div>
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: AELF Design
title: Aelf Design
---

<code src="./home/index" inline><code>
2 changes: 1 addition & 1 deletion docs/index.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: AELF Design
title: Aelf Design
---

<code src="./home/index" inline><code>
2 changes: 1 addition & 1 deletion packages/common/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/component/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/component/src/Button/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ group:

<code src="./demos/type.tsx"></code>

## debounce button
## Debounce button

<code src="./demos/debounce.tsx"></code>

Expand Down
4 changes: 2 additions & 2 deletions packages/component/src/Modal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<Badge type='warning'>修改</Badge> | 设置宽度 | `string \| number` | `438` | `1.0.0` |
| closeIcon<Badge type='warning'>修改</Badge> | 关闭icon,`false`时不显示,非`false`展示默认 | - | `ReactNode` | - | `1.0.0` |
| closeIcon<Badge type='warning'>修改</Badge> | 关闭icon,`false`时不显示,非`false`展示默认 | `ReactNode \| boolean` | `true` | `1.0.0` |

## Supported API

Expand Down
9 changes: 4 additions & 5 deletions packages/component/src/Table/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ group:
1. customize pagination
2. customize table header

:::warning
由于重写了分页器,这个onChange不会触发分页.使用分页组件的onChange
:::
:::warning由于重写了分页器,这个onChange不会触发分页.使用分页组件的onChange :::

## Basic Table

Expand Down Expand Up @@ -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 <Badge type="info">change</Badge> | [分页组件api](/components/pagination) | | | |
| onChange <Badge type="info">change</Badge> | 分页变化不会触发这个api | | | - |
| pagination <Badge type='warning'>修改</Badge> | [分页组件api](/components/pagination) | | | `1.0.0` |
| onChange <Badge type='warning'>修改</Badge> | 分页变化不会触发这个api | | | `1.0.0` |

## Supported API

refer to [Table API](https://ant.design/components/table-cn#table)
2 changes: 1 addition & 1 deletion packages/internal-icons/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 4a4586b

Please sign in to comment.