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

@forter/button-group

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forter/button-group - npm Package Compare versions

Comparing version 1.3.8 to 1.3.9

8

CHANGELOG.md

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

## [1.3.9](https://github.com/forter/web-components/compare/@forter/button-group@1.3.8...@forter/button-group@1.3.9) (2020-05-25)
**Note:** Version bump only for package @forter/button-group
## [1.3.8](https://github.com/forter/web-components/compare/@forter/button-group@1.3.7...@forter/button-group@1.3.8) (2020-05-25)

@@ -8,0 +16,0 @@

6

FcButtonGroup.js

@@ -135,8 +135,11 @@ import { decorate as _decorate } from './_virtual/_rollupPluginBabelHelpers.js';

} = this;
if (disabled || currentTarget.hasAttribute('disabled')) return;
if (disabled || currentTarget.hasAttribute('disabled') || currentTarget.hasAttribute('disabled-events')) return;
let action;
if (isActive(currentTarget)) {
currentTarget.removeAttribute('active');
action = 'REMOVED';
} else {
currentTarget.setAttribute('active', '');
action = 'ADDED';
}

@@ -148,2 +151,3 @@

activeButtons,
action,
changedButton: currentTarget

@@ -150,0 +154,0 @@ }

4

package.json
{
"name": "@forter/button-group",
"version": "1.3.8",
"version": "1.3.9",
"description": "Button Group from Forter Components",

@@ -58,3 +58,3 @@ "author": "Forter Developers",

},
"gitHead": "45310ab6e7a17e955049d3138d1aa454057d13d2"
"gitHead": "b975b0fad8cda93c1d8e475c724e29333cb1d9be"
}

@@ -94,7 +94,12 @@ import { LitElement, html, property } from 'lit-element';

const { disabled } = this;
if (disabled || currentTarget.hasAttribute('disabled')) return;
if (disabled ||
currentTarget.hasAttribute('disabled') ||
currentTarget.hasAttribute('disabled-events')) return;
let action;
if (isActive(currentTarget)) {
currentTarget.removeAttribute( 'active');
action = 'REMOVED';
} else {
currentTarget.setAttribute( 'active', '');
action = 'ADDED';
}

@@ -104,2 +109,3 @@ const activeButtons = this.buttons.filter(isActive);

activeButtons,
action,
changedButton: currentTarget,

@@ -106,0 +112,0 @@ } }));

Sorry, the diff of this file is not supported yet

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