@esperanca-ui/componentes 2.14.2 → 2.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
2
2
  import { CardProps } from '../Card/Card';
3
3
 
4
4
  export type ChartTone = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'neutral';
5
- export type ChartCurve = 'linear' | 'smooth';
5
+ export type ChartCurve = 'linear' | 'smooth' | 'step';
6
6
  export type ChartLegendPosition = 'top' | 'bottom' | 'left' | 'right';
7
7
  export type ChartTickRotation = 0 | -30 | -45 | -60 | -90;
8
8
  export type ChartDatum = {
@@ -0,0 +1,5 @@
1
+ import { LineChartProps } from '../LineChart/LineChart';
2
+
3
+ export interface StepLineChartProps extends Omit<LineChartProps, 'curve'> {
4
+ }
5
+ export declare const StepLineChart: import('react').ForwardRefExoticComponent<StepLineChartProps & import('react').RefAttributes<HTMLDivElement>>;
package/dist/index.d.ts CHANGED
@@ -13,6 +13,7 @@ export { Tabs } from './components/Tabs/Tabs';
13
13
  export { Card, CardHeader, CardTitle, CardDescription, CardBody, CardFooter } from './components/Card/Card';
14
14
  export { MetricCard } from './components/MetricCard/MetricCard';
15
15
  export { LineChart } from './components/LineChart/LineChart';
16
+ export { StepLineChart } from './components/StepLineChart/StepLineChart';
16
17
  export { BarChart } from './components/BarChart/BarChart';
17
18
  export { TaskStatusBadge } from './components/TaskStatusBadge/TaskStatusBadge';
18
19
  export { TaskPriorityBadge } from './components/TaskPriorityBadge/TaskPriorityBadge';
@@ -45,6 +46,7 @@ export type { TabsProps, TabsItem, TabsVariant, TabsSize } from './components/Ta
45
46
  export type { CardProps } from './components/Card/Card';
46
47
  export type { MetricCardProps } from './components/MetricCard/MetricCard';
47
48
  export type { LineChartProps } from './components/LineChart/LineChart';
49
+ export type { StepLineChartProps } from './components/StepLineChart/StepLineChart';
48
50
  export type { BarChartProps } from './components/BarChart/BarChart';
49
51
  export type { ChartBaseProps, ChartCurve, ChartDatum, ChartDisplayPreferences, ChartLegendPosition, ChartSeries, ChartTickRotation, ChartTone, } from './components/Charts/chartTypes';
50
52
  export type { TaskStatusBadgeProps, TaskStatus } from './components/TaskStatusBadge/TaskStatusBadge';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esperanca-ui/componentes",
3
- "version": "2.14.2",
3
+ "version": "2.14.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",