@contentful/field-editor-slug 1.3.2 → 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.
@@ -115,7 +115,7 @@ function SlugEditor(props) {
115
115
  }, ({ titleValue , isPublished , isSame })=>_react.createElement(_fieldeditorshared.FieldConnector, {
116
116
  field: field,
117
117
  isInitiallyDisabled: props.isInitiallyDisabled,
118
- throttle: 0
118
+ debounce: 0
119
119
  }, ({ value , errors , disabled , setValue , externalReset })=>{
120
120
  const shouldTrackTitle = isPublished === false && isSame === false;
121
121
  const Component = shouldTrackTitle ? _SlugEditorField.SlugEditorField : _SlugEditorField.SlugEditorFieldStatic;
@@ -66,7 +66,7 @@ export function SlugEditor(props) {
66
66
  }, ({ titleValue , isPublished , isSame })=>React.createElement(FieldConnector, {
67
67
  field: field,
68
68
  isInitiallyDisabled: props.isInitiallyDisabled,
69
- throttle: 0
69
+ debounce: 0
70
70
  }, ({ value , errors , disabled , setValue , externalReset })=>{
71
71
  const shouldTrackTitle = isPublished === false && isSame === false;
72
72
  const Component = shouldTrackTitle ? SlugEditorField : SlugEditorFieldStatic;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-slug",
3
- "version": "1.3.2",
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",
@@ -38,7 +38,7 @@
38
38
  "@contentful/f36-components": "^4.0.27",
39
39
  "@contentful/f36-icons": "^4.1.0",
40
40
  "@contentful/f36-tokens": "^4.0.0",
41
- "@contentful/field-editor-shared": "^1.3.1",
41
+ "@contentful/field-editor-shared": "^1.4.0",
42
42
  "@types/speakingurl": "^13.0.2",
43
43
  "emotion": "^10.0.17",
44
44
  "lodash": "^4.17.15",
@@ -53,5 +53,5 @@
53
53
  "@contentful/app-sdk": "^4.2.0",
54
54
  "react": ">=16.8.0"
55
55
  },
56
- "gitHead": "ca904b19ca794a2c40d82e1f7ede9e0be3560f22"
56
+ "gitHead": "2db95226af0417c42aae8d1be85796fc8774e283"
57
57
  }