react-frontend-common-components 0.0.56 → 0.0.57
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/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/app-chart/app-chart.tsx +0 -4
- package/src/components/app-input/app-input.tsx +2 -2
- package/src/components/app-select/app-select.tsx +1 -1
- package/src/components/app-sidebar/app-sidebar.tsx +2 -2
package/package.json
CHANGED
@@ -57,7 +57,6 @@ const AppChart = ({
|
|
57
57
|
data={data as ChartData<"bar">}
|
58
58
|
options={options as ChartOptions<"bar">}
|
59
59
|
className={className}
|
60
|
-
{...props}
|
61
60
|
/>
|
62
61
|
);
|
63
62
|
case "line":
|
@@ -66,7 +65,6 @@ const AppChart = ({
|
|
66
65
|
data={data as ChartData<"line">}
|
67
66
|
options={options as ChartOptions<"line">}
|
68
67
|
className={className}
|
69
|
-
{...props}
|
70
68
|
/>
|
71
69
|
);
|
72
70
|
case "pie":
|
@@ -75,7 +73,6 @@ const AppChart = ({
|
|
75
73
|
data={data as ChartData<"pie">}
|
76
74
|
options={options as ChartOptions<"pie">}
|
77
75
|
className={className}
|
78
|
-
{...props}
|
79
76
|
/>
|
80
77
|
);
|
81
78
|
case "doughnut":
|
@@ -84,7 +81,6 @@ const AppChart = ({
|
|
84
81
|
data={data as ChartData<"doughnut">}
|
85
82
|
options={options as ChartOptions<"doughnut">}
|
86
83
|
className={className}
|
87
|
-
{...props}
|
88
84
|
/>
|
89
85
|
);
|
90
86
|
default:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use client";
|
2
2
|
|
3
|
-
import { Input, InputRef } from "antd";
|
3
|
+
import { Input, InputProps, InputRef } from "antd";
|
4
4
|
import {
|
5
5
|
ChangeEventHandler,
|
6
6
|
KeyboardEventHandler,
|
@@ -10,7 +10,7 @@ import {
|
|
10
10
|
} from "react";
|
11
11
|
import "./app-input.css";
|
12
12
|
|
13
|
-
interface AppInputProps {
|
13
|
+
interface AppInputProps extends InputProps {
|
14
14
|
className?: string;
|
15
15
|
label?: string;
|
16
16
|
name?: string;
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import React from "react";
|
2
|
-
import { Layout, Menu } from "antd";
|
2
|
+
import { Layout, Menu, SelectProps } from "antd";
|
3
3
|
import "./app-sidebar.css";
|
4
4
|
|
5
5
|
const { Sider } = Layout;
|
6
6
|
|
7
|
-
interface SidebarProps {
|
7
|
+
interface SidebarProps extends SelectProps {
|
8
8
|
links: {
|
9
9
|
onClick?: () => void;
|
10
10
|
label: string;
|