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

Added [x]Props for ColorPicker component #2211

Merged
merged 85 commits into from
Sep 16, 2024
Merged

Conversation

smmr-dn
Copy link
Contributor

@smmr-dn smmr-dn commented Aug 28, 2024

Changes

Added the ability to have custom props for each sub-component of ColorPicker.
New props added associated with each sub-component are:

  • ColorBuilder: colorFieldProps, colorDotProps, opacitySliderProps, and hueSliderProps.
  • ColorInputPanel: panelLabelProps, colorInputContainerProps, inputFieldsGroupProps. and swapColorFormatButtonProps.
  • ColorPalette: labelProps, and paletteContainerProps.

Testing

Added unit tests for the new props listed above.

Docs

Added new changeset.

@smmr-dn smmr-dn self-assigned this Aug 30, 2024
@smmr-dn
Copy link
Contributor Author

smmr-dn commented Sep 11, 2024

Should each color <Input/> be allowed customization as well?

I felt that this would be too specific. So, I had thought to not expose customization for those, at least for now, at least imo.

Right, I can see that might be too much.

Copy link
Member

@r100-stack r100-stack left a 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 🚀

@smmr-dn smmr-dn merged commit 8203d0b into main Sep 16, 2024
15 of 16 checks passed
@smmr-dn smmr-dn deleted the uyen/color-picker-props branch September 16, 2024 18:13
@imodeljs-admin imodeljs-admin mentioned this pull request Sep 16, 2024
@smmr-dn smmr-dn mentioned this pull request Sep 19, 2024
32 tasks
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