@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.42.1 → 0.5.0-beta.44.1
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/components/composed/FormPatterns/FormSection.cjs +2 -0
- package/dist/components/composed/FormPatterns/FormSection.cjs.map +1 -0
- package/dist/components/composed/FormPatterns/FormSection.js +32 -0
- package/dist/components/composed/FormPatterns/FormSection.js.map +1 -0
- package/dist/components/ui/data-table/data-table.cjs +1 -1
- package/dist/components/ui/data-table/data-table.cjs.map +1 -1
- package/dist/components/ui/data-table/data-table.js +299 -243
- package/dist/components/ui/data-table/data-table.js.map +1 -1
- package/dist/components/ui/table.cjs +1 -1
- package/dist/components/ui/table.cjs.map +1 -1
- package/dist/components/ui/table.js +26 -21
- package/dist/components/ui/table.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +25 -6
- package/dist/index.js +587 -585
- package/dist/index.js.map +1 -1
- package/dist/index.tailwind.css +1 -1
- package/dist/providers/athena.d.ts +7 -0
- package/dist/providers/databricks.d.ts +7 -0
- package/dist/providers/snowflake.d.ts +7 -0
- package/dist/server.d.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1096,7 +1096,7 @@ export declare interface DataAppShellProps {
|
|
|
1096
1096
|
className?: string;
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
|
-
export declare function DataTable<TData, TValue>({ columns, data, toolbar, enableSorting, enableColumnVisibility, children, columnOrder: controlledColumnOrder, onColumnOrderChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, columnLabels: controlledColumnLabels, onColumnLabelChange, enablePagination, defaultPageSize, pagination: controlledPagination, onPaginationChange, enableColumnReorder, enableFiltering, filters: controlledFilters, onFiltersChange, filterConfig, manualFiltering, density, className, variant, containerClassName, }: DataTableProps<TData, TValue>): JSX.Element;
|
|
1099
|
+
export declare function DataTable<TData, TValue>({ columns, data, toolbar, enableSorting, enableColumnVisibility, children, columnOrder: controlledColumnOrder, onColumnOrderChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, columnLabels: controlledColumnLabels, onColumnLabelChange, enablePagination, defaultPageSize, pagination: controlledPagination, onPaginationChange, enableColumnReorder, enableFiltering, filters: controlledFilters, onFiltersChange, filterConfig, manualFiltering, density, className, variant, containerClassName, truncate, }: DataTableProps<TData, TValue>): JSX.Element;
|
|
1100
1100
|
|
|
1101
1101
|
export declare function DataTableColumnToggle({ className }: DataTableColumnToggleProps): JSX.Element | null;
|
|
1102
1102
|
|
|
@@ -1152,6 +1152,7 @@ export declare interface DataTableProps<TData, TValue> {
|
|
|
1152
1152
|
variant?: React_2.ComponentProps<typeof Table>["variant"];
|
|
1153
1153
|
/** className passed to the base Table's container div */
|
|
1154
1154
|
containerClassName?: React_2.ComponentProps<typeof Table>["containerClassName"];
|
|
1155
|
+
truncate?: boolean;
|
|
1155
1156
|
}
|
|
1156
1157
|
|
|
1157
1158
|
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
@@ -1313,6 +1314,14 @@ export declare interface FilterCondition {
|
|
|
1313
1314
|
|
|
1314
1315
|
export declare type FilterOperator = "contains" | "equals" | "not_equals" | "starts_with" | "ends_with" | "is_empty" | "is_not_empty";
|
|
1315
1316
|
|
|
1317
|
+
export declare function FormSection({ heading, description, children, className, ...props }: FormSectionProps): JSX.Element;
|
|
1318
|
+
|
|
1319
|
+
export declare interface FormSectionProps extends React_2.ComponentProps<"div"> {
|
|
1320
|
+
heading: string;
|
|
1321
|
+
description?: string;
|
|
1322
|
+
children: React_2.ReactNode;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1316
1325
|
export declare const getAttachmentLabel: (data: AttachmentData) => string;
|
|
1317
1326
|
|
|
1318
1327
|
export declare const getMediaCategory: (data: AttachmentData) => AttachmentMediaCategory;
|
|
@@ -1532,7 +1541,7 @@ export declare function ItemHeader({ className, ...props }: React_2.ComponentPro
|
|
|
1532
1541
|
export declare function ItemMedia({ className, variant, ...props }: React_2.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): JSX.Element;
|
|
1533
1542
|
|
|
1534
1543
|
declare const itemMediaVariants: (props?: ({
|
|
1535
|
-
variant?: "
|
|
1544
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1536
1545
|
} & ClassProp) | undefined) => string;
|
|
1537
1546
|
|
|
1538
1547
|
export declare function ItemSeparator({ className, ...props }: React_2.ComponentProps<typeof Separator>): JSX.Element;
|
|
@@ -2755,17 +2764,19 @@ export declare function Switch({ className, size, ...props }: React_2.ComponentP
|
|
|
2755
2764
|
size?: "sm" | "default";
|
|
2756
2765
|
}): JSX.Element;
|
|
2757
2766
|
|
|
2758
|
-
export declare function Table({ className, containerClassName, variant, ...props }: React_2.ComponentProps<"table"> & {
|
|
2767
|
+
export declare function Table({ className, containerClassName, variant, layout, ...props }: React_2.ComponentProps<"table"> & {
|
|
2759
2768
|
containerClassName?: string;
|
|
2760
2769
|
variant?: "default" | "card";
|
|
2770
|
+
layout?: "auto" | "fixed";
|
|
2761
2771
|
}): JSX.Element;
|
|
2762
2772
|
|
|
2763
2773
|
export declare function TableBody({ className, ...props }: React_2.ComponentProps<"tbody">): JSX.Element;
|
|
2764
2774
|
|
|
2765
2775
|
export declare function TableCaption({ className, ...props }: React_2.ComponentProps<"caption">): JSX.Element;
|
|
2766
2776
|
|
|
2767
|
-
export declare function TableCell({ className, variant, ...props }: React_2.ComponentProps<"td"> & {
|
|
2777
|
+
export declare function TableCell({ className, variant, truncate, ...props }: React_2.ComponentProps<"td"> & {
|
|
2768
2778
|
variant?: "default" | "numeric" | "action";
|
|
2779
|
+
truncate?: boolean;
|
|
2769
2780
|
}): JSX.Element;
|
|
2770
2781
|
|
|
2771
2782
|
declare interface TableContextValue<TData> {
|
|
@@ -2780,8 +2791,9 @@ declare interface TableContextValue<TData> {
|
|
|
2780
2791
|
|
|
2781
2792
|
export declare function TableFooter({ className, ...props }: React_2.ComponentProps<"tfoot">): JSX.Element;
|
|
2782
2793
|
|
|
2783
|
-
export declare function TableHead({ className, variant, ...props }: React_2.ComponentProps<"th"> & {
|
|
2794
|
+
export declare function TableHead({ className, variant, truncate, ...props }: React_2.ComponentProps<"th"> & {
|
|
2784
2795
|
variant?: "default" | "numeric" | "action";
|
|
2796
|
+
truncate?: boolean;
|
|
2785
2797
|
}): JSX.Element;
|
|
2786
2798
|
|
|
2787
2799
|
export declare function TableHeader({ className, variant, ...props }: React_2.ComponentProps<"thead"> & {
|
|
@@ -2799,7 +2811,7 @@ export declare function TabsContent({ className, ...props }: React_2.ComponentPr
|
|
|
2799
2811
|
export declare function TabsList({ className, variant, ...props }: React_2.ComponentProps<typeof Tabs_2.List> & VariantProps<typeof tabsListVariants>): JSX.Element;
|
|
2800
2812
|
|
|
2801
2813
|
export declare const tabsListVariants: (props?: ({
|
|
2802
|
-
variant?: "
|
|
2814
|
+
variant?: "line" | "default" | null | undefined;
|
|
2803
2815
|
} & ClassProp) | undefined) => string;
|
|
2804
2816
|
|
|
2805
2817
|
export declare function TabsTrigger({ className, ...props }: React_2.ComponentProps<typeof Tabs_2.Trigger>): JSX.Element;
|
|
@@ -3286,3 +3298,10 @@ export declare interface WellData {
|
|
|
3286
3298
|
}
|
|
3287
3299
|
|
|
3288
3300
|
export { }
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
declare module "@tanstack/react-table" {
|
|
3304
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
3305
|
+
truncate?: boolean;
|
|
3306
|
+
}
|
|
3307
|
+
}
|