@lion/button
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.1.3](https://github.com/ing-bank/lion/compare/@lion/button@0.1.2...@lion/button@0.1.3) (2019-04-28) | ||
### Bug Fixes | ||
* update storybook/linting; adjust story labels, eslint ignores ([8d96f84](https://github.com/ing-bank/lion/commit/8d96f84)) | ||
## [0.1.2](https://github.com/ing-bank/lion/compare/@lion/button@0.1.1...@lion/button@0.1.2) (2019-04-27) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/button", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A button that is easily stylable and accessible in all contexts", | ||
@@ -33,9 +33,9 @@ "author": "ing-bank", | ||
"dependencies": { | ||
"@lion/core": "^0.1.2" | ||
"@lion/core": "^0.1.3" | ||
}, | ||
"devDependencies": { | ||
"@lion/form": "^0.1.2", | ||
"@lion/icon": "^0.1.2", | ||
"@lion/input": "^0.1.2", | ||
"@open-wc/storybook": "^0.1.5", | ||
"@lion/form": "^0.1.3", | ||
"@lion/icon": "^0.1.3", | ||
"@lion/input": "^0.1.3", | ||
"@open-wc/demoing-storybook": "^0.2.0", | ||
"@open-wc/testing": "^0.11.1", | ||
@@ -45,3 +45,3 @@ "@polymer/iron-test-helpers": "^3.0.1", | ||
}, | ||
"gitHead": "6497db62d375612d691f00120daa0cdb2d899dc5" | ||
"gitHead": "bb1d1448b59f5b6579880a521f0695578d09eb73" | ||
} |
@@ -1,6 +0,4 @@ | ||
/* eslint-disable no-underscore-dangle */ | ||
import { css, html, DelegateMixin, SlotMixin } from '@lion/core'; | ||
import { LionLitElement } from '@lion/core/src/LionLitElement.js'; | ||
// eslint-disable-next-line no-unused-vars | ||
export class LionButton extends DelegateMixin(SlotMixin(LionLitElement)) { | ||
@@ -7,0 +5,0 @@ static get properties() { |
@@ -1,3 +0,2 @@ | ||
// eslint-disable-next-line import/no-extraneous-dependencies | ||
import { storiesOf, html, action } from '@open-wc/storybook'; | ||
import { storiesOf, html } from '@open-wc/demoing-storybook'; | ||
import { bug12 } from '@lion/icon/stories/icons/bugs-collection'; | ||
@@ -10,3 +9,3 @@ import '@lion/icon/lion-icon.js'; | ||
storiesOf('Buttons|<lion-button>', module) | ||
storiesOf('Buttons|Button', module) | ||
.add( | ||
@@ -43,4 +42,3 @@ 'Used on its own', | ||
type="submit" | ||
@click=${() => | ||
action('serializeGroup')(document.querySelector('#form').serializeGroup())} | ||
@click=${() => console.log(document.querySelector('#form').serializeGroup())} | ||
>Submit</lion-button | ||
@@ -47,0 +45,0 @@ > |
@@ -1,3 +0,1 @@ | ||
/* eslint-env mocha */ | ||
/* eslint-disable no-unused-expressions */ | ||
import { expect, fixture, html } from '@open-wc/testing'; | ||
@@ -4,0 +2,0 @@ import sinon from 'sinon'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14468
271
Updated@lion/core@^0.1.3