asma-core-ui 2.21.3 → 2.22.4

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.
Files changed (22) hide show
  1. package/CHANGELOG.md +0 -12
  2. package/dist/asma-core-ui.es.js +6 -182
  3. package/dist/src/components/pickers/date-picker/components/DatePickerInputIndex.d.ts +8 -0
  4. package/dist/src/components/pickers/date-picker/types.d.ts +2 -0
  5. package/dist/src/components/table/components/TableBody.d.ts +9 -0
  6. package/dist/src/components/table/components/TableFooter.d.ts +7 -5
  7. package/dist/src/components/table/components/TableHeader.d.ts +6 -4
  8. package/dist/src/components/table/components/TableNoRowsOverlay.d.ts +5 -0
  9. package/dist/src/components/table/components/TableRow.d.ts +2 -2
  10. package/dist/src/components/table/components/TableRows.d.ts +2 -2
  11. package/dist/src/components/table/components/TableSkeleton.d.ts +4 -0
  12. package/dist/src/index.d.ts +0 -1
  13. package/dist/style.css +2 -2
  14. package/package.json +1 -2
  15. package/dist/src/components/table/__deprecated-data-grid/StyledDataGrid.d.ts +0 -8
  16. package/dist/src/components/table/__deprecated-data-grid/StyledGridActionsCellItem.d.ts +0 -3
  17. package/dist/src/components/table/__deprecated-data-grid/components/ColumnFormControlItem.d.ts +0 -6
  18. package/dist/src/components/table/__deprecated-data-grid/components/ColumnsMenu.d.ts +0 -7
  19. package/dist/src/components/table/__deprecated-data-grid/components/columnActions.d.ts +0 -13
  20. package/dist/src/components/table/__deprecated-data-grid/index.d.ts +0 -3
  21. package/dist/src/components/table/__deprecated-data-grid/types.d.ts +0 -9
  22. package/dist/src/components/table/__deprecated-data-grid/x-data-grid-types.d.ts +0 -2
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.21.3",
6
+ "version": "2.22.4",
7
7
  "type": "module",
8
8
  "files": [
9
9
  "dist/**/*",
@@ -43,7 +43,6 @@
43
43
  "@fontsource/roboto": "^5.0.4",
44
44
  "@iconify/react": "^4.1.1",
45
45
  "@mui/material": "^5.13.7",
46
- "@mui/x-data-grid": "^6.9.2",
47
46
  "@tanstack/react-table": "^8.10.0",
48
47
  "clsx": "^1.2.1",
49
48
  "date-fns": "^2.30.0",
@@ -1,8 +0,0 @@
1
- import type { IBaseStyledDataGrid } from './types';
2
- export declare const StyledDataGrid: {
3
- (props: IBaseStyledDataGrid): JSX.Element;
4
- defaultProps: {
5
- disableHeaderPin: boolean;
6
- disableRowActions: boolean;
7
- };
8
- };
@@ -1,3 +0,0 @@
1
- import { type GridActionsCellItemProps } from '@mui/x-data-grid';
2
- import type { RefAttributes } from 'react';
3
- export declare const StyledGridActionsCellItem: (props: GridActionsCellItemProps & RefAttributes<HTMLButtonElement>) => JSX.Element;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import type { GridApiCommunity } from '@mui/x-data-grid/internals';
3
- export declare const ColumnFormControlItem: React.FC<{
4
- apiRef: React.MutableRefObject<GridApiCommunity>;
5
- columnField: string;
6
- }>;
@@ -1,7 +0,0 @@
1
- import type { GridApiCommunity } from '@mui/x-data-grid/internals';
2
- import type { ReactNode } from 'react';
3
- export declare const ColumnsMenu: React.FC<{
4
- columnsMenuTitle: ReactNode;
5
- apiRef: React.MutableRefObject<GridApiCommunity>;
6
- fixedColumns?: string[];
7
- }>;
@@ -1,13 +0,0 @@
1
- import { type JSXElementConstructor, type ReactElement, type ReactNode } from 'react';
2
- import { type GridActionsCellItemProps, type GridRowParams } from '@mui/x-data-grid';
3
- import type { GridApiCommunity } from '@mui/x-data-grid/internals';
4
- export declare const columnActions: (apiRef: React.MutableRefObject<GridApiCommunity>, rowActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[], columnsMenuTitle: ReactNode, fixedColumns?: string[]) => {
5
- field: string;
6
- headerName: string;
7
- width: number;
8
- disableColumnMenu: boolean;
9
- sortable: boolean;
10
- type: string;
11
- renderHeader: () => JSX.Element;
12
- getActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
13
- };
@@ -1,3 +0,0 @@
1
- export * from './StyledDataGrid';
2
- export * from './StyledGridActionsCellItem';
3
- export * from './x-data-grid-types';
@@ -1,9 +0,0 @@
1
- import type { DataGridProps, GridActionsCellItemProps, GridRowParams } from '@mui/x-data-grid';
2
- import type { JSXElementConstructor, ReactElement, ReactNode } from 'react';
3
- export interface IBaseStyledDataGrid extends DataGridProps {
4
- columnsMenuTitle?: ReactNode;
5
- disableRowActions?: boolean;
6
- disableHeaderPin?: boolean;
7
- fixedColumns?: string[];
8
- rowActions?: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
9
- }
@@ -1,2 +0,0 @@
1
- export { gridDateComparator, GridRow } from '@mui/x-data-grid';
2
- export type * from '@mui/x-data-grid';