@itcase/forms 1.1.34 → 1.1.35
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.
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.form-field {
|
|
15
|
-
&
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
&
|
|
15
|
+
&_radio {
|
|
16
|
+
&.form-field_size {
|
|
17
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
18
|
+
&_$(size) {
|
|
19
|
+
& .form-radio {
|
|
20
20
|
gap: var(--form-filed-radio-size-$(size)-gap);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -26,4 +26,5 @@
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
:root {
|
|
29
|
+
--form-filed-radio-size-m-gap: 12px;
|
|
29
30
|
}
|
package/dist/itcase-forms.cjs.js
CHANGED
|
@@ -2372,7 +2372,7 @@ const RadioGroup = /*#__PURE__*/React__default.default.memo(function RadioGroup(
|
|
|
2372
2372
|
validationStateKey: isErrorState ? errorKey : 'success'
|
|
2373
2373
|
});
|
|
2374
2374
|
return /*#__PURE__*/React__default.default.createElement(FieldWrapper, Object.assign({
|
|
2375
|
-
className: clsx__default.default('form-field_radio', 'form__item_radio
|
|
2375
|
+
className: clsx__default.default('form-field_radio', 'form__item_radio', classNameGroupItem),
|
|
2376
2376
|
errorKey: errorKey,
|
|
2377
2377
|
errorMessage: errorMessage,
|
|
2378
2378
|
isErrorState: isErrorState,
|
package/dist/itcase-forms.esm.js
CHANGED
|
@@ -2361,7 +2361,7 @@ const RadioGroup = /*#__PURE__*/React.memo(function RadioGroup(props) {
|
|
|
2361
2361
|
validationStateKey: isErrorState ? errorKey : 'success'
|
|
2362
2362
|
});
|
|
2363
2363
|
return /*#__PURE__*/React.createElement(FieldWrapper, Object.assign({
|
|
2364
|
-
className: clsx('form-field_radio', 'form__item_radio
|
|
2364
|
+
className: clsx('form-field_radio', 'form__item_radio', classNameGroupItem),
|
|
2365
2365
|
errorKey: errorKey,
|
|
2366
2366
|
errorMessage: errorMessage,
|
|
2367
2367
|
isErrorState: isErrorState,
|