@ttoss/forms 0.17.9 → 0.17.10
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/dist/esm/index.js +3 -0
- package/dist/index.js +3 -0
- package/package.json +3 -3
- package/src/FormFieldRadio.tsx +2 -2
package/dist/esm/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -307,6 +307,9 @@ var FormFieldRadio = ({
|
|
|
307
307
|
...sx
|
|
308
308
|
},
|
|
309
309
|
children: [label && /* @__PURE__ */(0, import_jsx_runtime7.jsx)(import_ui7.Label, {
|
|
310
|
+
sx: {
|
|
311
|
+
marginBottom: "md"
|
|
312
|
+
},
|
|
310
313
|
children: label
|
|
311
314
|
}), /* @__PURE__ */(0, import_jsx_runtime7.jsx)(import_ui7.Box, {
|
|
312
315
|
children: options.map(option => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/forms",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.10",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "ttoss",
|
|
6
6
|
"contributors": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"react": ">=16.8.0",
|
|
25
|
-
"@ttoss/ui": "^1.36.
|
|
25
|
+
"@ttoss/ui": "^1.36.9"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/jest": "^29.5.1",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"yup": "^1.1.1",
|
|
36
36
|
"@ttoss/config": "^1.30.0",
|
|
37
37
|
"@ttoss/test-utils": "^1.23.1",
|
|
38
|
-
"@ttoss/ui": "^1.36.
|
|
38
|
+
"@ttoss/ui": "^1.36.9"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
package/src/FormFieldRadio.tsx
CHANGED
|
@@ -27,9 +27,9 @@ export const FormFieldRadio = <TFieldValues extends FieldValues = FieldValues>({
|
|
|
27
27
|
|
|
28
28
|
return (
|
|
29
29
|
<Flex sx={{ flexDirection: 'column', width: '100%', ...sx }}>
|
|
30
|
-
{label && <Label>{label}</Label>}
|
|
30
|
+
{label && <Label sx={{ marginBottom: 'md' }}>{label}</Label>}
|
|
31
31
|
<Box>
|
|
32
|
-
{options.map((option) => {
|
|
32
|
+
{options.map((option: FormRadioOption) => {
|
|
33
33
|
const id = `form-field-radio-${name}-${option.value}`;
|
|
34
34
|
|
|
35
35
|
return (
|