An automatic form builder based on field specifications
npm install @stubber/form-fields```
git clone git@github.com:stubber/stubber-form-fields-pkg.git form-fields-pkg
cd form-fields-pkg
cp .env_dev .env
pnpm install
pnpm run dev
We use semantic-release to automate the versioning and package publishing process. To publish a new version of the package, follow these steps:
Simply make a commit with a message that follows the Conventional Commits specification, and push it to the master branch. The commit message should include a type (feat, fix, chore, etc.) and an optional scope.
For example:
`bashwill create a new major release.
breaking: change button color to red
feat!: add new button component
See default ruleset here
Conversion Progress:
| Component | TS DONE | IS STRING |
| -------------------- | ---------- | --------- |
| AgGrid | x | |
| Arraybuilder | x | |
| Checkbox | x | |
| CheckboxAutocomplete | x | |
| Code | x | |
| Contactselector | x | |
| Currency | x | |
| Dataindication | x | |
| Date | x | |
| Datetime | x | |
| Email | x | |
| Fieldbuilder | x | |
| Fieldsbuilder | deprecated | |
| File | x | |
| Heading | x | |
| Hidden | x | |
| Hiddenlocation | x | |
| Html | x | |
| Jsoneditor | x | |
| Map | x | |
| Multicheckbox | x | |
| Multistep | x | |
| Note | x | |
| Number | x | |
| Objectbuilder | x | |
| Qrcodescanner | x | |
| Radio | x | |
| Renderfield | deprecated | |
| Screenrecorder | x | |
| Screenshot | x | |
| Scrollandreaddisplay | x | |
| Section | x | |
| Select | x | |
| Selectresource | x | |
| Signature | x | |
| Slider | x | |
| SmartText | x | |
| Telephone | x | |
| Text | x | |
| Voicenote | x | |
For now src/lib/fields2 exports a refactored and rewritten form fields implementation.
The existing implementation is still present for now, but will be removed in future.
This allows us to slowly switch editor/squared over to the new implementation without breaking everything at once.