Skip to content
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

feat(DatePicker): support disableTime API #3324

Merged
merged 10 commits into from
Nov 8, 2024

Conversation

myronliu347
Copy link
Contributor

@myronliu347 myronliu347 commented Sep 15, 2024

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

支持 disableTime 属性,示例中提供的禁用时间的方式不是很友好,需要维护一个不需要的pickDate 状态,且区间选择时无法区分开始/结束时间面板。

📝 更新日志

  • feat(DatePicker): 新增 disableTime API,在日期时间选择器场景下使用

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

Copy link
Contributor

完成

@uyarn uyarn added the 💭 discussion we are discussing label Sep 23, 2024
@myronliu347
Copy link
Contributor Author

这个需求评估的如何了 ?

@uyarn
Copy link
Collaborator

uyarn commented Nov 1, 2024

下周一会开双周会讨论 然后答复

@uyarn uyarn removed the 💭 discussion we are discussing label Nov 8, 2024
@uyarn uyarn changed the title feat(DatePicker): add disableTime prop feat(DatePicker): support disableTime API Nov 8, 2024
@uyarn uyarn merged commit 90312c8 into Tencent:develop Nov 8, 2024
7 checks passed
@uyarn
Copy link
Collaborator

uyarn commented Nov 8, 2024

API 录入: TDesignOteam/tdesign-api#459

@github-actions github-actions bot mentioned this pull request Nov 8, 2024
16 tasks
uyarn pushed a commit that referenced this pull request Nov 8, 2024
* fix(TimePicker): fixed only support hh:mm format

* fix(TimePicker): disabled position only is  start

* fix(Upload): fixed vue error on uploadPastedFiles is false

* docs: add readonly in api

* feat(DatePicker): add disableTime prop
uyarn added a commit that referenced this pull request Nov 8, 2024
* fix(DatePicker): panel top arrow doesn't work when using week mode

* fix(table): resolve colspan handling for multi-header (#3372)

* fix(tag-input): prevent backspace event in readonly mode and add test (#3376)

* fix(drawer): fix the issue where the header does not behave as expected (#3385)

* feat(switch): support beforeChange API (#3386)

* feat(DatePicker): support disableTime API (#3324)

* fix(TimePicker): fixed only support hh:mm format

* fix(TimePicker): disabled position only is  start

* fix(Upload): fixed vue error on uploadPastedFiles is false

* docs: add readonly in api

* feat(DatePicker): add disableTime prop

* chore: fix typo and desc (#3388)

* chore: fix typo

* chore: fix descriptions

* fix(color-picker): recentColors delete (#3384)

* fix(color-picker): recentColors delete

* fix(color-picker): format

* feat(cascader): click item to  close panel when trigger is hover (#3389)

* chore: release 1.10.5 (#3390)

* chore: release 1.10.5

* chore: changelog's changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: 阿菜 Cai <[email protected]>
Co-authored-by: 王洋 <[email protected]>
Co-authored-by: Zhong <[email protected]>
Co-authored-by: centuryPark <[email protected]>
Co-authored-by: myron <[email protected]>
Co-authored-by: wuxx <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants