Skip to content

Commit

Permalink
fix: released v2.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenlingasMx committed Aug 22, 2023
1 parent e466ec1 commit 93b8372
Show file tree
Hide file tree
Showing 29 changed files with 99 additions and 99 deletions.
12 changes: 6 additions & 6 deletions examples/antdp-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
},
"dependencies": {
"@ant-design/pro-components": "^2.4.14",
"@antdp/authorized": "2.0.19",
"@antdp/basic-layouts": "2.0.19",
"@antdp/hooks": "2.0.19",
"@antdp/request": "2.0.19",
"@antdp/authorized": "2.0.21",
"@antdp/basic-layouts": "2.0.21",
"@antdp/hooks": "2.0.21",
"@antdp/request": "2.0.21",
"ahooks": "~3.7.2",
"antd": "5.6.1",
"react": "^18.2.0",
Expand All @@ -35,8 +35,8 @@
"antd": "5.6.1"
},
"devDependencies": {
"@antdp/config": "2.0.19",
"@antdp/dependencies": "2.0.19",
"@antdp/config": "2.0.21",
"@antdp/dependencies": "2.0.21",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/fabric": "~2.14.1",
Expand Down
14 changes: 7 additions & 7 deletions examples/basic/package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"name": "@example/basic",
"private": true,
"version": "2.0.20",
"version": "2.0.21",
"scripts": {
"start": "max dev",
"build": "max build",
"umiinstall": "max setup"
},
"dependencies": {
"@ant-design/pro-components": "^2.4.14",
"@antdp/authorized": "2.0.20",
"@antdp/basic-layouts": "2.0.20",
"@antdp/hooks": "2.0.20",
"@antdp/user-login": "2.0.20",
"@antdp/authorized": "2.0.21",
"@antdp/basic-layouts": "2.0.21",
"@antdp/hooks": "2.0.21",
"@antdp/user-login": "2.0.21",
"antd": "5.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
Expand All @@ -26,8 +26,8 @@
"antd": "5.6.1"
},
"devDependencies": {
"@antdp/config": "2.0.20",
"@antdp/dependencies": "2.0.20",
"@antdp/config": "2.0.21",
"@antdp/dependencies": "2.0.21",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@umijs/max": "~4.0.47",
Expand Down
30 changes: 15 additions & 15 deletions examples/website/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@example/website",
"version": "2.0.20",
"version": "2.0.21",
"private": true,
"description": "new webiste with kktp.",
"scripts": {
Expand All @@ -16,20 +16,20 @@
"react-dom": ">=16.14.0"
},
"dependencies": {
"@antdp/antdp-ui": "2.0.20",
"@antdp/authorized": "2.0.20",
"@antdp/basic-layouts": "2.0.20",
"@antdp/config": "2.0.20",
"@antdp/dependencies": "2.0.20",
"@antdp/document-title": "2.0.20",
"@antdp/edit-table": "2.0.20",
"@antdp/fullscreen": "2.0.20",
"@antdp/fuzzy-query": "2.0.20",
"@antdp/hooks": "2.0.20",
"@antdp/layout-tabs": "2.0.20",
"@antdp/page-loading": "2.0.20",
"@antdp/request": "2.0.20",
"@antdp/user-login": "2.0.20",
"@antdp/antdp-ui": "2.0.21",
"@antdp/authorized": "2.0.21",
"@antdp/basic-layouts": "2.0.21",
"@antdp/config": "2.0.21",
"@antdp/dependencies": "2.0.21",
"@antdp/document-title": "2.0.21",
"@antdp/edit-table": "2.0.21",
"@antdp/fullscreen": "2.0.21",
"@antdp/fuzzy-query": "2.0.21",
"@antdp/hooks": "2.0.21",
"@antdp/layout-tabs": "2.0.21",
"@antdp/page-loading": "2.0.21",
"@antdp/request": "2.0.21",
"@antdp/user-login": "2.0.21",
"@babel/plugin-proposal-private-property-in-object": "7.21.0",
"@babel/plugin-syntax-unicode-sets-regex": "7.18.6",
"@types/styled-components": "^5.1.26",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"packages": ["examples/*", "packages/*"],
"version": "2.0.20",
"version": "2.0.21",
"command": {
"create": {
"license": "MIT"
Expand Down
22 changes: 11 additions & 11 deletions packages/antdp-edit-table/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
EditTable 编辑表格
===

### 依赖安装
## 依赖安装

```bash
npm i @antdp/edit-table
```
### 基本使用
## 基本使用
```tsx mdx:preview
import React from 'react';
import { Input, Col, InputNumber, Button, Select ,Form} from 'antd';
Expand Down Expand Up @@ -118,7 +118,7 @@ const EditableTable =() => {
export default EditableTable
```

### 操作列在第一列
## 操作列在第一列
```tsx mdx:preview
import React from 'react';
import { Input, Col, InputNumber, Button, Select ,Form} from 'antd';
Expand Down Expand Up @@ -191,7 +191,7 @@ const EditableTable =() => {
export default EditableTable
```

### 显示删除按钮
## 显示删除按钮
```tsx mdx:preview
import React from 'react';
import { Input, Col, InputNumber, Button, Select ,Form} from 'antd';
Expand Down Expand Up @@ -264,7 +264,7 @@ const EditableTable =() => {
export default EditableTable
```

### 允许同时编辑多行
## 允许同时编辑多行
```tsx mdx:preview
import React from 'react';
import { Input, Col, InputNumber, Button, Select ,Form} from 'antd';
Expand Down Expand Up @@ -338,7 +338,7 @@ const EditableTable =() => {
export default EditableTable
```

### 无操作和新增
## 无操作和新增
```tsx mdx:preview
import React from 'react';
import { Input, Col, InputNumber, Button, Select ,Form} from 'antd';
Expand Down Expand Up @@ -409,7 +409,7 @@ const EditableTable =() => {
export default EditableTable
```

### API
## API
| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
| columns || `ColumnsProps[]` | - |
Expand All @@ -429,7 +429,7 @@ export default EditableTable
| addBtnProps | 新增按钮配置 | `ButtonProps` | - |
| store | form 存储表单 | `Store` | - |

### ColumnsProps
## ColumnsProps
| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
| editable | 是否编辑 | `boolean` | - |
Expand All @@ -444,7 +444,7 @@ export default EditableTable
| listAttr | List 组件参数 | `Omit<ListProps, 'children' \| 'name'>` | - |
| render | 自定义 渲染(列原始默认的自定义渲染,加了个 other 参数,不是编辑状态下的表格渲染) , other 参数 只有操作列才有 | `(value: any,record: any,index: number,other?: OtherProps) => React.ReactNode \| RenderedCell<any>` | - |

### OtherProps
## OtherProps
| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
| editingKey | 编辑中字段 | `any[]` | - |
Expand All @@ -456,7 +456,7 @@ export default EditableTable
| onDelete | 删除 ,`id:主键``rowItem 当前行数据``index:下标` | `(id: string \| number, rowItem: any, index: number) => void` | - |
| edit | 编辑 按钮 ,`record 当前行数` | `(record: any) => void` | - |

### ref 返回值
## ref 返回值

| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
Expand All @@ -470,7 +470,7 @@ export default EditableTable
| newAdd | 是否编辑 新增的数据 | `(string \| number)[]` | - |
| forms | 收集 所有 表单 | `Store` | - |

### Item 组件参数
## Item 组件参数
| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
| preName | 当前行数据存储父级的name list时不用传 | `string` | - |
Expand Down
2 changes: 1 addition & 1 deletion packages/antdp-edit-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antdp/edit-table",
"version": "2.0.20",
"version": "2.0.21",
"description": "基于antd封装的组件",
"license": "MIT",
"main": "lib/index.js",
Expand Down
8 changes: 4 additions & 4 deletions packages/antdp-fuzzy-query/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FuzzyQuery 模糊查询
===

### 依赖安装
## 依赖安装

```bash
npm i @antdp/fuzzy-query
```

### 基本使用
## 基本使用

<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->
```tsx mdx:preview
Expand Down Expand Up @@ -44,7 +44,7 @@ const Query =() => {
export default Query
```

### 延迟时间5s
## 延迟时间5s
```tsx mdx:preview
import React from 'react';
import { Input, Col, InputNumber, Button, Select ,Form} from 'antd';
Expand Down Expand Up @@ -80,7 +80,7 @@ const Query =() => {
export default Query
```

### API
## API
[更多参数参考 antd5 Select组件](https://ant.design/components/select-cn#api)

| 参数 | 说明 | 类型 | 默认值 |
Expand Down
2 changes: 1 addition & 1 deletion packages/antdp-fuzzy-query/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antdp/fuzzy-query",
"version": "2.0.20",
"version": "2.0.21",
"description": "基于antd封装的组件 模糊查询 自定义提示",
"license": "MIT",
"main": "lib/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/antdp-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antdp/antdp-ui",
"version": "2.0.20",
"version": "2.0.21",
"description": "基于antd封装的组件",
"homepage": "https://antdpro.github.io/antdp",
"main": "lib/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
},
"dependencies": {
"@ant-design/icons": "5.1.4",
"@antdp/authorized": "2.0.20",
"@antdp/authorized": "2.0.21",
"@babel/runtime": "~7.20.1",
"classnames": "2.3.2",
"immutability-helper": "^3.1.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/antdp-ui/src/ButtonGroupPro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ButtonGroupPro

ButtonGroupPro权限按钮组

### 案例
## 案例

```tsx mdx:preview
import React from "react";
Expand Down Expand Up @@ -40,7 +40,7 @@ const Demo = ()=>(
export default Demo;
```

### Props
## Props
组件继承antd的 [`Button`](https://ant.design/components/button-cn/#header)


Expand Down
4 changes: 2 additions & 2 deletions packages/antdp-ui/src/CardPro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ CardPro 卡片
> 🚧 该组件为内用组件, 取消了 `Card` 默认的 `border`<!--rehype:style=color: #e00000;--><!--rehype:style=color: #e00000;--> 支持自定义样式
<!--rehype:style=border-left: 8px solid #ffe564;background-color: #ffe56440;padding: 12px 16px;-->
### 基础示例
## 基础示例

```jsx mdx:preview
import React from "react"
Expand All @@ -23,7 +23,7 @@ const Demo = () => (
export default Demo
```

### Props
## Props

组件继承 [`Card`](https://ant.design/components/card-cn/#header)

Expand Down
4 changes: 2 additions & 2 deletions packages/antdp-ui/src/FormDetail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FormDetail 快速详情表单

快速生成详情表单表单。

### 基础示例
## 基础示例


<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->
Expand Down Expand Up @@ -44,7 +44,7 @@ export default FormDetailDemo;
```
<!--End-->

### Props
## Props

| 参数 | 说明 | 类型 | 默认值 |
| -------- | -------- | -------- | -------- |
Expand Down
4 changes: 2 additions & 2 deletions packages/antdp-ui/src/InputCount/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ InputCount

可用于短信验证

### 基础示例
## 基础示例

<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->
```jsx mdx:preview
Expand All @@ -26,7 +26,7 @@ export default Demo
```
<!--End-->

### Props
## Props
组件继承 [`Input`](https://ant.design/components/input-cn/#header)[`Button`](https://ant.design/components/button-cn/#header)

| 参数 | 说明 | 类型 | 默认值 |
Expand Down
Loading

0 comments on commit 93b8372

Please sign in to comment.