mtxuilib 0.1.196 → 0.1.197

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.
@@ -1,4 +1,4 @@
1
1
  import type { HeaderContext } from "@tanstack/react-table";
2
- import type { DataTableColumnHeaderProps } from "../types";
2
+ import type { DataTableColumnHeaderProps } from "..";
3
3
  export declare function SimpleHeader<TData = any, TValue = unknown>(props: HeaderContext<TData, TValue>): import("react/jsx-runtime").JSX.Element;
4
4
  export declare function SimpleHeaderRender<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { cn } from "../../../lib/utils";
4
- import { ArrowDownIcon, ArrowUpIcon, CaretSortIcon, EyeNoneIcon } from "@radix-ui/react-icons";
4
+ import { ArrowDownIcon, ArrowUpIcon, CaretSortIcon, EyeNoneIcon, } from "@radix-ui/react-icons";
5
5
  import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "mtxuilib/ui/dropdown-menu";
6
6
  import { Button } from "../../../ui/button";
7
7
  export function SimpleHeader(props) {
@@ -0,0 +1,14 @@
1
+ import type { Column, Row, Table } from "@tanstack/react-table";
2
+ export interface DataTableToolbarProps<TData> {
3
+ table: Table<TData>;
4
+ }
5
+ export interface DataTableViewOptionsProps<TData> {
6
+ table: Table<TData>;
7
+ }
8
+ export interface DataTableRowActionsProps<TData> {
9
+ row: Row<TData>;
10
+ }
11
+ export interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
12
+ column: Column<TData, TValue>;
13
+ title: string;
14
+ }
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mtxuilib",
3
3
  "private": false,
4
- "version": "0.1.196",
4
+ "version": "0.1.197",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },