@lion/switch
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.4](https://github.com/ing-bank/lion/compare/@lion/switch@0.1.3...@lion/switch@0.1.4) (2019-10-30) | ||
**Note:** Version bump only for package @lion/switch | ||
## [0.1.3](https://github.com/ing-bank/lion/compare/@lion/switch@0.1.2...@lion/switch@0.1.3) (2019-10-28) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
export { LionInputSwitch } from './src/LionInputSwitch.js'; | ||
export { LionButtonSwitch } from './src/LionButtonSwitch.js'; | ||
export { LionSwitch } from './src/LionSwitch.js'; | ||
export { LionSwitchButton } from './src/LionSwitchButton.js'; |
{ | ||
"name": "@lion/switch", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A Switch is used for switching a property or feature on and off", | ||
@@ -48,3 +48,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "d44f6d85feb0b4c04f6076d709072ab980024821" | ||
"gitHead": "b3b1abe200a79226d338c9cb3538fc360184a458" | ||
} |
@@ -13,3 +13,3 @@ # Switch | ||
`lion-input-switch` is a component that is used to toggle a property or feature on or off. | ||
`lion-switch` is a component that is used to toggle a property or feature on or off. | ||
@@ -31,3 +31,3 @@ ## Features | ||
```js | ||
import '@lion/swith/lion-input-switch.js'; | ||
import '@lion/swith/lion-switch.js'; | ||
``` | ||
@@ -38,3 +38,3 @@ | ||
```html | ||
<lion-input-switch name="airplaneMode" label="Airplane mode" checked></lion-input-switch> | ||
<lion-switch name="airplaneMode" label="Airplane mode" checked></lion-switch> | ||
``` |
@@ -6,11 +6,11 @@ import { storiesOf, html } from '@open-wc/demoing-storybook'; | ||
import '../lion-input-switch.js'; | ||
import '../lion-button-switch.js'; | ||
import '../lion-switch.js'; | ||
import '../lion-switch-button.js'; | ||
import '@lion/form/lion-form.js'; | ||
storiesOf('Forms|Switch', module) | ||
storiesOf('Buttons|Switch', module) | ||
.add( | ||
'All text slots', | ||
() => html` | ||
<lion-input-switch label="Label" help-text="Help text"> </lion-input-switch> | ||
<lion-switch label="Label" help-text="Help text"> </lion-switch> | ||
`, | ||
@@ -21,3 +21,3 @@ ) | ||
() => html` | ||
<lion-input-switch label="Disabled label" disabled> </lion-input-switch> | ||
<lion-switch label="Disabled label" disabled> </lion-switch> | ||
`, | ||
@@ -57,9 +57,7 @@ ) | ||
<form> | ||
<lion-input-switch name="emailAddress" label="Share email address"> | ||
</lion-input-switch> | ||
<lion-input-switch name="subjectField" label="Show subject field" checked> | ||
</lion-input-switch> | ||
<lion-input-switch name="characterCount" label="Character count"> | ||
</lion-input-switch> | ||
<lion-input-switch | ||
<lion-switch name="emailAddress" label="Share email address"> </lion-switch> | ||
<lion-switch name="subjectField" label="Show subject field" checked> | ||
</lion-switch> | ||
<lion-switch name="characterCount" label="Character count"> </lion-switch> | ||
<lion-switch | ||
name="newsletterCheck" | ||
@@ -69,3 +67,3 @@ label="* Subscribe to newsletter" | ||
> | ||
</lion-input-switch> | ||
</lion-switch> | ||
<button type="submit"> | ||
@@ -95,4 +93,4 @@ Submit | ||
() => html` | ||
<lion-button-switch></lion-button-switch> | ||
<lion-switch-button></lion-switch-button> | ||
`, | ||
); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17101
411
1