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: add label prop API for date pickers and range input #3169

Merged
merged 4 commits into from
May 14, 2024

Conversation

fython
Copy link
Contributor

@fython fython commented May 11, 2024

🤔 这个 PR 的性质是?

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

🔗 相关 Issue

  1. API 改动: feat(date-picker): add label prop API TDesignOteam/tdesign-api#278
  2. common 样式修复: fix: RangeInput & Input style fixes tdesign-common#1793

💡 需求背景和解决方案

RangeInputPopup / DatePicker / DateRangePicker 添加 label 属性支持

📝 更新日志

  • feat(RangeInputPopup): 新增 label 属性
  • feat(DatePicker): 对 DatePicker / DateRangePicker 组件新增 label 属性

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

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

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

…omponents & fix related styles

Signed-off-by: Siubeng <fython@163.com>
@fython
Copy link
Contributor Author

fython commented May 11, 2024

本次改动仅对 Vue(PC) 版本实现,未同步 React 或其他框架实现,因此未提供新的演示文档,请评估是否需要补充 cc @uyarn

@fython fython changed the title feat: 为范围输入/日期输入/日期范围输入组件添加 label 属性支持 feat: add label prop API for date pickers and range input May 11, 2024
Copy link
Contributor

github-actions bot commented May 13, 2024

完成

@fython
Copy link
Contributor Author

fython commented May 14, 2024

补充了 submodule src/_common 的更新 1236cf5 ,主要对齐上游 develop 分支中合入的 Tencent/tdesign-common#1793 改动

@uyarn
Copy link
Collaborator

uyarn commented May 14, 2024

需要补充md API描述文件的label描述
即此PR的.md文件的改动 TDesignOteam/tdesign-api#278

@uyarn uyarn merged commit 6a41eca into Tencent:develop May 14, 2024
6 checks passed
@github-actions github-actions bot mentioned this pull request May 16, 2024
16 tasks
uyarn added a commit that referenced this pull request May 16, 2024
---------

Signed-off-by: Siubeng <fython@163.com>
Co-authored-by: Uyarn <uyarnchen@gmail.com>
uyarn added a commit that referenced this pull request May 16, 2024
* fix(upload): fix options method (#3155)

* chore: update common

* fix(upload): fix options method

* chore: update common

---------

Co-authored-by: Uyarn <uyarnchen@gmail.com>

* chore: fix docs (#3161)

* chore: fix docs

* chore: fix lint

* fix(color-picker): 修复切换预览颜色时,通道按钮位置不变的问题 (#3163)

* feat(input): add borderless mode (#3162)

* feat: add label prop API for date pickers and range input (#3169)

---------

Signed-off-by: Siubeng <fython@163.com>
Co-authored-by: Uyarn <uyarnchen@gmail.com>

* fix(range-input): 修复 prefix/suffix 内容未应用居中样式的问题 (#3175)

* fix(range-input): add missing classes to fix unexpected align of prefix/suffix in component

* test(range-input): update snapshots for range-input and related components

* fix(select): fix default value missing (#3177)

* fix(select): fix default value missing

* chore: update snapshot

* chore: update common to synchronize style and docs fix (#3178)

* chore: release 1.9.4-naruto

---------

Signed-off-by: Siubeng <fython@163.com>
Co-authored-by: Yunfei Shen <shenyf0608@163.com>
Co-authored-by: fennghuang <89014758+fennghuang@users.noreply.github.com>
Co-authored-by: Siubeng <fython@163.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.

None yet

2 participants