@lwc/engine-core
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "@lwc/engine-core", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Core LWC engine APIs.", | ||
@@ -28,4 +28,4 @@ "homepage": "https://lwc.dev/", | ||
"devDependencies": { | ||
"@lwc/features": "2.1.1", | ||
"@lwc/shared": "2.1.1", | ||
"@lwc/features": "2.1.2", | ||
"@lwc/shared": "2.1.2", | ||
"observable-membrane": "1.0.1" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "6d8d4ad62867d0aba909848661839f13dad06b2d" | ||
"gitHead": "aeba76b7d26dd09b04faaf9132e04c09494e70a1" | ||
} |
@@ -11,3 +11,3 @@ import { SlotSet } from './vm'; | ||
export interface RenderAPI { | ||
s(slotName: string, data: ElementCompilerData, children: VNodes, slotset: SlotSet): VNode; | ||
s(slotName: string, data: ElementCompilerData, children: VNodes, slotset: SlotSet): VNode | VNodes; | ||
h(tagName: string, data: ElementCompilerData, children: VNodes): VNode; | ||
@@ -25,3 +25,3 @@ c(tagName: string, Ctor: LightningElementConstructor, data: CustomElementCompilerData, children?: VNodes): VNode; | ||
export declare function ti(value: any): number; | ||
export declare function s(slotName: string, data: ElementCompilerData, children: VNodes, slotset: SlotSet | undefined): VElement; | ||
export declare function s(slotName: string, data: ElementCompilerData, children: VNodes, slotset: SlotSet | undefined): VElement | VNodes; | ||
export declare function c(sel: string, Ctor: LightningElementConstructor, data: CustomElementCompilerData, children?: VNodes): VCustomElement; | ||
@@ -28,0 +28,0 @@ export declare function i(iterable: Iterable<any>, factory: (value: any, index: number, first: boolean, last: boolean) => VNodes | VNode): VNodes; |
@@ -17,3 +17,3 @@ /** | ||
delegatesFocus?: boolean; | ||
shadow: boolean; | ||
renderMode?: 'shadow' | 'light'; | ||
} | ||
@@ -20,0 +20,0 @@ declare type HTMLElementTheGoodParts = Pick<Object, 'toString'> & Pick<HTMLElement, 'accessKey' | 'addEventListener' | 'classList' | 'dir' | 'dispatchEvent' | 'draggable' | 'getAttribute' | 'getAttributeNS' | 'getBoundingClientRect' | 'getElementsByClassName' | 'getElementsByTagName' | 'hasAttribute' | 'hasAttributeNS' | 'hidden' | 'id' | 'isConnected' | 'lang' | 'querySelector' | 'querySelectorAll' | 'removeAttribute' | 'removeAttributeNS' | 'removeEventListener' | 'setAttribute' | 'setAttributeNS' | 'spellcheck' | 'tabIndex' | 'title'>; |
@@ -22,2 +22,4 @@ import { VNode, VNodes } from '../3rdparty/snabbdom/types'; | ||
stylesheetTokens?: TemplateStylesheetTokens; | ||
/** Render mode for the template. Could be light or undefined (which means it's shadow) */ | ||
renderMode?: 'light'; | ||
} | ||
@@ -24,0 +26,0 @@ export declare let isUpdatingTemplate: boolean; |
@@ -116,3 +116,3 @@ import { Template } from './template'; | ||
export declare function runConnectedCallback(vm: VM): void; | ||
export declare function resetShadowRoot(vm: VM): void; | ||
export declare function resetComponentRoot(vm: VM): void; | ||
export declare function scheduleRehydration(vm: VM): void; | ||
@@ -122,5 +122,5 @@ export declare function allocateInSlot(vm: VM, children: VNodes): void; | ||
export declare function forceRehydration(vm: VM): void; | ||
export declare function hasShadow(vm: VM): vm is VM & { | ||
export declare function isLightRenderModeVM(vm: VM): vm is VM & { | ||
cmpRoot: ShadowRoot; | ||
}; | ||
export {}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
455126
12620