@stubber/form-fields
v1.6.4
Published
An automatic form builder based on field specifications
Readme
stubber-form-fields-pkg
How to use
git clone [email protected]:stubber/stubber-form-fields-pkg.git form-fields-pkg
cd form-fields-pkg
cp .env_dev .env
pnpm install
pnpm run devPublishing
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:
# will create a new major release.
breaking: change button color to red
feat!: add new button component
# will create a new minor release.
feat: add new button component
# will create a new patch release.
fix: fix button colorSee default ruleset here
Conversion Progress:
| Component | TS DONE | TESTS DONE | | -------------------- | ---------- | ---------- | | 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 | |
Generate Features
| Feature | TS DONE | TESTS DONE | | --------------------- | ------- | ---------- | | hide_label | x | | | init_value | x | | | without_value_details | x | | | attachments | x | | | fieldbuilder support | x | |
TS Refactor
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.
