@lwc/engine-core 7.2.3 → 7.2.4
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.cjs.js +13 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +13 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -6003,6 +6003,11 @@ function buildParseFragmentFn(createFragmentFn) {
|
|
|
6003
6003
|
return cached;
|
|
6004
6004
|
}
|
|
6005
6005
|
}
|
|
6006
|
+
// See W-16614556
|
|
6007
|
+
if ((hasStyleToken && !isString(stylesheetToken)) ||
|
|
6008
|
+
(hasLegacyToken && !isString(legacyStylesheetToken))) {
|
|
6009
|
+
throw new Error('stylesheet token must be a string');
|
|
6010
|
+
}
|
|
6006
6011
|
// If legacy stylesheet tokens are required, then add them to the rendered string
|
|
6007
6012
|
const stylesheetTokenToRender = stylesheetToken + (hasLegacyToken ? ` ${legacyStylesheetToken}` : '');
|
|
6008
6013
|
const classToken = hasScopedStyles && hasStyleToken ? ' ' + stylesheetTokenToRender : '';
|
|
@@ -7826,7 +7831,13 @@ function setHooks(hooks) {
|
|
|
7826
7831
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
7827
7832
|
*/
|
|
7828
7833
|
// See @lwc/engine-core/src/framework/template.ts
|
|
7829
|
-
const TEMPLATE_PROPS = [
|
|
7834
|
+
const TEMPLATE_PROPS = [
|
|
7835
|
+
'slots',
|
|
7836
|
+
'stylesheetToken',
|
|
7837
|
+
'stylesheets',
|
|
7838
|
+
'renderMode',
|
|
7839
|
+
'legacyStylesheetToken',
|
|
7840
|
+
];
|
|
7830
7841
|
// Expandos that may be placed on a stylesheet factory function, and which are meaningful to LWC at runtime
|
|
7831
7842
|
const STYLESHEET_PROPS = [
|
|
7832
7843
|
// SEE `KEY__SCOPED_CSS` in @lwc/style-compiler
|
|
@@ -8076,5 +8087,5 @@ function readonly(obj) {
|
|
|
8076
8087
|
}
|
|
8077
8088
|
|
|
8078
8089
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, setHooks, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8079
|
-
/** version: 7.2.
|
|
8090
|
+
/** version: 7.2.4 */
|
|
8080
8091
|
//# sourceMappingURL=index.js.map
|