-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LG-4783: Clean up charts exported types (#2639)
* Fix prop exports * Changeset * Lint * Add specific export change * Fix update
- Loading branch information
Showing
11 changed files
with
40 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@lg-charts/core': minor | ||
--- | ||
|
||
Cleans up exported types | ||
- Adds: `ChartCardProps`, `GridProps`, `HeaderProps`, `LineProps`, `ThresholdLineProps`, `SortDirection`, `SortKey`, `SortOrder`, `TooltipProps`, `XAxisType`, `YAxisType` | ||
- Removes: `ChartOptions`, `SeriesOption` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export { Chart } from './Chart'; | ||
export { | ||
type ChartOptions, | ||
type ChartProps, | ||
type SeriesOption, | ||
export type { | ||
ChartOptions, | ||
ChartProps, | ||
SeriesOption, | ||
ZoomSelectionEvent, | ||
} from './Chart.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { ChartCard } from './ChartCard'; | ||
export { ChartCardProps } from './ChartCard.types'; | ||
export type { ChartCardProps } from './ChartCard.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { Grid } from './Grid'; | ||
export type { GridProps } from './Grid.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { Header } from './Header'; | ||
export type { HeaderProps } from './Header.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { Line } from './Line'; | ||
export { type LineProps } from './Line.types'; | ||
export type { LineProps } from './Line.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
export { Tooltip } from './Tooltip'; | ||
export { | ||
SortDirection, | ||
SortKey, | ||
SortOrder, | ||
type TooltipProps, | ||
} from './Tooltip.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { XAxis } from './XAxis'; | ||
export { XAxisProps } from './XAxis.types'; | ||
export type { XAxisProps, XAxisType } from './XAxis.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { YAxis } from './YAxis'; | ||
export { YAxisProps } from './YAxis.types'; | ||
export type { YAxisProps, YAxisType } from './YAxis.types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
export { Chart, type ChartOptions, type SeriesOption } from './Chart'; | ||
export { ChartCard } from './ChartCard'; | ||
export { Chart } from './Chart'; | ||
export { ChartCard, type ChartCardProps } from './ChartCard'; | ||
export { | ||
EventMarkerLine, | ||
type EventMarkerLineProps, | ||
EventMarkerPoint, | ||
type EventMarkerPointProps, | ||
} from './EventMarkers'; | ||
export { Grid } from './Grid'; | ||
export { Header } from './Header'; | ||
export { Line } from './Line'; | ||
export { ThresholdLine } from './ThresholdLine'; | ||
export { Tooltip } from './Tooltip'; | ||
export { XAxis, type XAxisProps } from './XAxis'; | ||
export { YAxis, type YAxisProps } from './YAxis'; | ||
export { Grid, type GridProps } from './Grid'; | ||
export { Header, type HeaderProps } from './Header'; | ||
export { Line, type LineProps } from './Line'; | ||
export { ThresholdLine, type ThresholdLineProps } from './ThresholdLine'; | ||
export { | ||
SortDirection, | ||
SortKey, | ||
SortOrder, | ||
Tooltip, | ||
type TooltipProps, | ||
} from './Tooltip'; | ||
export { XAxis, type XAxisProps, type XAxisType } from './XAxis'; | ||
export { YAxis, type YAxisProps, type YAxisType } from './YAxis'; |