@overmap-ai/blocks 1.0.27-custom-table-component.5 → 1.0.27-tiptap.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/README.md +3 -3
- package/dist/Breadcrumb/context.d.ts +1 -1
- package/dist/Dialogs/AlertDialog/typings.d.ts +1 -1
- package/dist/MultiPagePopover/typings.d.ts +1 -0
- package/dist/Select/Select.d.ts +1 -1
- package/dist/Select/typings.d.ts +1 -1
- package/dist/Table/Table.d.ts +3 -11
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/typings.d.ts +27 -0
- package/dist/blocks.js +3142 -3031
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +3132 -3026
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/index.d.ts +28 -29
- package/dist/style.css +467 -354
- package/package.json +106 -105
- package/dist/Pagination/PaginationControls.d.ts +0 -8
- package/dist/Pagination/hooks.d.ts +0 -2
- package/dist/Pagination/index.d.ts +0 -3
- package/dist/Pagination/typings.d.ts +0 -6
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# overmap-ai blocks
|
|
2
|
-
|
|
3
|
-
Contains basic components used by overmap-ai libraries.
|
|
1
|
+
# overmap-ai blocks
|
|
2
|
+
|
|
3
|
+
Contains basic components used by overmap-ai libraries.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AlertDialog } from "@radix-ui/themes";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { CloseDialog } from "../typings";
|
|
4
|
-
import { Severity } from "../../typings";
|
|
4
|
+
import { Severity } from "../../typings.ts";
|
|
5
5
|
interface AlertDialogBaseProps {
|
|
6
6
|
open: boolean;
|
|
7
7
|
setOpen: (open: boolean) => void;
|
package/dist/Select/Select.d.ts
CHANGED
package/dist/Select/typings.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
2
|
import { Responsive, Select as RadixSelect } from "@radix-ui/themes";
|
|
3
|
-
import { Severity, Size, Variant } from "../typings";
|
|
3
|
+
import { Severity, Size, Variant } from "../typings.ts";
|
|
4
4
|
type RadixSelectItemProps = ComponentProps<typeof RadixSelect.Item>;
|
|
5
5
|
type RadixSelectContentProps = ComponentProps<typeof RadixSelect.Content>;
|
|
6
6
|
export interface SelectItemProps extends Omit<RadixSelectItemProps, "asChild" | "textValue"> {
|
package/dist/Table/Table.d.ts
CHANGED
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
columns: TableColumn[];
|
|
5
|
-
data: TableRow[];
|
|
6
|
-
emptyMessage?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
style?: CSSProperties;
|
|
9
|
-
columnClassName?: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const Table: import("react").MemoExoticComponent<(props: TableProps) => import("react/jsx-runtime").JSX.Element>;
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { TableProps } from "./typings";
|
|
3
|
+
export declare const Table: FC<TableProps>;
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./Table";
|
|
2
|
-
export * from "./typings";
|
|
2
|
+
export * from "./typings.ts";
|
package/dist/Table/typings.d.ts
CHANGED
|
@@ -40,3 +40,30 @@ export interface TableRow {
|
|
|
40
40
|
};
|
|
41
41
|
decorator?: (row: ReactElement) => ReactElement;
|
|
42
42
|
}
|
|
43
|
+
export interface TableProps {
|
|
44
|
+
columns: TableColumn[];
|
|
45
|
+
data: TableRow[];
|
|
46
|
+
color?: "light" | "dark";
|
|
47
|
+
title?: string | ReactNode;
|
|
48
|
+
description?: string | ReactNode;
|
|
49
|
+
defaultRowsPerPage?: number;
|
|
50
|
+
rowsPerPage?: number[];
|
|
51
|
+
fixHeader?: boolean;
|
|
52
|
+
showSearchBar?: boolean;
|
|
53
|
+
searchBarPlaceholder?: string;
|
|
54
|
+
showSelect?: boolean;
|
|
55
|
+
showFilterButton?: boolean;
|
|
56
|
+
showContainer?: boolean;
|
|
57
|
+
showRowsPerPage?: boolean;
|
|
58
|
+
showPageNumber?: boolean;
|
|
59
|
+
showPageNavigation?: boolean;
|
|
60
|
+
children?: ReactNode;
|
|
61
|
+
topBarComponents?: ReactNode;
|
|
62
|
+
showTopBar?: boolean;
|
|
63
|
+
showBottomBar?: boolean;
|
|
64
|
+
emptyMessage?: string;
|
|
65
|
+
className?: string;
|
|
66
|
+
columnClassName?: string;
|
|
67
|
+
rowClassName?: string;
|
|
68
|
+
cellClassName?: string;
|
|
69
|
+
}
|