terra-alert
Advanced tools
Comparing version 4.50.0 to 4.51.0
@@ -5,2 +5,10 @@ # Changelog | ||
## 4.51.0 - (April 6, 2021) | ||
* Changed | ||
* Upgrade tests to terra-functional-testing and WebDriverIO v6 | ||
* Removed unnecessary `wdio.conf.js` file | ||
* Updated Jest command | ||
* Update translations for the `nl` and `sv` languages. | ||
## 4.50.0 - (March 2, 2021) | ||
@@ -24,3 +32,3 @@ | ||
* Fixed broken links in documentation. | ||
## 4.47.0 - (December 8, 2020) | ||
@@ -65,3 +73,3 @@ | ||
* Add missing theme variables | ||
## 4.39.0 - (August 6, 2020) | ||
@@ -68,0 +76,0 @@ |
{ | ||
"name": "terra-alert", | ||
"main": "lib/Alert.js", | ||
"version": "4.50.0", | ||
"version": "4.51.0", | ||
"description": "The Terra Alert component is a notification banner that can be rendered in your application when there is information that you want to bring to the user's attention. The Alert component supports a number of built-in notification types that render with pre-defined colors and icons that help the user understand the severity and meaning of the notification. A custom notification type is also supported that allows your application to customize an alert that may not fit into the pre-defined types.", | ||
@@ -32,7 +32,7 @@ "repository": { | ||
"prop-types": "^15.5.8", | ||
"terra-button": "^3.53.0", | ||
"terra-icon": "^3.41.0", | ||
"terra-responsive-element": "^5.29.0", | ||
"terra-button": "^3.54.0", | ||
"terra-icon": "^3.42.0", | ||
"terra-responsive-element": "^5.30.0", | ||
"terra-theme-context": "^1.0.0", | ||
"terra-toggle": "^3.44.0" | ||
"terra-toggle": "^3.45.0" | ||
}, | ||
@@ -46,9 +46,9 @@ "scripts": { | ||
"test": "npm run lint && npm run jest && npm run wdio", | ||
"jest": "jest --config ../../jestconfig.js", | ||
"wdio-default": "cd ../.. && npx wdio", | ||
"wdio-lowlight": "cd ../.. && THEME=clinical-lowlight-theme npx wdio", | ||
"wdio-fusion": "cd ../.. && THEME=orion-fusion-theme npx wdio", | ||
"jest": "jest --config ../../jest.config.js", | ||
"wdio-default": "cd ../.. && terra wdio", | ||
"wdio-lowlight": "cd ../.. && terra wdio --themes clinical-lowlight-theme", | ||
"wdio-fusion": "cd ../.. && terra wdio --themes orion-fusion-theme", | ||
"wdio": "npm run wdio-default && npm run wdio-lowlight && npm run wdio-fusion" | ||
}, | ||
"gitHead": "31a55a132a87238b1ca4616fdc4e3e16d80290bd" | ||
"gitHead": "b6ddb01d67dc1ecbe6fd0eba0ddc8f46b7eb3d61" | ||
} |
@@ -44,5 +44,5 @@ Terra.describeViewports('Alert', ['tiny', 'large'], () => { | ||
it('should register actions', () => { | ||
expect(browser.getText('#actionAlert')).to.have.string('clicked 0 times'); | ||
browser.click('#actionAlert button'); | ||
expect(browser.getText('#actionAlert')).to.have.string('clicked 1 times'); | ||
expect($('#actionAlert')).toHaveTextContaining('clicked 0 times'); | ||
$('#actionAlert button').click(); | ||
expect($('#actionAlert')).toHaveTextContaining('clicked 1 times'); | ||
}); | ||
@@ -54,8 +54,8 @@ | ||
Terra.validates.element('default'); | ||
Terra.validates.element('predismissed'); | ||
}); | ||
it('should dismiss', () => { | ||
browser.click('#dismissibleAlert button'); | ||
expect(browser.getText('#dismissed')).to.equal('Alert was dismissed'); | ||
$('#dismissibleAlert button').click(); | ||
expect($('#dismissed').getText()).toEqual('Alert was dismissed'); | ||
@@ -62,0 +62,0 @@ Terra.validates.element('dismissed'); |
{ | ||
"Terra.alert.advisory": "Adviserend.", | ||
"Terra.alert.alert": "Waarschuwing.", | ||
"Terra.alert.dismiss": "Negeren", | ||
"Terra.alert.info": "Informatie.", | ||
"Terra.alert.error": "Fout.", | ||
"Terra.alert.info": "Informatie.", | ||
"Terra.alert.success": "Succes.", | ||
"Terra.alert.warning": "Waarschuwing.", | ||
"Terra.alert.alert": "Waarschuwing.", | ||
"Terra.alert.advisory": "Advies.", | ||
"Terra.alert.unsatisfied": "Vereiste actie.", | ||
"Terra.alert.unverified": "Externe records.", | ||
"Terra.alert.warning": "Waarschuwing." | ||
"Terra.alert.success": "Succes." | ||
} |
{ | ||
"Terra.alert.advisory": "Adviserend.", | ||
"Terra.alert.alert": "Waarschuwing.", | ||
"Terra.alert.dismiss": "Negeren", | ||
"Terra.alert.info": "Informatie.", | ||
"Terra.alert.error": "Fout.", | ||
"Terra.alert.info": "Informatie.", | ||
"Terra.alert.success": "Succes.", | ||
"Terra.alert.warning": "Waarschuwing.", | ||
"Terra.alert.alert": "Waarschuwing.", | ||
"Terra.alert.advisory": "Advies.", | ||
"Terra.alert.unsatisfied": "Vereiste actie.", | ||
"Terra.alert.unverified": "Externe records.", | ||
"Terra.alert.warning": "Waarschuwing." | ||
"Terra.alert.success": "Succes." | ||
} |
{ | ||
"Terra.alert.advisory": "Rådgivning.", | ||
"Terra.alert.alert": "Avisering.", | ||
"Terra.alert.dismiss": "Ignorera", | ||
"Terra.alert.dismiss": "Stäng", | ||
"Terra.alert.info": "Information.", | ||
"Terra.alert.error": "Fel.", | ||
"Terra.alert.info": "Information.", | ||
"Terra.alert.success": "Klar.", | ||
"Terra.alert.unsatisfied": "Nödvändig åtgärd krävs.", | ||
"Terra.alert.warning": "Obs!", | ||
"Terra.alert.alert": "Varning.", | ||
"Terra.alert.advisory": "Rekommendation.", | ||
"Terra.alert.unsatisfied": "Åtgärd krävs.", | ||
"Terra.alert.unverified": "Externa journaler.", | ||
"Terra.alert.warning": "Varning!" | ||
} | ||
"Terra.alert.success": "Klar." | ||
} |
{ | ||
"Terra.alert.advisory": "Rådgivning.", | ||
"Terra.alert.alert": "Avisering.", | ||
"Terra.alert.dismiss": "Ignorera", | ||
"Terra.alert.dismiss": "Stäng", | ||
"Terra.alert.info": "Information.", | ||
"Terra.alert.error": "Fel.", | ||
"Terra.alert.info": "Information.", | ||
"Terra.alert.success": "Klar.", | ||
"Terra.alert.unsatisfied": "Nödvändig åtgärd krävs.", | ||
"Terra.alert.warning": "Obs!", | ||
"Terra.alert.alert": "Varning.", | ||
"Terra.alert.advisory": "Rekommendation.", | ||
"Terra.alert.unsatisfied": "Åtgärd krävs.", | ||
"Terra.alert.unverified": "Externa journaler.", | ||
"Terra.alert.warning": "Varning!" | ||
} | ||
"Terra.alert.success": "Klar." | ||
} |
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
162531
92
1824
Updatedterra-button@^3.54.0
Updatedterra-icon@^3.42.0
Updatedterra-toggle@^3.45.0