Socket
Socket
Sign inDemoInstall

@material/mwc-checkbox

Package Overview
Dependencies
Maintainers
13
Versions
721
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material/mwc-checkbox - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

.tsbuildinfo

7

mwc-checkbox.js

@@ -23,3 +23,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

*/
import { html, FormElement, customElement, property, query, addHasRemoveClass } from '@material/mwc-base/form-element.js';
import { html, FormElement, customElement, property, query, observer, addHasRemoveClass } from '@material/mwc-base/form-element.js';
import { style } from './mwc-checkbox-css.js';

@@ -94,3 +94,6 @@ import { ripple } from '@material/mwc-ripple/ripple-directive.js';

__decorate([
property({ type: Boolean })
property({ type: Boolean }),
observer(function (value) {
this.mdcFoundation.setDisabled(value);
})
], Checkbox.prototype, "disabled", void 0);

@@ -97,0 +100,0 @@ __decorate([

{
"name": "@material/mwc-checkbox",
"version": "0.5.0",
"version": "0.6.0",
"description": "",

@@ -17,8 +17,9 @@ "main": "mwc-checkbox.js",

"@material/checkbox": "^1.0.0",
"@material/mwc-base": "^0.5.0",
"@material/mwc-ripple": "^0.5.0"
"@material/mwc-base": "^0.6.0",
"@material/mwc-ripple": "^0.6.0"
},
"publishConfig": {
"access": "public"
}
},
"gitHead": "1961a2530cc20bc020bba88f4da76d085ad1f1e0"
}
# mwc-checkbox
> :warning: These components are a work in progress. They are pre-release and should be considered experimental, as they may undergo major changes before release. We are experimenting with alternate architectures and approaches with the goal of allowing us to bring the most correct and optimal implementation of Material components to the widest possible audiences. Visible progress may be slow, as this research is across teams and repositories so is not consistently reflected in commits to this codebase. :warning:
A [Material Components](https://material.io/components/) icon implementation using [Web Components](https://www.webcomponents.org/introduction)

@@ -3,0 +6,0 @@

@@ -17,3 +17,3 @@ /**

*/
import {html, FormElement, customElement, property, query, HTMLElementWithRipple, addHasRemoveClass, RippleSurface} from '@material/mwc-base/form-element.js';
import {html, FormElement, customElement, property, query, observer, HTMLElementWithRipple, addHasRemoveClass, RippleSurface} from '@material/mwc-base/form-element.js';
import {style} from './mwc-checkbox-css.js';

@@ -46,2 +46,5 @@ import {ripple} from '@material/mwc-ripple/ripple-directive.js';

@property({type: Boolean})
@observer(function(this: Checkbox, value: boolean) {
this.mdcFoundation.setDisabled(value);
})
disabled = false;

@@ -48,0 +51,0 @@

{
"extends": "../../tsconfig.json",
"compilerOptions": {
"composite": true,
"rootDir": "src",
"outDir": "."
"outDir": ".",
"tsBuildInfoFile": ".tsbuildinfo"
},

@@ -7,0 +9,0 @@ "include": [

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