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
@@ -295,6 +295,7 @@
295
295
  var KEY__SHADOW_RESOLVER = '$shadowResolver$';
296
296
  var KEY__SHADOW_TOKEN = '$shadowToken$';
297
297
  var KEY__SYNTHETIC_MODE = '$$lwc-synthetic-mode';
298
+ var KEY__SCOPED_CSS = '$scoped$';
298
299
  /**
299
300
  * Map composed of properties to attributes not following the HTML property to attribute mapping
300
301
  * convention.
@@ -343,7 +344,7 @@
343
344
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
344
345
  return attributeName;
345
346
  }
346
- /** version: 2.4.0 */
347
+ /** version: 2.5.0 */
347
348
 
348
349
  /*
349
350
  * Copyright (c) 2018, salesforce.com, inc.
@@ -514,7 +515,7 @@
514
515
 
515
516
  function setFeatureFlagForTest(name, value) {
516
517
  }
517
- /** version: 2.4.0 */
518
+ /** version: 2.5.0 */
518
519
 
519
520
  /* proxy-compat-disable */
520
521
 
@@ -3298,6 +3299,17 @@
3298
3299
 
3299
3300
  function setElementShadowToken(elm, token) {
3300
3301
  elm.$shadowToken$ = token;
3302
+ } // Set the scope token class for *.scoped.css styles
3303
+
3304
+
3305
+ function setScopeTokenClassIfNecessary(elm, owner) {
3306
+ var cmpTemplate = owner.cmpTemplate,
3307
+ context = owner.context;
3308
+ var token = cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken;
3309
+
3310
+ if (!isUndefined$1(token) && context.hasScopedStyles) {
3311
+ owner.renderer.getClassList(elm).add(token);
3312
+ }
3301
3313
  }
3302
3314
 
