pegasystems / constellation-ui-gallery

This open-source repository provides a collection of ready-to-use and customizable Constellation DX components. Use this resource to gain inspiration, best practices, and a solid foundation for implementing custom components.
https://pegasystems.github.io/constellation-ui-gallery/
Apache License 2.0
30 stars 22 forks source link

Adding image magnify component #57

Closed marjald closed 4 months ago

marjald commented 4 months ago

Working on a component to perform image magnification - a feature that was suggested by Nike as a nice to have. Testing wrapping the react-image-magnifiers package. @jeankhawand has agreed to look at storybook code. @ricmars could you please review and see if suitable for UI Gallery?

vijayjangid commented 4 months ago

Could you please add a Docs.mdx file and add details about the use of the component and it's authoring configurations. For reference, you can check any existing field type component Example: Checkbox Trigger Component

ricmars commented 4 months ago

Don't bother with this PR - there are couple of other changes to be fixed - I will work on a new PR and merge the changes - I will leverage as much as possible

ricmars commented 4 months ago

PR with the new component has been merged https://github.com/pegasystems/constellation-ui-gallery/pull/59/files

I fixed the story and added documentation to the type + added a Unit test. Also fixed the config.json to set defaults