UNPKG

terra-alert

Version:

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

63 lines (62 loc) 2.27 kB
{ "name": "terra-alert", "version": "4.97.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.", "author": "Cerner Corporation", "repository": { "type": "git", "url": "git+https://github.com/cerner/terra-core.git", "directory": "packages/terra-alert" }, "bugs": { "url": "https://github.com/cerner/terra-core/issues" }, "homepage": "https://github.com/cerner/terra-core#readme", "license": "Apache-2.0", "keywords": [ "Alert", "Cerner", "Terra", "terra-alert", "UI" ], "main": "lib/Alert.js", "files": [ "lib", "src", "translations", "CHANGELOG.md", "LICENSE", "NOTICE", "README.md" ], "peerDependencies": { "react": "16", "react-dom": "16", "react-intl": "2 || 3 || 4 || 5" }, "dependencies": { "classnames": "2", "prop-types": "15", "terra-button": "^3.78.0", "terra-icon": "^3.62.0", "terra-responsive-element": "^5.42.0", "terra-theme-context": "1", "terra-visually-hidden-text": "^2.39.0", "uuid": "3.4.0" }, "scripts": { "compile": "babel --root-mode upward src --out-dir lib --copy-files", "lint": "npm run lint:js && npm run lint:scss", "lint:js": "eslint --ext .js,.jsx . --ignore-path ../../.eslintignore", "lint:scss": "stylelint src/**/*.scss", "precompile": "rm -rf lib", "test": "npm run lint && npm run jest && npm run 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": "209e73eab65abaee39bd1e026d50e5e03d8f38ac" }