3303
3315
  function updateNodeHook(oldVnode, vnode) {
@@ -3338,12 +3350,13 @@
3338
3350
 
3339
3351
  function fallbackElmHook(elm, vnode) {
3340
3352
  var owner = vnode.owner;
3353
+ setScopeTokenClassIfNecessary(elm, owner);
3341
3354
 
3342
3355
  if (owner.shadowMode === 1
3343
3356
  /* Synthetic */
3344
3357
  ) {
3345
3358
  var context = vnode.data.context;
3346
- var shadowAttribute = owner.context.shadowAttribute;
3359
+ var stylesheetToken = owner.context.stylesheetToken;
3347
3360
 
3348
3361
  if (!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
3349
3362
  /* manual */
@@ -3354,7 +3367,7 @@
3354
3367
  // into each element from the template, so they can be styled accordingly.
3355
3368
 
3356
3369
 
3357
- setElementShadowToken(elm, shadowAttribute);
3370
+ setElementShadowToken(elm, stylesheetToken);
3358
3371
  }
3359
3372
  }
3360
3373
 
@@ -3419,14 +3432,15 @@
3419
3432
  mode = vnode.mode,
3420
3433
  ctor = vnode.ctor,
3421
3434
  owner = vnode.owner;
3435
+ setScopeTokenClassIfNecessary(elm, owner);
3422
3436
 
3423
3437
  if (owner.shadowMode === 1
3424
3438
  /* Synthetic */
3425
3439
  ) {
3426
- var shadowAttribute = owner.context.shadowAttribute; // when running in synthetic shadow mode, we need to set the shadowToken value
3440
+ var stylesheetToken = owner.context.stylesheetToken; // when running in synthetic shadow mode, we need to set the shadowToken value
3427
3441
  // into each element from the template, so they can be styled accordingly.
3428
3442
 
3429
- setElementShadowToken(elm, shadowAttribute);
3443
+ setElementShadowToken(elm, stylesheetToken);
3430
3444
  }
3431
3445
 
3432
3446
  var def = getComponentInternalDef(ctor);
@@ -4066,6 +4080,10 @@
4066
4080
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
4067
4081
  */
4068
4082
 
4083
+ function makeHostToken(token) {
4084
+ return "".concat(token, "-host");
4085
+ }
4086
+
4069
4087
  function createInlineStyleVNode(content) {
4070
4088
  return h('style', {
4071
4089
  key: 'style',
@@ -4075,49 +4093,86 @@
4075
4093
  }, [t(content)]);
4076
4094
  }
4077
4095
 
4078
- function updateSyntheticShadowAttributes(vm, template) {
4096
+ function updateStylesheetToken(vm, template) {
4079
4097
  var elm = vm.elm,
4080
4098
  context = vm.context,
4081
4099
  renderer = vm.renderer,
4082
- renderMode = vm.renderMode;
4100
+ renderMode = vm.renderMode,
4101
+ shadowMode = vm.shadowMode;
4083
4102
  var newStylesheets = template.stylesheets,
4084
- newStylesheetTokens = template.stylesheetTokens;
4085
- var newTokens; // Reset the styling token applied to the host element.
4103
+ newStylesheetToken = template.stylesheetToken;
4104
+ var isSyntheticShadow = renderMode === 1
4105
+ /* Shadow */
4106
+ && shadowMode === 1
4107
+ /* Synthetic */
4108
+ ;
4109
+ var hasScopedStyles = context.hasScopedStyles;
4110
+ var newToken;
4111
+ var newHasTokenInClass;
4112
+ var newHasTokenInAttribute; // Reset the styling token applied to the host element.
4086
4113
 
4087
- var oldHostAttribute = context.hostAttribute;
4114
+ var oldToken = context.stylesheetToken,
4115
+ oldHasTokenInClass = context.hasTokenInClass,
4116
+ oldHasTokenInAttribute = context.hasTokenInAttribute;
4088
4117
 
4089
- if (!isUndefined$1(oldHostAttribute)) {
4090
- renderer.removeAttribute(elm, oldHostAttribute);
4118
+ if (oldHasTokenInClass) {
4119
+ renderer.getClassList(elm).remove(makeHostToken(oldToken));
4120
+ }
4121
+
4122
+ if (oldHasTokenInAttribute) {
4123
+ renderer.removeAttribute(elm, makeHostToken(oldToken));
4091
4124
  } // Apply the new template styling token to the host element, if the new template has any
4092
- // associated stylesheets.
4125
+ // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
4093
4126
 
4094
4127
 
4095
- if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0 && renderMode === 1
4096
- /* Shadow */
4097
- ) {
4098
- newTokens = newStylesheetTokens;
4099
- }
4128
+ if (!isUndefined$1(newStylesheets) && newStylesheets.length !== 0) {
4129
+ newToken = newStylesheetToken;
4130
+ } // Set the new styling token on the host element
4131
+
4100
4132
 
4101
- if (!isUndefined$1(newTokens)) {
4102
- renderer.setAttribute(elm, newTokens.hostAttribute, '');
4133
+ if (!isUndefined$1(newToken)) {
4134
+ if (hasScopedStyles) {
4135
+ renderer.getClassList(elm).add(makeHostToken(newToken));
4136
+ newHasTokenInClass = true;
4137
+ }
4138
+
4139
+ if (isSyntheticShadow) {
4140
+ renderer.setAttribute(elm, makeHostToken(newToken), '');
4141
+ newHasTokenInAttribute = true;
4142
+ }
4103
4143
  } // Update the styling tokens present on the context object.
4104
4144
 
4105
4145
 
4106
- context.hostAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.hostAttribute;
4107
- context.shadowAttribute = newTokens === null || newTokens === void 0 ? void 0 : newTokens.shadowAttribute;
4146
+ context.stylesheetToken = newToken;
4147
+ context.hasTokenInClass = newHasTokenInClass;
4148
+ context.hasTokenInAttribute = newHasTokenInAttribute;
4108
4149
  }
4109
4150
 
4110
- function evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, nativeShadow) {
4151
+ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
4111
4152
  var content = [];
4112
4153
 
4113
4154
  for (var _i12 = 0; _i12 < stylesheets.length; _i12++) {
4114
4155
  var stylesheet = stylesheets[_i12];
4115
4156
 
4116
4157
  if (isArray$1(stylesheet)) {
4117
- ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, hostSelector, shadowSelector, nativeShadow));
4158
+ ArrayPush$1.apply(content, evaluateStylesheetsContent(stylesheet, stylesheetToken, vm));
4118
4159
  } else {
4160
+ // native shadow DOM. Synthetic shadow DOM never uses `:host`.
4161
+
4162
+
4163
+ var isScopedCss = stylesheet[KEY__SCOPED_CSS];
4164
+ var useActualHostSelector = vm.renderMode === 0
4165
+ /* Light */
4166
+ ? !isScopedCss : vm.shadowMode === 0
4167
+ /* Native */
4168
+ ; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
4119
4169
 
4120
- ArrayPush$1.call(content, stylesheet(hostSelector, shadowSelector, nativeShadow));
4170
+ var scopeToken = isScopedCss || vm.shadowMode === 1
4171
+ /* Synthetic */
4172
+ && vm.renderMode === 1
4173
+ /* Shadow */
4174
+ ? stylesheetToken : undefined;
4175
+ ArrayPush$1.call(content, stylesheet(useActualHostSelector, scopeToken));
4121
4176
  }
4122
4177
  }
4123
4178
 
@@ -4126,31 +4181,11 @@
4126
4181
 
4127
4182
  function getStylesheetsContent(vm, template) {
4128
4183
  var stylesheets = template.stylesheets,
4129
- stylesheetTokens = template.stylesheetTokens;
4130
- var renderMode = vm.renderMode,
4131
- shadowMode = vm.shadowMode;
4184
+ stylesheetToken = template.stylesheetToken;
4132
4185
  var content = [];
4133
4186
 
4134
4187
  if (!isUndefined$1(stylesheets) && stylesheets.length !== 0) {
4135
- var hostSelector;
4136
- var shadowSelector; // Scoping with the tokens is only necessary for synthetic shadow. For both
4137
- // light DOM elements and native shadow, we just render the CSS as-is.
4138
-
4139
- if (renderMode === 1
4140
- /* Shadow */
4141
- && shadowMode === 1
4142
- /* Synthetic */
4143
- && !isUndefined$1(stylesheetTokens)) {
4144
- hostSelector = "[".concat(stylesheetTokens.hostAttribute, "]");
4145
- shadowSelector = "[".concat(stylesheetTokens.shadowAttribute, "]");
4146
- } else {
4147
- hostSelector = '';
4148
- shadowSelector = '';
4149
- }
4150
-
4151
- content = evaluateStylesheetsContent(stylesheets, hostSelector, shadowSelector, shadowMode === 0
4152
- /* Native */
4153
- );
4188
+ content = evaluateStylesheetsContent(stylesheets, stylesheetToken, vm);
4154
4189
  }
4155
4190
 
4156
4191
  return content;
@@ -4326,8 +4361,7 @@
4326
4361
  context = vm.context,
4327
4362
  cmpSlots = vm.cmpSlots,
4328
4363
  cmpTemplate = vm.cmpTemplate,
4329
- tro = vm.tro,
4330
- shadowMode = vm.shadowMode;
4364
+ tro = vm.tro;
4331
4365
  tro.observe(function () {
4332
4366
  // Reset the cache memoizer for template when needed.
4333
4367
  if (html !== cmpTemplate) {
@@ -4349,15 +4383,12 @@
4349
4383
 
4350
4384
  vm.cmpTemplate = html; // Create a brand new template cache for the swapped templated.
4351
4385
 
4352
- context.tplCache = create(null); // Update the synthetic shadow attributes on the host element if necessary.
4386
+ context.tplCache = create(null); // Set the computeHasScopedStyles property in the context, to avoid recomputing it repeatedly.
4353
4387
 
4354
- if (shadowMode === 1
4355
- /* Synthetic */
4356
- ) {
4357
- updateSyntheticShadowAttributes(vm, html);
4358
- } // Evaluate, create stylesheet and cache the produced VNode for future
4359
- // re-rendering.
4388
+ context.hasScopedStyles = computeHasScopedStyles(html); // Update the scoping token on the host element.
4360
4389
 
4390
+ updateStylesheetToken(vm, html); // Evaluate, create stylesheet and cache the produced VNode for future
4391
+ // re-rendering.
4361
4392
 
4362
4393
  var stylesheetsContent = getStylesheetsContent(vm, html);
4363
4394
  context.styleVNode = stylesheetsContent.length === 0 ? null : createStylesheet(vm, stylesheetsContent);
@@ -4388,6 +4419,20 @@
4388
4419
 
4389
4420
  return vnodes;
4390
4421
  }
4422
+
4423
+ function computeHasScopedStyles(template) {
4424
+ var stylesheets = template.stylesheets;
4425
+
4426
+ if (!isUndefined$1(stylesheets)) {
4427
+ for (var _i15 = 0; _i15 < stylesheets.length; _i15++) {
4428
+ if (isTrue(stylesheets[_i15][KEY__SCOPED_CSS])) {
4429
+ return true;
4430
+ }
4431
+ }
4432
+ }
4433
+
4434
+ return false;
4435
+ }
4391
4436
  /*
4392
4437
  * Copyright (c) 2018, salesforce.com, inc.
4393
4438
  * All rights reserved.
@@ -4581,8 +4626,8 @@
4581
4626
 
4582
4627
  function register(service) {
4583
4628
 
4584
- for (var _i15 = 0; _i15 < hooks.length; ++_i15) {
4585
- var hookName = hooks[_i15];
4629
+ for (var _i16 = 0; _i16 < hooks.length; ++_i16) {
4630
+ var hookName = hooks[_i16];
4586
4631
 
4587
4632
  if (hookName in service) {
4588
4633
  var l = Services[hookName];
@@ -4602,8 +4647,8 @@
4602
4647
  def = vm.def,
4603
4648
  context = vm.context;
4604
4649
 
4605
- for (var _i16 = 0, _len6 = cbs.length; _i16 < _len6; ++_i16) {
4606
- cbs[_i16].call(undefined, component, {}, def, context);
4650
+ for (var _i17 = 0, _len6 = cbs.length; _i17 < _len6; ++_i17) {
4651
+ cbs[_i17].call(undefined, component, {}, def, context);
4607
4652
  }
4608
4653
  }
4609
4654
  /*
@@ -4737,8 +4782,10 @@
4737
4782
  renderMode: def.renderMode,
4738
4783
  shadowMode: null,
4739
4784
  context: {
4740
- hostAttribute: undefined,
4741
- shadowAttribute: undefined,
4785
+ stylesheetToken: undefined,
4786
+ hasTokenInClass: undefined,
4787
+ hasTokenInAttribute: undefined,
4788
+ hasScopedStyles: undefined,
4742
4789
  styleVNode: null,
4743
4790
  tplCache: EmptyObject,
4744
4791
  wiredConnecting: EmptyArray,
@@ -4921,19 +4968,19 @@
4921
4968
  });
4922
4969
  rehydrateQueue = []; // reset to a new queue
4923
4970
 
4924
- for (var _i17 = 0, _len7 = vms.length; _i17 < _len7; _i17 += 1) {
4925
- var vm = vms[_i17];
4971
+ for (var _i18 = 0, _len7 = vms.length; _i18 < _len7; _i18 += 1) {
4972
+ var vm = vms[_i18];
4926
4973
 
4927
4974
  try {
4928
4975
  rehydrate(vm);
4929
4976
  } catch (error) {
4930
- if (_i17 + 1 < _len7) {
4977
+ if (_i18 + 1 < _len7) {
4931
4978
  // pieces of the queue are still pending to be rehydrated, those should have priority
4932
4979
  if (rehydrateQueue.length === 0) {
4933
4980
  addCallbackToNextTick(flushRehydrationQueue);
4934
4981
  }
4935
4982
 
4936
- ArrayUnshift.apply(rehydrateQueue, ArraySlice.call(vms, _i17 + 1));
4983
+ ArrayUnshift.apply(rehydrateQueue, ArraySlice.call(vms, _i18 + 1));
4937
4984
  } // we need to end the measure before throwing.
4938
4985
 
4939
4986
 
@@ -5032,8 +5079,8 @@
5032
5079
  var vCustomElementCollection = vm.velements; // Reporting disconnection for every child in inverse order since they are
5033
5080
  // inserted in reserved order.
5034
5081
 
5035
- for (var _i18 = vCustomElementCollection.length - 1; _i18 >= 0; _i18 -= 1) {
5036
- var elm = vCustomElementCollection[_i18].elm; // There are two cases where the element could be undefined:
5082
+ for (var _i19 = vCustomElementCollection.length - 1; _i19 >= 0; _i19 -= 1) {
5083
+ var elm = vCustomElementCollection[_i19].elm; // There are two cases where the element could be undefined:
5037
5084
  // * when there is an error during the construction phase, and an error
5038
5085
  // boundary picks it, there is a possibility that the VCustomElement
5039
5086
  // is not properly initialized, and therefore is should be ignored.
@@ -5067,8 +5114,8 @@
5067
5114
 
5068
5115
 
5069
5116
  function recursivelyDisconnectChildren(vnodes) {
5070
- for (var _i19 = 0, _len8 = vnodes.length; _i19 < _len8; _i19 += 1) {
5071
- var vnode = vnodes[_i19];
5117
+ for (var _i20 = 0, _len8 = vnodes.length; _i20 < _len8; _i20 += 1) {
5118
+ var vnode = vnodes[_i20];
5072
5119
 
5073
5120
  if (!isNull(vnode) && isArray$1(vnode.children) && !isUndefined$1(vnode.elm)) {
5074
5121
  // vnode is a VElement with children
@@ -5092,8 +5139,8 @@
5092
5139
  renderer = vm.renderer;
5093
5140
  var rootNode = getRenderRoot(vm);
5094
5141
 
5095
- for (var _i20 = 0, _len9 = children.length; _i20 < _len9; _i20++) {
5096
- var child = children[_i20];
5142
+ for (var _i21 = 0, _len9 = children.length; _i21 < _len9; _i21++) {
5143
+ var child = children[_i21];
5097
5144
 
5098
5145
  if (!isNull(child) && !isUndefined$1(child.elm)) {
5099
5146
  renderer.remove(child.elm, rootNode);
@@ -5138,8 +5185,8 @@
5138
5185
  var oldSlots = vm.cmpSlots;
5139
5186
  var cmpSlots = vm.cmpSlots = create(null);
5140
5187
 
5141
- for (var _i21 = 0, _len10 = children.length; _i21 < _len10; _i21 += 1) {
5142
- var vnode = children[_i21];
5188
+ for (var _i22 = 0, _len10 = children.length; _i22 < _len10; _i22 += 1) {
5189
+ var vnode = children[_i22];
5143
5190
 
5144
5191
  if (isNull(vnode)) {
5145
5192
  continue;
@@ -5169,8 +5216,8 @@
5169
5216
  return;
5170
5217
  }
5171
5218
 
5172
- for (var _i22 = 0, _len11 = oldKeys.length; _i22 < _len11; _i22 += 1) {
5173
- var key = oldKeys[_i22];
5219
+ for (var _i23 = 0, _len11 = oldKeys.length; _i23 < _len11; _i23 += 1) {
5220
+ var key = oldKeys[_i23];
5174
5221
 
5175
5222
  if (isUndefined$1(cmpSlots[key]) || oldSlots[key].length !== cmpSlots[key].length) {
5176
5223
  markComponentAsDirty(vm);
@@ -5509,8 +5556,8 @@
5509
5556
  function connectWireAdapters(vm) {
5510
5557
  var wiredConnecting = vm.context.wiredConnecting;
5511
5558
 
5512
- for (var _i23 = 0, _len12 = wiredConnecting.length; _i23 < _len12; _i23 += 1) {
5513
- wiredConnecting[_i23]();
5559
+ for (var _i24 = 0, _len12 = wiredConnecting.length; _i24 < _len12; _i24 += 1) {
5560
+ wiredConnecting[_i24]();
5514
5561
  }
5515
5562
  }
5516
5563
 
@@ -5518,8 +5565,8 @@
5518
5565
  var wiredDisconnecting = vm.context.wiredDisconnecting;
5519
5566
  runWithBoundaryProtection(vm, vm, noop, function () {
5520
5567
  // job
5521
- for (var _i24 = 0, _len13 = wiredDisconnecting.length; _i24 < _len13; _i24 += 1) {
5522
- wiredDisconnecting[_i24]();
5568
+ for (var _i25 = 0, _len13 = wiredDisconnecting.length; _i25 < _len13; _i25 += 1) {
5569
+ wiredDisconnecting[_i25]();
5523
5570
  }
5524
5571
  }, noop);
5525
5572
  }
@@ -5588,7 +5635,7 @@
5588
5635
 
5589
5636
  return reactiveMembrane.getReadOnlyProxy(obj);
5590
5637
  }
5591
- /* version: 2.4.0 */
5638
+ /* version: 2.5.0 */
5592
5639
 
5593
5640
  /*
5594
5641
  * Copyright (c) 2018, salesforce.com, inc.
@@ -6118,7 +6165,7 @@
6118
6165
  });
6119
6166
  freeze(LightningElement);
6120
6167
  seal(LightningElement.prototype);
6121
- /* version: 2.4.0 */
6168
+ /* version: 2.5.0 */
6122
6169
 
6123
6170
  exports.LightningElement = LightningElement;
6124
6171
  exports.__unstable__ProfilerControl = profilerControl;