Socket
Socket
Sign inDemoInstall

@lion/choice-input

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/choice-input - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [0.1.5](https://github.com/ing-bank/lion/compare/@lion/choice-input@0.1.4...@lion/choice-input@0.1.5) (2019-05-07)
**Note:** Version bump only for package @lion/choice-input
## [0.1.4](https://github.com/ing-bank/lion/compare/@lion/choice-input@0.1.3...@lion/choice-input@0.1.4) (2019-04-29)

@@ -8,0 +16,0 @@

8

package.json
{
"name": "@lion/choice-input",
"version": "0.1.4",
"version": "0.1.5",
"description": "Base for all choise inputs like checkbox/radio",

@@ -34,10 +34,10 @@ "author": "ing-bank",

"@lion/core": "^0.1.3",
"@lion/field": "^0.1.4"
"@lion/field": "^0.1.5"
},
"devDependencies": {
"@lion/input": "^0.1.4",
"@lion/input": "^0.1.5",
"@open-wc/demoing-storybook": "^0.2.0",
"@open-wc/testing": "^0.11.1"
},
"gitHead": "813a790613b9864f9dd01f775bc3ddb181b37d2d"
"gitHead": "4cc5a3571b8c06ad99184e183c5b77ecf1669c92"
}

@@ -19,9 +19,2 @@ /* eslint-disable class-methods-use-this */

get events() {
return {
...super.events,
_toggleChecked: [() => this, 'user-input-changed'],
};
}
static get syncObservers() {

@@ -108,5 +101,11 @@ return {

if (super.connectedCallback) super.connectedCallback();
this.addEventListener('user-input-changed', this._toggleChecked);
this._reflectCheckedToCssClass();
}
disconnectedCallback() {
if (super.disconnectedCallback) super.disconnectedCallback();
this.removeEventListener('user-input-changed', this._toggleChecked);
}
_toggleChecked() {

@@ -113,0 +112,0 @@ this.choiceChecked = !this.choiceChecked;

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