@kopexa/table 18.5.1 → 18.5.2
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/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/namespace.d.mts +1 -2
- package/dist/namespace.d.ts +1 -2
- package/dist/table.d.mts +9 -9
- package/dist/table.d.ts +9 -9
- package/package.json +8 -8
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/namespace.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeaderCell, TableHeaderCellProps, TableOwnerCellValue, TableOwnerCellValueProps, TableRoot, TableRootProps, TableRow, TableRowProps } from './table.mjs';
|
|
2
|
-
import 'react/jsx-runtime';
|
|
3
|
-
import '@kopexa/theme';
|
|
4
2
|
import 'react';
|
|
3
|
+
import '@kopexa/theme';
|
|
5
4
|
|
|
6
5
|
declare namespace namespace {
|
|
7
6
|
export { TableBody as Body, TableBodyProps as BodyProps, TableCell as Cell, TableCellProps as CellProps, TableHead as Head, TableHeadProps as HeadProps, TableHeaderCell as HeaderCell, TableHeaderCellProps as HeaderCellProps, TableOwnerCellValue as OwnerCellValue, TableOwnerCellValueProps as OwnerCellValueProps, TableRoot as Root, TableRootProps as RootProps, TableRow as Row, TableRowProps as RowProps };
|
package/dist/namespace.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadProps, TableHeaderCell, TableHeaderCellProps, TableOwnerCellValue, TableOwnerCellValueProps, TableRoot, TableRootProps, TableRow, TableRowProps } from './table.js';
|
|
2
|
-
import 'react/jsx-runtime';
|
|
3
|
-
import '@kopexa/theme';
|
|
4
2
|
import 'react';
|
|
3
|
+
import '@kopexa/theme';
|
|
5
4
|
|
|
6
5
|
declare namespace namespace {
|
|
7
6
|
export { TableBody as Body, TableBodyProps as BodyProps, TableCell as Cell, TableCellProps as CellProps, TableHead as Head, TableHeadProps as HeadProps, TableHeaderCell as HeaderCell, TableHeaderCellProps as HeaderCellProps, TableOwnerCellValue as OwnerCellValue, TableOwnerCellValueProps as OwnerCellValueProps, TableRoot as Root, TableRootProps as RootProps, TableRow as Row, TableRowProps as RowProps };
|
package/dist/table.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { SlotsToClasses, TableSlots, TableVariantProps } from '@kopexa/theme';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentProps } from 'react';
|
|
3
|
+
import { SlotsToClasses, TableSlots, TableVariantProps } from '@kopexa/theme';
|
|
4
4
|
|
|
5
5
|
type TableOptions = {
|
|
6
6
|
/**
|
|
@@ -16,29 +16,29 @@ type TableOptions = {
|
|
|
16
16
|
};
|
|
17
17
|
interface TableRootProps extends Omit<ComponentProps<"table">, "color" | "size">, TableOptions, TableVariantProps {
|
|
18
18
|
}
|
|
19
|
-
declare const TableRoot: (props: TableRootProps) =>
|
|
19
|
+
declare const TableRoot: (props: TableRootProps) => react.JSX.Element;
|
|
20
20
|
type TableHeadProps = ComponentProps<"thead">;
|
|
21
|
-
declare function TableHead(props: TableHeadProps):
|
|
21
|
+
declare function TableHead(props: TableHeadProps): react.JSX.Element;
|
|
22
22
|
type TableBodyProps = ComponentProps<"tbody">;
|
|
23
|
-
declare function TableBody(props: TableBodyProps):
|
|
23
|
+
declare function TableBody(props: TableBodyProps): react.JSX.Element;
|
|
24
24
|
type TableRowProps = ComponentProps<"tr"> & {
|
|
25
25
|
isSelected?: boolean;
|
|
26
26
|
hasSelect?: boolean;
|
|
27
27
|
hasActions?: boolean;
|
|
28
28
|
};
|
|
29
|
-
declare function TableRow(props: TableRowProps):
|
|
29
|
+
declare function TableRow(props: TableRowProps): react.JSX.Element;
|
|
30
30
|
type TableHeaderCellProps = ComponentProps<"th"> & {
|
|
31
31
|
isSelectCell?: boolean;
|
|
32
32
|
isActionCell?: boolean;
|
|
33
33
|
isStickyCell?: boolean;
|
|
34
34
|
};
|
|
35
|
-
declare function TableHeaderCell(props: TableHeaderCellProps):
|
|
35
|
+
declare function TableHeaderCell(props: TableHeaderCellProps): react.JSX.Element;
|
|
36
36
|
type TableCellProps = ComponentProps<"td"> & {
|
|
37
37
|
isSelectCell?: boolean;
|
|
38
38
|
isActionCell?: boolean;
|
|
39
39
|
isStickyCell?: boolean;
|
|
40
40
|
};
|
|
41
|
-
declare function TableCell(props: TableCellProps):
|
|
41
|
+
declare function TableCell(props: TableCellProps): react.JSX.Element;
|
|
42
42
|
type TableOwnerCellValueProps = Omit<ComponentProps<"div">, "children" | "onClick"> & {
|
|
43
43
|
owner?: {
|
|
44
44
|
firstName?: string;
|
|
@@ -54,6 +54,6 @@ type TableOwnerCellValueProps = Omit<ComponentProps<"div">, "children" | "onClic
|
|
|
54
54
|
};
|
|
55
55
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
56
56
|
};
|
|
57
|
-
declare function TableOwnerCellValue({ className, owner, description, onClick, translations, ...rest }: TableOwnerCellValueProps):
|
|
57
|
+
declare function TableOwnerCellValue({ className, owner, description, onClick, translations, ...rest }: TableOwnerCellValueProps): react.JSX.Element;
|
|
58
58
|
|
|
59
59
|
export { TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeaderCell, type TableHeaderCellProps, TableOwnerCellValue, type TableOwnerCellValueProps, TableRoot, type TableRootProps, TableRow, type TableRowProps };
|
package/dist/table.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { SlotsToClasses, TableSlots, TableVariantProps } from '@kopexa/theme';
|
|
1
|
+
import * as react from 'react';
|
|
3
2
|
import { ComponentProps } from 'react';
|
|
3
|
+
import { SlotsToClasses, TableSlots, TableVariantProps } from '@kopexa/theme';
|
|
4
4
|
|
|
5
5
|
type TableOptions = {
|
|
6
6
|
/**
|
|
@@ -16,29 +16,29 @@ type TableOptions = {
|
|
|
16
16
|
};
|
|
17
17
|
interface TableRootProps extends Omit<ComponentProps<"table">, "color" | "size">, TableOptions, TableVariantProps {
|
|
18
18
|
}
|
|
19
|
-
declare const TableRoot: (props: TableRootProps) =>
|
|
19
|
+
declare const TableRoot: (props: TableRootProps) => react.JSX.Element;
|
|
20
20
|
type TableHeadProps = ComponentProps<"thead">;
|
|
21
|
-
declare function TableHead(props: TableHeadProps):
|
|
21
|
+
declare function TableHead(props: TableHeadProps): react.JSX.Element;
|
|
22
22
|
type TableBodyProps = ComponentProps<"tbody">;
|
|
23
|
-
declare function TableBody(props: TableBodyProps):
|
|
23
|
+
declare function TableBody(props: TableBodyProps): react.JSX.Element;
|
|
24
24
|
type TableRowProps = ComponentProps<"tr"> & {
|
|
25
25
|
isSelected?: boolean;
|
|
26
26
|
hasSelect?: boolean;
|
|
27
27
|
hasActions?: boolean;
|
|
28
28
|
};
|
|
29
|
-
declare function TableRow(props: TableRowProps):
|
|
29
|
+
declare function TableRow(props: TableRowProps): react.JSX.Element;
|
|
30
30
|
type TableHeaderCellProps = ComponentProps<"th"> & {
|
|
31
31
|
isSelectCell?: boolean;
|
|
32
32
|
isActionCell?: boolean;
|
|
33
33
|
isStickyCell?: boolean;
|
|
34
34
|
};
|
|
35
|
-
declare function TableHeaderCell(props: TableHeaderCellProps):
|
|
35
|
+
declare function TableHeaderCell(props: TableHeaderCellProps): react.JSX.Element;
|
|
36
36
|
type TableCellProps = ComponentProps<"td"> & {
|
|
37
37
|
isSelectCell?: boolean;
|
|
38
38
|
isActionCell?: boolean;
|
|
39
39
|
isStickyCell?: boolean;
|
|
40
40
|
};
|
|
41
|
-
declare function TableCell(props: TableCellProps):
|
|
41
|
+
declare function TableCell(props: TableCellProps): react.JSX.Element;
|
|
42
42
|
type TableOwnerCellValueProps = Omit<ComponentProps<"div">, "children" | "onClick"> & {
|
|
43
43
|
owner?: {
|
|
44
44
|
firstName?: string;
|
|
@@ -54,6 +54,6 @@ type TableOwnerCellValueProps = Omit<ComponentProps<"div">, "children" | "onClic
|
|
|
54
54
|
};
|
|
55
55
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
56
56
|
};
|
|
57
|
-
declare function TableOwnerCellValue({ className, owner, description, onClick, translations, ...rest }: TableOwnerCellValueProps):
|
|
57
|
+
declare function TableOwnerCellValue({ className, owner, description, onClick, translations, ...rest }: TableOwnerCellValueProps): react.JSX.Element;
|
|
58
58
|
|
|
59
59
|
export { TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHead, type TableHeadProps, TableHeaderCell, type TableHeaderCellProps, TableOwnerCellValue, type TableOwnerCellValueProps, TableRoot, type TableRootProps, TableRow, type TableRowProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/table",
|
|
3
|
-
"version": "18.5.
|
|
3
|
+
"version": "18.5.2",
|
|
4
4
|
"description": "ables are used to display tabular data using rows and columns. ",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"table"
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
30
|
"motion": ">=12.23.6",
|
|
31
|
-
"@kopexa/theme": "18.5.
|
|
31
|
+
"@kopexa/theme": "18.5.2"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@kopexa/shared-utils": "18.5.
|
|
35
|
-
"@kopexa/react-utils": "18.5.
|
|
36
|
-
"@kopexa/use-hover": "18.5.
|
|
37
|
-
"@kopexa/
|
|
38
|
-
"@kopexa/
|
|
39
|
-
"@kopexa/
|
|
34
|
+
"@kopexa/shared-utils": "18.5.2",
|
|
35
|
+
"@kopexa/react-utils": "18.5.2",
|
|
36
|
+
"@kopexa/use-hover": "18.5.2",
|
|
37
|
+
"@kopexa/button": "18.5.2",
|
|
38
|
+
"@kopexa/icons": "18.5.2",
|
|
39
|
+
"@kopexa/avatar": "18.5.2"
|
|
40
40
|
},
|
|
41
41
|
"clean-package": "../../../clean-package.config.json",
|
|
42
42
|
"module": "dist/index.mjs",
|