@contentful/field-editor-radio 1.3.0 → 1.4.0

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.
@@ -62,7 +62,7 @@ function RadioEditor(props) {
62
62
  }
63
63
  const direction = locales.direction[field.locale] || 'ltr';
64
64
  return _react.createElement(_fieldeditorshared.FieldConnector, {
65
- throttle: 0,
65
+ debounce: 0,
66
66
  field: field,
67
67
  isInitiallyDisabled: props.isInitiallyDisabled
68
68
  }, ({ disabled , value , setValue })=>{
@@ -13,7 +13,7 @@ export function RadioEditor(props) {
13
13
  }
14
14
  const direction = locales.direction[field.locale] || 'ltr';
15
15
  return React.createElement(FieldConnector, {
16
- throttle: 0,
16
+ debounce: 0,
17
17
  field: field,
18
18
  isInitiallyDisabled: props.isInitiallyDisabled
19
19
  }, ({ disabled , value , setValue })=>{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-radio",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -37,19 +37,18 @@
37
37
  "dependencies": {
38
38
  "@contentful/f36-components": "^4.0.27",
39
39
  "@contentful/f36-tokens": "^4.0.0",
40
- "@contentful/field-editor-dropdown": "^1.3.0",
41
- "@contentful/field-editor-shared": "^1.3.0",
40
+ "@contentful/field-editor-dropdown": "^1.4.0",
41
+ "@contentful/field-editor-shared": "^1.4.0",
42
42
  "emotion": "^10.0.17",
43
43
  "lodash": "^4.17.15",
44
- "lodash-es": "^4.17.15",
45
44
  "nanoid": "^3.1.3"
46
45
  },
47
46
  "devDependencies": {
48
- "@contentful/field-editor-test-utils": "^1.4.0",
47
+ "@contentful/field-editor-test-utils": "^1.4.1",
49
48
  "contentful-management": "^10.0.0"
50
49
  },
51
50
  "peerDependencies": {
52
51
  "react": ">=16.8.0"
53
52
  },
54
- "gitHead": "543e02672a8dd4edc810f9f3568d6b69c454e1f9"
53
+ "gitHead": "2db95226af0417c42aae8d1be85796fc8774e283"
55
54
  }