@lwc/engine-core 3.1.0 → 3.1.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.
package/dist/index.js
CHANGED
|
@@ -1688,6 +1688,10 @@ LightningElement.prototype = {
|
|
|
1688
1688
|
}
|
|
1689
1689
|
return renderer.ownerDocument(vm.elm);
|
|
1690
1690
|
},
|
|
1691
|
+
get tagName() {
|
|
1692
|
+
const { elm, renderer } = getAssociatedVM(this);
|
|
1693
|
+
return renderer.getTagName(elm);
|
|
1694
|
+
},
|
|
1691
1695
|
render() {
|
|
1692
1696
|
const vm = getAssociatedVM(this);
|
|
1693
1697
|
return vm.def.template;
|
|
@@ -3149,7 +3153,8 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
|
3149
3153
|
if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS &&
|
|
3150
3154
|
!isScopedCss &&
|
|
3151
3155
|
vm.renderMode === 0 /* RenderMode.Light */) {
|
|
3152
|
-
logError('Unscoped CSS is not supported in Light DOM. Please use scoped CSS
|
|
3156
|
+
logError('Unscoped CSS is not supported in Light DOM in this environment. Please use scoped CSS ' +
|
|
3157
|
+
'(*.scoped.css) instead of unscoped CSS (*.css). See also: https://sfdc.co/scoped-styles-light-dom');
|
|
3153
3158
|
continue;
|
|
3154
3159
|
}
|
|
3155
3160
|
// Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
|
|
@@ -6883,5 +6888,5 @@ function readonly(obj) {
|
|
|
6883
6888
|
}
|
|
6884
6889
|
|
|
6885
6890
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, register, registerComponent, registerDecorators, registerTemplate, sanitizeAttribute, setHooks, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
6886
|
-
/** version: 3.1.
|
|
6891
|
+
/** version: 3.1.2 */
|
|
6887
6892
|
//# sourceMappingURL=index.js.map
|