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

【Input组件升级】任务单 #460

Closed
5 tasks
Tracked by #389
anlyyao opened this issue Aug 16, 2024 · 1 comment · Fixed by #467
Closed
5 tasks
Tracked by #389

【Input组件升级】任务单 #460

anlyyao opened this issue Aug 16, 2024 · 1 comment · Fixed by #467
Labels
issueshoot 代码共建平台 middle middle level of difficulties

Comments

@anlyyao
Copy link
Collaborator

anlyyao commented Aug 16, 2024

我们最终的目标是希望 Mobile Vue 和 Mobile React可以共用一套样式文件、一套示例文档。目前 Mobile Vue 端已发布Stable版本,因此在做组件升级时,我们需要和 Mobile Vue端的同名组件保持一样的 DOM结构,以复用一套样式,组件示例文件命名也应和 Mobile Vue 端命名保持一致,以复用一套示例文档。

开发指引

mobile react:组件升级指引

任务清单

  • API功能对齐Mobile Vue端
  • DOM 结构对齐Mobile Vue端
  • 改用 V2文件夹下样式
  • 官网示例代码&&演示示例对齐Mobile Vue端
  • 组件/ 组件示例文件后缀使用 tsx

相关 issues

激励

参与共建的开发者,将可以获得 TDesign 周边(贴纸、鼠标垫、工卡套等);

成为核心贡献者,将会拥有 TDesign 专属头像。

IssueShoot

  • 预估时长: 5
  • 期望完成时间: 2024-08-23 00:00:00 +0000 UTC
  • 开发难度: 中
  • 参与人数: 1
  • 需求对接人: anlyyao
  • 验收标准: 实现期望改造效果,提 PR 并通过验收无误
  • 备注: 最终激励以实际提交 pull request 并合并为准
Copy link
Contributor

👋 @anlyyao,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@anlyyao anlyyao changed the title Input 【Input组件升级】任务单 Aug 16, 2024
@anlyyao anlyyao added issueshoot 代码共建平台 middle middle level of difficulties labels Aug 16, 2024
slatejack added a commit to slatejack/tdesign-mobile-react that referenced this issue Aug 16, 2024
update input style to v2, alignment vue mobile

feat Tencent#460
slatejack added a commit to slatejack/tdesign-mobile-react that referenced this issue Aug 16, 2024
update input, update style to v2, alignment vue mobile

feat Tencent#460
anlyyao pushed a commit that referenced this issue Aug 19, 2024
* feat(input): update input

update input, update style to v2, alignment vue mobile

feat #460

* fix(input): update input type

* fix(input): fix input style and types, update docs

* feat(input): update input demo

* style(input): fix input demo code style

* fix(input): fix import react type

* fix(input): update input value change method

remove input value change method with set input.value

* fix(input): update input type definition method

update input props type import and simplify judgment condition

* fix(input): use parseTNode function to render TNode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issueshoot 代码共建平台 middle middle level of difficulties
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant