radar-ui 1.0.0
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/LICENSE +21 -0
- package/README.md +37 -0
- package/dist/components/Pagination/Pagination.d.ts +6 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Table/HeaderRow.d.ts +25 -0
- package/dist/components/Table/HeaderRow.d.ts.map +1 -0
- package/dist/components/Table/Resizer.d.ts +9 -0
- package/dist/components/Table/Resizer.d.ts.map +1 -0
- package/dist/components/Table/Table.d.ts +4 -0
- package/dist/components/Table/Table.d.ts.map +1 -0
- package/dist/components/Table/TableBody.d.ts +23 -0
- package/dist/components/Table/TableBody.d.ts.map +1 -0
- package/dist/components/Table/TableFooter.d.ts +19 -0
- package/dist/components/Table/TableFooter.d.ts.map +1 -0
- package/dist/components/Table/TableHeader.d.ts +30 -0
- package/dist/components/Table/TableHeader.d.ts.map +1 -0
- package/dist/components/Tooltip/Tooltip.d.ts +4 -0
- package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1386 -0
- package/dist/style.css +1 -0
- package/dist/types/index.d.ts +75 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/utils.d.ts +2 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/package.json +92 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 React DnD Table
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# RADAR UI
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/radar-ui)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
A powerful and flexible React component library featuring advanced table functionality, pagination, and tooltips.
|
|
7
|
+
|
|
8
|
+
## 🚀 Features
|
|
9
|
+
|
|
10
|
+
- **📊 Advanced Table Component**: Sorting, resizing, drag & drop, grouped columns, pagination
|
|
11
|
+
- **📄 Flexible Pagination**: Customizable navigation with quick jumper
|
|
12
|
+
- **💡 Smart Tooltips**: Auto-positioning tooltips with viewport boundary detection
|
|
13
|
+
- **🎨 TypeScript Support**: Full type definitions included
|
|
14
|
+
- **📱 Responsive Design**: Works on all screen sizes
|
|
15
|
+
- **âš¡ Performance Optimized**: Lightweight and fast
|
|
16
|
+
|
|
17
|
+
## 📖 Documentation
|
|
18
|
+
|
|
19
|
+
View the interactive Storybook documentation at: **[https://yourusername.github.io/radar-design](https://yourusername.github.io/radar-design)**
|
|
20
|
+
|
|
21
|
+
## 🛠Installation
|
|
22
|
+
|
|
23
|
+
### From npm (Recommended)
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
npm install radar-ui
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
yarn add radar-ui
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pnpm add radar-ui
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### As Git Dependency (Development)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,kBAAkB,CAAC;AAG1B,eAAO,MAAM,UAAU,GAAI,YAAY;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,4CA4IlE,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITableConfig } from '../../types';
|
|
3
|
+
|
|
4
|
+
interface HeaderRowProps<T = any> {
|
|
5
|
+
config: ITableConfig<T>[];
|
|
6
|
+
fullConfig?: ITableConfig<T>[];
|
|
7
|
+
onSort?: (sort_field: string | undefined, sort_order: 'ASC' | 'DESC' | undefined) => void;
|
|
8
|
+
onResize?: (columnKey: string, width: number) => void;
|
|
9
|
+
onColumnReorder?: (newConfig: ITableConfig<T>[]) => void;
|
|
10
|
+
resizeable?: boolean;
|
|
11
|
+
draggableColumns?: boolean;
|
|
12
|
+
preset?: 'radar-table-default' | 'radar-table-simple';
|
|
13
|
+
headerClassName?: string;
|
|
14
|
+
headerStyle?: React.CSSProperties;
|
|
15
|
+
headerRowClassName?: string;
|
|
16
|
+
headerRowStyle?: React.CSSProperties;
|
|
17
|
+
headerCellClassName?: string;
|
|
18
|
+
headerCellStyle?: React.CSSProperties;
|
|
19
|
+
headerCellWrapperClassName?: string;
|
|
20
|
+
headerCellWrapperStyle?: React.CSSProperties;
|
|
21
|
+
stickyHeader?: boolean | number;
|
|
22
|
+
}
|
|
23
|
+
export declare function HeaderRow<T = any>({ config, fullConfig, onSort, onResize, onColumnReorder, resizeable, draggableColumns, preset, headerClassName, headerStyle, headerRowClassName, headerRowStyle, headerCellClassName, headerCellStyle, headerCellWrapperClassName, headerCellWrapperStyle, stickyHeader, }: HeaderRowProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=HeaderRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/HeaderRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,mBAAmB,CAAC;AAE3B,UAAU,cAAc,CAAC,CAAC,GAAG,GAAG;IAC9B,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC/B,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,UAAU,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1F,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC7C,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CACjC;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG,GAAG,EAAE,EACjC,MAAM,EACN,UAAU,EACV,MAAM,EACN,QAAQ,EACR,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,MAAM,EACN,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,0BAA0B,EAC1B,sBAAsB,EACtB,YAAY,GACb,EAAE,cAAc,CAAC,CAAC,CAAC,2CA6SnB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ITableConfig } from '../../types';
|
|
2
|
+
|
|
3
|
+
export declare const Resizer: ({ column, currWidth, currMinWidth, onResize }: {
|
|
4
|
+
column: ITableConfig;
|
|
5
|
+
currWidth?: number;
|
|
6
|
+
currMinWidth?: number;
|
|
7
|
+
onResize?: (columnKey: string, newWidth: number) => void;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Resizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Resizer.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Resizer.tsx"],"names":[],"mappings":"AACA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,eAAO,MAAM,OAAO,GAAI,+CAA+C;IAAE,MAAM,EAAE,YAAY,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,4CAwEnM,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ITableProps } from '../../types';
|
|
2
|
+
|
|
3
|
+
export declare function Table<T extends Record<string, any> = any>({ dataSource, preset, config, rowKey, loading, pagination, stickyHeader, resizeable, draggableRows, draggableColumns, onResize, onSort, onRowReorder, onColumnReorder, className, style, headerClassName, headerStyle, headerCellClassName, headerCellStyle, headerRowClassName, headerRowStyle, headerCellWrapperClassName, headerCellWrapperStyle, bodyClassName, bodyStyle, bodyRowClassName, bodyRowStyle, bodyCellClassName, bodyCellStyle, bodyCellWrapperClassName, bodyCellWrapperStyle, headerGroupRowClassName, headerGroupRowStyle, headerGroupCellClassName, headerGroupCellStyle, headerGroupCellWrapperClassName, headerGroupCellWrapperStyle, paginationContainerClassName, paginationContainerStyle, }: ITableProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=Table.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,aAAa,CAAC;AACrB,OAAO,mBAAmB,CAAC;AAC3B,OAAO,iBAAiB,CAAC;AACzB,OAAO,eAAe,CAAC;AAGvB,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,GAAG,EAAE,EACzD,UAAU,EACV,MAAM,EACN,MAAM,EACN,MAAM,EACN,OAAe,EACf,UAAU,EACV,YAAoB,EACpB,UAAkB,EAClB,aAAqB,EACrB,gBAAwB,EACxB,QAAQ,EACR,MAAM,EACN,YAAY,EACZ,eAAe,EACf,SAAc,EACd,KAAK,EACL,eAAoB,EACpB,WAAW,EACX,mBAAwB,EACxB,eAAe,EACf,kBAAuB,EACvB,cAAc,EACd,0BAA+B,EAC/B,sBAAsB,EACtB,aAAkB,EAClB,SAAS,EACT,gBAAqB,EACrB,YAAY,EACZ,iBAAsB,EACtB,aAAa,EACb,wBAA6B,EAC7B,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EACpB,+BAA+B,EAC/B,2BAA2B,EAC3B,4BAAiC,EACjC,wBAAwB,GACzB,EAAE,WAAW,CAAC,CAAC,CAAC,2CAsEhB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITableConfig } from '../../types';
|
|
3
|
+
|
|
4
|
+
interface TableBodyProps<T = any> {
|
|
5
|
+
draggableRows?: boolean;
|
|
6
|
+
dataSource: T[];
|
|
7
|
+
config: ITableConfig<T>[];
|
|
8
|
+
onRowReorder?: (newData: T[]) => void;
|
|
9
|
+
rowKey?: ((record: T) => string);
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
preset?: 'radar-table-default' | 'radar-table-simple';
|
|
12
|
+
bodyClassName?: string;
|
|
13
|
+
bodyStyle?: React.CSSProperties;
|
|
14
|
+
bodyRowClassName?: string;
|
|
15
|
+
bodyRowStyle?: React.CSSProperties;
|
|
16
|
+
bodyCellClassName?: string;
|
|
17
|
+
bodyCellStyle?: React.CSSProperties;
|
|
18
|
+
bodyCellWrapperClassName?: string;
|
|
19
|
+
bodyCellWrapperStyle?: React.CSSProperties;
|
|
20
|
+
}
|
|
21
|
+
export declare function TableBody<T = any>({ draggableRows, dataSource, config, rowKey, loading, onRowReorder, preset, bodyClassName, bodyStyle, bodyRowClassName, bodyRowStyle, bodyCellClassName, bodyCellStyle, bodyCellWrapperClassName, bodyCellWrapperStyle, }: TableBodyProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=TableBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,iBAAiB,CAAC;AAGzB,UAAU,cAAc,CAAC,CAAC,GAAG,GAAG;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,EAAE,CAAC,EAAE,CAAC;IAChB,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IACtD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5C;AAED,wBAAgB,SAAS,CAAC,CAAC,GAAG,GAAG,EAAE,EACjC,aAAqB,EACrB,UAAU,EACV,MAAM,EACN,MAAM,EACN,OAAe,EACf,YAAY,EACZ,MAAM,EACN,aAAa,EACb,SAAS,EACT,gBAAgB,EAChB,YAAY,EACZ,iBAAiB,EACjB,aAAa,EACb,wBAAwB,EACxB,oBAAoB,GACrB,EAAE,cAAc,CAAC,CAAC,CAAC,2CAqRnB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ITableConfig, IPaginationProps } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface TableFooterProps<T = any> {
|
|
4
|
+
config: ITableConfig<T>[];
|
|
5
|
+
pagination?: IPaginationProps;
|
|
6
|
+
preset?: 'radar-table-default' | 'radar-table-simple';
|
|
7
|
+
footerClassName?: string;
|
|
8
|
+
footerStyle?: React.CSSProperties;
|
|
9
|
+
footerRowClassName?: string;
|
|
10
|
+
footerRowStyle?: React.CSSProperties;
|
|
11
|
+
footerCellClassName?: string;
|
|
12
|
+
footerCellStyle?: React.CSSProperties;
|
|
13
|
+
footerCellWrapperClassName?: string;
|
|
14
|
+
footerCellWrapperStyle?: React.CSSProperties;
|
|
15
|
+
stickyFooter?: boolean | number;
|
|
16
|
+
}
|
|
17
|
+
export declare function TableFooter<T = any>({ config, pagination, preset, footerClassName, footerStyle, footerRowClassName, footerRowStyle, footerCellClassName, footerCellStyle, footerCellWrapperClassName, footerCellWrapperStyle, stickyFooter, }: TableFooterProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
19
|
+
//# sourceMappingURL=TableFooter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableFooter.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,mBAAmB,CAAC;AAE3B,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG;IAC9B,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAC9B,MAAM,CAAC,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC7C,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CACnC;AAED,wBAAgB,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,EACjC,MAAM,EACN,UAAU,EACV,MAAM,EACN,eAAe,EACf,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,mBAAmB,EACnB,eAAe,EACf,0BAA0B,EAC1B,sBAAsB,EACtB,YAAY,GACf,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAkErB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITableConfig } from '../../types';
|
|
3
|
+
|
|
4
|
+
interface TableHeaderProps<T = any> {
|
|
5
|
+
config: ITableConfig<T>[];
|
|
6
|
+
onSort?: (sort_field: string | undefined, sort_order: 'ASC' | 'DESC' | undefined) => void;
|
|
7
|
+
onResize?: (columnKey: string, width: number) => void;
|
|
8
|
+
onColumnReorder?: (newConfig: ITableConfig<T>[]) => void;
|
|
9
|
+
resizeable?: boolean;
|
|
10
|
+
draggableColumns?: boolean;
|
|
11
|
+
preset?: 'radar-table-default' | 'radar-table-simple';
|
|
12
|
+
headerClassName?: string;
|
|
13
|
+
headerStyle?: React.CSSProperties;
|
|
14
|
+
headerRowClassName?: string;
|
|
15
|
+
headerRowStyle?: React.CSSProperties;
|
|
16
|
+
headerGroupRowClassName?: string;
|
|
17
|
+
headerGroupRowStyle?: React.CSSProperties;
|
|
18
|
+
headerCellClassName?: string;
|
|
19
|
+
headerCellStyle?: React.CSSProperties;
|
|
20
|
+
headerCellWrapperClassName?: string;
|
|
21
|
+
headerCellWrapperStyle?: React.CSSProperties;
|
|
22
|
+
stickyHeader?: boolean | number;
|
|
23
|
+
headerGroupCellClassName?: string;
|
|
24
|
+
headerGroupCellStyle?: React.CSSProperties;
|
|
25
|
+
headerGroupCellWrapperClassName?: string;
|
|
26
|
+
headerGroupCellWrapperStyle?: React.CSSProperties;
|
|
27
|
+
}
|
|
28
|
+
export declare function TableHeader<T = any>(props: TableHeaderProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=TableHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,OAAO,mBAAmB,CAAC;AAE3B,UAAU,gBAAgB,CAAC,CAAC,GAAG,GAAG;IAChC,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,GAAG,SAAS,EAAE,UAAU,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC1F,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtD,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,KAAK,IAAI,CAAC;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,MAAM,CAAC,EAAE,qBAAqB,GAAG,oBAAoB,CAAC;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC7C,YAAY,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAChC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3C,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,2BAA2B,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CACnD;AAED,wBAAgB,WAAW,CAAC,CAAC,GAAG,GAAG,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,2CAgW9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,eAAe,CAAC;AAEvB,eAAO,MAAM,OAAO,GAAI,oBAAoB,aAAa,4CAmDxD,CAAA"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { Table } from './components/Table/Table';
|
|
2
|
+
export { Pagination } from './components/Pagination/Pagination';
|
|
3
|
+
export { Tooltip } from './components/Tooltip/Tooltip';
|
|
4
|
+
export type { ITableProps, ITableConfig, IPaginationProps, ITooltipProps, } from './types';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,YAAY,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,aAAa,GACd,MAAM,SAAS,CAAC"}
|