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

terra-button

Package Overview
Dependencies
Maintainers
5
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-button - npm Package Compare versions

Comparing version 3.60.1 to 3.61.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## 3.61.0 - (February 15, 2022)
* Changed
* Added `button` role to anchor butttons.
## 3.60.1 - (December 14, 2021)

@@ -7,0 +12,0 @@

5

lib/Button.js

@@ -44,3 +44,3 @@ "use strict";

function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } Object.defineProperty(subClass, "prototype", { value: Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }), writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }

@@ -406,3 +406,4 @@ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

href: href,
ref: refCallback
ref: refCallback,
role: href ? 'button' : undefined
}), buttonLabel);

@@ -409,0 +410,0 @@ }

4

package.json
{
"name": "terra-button",
"main": "lib/Button.js",
"version": "3.60.1",
"version": "3.61.0",
"description": "The terra-button component provides users a way to trigger actions in the UI.",

@@ -47,3 +47,3 @@ "repository": {

},
"gitHead": "7e2b4ffb8f4db441bf7489958f1a5a588a727272"
"gitHead": "6c23a07a2ef0be88d1a92b745df2f3d7db57683f"
}

@@ -322,2 +322,3 @@ import React from 'react';

ref={refCallback}
role={href ? 'button' : undefined}
>

@@ -324,0 +325,0 @@ {buttonLabel}

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