From e197751d01b9f72639026c74ba5010170a45a3ad Mon Sep 17 00:00:00 2001 From: lijianan <574980606@qq.com> Date: Mon, 5 Feb 2024 09:39:35 +0800 Subject: [PATCH] docs: update variant docs version (#47340) --- components/date-picker/index.en-US.md | 4 ++-- components/date-picker/index.zh-CN.md | 4 ++-- components/time-picker/index.en-US.md | 4 ++-- components/time-picker/index.zh-CN.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index 33cf8c0ed8..7ecd784774 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -36,7 +36,7 @@ By clicking the input box, you can select a date from a popup calendar. Customize Panel Buddhist Era Status -Variants +Variants Filled Debug Placement Controlled Panels @@ -129,7 +129,7 @@ The following APIs are shared by DatePicker, RangePicker. | suffixIcon | The custom suffix icon | ReactNode | - | | | superNextIcon | The custom super next icon | ReactNode | - | 4.17.0 | | superPrevIcon | The custom super prev icon | ReactNode | - | 4.17.0 | -| variant | Variants of picker | `outlined` \| `borderless` \| `filled` | `outlined` | 5.14.0 | +| variant | Variants of picker | `outlined` \| `borderless` \| `filled` | `outlined` | 5.13.0 | | onOpenChange | Callback function, can be executed whether the popup calendar is popped up or closed | function(open) | - | | | onPanelChange | Callback when picker panel mode is changed | function(value, mode) | - | | diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index 21f50cfb8c..8a38e253ce 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -37,7 +37,7 @@ demo: 定制面板 佛历格式 自定义状态 -多种形态 +多种形态 Filled Debug 弹出位置 受控面板 @@ -130,7 +130,7 @@ import 'dayjs/locale/zh-cn'; | suffixIcon | 自定义的选择框后缀图标 | ReactNode | - | | | superNextIcon | 自定义 `>>` 切换图标 | ReactNode | - | 4.17.0 | | superPrevIcon | 自定义 `<<` 切换图标 | ReactNode | - | 4.17.0 | -| variant | 形态变体 | `outlined` \| `borderless` \| `filled` | `outlined` | 5.14.0 | +| variant | 形态变体 | `outlined` \| `borderless` \| `filled` | `outlined` | 5.13.0 | | onOpenChange | 弹出日历和关闭日历的回调 | function(open) | - | | | onPanelChange | 日历面板切换的回调 | function(value, mode) | - | | diff --git a/components/time-picker/index.en-US.md b/components/time-picker/index.en-US.md index b768a8bcfe..8debf367f7 100644 --- a/components/time-picker/index.en-US.md +++ b/components/time-picker/index.en-US.md @@ -28,7 +28,7 @@ By clicking the input box, you can select a time from a popup panel. Change on scroll Colored Popup Time Range Picker -Variants +Variants Status Suffix _InternalPanelDoNotUseOrYouWillBeFired @@ -78,7 +78,7 @@ dayjs.extend(customParseFormat) | suffixIcon | The custom suffix icon | ReactNode | - | | | use12Hours | Display as 12 hours format, with default format `h:mm:ss a` | boolean | false | | | value | To set time | [dayjs](http://day.js.org/) | - | | -| variant | Variants of picker | `outlined` \| `borderless` \| `filled` | `outlined` | 5.14.0 | +| variant | Variants of picker | `outlined` \| `borderless` \| `filled` | `outlined` | 5.13.0 | | onChange | A callback function, can be executed when the selected time is changing | function(time: dayjs, timeString: string): void | - | | | onOpenChange | A callback function which will be called while panel opening/closing | (open: boolean) => void | - | | | onSelect | A callback function, executes when a value is selected | function(time: dayjs): void | - | | diff --git a/components/time-picker/index.zh-CN.md b/components/time-picker/index.zh-CN.md index 385e5f3857..cab01b5b2f 100644 --- a/components/time-picker/index.zh-CN.md +++ b/components/time-picker/index.zh-CN.md @@ -29,7 +29,7 @@ demo: 滚动即改变 色付きポップアップ 范围选择器 -多种形态 +多种形态 自定义状态 后缀图标 _InternalPanelDoNotUseOrYouWillBeFired @@ -78,7 +78,7 @@ dayjs.extend(customParseFormat) | suffixIcon | 自定义的选择框后缀图标 | ReactNode | - | | | use12Hours | 使用 12 小时制,为 true 时 `format` 默认为 `h:mm:ss a` | boolean | false | | | value | 当前时间 | [dayjs](http://day.js.org/) | - | | -| variant | 形态变体 | `outlined` \| `borderless` \| `filled` | `outlined` | 5.14.0 | +| variant | 形态变体 | `outlined` \| `borderless` \| `filled` | `outlined` | 5.13.0 | | onChange | 时间发生变化的回调 | function(time: dayjs, timeString: string): void | - | | | onOpenChange | 面板打开/关闭时的回调 | (open: boolean) => void | - | |