terra-button
Advanced tools
Comparing version 3.59.0 to 3.60.0
@@ -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 @@ |
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
145338
19
1046
- Removedterra-icon@^3.46.0
- Removed@formatjs/ecma402-abstract@1.11.4(transitive)
- Removed@formatjs/fast-memoize@1.2.1(transitive)
- Removed@formatjs/icu-messageformat-parser@2.1.0(transitive)
- Removed@formatjs/icu-skeleton-parser@1.3.6(transitive)
- Removed@formatjs/intl@2.2.1(transitive)
- Removed@formatjs/intl-displaynames@5.4.3(transitive)
- Removed@formatjs/intl-listformat@6.5.3(transitive)
- Removed@formatjs/intl-localematcher@0.2.25(transitive)
- Removed@types/hoist-non-react-statics@3.3.5(transitive)
- Removed@types/prop-types@15.7.13(transitive)
- Removed@types/react@18.3.12(transitive)
- Removedcsstype@3.1.3(transitive)
- Removedhoist-non-react-statics@3.3.2(transitive)
- Removedintl-messageformat@9.13.0(transitive)
- Removedreact-intl@5.25.1(transitive)
- Removedterra-icon@3.62.0(transitive)
- Removedtslib@2.8.1(transitive)