@lwc/engine-core
Advanced tools
Comparing version 1.7.3-alpha1 to 1.7.3-alpha4
{ | ||
"name": "@lwc/engine-core", | ||
"version": "1.7.3-alpha1", | ||
"version": "1.7.3-alpha4", | ||
"description": "Core LWC engine APIs.", | ||
@@ -28,4 +28,4 @@ "homepage": "https://lwc.dev/", | ||
"devDependencies": { | ||
"@lwc/features": "1.7.3-alpha1", | ||
"@lwc/shared": "1.7.3-alpha1", | ||
"@lwc/features": "1.7.3-alpha4", | ||
"@lwc/shared": "1.7.3-alpha4", | ||
"observable-membrane": "0.26.1" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "59821480186ff6de30f8cf76465e92e2c29e1294" | ||
"gitHead": "737190c1f1e04a139d0c79d52b8bb4145d452f83" | ||
} |
@@ -13,2 +13,3 @@ /** | ||
import { HTMLElementConstructor } from './base-bridge-element'; | ||
import { HostElement } from './renderer'; | ||
export interface ComponentDef { | ||
@@ -35,3 +36,4 @@ name: string; | ||
export declare function getComponentInternalDef(Ctor: unknown, name?: string): ComponentDef; | ||
export declare function setElementProto(elm: Element, def: ComponentDef): void; | ||
/** Set prototype for public methods and properties on the element. No DOM Patching occurs here. */ | ||
export declare function setElementProto(elm: HostElement, def: ComponentDef): void; | ||
interface PropDef { | ||
@@ -38,0 +40,0 @@ config: number; |
@@ -27,2 +27,6 @@ export declare type HostNode = any; | ||
tagName(element: E): string; | ||
assertInstanceOfHTMLElement?(elm: any, msg: string): void; | ||
} | ||
export declare const documentObject: Document; | ||
export declare const HTMLElementConstructor: typeof HTMLElement; | ||
export declare const HTMLElementPrototype: HTMLElement; |
@@ -13,16 +13,14 @@ import { VNode, VNodes } from '../3rdparty/snabbdom/types'; | ||
(api: RenderAPI, cmp: object, slotSet: SlotSet, cache: TemplateCache): VNodes; | ||
/** | ||
* The stylesheet associated with the template. | ||
*/ | ||
/** The list of slot names used in the template. */ | ||
slots?: string[]; | ||
/** The stylesheet associated with the template. */ | ||
stylesheets?: StylesheetFactory[]; | ||
/** 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. | ||
*/ | ||
/** 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. | ||
*/ | ||
/** 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; | ||
@@ -29,0 +27,0 @@ }; |
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
413055
11514