Skip to content

noahbenham/terra-clinical

 
 

Repository files navigation

Terra Clinical

Cerner OSS Build Status lerna devDependencies status

Packages

Status

Stable Stable Stable

Terra Package Version Status
terra-clinical-action-header NPM version Stable
terra-clinical-app-delegate NPM version Stable
terra-clinical-application NPM version Stable
terra-clinical-detail-view NPM version Stable
terra-clinical-error-view NPM version Stable
terra-clinical-header NPM version Stable
terra-clinical-item-collection NPM version Stable
terra-clinical-item-display NPM version Stable
terra-clinical-item-view NPM version Stable
terra-clinical-label-value-view NPM version Stable
terra-clinical-modal-manager NPM version Stable
terra-clinical-no-data-view NPM version Stable
terra-clinical-site NPM version Stable
terra-clinical-slide-group NPM version Stable

Supported Browsers

Browser Version
Chrome & Chrome for Android Current
Edge Current
Firefox Current
Internet Explorer 10 & 11
Safari & Mobile Safari Current

Internationalization (I18n)

  1. Please follow Base Getting Started to install Base, and consume it with locale props.
  2. Install and config terra-i18n-plugin:
  3. Install and config react-intl
    • Install it npm install --save react-intl.
    • Add alias webpack config to avoid importing duplicate react-intl.
      resolve: {
        extensions: ['.js', '.jsx'],
        alias: {
          'react-intl': path.resolve(__dirname, 'node_modules/react-intl'),
        },
      },
      
  4. Provide values for locale and customMessages prop of Base.
  5. Follow react-intl wiki to use injectIntl(pass translations to props) or FormattedMessage(render translations) to consume translations.

Contributing

Please read through our contributing guidelines. Included are directions for issue reporting and pull requests.

Local Development

  1. Install docker https://www.docker.com/ to run browser tests.
  2. Install dependencies and run tests.
npm install
npm run test

LICENSE

Copyright 2017 Cerner Innovation, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Terra Clinical is a repository for terra react components used only in a clinical setting.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.1%
  • CSS 3.9%