iguazio.dashboard-react-controls 1.7.0 → 1.7.1
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.
|
@@ -231,13 +231,13 @@ var FormInput = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
231
231
|
if (inputProps.max && +valueToValidate > +inputProps.max) {
|
|
232
232
|
validationError = {
|
|
233
233
|
name: 'maxValue',
|
|
234
|
-
label: "The maximum value
|
|
234
|
+
label: "The maximum value must be ".concat(inputProps.max)
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
if (inputProps.min && +valueToValidate < +inputProps.min) {
|
|
238
238
|
validationError = {
|
|
239
239
|
name: 'minValue',
|
|
240
|
-
label: "The minimum value
|
|
240
|
+
label: "The minimum value must be ".concat(inputProps.min)
|
|
241
241
|
};
|
|
242
242
|
}
|
|
243
243
|
}
|
|
@@ -98,7 +98,7 @@ var FormKeyValueTable = function FormKeyValueTable(_ref) {
|
|
|
98
98
|
required: isKeyRequired,
|
|
99
99
|
validationRules: [{
|
|
100
100
|
name: 'uniqueness',
|
|
101
|
-
label: 'Name
|
|
101
|
+
label: 'Name must be unique',
|
|
102
102
|
pattern: function pattern(newValue) {
|
|
103
103
|
return uniquenessValidator(fields, newValue);
|
|
104
104
|
}
|
package/dist/scss/common.scss
CHANGED
|
@@ -96,9 +96,12 @@ textarea {
|
|
|
96
96
|
|
|
97
97
|
.link {
|
|
98
98
|
color: $cornflowerBlue;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
line-height: 20px;
|
|
99
101
|
|
|
100
102
|
&:hover {
|
|
101
103
|
text-decoration: underline;
|
|
104
|
+
text-underline-offset: 3px;
|
|
102
105
|
}
|
|
103
106
|
}
|
|
104
107
|
|
|
@@ -180,7 +183,7 @@ textarea {
|
|
|
180
183
|
}
|
|
181
184
|
|
|
182
185
|
&.form-table__row_invalid {
|
|
183
|
-
background-color: rgba($amaranth, 0.15)
|
|
186
|
+
background-color: rgba($amaranth, 0.15);
|
|
184
187
|
}
|
|
185
188
|
|
|
186
189
|
&_multiline {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-react-controls",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|