@polymer/lit-element
Advanced tools
Comparing version 0.6.2 to 0.6.3
@@ -20,2 +20,6 @@ # Change Log | ||
## [0.6.3] - 2018-11-08 | ||
### Changed | ||
* Update lit-html dependency to ^0.13.0 ([#298](https://github.com/Polymer/lit-element/pull/298)). | ||
## [0.6.2] - 2018-10-05 | ||
@@ -22,0 +26,0 @@ |
{ | ||
"name": "@polymer/lit-element", | ||
"version": "0.6.2", | ||
"version": "0.6.3", | ||
"description": "Polymer based lit-html custom element", | ||
@@ -43,3 +43,3 @@ "license": "BSD-3-Clause", | ||
"dependencies": { | ||
"lit-html": "^0.12.0" | ||
"lit-html": "^0.13.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "publishConfig": { |
@@ -15,3 +15,4 @@ > ## 🛠 Status: In Development | ||
and adds API to help manage element properties and attributes. LitElement reacts to changes in properties | ||
and renders declaratively using `lit-html`. | ||
and renders declaratively using `lit-html`. See the [lit-html guide](https://polymer.github.io/lit-html/guide) | ||
for additional information on how to create templates for lit-element. | ||
@@ -49,4 +50,4 @@ * **Setup properties:** LitElement supports observable properties that cause the element to update. | ||
Note, `type: Boolean` has special handling by default which means that truthy | ||
values result in the presense of the attribute, where as falsy values result | ||
in the absense of the attribute. | ||
values result in the presence of the attribute, whereas falsy values result | ||
in the absence of the attribute. | ||
* `hasChanged`: A function that indicates whether a property should be considered | ||
@@ -70,2 +71,3 @@ changed when it is set and thus result in an update. The function should take the | ||
* attribute: ``` html`<div class="${this.color} special"></div>` ``` | ||
* boolean attribute: ``` html`<input type="checkbox" ?checked=${checked}>` ``` | ||
* event handler: ``` html`<button @click="${this._clickHandler}"></button>` ``` | ||
@@ -72,0 +74,0 @@ |
@@ -28,8 +28,2 @@ /** | ||
declare global { | ||
interface Window { | ||
ShadyDOM: any; // tslint:disable-line | ||
} | ||
} | ||
const assert = chai.assert; | ||
@@ -36,0 +30,0 @@ |
@@ -15,6 +15,1 @@ /** | ||
import '@webcomponents/shadycss/apply-shim.min.js'; | ||
declare global { | ||
interface Window { | ||
ShadyDOM: any; | ||
} | ||
} |
@@ -17,2 +17,2 @@ /** | ||
export declare const nextFrame: () => Promise<{}>; | ||
export declare const getComputedStyleValue: (element: Element, property: string) => any; | ||
export declare const getComputedStyleValue: (element: Element, property: string) => string; |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
451649
55
6060
285
0
+ Addedlit-html@0.13.0(transitive)
- Removedlit-html@0.12.0(transitive)
Updatedlit-html@^0.13.0