Skip to content

docs: optimize time picker demo api docs #482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Sep 15, 2023
Merged

Conversation

kagol
Copy link
Member

@kagol kagol commented Sep 14, 2023

PR

主要优化点:

  1. size-small/size-medium/size-mini 三个demo合并成一个 size.vue,时间选择和时间范围选择的尺寸
  2. clearable/clear-icon 合并成一个 clearable.vue,隐藏清除按钮和修改清除按钮图标
  3. format/date/time-low/time-upp 合并成一个 format.vue,输入框显示的格式、下拉框显示的格式、绑定值的格式
  4. disabled/picker-options 合并成 disabled.vue,全局禁用和部分禁用
  5. basic-usage/arrow-control 合并成 basic-usage.vue,支持滚动和箭头点击两种交互方式
  6. 增加 placeholder 的 demo,之前混在别的demo里不太合理
  7. 移除跟当前demo无关的属性,每个demo聚焦展示某一个特性
  8. 增加宽度样式
  9. api按照首字母字典顺序排序

TimePicker 文档链接

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our Commit Message Guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kagol kagol added the documentation 对文档的改进或补充 label Sep 14, 2023
@kagol kagol changed the title Kagol/time picker demo api docs: optimize time picker demo api docs Sep 14, 2023
@kagol kagol force-pushed the kagol/time-picker-demo-api branch from e83c98a to 63d9e2a Compare September 14, 2023 04:00
GaoNeng-wWw
GaoNeng-wWw previously approved these changes Sep 14, 2023
@kagol kagol force-pushed the kagol/time-picker-demo-api branch from f7a6e24 to 66d4202 Compare September 14, 2023 10:26
@kagol kagol merged commit ff7890c into dev Sep 15, 2023
@kagol kagol deleted the kagol/time-picker-demo-api branch April 10, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 对文档的改进或补充
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants