Socket
Socket
Sign inDemoInstall

@lion/button

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/button - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

11

CHANGELOG.md

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

## [0.7.1](https://github.com/ing-bank/lion/compare/@lion/button@0.7.0...@lion/button@0.7.1) (2020-06-02)
### Bug Fixes
* **button:** aria-disabled for button and switch ([31ccb4a](https://github.com/ing-bank/lion/commit/31ccb4a10f6b14e93ddaca825d5e6bf2db8dd1ee))
# [0.7.0](https://github.com/ing-bank/lion/compare/@lion/button@0.6.0...@lion/button@0.7.0) (2020-05-29)

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

4

package.json
{
"name": "@lion/button",
"version": "0.7.0",
"version": "0.7.1",
"description": "A button that is easily styleable and accessible in all contexts",

@@ -46,3 +46,3 @@ "author": "ing-bank",

},
"gitHead": "94b87c80f5c734cd7d2d2ecd1c6598b22575717e"
"gitHead": "537264cbbad8bd29184e64ccb74ef8bbb5a2a059"
}

@@ -187,2 +187,5 @@ import {

}
if (changedProperties.has('disabled')) {
this.setAttribute('aria-disabled', `${this.disabled}`); // create mixin if we need it in more places
}
}

@@ -189,0 +192,0 @@

@@ -60,2 +60,3 @@ import { browserDetection } from '@lion/core';

expect(el.getAttribute('tabindex')).to.equal('-1');
expect(el.getAttribute('aria-disabled')).to.equal('true');

@@ -65,2 +66,3 @@ el.disabled = false;

expect(el.getAttribute('tabindex')).to.equal('0');
expect(el.getAttribute('aria-disabled')).to.equal('false');
expect(el.hasAttribute('disabled')).to.equal(false);

@@ -71,2 +73,3 @@

expect(el.getAttribute('tabindex')).to.equal('-1');
expect(el.getAttribute('aria-disabled')).to.equal('true');
expect(el.hasAttribute('disabled')).to.equal(true);

@@ -73,0 +76,0 @@ });

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc