@material/mwc-formfield
Advanced tools
Comparing version 0.25.1 to 0.25.2
@@ -22,3 +22,4 @@ /** | ||
protected render(): import("lit-html").TemplateResult<1>; | ||
click(): void; | ||
protected _labelClick(): void; | ||
} |
@@ -11,4 +11,5 @@ /** | ||
import { observer } from '@material/mwc-base/observer'; | ||
import { html, property, query, queryAssignedNodes } from 'lit-element'; | ||
import { classMap } from 'lit-html/directives/class-map.js'; | ||
import { html } from 'lit'; | ||
import { property, query, queryAssignedNodes } from 'lit/decorators.js'; | ||
import { classMap } from 'lit/directives/class-map.js'; | ||
export class FormfieldBase extends BaseElement { | ||
@@ -68,2 +69,5 @@ constructor() { | ||
} | ||
click() { | ||
this._labelClick(); | ||
} | ||
_labelClick() { | ||
@@ -70,0 +74,0 @@ const input = this.input; |
@@ -13,3 +13,3 @@ /** | ||
export declare class Formfield extends FormfieldBase { | ||
static styles: import("lit-element").CSSResult[]; | ||
static styles: import("lit").CSSResult[]; | ||
} |
@@ -9,3 +9,3 @@ /** | ||
// tslint:disable:strip-private-property-underscore | ||
import { customElement } from 'lit-element'; | ||
import { customElement } from 'lit/decorators.js'; | ||
import { FormfieldBase } from './mwc-formfield-base'; | ||
@@ -12,0 +12,0 @@ import { styles } from './mwc-formfield.css'; |
{ | ||
"name": "@material/mwc-formfield", | ||
"version": "0.25.1", | ||
"version": "0.25.2", | ||
"description": "Material Design formfield web component", | ||
@@ -19,15 +19,14 @@ "keywords": [ | ||
"dependencies": { | ||
"@material/form-field": "=13.0.0-canary.65125b3a6.0", | ||
"@material/mwc-base": "^0.25.1", | ||
"lit-element": "^3.0.0", | ||
"lit-html": "^2.0.0", | ||
"@material/form-field": "=14.0.0-canary.353ca7e9f.0", | ||
"@material/mwc-base": "^0.25.2", | ||
"lit": "^2.0.0", | ||
"tslib": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@material/mwc-checkbox": "^0.25.1", | ||
"@material/mwc-radio": "^0.25.1", | ||
"@material/mwc-switch": "^0.25.1", | ||
"@material/rtl": "=13.0.0-canary.65125b3a6.0", | ||
"@material/theme": "=13.0.0-canary.65125b3a6.0", | ||
"@material/typography": "=13.0.0-canary.65125b3a6.0" | ||
"@material/mwc-checkbox": "^0.25.2", | ||
"@material/mwc-radio": "^0.25.2", | ||
"@material/mwc-switch": "^0.25.2", | ||
"@material/rtl": "=14.0.0-canary.353ca7e9f.0", | ||
"@material/theme": "=14.0.0-canary.353ca7e9f.0", | ||
"@material/typography": "=14.0.0-canary.353ca7e9f.0" | ||
}, | ||
@@ -40,3 +39,3 @@ "scripts": { | ||
}, | ||
"gitHead": "b1c1ab5230f56f6bce405387b9c75cc7111cacc2" | ||
"gitHead": "c3aa844c2a09ff9868820ce946f25f9df7714560" | ||
} |
@@ -37,3 +37,3 @@ # `<mwc-formfield>` [![Published on npm](https://img.shields.io/npm/v/@material/mwc-formfield.svg)](https://www.npmjs.com/package/@material/mwc-formfield) | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/b1c1ab5230f56f6bce405387b9c75cc7111cacc2/packages/formfield/images/with_checkbox.png" width="105px" height="40px"> | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/c3aa844c2a09ff9868820ce946f25f9df7714560/packages/formfield/images/with_checkbox.png" width="105px" height="40px"> | ||
@@ -53,3 +53,3 @@ ```html | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/b1c1ab5230f56f6bce405387b9c75cc7111cacc2/packages/formfield/images/nowrap.png" width="150px" height="40px"> | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/c3aa844c2a09ff9868820ce946f25f9df7714560/packages/formfield/images/nowrap.png" width="150px" height="40px"> | ||
@@ -74,3 +74,3 @@ ```html | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/b1c1ab5230f56f6bce405387b9c75cc7111cacc2/packages/formfield/images/with_radio.png" width="94px" height="80px"> | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/c3aa844c2a09ff9868820ce946f25f9df7714560/packages/formfield/images/with_radio.png" width="94px" height="80px"> | ||
@@ -100,3 +100,3 @@ ```html | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/b1c1ab5230f56f6bce405387b9c75cc7111cacc2/packages/formfield/images/with_switch.png" width="160px" height="48px"> | ||
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/c3aa844c2a09ff9868820ce946f25f9df7714560/packages/formfield/images/with_switch.png" width="160px" height="48px"> | ||
@@ -103,0 +103,0 @@ ```html |
Sorry, the diff of this file is not supported yet
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
4
0
100
36128
13
177
+ Addedlit@^2.0.0
- Removedlit-element@^3.0.0
- Removedlit-html@^2.0.0
Updated@material/mwc-base@^0.25.2