@dyrected/admin 2.5.36 → 2.5.38
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/admin.css
CHANGED
|
@@ -1620,6 +1620,10 @@
|
|
|
1620
1620
|
max-height: 1000px;
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
+
.dy-max-h-\[200px\]{
|
|
1624
|
+
max-height: 200px;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1623
1627
|
.dy-max-h-\[240px\]{
|
|
1624
1628
|
max-height: 240px;
|
|
1625
1629
|
}
|
|
@@ -1848,6 +1852,10 @@
|
|
|
1848
1852
|
width: 1px;
|
|
1849
1853
|
}
|
|
1850
1854
|
|
|
1855
|
+
.dy-w-\[200px\]{
|
|
1856
|
+
width: 200px;
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1851
1859
|
.dy-w-\[220px\]{
|
|
1852
1860
|
width: 220px;
|
|
1853
1861
|
}
|
|
@@ -3201,6 +3209,11 @@
|
|
|
3201
3209
|
padding-bottom: 0.375rem;
|
|
3202
3210
|
}
|
|
3203
3211
|
|
|
3212
|
+
.dy-py-10{
|
|
3213
|
+
padding-top: 2.5rem;
|
|
3214
|
+
padding-bottom: 2.5rem;
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3204
3217
|
.dy-py-12{
|
|
3205
3218
|
padding-top: 3rem;
|
|
3206
3219
|
padding-bottom: 3rem;
|
|
@@ -3329,6 +3342,10 @@
|
|
|
3329
3342
|
padding-top: 0px;
|
|
3330
3343
|
}
|
|
3331
3344
|
|
|
3345
|
+
.dy-pt-0\.5{
|
|
3346
|
+
padding-top: 0.125rem;
|
|
3347
|
+
}
|
|
3348
|
+
|
|
3332
3349
|
.dy-pt-2{
|
|
3333
3350
|
padding-top: 0.5rem;
|
|
3334
3351
|
}
|
|
@@ -3633,6 +3650,11 @@
|
|
|
3633
3650
|
color: hsl(var(--foreground) / 0.9);
|
|
3634
3651
|
}
|
|
3635
3652
|
|
|
3653
|
+
.dy-text-green-500{
|
|
3654
|
+
--tw-text-opacity: 1;
|
|
3655
|
+
color: rgb(34 197 94 / var(--tw-text-opacity, 1));
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3636
3658
|
.dy-text-muted-foreground{
|
|
3637
3659
|
color: hsl(var(--muted-foreground));
|
|
3638
3660
|
}
|
|
@@ -4962,6 +4984,10 @@
|
|
|
4962
4984
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
4963
4985
|
}
|
|
4964
4986
|
|
|
4987
|
+
.active\:dy-cursor-grabbing:active{
|
|
4988
|
+
cursor: grabbing;
|
|
4989
|
+
}
|
|
4990
|
+
|
|
4965
4991
|
.active\:dy-bg-sidebar-accent:active{
|
|
4966
4992
|
background-color: hsl(var(--sidebar-accent));
|
|
4967
4993
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CollectionConfig } from '@dyrected/core';
|
|
2
|
+
interface CsvImporterDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onOpenChange: (open: boolean) => void;
|
|
5
|
+
slug: string;
|
|
6
|
+
schema: CollectionConfig;
|
|
7
|
+
}
|
|
8
|
+
export declare function CsvImporterDialog({ open, onOpenChange, slug, schema }: CsvImporterDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CollectionConfig } from '@dyrected/core';
|
|
2
|
+
interface CsvImporterProps {
|
|
3
|
+
slug: string;
|
|
4
|
+
schema: CollectionConfig;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function CsvImporter({ slug, schema, onClose }: CsvImporterProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -10,6 +10,7 @@ interface DataTableProps<TData, TValue> {
|
|
|
10
10
|
toolbarActions?: React.ReactNode;
|
|
11
11
|
persistenceKey?: string;
|
|
12
12
|
initialColumnVisibility?: VisibilityState;
|
|
13
|
+
hideViewButton?: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare function DataTable<TData, TValue>({ columns, data, searchKey, rowSelection: externalRowSelection, onRowSelectionChange, bulkActions, toolbarActions, persistenceKey, initialColumnVisibility, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function DataTable<TData, TValue>({ columns, data, searchKey, rowSelection: externalRowSelection, onRowSelectionChange, bulkActions, toolbarActions, persistenceKey, initialColumnVisibility, hideViewButton, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface LayoutItem {
|
|
2
|
+
name: string;
|
|
3
|
+
width?: string;
|
|
4
|
+
}
|
|
5
|
+
interface UseLayoutPreferenceOptions<T> {
|
|
6
|
+
key: string;
|
|
7
|
+
defaultKeys: T[];
|
|
8
|
+
}
|
|
9
|
+
export declare function useLayoutPreference<T extends string | LayoutItem>({ key, defaultKeys }: UseLayoutPreferenceOptions<T>): {
|
|
10
|
+
layout: T[];
|
|
11
|
+
setLayout: import('react').Dispatch<import('react').SetStateAction<T[]>>;
|
|
12
|
+
reconciledLayout: T[];
|
|
13
|
+
saveLayout: (scope: "personal" | "global") => Promise<void>;
|
|
14
|
+
resetLayout: (scope: "personal" | "global") => Promise<void>;
|
|
15
|
+
isLoading: boolean;
|
|
16
|
+
isSaving: boolean;
|
|
17
|
+
isResetting: boolean;
|
|
18
|
+
};
|
|
19
|
+
export {};
|