@dyrected/admin 2.5.36 → 2.5.39
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
|
}
|
|
@@ -1824,6 +1828,10 @@
|
|
|
1824
1828
|
width: 2.25rem;
|
|
1825
1829
|
}
|
|
1826
1830
|
|
|
1831
|
+
.dy-w-96{
|
|
1832
|
+
width: 24rem;
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1827
1835
|
.dy-w-\[--cell-size\]{
|
|
1828
1836
|
width: var(--cell-size);
|
|
1829
1837
|
}
|
|
@@ -1848,6 +1856,10 @@
|
|
|
1848
1856
|
width: 1px;
|
|
1849
1857
|
}
|
|
1850
1858
|
|
|
1859
|
+
.dy-w-\[200px\]{
|
|
1860
|
+
width: 200px;
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1851
1863
|
.dy-w-\[220px\]{
|
|
1852
1864
|
width: 220px;
|
|
1853
1865
|
}
|
|
@@ -1957,6 +1969,11 @@
|
|
|
1957
1969
|
min-width: var(--radix-select-trigger-width);
|
|
1958
1970
|
}
|
|
1959
1971
|
|
|
1972
|
+
.dy-min-w-max{
|
|
1973
|
+
min-width: -moz-max-content;
|
|
1974
|
+
min-width: max-content;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1960
1977
|
.dy-max-w-2xl{
|
|
1961
1978
|
max-width: 42rem;
|
|
1962
1979
|
}
|
|
@@ -3201,6 +3218,11 @@
|
|
|
3201
3218
|
padding-bottom: 0.375rem;
|
|
3202
3219
|
}
|
|
3203
3220
|
|
|
3221
|
+
.dy-py-10{
|
|
3222
|
+
padding-top: 2.5rem;
|
|
3223
|
+
padding-bottom: 2.5rem;
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3204
3226
|
.dy-py-12{
|
|
3205
3227
|
padding-top: 3rem;
|
|
3206
3228
|
padding-bottom: 3rem;
|
|
@@ -3329,6 +3351,10 @@
|
|
|
3329
3351
|
padding-top: 0px;
|
|
3330
3352
|
}
|
|
3331
3353
|
|
|
3354
|
+
.dy-pt-0\.5{
|
|
3355
|
+
padding-top: 0.125rem;
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3332
3358
|
.dy-pt-2{
|
|
3333
3359
|
padding-top: 0.5rem;
|
|
3334
3360
|
}
|
|
@@ -3633,6 +3659,11 @@
|
|
|
3633
3659
|
color: hsl(var(--foreground) / 0.9);
|
|
3634
3660
|
}
|
|
3635
3661
|
|
|
3662
|
+
.dy-text-green-500{
|
|
3663
|
+
--tw-text-opacity: 1;
|
|
3664
|
+
color: rgb(34 197 94 / var(--tw-text-opacity, 1));
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3636
3667
|
.dy-text-muted-foreground{
|
|
3637
3668
|
color: hsl(var(--muted-foreground));
|
|
3638
3669
|
}
|
|
@@ -4180,6 +4211,12 @@
|
|
|
4180
4211
|
--cell-size: 2.25rem;
|
|
4181
4212
|
}
|
|
4182
4213
|
|
|
4214
|
+
.\[appearance\:textfield\]{
|
|
4215
|
+
-webkit-appearance: textfield;
|
|
4216
|
+
-moz-appearance: textfield;
|
|
4217
|
+
appearance: textfield;
|
|
4218
|
+
}
|
|
4219
|
+
|
|
4183
4220
|
.dy-admin-ui .media-preview-dialod-details-form div[style="min-width: 100%;display: table;"] {
|
|
4184
4221
|
display: flex !important;
|
|
4185
4222
|
}
|
|
@@ -4962,6 +4999,10 @@
|
|
|
4962
4999
|
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
5000
|
}
|
|
4964
5001
|
|
|
5002
|
+
.active\:dy-cursor-grabbing:active{
|
|
5003
|
+
cursor: grabbing;
|
|
5004
|
+
}
|
|
5005
|
+
|
|
4965
5006
|
.active\:dy-bg-sidebar-accent:active{
|
|
4966
5007
|
background-color: hsl(var(--sidebar-accent));
|
|
4967
5008
|
}
|
|
@@ -5569,6 +5610,10 @@
|
|
|
5569
5610
|
width: 95vw;
|
|
5570
5611
|
}
|
|
5571
5612
|
|
|
5613
|
+
.sm\:dy-w-\[var\(--field-w\)\]{
|
|
5614
|
+
width: var(--field-w);
|
|
5615
|
+
}
|
|
5616
|
+
|
|
5572
5617
|
.sm\:dy-w-auto{
|
|
5573
5618
|
width: auto;
|
|
5574
5619
|
}
|
|
@@ -5800,11 +5845,6 @@
|
|
|
5800
5845
|
line-height: 1.75rem;
|
|
5801
5846
|
}
|
|
5802
5847
|
|
|
5803
|
-
.sm\:dy-text-sm{
|
|
5804
|
-
font-size: 0.875rem;
|
|
5805
|
-
line-height: 1.25rem;
|
|
5806
|
-
}
|
|
5807
|
-
|
|
5808
5848
|
.sm\:dy-text-xl{
|
|
5809
5849
|
font-size: 1.25rem;
|
|
5810
5850
|
line-height: 1.75rem;
|
|
@@ -6153,6 +6193,16 @@
|
|
|
6153
6193
|
}
|
|
6154
6194
|
}
|
|
6155
6195
|
|
|
6196
|
+
.\[\&\:\:-webkit-inner-spin-button\]\:dy-appearance-none::-webkit-inner-spin-button{
|
|
6197
|
+
-webkit-appearance: none;
|
|
6198
|
+
appearance: none;
|
|
6199
|
+
}
|
|
6200
|
+
|
|
6201
|
+
.\[\&\:\:-webkit-outer-spin-button\]\:dy-appearance-none::-webkit-outer-spin-button{
|
|
6202
|
+
-webkit-appearance: none;
|
|
6203
|
+
appearance: none;
|
|
6204
|
+
}
|
|
6205
|
+
|
|
6156
6206
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:dy-pr-0:has([role=checkbox]){
|
|
6157
6207
|
padding-right: 0px;
|
|
6158
6208
|
}
|
|
@@ -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 {};
|