@dotcms/react 0.0.1-alpha.13 → 0.0.1-alpha.14

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/index.esm.js CHANGED
@@ -9,7 +9,7 @@ var check = function (it) {
9
9
  };
10
10
 
11
11
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
12
- var global$c =
12
+ var global$b =
13
13
  // eslint-disable-next-line es/no-global-this -- safe
14
14
  check(typeof globalThis == 'object' && globalThis) ||
15
15
  check(typeof window == 'object' && window) ||
@@ -129,17 +129,17 @@ var $TypeError$6 = TypeError;
129
129
 
130
130
  // `RequireObjectCoercible` abstract operation
131
131
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
132
- var requireObjectCoercible$2 = function (it) {
132
+ var requireObjectCoercible$3 = function (it) {
133
133
  if (isNullOrUndefined$1(it)) throw new $TypeError$6("Can't call method on " + it);
134
134
  return it;
135
135
  };
136
136
 
137
137
  // toObject with fallback for non-array-like ES3 strings
138
138
  var IndexedObject$1 = indexedObject;
139
- var requireObjectCoercible$1 = requireObjectCoercible$2;
139
+ var requireObjectCoercible$2 = requireObjectCoercible$3;
140
140
 
141
141
  var toIndexedObject$5 = function (it) {
142
- return IndexedObject$1(requireObjectCoercible$1(it));
142
+ return IndexedObject$1(requireObjectCoercible$2(it));
143
143
  };
144
144
 
145
145
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -156,11 +156,11 @@ var isCallable$d = typeof documentAll == 'undefined' && documentAll !== undefine
156
156
 
157
157
  var isCallable$c = isCallable$d;
158
158
 
159
- var isObject$7 = function (it) {
159
+ var isObject$8 = function (it) {
160
160
  return typeof it == 'object' ? it !== null : isCallable$c(it);
161
161
  };
162
162
 
163
- var global$b = global$c;
163
+ var global$a = global$b;
164
164
  var isCallable$b = isCallable$d;
165
165
 
166
166
  var aFunction = function (argument) {
@@ -168,7 +168,7 @@ var aFunction = function (argument) {
168
168
  };
169
169
 
170
170
  var getBuiltIn$3 = function (namespace, method) {
171
- return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
171
+ return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
172
172
  };
173
173
 
174
174
  var uncurryThis$8 = functionUncurryThis;
@@ -177,11 +177,11 @@ var objectIsPrototypeOf = uncurryThis$8({}.isPrototypeOf);
177
177
 
178
178
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
179
179
 
180
- var global$a = global$c;
180
+ var global$9 = global$b;
181
181
  var userAgent = engineUserAgent;
182
182
 
183
- var process = global$a.process;
184
- var Deno = global$a.Deno;
183
+ var process = global$9.process;
184
+ var Deno = global$9.Deno;
185
185
  var versions = process && process.versions || Deno && Deno.version;
186
186
  var v8 = versions && versions.v8;
187
187
  var match, version;
@@ -208,9 +208,9 @@ var engineV8Version = version;
208
208
  /* eslint-disable es/no-symbol -- required for testing */
209
209
  var V8_VERSION = engineV8Version;
210
210
  var fails$7 = fails$b;
211
- var global$9 = global$c;
211
+ var global$8 = global$b;
212
212
 
213
- var $String$4 = global$9.String;
213
+ var $String$4 = global$8.String;
214
214
 
215
215
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
216
216
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
@@ -278,7 +278,7 @@ var getMethod$1 = function (V, P) {
278
278
 
279
279
  var call$4 = functionCall;
280
280
  var isCallable$8 = isCallable$d;
281
- var isObject$6 = isObject$7;
281
+ var isObject$7 = isObject$8;
282
282
 
283
283
  var $TypeError$4 = TypeError;
284
284
 
@@ -286,55 +286,55 @@ var $TypeError$4 = TypeError;
286
286
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
287
287
  var ordinaryToPrimitive$1 = function (input, pref) {
288
288
  var fn, val;
289
- if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$4(fn, input))) return val;
290
- if (isCallable$8(fn = input.valueOf) && !isObject$6(val = call$4(fn, input))) return val;
291
- if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$6(val = call$4(fn, input))) return val;
289
+ if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$7(val = call$4(fn, input))) return val;
290
+ if (isCallable$8(fn = input.valueOf) && !isObject$7(val = call$4(fn, input))) return val;
291
+ if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$7(val = call$4(fn, input))) return val;
292
292
  throw new $TypeError$4("Can't convert object to primitive value");
