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

New Component tag-input and select-input #433

Merged
merged 21 commits into from
Mar 4, 2022
Merged

Conversation

PengYYYYY
Copy link
Collaborator

@PengYYYYY PengYYYYY commented Feb 18, 2022

🤔 这个 PR 的性质是?

  • 修改点如下
  • checkbox :
    • change 事件新增参数,context.current 表示当前变化的数据项;context.type 表示引起选中数据变化的是选中或是取消选中
    • checkbox-group: 渲染key换为index+vale, 增加点击事件
  • Input:
    • input 元素 ref 名称由refInputElem 更为 inputRef(breaking change,原因:和 React ,vue3保持统一)
    • 同时支持驼峰命名和中划线命名的 suffix和prefix
    • 增加autoWith属性
  • component.ts: 整理import顺序和官网菜单一致
  • hooks:增加 tnode,useVmodel,useDefault,
  • 增加 tag-input 和 select-input 两个组件

🔗 相关 Issue

💡 需求背景和解决方案

新组件 tag-input

📝 更新日志

  • feat(tag-input): 新增组件 tag-input

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

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

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 18, 2022

完成

@PengYYYYY PengYYYYY changed the title feat: add tag-input compoent New Component tag-input Feb 18, 2022
@PengYYYYY PengYYYYY changed the title New Component tag-input [WIP] New Component tag-input Feb 18, 2022
@PengYYYYY PengYYYYY changed the title [WIP] New Component tag-input New Component tag-input Feb 18, 2022
@PengYYYYY PengYYYYY changed the title New Component tag-input [WIP] New Component tag-input Feb 18, 2022
@PengYYYYY PengYYYYY changed the title [WIP] New Component tag-input New Component tag-input and select-input Mar 2, 2022
src/checkbox/checkbox.tsx Outdated Show resolved Hide resolved
src/hooks/useVModel.ts Show resolved Hide resolved
src/hooks/useDefault.ts Outdated Show resolved Hide resolved
src/input/input.tsx Show resolved Hide resolved
src/select-input/useMultiple.tsx Outdated Show resolved Hide resolved
src/tag-input/useTagList.tsx Show resolved Hide resolved
src/utils/render-tnode.ts Show resolved Hide resolved
@xiaosansiji
Copy link
Collaborator

两个新组件也维护下贡献者信息吧,在 oms 里
image

@chaishi chaishi merged commit 493ead6 into develop Mar 4, 2022
@chaishi chaishi deleted the feat/component/tag-input branch March 4, 2022 07:32
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.

3 participants