Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Add named export (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdadn authored Apr 1, 2024
1 parent 559d688 commit 9210be3
Show file tree
Hide file tree
Showing 428 changed files with 434 additions and 425 deletions.
3 changes: 3 additions & 0 deletions packages/carbon-graphs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Added
* Added named export for Carbon. It can now be imported as `import Carbon from '@cerner/carbon-graphs';`.

## 2.24.1 - (April 1, 2024)

* Fixed
Expand Down
1 change: 1 addition & 0 deletions packages/carbon-graphs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"url": "https://github.com/cerner/terra-graphs/issues"
},
"homepage": "https://github.com/cerner/terra-graphs#readme",
"main": "lib/js/index.js",
"files": [
"dist",
"lib",
Expand Down
3 changes: 3 additions & 0 deletions packages/carbon-graphs/src/js/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Carbon from './carbon';

export default Carbon;
3 changes: 3 additions & 0 deletions packages/terra-graphs-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Changed
* Updated documentation to use new named export.

## 1.8.0 - (April 1, 2024)

* Added
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup, loadTextLabelPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup, loadTextLabelPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup, loadTextLabelPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDataBasic = {
key: 'bubble_basic_data',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDataColorWeightBased = {
key: 'bubble_color_dataset',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDataColorWeightBased = {
key: 'bubble_color_weight_dataset',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDataCustomRadius = {
key: 'bubble_custom_radius_dataset',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDataWeightBased = {
key: 'bubble_weight_based_dataset',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDynamicPanningData = {
key: 'bubble_dynamic_panning_data',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadBubblePopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup.js';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const bubbleDynamicPanningData = {
key: 'bubble_dynamic_panning_data',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadBarPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadTaskPopup, loadXAndYAxisLabelPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '../../popup';

const scheduled = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const scheduled = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';

const dueSoon = {
path: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { loadTaskPopup, loadXAndYAxisLabelPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '../../popup';

const scheduled = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import {
loadPopup,
} from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import {
loadPopup,
} from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import {
loadPopup,
} from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithSin } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';

const data = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithCos } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithCos } from '../createGraphValues';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Carbon from '@cerner/carbon-graphs/lib/js/carbon';
import Carbon from '@cerner/carbon-graphs';
import { loadPopup } from '@cerner/terra-graphs-docs/lib/example-datasets/popup';
import { createGraphValuesWithCos } from '../createGraphValues';

Expand Down
Loading

0 comments on commit 9210be3

Please sign in to comment.