@newrelic/nr-labs-components
v1.23.5
Published
New Relic Labs components
Downloads
279
Readme
nr-labs-components
A library of React components and helpful utilities created by New Relic's Labs-Viz team, primarily for use in apps built for the New Relic One platform.
Installation
npm install --save @newrelic/nr-labs-components
Usage
Import styles.css
in your stylesheet.
@import '~@newrelic/nr-labs-components/dist/styles.css';
Import components/utilities in you javascript.
import { COMPONENT_OR_UTILITY, COMPONENT_OR_UTILITY, ... } from '@newrelic/nr-labs-components';
Components
MultiSelect
Allows users to select multiple options from a dropdown menu.
HelpModal
A modal component that allows for simple inclusion of support and documentation links within a New Relic app.
Messages
A component to support push notifications into a New Relic app.
EditInPlace
Enable editing of the text content of HTML tags in the browser.
SimpleBillboard
A component that renders a metric's name and value, and its up/down trend against a different time range.
NrqlEditor
A NRQL editor in the browser.
StatusIcon
Displays a status icon.
StatusIconsLayout
A layout component for StatusIcon
ProgressBar
A component that renders a progress bar.
FilterBar
Component that allows a user to filter options.
DatePicker
Component that displays a calendar to select a date
TimePicker
Component to select time values
DateTimePicker
Component to select date/time
TimeRangePicker
Component to select time range
Utilities
timeRangeToNrql
A utility to convert the New Relic platform time range into a NRQL compliant clause.
Open Source License
This project is distributed under the Apache 2 license.
Support
New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.
We encourage you to bring your experiences and questions to the Explorers Hub where our community members collaborate on solutions and new ideas.
Community
New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices.
Issues / Enhancement Requests
Issues and enhancement requests can be submitted in the Issues tab of this repository. Please search for and review the existing open issues before submitting a new issue.
Contributing
Contributions are welcome (and if you submit a Enhancement Request, expect to be invited to contribute it yourself :grin:). Please review our Contribution Guide.
Keep in mind that when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. If you'd like to execute our corporate CLA, or if you have any questions, please drop us an email at [email protected].