[犀牛鸟]feat(ColorPicker): Add input-less trigger support - #6766
[犀牛鸟]feat(ColorPicker): Add input-less trigger support#6766tjujingzong wants to merge 3 commits into
Conversation
TDesign Component Site Preview Open
|
commit: |
Thanks for the preview. I checked it locally together with the changes from Tencent/tdesign-common#2587. The behavior works as expected locally:
The StackBlitz preview currently uses the existing Could you please confirm whether this cross-repository implementation is acceptable, or whether you prefer the hiding behavior to be implemented directly in |
|
/update-common 2587 |
We will uniformly point everyone's PR's common submodule to the corresponding common PR branch, so we can checkout your rendered changes in the preview link |



🤔 这个 PR 的性质是?
🔗 相关 Issue
close Tencent/tdesign-common#2567
💡 需求背景和解决方案
ColorPicker 需要支持只展示颜色色块、不展示色值输入框的触发器形态,用于不需要直接编辑色值、
只通过面板选择颜色的场景。
本次为 Vue Next ColorPicker 新增
isInputAPI:isInput类型为booleantrue,保持现有展示色值输入框的行为不变isInput为false时,触发器仅展示颜色色块,隐藏颜色值输入内容no-input示例和单元测试用法示例:
📝 更新日志
tdesign-vue-next
@tdesign-vue-next/chat
@tdesign-vue-next/nuxt
@tdesign-vue-next/auto-import-resolver
请求合并前的自查清单