@mxenabled/mxui 2.7.0 → 2.7.1
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { DateRange } from '@mui/x-date-pickers-pro';
|
|
2
2
|
import { PickersLayoutProps } from '@mui/x-date-pickers/PickersLayout';
|
|
3
|
-
declare const DateRangePickerSmallLayout: (props: PickersLayoutProps<DateRange<Date>>) => import("react
|
|
3
|
+
declare const DateRangePickerSmallLayout: (props: PickersLayoutProps<DateRange<Date>>) => import("react").JSX.Element;
|
|
4
4
|
export default DateRangePickerSmallLayout;
|
|
@@ -4,4 +4,4 @@ export interface IconProps extends MuiIconProps {
|
|
|
4
4
|
name: string;
|
|
5
5
|
size?: number;
|
|
6
6
|
}
|
|
7
|
-
export declare const Icon: ({ color, fill, name, size, sx, ...rest }: IconProps) => import("react
|
|
7
|
+
export declare const Icon: ({ color, fill, name, size, sx, ...rest }: IconProps) => import("react").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export interface TagProps extends Omit<BoxProps, 'color' | 'children'> {
|
|
|
8
8
|
label: string;
|
|
9
9
|
size?: TagSize;
|
|
10
10
|
}
|
|
11
|
-
export declare const Tag: ({ color, icon, label, size, sx, ...rest }: TagProps) => import("react
|
|
11
|
+
export declare const Tag: ({ color, icon, label, size, sx, ...rest }: TagProps) => import("react").JSX.Element;
|
|
@@ -5,9 +5,9 @@ interface TextType extends TypographyProps {
|
|
|
5
5
|
truncate?: boolean;
|
|
6
6
|
uppercase?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export declare const Text: ({ bold, className, children, color, sx, truncate, uppercase, ...rest }: TextType) => import("react
|
|
9
|
-
export declare const H1: ({ className, children, ...rest }: TextType) => import("react
|
|
10
|
-
export declare const H2: ({ className, children, ...rest }: TextType) => import("react
|
|
11
|
-
export declare const H3: ({ className, children, ...rest }: TextType) => import("react
|
|
12
|
-
export declare const P: ({ className, children, ...rest }: TextType) => import("react
|
|
8
|
+
export declare const Text: ({ bold, className, children, color, sx, truncate, uppercase, ...rest }: TextType) => import("react").JSX.Element;
|
|
9
|
+
export declare const H1: ({ className, children, ...rest }: TextType) => import("react").JSX.Element;
|
|
10
|
+
export declare const H2: ({ className, children, ...rest }: TextType) => import("react").JSX.Element;
|
|
11
|
+
export declare const H3: ({ className, children, ...rest }: TextType) => import("react").JSX.Element;
|
|
12
|
+
export declare const P: ({ className, children, ...rest }: TextType) => import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SlideProps } from '@mui/material/Slide';
|
|
3
3
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
4
|
-
export declare function SlideTransition(props: SlideProps):
|
|
4
|
+
export declare function SlideTransition(props: SlideProps): React.JSX.Element;
|
|
5
5
|
interface ToastProps {
|
|
6
6
|
open: boolean;
|
|
7
7
|
closeAriaLabel: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mxenabled/mxui",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.1",
|
|
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",
|
|
@@ -10,11 +10,16 @@
|
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
|
+
"engines": {
|
|
14
|
+
"node": ">=22"
|
|
15
|
+
},
|
|
13
16
|
"scripts": {
|
|
14
17
|
"build": "tsc && vite build",
|
|
15
18
|
"build-storybook": "storybook build -o compiled_docs",
|
|
16
19
|
"dev": "storybook dev -p 8110",
|
|
17
20
|
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
21
|
+
"test": "vitest run",
|
|
22
|
+
"test:coverage": "vitest run --coverage",
|
|
18
23
|
"precommit": "lint-staged",
|
|
19
24
|
"prepublishOnly": "yarn build",
|
|
20
25
|
"prepare": "husky install"
|
|
@@ -43,11 +48,16 @@
|
|
|
43
48
|
"@storybook/addon-docs": "^9.1.20",
|
|
44
49
|
"@storybook/addon-links": "^9.1.20",
|
|
45
50
|
"@storybook/react-vite": "^9.1.20",
|
|
51
|
+
"@testing-library/dom": "^10.4.1",
|
|
52
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
53
|
+
"@testing-library/react": "^16.3.2",
|
|
54
|
+
"@testing-library/user-event": "^14.6.1",
|
|
46
55
|
"@types/react": "^19.2.14",
|
|
47
56
|
"@types/react-dom": "^19.2.3",
|
|
48
57
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
49
58
|
"@typescript-eslint/parser": "^7.18.0",
|
|
50
59
|
"@vitejs/plugin-react": "^5.2.0",
|
|
60
|
+
"@vitest/coverage-v8": "^3",
|
|
51
61
|
"@vueless/storybook-dark-mode": "^9.0.10",
|
|
52
62
|
"@yarnpkg/sdks": "^3.2.3",
|
|
53
63
|
"eslint": "^8.57.1",
|
|
@@ -59,6 +69,7 @@
|
|
|
59
69
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
60
70
|
"eslint-plugin-storybook": "^9.1.20",
|
|
61
71
|
"husky": "^9.1.7",
|
|
72
|
+
"jsdom": "^29.1.1",
|
|
62
73
|
"lint-staged": "^16.4.0",
|
|
63
74
|
"path": "^0.12.7",
|
|
64
75
|
"prettier": "^3.8.1",
|
|
@@ -66,7 +77,8 @@
|
|
|
66
77
|
"storybook": "^9.1.20",
|
|
67
78
|
"typescript": "^5.9.3",
|
|
68
79
|
"vite": "^7.3.1",
|
|
69
|
-
"vite-plugin-dts": "^4.5.4"
|
|
80
|
+
"vite-plugin-dts": "^4.5.4",
|
|
81
|
+
"vitest": "^3"
|
|
70
82
|
},
|
|
71
83
|
"peerDependencies": {
|
|
72
84
|
"@mui/material": "^7",
|