@adiba-banking-cloud/backoffice 0.0.30 → 0.0.31
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/build/index.cjs.js/index.js +1 -1
- package/build/index.esm.js/index.js +1 -1
- package/build/typings/components/charts/donut/Donut.d.ts +3 -0
- package/build/typings/components/charts/donut/Donut.default.d.ts +2 -0
- package/build/typings/components/charts/donut/Donut.stories.d.ts +6 -0
- package/build/typings/components/charts/donut/Donut.types.d.ts +37 -0
- package/package.json +1 -1
|
@@ -12045,7 +12045,7 @@ const SearchPanel = _ref3 => {
|
|
|
12045
12045
|
rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(core.ActionIcon, {
|
|
12046
12046
|
variant: "transparent",
|
|
12047
12047
|
onClick: filterFn
|
|
12048
|
-
}, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null
|
|
12048
|
+
}, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null)
|
|
12049
12049
|
}), /*#__PURE__*/React.createElement(core.Button, {
|
|
12050
12050
|
variant: "light",
|
|
12051
12051
|
size: "md",
|
|
@@ -12024,7 +12024,7 @@ const SearchPanel = _ref3 => {
|
|
|
12024
12024
|
rightSection: typeof filterFn == 'function' ? /*#__PURE__*/React.createElement(ActionIcon, {
|
|
12025
12025
|
variant: "transparent",
|
|
12026
12026
|
onClick: filterFn
|
|
12027
|
-
}, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null
|
|
12027
|
+
}, /*#__PURE__*/React.createElement(Icons, filterIcon)) : /*#__PURE__*/React.createElement(React.Fragment, null)
|
|
12028
12028
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
12029
12029
|
variant: "light",
|
|
12030
12030
|
size: "md",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta } from "@storybook/react";
|
|
2
|
+
import "@mantine/core/styles.css";
|
|
3
|
+
import { DonutChart } from "./Donut";
|
|
4
|
+
declare const _default: Meta<typeof DonutChart>;
|
|
5
|
+
export default _default;
|
|
6
|
+
export declare const SimpleDonutChart: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("./Donut.types").DonutChartProps>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Highcharts from "highcharts";
|
|
2
|
+
export interface CustomChart extends Highcharts.Chart {
|
|
3
|
+
customLabel?: Highcharts.SVGElement;
|
|
4
|
+
}
|
|
5
|
+
export interface DonutChartProps {
|
|
6
|
+
bgColor?: string;
|
|
7
|
+
plotBgColor?: string;
|
|
8
|
+
colors?: string[];
|
|
9
|
+
title?: string;
|
|
10
|
+
categories: string[];
|
|
11
|
+
series: number[];
|
|
12
|
+
withLegend: boolean | DonutChartLegendProps;
|
|
13
|
+
centerValue?: string;
|
|
14
|
+
centerLabel?: string;
|
|
15
|
+
}
|
|
16
|
+
interface DonutChartLegendProps {
|
|
17
|
+
enabled: boolean;
|
|
18
|
+
layout?: "vertical" | "horizontal";
|
|
19
|
+
align?: "left" | "center" | "right";
|
|
20
|
+
verticalAlign?: "top" | "middle" | "bottom";
|
|
21
|
+
floating?: boolean;
|
|
22
|
+
x?: number;
|
|
23
|
+
y?: number;
|
|
24
|
+
}
|
|
25
|
+
export interface DonutChartConfig {
|
|
26
|
+
chart: object;
|
|
27
|
+
title: object;
|
|
28
|
+
exporting: {
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
};
|
|
31
|
+
tooltip: object;
|
|
32
|
+
legend: object;
|
|
33
|
+
plotOptions: object;
|
|
34
|
+
credits: object;
|
|
35
|
+
series: object;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adiba-banking-cloud/backoffice",
|
|
3
3
|
"author": "TUROG Technologies",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.31",
|
|
5
5
|
"description": "An ADIBA component library for backoffice and dashboard applications",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"main": "build/index.cjs.js",
|