293
293
  };
294
294
 
295
- var shared$3 = {exports: {}};
295
+ var sharedStore = {exports: {}};
296
296
 
297
- var global$8 = global$c;
297
+ var global$7 = global$b;
298
298
 
299
299
  // eslint-disable-next-line es/no-object-defineproperty -- safe
300
300
  var defineProperty$5 = Object.defineProperty;
301
301
 
302
302
  var defineGlobalProperty$3 = function (key, value) {
303
303
  try {
304
- defineProperty$5(global$8, key, { value: value, configurable: true, writable: true });
304
+ defineProperty$5(global$7, key, { value: value, configurable: true, writable: true });
305
305
  } catch (error) {
306
- global$8[key] = value;
306
+ global$7[key] = value;
307
307
  } return value;
308
308
  };
309
309
 
310
- var global$7 = global$c;
310
+ var globalThis$1 = global$b;
311
311
  var defineGlobalProperty$2 = defineGlobalProperty$3;
312
312
 
313
313
  var SHARED = '__core-js_shared__';
314
- var store$3 = global$7[SHARED] || defineGlobalProperty$2(SHARED, {});
314
+ var store$3 = sharedStore.exports = globalThis$1[SHARED] || defineGlobalProperty$2(SHARED, {});
315
315
 
316
- var sharedStore = store$3;
317
-
318
- var store$2 = sharedStore;
319
-
320
- (shared$3.exports = function (key, value) {
321
- return store$2[key] || (store$2[key] = value !== undefined ? value : {});
322
- })('versions', []).push({
323
- version: '3.35.1',
316
+ (store$3.versions || (store$3.versions = [])).push({
317
+ version: '3.37.0',
324
318
  mode: 'global',
325
319
  copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
326
- license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
320
+ license: 'https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE',
327
321
  source: 'https://github.com/zloirock/core-js'
328
322
  });
329
323
 
330
- var requireObjectCoercible = requireObjectCoercible$2;
324
+ var store$2 = sharedStore.exports;
325
+
326
+ var shared$3 = function (key, value) {
327
+ return store$2[key] || (store$2[key] = value || {});
328
+ };
329
+
330
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
331
331
 
332
332
  var $Object$1 = Object;
333
333
 
334
334
  // `ToObject` abstract operation
335
335
  // https://tc39.es/ecma262/#sec-toobject
336
336
  var toObject$3 = function (argument) {
337
- return $Object$1(requireObjectCoercible(argument));
337
+ return $Object$1(requireObjectCoercible$1(argument));
338
338
  };
339
339
 
340
340
  var uncurryThis$7 = functionUncurryThis;
@@ -359,8 +359,8 @@ var uid$2 = function (key) {
359
359
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
360
360
  };
361
361
 
362
- var global$6 = global$c;
363
- var shared$2 = shared$3.exports;
362
+ var global$6 = global$b;
363
+ var shared$2 = shared$3;
364
364
  var hasOwn$8 = hasOwnProperty_1;
365
365
  var uid$1 = uid$2;
366
366
  var NATIVE_SYMBOL = symbolConstructorDetection;
@@ -379,7 +379,7 @@ var wellKnownSymbol$6 = function (name) {
379
379
  };
380
380
 
381
381
  var call$3 = functionCall;
382
- var isObject$5 = isObject$7;
382
+ var isObject$6 = isObject$8;
383
383
  var isSymbol$1 = isSymbol$2;
384
384
  var getMethod = getMethod$1;
385
385
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
@@ -391,13 +391,13 @@ var TO_PRIMITIVE = wellKnownSymbol$5('toPrimitive');
391
391
  // `ToPrimitive` abstract operation
392
392
  // https://tc39.es/ecma262/#sec-toprimitive
393
393
  var toPrimitive$1 = function (input, pref) {
394
- if (!isObject$5(input) || isSymbol$1(input)) return input;
394
+ if (!isObject$6(input) || isSymbol$1(input)) return input;
395
395
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
396
396
  var result;
397
397
  if (exoticToPrim) {
398
398
  if (pref === undefined) pref = 'default';
399
399
  result = call$3(exoticToPrim, input, pref);
400
- if (!isObject$5(result) || isSymbol$1(result)) return result;
400
+ if (!isObject$6(result) || isSymbol$1(result)) return result;
401
401
  throw new $TypeError$3("Can't convert object to primitive value");
402
402
  }
403
403
  if (pref === undefined) pref = 'number';
@@ -414,12 +414,12 @@ var toPropertyKey$2 = function (argument) {
414
414
  return isSymbol(key) ? key : key + '';
415
415
  };
416
416
 
417
- var global$5 = global$c;
418
- var isObject$4 = isObject$7;
417
+ var global$5 = global$b;
418
+ var isObject$5 = isObject$8;
419
419
 
420
420
  var document$1 = global$5.document;
421
421
  // typeof document.createElement is 'object' in old IE
422
- var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);
422
+ var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
423
423
 
424
424
  var documentCreateElement$2 = function (it) {
425
425
  return EXISTS$1 ? document$1.createElement(it) : {};
@@ -475,21 +475,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
475
475
  }).prototype !== 42;
476
476
  });
