@contentful/field-editor-reference 5.3.1 → 5.3.3

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.
@@ -797,11 +797,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
797
797
 
798
798
 
799
799
  var IteratorPrototype = {};
800
-
801
- IteratorPrototype[iteratorSymbol] = function () {
800
+ define(IteratorPrototype, iteratorSymbol, function () {
802
801
  return this;
803
- };
804
-
802
+ });
805
803
  var getProto = Object.getPrototypeOf;
806
804
  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
807
805
 
@@ -812,8 +810,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
812
810
  }
813
811
 
814
812
  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
815
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
816
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
813
+ GeneratorFunction.prototype = GeneratorFunctionPrototype;
814
+ define(Gp, "constructor", GeneratorFunctionPrototype);
815
+ define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
817
816
  GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
818
817
  // Iterator interface in terms of a single ._invoke method.
819
818
 
@@ -918,11 +917,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
918
917
  }
919
918
 
920
919
  defineIteratorMethods(AsyncIterator.prototype);
921
-
922
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
920
+ define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
923
921
  return this;
924
- };
925
-
922
+ });
926
923
  exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
927
924
  // AsyncIterator objects; they just return a Promise for the value of
928
925
  // the final result produced by the iterator.
@@ -1099,13 +1096,12 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
1099
1096
  // object to not be returned from this call. This ensures that doesn't happen.
1100
1097
  // See https://github.com/facebook/regenerator/issues/274 for more details.
1101
1098
 
1102
- Gp[iteratorSymbol] = function () {
1099
+ define(Gp, iteratorSymbol, function () {
1103
1100
  return this;
1104
- };
1105
-
1106
- Gp.toString = function () {
1101
+ });
1102
+ define(Gp, "toString", function () {
1107
1103
  return "[object Generator]";
1108
- };
1104
+ });
1109
1105
 
1110
1106
  function pushTryEntry(locs) {
1111
1107
  var entry = {
@@ -1417,14 +1413,19 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
1417
1413
  } catch (accidentalStrictMode) {
1418
1414
  // This module should not be running in strict mode, so the above
1419
1415
  // assignment should always work unless something is misconfigured. Just
1420
- // in case runtime.js accidentally runs in strict mode, we can escape
1416
+ // in case runtime.js accidentally runs in strict mode, in modern engines
1417
+ // we can explicitly access globalThis. In older engines we can escape
1421
1418
  // strict mode using a global Function call. This could conceivably fail
1422
1419
  // if a Content Security Policy forbids using Function, but in that case
1423
1420
  // the proper solution is to fix the accidental strict mode problem. If
1424
1421
  // you've misconfigured your bundler to force strict mode and applied a
1425
1422
  // CSP to forbid Function, and you're not willing to fix either of those
1426
1423
  // problems, please detail your unique predicament in a GitHub issue.
1427
- Function("r", "regeneratorRuntime = r")(runtime);
1424
+ if (typeof globalThis === "object") {
1425
+ globalThis.regeneratorRuntime = runtime;
1426
+ } else {
1427
+ Function("r", "regeneratorRuntime = r")(runtime);
1428
+ }
1428
1429
  }
1429
1430
  });
1430
1431
 
@@ -2945,9 +2946,6 @@ function WrappedEntryCard(props) {
2945
2946
  size: props.size,
2946
2947
  isSelected: props.isSelected,
2947
2948
  status: status,
2948
- style: props.spaceName ? {
2949
- backgroundColor: tokens.gray100
2950
- } : undefined,
2951
2949
  icon: props.spaceName ? createElement(SpaceName, {
2952
2950
  spaceName: props.spaceName
2953
2951
  }) : createElement(ScheduledIconWithTooltip, {