lwc 2.4.0 → 2.5.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.
Files changed (35) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +117 -64
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +117 -64
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +2 -2
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +116 -63
  5. package/dist/engine-dom/iife/es5/engine-dom.js +133 -86
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +2 -2
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +130 -83
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +117 -64
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +2 -2
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +116 -63
  11. package/dist/engine-dom/umd/es5/engine-dom.js +133 -86
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +2 -2
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +130 -83
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +117 -64
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +2 -2
  16. package/dist/engine-server/esm/es2017/engine-server.js +117 -64
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
  20. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
  22. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
  23. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
  24. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
  25. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
  26. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  27. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  28. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  29. package/dist/wire-service/iife/es5/wire-service.js +2 -2
  30. package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/umd/es5/wire-service.js +2 -2
  34. package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
  35. package/package.json +8 -8
@@ -301,6 +301,7 @@
301
301
  var KEY__SHADOW_RESOLVER = '$shadowResolver$';
302
302
  var KEY__SHADOW_TOKEN = '$shadowToken$';
303
303
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
304
+ var KEY__SCOPED_CSS = '$scoped$';
304
305
  /**
305
306
  * Map composed of properties to attributes not following the HTML property to attribute mapping
306
307
  * convention.
@@ -349,7 +350,7 @@
349
350
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
350
351
  return attributeName;
351
352
  }
352
- /** version: 2.4.0 */
353
+ /** version: 2.5.0 */
353
354
 
354
355
  /*
355
356
  * Copyright (c) 2018, salesforce.com, inc.
@@ -528,7 +529,7 @@
528
529
  setFeatureFlag(name, value);
529
530
  }
530
531
  }
531
- /** version: 2.4.0 */
532
+ /** version: 2.5.0 */
532
533
 
533
534
  /* proxy-compat-disable */
534
535
 
@@ -4391,6 +4392,17 @@
4391
4392
 
4392
4393
  function setElementShadowToken(elm, token) {
4393
4394
  elm.$shadowToken$ = token;
4395
+ } // Set the scope token class for *.scoped.css styles
4396
+
4397
+
4398
+ function setScopeTokenClassIfNecessary(elm, owner) {
4399
+ var cmpTemplate = owner.cmpTemplate,
4400
+ context = owner.context;
4401
+ var token = cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken;
4402
+
4403
+ if (!isUndefined$1(token) && context.hasScopedStyles) {
4404
+ owner.renderer.getClassList(elm).add(token);
4405
+ }
4394
4406
  }
4395
4407
 
