@sio-group/form-react 0.1.0

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +783 -0
  3. package/ROADMAP.md +21 -0
  4. package/dist/index.cjs +1919 -0
  5. package/dist/index.d.cts +284 -0
  6. package/dist/index.d.ts +284 -0
  7. package/dist/index.js +1878 -0
  8. package/dist/styles/components/button.css +244 -0
  9. package/dist/styles/components/button.css.map +1 -0
  10. package/dist/styles/components/checkbox.css +90 -0
  11. package/dist/styles/components/checkbox.css.map +1 -0
  12. package/dist/styles/components/color.css +31 -0
  13. package/dist/styles/components/color.css.map +1 -0
  14. package/dist/styles/components/form-field.css +36 -0
  15. package/dist/styles/components/form-field.css.map +1 -0
  16. package/dist/styles/components/form-states.css +80 -0
  17. package/dist/styles/components/form-states.css.map +1 -0
  18. package/dist/styles/components/grid.css +818 -0
  19. package/dist/styles/components/grid.css.map +1 -0
  20. package/dist/styles/components/input.css +112 -0
  21. package/dist/styles/components/input.css.map +1 -0
  22. package/dist/styles/components/link.css +113 -0
  23. package/dist/styles/components/link.css.map +1 -0
  24. package/dist/styles/components/radio.css +104 -0
  25. package/dist/styles/components/radio.css.map +1 -0
  26. package/dist/styles/components/range.css +54 -0
  27. package/dist/styles/components/range.css.map +1 -0
  28. package/dist/styles/components/select.css +37 -0
  29. package/dist/styles/components/select.css.map +1 -0
  30. package/dist/styles/components/upload.css +54 -0
  31. package/dist/styles/components/upload.css.map +1 -0
  32. package/dist/styles/index.css +1733 -0
  33. package/dist/styles/index.css.map +1 -0
  34. package/package.json +42 -0
  35. package/screenshots/contact-form.png +0 -0
  36. package/screenshots/file-input.png +0 -0
  37. package/screenshots/invalid-username.png +0 -0
  38. package/screenshots/number-field.png +0 -0
  39. package/screenshots/radio-field.png +0 -0
  40. package/screenshots/range-field.png +0 -0
  41. package/screenshots/registration-form.png +0 -0
  42. package/screenshots/select-field.png +0 -0
  43. package/screenshots/textarea-field.png +0 -0
  44. package/tsconfig.tsbuildinfo +1 -0
  45. package/tsup.config.ts +8 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,97 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ### Added
10
+
11
+ - Initial release of `@sio-group/form-react` package
12
+ - **Form Component** - Complete form renderer with layout support
13
+ - **useForm Hook** - Central form state management
14
+ - **Individual Field Components**
15
+ - **Button Components**
16
+ - **Layout System**
17
+ - **Form State Tracking**
18
+ - **File Upload Features**
19
+
20
+ ### Changed
21
+
22
+ - N/A (initial release)
23
+
24
+ ### Deprecated
25
+
26
+ - N/A (initial release)
27
+
28
+ ### Removed
29
+
30
+ - N/A (initial release)
31
+
32
+ ### Fixed
33
+
34
+ - N/A (initial release)
35
+
36
+ ### Security
37
+
38
+ - N/A (initial release)
39
+ -
40
+ ---
41
+
42
+ ## [0.1.0] - 2024-03-13
43
+
44
+ ### Added
45
+
46
+ - Initial beta release
47
+ - Complete form rendering system
48
+ - All core field components
49
+ - useForm hook with full state management
50
+ - Responsive layout grid
51
+ - Button system with variants and colors
52
+ - File upload handling
53
+ - Comprehensive test coverage
54
+ - Documentation with examples
55
+ - TypeScript definitions
56
+
57
+ ---
58
+
59
+ ## Versioning Guidelines
60
+
61
+ This project follows [SemVer](https://semver.org/):
62
+ - **MAJOR** version for incompatible API changes
63
+ - **MINOR** version for new functionality in a backward compatible manner
64
+ - **PATCH** version for backward compatible bug fixes
65
+
66
+ ## Release History
67
+
68
+ | Version | Date | Highlights |
69
+ |---------|------------|----------------------|
70
+ | 0.1.0 | 2024-03-13 | Initial beta release |
71
+ | 1.0.0 | TBD | Stable release |
72
+
73
+ ---
74
+
75
+ ## Upgrade Guides
76
+
77
+ ### From 0.x to 1.x
78
+ *Coming soon*
79
+
80
+ ---
81
+
82
+ ## Migration Notes
83
+
84
+ ### Beta Users
85
+ If you're using the beta version (0.x), please note that the API is considered stable, but minor changes may occur before the 1.0.0 release. Check the release notes for any breaking changes.
86
+
87
+ ### Breaking Changes in Future Versions
88
+ - **1.0.0** - First stable release (no breaking changes planned)
89
+
90
+ ---
91
+
92
+ ## Dependencies
93
+
94
+ ### Internal Dependencies
95
+ - `@sio-group/form-types` - Shared type definitions
96
+ - `@sio-group/form-builder` - Form structure builder (optional)
97
+ - `@sio-group/form-validation` - Validation rules (optional)