Socket
Socket
Sign inDemoInstall

@material/mwc-formfield

Package Overview
Dependencies
Maintainers
13
Versions
720
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-formfield - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

2

mwc-formfield.d.ts

@@ -46,3 +46,3 @@ /**

render(): import("lit-html/lib/template-result").TemplateResult;
protected labelClick: () => void;
private _labelClick;
}

@@ -35,9 +35,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

this.mdcFoundationClass = MDCFormFieldFoundation;
this.labelClick = () => {
const input = this.input;
if (input) {
input.focus();
input.click();
}
};
}

@@ -71,5 +64,12 @@ createAdapter() {

<slot></slot>
<label class="mdc-label" @click="${this.labelClick}">${this.label}</label>
<label class="mdc-label" @click="${this._labelClick}">${this.label}</label>
</div>`;
}
_labelClick() {
const input = this.input;
if (input) {
input.focus();
input.click();
}
}
}

@@ -76,0 +76,0 @@ __decorate([

{
"name": "@material/mwc-formfield",
"version": "0.3.1",
"version": "0.3.2",
"description": "",

@@ -13,5 +13,5 @@ "main": "mwc-formfield.js",

"@material/form-field": "^0.40.0",
"@material/mwc-base": "^0.3.1",
"@material/mwc-base": "^0.3.2",
"@polymer/lit-element": "^0.6.2",
"lit-html": "^0.12.0"
"lit-html": "^0.13.0"
},

@@ -18,0 +18,0 @@ "publishConfig": {

@@ -105,7 +105,7 @@ /**

<slot></slot>
<label class="mdc-label" @click="${this.labelClick}">${this.label}</label>
<label class="mdc-label" @click="${this._labelClick}">${this.label}</label>
</div>`;
}
protected labelClick = () => {
private _labelClick() {
const input = this.input;

@@ -112,0 +112,0 @@ if (input) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc