@ng-simplicity/forms-core 1.1.1 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,16 +1,21 @@
1
1
  # @ng-simplicity/forms-core
2
2
 
3
+ [![Documentation](https://img.shields.io/badge/Docs-ng--simplicity--forms.bryangwalsh.com-4f46e5.svg)](https://ng-simplicity-forms.bryangwalsh.com)
4
+
5
+ 📖 **Documentation, tutorials and live demos:** [ng-simplicity-forms.bryangwalsh.com](https://ng-simplicity-forms.bryangwalsh.com) · [Core concepts](https://ng-simplicity-forms.bryangwalsh.com/guides/core-concepts) · [API reference](https://ng-simplicity-forms.bryangwalsh.com/api)
6
+
3
7
  The core engine package for **NG-Simplicity Forms**. This package manages form states, dynamic registry injection, component lifecycle bindings, and structural layout directives (Rows, Columns, Sections, Groups, Arrays). It enables you to construct highly dynamic, complex forms where control properties (such as visibility, enabled/disabled state, select options, and validation rules) reactively adapt in real-time based on the current values inside the form. The engine is highly customizable, allowing you to develop and add your own custom form controls to the registry to be used in the form rendering.
4
8
 
5
9
  This core package is extended by styling integration packages that provide prebuilt themed form components:
6
10
  - **[@ng-simplicity/forms-bootstrap](../forms-bootstrap/README.md)**: Dynamic forms pre-styled with Bootstrap form fields and layouts.
7
11
  - **[@ng-simplicity/forms-material](../forms-material/README.md)**: Dynamic forms pre-styled with Angular Material inputs and controls.
12
+ - **[@ng-simplicity/forms-tailwind](../forms-tailwind/README.md)**: Dynamic forms styled with Tailwind CSS utility classes, with every class overridable through `provideNgsFormsTailwindClasses()`.
8
13
 
9
14
  ## Compatibility
10
15
 
11
16
  | Package | Package version | Angular support |
12
17
  |---|---:|---|
13
- | `@ng-simplicity/forms-core` | `1.1.1` | `17.x`–`22.x` |
18
+ | `@ng-simplicity/forms-core` | `1.1.3` | `17.x`–`22.x` |
14
19
 
15
20
  ---
16
21
 
@@ -22,6 +27,16 @@ Add this package to your Angular application:
22
27
  npm install @ng-simplicity/forms-core
23
28
  ```
24
29
 
30
+ To render prebuilt inputs, add one styling package and register its components:
31
+
32
+ | Styling | Install | Register |
33
+ |---|---|---|
34
+ | Bootstrap 5 | `npm install @ng-simplicity/forms-bootstrap bootstrap` | `NgsFormsBootstrapModule.registerAllBootStrapComponents(registry)` |
35
+ | Angular Material | `npm install @ng-simplicity/forms-material` (after `ng add @angular/material`) | `NgsFormsMaterialModule.registerAllMaterialComponents(registry)` |
36
+ | Tailwind CSS | `npm install @ng-simplicity/forms-tailwind`, then add `@source '../node_modules/@ng-simplicity/forms-tailwind';` to your Tailwind stylesheet | `NgsFormsTailwindModule.registerAllTailwindComponents(registry)` |
37
+
38
+ Each `registerAll…` helper also registers the core structural components, so it is the only registration call you need. See each package's README for full setup.
39
+
25
40
  ---
26
41
 
27
42
  ## Architecture Overview
@@ -517,6 +532,7 @@ Ensure your custom configuration type extends one of these core interfaces for f
517
532
  Fully functional example applications demonstrating the form engine functionality are located in the [`apps/`](../../apps) folder of this monorepo:
518
533
  - **`forms-bootstrap-demo`**: Integrates and showcases the `@ng-simplicity/forms-bootstrap` package.
519
534
  - **`forms-material-demo`**: Integrates and showcases the `@ng-simplicity/forms-material` package.
535
+ - **`forms-tailwind-demo`**: Integrates and showcases the `@ng-simplicity/forms-tailwind` package.
520
536
 
521
537
  ---
522
538