@spectrum-web-components/shared
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -6,2 +6,8 @@ # Change Log | ||
## [0.3.3](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/shared@0.3.2...@spectrum-web-components/shared@0.3.3) (2019-12-12) | ||
### Bug Fixes | ||
- apply Focuable styles in class extensions ([38f7afd](https://github.com/adobe/spectrum-web-components/commit/38f7afd)) | ||
## [0.3.2](https://github.com/adobe/spectrum-web-components/compare/@spectrum-web-components/shared@0.3.1...@spectrum-web-components/shared@0.3.2) (2019-12-02) | ||
@@ -8,0 +14,0 @@ |
@@ -14,5 +14,5 @@ /* | ||
const styles = css ` | ||
:host([disabled]){pointer-events:none} | ||
:host{pointer-events:none}:host(:not([disabled]))>*{pointer-events:all} | ||
`; | ||
export default styles; | ||
//# sourceMappingURL=focusable.css.js.map |
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "", | ||
@@ -45,3 +45,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "b3bff461b5e5cac7211dba5a54dae4c82d809a85" | ||
"gitHead": "c675f8d2840e8ebba47ecc47167265e61514a864" | ||
} |
@@ -16,2 +16,5 @@ ## Overview | ||
class FocusableButton extends Focusable { | ||
public static get styles(): CSSResultArray { | ||
return [...super.styles]; | ||
} | ||
public get focusElement(): HTMLElement { | ||
@@ -18,0 +21,0 @@ /* istanbul ignore if */ |
@@ -14,4 +14,4 @@ /* | ||
const styles = css` | ||
:host([disabled]){pointer-events:none} | ||
:host{pointer-events:none}:host(:not([disabled]))>*{pointer-events:all} | ||
`; | ||
export default styles; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
74929
814
67
1