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.2.2 to 0.2.3

12

CHANGELOG.md

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

## [0.2.3](https://github.com/ing-bank/lion/compare/@lion/choice-input@0.2.2...@lion/choice-input@0.2.3) (2019-07-02)
### Bug Fixes
* **choice-input:** tests for empty modelValue ([caedb05](https://github.com/ing-bank/lion/commit/caedb05))
* **field:** don't return Unparseable on empty strings ([6a85dbc](https://github.com/ing-bank/lion/commit/6a85dbc))
## [0.2.2](https://github.com/ing-bank/lion/compare/@lion/choice-input@0.2.1...@lion/choice-input@0.2.2) (2019-07-02)

@@ -8,0 +20,0 @@

8

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

@@ -36,6 +36,6 @@ "author": "ing-bank",

"@lion/core": "^0.1.9",
"@lion/field": "^0.1.23"
"@lion/field": "^0.1.24"
},
"devDependencies": {
"@lion/input": "^0.1.24",
"@lion/input": "^0.1.25",
"@open-wc/demoing-storybook": "^0.2.0",

@@ -45,3 +45,3 @@ "@open-wc/testing": "^0.12.5",

},
"gitHead": "e2a1986630108e02ecbfbb742bab6df6d5dfd32e"
"gitHead": "0cdd0c22209ed0b1cd58951fae4273408e0761da"
}

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

/**
* @override
* Overridden from FormatMixin, since a different modelValue is used for choice inputs.
* Synchronization from user input is already arranged in this Mixin.
*/
_syncValueUpwards() {}
/**
* @deprecated use .checked

@@ -218,0 +225,0 @@ */

@@ -71,6 +71,8 @@ import { expect, fixture } from '@open-wc/testing';

<choice-input
@user-input-changed=${() => {
@user-input-changed="${() => {
counter += 1;
}}
></choice-input>
}}"
>
<input slot="input" />
</choice-input>
`);

@@ -104,4 +106,2 @@ expect(counter).to.equal(0);

`);
el._syncValueUpwards = () => {}; // We need to disable the method for the test to pass
expect(precheckedElementAttr.checked).to.equal(true, 'initially checked via attribute');

@@ -108,0 +108,0 @@ });

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