@lwc/engine-core
Advanced tools
Comparing version 2.0.0-rc.2 to 2.0.0-rc.3
{ | ||
"name": "@lwc/engine-core", | ||
"version": "2.0.0-rc.2", | ||
"version": "2.0.0-rc.3", | ||
"description": "Core LWC engine APIs.", | ||
@@ -28,4 +28,4 @@ "homepage": "https://lwc.dev/", | ||
"devDependencies": { | ||
"@lwc/features": "2.0.0-rc.2", | ||
"@lwc/shared": "2.0.0-rc.2", | ||
"@lwc/features": "2.0.0-rc.3", | ||
"@lwc/shared": "2.0.0-rc.3", | ||
"observable-membrane": "1.0.1" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "21333163f133085a97903f94e9ebb1a6eb30dc48" | ||
"gitHead": "694107817c55769fbec8f42e258fc273b86de1a9" | ||
} |
@@ -5,2 +5,11 @@ import { VNode, VNodes } from '../3rdparty/snabbdom/types'; | ||
import { TemplateStylesheetFactories } from './stylesheet'; | ||
export interface TemplateStylesheetTokens { | ||
/** HTML attribute that need to be applied to the host element. This attribute is used for | ||
* the `:host` pseudo class CSS selector. */ | ||
hostAttribute: string; | ||
/** HTML attribute that need to the applied to all the element that the template produces. | ||
* This attribute is used for style encapsulation when the engine runs with synthetic | ||
* shadow. */ | ||
shadowAttribute: string; | ||
} | ||
export interface Template { | ||
@@ -13,11 +22,3 @@ (api: RenderAPI, cmp: object, slotSet: SlotSet, cache: TemplateCache): VNodes; | ||
/** The stylesheet tokens used for synthetic shadow style scoping. */ | ||
stylesheetTokens?: { | ||
/** HTML attribute that need to be applied to the host element. This attribute is used for | ||
* the `:host` pseudo class CSS selector. */ | ||
hostAttribute: string; | ||
/** HTML attribute that need to the applied to all the element that the template produces. | ||
* This attribute is used for style encapsulation when the engine runs with synthetic | ||
* shadow. */ | ||
shadowAttribute: string; | ||
}; | ||
stylesheetTokens?: TemplateStylesheetTokens; | ||
} | ||
@@ -24,0 +25,0 @@ export declare let isUpdatingTemplate: boolean; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
456989
12716