Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material/mwc-formfield

Package Overview
Dependencies
Maintainers
21
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.26.0-canary.3a5d5f34.0 to 0.26.0-canary.406d6fe1.0

1

mwc-formfield-base.d.ts

@@ -22,3 +22,4 @@ /**

protected render(): import("lit-html").TemplateResult<1>;
click(): void;
protected _labelClick(): void;
}

@@ -68,2 +68,5 @@ /**

}
click() {
this._labelClick();
}
_labelClick() {

@@ -70,0 +73,0 @@ const input = this.input;

2

mwc-formfield.css.d.ts

@@ -1,1 +0,1 @@

export declare const styles: import("lit-element").CSSResult;
export declare const styles: import("lit").CSSResult;

@@ -6,4 +6,4 @@ /**

*/
import { css } from 'lit-element';
import { css } from 'lit';
export const styles = css `.mdc-form-field{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}:host{display:inline-flex}.mdc-form-field{width:100%}::slotted(*){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}::slotted(mwc-switch){margin-right:10px}[dir=rtl] ::slotted(mwc-switch),::slotted(mwc-switch[dir=rtl]){margin-left:10px}`;
//# sourceMappingURL=mwc-formfield.css.js.map
{
"name": "@material/mwc-formfield",
"version": "0.26.0-canary.3a5d5f34.0",
"version": "0.26.0-canary.406d6fe1.0",
"description": "Material Design formfield web component",

@@ -19,4 +19,4 @@ "keywords": [

"dependencies": {
"@material/form-field": "=13.0.0-canary.c79aa0cdd.0",
"@material/mwc-base": "0.26.0-canary.3a5d5f34.0",
"@material/form-field": "=14.0.0-canary.353ca7e9f.0",
"@material/mwc-base": "0.26.0-canary.406d6fe1.0",
"lit": "^2.0.0",

@@ -26,8 +26,8 @@ "tslib": "^2.0.1"

"devDependencies": {
"@material/mwc-checkbox": "0.26.0-canary.3a5d5f34.0",
"@material/mwc-radio": "0.26.0-canary.3a5d5f34.0",
"@material/mwc-switch": "0.26.0-canary.3a5d5f34.0",
"@material/rtl": "=13.0.0-canary.c79aa0cdd.0",
"@material/theme": "=13.0.0-canary.c79aa0cdd.0",
"@material/typography": "=13.0.0-canary.c79aa0cdd.0"
"@material/mwc-checkbox": "0.26.0-canary.406d6fe1.0",
"@material/mwc-radio": "0.26.0-canary.406d6fe1.0",
"@material/mwc-switch": "0.26.0-canary.406d6fe1.0",
"@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 +40,3 @@ "scripts": {

},
"gitHead": "0708ad010478b6186d6be52d3494f33bd4d40e17"
"gitHead": "d1410f3120b13ff08ccd731739c038b9fb14af78"
}

@@ -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/0708ad010478b6186d6be52d3494f33bd4d40e17/packages/formfield/images/with_checkbox.png" width="105px" height="40px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/d1410f3120b13ff08ccd731739c038b9fb14af78/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/0708ad010478b6186d6be52d3494f33bd4d40e17/packages/formfield/images/nowrap.png" width="150px" height="40px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/d1410f3120b13ff08ccd731739c038b9fb14af78/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/0708ad010478b6186d6be52d3494f33bd4d40e17/packages/formfield/images/with_radio.png" width="94px" height="80px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/d1410f3120b13ff08ccd731739c038b9fb14af78/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/0708ad010478b6186d6be52d3494f33bd4d40e17/packages/formfield/images/with_switch.png" width="160px" height="48px">
<img src="https://raw.githubusercontent.com/material-components/material-components-web-components/d1410f3120b13ff08ccd731739c038b9fb14af78/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

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