fix missing type exports

Signed-off-by: Ryan Vazquez <ryanv@spotify.com>
This commit is contained in:
Ryan Vazquez
2021-03-23 18:41:24 -04:00
parent 87313c63e2
commit d10ea17c93
4 changed files with 29 additions and 6 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-cost-insights': patch
---
fix missing type exports of public components
@@ -14,7 +14,5 @@
* limitations under the License.
*/
export { CostGrowth } from './CostGrowth';
export type { CostGrowthProps } from './CostGrowth';
export { CostGrowthIndicator } from './CostGrowthIndicator';
export type { CostGrowthIndicatorProps } from './CostGrowthIndicator';
export * from './CostGrowth';
export * from './CostGrowthIndicator';
@@ -14,4 +14,4 @@
* limitations under the License.
*/
export { LegendItem } from './LegendItem';
export * from './LegendItem';
+21 -1
View File
@@ -22,8 +22,28 @@ export {
CostInsightsLabelDataflowInstructionsPage,
} from './plugin';
export { ExampleCostInsightsClient } from './example';
export { BarChart, LegendItem, CostGrowth } from './components';
export {
BarChart,
BarChartLegend,
BarChartTooltip,
BarChartTooltipItem,
CostGrowth,
CostGrowthIndicator,
LegendItem,
} from './components';
export { MockConfigProvider, MockCurrencyProvider } from './testUtils';
export * from './api';
export * from './alerts';
export * from './types';
export type {
BarChartProps,
BarChartLegendOptions,
BarChartLegendProps,
BarChartTooltipProps,
BarChartTooltipItemProps,
CostGrowthProps,
CostGrowthIndicatorProps,
TooltipItem,
LegendItemProps,
} from './components';