@lwc/engine-core
Advanced tools
Comparing version 2.0.0-rc.0 to 2.0.0-rc-1-alpha0
{ | ||
"name": "@lwc/engine-core", | ||
"version": "2.0.0-rc.0", | ||
"version": "2.0.0-rc-1-alpha0", | ||
"description": "Core LWC engine APIs.", | ||
@@ -28,4 +28,4 @@ "homepage": "https://lwc.dev/", | ||
"devDependencies": { | ||
"@lwc/features": "2.0.0-rc.0", | ||
"@lwc/shared": "2.0.0-rc.0", | ||
"@lwc/features": "2.0.0-rc-1-alpha0", | ||
"@lwc/shared": "2.0.0-rc-1-alpha0", | ||
"observable-membrane": "1.0.1" | ||
@@ -36,3 +36,3 @@ }, | ||
}, | ||
"gitHead": "598606e35ebed900fb6a06eaf752410fc86301f8" | ||
"gitHead": "b3f4e0f188e0ffe16ad2cce4cad3a444f3dc7633" | ||
} |
@@ -17,7 +17,7 @@ /** | ||
delegatesFocus?: boolean; | ||
shadow: boolean; | ||
} | ||
export declare let LightningElement: LightningElementConstructor; | ||
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'>; | ||
export interface LightningElement extends HTMLElementTheGoodParts, AccessibleElementProperties { | ||
template: ShadowRoot; | ||
template: ShadowRoot | null; | ||
render(): Template; | ||
@@ -29,4 +29,8 @@ connectedCallback?(): void; | ||
} | ||
/** | ||
* This class is the base class for any LWC element. | ||
* Some elements directly extends this class, others implement it via inheritance. | ||
**/ | ||
export declare const LightningElement: LightningElementConstructor; | ||
export declare const lightningBasedDescriptors: PropertyDescriptorMap; | ||
export declare const BaseLightningElement: LightningElementConstructor; | ||
export {}; |
export { createContextProvider } from './context-provider'; | ||
export { BaseLightningElement as LightningElement } from './base-lightning-element'; | ||
export { LightningElement } from './base-lightning-element'; | ||
export { register } from './services'; | ||
@@ -4,0 +4,0 @@ export { default as api } from './decorators/api'; |
@@ -82,3 +82,3 @@ import { Template } from './template'; | ||
/** The custom element shadow root. */ | ||
cmpRoot: ShadowRoot; | ||
cmpRoot: ShadowRoot | null; | ||
/** The template reactive observer. */ | ||
@@ -122,2 +122,5 @@ tro: ReactiveObserver; | ||
export declare function forceRehydration(vm: VM): void; | ||
export declare function hasShadow(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
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
451809
12528