@mx-cartographer/insights-ui 1.4.6-alpha.mega8 → 1.4.6

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": "@mx-cartographer/insights-ui",
3
- "version": "1.4.6-alpha.mega8",
3
+ "version": "1.4.6",
4
4
  "description": "Package containing MX theme and common controls for MUI",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,23 +16,27 @@
16
16
  "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
17
17
  "precommit": "lint-staged",
18
18
  "prepublishOnly": "yarn build",
19
- "prepare": "husky install"
19
+ "prepare": "husky install",
20
+ "test": "vitest",
21
+ "test:file": "vitest run",
22
+ "testui": "vitest --ui --coverage",
23
+ "citest": "vitest run --coverage"
20
24
  },
21
25
  "dependencies": {
22
- "@emotion/react": "^11.13.5",
23
- "@emotion/styled": "^11.13.5",
26
+ "@emotion/react": "^11.13.3",
27
+ "@emotion/styled": "^11.13.0",
24
28
  "@kyper/mui": "^4.4.1",
25
29
  "@mui/base": "5.0.0-beta.61",
26
30
  "@mui/icons-material": "^5.16.7",
27
31
  "@mui/material": "^5.16.7",
28
32
  "@mui/system": "^5.16.7",
29
- "@mui/x-charts": "^7.22.3",
30
33
  "@mui/x-data-grid-pro": "^7.21.0",
31
34
  "@mui/x-date-pickers": "^7.21.0",
32
35
  "@mui/x-date-pickers-pro": "^7.21.0",
33
36
  "@mui/x-license-pro": "^6.10.2",
34
37
  "@mxenabled/design-tokens": "^1.0.3",
35
38
  "@testing-library/react": "^16.0.1",
39
+ "@testing-library/react-hooks": "^8.0.1",
36
40
  "date-fns": "^4.1.0",
37
41
  "react": "^18.3.1",
38
42
  "react-confetti": "^6.1.0",
@@ -56,11 +60,14 @@
56
60
  "@storybook/react": "^8.3.5",
57
61
  "@storybook/react-vite": "^8.3.5",
58
62
  "@storybook/test": "^8.3.5",
63
+ "@testing-library/jest-dom": "^6.6.3",
59
64
  "@types/react": "^18.3.11",
60
65
  "@types/react-dom": "^18.3.1",
61
66
  "@typescript-eslint/eslint-plugin": "^7.16.0",
62
67
  "@typescript-eslint/parser": "^7.16.0",
63
68
  "@vitejs/plugin-react": "^4.3.2",
69
+ "@vitest/coverage-v8": "2.1.5",
70
+ "@vitest/ui": "2.1.5",
64
71
  "@yarnpkg/sdks": "^3.2.0",
65
72
  "eslint": "^8.57.0",
66
73
  "eslint-config-mx": "^4.0.0",
@@ -72,6 +79,7 @@
72
79
  "eslint-plugin-storybook": "^0.8.0",
73
80
  "globals": "^15.8.0",
74
81
  "husky": "^9.0.11",
82
+ "jsdom": "^25.0.1",
75
83
  "lint-staged": "^15.2.7",
76
84
  "path": "^0.12.7",
77
85
  "prettier": "^3.3.2",
@@ -79,6 +87,7 @@
79
87
  "storybook": "^8.3.4",
80
88
  "storybook-dark-mode": "4.0.1",
81
89
  "typescript": "^5.6.2",
90
+ "vi-canvas-mock": "^1.0.0",
82
91
  "vite": "^5.4.8",
83
92
  "vite-plugin-dts": "^4.2.3",
84
93
  "vite-plugin-svgr": "^4.3.0"
@@ -1,2 +0,0 @@
1
- import { BarChartProps } from '../../../../types/Charts/BarChart';
2
- export declare const BarChart: ({ average, color, data, legendLabelAvg, legendLabelMain, selectedTabIndex, onBarClick, ...restProps }: BarChartProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- export interface LegendProps {
2
- average?: number;
3
- color: string;
4
- legendLabelAvg?: string;
5
- legendLabelMain?: string;
6
- }
7
- export declare const Legend: ({ average, color, legendLabelAvg, legendLabelMain }: LegendProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import { BarDataProps } from '../../../../types/Charts/BarChart';
2
- export interface CustomBarPlotProps {
3
- colorRange: string[];
4
- data: BarDataProps[];
5
- dataIndex: number;
6
- style: React.CSSProperties | undefined;
7
- }
8
- export declare const CustomBarPlot: ({ colorRange, data, dataIndex, style, ...restProps }: CustomBarPlotProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export * from './BarChart';
@@ -1 +0,0 @@
1
- export * from './BarChart';
@@ -1,6 +0,0 @@
1
- import { default as React } from 'react';
2
- interface FullFeedLogoSectionProps {
3
- accountGuid: string;
4
- }
5
- export declare const FullFeedLogoSection: React.FC<FullFeedLogoSectionProps>;
6
- export {};
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- interface LowerBoxSectionProps {
3
- isComplete?: boolean;
4
- leftLowerText: string;
5
- leftUpperText: string;
6
- rightLowerText: string;
7
- rightUpperText: string;
8
- }
9
- export declare const LowerBoxesSection: React.FC<LowerBoxSectionProps>;
10
- export {};