@contentful/field-editor-slug 3.1.2-canary.0 → 3.2.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.
@@ -81,7 +81,7 @@ function FieldConnectorCallback({ Component, value, disabled, setValue, errors,
81
81
  maxLength: maxLength
82
82
  }));
83
83
  }
84
- function SlugEditor({ isInitiallyDisabled = true, autoGenerationStrategy = 'field', baseSdk, field, parameters, id }) {
84
+ function SlugEditor({ isInitiallyDisabled, autoGenerationStrategy = 'field', baseSdk, field, parameters, id }) {
85
85
  const { locales, entry, cma } = baseSdk;
86
86
  if (!isSupportedFieldTypes(field.type)) {
87
87
  throw new Error(`"${field.type}" field type is not supported by SlugEditor`);
@@ -30,7 +30,7 @@ function FieldConnectorCallback({ Component, value, disabled, setValue, errors,
30
30
  maxLength: maxLength
31
31
  }));
32
32
  }
33
- export function SlugEditor({ isInitiallyDisabled = true, autoGenerationStrategy = 'field', baseSdk, field, parameters, id }) {
33
+ export function SlugEditor({ isInitiallyDisabled, autoGenerationStrategy = 'field', baseSdk, field, parameters, id }) {
34
34
  const { locales, entry, cma } = baseSdk;
35
35
  if (!isSupportedFieldTypes(field.type)) {
36
36
  throw new Error(`"${field.type}" field type is not supported by SlugEditor`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-slug",
3
- "version": "3.1.2-canary.0+47091d1a",
3
+ "version": "3.2.0",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "registry": "https://npm.pkg.github.com/"
61
61
  },
62
- "gitHead": "47091d1abb29563fed7044e3763966dcddd14636"
62
+ "gitHead": "f33e45c17a6c9c9a3836e8990e158ae95f749b3d"
63
63
  }