-
Notifications
You must be signed in to change notification settings - Fork 38
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
Added [x]Props for ColorPicker
component
#2211
Conversation
…winUI into uyen/virtualization-bug
Right, I can see that might be too much. |
packages/itwinui-react/src/core/ColorPicker/ColorInputPanel.tsx
Outdated
Show resolved
Hide resolved
packages/itwinui-react/src/core/ColorPicker/ColorInputPanel.tsx
Outdated
Show resolved
Hide resolved
packages/itwinui-react/src/core/ColorPicker/ColorPicker.test.tsx
Outdated
Show resolved
Hide resolved
packages/itwinui-react/src/core/ColorPicker/ColorInputPanel.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the few remaining comments are resolved 🚀
Changes
Added the ability to have custom
props
for each sub-component ofColorPicker
.New props added associated with each sub-component are:
ColorBuilder
:colorFieldProps
,colorDotProps
,opacitySliderProps
, andhueSliderProps
.ColorInputPanel
:panelLabelProps
,colorInputContainerProps
,inputFieldsGroupProps
. andswapColorFormatButtonProps
.ColorPalette
:labelProps
, andpaletteContainerProps
.Testing
Added unit tests for the new props listed above.
Docs
Added new changeset.