@arbocollab/arbo-plugin-item-table 0.0.127 → 0.0.129

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/CHANGELOG.md CHANGED
@@ -2,6 +2,108 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [0.0.128] - 2026-02-04
6
+
7
+ ### 🚀 Features
8
+
9
+ **Metric Editor - Enhanced Validation System**
10
+
11
+ **Real-time Validation:**
12
+
13
+ - Added live validation for metric number inputs
14
+ - Displays contextual error messages based on validation rules
15
+ - Disabled confirm button when input is invalid
16
+ - Visual error state with red border (#d92d20)
17
+
18
+ **Validation Types:**
19
+
20
+ - Range validation: Shows "Enter a value between {min} and {max}"
21
+ - Excluded values: Shows "These values are not allowed: {values}"
22
+ - Exact values: Shows "Value is not allowed"
23
+ - Empty/null values are always considered valid
24
+
25
+ **User Experience:**
26
+
27
+ - Error messages appear below the input field
28
+ - Confirm button is disabled until valid input is provided
29
+ - Prevents submission of invalid data
30
+ - Clear, contextual error messaging
31
+
32
+ **Metric Editor Input**
33
+
34
+ **Enhanced Change Handling:**
35
+
36
+ - Added handleChange event emission for real-time validation
37
+ - Removed blocking validation on save to allow error display
38
+ - Better separation of validation and save logic
39
+ - Maintains cached value for revert functionality
40
+
41
+ **Input Text Component**
42
+
43
+ **Validation Improvements:**
44
+
45
+ - Added handleChange event emission
46
+ - Enhanced validation logging for debugging
47
+ - Better error state tracking with watcher
48
+ - Real-time validation feedback
49
+
50
+ ### 🔧 Bug Fixes
51
+
52
+ **Validation Logic Corrections**
53
+
54
+ - Fixed inverted validation logic in validatorFnc:
55
+ - Range validation: Now correctly validates if value is within range (was inverted with !isNumber)
56
+ - Not validation: Now correctly excludes specified values
57
+ - Exact validation: Now correctly validates if value matches allowed values
58
+ - Changed to use Math.floor() for integer comparison
59
+
60
+ **DisplayWrapper Error State:**
61
+
62
+ - Re-enabled error border color (#d92d20)
63
+ - Better visual indication of validation errors
64
+
65
+ ### 🎨 Style Improvements
66
+
67
+ **Error Messaging**
68
+
69
+ - Added global .error-text class for consistent error styling
70
+ - Font size: 12px
71
+ - Color: #d92d20 (error red)
72
+ - Applied to validation error messages
73
+
74
+ **Visual Feedback**
75
+
76
+ - Error border color consistently applied across components
77
+ - Better distinction between valid and invalid states
78
+
79
+ ### 🔧 Technical Improvements
80
+
81
+ **Validation Flow**
82
+
83
+ - Centralized validation in MetricEditor component
84
+ - Real-time validation on input change
85
+ - Error message generation based on metric configuration
86
+ - Better state management with isValid ref
87
+
88
+ **Code Quality**
89
+
90
+ - Added validation logging for debugging
91
+ - Better separation of concerns between input and validation
92
+ - Cleaner event handling chain
93
+ - Improved type safety with validation checks
94
+
95
+ **Developer Experience**
96
+
97
+ - Changed dev entity ID for testing purposes
98
+ - Better console logging for validation debugging
99
+ - More maintainable validation logic
100
+
101
+ ### 📦 Version Updates
102
+
103
+ - **@arbocollab/arbo-plugin-item-table:** Updated from `0.0.127` to `0.0.128`
104
+
105
+ ---
106
+
5
107
  ## [0.0.127] - 2026-02-04
6
108
 
7
109
  ### 🚀 Features