4396
4408
  function updateNodeHook(oldVnode, vnode) {
@@ -4454,12 +4466,13 @@
4454
4466
 
4455
4467
  function fallbackElmHook(elm, vnode) {
4456
4468
  var owner = vnode.owner;
4469
+ setScopeTokenClassIfNecessary(elm, owner);
4457
4470
 
4458
4471
  if (owner.shadowMode === 1
4459
4472
  /* Synthetic */
4460
4473
  ) {
4461
4474
  var context = vnode.data.context;
4462
- var shadowAttribute = owner.context.shadowAttribute;
4475
+ var stylesheetToken = owner.context.stylesheetToken;
4463
4476
 
4464
4477
  if (!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
4465
4478
  /* manual */
@@ -4470,7 +4483,7 @@
4470
4483
  // into each element from the template, so they can be styled accordingly.
4471
4484
 
4472
4485
 
4473
- setElementShadowToken(elm, shadowAttribute);
4486
+ setElementShadowToken(elm, stylesheetToken);
4474
4487
  }
4475
4488
 
4476
4489
  if (process.env.NODE_ENV !== 'production') {
@@ -4549,14 +4562,15 @@
4549
4562
  mode = vnode.mode,
4550
4563
  ctor = vnode.ctor,
4551
4564
  owner = vnode.owner;
4565
+ setScopeTokenClassIfNecessary(elm, owner);
4552
4566
 
4553
4567
  if (owner.shadowMode === 1
4554
4568
  /* Synthetic */
4555
4569
  ) {
4556
- var shadowAttribute = owner.context.shadowAttribute; // when running in synthetic shadow mode, we need to set the shadowToken value
4570
+ var stylesheetToken = owner.context.stylesheetToken; // when running in synthetic shadow mode, we need to set the shadowToken value
4557
4571
  // into each element from the template, so they can be styled accordingly.
4558
4572
 
4559
- setElementShadowToken(elm, shadowAttribute);
4573
+ setElementShadowToken(elm, stylesheetToken);
4560
4574
  }
4561
4575
 
4562
4576
  var def = getComponentInternalDef(ctor);
@@ -5330,6 +5344,10 @@
5330
5344
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
5331
5345
  */
5332
5346
 
5347
+ function makeHostToken(token) {
5348
+ return "".concat(token, "-host");
5349
+ }
5350
+
5333
5351
  function createInlineStyleVNode(content) {
5334
5352
  return h('style', {
5335
5353
  key: 'style',
@@ -5339,55 +5357,92 @@
5339
5357
  }, [t(content)]);
5340
5358
  }
5341
5359
 
5342
- function updateSyntheticShadowAttributes(vm, template) {
5360
+ function updateStylesheetToken(vm, template) {
5343
5361
  var elm = vm.elm,
5344
5362
  context = vm.context,
5345
5363
  renderer = vm.renderer,
5346
- renderMode = vm.renderMode;
5364
+ renderMode = vm.renderMode,
5365
+ shadowMode = vm.shadowMode;
5347
5366
  var newStylesheets = template.stylesheets,
5348
- newStylesheetTokens = template.stylesheetTokens;
5349
- var newTokens; // Reset the styling token applied to the host element.
5367
+ newStylesheetToken = template.stylesheetToken;
5368
+ var isSyntheticShadow = renderMode === 1
5369
+ /* Shadow */
5370
+ && shadowMode === 1
5371
+ /* Synthetic */
5372
+ ;
5373
+ var hasScopedStyles = context.hasScopedStyles;
5374
+ var newToken;
5375
+ var newHasTokenInClass;
5376
+ var newHasTokenInAttribute; // Reset the styling token applied to the host element.
5377
+
5378
+ var oldToken = context.stylesheetToken,
5379
+ oldHasTokenInClass = context.hasTokenInClass,
5380
+ oldHasTokenInAttribute = context.hasTokenInAttribute;
5350
5381
 
5351
- var oldHostAttribute = context.hostAttribute;
5382
+ if (oldHasTokenInClass) {
5383
+ renderer.getClassList(elm).remove(makeHostToken(oldToken));
5384
+ }
5352
5385
 
5353
- if (!isUndefined$1(oldHostAttribute)) {
5354
- renderer.removeAttribute(elm, oldHostAttribute);
5386
+ if (oldHasTokenInAttribute) {
5387
+ renderer.removeAttribute(elm, makeHostToken(oldToken));
5355
5388
  } // Apply the new template styling token to the host element, if the new template has any
5356
- // associated stylesheets.
5389
+ // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
5357
5390
 
5358
5391
 
5359
- if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0 && renderMode === 1
5360
- /* Shadow */
5361
- ) {
5362
- newTokens = newStylesheetTokens;
5363
- }
5392
+ if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
5393
+ newToken = newStylesheetToken;
5394
+ } // Set the new styling token on the host element
5395
+
5396
+
5397
+ if (!isUndefined$1(newToken)) {
5398
+ if (hasScopedStyles) {
5399
+ renderer.getClassList(elm).add(makeHostToken(newToken));
5400
+ newHasTokenInClass = true;
5401
+ }
5364
5402
 
5365
- if (!isUndefined$1(newTokens)) {
5366
- renderer.setAttribute(elm, newTokens.hostAttribute, '');
5403
+ if (isSyntheticShadow) {
5404
+ renderer.setAttribute(elm, makeHostToken(newToken), '');
5405
+ newHasTokenInAttribute = true;
5406
+ }
5367
5407
  } // Update the styling tokens present on the context object.
5368
5408
 
5369
5409
 
5370
- context.hostAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.hostAttribute;
5371
- context.shadowAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.shadowAttribute;
5410
+ context.stylesheetToken = newToken;
5411
+ context.hasTokenInClass = newHasTokenInClass;
5412
+ context.hasTokenInAttribute = newHasTokenInAttribute;
5372
5413
  }
5373
5414
 
5374
- function evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, nativeShadow) {
5415
+ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
5375
5416
  var content = [];
5376
5417
 
5377
5418
  for (var _i12 = 0; _i12 < stylesheets.length; _i12++) {
5378
5419
  var stylesheet = stylesheets[_i12];
5379
5420
 
5380
5421
  if (isArray$1(stylesheet)) {
5381
- ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, hostSelector, shadowSelector, nativeShadow));
5422
+ ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
5382
5423
  } else {
5383
5424
  if (process.env.NODE_ENV !== 'production') {
5384
5425
  // in dev-mode, we support hot swapping of stylesheet, which means that
5385
5426
  // the component instance might be attempting to use an old version of
5386
5427
  // the stylesheet, while internally, we have a replacement for it.
5387
5428
  stylesheet = getStyleOrSwappedStyle(stylesheet);
5388
- }
5429
+ } // Use the actual `:host` selector if we're rendering global CSS for light DOM, or if we're rendering
5430
+ // native shadow DOM. Synthetic shadow DOM never uses `:host`.
5389
5431
 
5390
- ArrayPush$1.call(content, stylesheet(hostSelector, shadowSelector, nativeShadow));
5432
+
5433
+ var isScopedCss = stylesheet[KEY__SCOPED_CSS];
5434
+ var useActualHostSelector = vm.renderMode === 0
5435
+ /* Light */
5436
+ ? !isScopedCss : vm.shadowMode === 0
5437
+ /* Native */
5438
+ ; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
5439
+
5440
+ var scopeToken = isScopedCss || vm.shadowMode === 1
5441
+ /* Synthetic */
5442
+ && vm.renderMode === 1
5443
+ /* Shadow */
5444
+ ? stylesheetToken : undefined;
5445
+ ArrayPush$1.call(content, stylesheet(useActualHostSelector, scopeToken));
5391
5446
  }
5392
5447
  }
5393
5448
 
@@ -5396,31 +5451,11 @@
5396
5451
 
5397
5452
  function getStylesheetsContent(vm, template) {
5398
5453
  var stylesheets = template.stylesheets,
5399
- stylesheetTokens = template.stylesheetTokens;
5400
- var renderMode = vm.renderMode,
5401
- shadowMode = vm.shadowMode;
5454
+ stylesheetToken = template.stylesheetToken;
5402
5455
  var content = [];
5403
5456
 
5404
5457
  if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
5405
- var hostSelector;
5406
- var shadowSelector; // Scoping with the tokens is only necessary for synthetic shadow. For both
5407
- // light DOM elements and native shadow, we just render the CSS as-is.
5408
-
5409
- if (renderMode === 1
5410
- /* Shadow */
5411
- && shadowMode === 1
5412
- /* Synthetic */
5413
- && !isUndefined$1(stylesheetTokens)) {
5414
- hostSelector = "[".concat(stylesheetTokens.hostAttribute, "]");
5415
- shadowSelector = "[".concat(stylesheetTokens.shadowAttribute, "]");
5416
- } else {
5417
- hostSelector = '';
5418
- shadowSelector = '';
5419
- }
5420
-
5421
- content = evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, shadowMode === 0
5422
- /* Native */
5423
- );
5458
+ content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
5424
5459
  }
5425
5460
 
5426
5461
  return content;
@@ -5677,8 +5712,7 @@
5677
5712
  context = vm.context,
5678
5713
  cmpSlots = vm.cmpSlots,
5679
5714
  cmpTemplate = vm.cmpTemplate,
5680
- tro = vm.tro,
5681
- shadowMode = vm.shadowMode;
5715
+ tro = vm.tro;
5682
5716
  tro.observe(function () {
5683
5717
  // Reset the cache memoizer for template when needed.
5684
5718
  if (html !== cmpTemplate) {
@@ -5702,15 +5736,12 @@
5702
5736
 
5703
5737
  vm.cmpTemplate = html; // Create a brand new template cache for the swapped templated.
5704
5738
 
5705
- context.tplCache = create(null); // Update the synthetic shadow attributes on the host element if necessary.
5739
+ context.tplCache = create(null); // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
5706
5740
 
5707
- if (shadowMode === 1
5708
- /* Synthetic */
5709
- ) {
5710
- updateSyntheticShadowAttributes(vm, html);
5711
- } // Evaluate, create stylesheet and cache the produced VNode for future
5712
- // re-rendering.
5741
+ context.hasScopedStyles = computeHasScopedStyles(html); // Update the scoping token on the host element.
5713
5742
 
5743
+ updateStylesheetToken(vm, html); // Evaluate, create stylesheet and cache the produced VNode for future
5744
+ // re-rendering.
5714
5745
 
5715
5746
  var stylesheetsContent = getStylesheetsContent(vm, html);
5716
5747
  context.styleVNode = stylesheetsContent.length === 0 ? null : createStylesheet(vm, stylesheetsContent);
@@ -5750,6 +5781,20 @@
5750
5781
 
5751
5782
  return vnodes;
5752
5783
  }
5784
+
5785
+ function computeHasScopedStyles(template) {
5786
+ var stylesheets = template.stylesheets;
5787
+
5788
+ if (!isUndefined$1(stylesheets)) {
5789
+ for (var _i15 = 0; _i15 < stylesheets.length; _i15++) {
5790
+ if (isTrue(stylesheets[_i15][KEY__SCOPED_CSS])) {
5791
+ return true;
5792
+ }
5793
+ }
5794
+ }
5795
+
5796
+ return false;
5797
+ }
5753
5798
  /*
5754
5799
  * Copyright (c) 2018, salesforce.com, inc.
5755
5800
  * All rights reserved.
@@ -5972,8 +6017,8 @@
5972
6017
  assert.isTrue(isObject(service), "Invalid service declaration, ".concat(service, ": service must be an object"));
5973
6018
  }
5974
6019
 
5975
- for (var _i15 = 0; _i15 < hooks.length; ++_i15) {
5976
- var hookName = hooks[_i15];
6020
+ for (var _i16 = 0; _i16 < hooks.length; ++_i16) {
6021
+ var hookName = hooks[_i16];
5977
6022
 
5978
6023
  if (hookName in service) {
5979
6024
  var l = Services[hookName];
@@ -5996,8 +6041,8 @@
5996
6041
  def = vm.def,
5997
6042
  context = vm.context;
5998
6043
 
5999
- for (var _i16 = 0, _len6 = cbs.length; _i16 < _len6; ++_i16) {
6000
- cbs[_i16].call(undefined, component, {}, def, context);
6044
+ for (var _i17 = 0, _len6 = cbs.length; _i17 < _len6; ++_i17) {
6045
+ cbs[_i17].call(undefined, component, {}, def, context);
6001
6046
  }
6002
6047
  }
6003
6048
  /*
@@ -6142,8 +6187,10 @@
6142
6187
  renderMode: def.renderMode,
6143
6188
  shadowMode: null,
6144
6189
  context: {
6145
- hostAttribute: undefined,
6146
- shadowAttribute: undefined,
6190
+ stylesheetToken: undefined,
6191
+ hasTokenInClass: undefined,
6192
+ hasTokenInAttribute: undefined,
6193
+ hasScopedStyles: undefined,
6147
6194
  styleVNode: null,
6148
6195
  tplCache: EmptyObject,
6149
6196
  wiredConnecting: EmptyArray,
@@ -6352,19 +6399,19 @@
6352
6399
  });
6353
6400
  rehydrateQueue = []; // reset to a new queue
6354
6401
 
6355
- for (var _i17 = 0, _len7 = vms.length; _i17 < _len7; _i17 += 1) {
6356
- var vm = vms[_i17];
6402
+ for (var _i18 = 0, _len7 = vms.length; _i18 < _len7; _i18 += 1) {
6403
+ var vm = vms[_i18];
6357
6404
 
6358
6405
  try {
6359
6406
  rehydrate(vm);
6360
6407
  } catch (error) {
6361
- if (_i17 + 1 < _len7) {
6408
+ if (_i18 + 1 < _len7) {
6362
6409
  // pieces of the queue are still pending to be rehydrated, those should have priority
6363
6410
  if (rehydrateQueue.length === 0) {
6364
6411
  addCallbackToNextTick(flushRehydrationQueue);
6365
6412
  }
6366
6413
 
6367
- ArrayUnshift.apply(rehydrateQueue, ArraySlice.call(vms, _i17 + 1));
6414
+ ArrayUnshift.apply(rehydrateQueue, ArraySlice.call(vms, _i18 + 1));
6368
6415
  } // we need to end the measure before throwing.
6369
6416
 
6370
6417
 
@@ -6468,8 +6515,8 @@
6468
6515
  var vCustomElementCollection = vm.velements; // Reporting disconnection for every child in inverse order since they are
6469
6516
  // inserted in reserved order.
6470
6517
 
6471
- for (var _i18 = vCustomElementCollection.length - 1; _i18 >= 0; _i18 -= 1) {
6472
- var elm = vCustomElementCollection[_i18].elm; // There are two cases where the element could be undefined:
6518
+ for (var _i19 = vCustomElementCollection.length - 1; _i19 >= 0; _i19 -= 1) {
6519
+ var elm = vCustomElementCollection[_i19].elm; // There are two cases where the element could be undefined:
6473
6520
  // * when there is an error during the construction phase, and an error
6474
6521
  // boundary picks it, there is a possibility that the VCustomElement
6475
6522
  // is not properly initialized, and therefore is should be ignored.
@@ -6503,8 +6550,8 @@
6503
6550
 
6504
6551
 
6505
6552
  function recursivelyDisconnectChildren(vnodes) {
6506
- for (var _i19 = 0, _len8 = vnodes.length; _i19 < _len8; _i19 += 1) {
6507
- var vnode = vnodes[_i19];
6553
+ for (var _i20 = 0, _len8 = vnodes.length; _i20 < _len8; _i20 += 1) {
6554
+ var vnode = vnodes[_i20];
6508
6555
 
6509
6556
  if (!isNull(vnode) && isArray$1(vnode.children) && !isUndefined$1(vnode.elm)) {
6510
6557
  // vnode is a VElement with children
@@ -6528,8 +6575,8 @@
6528
6575
  renderer = vm.renderer;
6529
6576
  var rootNode = getRenderRoot(vm);
6530
6577
 
6531
- for (var _i20 = 0, _len9 = children.length; _i20 < _len9; _i20++) {
6532
- var child = children[_i20];
6578
+ for (var _i21 = 0, _len9 = children.length; _i21 < _len9; _i21++) {
6579
+ var child = children[_i21];
6533
6580
 
6534
6581
  if (!isNull(child) && !isUndefined$1(child.elm)) {
6535
6582
  renderer.remove(child.elm, rootNode);
@@ -6574,8 +6621,8 @@
6574
6621
  var oldSlots = vm.cmpSlots;
6575
6622
  var cmpSlots = vm.cmpSlots = create(null);
6576
6623
 
6577
- for (var _i21 = 0, _len10 = children.length; _i21 < _len10; _i21 += 1) {
6578
- var vnode = children[_i21];
6624
+ for (var _i22 = 0, _len10 = children.length; _i22 < _len10; _i22 += 1) {
6625
+ var vnode = children[_i22];
6579
6626
 
6580
6627
  if (isNull(vnode)) {
6581
6628
  continue;
@@ -6605,8 +6652,8 @@
6605
6652
  return;
6606
6653
  }
6607
6654
 
6608
- for (var _i22 = 0, _len11 = oldKeys.length; _i22 < _len11; _i22 += 1) {
6609
- var key = oldKeys[_i22];
6655
+ for (var _i23 = 0, _len11 = oldKeys.length; _i23 < _len11; _i23 += 1) {
6656
+ var key = oldKeys[_i23];
6610
6657
 
6611
6658
  if (isUndefined$1(cmpSlots[key]) || oldSlots[key].length !== cmpSlots[key].length) {
6612
6659
  markComponentAsDirty(vm);
@@ -6969,8 +7016,8 @@
6969
7016
  function connectWireAdapters(vm) {
6970
7017
  var wiredConnecting = vm.context.wiredConnecting;
6971
7018
 
6972
- for (var _i23 = 0, _len12 = wiredConnecting.length; _i23 < _len12; _i23 += 1) {
6973
- wiredConnecting[_i23]();
7019
+ for (var _i24 = 0, _len12 = wiredConnecting.length; _i24 < _len12; _i24 += 1) {
7020
+ wiredConnecting[_i24]();
6974
7021
  }
6975
7022
  }
6976
7023
 
@@ -6978,8 +7025,8 @@
6978
7025
  var wiredDisconnecting = vm.context.wiredDisconnecting;
6979
7026
  runWithBoundaryProtection(vm, vm, noop, function () {
6980
7027
  // job
6981
- for (var _i24 = 0, _len13 = wiredDisconnecting.length; _i24 < _len13; _i24 += 1) {
6982
- wiredDisconnecting[_i24]();
7028
+ for (var _i25 = 0, _len13 = wiredDisconnecting.length; _i25 < _len13; _i25 += 1) {
7029
+ wiredDisconnecting[_i25]();
6983
7030
  }
6984
7031
  }, noop);
6985
7032
  }
@@ -7054,7 +7101,7 @@
7054
7101
 
7055
7102
  return reactiveMembrane.getReadOnlyProxy(obj);
7056
7103
  }
7057
- /* version: 2.4.0 */
7104
+ /* version: 2.5.0 */
7058
7105
 
7059
7106
  /*
7060
7107
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7069,8 +7116,8 @@
7069
7116
  if (process.env.NODE_ENV === 'development') {
7070
7117
  // @ts-ignore
7071
7118
  window.__lwcResetGlobalStylesheets = function () {
7072
- for (var _i25 = 0, _Object$keys = Object.keys(globalStylesheets); _i25 < _Object$keys.length; _i25++) {
7073
- var key = _Object$keys[_i25];
7119
+ for (var _i26 = 0, _Object$keys = Object.keys(globalStylesheets); _i26 < _Object$keys.length; _i26++) {
7120
+ var key = _Object$keys[_i26];
7074
7121
  delete globalStylesheets[key];
7075
7122
  }
7076
7123
  };
@@ -7607,7 +7654,7 @@
7607
7654
  });
7608
7655
  freeze(LightningElement);
7609
7656
  seal(LightningElement.prototype);
7610
- /* version: 2.4.0 */
7657
+ /* version: 2.5.0 */
7611
7658
 
7612
7659
  exports.LightningElement = LightningElement;
7613
7660
  exports.__unstable__ProfilerControl = profilerControl;