477
477
 
478
- var isObject$3 = isObject$7;
478
+ var isObject$4 = isObject$8;
479
479
 
480
480
  var $String$2 = String;
481
481
  var $TypeError$2 = TypeError;
482
482
 
483
483
  // `Assert: Type(argument) is Object`
484
- var anObject$5 = function (argument) {
485
- if (isObject$3(argument)) return argument;
484
+ var anObject$4 = function (argument) {
485
+ if (isObject$4(argument)) return argument;
486
486
  throw new $TypeError$2($String$2(argument) + ' is not an object');
487
487
  };
488
488
 
489
489
  var DESCRIPTORS$6 = descriptors;
490
490
  var IE8_DOM_DEFINE = ie8DomDefine;
491
491
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
492
- var anObject$4 = anObject$5;
492
+ var anObject$3 = anObject$4;
493
493
  var toPropertyKey = toPropertyKey$2;
494
494
 
495
495
  var $TypeError$1 = TypeError;
@@ -504,9 +504,9 @@ var WRITABLE = 'writable';
504
504
  // `Object.defineProperty` method
505
505
  // https://tc39.es/ecma262/#sec-object.defineproperty
506
506
  objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
507
- anObject$4(O);
507
+ anObject$3(O);
508
508
  P = toPropertyKey(P);
509
- anObject$4(Attributes);
509
+ anObject$3(Attributes);
510
510
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
511
511
  var current = $getOwnPropertyDescriptor(O, P);
512
512
  if (current && current[WRITABLE]) {
@@ -519,9 +519,9 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
519
519
  }
520
520
  } return $defineProperty(O, P, Attributes);
