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(ColorPicker): add color-picker #222

Merged
merged 2 commits into from
Jan 16, 2024
Merged

feat(ColorPicker): add color-picker #222

merged 2 commits into from
Jan 16, 2024

Conversation

anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Jan 15, 2024

新增移动端ColorPicker组件 API:

功能:base 版本支持单色模式

具体api:
value 色值
format 格式化色值(组件内部不需要支持下拉切换)
enableAlpha 是否开启透明通道
showPrimaryColorPreview 是否展示颜色选择条右侧的颜色预览区域
swatchColors 系统预设颜色
type 颜色选择器类型(base: 仅展示系统预设; multiple: 色板+系统预设)

事件
change
paletteBarChange

Copy link
Contributor

@jin0209 jin0209 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anlyyao
Copy link
Collaborator Author

anlyyao commented Jan 16, 2024

showPrimaryColorPreview 暂时不做

@anlyyao anlyyao merged commit 0938a0f into main Jan 16, 2024
2 checks passed
@anlyyao anlyyao deleted the feat/mobile/color-picker branch January 16, 2024 09:00
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