mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-01-12 23:32:55 +01:00
Co-Authored-By: Eric Tuvesson <eric.tuvesson@gmail.com> Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com> Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com> Co-Authored-By: Anders Larsson <64838990+anders-topp@users.noreply.github.com> Co-Authored-By: Johan <4934465+joolsus@users.noreply.github.com> Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com> Co-Authored-By: victoratndl <99176179+victoratndl@users.noreply.github.com>
Components are very basic at the moment, bnut here is the philosophy
- everything is not properly styled yet, and not all components are built, but at least its a start :D
- components are isoloated from rest of design system and are not using any components outside of components/property-panel. this is so that we can bundle them separately for the future editor SDK. maybe this has to be rethought in the future.
- PropertyPanelInput takes a config object and returns the type of input specified
- all components are controlled
- value is sent through value prop, other details are sent with the properties prop
- the typable inputs save the value in a displayedInputValue state to allow for a decoupling of updating the value and showing it. this is done to allow manipulating the value before storing it. storing is done on enter press or blur.