@secondstaxorg/sscomp 1.9.26 → 1.9.28

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.9.26",
3
+ "version": "1.9.28",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -5,4 +5,6 @@ export interface BarChartProps {
5
5
  data: number[];
6
6
  backgroundColor?: string | string[];
7
7
  }[];
8
+ showGridMarkings?: boolean;
9
+ showLabels?: boolean;
8
10
  }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { DoughnutChartType } from "./type";
3
+ declare const DoughnutChart: (props: DoughnutChartType) => JSX.Element;
4
+ export default DoughnutChart;
@@ -0,0 +1 @@
1
+ export declare const ChartArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,11 @@
1
+ export interface DoughnutChartType {
2
+ height?: number;
3
+ labels: string[];
4
+ datasets: {
5
+ label: string;
6
+ data: number[];
7
+ backgroundColor?: string[];
8
+ }[];
9
+ showLabels?: boolean;
10
+ labelArrangement: 'vertical' | 'horizontal';
11
+ }
@@ -79,3 +79,4 @@ export { default as LanguageSwitcher } from './LanguageSwitcher/LanguageSwitcher
79
79
  export { default as BarChart } from './BarChart/BarChart';
80
80
  export { default as LineChart } from './LineChart/LineChart';
81
81
  export { default as ProgressBar } from './ProgressBar/ProgressBar';
82
+ export { default as DoughnutChart } from './DoughnutChart/DoughnutChart';