@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 CHANGED
@@ -255,6 +255,9 @@ var FormFieldRadio = ({
255
255
  ...sx
256
256
  },
257
257
  children: [label && /* @__PURE__ */jsx7(Label3, {
258
+ sx: {
259
+ marginBottom: "md"
260
+ },
258
261
  children: label
259
262
  }), /* @__PURE__ */jsx7(Box2, {
260
263
  children: options.map(option => {
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.9",
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.8"
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.8"
38
+ "@ttoss/ui": "^1.36.9"
39
39
  },
40
40
  "publishConfig": {
41
41
  "access": "public"
@@ -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 (