Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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.3.46 to 0.4.0

11

CHANGELOG.md

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

# [0.4.0](https://github.com/ing-bank/lion/compare/@lion/button@0.3.46...@lion/button@0.4.0) (2019-12-04)
### Features
* integrate and pass automated a11y testing ([e1a417b](https://github.com/ing-bank/lion/commit/e1a417b041431e4e25a5b6a63e23ba0a3974f5a5))
## [0.3.46](https://github.com/ing-bank/lion/compare/@lion/button@0.3.45...@lion/button@0.3.46) (2019-12-03)

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

4

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

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

},
"gitHead": "37fd54a4218e59ce3a19cb5b07ff37279c3e6921"
"gitHead": "c49a82fec9bcc37aaf5e84dcd5719d43df20c4b9"
}

@@ -140,3 +140,3 @@ import { css, html, SlotMixin, DisabledWithTabIndexMixin, LitElement } from '@lion/core';

this.constructor._button.setAttribute('tabindex', '-1');
this.constructor._button.setAttribute('aria-hidden', true);
this.constructor._button.setAttribute('aria-hidden', 'true');
}

@@ -143,0 +143,0 @@ return this.constructor._button.cloneNode();

@@ -231,2 +231,12 @@ import { expect, fixture, html, aTimeout, oneEvent } from '@open-wc/testing';

});
it('is accessible', async () => {
const el = await fixture(`<lion-button>foo</lion-button>`);
await expect(el).to.be.accessible();
});
it('is accessible when disabled', async () => {
const el = await fixture(`<lion-button disabled>foo</lion-button>`);
await expect(el).to.be.accessible();
});
});

@@ -233,0 +243,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