When a component reaches v1.0.0., it is considered to be stable and will follow SemVer for versioning.
- MAJOR versions represent breaking changes
- MINOR versions represent added functionality in a backwards-compatible manner
- PATCH versions represent backwards-compatible bug fixes
Consult the component CHANGELOGs, related issues, and PRs for more information.
We view the React.js props API of our components as our main public API. We use this to guide us when versioning components.
Prior to components reaching v1.0.0, a component is considered to be in a beta stage. Components in beta stage may include breaking changes, new features, and bug fixes all within v0.x.x releases.
Browser | Version |
---|---|
Chrome & Chrome for Android | Current |
Edge | Current |
Firefox | Current |
Internet Explorer | 10 & 11 |
Safari & Mobile Safari | Current |
- Please follow Base Getting Started to install
Base
, and consume it withlocale
props. - Please follow terra-i18n Aggregate Translations Guide to set up aggregated translations.
- 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'), }, },
- Install it
- Provide values for
locale
andcustomMessages
prop ofBase
. - Follow react-intl wiki to use
injectIntl
(pass translations to props) orFormattedMessage
(render translations) to consume translations.
- terra-action-header
- terra-alert
- terra-collapsible-menu-view
- terra-date-picker
- terra-date-time-picker
- terra-demographics-banner
- terra-dialog
- terra-form-field
- terra-form-select
- terra-overlay
- terra-search-field
- terra-status-view
- terra-tabs
- terra-time-input
Please read through our contributing guidelines. Included are directions for issue reporting and pull requests.
- Install docker https://www.docker.com/ to run browser tests.
- Install dependencies and run tests.
npm install
npm run test
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.