rbro-tat-uds 1.6.20 → 1.6.21

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.
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export interface CardsProps extends React.HTMLAttributes<HTMLDivElement> {
2
+ export interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
3
3
  type?: "credit" | "debit" | "emag";
4
4
  holderName?: string;
5
5
  cardNumberLastFour?: string;
@@ -7,5 +7,5 @@ export interface CardsProps extends React.HTMLAttributes<HTMLDivElement> {
7
7
  width?: string;
8
8
  empty?: boolean;
9
9
  }
10
- declare const Cards: React.FC<CardsProps>;
11
- export default Cards;
10
+ declare const Card: React.FC<CardProps>;
11
+ export default Card;
@@ -0,0 +1 @@
1
+ export { default as Card } from './Card';
@@ -1,13 +1,11 @@
1
1
  import { default as React } from 'react';
2
2
  export interface DonutGraphProps {
3
- width: number;
4
- height: number;
5
- items: {
3
+ items?: {
6
4
  value: number;
7
5
  color: string;
8
6
  }[];
9
- innerRadius?: number;
10
- outerRadius?: number;
7
+ size?: number;
8
+ innerSize?: number;
11
9
  }
12
10
  declare const DonutGraph: React.FC<DonutGraphProps>;
13
11
  export default DonutGraph;
@@ -1,9 +1,13 @@
1
1
  import { default as React, HTMLAttributes } from 'react';
2
+ import { colors } from '../..';
2
3
  interface PillProps extends HTMLAttributes<HTMLDivElement> {
3
- intent?: "default" | "info" | "featured" | "success" | "danger" | "warning";
4
+ bgColor?: keyof typeof colors;
5
+ textColor?: keyof typeof colors;
6
+ fontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
4
7
  variant?: "light" | "default";
5
- size?: "small" | "medium";
8
+ size?: "xsmall" | "small" | "medium";
6
9
  text?: string;
10
+ radius?: string;
7
11
  }
8
12
  declare const Pill: React.FC<PillProps>;
9
13
  export default Pill;
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ export interface VerticalHeatProps {
3
+ min?: number;
4
+ max?: number;
5
+ value?: number;
6
+ width?: string;
7
+ }
8
+ declare const VerticalHeat: React.FC<VerticalHeatProps>;
9
+ export default VerticalHeat;
@@ -0,0 +1 @@
1
+ export { default as VerticalHeat } from './VerticalHeat';
@@ -78,7 +78,8 @@ export * from './OperationsDashboardCard';
78
78
  export * from './OperationsDashboardCategory';
79
79
  export * from './TimelineSteps';
80
80
  export * from './TimelineStepsItem';
81
- export * from './Cards';
81
+ export * from './Card';
82
82
  export * from './Timer';
83
83
  export * from './Switch';
84
84
  export * from './DonutGraph';
85
+ export * from './VerticalHeat';