@lion/button
Advanced tools
Comparing version 0.3.35 to 0.3.36
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.3.36](https://github.com/ing-bank/lion/compare/@lion/button@0.3.35...@lion/button@0.3.36) (2019-11-15) | ||
### Bug Fixes | ||
* refactor slot selection ([5999ea9](https://github.com/ing-bank/lion/commit/5999ea956967b449f3f04935c7facb19e2889dc9)) | ||
## [0.3.35](https://github.com/ing-bank/lion/compare/@lion/button@0.3.34...@lion/button@0.3.35) (2019-11-13) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/button", | ||
"version": "0.3.35", | ||
"version": "0.3.36", | ||
"description": "A button that is easily styleable and accessible in all contexts", | ||
@@ -38,5 +38,5 @@ "author": "ing-bank", | ||
"devDependencies": { | ||
"@lion/form": "^0.2.0", | ||
"@lion/form": "^0.2.1", | ||
"@lion/icon": "^0.2.9", | ||
"@lion/input": "^0.2.0", | ||
"@lion/input": "^0.2.1", | ||
"@open-wc/demoing-storybook": "^0.2.0", | ||
@@ -47,3 +47,3 @@ "@open-wc/testing": "^2.3.4", | ||
}, | ||
"gitHead": "90e6b4ef36bb5c49cfe7e4b2b8a00128334c84ab" | ||
"gitHead": "e1485188a03c063819623288f3231cfecca023ec" | ||
} |
@@ -126,3 +126,3 @@ import { css, html, SlotMixin, DisabledWithTabIndexMixin, LitElement } from '@lion/core'; | ||
get _nativeButtonNode() { | ||
return this.querySelector('[slot=_button]'); | ||
return Array.from(this.children).find(child => child.slot === '_button'); | ||
} | ||
@@ -129,0 +129,0 @@ |
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
48787