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.59.0 to 3.60.0

5

CHANGELOG.md

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

## 3.60.0 - (November 2, 2021)
* Changed
* Migrate doc to terra-core-docs.
## 3.59.0 - (September 21, 2021)

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

2

lib/Button.js

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

});
exports.ButtonVariants = exports.ButtonTypes = exports.default = void 0;
exports.default = exports.ButtonVariants = exports.ButtonTypes = void 0;

@@ -11,0 +11,0 @@ var _react = _interopRequireDefault(require("react"));

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

@@ -45,6 +45,5 @@ "repository": {

"prop-types": "^15.5.8",
"terra-icon": "^3.46.0",
"terra-theme-context": "^1.0.0"
},
"gitHead": "b63b085b6be99ff184a3c43eab5d24843315942e"
"gitHead": "655ea257dfb8649b5c003eeb580bd9f377227cc5"
}
Terra.describeViewports('Button', ['tiny'], () => {
describe('Neutral', () => {
it('displays default neutral Button', () => {
browser.url('/raw/tests/terra-button/button/variants/neutral-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/variants/neutral-button');
$('#root').moveTo({ xOffset: 0, yOffset: 700 }); // move cursor to remove focus styles

@@ -17,3 +17,3 @@

it('displays Neutral-Active Button', () => {
browser.url('/raw/tests/terra-button/button/active-variant-buttons');
browser.url('/raw/tests/cerner-terra-core-docs/button/active-variant-buttons');

@@ -27,3 +27,3 @@ Terra.validates.element('neutral active', { selector: '#neutralActive' });

it('displays default emphasis Button', () => {
browser.url('/raw/tests/terra-button/button/variants/emphasis-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/variants/emphasis-button');

@@ -40,3 +40,3 @@ Terra.validates.element('emphasis default', { selector: '#emphasis' });

it('displays emphasis-active Button', () => {
browser.url('/raw/tests/terra-button/button/active-variant-buttons');
browser.url('/raw/tests/cerner-terra-core-docs/button/active-variant-buttons');

@@ -50,3 +50,3 @@ Terra.validates.element('emphasis active', { selector: '#emphasisActive' });

it('displays default ghost Button', () => {
browser.url('/raw/tests/terra-button/button/variants/ghost-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/variants/ghost-button');

@@ -63,3 +63,3 @@ Terra.validates.element('ghost default', { selector: '#ghost' });

it('displays ghost-active Button', () => {
browser.url('/raw/tests/terra-button/button/active-variant-buttons');
browser.url('/raw/tests/cerner-terra-core-docs/button/active-variant-buttons');

@@ -73,3 +73,3 @@ Terra.validates.element('ghost active', { selector: '#ghostActive' });

it('displays default de-emphasis Button', () => {
browser.url('/raw/tests/terra-button/button/variants/deemphasis-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/variants/deemphasis-button');

@@ -86,3 +86,3 @@ Terra.validates.element('de-emphasis default', { selector: '#de-emphasis' });

it('displays de-emphasis-active Button', () => {
browser.url('/raw/tests/terra-button/button/active-variant-buttons');
browser.url('/raw/tests/cerner-terra-core-docs/button/active-variant-buttons');

@@ -96,3 +96,3 @@ Terra.validates.element('de-emphasis active', { selector: '#de-emphasisActive' });

it('displays default action Button', () => {
browser.url('/raw/tests/terra-button/button/variants/action-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/variants/action-button');

@@ -109,3 +109,3 @@ Terra.validates.element('action default', { selector: '#action' });

it('displays action-active Button', () => {
browser.url('/raw/tests/terra-button/button/active-variant-buttons');
browser.url('/raw/tests/cerner-terra-core-docs/button/active-variant-buttons');

@@ -119,3 +119,3 @@ Terra.validates.element('action active', { selector: '#actionActive' });

it('displays default utility Button', () => {
browser.url('/raw/tests/terra-button/button/variants/utility-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/variants/utility-button');

@@ -132,3 +132,3 @@ Terra.validates.element('utility default', { selector: '#utility' });

it('displays utility-active Button', () => {
browser.url('/raw/tests/terra-button/button/active-variant-buttons');
browser.url('/raw/tests/cerner-terra-core-docs/button/active-variant-buttons');

@@ -141,3 +141,3 @@ Terra.validates.element('utility active', { selector: '#utilityActive' });

it('displays Button with long text', () => {
browser.url('/raw/tests/terra-button/button/long-text-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/long-text-button');
$('#root').moveTo();

@@ -150,3 +150,3 @@

before(() => {
browser.url('/raw/tests/terra-button/button/button-types');
browser.url('/raw/tests/cerner-terra-core-docs/button/button-types');
$('#root').moveTo();

@@ -170,3 +170,3 @@ });

before(() => {
browser.url('/raw/tests/terra-button/button/icon-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/icon-button');
$('#root').moveTo();

@@ -189,3 +189,3 @@ });

it('displays compact Button', () => {
browser.url('/raw/tests/terra-button/button/compact-button');
browser.url('/raw/tests/cerner-terra-core-docs/button/compact-button');
$('#root').moveTo();

@@ -198,3 +198,3 @@

before(() => {
browser.url('/raw/tests/terra-button/button/programmatic-focus');
browser.url('/raw/tests/cerner-terra-core-docs/button/programmatic-focus');
});

@@ -223,3 +223,3 @@

it('displays Button with focus', () => {
browser.url('/raw/tests/terra-button/button/button-modal-focus');
browser.url('/raw/tests/cerner-terra-core-docs/button/button-modal-focus');
$('#modal-open-button').click();

@@ -234,3 +234,3 @@ browser.pause(300);

before(() => {
browser.url('/raw/tests/terra-button/button/programmatic-disabled');
browser.url('/raw/tests/cerner-terra-core-docs/button/programmatic-disabled');
});

@@ -253,3 +253,3 @@

before(() => {
browser.url('/raw/tests/terra-button/button/programmatic-disable-enable');
browser.url('/raw/tests/cerner-terra-core-docs/button/programmatic-disable-enable');
});

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