sodtrack-web-ui 0.9.2 → 0.9.4
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/button.d.mts +1 -1
- package/dist/chip-status.d.mts +1 -1
- package/dist/{chunk-2OWGGXTX.mjs → chunk-5IAVWONP.mjs} +1 -1
- package/dist/data-table.d.mts +4 -2
- package/dist/icon-button.d.mts +1 -1
- package/dist/index.css +0 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/tab.mjs +1 -1
- package/package.json +1 -1
package/dist/button.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ type ButtonProps = {
|
|
|
8
8
|
} & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> & VariantProps<typeof button>;
|
|
9
9
|
declare const Button: FC<ButtonProps>;
|
|
10
10
|
declare const button: (props?: ({
|
|
11
|
-
size?: "
|
|
11
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
12
12
|
variant?: "link" | "contained" | "outlined" | "ghost" | "standard" | undefined;
|
|
13
13
|
loading?: boolean | undefined;
|
|
14
14
|
} & ({
|
package/dist/chip-status.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { FC, HTMLAttributes } from 'react';
|
|
|
3
3
|
|
|
4
4
|
declare const chipStatus: (props?: ({
|
|
5
5
|
variant?: "success" | "info" | "warning" | "error" | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "sm" | "md" | "xs" | undefined;
|
|
7
7
|
} & ({
|
|
8
8
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
9
9
|
[x: string]: any;
|
|
@@ -27,7 +27,7 @@ var TabsTrigger = import_react.default.forwardRef(({ className, ...props }, ref)
|
|
|
27
27
|
{
|
|
28
28
|
ref,
|
|
29
29
|
className: cn(
|
|
30
|
-
"group border-b-1 border-neutral-
|
|
30
|
+
"group border-b-1 border-neutral-200 px-4 font-semibold transition-all hover:bg-primary-100 disabled:!border-b-1 disabled:border-neutral-500 disabled:text-neutral-500 hover:disabled:bg-opacity-0 aria-selected:border-b-4 aria-selected:border-primary-500 aria-selected:disabled:border-neutral-500",
|
|
31
31
|
className
|
|
32
32
|
),
|
|
33
33
|
...props,
|
package/dist/data-table.d.mts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { HTMLAttributes } from 'react';
|
|
3
|
-
import { ColumnDef
|
|
3
|
+
import { ColumnDef as ColumnDef$1, PaginationState as PaginationState$1, OnChangeFn } from '@tanstack/react-table';
|
|
4
4
|
|
|
5
|
+
type ColumnDef<TData, TValue> = ColumnDef$1<TData, TValue>;
|
|
6
|
+
type PaginationState = PaginationState$1;
|
|
5
7
|
interface DataTableProps<TData, TValue> extends HTMLAttributes<HTMLDivElement> {
|
|
6
8
|
columns: ColumnDef<TData, TValue>[];
|
|
7
9
|
data: TData[];
|
|
@@ -21,4 +23,4 @@ interface DataTableProps<TData, TValue> extends HTMLAttributes<HTMLDivElement> {
|
|
|
21
23
|
}
|
|
22
24
|
declare function DataTable<TData, TValue>({ columns, data, rowsCount, pagination, onPaginationChange, noResults, rowsPerPageText, ofText, className, ...props }: DataTableProps<TData, TValue>): react_jsx_runtime.JSX.Element;
|
|
23
25
|
|
|
24
|
-
export { DataTable, type DataTableProps, DataTable as default };
|
|
26
|
+
export { type ColumnDef, DataTable, type DataTableProps, type PaginationState, DataTable as default };
|
package/dist/icon-button.d.mts
CHANGED
|
@@ -6,7 +6,7 @@ type IconButtonProps = {
|
|
|
6
6
|
} & VariantProps<typeof iconButton> & React__default.DetailedHTMLProps<React__default.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
|
|
7
7
|
declare const iconButton: (props?: ({
|
|
8
8
|
variant?: "contained" | "outlined" | "ghost" | "standard" | undefined;
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "large" | "medium" | "small" | undefined;
|
|
10
10
|
} & ({
|
|
11
11
|
class?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
12
12
|
[x: string]: any;
|
package/dist/index.css
CHANGED
|
@@ -590,10 +590,6 @@ video {
|
|
|
590
590
|
--tw-border-opacity: 1;
|
|
591
591
|
border-color: rgb(225 231 230 / var(--tw-border-opacity));
|
|
592
592
|
}
|
|
593
|
-
.border-neutral-600 {
|
|
594
|
-
--tw-border-opacity: 1;
|
|
595
|
-
border-color: rgb(126 138 134 / var(--tw-border-opacity));
|
|
596
|
-
}
|
|
597
593
|
.border-t-neutral-200 {
|
|
598
594
|
--tw-border-opacity: 1;
|
|
599
595
|
border-top-color: rgb(225 231 230 / var(--tw-border-opacity));
|
package/dist/index.d.mts
CHANGED
|
@@ -8,7 +8,7 @@ export { Spinner } from './spinner.mjs';
|
|
|
8
8
|
export { ChipForm } from './chip-form.mjs';
|
|
9
9
|
export { ChipStatus } from './chip-status.mjs';
|
|
10
10
|
export { ScrollArea, ScrollBar } from './scrollarea.mjs';
|
|
11
|
-
export { default as DataTable, DataTableProps } from './data-table.mjs';
|
|
11
|
+
export { ColumnDef, default as DataTable, DataTableProps, PaginationState } from './data-table.mjs';
|
|
12
12
|
import 'react';
|
|
13
13
|
import 'cva';
|
|
14
14
|
import '@radix-ui/react-tooltip';
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Spinner } from './chunk-YXXI2T2N.mjs';
|
|
2
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-
|
|
2
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger } from './chunk-5IAVWONP.mjs';
|
|
3
3
|
export { TextField } from './chunk-KY2KI4AD.mjs';
|
|
4
4
|
export { Tooltip, TooltipProvider } from './chunk-FRPPC3Z5.mjs';
|
|
5
5
|
export { Alert } from './chunk-XDQ2Y2UR.mjs';
|
package/dist/tab.mjs
CHANGED