UNPKG

terra-overlay

Version:

The Overlay component is a component that creates an semi-transparent overlay screen that blocks interactions with the elements underneath the display. There are two types of overlays: fullscreen and relative to its container.

65 lines (64 loc) 2.05 kB
{ "name": "terra-overlay", "version": "3.84.0", "description": "The Overlay component is a component that creates an semi-transparent overlay screen that blocks interactions with the elements underneath the display. There are two types of overlays: fullscreen and relative to its container.", "author": "Cerner Corporation", "repository": { "type": "git", "url": "git+https://github.com/cerner/terra-core.git", "directory": "packages/terra-overlay" }, "bugs": { "url": "https://github.com/cerner/terra-core/issues" }, "homepage": "https://github.com/cerner/terra-core#readme", "license": "Apache-2.0", "keywords": [ "Cerner", "Overlay", "Terra", "terra-overlay", "UI" ], "main": "lib/Overlay.js", "files": [ "lib", "src", "translations", "CHANGELOG.md", "LICENSE", "NOTICE", "README.md" ], "peerDependencies": { "react": "16", "react-dom": "16", "react-intl": "2 || 3 || 4 || 5", "terra-theme-provider": "^4.16.0" }, "dependencies": { "classnames": "2", "focus-trap-react": "6", "keycode-js": "3", "mutationobserver-shim": "<=0.3.3", "prop-types": "15", "react-portal": "4", "terra-icon": "^3.62.0", "terra-theme-context": "1", "wicg-inert": "3" }, "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" }