[ColorPicker] Update API for input-less trigger#913
Open
tjujingzong wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 这个 PR 的性质是?
🔗 相关 Issue
close Tencent/tdesign-common#2567
💡 需求背景和解决方案
ColorPicker 需要支持只展示颜色色块、不展示色值输入框的触发器形态。该能力由组件侧新增
isInputAPI 承载,默认保持现有输入框触发器行为。本次在
tdesign-api中补充 ColorPicker 的 API 元数据,并同步生成 Vue Next 产物:isInputAPIbooleantruefalse时,仅展示颜色色块,不展示颜色值输入框type.ts、props.ts和中英文 API 文档生成结果用法示例: