diff --git a/components/input/index.en-US.md b/components/input/index.en-US.md index d4d7b9ce96..2836265010 100644 --- a/components/input/index.en-US.md +++ b/components/input/index.en-US.md @@ -26,7 +26,7 @@ A basic widget for getting the user input is a text field. Keyboard and mouse ca | disabled | Whether the input is disabled | boolean | false | | | id | The ID for input | string | - | | | maxLength | The max length | number | - | | -| showCount | Whether show text count | boolean \| { formatter: ({ count: number, maxLength?: number }) => ReactNode } | false | 4.17.0 | +| showCount | Whether show text count | boolean \| { formatter: ({ count: number, maxLength?: number }) => ReactNode } | false | 4.18.0 | | prefix | The prefix icon for the Input | ReactNode | - | | | size | The size of the input box. Note: in the context of a form, the `large` size is used | `large` \| `middle` \| `small` | - | | | suffix | The suffix icon for the Input | ReactNode | - | | diff --git a/components/input/index.zh-CN.md b/components/input/index.zh-CN.md index a10a6ed979..96a7b434c8 100644 --- a/components/input/index.zh-CN.md +++ b/components/input/index.zh-CN.md @@ -27,7 +27,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/xS9YEJhfe/Input.svg | disabled | 是否禁用状态,默认为 false | boolean | false | | | id | 输入框的 id | string | - | | | maxLength | 最大长度 | number | - | | -| showCount | 是否展示字数 | boolean \| { formatter: ({ count: number, maxLength?: number }) => ReactNode } | false | 4.17.0 | +| showCount | 是否展示字数 | boolean \| { formatter: ({ count: number, maxLength?: number }) => ReactNode } | false | 4.18.0 | | prefix | 带有前缀图标的 input | ReactNode | - | | | size | 控件大小。注:标准表单内的输入框大小限制为 `large` | `large` \| `middle` \| `small` | - | | | suffix | 带有后缀图标的 input | ReactNode | - | | diff --git a/components/modal/index.en-US.md b/components/modal/index.en-US.md index f444054cd8..e1497346d8 100644 --- a/components/modal/index.en-US.md +++ b/components/modal/index.en-US.md @@ -87,7 +87,7 @@ The items listed above are all functions, expecting a settings object as paramet | style | Style of floating layer, typically used at least for adjusting the position | CSSProperties | - | | | title | Title | ReactNode | - | | | width | Width of the modal dialog | string \| number | 416 | | -| wrapClassName | The class name of the container of the modal dialog | string | - | 4.17.0 | +| wrapClassName | The class name of the container of the modal dialog | string | - | 4.18.0 | | zIndex | The `z-index` of the Modal | number | 1000 | | | onCancel | Specify a function that will be called when the user clicks the Cancel button. The parameter of this function is a function whose execution should include closing the dialog. If the function does not take any parameter (`!onCancel.length`) then modal dialog will be closed unless returned value is `true` (`!!onCancel()`). You can also just return a promise and when the promise is resolved, the modal dialog will also be closed | function(close) | - | | | onOk | Specify a function that will be called when the user clicks the OK button. The parameter of this function is a function whose execution should include closing the dialog. If the function does not take any parameter (`!onOk.length`) then modal dialog will be closed unless returned value is `true` (`!!onOk()`). You can also just return a promise and when the promise is resolved, the modal dialog will also be closed | function(close) | - | | diff --git a/components/modal/index.zh-CN.md b/components/modal/index.zh-CN.md index be5793abf4..6a064a260c 100644 --- a/components/modal/index.zh-CN.md +++ b/components/modal/index.zh-CN.md @@ -90,7 +90,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/3StSdUlSH/Modal.svg | style | 可用于设置浮层的样式,调整浮层位置等 | CSSProperties | - | | | title | 标题 | ReactNode | - | | | width | 宽度 | string \| number | 416 | | -| wrapClassName | 对话框外层容器的类名 | string | - | 4.17.0 | +| wrapClassName | 对话框外层容器的类名 | string | - | 4.18.0 | | zIndex | 设置 Modal 的 `z-index` | number | 1000 | | | onCancel | 取消回调,参数为关闭函数,返回 promise 时 resolve 后自动关闭 | function(close) | - | | | onOk | 点击确定回调,参数为关闭函数,返回 promise 时 resolve 后自动关闭 | function(close) | - | | diff --git a/components/popconfirm/index.en-US.md b/components/popconfirm/index.en-US.md index ad7e8b03cb..ed194a7b32 100644 --- a/components/popconfirm/index.en-US.md +++ b/components/popconfirm/index.en-US.md @@ -24,7 +24,7 @@ The difference with the `confirm` modal dialog is that it's more lightweight tha | okButtonProps | The ok button props | [ButtonProps](/components/button/#API) | - | | | okText | The text of the Confirm button | string | `OK` | | | okType | Button `type` of the Confirm button | string | `primary` | | -| showCancel | Show cancel button | boolean | true | 4.17.0 | +| showCancel | Show cancel button | boolean | true | 4.18.0 | | title | The title of the confirmation box | ReactNode \| () => ReactNode | - | | | onCancel | A callback of cancel | function(e) | - | | | onConfirm | A callback of confirmation | function(e) | - | | diff --git a/components/popconfirm/index.zh-CN.md b/components/popconfirm/index.zh-CN.md index 410766f737..2375512ad9 100644 --- a/components/popconfirm/index.zh-CN.md +++ b/components/popconfirm/index.zh-CN.md @@ -25,7 +25,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/fjMCD9xRq/Popconfirm.svg | okButtonProps | ok 按钮 props | [ButtonProps](/components/button/#API) | - | | | okText | 确认按钮文字 | string | `确定` | | | okType | 确认按钮类型 | string | `primary` | | -| showCancel | 是否显示取消按钮 | boolean | true | 4.17.0 | +| showCancel | 是否显示取消按钮 | boolean | true | 4.18.0 | | title | 确认框的描述 | ReactNode \| () => ReactNode | - | | | onCancel | 点击取消的回调 | function(e) | - | | | onConfirm | 点击确认的回调 | function(e) | - | |