@kubit-ui-web/react-charts 1.3.0 → 1.4.0
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/types/charts/barChart/barChart.d.ts +5 -5
- package/dist/types/charts/barChart/barChart.type.d.ts +1 -1
- package/dist/types/charts/barChart/context/barChartContext.d.ts +1 -1
- package/dist/types/charts/barChart/fragments/barChartSeparator.d.ts +1 -1
- package/dist/types/charts/barChart/fragments/barChartXAxis.d.ts +1 -1
- package/dist/types/charts/barChart/fragments/barChartYAxis.d.ts +1 -1
- package/dist/types/charts/lineChart/context/lineChartContext.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartPath.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartProjection.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartSeparator.d.ts +1 -1
- package/dist/types/charts/lineChart/fragments/lineChartXAxis.d.ts +1 -1
- package/dist/types/charts/lineChart/lineChart.d.ts +5 -5
- package/dist/types/charts/lineChart/lineChart.type.d.ts +1 -1
- package/dist/types/charts/lineChart/lineChartStructure.d.ts +1 -1
- package/dist/types/charts/pieChart/context/pieChartContext.d.ts +1 -1
- package/dist/types/charts/pieChart/fragments/pieChartForeign.d.ts +1 -1
- package/dist/types/charts/pieChart/fragments/pieChartPath.d.ts +1 -1
- package/dist/types/charts/pieChart/pieChart.d.ts +3 -3
- package/dist/types/charts/pieChart/pieChart.type.d.ts +1 -1
- package/dist/types/charts/pieChart/pieChartStructure.d.ts +1 -1
- package/dist/types/components/axisChart/xAxis/xAxis.d.ts +1 -1
- package/dist/types/components/axisChart/yAxis/yAxis.d.ts +1 -1
- package/dist/types/components/bar/bar.d.ts +1 -1
- package/dist/types/components/bar/fragments/barChartSegment.d.ts +1 -1
- package/dist/types/components/chartText/chartText.d.ts +1 -1
- package/dist/types/components/foreignObject/foreignObject.d.ts +1 -1
- package/dist/types/components/foreignObject/foreignObject.types.d.ts +1 -1
- package/dist/types/components/line/line.d.ts +1 -1
- package/dist/types/components/node/components/circle/circle.d.ts +1 -1
- package/dist/types/components/node/components/hexagon/hexagon.d.ts +1 -1
- package/dist/types/components/node/components/pentagon/pentagon.d.ts +1 -1
- package/dist/types/components/node/components/square/square.d.ts +1 -1
- package/dist/types/components/node/components/star/star.d.ts +1 -1
- package/dist/types/components/node/components/straight/straight.d.ts +1 -1
- package/dist/types/components/node/components/triangle/triangle.d.ts +1 -1
- package/dist/types/components/node/node.d.ts +1 -1
- package/dist/types/components/path/components/nodePath/nodePath.d.ts +2 -2
- package/dist/types/components/path/path.d.ts +1 -1
- package/dist/types/components/path/path.types.d.ts +1 -1
- package/dist/types/components/plot/components/circle/circle.d.ts +1 -1
- package/dist/types/components/plot/components/square/square.d.ts +1 -1
- package/dist/types/components/plot/components/triangle/triangle.d.ts +1 -1
- package/dist/types/components/plot/plot.d.ts +1 -1
- package/dist/types/components/svgContainer/svgContainer.d.ts +1 -1
- package/dist/types/components/tick/tick.d.ts +1 -1
- package/dist/types/components/zoomArea/components/HandlerIcon.d.ts +1 -1
- package/dist/types/components/zoomArea/components/LineRenderer.d.ts +1 -1
- package/dist/types/components/zoomArea/components/SelectionArea.d.ts +1 -1
- package/dist/types/components/zoomArea/components/ZoomHandler.d.ts +1 -1
- package/dist/types/hooks/useFocus/useFocus.types.d.ts +1 -1
- package/dist/types/hooks/useHover/useHover.types.d.ts +1 -1
- package/dist/types/utils/getChildrenAttr/getChildrenAttr.d.ts +1 -1
- package/package.json +6 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const BarChart: import('react').FC<import('./barChart.type').BarChartProps> & {
|
|
2
|
-
Path: import('react').FC<import('./barChart.type').BarChartPathProps>;
|
|
3
|
-
Separator: import('react').FC<import('./barChart.type').BarChartSeparatorProps>;
|
|
4
|
-
XAxis: import('react').FC<import('./barChart.type').BarChartXAxisProps>;
|
|
5
|
-
YAxis: import('react').FC<import('./barChart.type').BarChartYAxisProps>;
|
|
1
|
+
declare const BarChart: import('../../../node_modules/react').FC<import('./barChart.type').BarChartProps> & {
|
|
2
|
+
Path: import('../../../node_modules/react').FC<import('./barChart.type').BarChartPathProps>;
|
|
3
|
+
Separator: import('../../../node_modules/react').FC<import('./barChart.type').BarChartSeparatorProps>;
|
|
4
|
+
XAxis: import('../../../node_modules/react').FC<import('./barChart.type').BarChartXAxisProps>;
|
|
5
|
+
YAxis: import('../../../node_modules/react').FC<import('./barChart.type').BarChartYAxisProps>;
|
|
6
6
|
};
|
|
7
7
|
export { BarChart };
|
|
8
8
|
export * from './barChart.type';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
1
|
+
import { ReactElement, ReactNode } from '../../../node_modules/react';
|
|
2
2
|
import { XAxisProps } from '../../components/axisChart/xAxis/xAxis.types';
|
|
3
3
|
import { YAxisProps } from '../../components/axisChart/yAxis/yAxis.types';
|
|
4
4
|
import { BarChartStyles, BarOrientation } from '../../components/bar/bar.type';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BarChartContextType } from '../barChart.type';
|
|
2
|
-
export declare const BarChartContext: import('react').Context<BarChartContextType>;
|
|
2
|
+
export declare const BarChartContext: import('../../../../node_modules/react').Context<BarChartContextType>;
|
|
3
3
|
//# sourceMappingURL=barChartContext.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { LineChartContextType } from '../lineChart.type';
|
|
2
|
-
export declare const LineChartContext: import('react').Context<LineChartContextType>;
|
|
2
|
+
export declare const LineChartContext: import('../../../../node_modules/react').Context<LineChartContextType>;
|
|
3
3
|
//# sourceMappingURL=lineChartContext.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC } from '../../../../node_modules/react';
|
|
2
2
|
import { LineChartProjectionProps } from '../lineChart.type';
|
|
3
3
|
export declare const LineChartProjection: FC<LineChartProjectionProps>;
|
|
4
4
|
//# sourceMappingURL=lineChartProjection.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const LineChart: import('react').FC<import('./lineChart.type').LineChartProps> & {
|
|
2
|
-
Path: import('react').FC<import('./lineChart.type').LineChartPathProps>;
|
|
3
|
-
Separator: import('react').FC<import('./lineChart.type').LineChartSeparatorProps>;
|
|
4
|
-
XAxis: import('react').FC<import('./lineChart.type').LineChartXAxisProps>;
|
|
5
|
-
YAxis: import('react').FC<import('./lineChart.type').LineChartYAxisProps>;
|
|
1
|
+
declare const LineChart: import('../../../node_modules/react').FC<import('./lineChart.type').LineChartProps> & {
|
|
2
|
+
Path: import('../../../node_modules/react').FC<import('./lineChart.type').LineChartPathProps>;
|
|
3
|
+
Separator: import('../../../node_modules/react').FC<import('./lineChart.type').LineChartSeparatorProps>;
|
|
4
|
+
XAxis: import('../../../node_modules/react').FC<import('./lineChart.type').LineChartXAxisProps>;
|
|
5
|
+
YAxis: import('../../../node_modules/react').FC<import('./lineChart.type').LineChartYAxisProps>;
|
|
6
6
|
};
|
|
7
7
|
export { LineChart };
|
|
8
8
|
export * from './lineChart.type';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactElement, ReactNode } from 'react';
|
|
1
|
+
import { ReactElement, ReactNode } from '../../../node_modules/react';
|
|
2
2
|
import { XAxisProps } from '../../components/axisChart/xAxis/xAxis.types';
|
|
3
3
|
import { YAxisProps } from '../../components/axisChart/yAxis/yAxis.types';
|
|
4
4
|
import { LineProps } from '../../components/line/line.types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PieChartContextType } from '../pieChart.type';
|
|
2
|
-
export declare const PieChartContext: import('react').Context<PieChartContextType>;
|
|
2
|
+
export declare const PieChartContext: import('../../../../node_modules/react').Context<PieChartContextType>;
|
|
3
3
|
//# sourceMappingURL=pieChartContext.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC } from '../../../../node_modules/react';
|
|
2
2
|
import { ForeignObjectProps } from '../../../components/foreignObject/foreignObject.types';
|
|
3
3
|
export declare const PieChartForeign: FC<ForeignObjectProps>;
|
|
4
4
|
//# sourceMappingURL=pieChartForeign.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const PieChart: import('react').FC<import('./pieChart.type').PieChartProps> & {
|
|
2
|
-
Foreign: import('react').FC<import('../..').ForeignObjectProps>;
|
|
3
|
-
Path: import('react').FC<import('../..').PathProps>;
|
|
1
|
+
declare const PieChart: import('../../../node_modules/react').FC<import('./pieChart.type').PieChartProps> & {
|
|
2
|
+
Foreign: import('../../../node_modules/react').FC<import('../..').ForeignObjectProps>;
|
|
3
|
+
Path: import('../../../node_modules/react').FC<import('../..').PathProps>;
|
|
4
4
|
};
|
|
5
5
|
export { PieChart };
|
|
6
6
|
export * from './pieChart.type';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { NodePathProps } from '../../path.types';
|
|
2
|
-
export declare const NodePath: import('react').ForwardRefExoticComponent<{
|
|
2
|
+
export declare const NodePath: import('../../../../../node_modules/react').ForwardRefExoticComponent<{
|
|
3
3
|
nodeConfig?: NodePathProps;
|
|
4
4
|
data?: {
|
|
5
5
|
index?: number;
|
|
@@ -10,5 +10,5 @@ export declare const NodePath: import('react').ForwardRefExoticComponent<{
|
|
|
10
10
|
x: number;
|
|
11
11
|
y: number;
|
|
12
12
|
tabIndex?: number;
|
|
13
|
-
} & import('react').RefAttributes<SVGSVGElement>>;
|
|
13
|
+
} & import('../../../../../node_modules/react').RefAttributes<SVGSVGElement>>;
|
|
14
14
|
//# sourceMappingURL=nodePath.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PathProps } from './path.types';
|
|
2
|
-
export declare const Path: import('react').ForwardRefExoticComponent<PathProps & import('react').RefAttributes<unknown>>;
|
|
2
|
+
export declare const Path: import('../../../node_modules/react').ForwardRefExoticComponent<PathProps & import('../../../node_modules/react').RefAttributes<unknown>>;
|
|
3
3
|
//# sourceMappingURL=path.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, KeyboardEvent, MouseEvent, TouchEvent } from 'react';
|
|
1
|
+
import { FC, KeyboardEvent, MouseEvent, TouchEvent } from '../../../../node_modules/react';
|
|
2
2
|
import { FocusConfig } from '../../../types/focusConfig.type';
|
|
3
3
|
import { ZoomAreaSelectionConfig, ZoomRange } from '../zoomArea.type';
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { KeyboardEvent, MouseEvent, TouchEvent } from 'react';
|
|
1
|
+
import { KeyboardEvent, MouseEvent, TouchEvent } from '../../../../node_modules/react';
|
|
2
2
|
import { FocusConfig } from '../../../types/focusConfig.type';
|
|
3
3
|
import { ZoomAreaElements, ZoomAreaHandlerConfig } from '../zoomArea.type';
|
|
4
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubit-ui-web/react-charts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/kubit-ui-web-react-charts.cjs.js",
|
|
6
6
|
"module": "dist/kubit-ui-web-react-charts.es.js",
|
|
@@ -110,7 +110,8 @@
|
|
|
110
110
|
"vitest": "vitest",
|
|
111
111
|
"vitest-report": "vitest --ui --coverage.enabled=true",
|
|
112
112
|
"vitest:watch": "vitest - watch",
|
|
113
|
-
"dist:all": "yarn run vite build"
|
|
113
|
+
"dist:all": "yarn run vite build",
|
|
114
|
+
"chromatic": "npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN"
|
|
114
115
|
},
|
|
115
116
|
"repository": {
|
|
116
117
|
"type": "git",
|
|
@@ -158,6 +159,7 @@
|
|
|
158
159
|
"@storybook/addon-a11y": "10.0.7",
|
|
159
160
|
"@storybook/addon-coverage": "3.0.0",
|
|
160
161
|
"@storybook/addon-designs": "11.0.1",
|
|
162
|
+
"@storybook/addon-docs": "10.0.7",
|
|
161
163
|
"@storybook/addon-links": "10.0.7",
|
|
162
164
|
"@storybook/addon-themes": "10.0.7",
|
|
163
165
|
"@storybook/react-vite": "10.0.7",
|
|
@@ -177,6 +179,7 @@
|
|
|
177
179
|
"@vitest/coverage-v8": "^4.0.9",
|
|
178
180
|
"@vitest/ui": "^4.0.9",
|
|
179
181
|
"add": "^2.0.6",
|
|
182
|
+
"chromatic": "^13.3.3",
|
|
180
183
|
"cpy-cli": "^6.0.0",
|
|
181
184
|
"eslint": "^9.39.1",
|
|
182
185
|
"eslint-config-kubit": "1.2.0",
|
|
@@ -211,8 +214,7 @@
|
|
|
211
214
|
"vitest": "^4.0.9",
|
|
212
215
|
"vitest-axe": "^0.1.0",
|
|
213
216
|
"yarn": "^1.22.22",
|
|
214
|
-
"yarn-deduplicate": "^6.0.2"
|
|
215
|
-
"@storybook/addon-docs": "10.0.7"
|
|
217
|
+
"yarn-deduplicate": "^6.0.2"
|
|
216
218
|
},
|
|
217
219
|
"dependencies": {
|
|
218
220
|
"react": "18.3.1",
|