@zydon/common 2.0.10 → 2.0.12

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,16 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ReactNode } from 'react';
3
- import { DataGridPremiumProps } from '@mui/x-data-grid-premium';
4
-
5
- type DatagridAppearance = 'none' | 'default';
6
-
7
- type DataGridProps = DataGridPremiumProps & {
8
- fetching?: boolean;
9
- toolbarContent?: ReactNode;
10
- showToolbar?: boolean;
11
- disableExport?: boolean;
12
- appearance?: DatagridAppearance;
13
- };
2
+ import { DataGridProps } from '../../types/dataGridProps.js';
3
+ import 'react';
4
+ import '@mui/x-data-grid-premium';
14
5
 
15
6
  declare const DataGrid: ({ columns, rows, loading, fetching, rowHeight, hideFooter, sx, showToolbar, disableExport, ...other }: DataGridProps) => react_jsx_runtime.JSX.Element;
16
7
 
@@ -1,10 +1,7 @@
1
1
  import * as react from 'react';
2
- import { BoxProps } from '@mui/material/Box';
3
- import { Icon as Icon$1 } from '../../types/icon.js';
4
-
5
- interface IconProps extends BoxProps {
6
- icon: keyof typeof Icon$1;
7
- }
2
+ import { IconProps } from '../../types/iconProps.js';
3
+ import '@mui/material/Box';
4
+ import '../../types/icon.js';
8
5
 
9
6
  declare const Icon: react.ForwardRefExoticComponent<Omit<IconProps, "ref"> & react.RefAttributes<SVGSVGElement>>;
10
7
 
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ import { DataGridPremiumProps } from '@mui/x-data-grid-premium';
3
+
4
+ type DatagridAppearance = 'none' | 'default';
5
+ type DataGridProps = DataGridPremiumProps & {
6
+ fetching?: boolean;
7
+ toolbarContent?: ReactNode;
8
+ showToolbar?: boolean;
9
+ disableExport?: boolean;
10
+ appearance?: DatagridAppearance;
11
+ };
12
+
13
+ export { DataGridProps, DatagridAppearance };
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,8 @@
1
+ import { BoxProps } from '@mui/material/Box';
2
+ import { Icon } from './icon.js';
3
+
4
+ interface IconProps extends BoxProps {
5
+ icon: keyof typeof Icon;
6
+ }
7
+
8
+ export { IconProps };
@@ -0,0 +1 @@
1
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zydon/common",
3
- "version": "2.0.10",
3
+ "version": "2.0.12",
4
4
  "license": "MIT",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",