@lwc/engine-core 8.12.1 → 8.12.2

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.
@@ -6,6 +6,7 @@ export { hydrateRoot } from './hydration';
6
6
  export { registerComponent } from './component';
7
7
  export { registerTemplate } from './secure-template';
8
8
  export { registerDecorators } from './decorators/register';
9
+ export { BaseBridgeElement } from './base-bridge-element';
9
10
  export { unwrap } from './membrane';
10
11
  export { sanitizeAttribute } from './secure-template';
11
12
  export { getComponentDef, isComponentConstructor } from './def';
package/dist/index.cjs.js CHANGED
@@ -808,25 +808,6 @@ for (const [attrName, propName] of shared.entries(shared.AriaAttrNameToPropNameM
808
808
  descriptors[propName] = ariaDescriptor(attrName);
809
809
  }
810
810
 
811
- /*
812
- * Copyright (c) 2018, salesforce.com, inc.
813
- * All rights reserved.
814
- * SPDX-License-Identifier: MIT
815
- * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
816
- */
817
- // These properties get added to LWCElement.prototype publicProps automatically
818
- const defaultDefHTMLPropertyNames = [
819
- 'accessKey',
820
- 'dir',
821
- 'draggable',
822
- 'hidden',
823
- 'id',
824
- 'lang',
825
- 'spellcheck',
826
- 'tabIndex',
827
- 'title',
828
- ];
829
-
830
811
  /*
831
812
  * Copyright (c) 2018, salesforce.com, inc.
832
813
  * All rights reserved.
@@ -848,7 +829,7 @@ shared.forEach.call(shared.keys(shared.AriaPropNameToAttrNameMap), (propName) =>
848
829
  HTMLElementOriginalDescriptors[propName] = descriptor;
849
830
  }
850
831
  });
851
- shared.forEach.call(defaultDefHTMLPropertyNames, (propName) => {
832
+ for (const propName of shared.REFLECTIVE_GLOBAL_PROPERTY_SET) {
852
833
  // Note: intentionally using our in-house getPropertyDescriptor instead of getOwnPropertyDescriptor here because
853
834
  // in IE11, id property is on Element.prototype instead of HTMLElement, and we suspect that more will fall into
854
835
  // this category, so, better to be sure.
@@ -856,7 +837,7 @@ shared.forEach.call(defaultDefHTMLPropertyNames, (propName) => {
856
837
  if (!shared.isUndefined(descriptor)) {
857
838
  HTMLElementOriginalDescriptors[propName] = descriptor;
858
839
  }
859
- });
840
+ }
860
841
 
861
842
  /*
862
843
  * Copyright (c) 2018, salesforce.com, inc.
@@ -8404,6 +8385,7 @@ Object.defineProperty(exports, "setFeatureFlagForTest", {
8404
8385
  enumerable: true,
8405
8386
  get: function () { return features.setFeatureFlagForTest; }
8406
8387
  });
8388
+ exports.BaseBridgeElement = BaseBridgeElement;
8407
8389
  exports.LightningElement = LightningElement;
8408
8390
  exports.__unstable__ProfilerControl = profilerControl;
8409
8391
  exports.__unstable__ReportingControl = reportingControl;
@@ -8439,5 +8421,5 @@ exports.swapTemplate = swapTemplate;
8439
8421
  exports.track = track;
8440
8422
  exports.unwrap = unwrap;
8441
8423
  exports.wire = wire;
8442
- /** version: 8.12.1 */
8424
+ /** version: 8.12.2 */
8443
8425
  //# sourceMappingURL=index.cjs.js.map