Socket
Socket
Sign inDemoInstall

@lion/switch

Package Overview
Dependencies
4
Maintainers
1
Versions
132
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.5.0

stories/index.stories.mdx

11

CHANGELOG.md

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

# [0.5.0](https://github.com/ing-bank/lion/compare/@lion/switch@0.4.2...@lion/switch@0.5.0) (2020-01-13)
### Features
* improved storybook demos ([89b835a](https://github.com/ing-bank/lion/commit/89b835a79998c45a28093de01f69216c35009a40))
## [0.4.2](https://github.com/ing-bank/lion/compare/@lion/switch@0.4.1...@lion/switch@0.4.2) (2020-01-08)

@@ -8,0 +19,0 @@

18

package.json
{
"name": "@lion/switch",
"version": "0.4.2",
"version": "0.5.0",
"description": "A Switch is used for switching a property or feature on and off",

@@ -35,15 +35,15 @@ "author": "ing-bank",

"dependencies": {
"@lion/button": "0.4.6",
"@lion/choice-input": "0.4.11",
"@lion/core": "0.3.0",
"@lion/field": "0.7.1"
"@lion/button": "0.5.0",
"@lion/choice-input": "0.5.0",
"@lion/core": "0.4.0",
"@lion/field": "0.8.0"
},
"devDependencies": {
"@lion/localize": "0.7.2",
"@lion/validate": "0.5.4",
"@open-wc/demoing-storybook": "^0.2.0",
"@lion/localize": "0.8.0",
"@lion/validate": "0.6.0",
"@open-wc/demoing-storybook": "^1.6.1",
"@open-wc/testing": "^2.3.4",
"sinon": "^7.2.2"
},
"gitHead": "ad01e959c638f580206e42c2d35c67b129a63e9a"
"gitHead": "ca48d6e79b911530f9c7561ebd13f3abb2725534"
}

@@ -15,7 +15,5 @@ # Switch

## Features
## Live Demo/Documentation
- Get or set the checked state (boolean) - `checked` boolean attribute
- Pre-select an option by setting the `checked` boolean attribute
- Get or set the value of the choice - `choiceValue()`
> See our [storybook](http://lion-web-components.netlify.com/?path=/docs/buttons-switch) for a live demo and documentation

@@ -22,0 +20,0 @@ ## How to use

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc