@syook/react-tabulous 3.0.3 → 4.0.0-beta-0.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.
Files changed (153) hide show
  1. package/README.md +206 -197
  2. package/lib/index.esm.js +19 -0
  3. package/lib/index.esm.js.map +1 -0
  4. package/lib/index.js +19 -0
  5. package/lib/index.js.map +1 -0
  6. package/lib/types/App.d.ts +4 -0
  7. package/lib/types/__tests__/reactTabulous/components/base/gridBody.test.d.ts +1 -0
  8. package/lib/types/__tests__/reactTabulous/components/base/gridFooterPlaceholder.test.d.ts +1 -0
  9. package/lib/types/__tests__/reactTabulous/components/bulkAction/bulkActions.test.d.ts +1 -0
  10. package/lib/types/__tests__/reactTabulous/components/cell/columnCell.test.d.ts +1 -0
  11. package/lib/types/__tests__/reactTabulous/components/columnBody/columnBody.test.d.ts +1 -0
  12. package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderCheckbox.test.d.ts +1 -0
  13. package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderItem.test.d.ts +1 -0
  14. package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaderMenu.test.d.ts +1 -0
  15. package/lib/types/__tests__/reactTabulous/components/columnHeaders/columnHeaders.test.d.ts +1 -0
  16. package/lib/types/__tests__/reactTabulous/components/containers/gridRoot.test.d.ts +1 -0
  17. package/lib/types/__tests__/reactTabulous/components/filter/index.test.d.ts +1 -0
  18. package/lib/types/__tests__/reactTabulous/components/filter/inputCategories.test.d.ts +1 -0
  19. package/lib/types/__tests__/reactTabulous/components/gridHeader.test.d.ts +1 -0
  20. package/lib/types/__tests__/reactTabulous/components/pagination/pagination.test.d.ts +1 -0
  21. package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbar.test.d.ts +1 -0
  22. package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarColumns.test.d.ts +1 -0
  23. package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarDensity.test.d.ts +1 -0
  24. package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarExport.test.d.ts +1 -0
  25. package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarFilter.test.d.ts +1 -0
  26. package/lib/types/__tests__/reactTabulous/components/toolbar/gridToolbarQuickFilter.test.d.ts +1 -0
  27. package/lib/types/__tests__/reactTabulous/components/widgets/button/button.test.d.ts +1 -0
  28. package/lib/types/__tests__/reactTabulous/components/widgets/checkbox.test.d.ts +1 -0
  29. package/lib/types/__tests__/reactTabulous/components/widgets/divider.test.d.ts +1 -0
  30. package/lib/types/__tests__/reactTabulous/components/widgets/icon.test.d.ts +1 -0
  31. package/lib/types/__tests__/reactTabulous/components/widgets/iconButton/iconButton.test.d.ts +1 -0
  32. package/lib/types/__tests__/reactTabulous/components/widgets/input/input.test.d.ts +1 -0
  33. package/lib/types/__tests__/reactTabulous/components/widgets/inputError/index.test.d.ts +1 -0
  34. package/lib/types/__tests__/reactTabulous/components/widgets/inputLabel/index.test.d.ts +1 -0
  35. package/lib/types/__tests__/reactTabulous/components/widgets/loader.test.d.ts +1 -0
  36. package/lib/types/__tests__/reactTabulous/components/widgets/menu.test.d.ts +1 -0
  37. package/lib/types/__tests__/reactTabulous/components/widgets/popup/popup.test.d.ts +1 -0
  38. package/lib/types/__tests__/reactTabulous/components/widgets/select/select.test.d.ts +1 -0
  39. package/lib/types/__tests__/reactTabulous/components/widgets/switch.test.d.ts +1 -0
  40. package/lib/types/__tests__/reactTabulous/components/widgets/typography.test.d.ts +1 -0
  41. package/lib/types/__tests__/reactTabulous/context/dataGridContextProvider.test.d.ts +1 -0
  42. package/lib/types/__tests__/reactTabulous/helpers/classnames.test.d.ts +1 -0
  43. package/lib/types/__tests__/reactTabulous/helpers/debounce.test.d.ts +1 -0
  44. package/lib/types/__tests__/reactTabulous/helpers/getColumnsAndSearchKeys.test.d.ts +1 -0
  45. package/lib/types/__tests__/reactTabulous/helpers/toCamelCase.test.d.ts +1 -0
  46. package/lib/types/__tests__/reactTabulous/hooks/useDragHandler.test.d.ts +1 -0
  47. package/lib/types/__tests__/reactTabulous/hooks/useGridColumn.test.d.ts +1 -0
  48. package/lib/types/__tests__/reactTabulous/hooks/useGridColumnHeaders.test.d.ts +1 -0
  49. package/lib/types/__tests__/reactTabulous/hooks/useGridDensity.test.d.ts +1 -0
  50. package/lib/types/__tests__/reactTabulous/hooks/useGridExport.test.d.ts +1 -0
  51. package/lib/types/__tests__/reactTabulous/hooks/useGridFilter.test.d.ts +1 -0
  52. package/lib/types/__tests__/reactTabulous/hooks/useGridPagination.test.d.ts +1 -0
  53. package/lib/types/__tests__/reactTabulous/hooks/useGridPin.test.d.ts +1 -0
  54. package/lib/types/__tests__/reactTabulous/hooks/useGridResize.test.d.ts +1 -0
  55. package/lib/types/__tests__/reactTabulous/hooks/useGridRootProps.test.d.ts +1 -0
  56. package/lib/types/__tests__/reactTabulous/hooks/useGridRowSelection.test.d.ts +1 -0
  57. package/lib/types/__tests__/reactTabulous/hooks/useGridSearch.test.d.ts +1 -0
  58. package/lib/types/__tests__/reactTabulous/hooks/useGridSort.test.d.ts +1 -0
  59. package/lib/types/data/index.d.ts +83 -0
  60. package/lib/types/index.d.ts +1 -0
  61. package/lib/types/reactTabulous/components/base/gridBody.d.ts +2 -0
  62. package/lib/types/reactTabulous/components/base/gridFooterPlaceholder.d.ts +2 -0
  63. package/lib/types/reactTabulous/components/base/index.d.ts +2 -0
  64. package/lib/types/reactTabulous/components/bulkAction/index.d.ts +9 -0
  65. package/lib/types/reactTabulous/components/cell/columnCell.d.ts +12 -0
  66. package/lib/types/reactTabulous/components/cell/gridActionsCellItem.d.ts +10 -0
  67. package/lib/types/reactTabulous/components/columnBody/columnBody.d.ts +2 -0
  68. package/lib/types/reactTabulous/components/columnBody/index.d.ts +1 -0
  69. package/lib/types/reactTabulous/components/columnHeaders/columnHeaderCheckbox.d.ts +7 -0
  70. package/lib/types/reactTabulous/components/columnHeaders/columnHeaderItem.d.ts +31 -0
  71. package/lib/types/reactTabulous/components/columnHeaders/columnHeaderMenu.d.ts +18 -0
  72. package/lib/types/reactTabulous/components/columnHeaders/columnHeaders.d.ts +2 -0
  73. package/lib/types/reactTabulous/components/columnHeaders/index.d.ts +1 -0
  74. package/lib/types/reactTabulous/components/containers/gridRoot.d.ts +2 -0
  75. package/lib/types/reactTabulous/components/containers/index.d.ts +1 -0
  76. package/lib/types/reactTabulous/components/filter/index.d.ts +13 -0
  77. package/lib/types/reactTabulous/components/filter/inputCategories.d.ts +13 -0
  78. package/lib/types/reactTabulous/components/gridHeader.d.ts +2 -0
  79. package/lib/types/reactTabulous/components/index.d.ts +3 -0
  80. package/lib/types/reactTabulous/components/overlayWrapper/index.d.ts +1 -0
  81. package/lib/types/reactTabulous/components/overlayWrapper/overlayWrapper.d.ts +6 -0
  82. package/lib/types/reactTabulous/components/pagination/index.d.ts +1 -0
  83. package/lib/types/reactTabulous/components/pagination/pagination.d.ts +2 -0
  84. package/lib/types/reactTabulous/components/toolbar/gridToolbar.d.ts +6 -0
  85. package/lib/types/reactTabulous/components/toolbar/gridToolbarColumns.d.ts +2 -0
  86. package/lib/types/reactTabulous/components/toolbar/gridToolbarDensity.d.ts +2 -0
  87. package/lib/types/reactTabulous/components/toolbar/gridToolbarExport.d.ts +2 -0
  88. package/lib/types/reactTabulous/components/toolbar/gridToolbarFilter.d.ts +2 -0
  89. package/lib/types/reactTabulous/components/toolbar/gridToolbarQuickFilter.d.ts +2 -0
  90. package/lib/types/reactTabulous/components/toolbar/index.d.ts +6 -0
  91. package/lib/types/reactTabulous/components/widgets/button/buttonStyle.d.ts +5 -0
  92. package/lib/types/reactTabulous/components/widgets/button/index.d.ts +21 -0
  93. package/lib/types/reactTabulous/components/widgets/checkbox.d.ts +7 -0
  94. package/lib/types/reactTabulous/components/widgets/divider.d.ts +2 -0
  95. package/lib/types/reactTabulous/components/widgets/icon.d.ts +41 -0
  96. package/lib/types/reactTabulous/components/widgets/iconButton/index.d.ts +12 -0
  97. package/lib/types/reactTabulous/components/widgets/index.d.ts +12 -0
  98. package/lib/types/reactTabulous/components/widgets/input/index.d.ts +26 -0
  99. package/lib/types/reactTabulous/components/widgets/input/inputStyle.d.ts +5 -0
  100. package/lib/types/reactTabulous/components/widgets/inputError/index.d.ts +8 -0
  101. package/lib/types/reactTabulous/components/widgets/inputLabel/index.d.ts +13 -0
  102. package/lib/types/reactTabulous/components/widgets/loader.d.ts +1 -0
  103. package/lib/types/reactTabulous/components/widgets/menu.d.ts +16 -0
  104. package/lib/types/reactTabulous/components/widgets/popup/index.d.ts +12 -0
  105. package/lib/types/reactTabulous/components/widgets/select/index.d.ts +13 -0
  106. package/lib/types/reactTabulous/components/widgets/select/selectStyle.d.ts +5 -0
  107. package/lib/types/reactTabulous/components/widgets/switch.d.ts +8 -0
  108. package/lib/types/reactTabulous/components/widgets/typography.d.ts +28 -0
  109. package/lib/types/reactTabulous/constant/index.d.ts +10 -0
  110. package/lib/types/reactTabulous/constant/noRowsOverlay.d.ts +2 -0
  111. package/lib/types/reactTabulous/context/dataGridContextProvider.d.ts +6 -0
  112. package/lib/types/reactTabulous/context/dataGridRootPropsContext.d.ts +3 -0
  113. package/lib/types/reactTabulous/context/index.d.ts +1 -0
  114. package/lib/types/reactTabulous/context/test-utils.d.ts +5 -0
  115. package/lib/types/reactTabulous/helpers/classnames.d.ts +2 -0
  116. package/lib/types/reactTabulous/helpers/debounce.d.ts +1 -0
  117. package/lib/types/reactTabulous/helpers/getColumnsAndSearchKeys.d.ts +5 -0
  118. package/lib/types/reactTabulous/helpers/toCamelCase.d.ts +1 -0
  119. package/lib/types/reactTabulous/hooks/useClickAwayListener.d.ts +2 -0
  120. package/lib/types/reactTabulous/hooks/useDragHandler.d.ts +8 -0
  121. package/lib/types/reactTabulous/hooks/useGridColumn.d.ts +1 -0
  122. package/lib/types/reactTabulous/hooks/useGridColumnHeaders.d.ts +1 -0
  123. package/lib/types/reactTabulous/hooks/useGridDensity.d.ts +1 -0
  124. package/lib/types/reactTabulous/hooks/useGridExport.d.ts +3 -0
  125. package/lib/types/reactTabulous/hooks/useGridFilter.d.ts +6 -0
  126. package/lib/types/reactTabulous/hooks/useGridPagination.d.ts +1 -0
  127. package/lib/types/reactTabulous/hooks/useGridPin.d.ts +1 -0
  128. package/lib/types/reactTabulous/hooks/useGridResize.d.ts +1 -0
  129. package/lib/types/reactTabulous/hooks/useGridRootProps.d.ts +48 -0
  130. package/lib/types/reactTabulous/hooks/useGridRowSelection.d.ts +1 -0
  131. package/lib/types/reactTabulous/hooks/useGridSearch.d.ts +5 -0
  132. package/lib/types/reactTabulous/hooks/useGridSort.d.ts +4 -0
  133. package/lib/types/reactTabulous/index.d.ts +2 -0
  134. package/lib/types/reactTabulous/models/columnDef/columnDef.d.ts +72 -0
  135. package/lib/types/reactTabulous/models/columnDef/columnPin.d.ts +48 -0
  136. package/lib/types/reactTabulous/models/columnDef/columnType.d.ts +2 -0
  137. package/lib/types/reactTabulous/models/columnDef/index.d.ts +3 -0
  138. package/lib/types/reactTabulous/models/gridDensity.d.ts +4 -0
  139. package/lib/types/reactTabulous/models/gridFiltersModel.d.ts +9 -0
  140. package/lib/types/reactTabulous/models/gridRows.d.ts +2 -0
  141. package/lib/types/reactTabulous/models/gridSortModel.d.ts +1 -0
  142. package/lib/types/reactTabulous/models/index.d.ts +7 -0
  143. package/lib/types/reactTabulous/models/logger.d.ts +6 -0
  144. package/lib/types/reactTabulous/models/props/dataGridProps.d.ts +158 -0
  145. package/lib/types/reactTabulous/models/props/index.d.ts +1 -0
  146. package/lib/types/reactTabulous/reactTabulous/index.d.ts +1 -0
  147. package/lib/types/reactTabulous/reactTabulous/reactTabulous.d.ts +5 -0
  148. package/lib/types/reactTabulous/reactTabulous/reactTabulousStyle.d.ts +5 -0
  149. package/lib/types/setupTests.d.ts +1 -0
  150. package/package.json +107 -75
  151. package/CHANGELOG.md +0 -27
  152. package/lib/react-tabulous.min.js +0 -2
  153. package/lib/react-tabulous.min.js.LICENSE.txt +0 -20
@@ -0,0 +1,4 @@
1
+ import './App.css';
2
+ import React from 'react';
3
+ declare const App: React.FC;
4
+ export default App;
@@ -0,0 +1,83 @@
1
+ export declare const dataSet1: {
2
+ name: string;
3
+ email: string;
4
+ }[];
5
+ export declare const getDataSetBasedOnCountPassed: (count?: number) => {
6
+ name: string;
7
+ email: string;
8
+ }[];
9
+ export declare const dataSet1Columns: {
10
+ field: string;
11
+ headerName: string;
12
+ sortable: boolean;
13
+ isVisible: boolean;
14
+ }[];
15
+ export declare const dataSet21: never[];
16
+ export declare const dataSet2: {
17
+ id: number;
18
+ name: string;
19
+ email: string;
20
+ age: number;
21
+ mobile: number;
22
+ isLoggedIn: string;
23
+ bio: string;
24
+ birthDate: Date;
25
+ lastJournalPublish: Date;
26
+ lastLogin: Date;
27
+ journalTitle: string;
28
+ level: number;
29
+ workPlace: string;
30
+ address: {
31
+ country: string;
32
+ state: string;
33
+ city: string;
34
+ pinCode: string;
35
+ };
36
+ }[];
37
+ export declare const dataSet2Columns1: never[];
38
+ export declare const dataSet2Columns: ({
39
+ field: string;
40
+ headerName: string;
41
+ type: string;
42
+ isFilterable: boolean;
43
+ isSortable: boolean;
44
+ isSearchable: boolean;
45
+ renderCell?: undefined;
46
+ valueGetter?: undefined;
47
+ } | {
48
+ field: string;
49
+ headerName: string;
50
+ type: string;
51
+ renderCell: (row: any) => import("react/jsx-runtime").JSX.Element;
52
+ isFilterable?: undefined;
53
+ isSortable?: undefined;
54
+ isSearchable?: undefined;
55
+ valueGetter?: undefined;
56
+ } | {
57
+ field: string;
58
+ headerName: string;
59
+ type: string;
60
+ renderCell: (row: any) => import("react/jsx-runtime").JSX.Element;
61
+ isFilterable: boolean;
62
+ isSortable: boolean;
63
+ isSearchable: boolean;
64
+ valueGetter?: undefined;
65
+ } | {
66
+ field: string;
67
+ headerName: string;
68
+ type: string;
69
+ isFilterable: boolean;
70
+ isSearchable: boolean;
71
+ isSortable?: undefined;
72
+ renderCell?: undefined;
73
+ valueGetter?: undefined;
74
+ } | {
75
+ field: string;
76
+ valueGetter: (row: any) => string;
77
+ headerName: string;
78
+ isFilterable: boolean;
79
+ isSortable: boolean;
80
+ isSearchable: boolean;
81
+ type?: undefined;
82
+ renderCell?: undefined;
83
+ })[];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GridBody: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GridFooterPlaceholder: React.FC;
@@ -0,0 +1,2 @@
1
+ export * from './gridBody';
2
+ export * from './gridFooterPlaceholder';
@@ -0,0 +1,9 @@
1
+ import { type FC } from 'react';
2
+ import { type GridRowId } from '../../models';
3
+ interface BulkActionsProps {
4
+ selectedRows: GridRowId[];
5
+ bulkActions: any;
6
+ onBulkActionClick: (action: any, selectedRows: GridRowId[]) => void;
7
+ }
8
+ export declare const BulkActions: FC<BulkActionsProps>;
9
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { type GridPinnedPosition } from '../../models';
3
+ type ColumnCellProps = React.HTMLAttributes<HTMLDivElement> & {
4
+ width?: number | string;
5
+ pinned?: GridPinnedPosition | null;
6
+ row?: any;
7
+ column?: any;
8
+ emptyPlaceholder: string;
9
+ rowIndex: number;
10
+ };
11
+ declare const ColumnCell: React.FC<ColumnCellProps>;
12
+ export default ColumnCell;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ export type GridActionsCellItemProps = {
3
+ label: string;
4
+ icon?: React.ReactElement;
5
+ } & ({
6
+ showInMenu?: false;
7
+ icon: React.ReactElement;
8
+ } | {
9
+ showInMenu: true;
10
+ });
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ColumnBody: React.FC;
@@ -0,0 +1 @@
1
+ export * from './columnBody';
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ type ColumnHeaderCheckboxProps = React.HTMLAttributes<HTMLDivElement> & {
3
+ checked: boolean;
4
+ onBulkSelect: () => void;
5
+ };
6
+ export declare const ColumnHeaderCheckbox: React.FC<ColumnHeaderCheckboxProps>;
7
+ export {};
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import { type onDragUpdateType } from '../../hooks/useDragHandler';
3
+ import { type GridPinnedPosition, type GridSortDirection } from '../../models';
4
+ type ColumnHeaderItemProps = React.HTMLAttributes<HTMLDivElement> & {
5
+ columnObj: any;
6
+ type: string;
7
+ disabledMoveLeft?: boolean;
8
+ disabledMoveRight?: boolean;
9
+ disableColumnFilter: boolean;
10
+ disableColumnMenu: boolean;
11
+ disableColumnPinning: boolean;
12
+ disableColumnReorder: boolean;
13
+ disableColumnSelector: boolean;
14
+ disableColumnResize: boolean;
15
+ disableMultipleColumnsSorting: boolean;
16
+ fetchOnPageChange: boolean;
17
+ headerName: string;
18
+ sortBy: GridSortDirection;
19
+ iconButtonSize?: number;
20
+ pinned?: GridPinnedPosition;
21
+ onDragUpdate: onDragUpdateType;
22
+ handleSort: (field: string, type: string, value?: any) => void;
23
+ handlePin: (field: string, value?: any) => void;
24
+ handleMove: (field: string, value?: any) => void;
25
+ handleWidth: (field: string, value: number) => void;
26
+ onHideColumns: (field: string) => void;
27
+ onToggleColumnToolbar: () => void;
28
+ onToggleFilterToolbar: () => void;
29
+ };
30
+ export declare const ColumnHeaderItem: React.FC<ColumnHeaderItemProps>;
31
+ export {};
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { type GridPinnedPosition, type GridSortDirection } from '../../models';
3
+ interface ColumnHeaderMenuProps {
4
+ disabledMoveLeft?: boolean;
5
+ disabledMoveRight?: boolean;
6
+ disableColumnFilter: boolean;
7
+ disableColumnPinning: boolean;
8
+ disableColumnReorder: boolean;
9
+ disableColumnSelector: boolean;
10
+ disableMultipleColumnsSorting: boolean;
11
+ fetchOnPageChange: boolean;
12
+ iconButtonSize: number;
13
+ sortBy: GridSortDirection;
14
+ pinned?: GridPinnedPosition;
15
+ handleAction: (actionName: string, value?: any) => void;
16
+ }
17
+ declare const ColumnHeaderMenu: React.FC<ColumnHeaderMenuProps>;
18
+ export default ColumnHeaderMenu;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ColumnHeaders: React.FC;
@@ -0,0 +1 @@
1
+ export * from './columnHeaders';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GridRoot: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1 @@
1
+ export * from './gridRoot';
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export declare const filterPredicates: string[];
3
+ interface FilterOperators {
4
+ string: string[];
5
+ number: string[];
6
+ date: string[];
7
+ dateTime: string[];
8
+ boolean: string[];
9
+ singleSelect: string[];
10
+ }
11
+ export declare const filterOperators: FilterOperators;
12
+ export declare const FilterForm: React.FC;
13
+ export {};
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ interface InputCategoriesProps {
3
+ attribute?: any;
4
+ type: any;
5
+ value: any;
6
+ rowIndex: any;
7
+ query: any;
8
+ onChange: any;
9
+ options: any;
10
+ className?: string;
11
+ }
12
+ export declare const InputCategories: React.FC<InputCategoriesProps>;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GridHeader: React.FC;
@@ -0,0 +1,3 @@
1
+ export * from './base';
2
+ export * from './containers';
3
+ export * from './gridHeader';
@@ -0,0 +1 @@
1
+ export * from './overlayWrapper';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ interface OverlayWrapperProps {
3
+ children: React.ReactNode;
4
+ }
5
+ export declare const OverlayWrapper: React.FC<OverlayWrapperProps>;
6
+ export {};
@@ -0,0 +1 @@
1
+ export * from './pagination';
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Pagination: React.FC;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export declare const StyledSpaceDiv: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: React.ElementType<any> | undefined;
5
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const GridToolbar: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GridToolbarColumns: React.FC;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const GridToolbarDensity: React.FC;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const GridToolbarExport: React.FC;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const GridToolbarFilter: React.FC;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const GridToolbarQuickFilter: React.FC;
@@ -0,0 +1,6 @@
1
+ export * from './gridToolbar';
2
+ export * from './gridToolbarColumns';
3
+ export * from './gridToolbarDensity';
4
+ export * from './gridToolbarExport';
5
+ export * from './gridToolbarFilter';
6
+ export * from './gridToolbarQuickFilter';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const ButtonStyle: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ export type ButtonProps = React.HTMLAttributes<HTMLButtonElement> & {
3
+ variant?: 'contained' | 'outline' | 'text';
4
+ icon?: React.ReactNode;
5
+ loading?: boolean;
6
+ disabled?: boolean;
7
+ orientation?: 'vertical' | 'horizontal';
8
+ size?: 'normal' | 'medium' | 'small';
9
+ color?: 'primary' | 'success' | 'danger' | 'secondary';
10
+ iconClass?: string;
11
+ };
12
+ export declare const Button: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLButtonElement> & {
13
+ variant?: "text" | "outline" | "contained" | undefined;
14
+ icon?: React.ReactNode;
15
+ loading?: boolean | undefined;
16
+ disabled?: boolean | undefined;
17
+ orientation?: "vertical" | "horizontal" | undefined;
18
+ size?: "small" | "normal" | "medium" | undefined;
19
+ color?: "primary" | "success" | "danger" | "secondary" | undefined;
20
+ iconClass?: string | undefined;
21
+ } & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface CheckboxProps {
3
+ checked?: boolean | 'indeterminate';
4
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
5
+ }
6
+ export declare const Checkbox: React.FC<CheckboxProps>;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Divider: React.FC;
@@ -0,0 +1,41 @@
1
+ import React from 'react';
2
+ declare const icons: {
3
+ add: import("react/jsx-runtime").JSX.Element;
4
+ bar: import("react/jsx-runtime").JSX.Element;
5
+ close: import("react/jsx-runtime").JSX.Element;
6
+ column: import("react/jsx-runtime").JSX.Element;
7
+ compact: import("react/jsx-runtime").JSX.Element;
8
+ comfortable: import("react/jsx-runtime").JSX.Element;
9
+ delete: import("react/jsx-runtime").JSX.Element;
10
+ density: import("react/jsx-runtime").JSX.Element;
11
+ download: import("react/jsx-runtime").JSX.Element;
12
+ filter: import("react/jsx-runtime").JSX.Element;
13
+ 'filter-list': import("react/jsx-runtime").JSX.Element;
14
+ sort: import("react/jsx-runtime").JSX.Element;
15
+ 'sort-up-fill': import("react/jsx-runtime").JSX.Element;
16
+ 'sort-down-fill': import("react/jsx-runtime").JSX.Element;
17
+ 'sort-down': import("react/jsx-runtime").JSX.Element;
18
+ 'sort-up': import("react/jsx-runtime").JSX.Element;
19
+ 'kebab-menu': import("react/jsx-runtime").JSX.Element;
20
+ 'arrow-left': import("react/jsx-runtime").JSX.Element;
21
+ 'double-arrow-left': import("react/jsx-runtime").JSX.Element;
22
+ 'arrow-right': import("react/jsx-runtime").JSX.Element;
23
+ 'double-arrow-right': import("react/jsx-runtime").JSX.Element;
24
+ 'eye-off': import("react/jsx-runtime").JSX.Element;
25
+ pin: import("react/jsx-runtime").JSX.Element;
26
+ standard: import("react/jsx-runtime").JSX.Element;
27
+ 'keyboard-back': import("react/jsx-runtime").JSX.Element;
28
+ 'keyboard-forward': import("react/jsx-runtime").JSX.Element;
29
+ search: import("react/jsx-runtime").JSX.Element;
30
+ };
31
+ export type Icons = keyof typeof icons;
32
+ interface IconProps extends React.HTMLAttributes<HTMLOrSVGElement> {
33
+ name: Icons;
34
+ size?: number;
35
+ fill?: string;
36
+ title?: string;
37
+ asButton?: boolean;
38
+ className?: string;
39
+ }
40
+ export declare const Icon: React.FC<IconProps>;
41
+ export {};
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { type Icons } from '../icon';
3
+ export declare const IconButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
4
+ type?: "transparent" | "circular" | undefined;
5
+ size?: number | undefined;
6
+ className?: string | undefined;
7
+ onClick?: ((event: any) => void) | undefined;
8
+ name: Icons;
9
+ fill?: string | undefined;
10
+ title?: string | undefined;
11
+ disabled?: boolean | undefined;
12
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,12 @@
1
+ export * from './button';
2
+ export * from './checkbox';
3
+ export * from './divider';
4
+ export * from './icon';
5
+ export * from './iconButton';
6
+ export * from './loader';
7
+ export * from './popup';
8
+ export * from './switch';
9
+ export * from './input';
10
+ export * from './select';
11
+ export * from './typography';
12
+ export * from './menu';