521
521
  } : $defineProperty : function defineProperty(O, P, Attributes) {
522
- anObject$4(O);
522
+ anObject$3(O);
523
523
  P = toPropertyKey(P);
524
- anObject$4(Attributes);
524
+ anObject$3(Attributes);
525
525
  if (IE8_DOM_DEFINE) try {
526
526
  return $defineProperty(O, P, Attributes);
527
527
  } catch (error) { /* empty */ }
@@ -563,7 +563,7 @@ var functionName = {
563
563
 
564
564
  var uncurryThis$5 = functionUncurryThis;
565
565
  var isCallable$7 = isCallable$d;
566
- var store$1 = sharedStore;
566
+ var store$1 = sharedStore.exports;
567
567
 
568
568
  var functionToString = uncurryThis$5(Function.toString);
569
569
 
@@ -576,14 +576,14 @@ if (!isCallable$7(store$1.inspectSource)) {
576
576
 
577
577
  var inspectSource$1 = store$1.inspectSource;
578
578
 
579
- var global$4 = global$c;
579
+ var global$4 = global$b;
580
580
  var isCallable$6 = isCallable$d;
581
581
 
582
582
  var WeakMap$1 = global$4.WeakMap;
583
583
 
584
584
  var weakMapBasicDetection = isCallable$6(WeakMap$1) && /native code/.test(String(WeakMap$1));
585
585
 
586
- var shared$1 = shared$3.exports;
586
+ var shared$1 = shared$3;
587
587
  var uid = uid$2;
588
588
 
589
589
  var keys = shared$1('keys');
@@ -595,11 +595,11 @@ var sharedKey$3 = function (key) {
595
595
  var hiddenKeys$4 = {};
596
596
 
597
597
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
598
- var global$3 = global$c;
599
- var isObject$2 = isObject$7;
598
+ var global$3 = global$b;
599
+ var isObject$3 = isObject$8;
600
600
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
601
601
  var hasOwn$5 = hasOwnProperty_1;
602
- var shared = sharedStore;
602
+ var shared = sharedStore.exports;
603
603
  var sharedKey$2 = sharedKey$3;
604
604
  var hiddenKeys$3 = hiddenKeys$4;
605
605
 
@@ -615,7 +615,7 @@ var enforce = function (it) {
615
615
  var getterFor = function (TYPE) {
616
616
  return function (it) {
617
617
  var state;
618
- if (!isObject$2(it) || (state = get(it)).type !== TYPE) {
618
+ if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
619
619
  throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
620
620
  } return state;
621
621
  };
@@ -812,6 +812,7 @@ var createMethod = function (IS_INCLUDES) {
812
812
  return function ($this, el, fromIndex) {
813
813
  var O = toIndexedObject$3($this);
814
814
  var length = lengthOfArrayLike(O);
815
+ if (length === 0) return !IS_INCLUDES && -1;
815
816
  var index = toAbsoluteIndex(fromIndex, length);
816
817
  var value;
817
818
  // Array#includes uses SameValueZero equality algorithm
@@ -889,13 +890,13 @@ var getBuiltIn$1 = getBuiltIn$3;
889
890
  var uncurryThis$2 = functionUncurryThis;
890
891
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
891
892
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
892
- var anObject$3 = anObject$5;
893
+ var anObject$2 = anObject$4;
893
894
 
894
895
  var concat$1 = uncurryThis$2([].concat);
895
896
 
896
897
  // all object keys, includes non-enumerable and symbols
897
898
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
898
- var keys = getOwnPropertyNamesModule.f(anObject$3(it));
899
+ var keys = getOwnPropertyNamesModule.f(anObject$2(it));
899
900
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
900
901
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
901
902
  };
@@ -940,7 +941,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
940
941
 
941
942
  var isForced_1 = isForced$1;
942
943
 
943
- var global$2 = global$c;
944
+ var global$2 = global$b;
944
945
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
945
946
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
946
947
  var defineBuiltIn$2 = defineBuiltIn$3;
@@ -1077,7 +1078,7 @@ var objectDefineProperties = {};
1077
1078
  var DESCRIPTORS$1 = descriptors;
1078
1079
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1079
1080
  var definePropertyModule = objectDefineProperty;
1080
- var anObject$2 = anObject$5;
1081
+ var anObject$1 = anObject$4;
1081
1082
  var toIndexedObject$1 = toIndexedObject$5;
1082
1083
  var objectKeys = objectKeys$2;
1083
1084
 
@@ -1085,7 +1086,7 @@ var objectKeys = objectKeys$2;
1085
1086
  // https://tc39.es/ecma262/#sec-object.defineproperties
1086
1087
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1087
1088
  objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1088
- anObject$2(O);
1089
+ anObject$1(O);
1089
1090
  var props = toIndexedObject$1(Properties);
1090
1091
  var keys = objectKeys(Properties);
1091
1092
  var length = keys.length;
@@ -1100,7 +1101,7 @@ var getBuiltIn = getBuiltIn$3;
1100
1101
  var html$1 = getBuiltIn('document', 'documentElement');
1101
1102
 
1102
1103
  /* global ActiveXObject -- old IE, WSH */
1103
- var anObject$1 = anObject$5;
1104
+ var anObject = anObject$4;
1104
1105
  var definePropertiesModule = objectDefineProperties;
1105
1106
  var enumBugKeys = enumBugKeys$3;
1106
1107
  var hiddenKeys = hiddenKeys$4;
@@ -1174,7 +1175,7 @@ hiddenKeys[IE_PROTO$1] = true;
1174
1175
  var objectCreate = Object.create || function create(O, Properties) {
1175
1176
  var result;
1176
1177
  if (O !== null) {
1177
- EmptyConstructor[PROTOTYPE] = anObject$1(O);
1178
+ EmptyConstructor[PROTOTYPE] = anObject(O);
1178
1179
  result = new EmptyConstructor();
1179
1180
  EmptyConstructor[PROTOTYPE] = null;
1180
1181
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1239,7 +1240,7 @@ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : f
1239
1240
 
1240
1241
  var fails = fails$b;
1241
1242
  var isCallable$1 = isCallable$d;
1242
- var isObject$1 = isObject$7;
1243
+ var isObject$2 = isObject$8;
1243
1244
  var getPrototypeOf$1 = objectGetPrototypeOf;
1244
1245
  var defineBuiltIn$1 = defineBuiltIn$3;
1245
1246
  var wellKnownSymbol$3 = wellKnownSymbol$6;
@@ -1262,7 +1263,7 @@ if ([].keys) {
1262
1263
  }
1263
1264
  }
1264
1265
 
1265
- var NEW_ITERATOR_PROTOTYPE = !isObject$1(IteratorPrototype$2) || fails(function () {
1266
+ var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$2) || fails(function () {
1266
1267
  var test = {};
1267
1268
  // FF44- legacy iterators case
1268
1269
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1322,10 +1323,10 @@ var functionUncurryThisAccessor = function (object, key, method) {
1322
1323
  } catch (error) { /* empty */ }
1323
1324
  };
1324
1325
 
1325
- var isObject = isObject$7;
1326
+ var isObject$1 = isObject$8;
1326
1327
 
1327
1328
  var isPossiblePrototype$1 = function (argument) {
1328
- return isObject(argument) || argument === null;
1329
+ return isObject$1(argument) || argument === null;
1329
1330
  };
1330
1331
 
1331
1332
  var isPossiblePrototype = isPossiblePrototype$1;
@@ -1340,7 +1341,8 @@ var aPossiblePrototype$1 = function (argument) {
1340
1341
 
1341
1342
  /* eslint-disable no-proto -- safe */
1342
1343
  var uncurryThisAccessor = functionUncurryThisAccessor;
1343
- var anObject = anObject$5;
1344
+ var isObject = isObject$8;
1345
+ var requireObjectCoercible = requireObjectCoercible$3;
1344
1346
  var aPossiblePrototype = aPossiblePrototype$1;
1345
1347
 
1346
1348
  // `Object.setPrototypeOf` method
@@ -1357,8 +1359,9 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1357
1359
  CORRECT_SETTER = test instanceof Array;
1358
1360
  } catch (error) { /* empty */ }
1359
1361
  return function setPrototypeOf(O, proto) {
1360
- anObject(O);
1362
+ requireObjectCoercible(O);
1361
1363
  aPossiblePrototype(proto);
1364
+ if (!isObject(O)) return O;
1362
1365
  if (CORRECT_SETTER) setter(O, proto);
1363
1366
  else O.__proto__ = proto;
1364
1367
  return O;
@@ -1576,7 +1579,7 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1576
1579
 
1577
1580
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1578
1581
 
1579
- var global$1 = global$c;
1582
+ var global$1 = global$b;
1580
1583
  var DOMIterables = domIterables;
1581
1584
  var DOMTokenListPrototype = domTokenListPrototype;
1582
1585
  var ArrayIteratorMethods = es_array_iterator;
@@ -1798,8 +1801,10 @@ function Container({
1798
1801
  const ContainerChildren = contentlets.map(contentlet => {
1799
1802
  const Component = components[contentlet.contentType] || NoContent;
1800
1803
  return isInsideEditor ? jsx("div", {
1804
+ "data-testid": "dot-contentlet",
1801
1805
  "data-dot-object": "contentlet",
1802
1806
  "data-dot-identifier": contentlet.identifier,
1807
+ "data-dot-basetype": contentlet.baseType,
1803
1808
  "data-dot-title": contentlet.widgetTitle || contentlet.title,
1804
1809
  "data-dot-inode": contentlet.inode,
1805
1810
  "data-dot-type": contentlet.contentType,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@dotcms/react",
3
- "version": "0.0.1-alpha.13",
3
+ "version": "0.0.1-alpha.14",
4
4
  "peerDependencies": {
5
5
  "react": ">=18",
6
6
  "react-dom": ">=18",
7
- "@dotcms/client": "0.0.1-alpha.13"
7
+ "@dotcms/client": "0.0.1-alpha.14"
8
8
  },
9
9
  "description": "Official React Components library to render a dotCMS page.",
10
10
  "repository": {
@@ -21,6 +21,7 @@ export interface ContainerData {
21
21
  title: string;
22
22
  inode: string;
23
23
  onNumberOfPages: number;
24
+ baseType: string;
24
25
  widgetTitle?: string;
25
26
  }[];
26
27
  };
@@ -70,8 +71,10 @@ export interface PageProviderContext {
70
71
  persona: {
71
72
  keyTag: string;
72
73
  };
74
+ variantId: string;
73
75
  };
74
76
  isInsideEditor: boolean;
77
+ runningExperimentId?: string;
75
78
  }
76
79
  /**
77
80
  * `PageProvider` is a functional component that provides a context for a DotCMS page.
@@ -7,6 +7,7 @@ export declare const getContainersData: (containers: ContainerData, containerRef
7
7
  title: string;
8
8
  inode: string;
9
9
  onNumberOfPages: number;
10
+ baseType: string;
10
11
  widgetTitle?: string | undefined;
11
12
  }[];
12
13
  variantId: string;