@deepnoid/ui 0.1.27 → 0.1.29
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/.turbo/turbo-build.log +174 -164
- package/dist/{chunk-UNH3BCGN.mjs → chunk-26MNALVL.mjs} +1 -1
- package/dist/{chunk-3IU2RPSM.mjs → chunk-2SDYFOZL.mjs} +46 -35
- package/dist/{chunk-HWL7TPUN.mjs → chunk-2TKEWFGH.mjs} +1 -1
- package/dist/chunk-3KVZDFMV.mjs +132 -0
- package/dist/{chunk-PMMTMYRI.mjs → chunk-6K3E5BVO.mjs} +7 -7
- package/dist/{chunk-BQUZRVYW.mjs → chunk-7J3KVOTS.mjs} +7 -7
- package/dist/{chunk-OUAKGMDW.mjs → chunk-7W2ZI2DD.mjs} +4 -4
- package/dist/{chunk-XRC5OUYQ.mjs → chunk-A5KQHWS3.mjs} +1 -1
- package/dist/{chunk-YBDA3WQP.mjs → chunk-BB7MFKNQ.mjs} +1 -1
- package/dist/{chunk-SCFTSNCK.mjs → chunk-ECMBAKSJ.mjs} +6 -6
- package/dist/{chunk-GRA2LU42.mjs → chunk-EHRFXDSN.mjs} +6 -5
- package/dist/{chunk-IRAHS4WS.mjs → chunk-III2QUWF.mjs} +2 -2
- package/dist/{chunk-E4UUZOR4.mjs → chunk-KLUC2BV6.mjs} +4 -4
- package/dist/{chunk-C7OF5HJF.mjs → chunk-KXA73VTJ.mjs} +5 -5
- package/dist/{chunk-B3DFSXGC.mjs → chunk-LR3SWRB4.mjs} +6 -6
- package/dist/{chunk-DLQFMOBN.mjs → chunk-QJJKJYNR.mjs} +4 -4
- package/dist/{chunk-XA6PVFTW.mjs → chunk-RCJOJPRS.mjs} +6 -6
- package/dist/chunk-RLXOHILK.mjs +1 -0
- package/dist/{chunk-XQGD4ZIX.mjs → chunk-SP3JVQY3.mjs} +1 -1
- package/dist/{chunk-QY7LYAXT.mjs → chunk-W45H2ZMW.mjs} +5 -5
- package/dist/{chunk-PX4PFLJ3.mjs → chunk-X4F7JYBA.mjs} +18 -33
- package/dist/{chunk-Q72LZAPG.mjs → chunk-X6D7C7QZ.mjs} +4 -4
- package/dist/{chunk-6HX3PPL6.mjs → chunk-Y6XQTWB5.mjs} +4 -4
- package/dist/components/avatar/avatar.js +46 -35
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +46 -35
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/backdrop/backdrop.mjs +2 -2
- package/dist/components/backdrop/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +46 -35
- package/dist/components/breadcrumb/breadcrumb.mjs +8 -8
- package/dist/components/breadcrumb/index.js +46 -35
- package/dist/components/breadcrumb/index.mjs +8 -8
- package/dist/components/button/button.js +46 -35
- package/dist/components/button/button.mjs +5 -5
- package/dist/components/button/icon-button.js +46 -35
- package/dist/components/button/icon-button.mjs +5 -5
- package/dist/components/button/index.js +46 -35
- package/dist/components/button/index.mjs +7 -7
- package/dist/components/button/text-button.mjs +2 -2
- package/dist/components/checkbox/checkbox.mjs +2 -2
- package/dist/components/checkbox/index.mjs +2 -2
- package/dist/components/chip/chip.js +46 -35
- package/dist/components/chip/chip.mjs +4 -4
- package/dist/components/chip/index.js +46 -35
- package/dist/components/chip/index.mjs +4 -4
- package/dist/components/dateTimePicker/calendar.js +46 -35
- package/dist/components/dateTimePicker/calendar.mjs +4 -4
- package/dist/components/dateTimePicker/dateTimePicker.js +46 -35
- package/dist/components/dateTimePicker/dateTimePicker.mjs +9 -9
- package/dist/components/dateTimePicker/index.js +46 -35
- package/dist/components/dateTimePicker/index.mjs +9 -9
- package/dist/components/dateTimePicker/timePicker.js +46 -35
- package/dist/components/dateTimePicker/timePicker.mjs +7 -7
- package/dist/components/fileUpload/fileUpload.d.mts +92 -0
- package/dist/components/fileUpload/fileUpload.d.ts +92 -0
- package/dist/components/fileUpload/fileUpload.js +5648 -0
- package/dist/components/fileUpload/fileUpload.mjs +28 -0
- package/dist/components/fileUpload/index.d.mts +5 -0
- package/dist/components/fileUpload/index.d.ts +5 -0
- package/dist/components/fileUpload/index.js +5647 -0
- package/dist/components/fileUpload/index.mjs +25 -0
- package/dist/components/icon/Icon.d.mts +9 -5
- package/dist/components/icon/Icon.d.ts +9 -5
- package/dist/components/icon/Icon.js +46 -35
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +46 -35
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +3 -2
- package/dist/components/icon/template.d.ts +3 -2
- package/dist/components/icon/template.js +46 -35
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +48 -36
- package/dist/components/input/index.mjs +4 -4
- package/dist/components/input/input.js +48 -36
- package/dist/components/input/input.mjs +4 -4
- package/dist/components/list/index.js +46 -35
- package/dist/components/list/index.mjs +8 -8
- package/dist/components/list/list.mjs +2 -2
- package/dist/components/list/listItem.js +46 -35
- package/dist/components/list/listItem.mjs +5 -5
- package/dist/components/modal/index.js +46 -35
- package/dist/components/modal/index.mjs +9 -9
- package/dist/components/modal/modal.js +46 -35
- package/dist/components/modal/modal.mjs +9 -9
- package/dist/components/pagination/index.js +48 -36
- package/dist/components/pagination/index.mjs +5 -5
- package/dist/components/pagination/pagination.js +48 -36
- package/dist/components/pagination/pagination.mjs +5 -5
- package/dist/components/radio/index.mjs +2 -2
- package/dist/components/radio/radio.mjs +2 -2
- package/dist/components/ripple/index.mjs +3 -3
- package/dist/components/select/index.js +46 -35
- package/dist/components/select/index.mjs +4 -4
- package/dist/components/select/select.js +46 -35
- package/dist/components/select/select.mjs +4 -4
- package/dist/components/table/index.js +48 -36
- package/dist/components/table/index.mjs +12 -12
- package/dist/components/table/table-body.mjs +3 -3
- package/dist/components/table/table-head.mjs +3 -3
- package/dist/components/table/table.js +48 -36
- package/dist/components/table/table.mjs +9 -9
- package/dist/components/tabs/index.mjs +2 -2
- package/dist/components/tabs/tabs.mjs +2 -2
- package/dist/components/toast/index.js +46 -35
- package/dist/components/toast/index.mjs +5 -5
- package/dist/components/toast/toast.js +46 -35
- package/dist/components/toast/toast.mjs +4 -4
- package/dist/components/toast/use-toast.js +46 -35
- package/dist/components/toast/use-toast.mjs +5 -5
- package/dist/components/tooltip/index.mjs +2 -2
- package/dist/components/tooltip/tooltip.mjs +2 -2
- package/dist/components/tree/index.js +60 -64
- package/dist/components/tree/index.mjs +4 -4
- package/dist/components/tree/tree.d.mts +10 -5
- package/dist/components/tree/tree.d.ts +10 -5
- package/dist/components/tree/tree.js +60 -64
- package/dist/components/tree/tree.mjs +4 -4
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +180 -65
- package/dist/index.mjs +54 -49
- package/package.json +1 -1
- package/dist/{chunk-WFMFC7R6.mjs → chunk-2PKM7SLZ.mjs} +3 -3
- package/dist/{chunk-QIRL6HY6.mjs → chunk-33LANVZV.mjs} +3 -3
- package/dist/{chunk-Z2537DF6.mjs → chunk-IL5ENWCR.mjs} +3 -3
- package/dist/{chunk-LL6F3WDX.mjs → chunk-P5QCU457.mjs} +3 -3
- package/dist/{chunk-2YMAKIZ6.mjs → chunk-SSMMWMQC.mjs} +3 -3
- package/dist/{chunk-HIVPDIEP.mjs → chunk-UFVQPPPW.mjs} +3 -3
- package/dist/{chunk-D6QI3DJG.mjs → chunk-YLRYHUTW.mjs} +3 -3
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
5
|
+
|
|
6
|
+
type FileUploadProps = {
|
|
7
|
+
buttonText: string;
|
|
8
|
+
maxSizeMB?: number;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
accept?: string[];
|
|
11
|
+
acceptErrorMessage?: string;
|
|
12
|
+
sizeErrorMessage?: string;
|
|
13
|
+
onFileUpload?: (file: File) => void;
|
|
14
|
+
helperMessage?: string;
|
|
15
|
+
showProgress?: boolean;
|
|
16
|
+
classNames?: SlotsToClasses<FileUploadSlots>;
|
|
17
|
+
};
|
|
18
|
+
declare function FileUpload({ buttonText, maxSizeMB, placeholder, accept, acceptErrorMessage, sizeErrorMessage, onFileUpload, helperMessage, showProgress, classNames, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
declare namespace FileUpload {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare const fileUploadStyle: tailwind_variants.TVReturnType<{
|
|
24
|
+
[key: string]: {
|
|
25
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
26
|
+
container?: tailwind_merge.ClassNameValue;
|
|
27
|
+
base?: tailwind_merge.ClassNameValue;
|
|
28
|
+
helperMessage?: tailwind_merge.ClassNameValue;
|
|
29
|
+
errorMessage?: tailwind_merge.ClassNameValue;
|
|
30
|
+
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
31
|
+
cancelButton?: tailwind_merge.ClassNameValue;
|
|
32
|
+
progressBarContainer?: tailwind_merge.ClassNameValue;
|
|
33
|
+
progressBar?: tailwind_merge.ClassNameValue;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
} | {
|
|
37
|
+
[x: string]: {
|
|
38
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
39
|
+
container?: tailwind_merge.ClassNameValue;
|
|
40
|
+
base?: tailwind_merge.ClassNameValue;
|
|
41
|
+
helperMessage?: tailwind_merge.ClassNameValue;
|
|
42
|
+
errorMessage?: tailwind_merge.ClassNameValue;
|
|
43
|
+
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
44
|
+
cancelButton?: tailwind_merge.ClassNameValue;
|
|
45
|
+
progressBarContainer?: tailwind_merge.ClassNameValue;
|
|
46
|
+
progressBar?: tailwind_merge.ClassNameValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}, {
|
|
50
|
+
base: string[];
|
|
51
|
+
container: string[];
|
|
52
|
+
inputWrapper: string[];
|
|
53
|
+
cancelButton: string[];
|
|
54
|
+
progressBarContainer: string[];
|
|
55
|
+
progressBar: string[];
|
|
56
|
+
errorMessage: string[];
|
|
57
|
+
helperMessage: string[];
|
|
58
|
+
}, undefined, {
|
|
59
|
+
[key: string]: {
|
|
60
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
61
|
+
container?: tailwind_merge.ClassNameValue;
|
|
62
|
+
base?: tailwind_merge.ClassNameValue;
|
|
63
|
+
helperMessage?: tailwind_merge.ClassNameValue;
|
|
64
|
+
errorMessage?: tailwind_merge.ClassNameValue;
|
|
65
|
+
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
66
|
+
cancelButton?: tailwind_merge.ClassNameValue;
|
|
67
|
+
progressBarContainer?: tailwind_merge.ClassNameValue;
|
|
68
|
+
progressBar?: tailwind_merge.ClassNameValue;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
} | {}, {
|
|
72
|
+
base: string[];
|
|
73
|
+
container: string[];
|
|
74
|
+
inputWrapper: string[];
|
|
75
|
+
cancelButton: string[];
|
|
76
|
+
progressBarContainer: string[];
|
|
77
|
+
progressBar: string[];
|
|
78
|
+
errorMessage: string[];
|
|
79
|
+
helperMessage: string[];
|
|
80
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
81
|
+
base: string[];
|
|
82
|
+
container: string[];
|
|
83
|
+
inputWrapper: string[];
|
|
84
|
+
cancelButton: string[];
|
|
85
|
+
progressBarContainer: string[];
|
|
86
|
+
progressBar: string[];
|
|
87
|
+
errorMessage: string[];
|
|
88
|
+
helperMessage: string[];
|
|
89
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
90
|
+
type FileUploadSlots = keyof ReturnType<typeof fileUploadStyle>;
|
|
91
|
+
|
|
92
|
+
export { FileUpload, FileUpload as default, fileUploadStyle };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { SlotsToClasses } from '../../utils/types.js';
|
|
5
|
+
|
|
6
|
+
type FileUploadProps = {
|
|
7
|
+
buttonText: string;
|
|
8
|
+
maxSizeMB?: number;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
accept?: string[];
|
|
11
|
+
acceptErrorMessage?: string;
|
|
12
|
+
sizeErrorMessage?: string;
|
|
13
|
+
onFileUpload?: (file: File) => void;
|
|
14
|
+
helperMessage?: string;
|
|
15
|
+
showProgress?: boolean;
|
|
16
|
+
classNames?: SlotsToClasses<FileUploadSlots>;
|
|
17
|
+
};
|
|
18
|
+
declare function FileUpload({ buttonText, maxSizeMB, placeholder, accept, acceptErrorMessage, sizeErrorMessage, onFileUpload, helperMessage, showProgress, classNames, }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
19
|
+
declare namespace FileUpload {
|
|
20
|
+
var displayName: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare const fileUploadStyle: tailwind_variants.TVReturnType<{
|
|
24
|
+
[key: string]: {
|
|
25
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
26
|
+
container?: tailwind_merge.ClassNameValue;
|
|
27
|
+
base?: tailwind_merge.ClassNameValue;
|
|
28
|
+
helperMessage?: tailwind_merge.ClassNameValue;
|
|
29
|
+
errorMessage?: tailwind_merge.ClassNameValue;
|
|
30
|
+
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
31
|
+
cancelButton?: tailwind_merge.ClassNameValue;
|
|
32
|
+
progressBarContainer?: tailwind_merge.ClassNameValue;
|
|
33
|
+
progressBar?: tailwind_merge.ClassNameValue;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
} | {
|
|
37
|
+
[x: string]: {
|
|
38
|
+
[x: string]: tailwind_merge.ClassNameValue | {
|
|
39
|
+
container?: tailwind_merge.ClassNameValue;
|
|
40
|
+
base?: tailwind_merge.ClassNameValue;
|
|
41
|
+
helperMessage?: tailwind_merge.ClassNameValue;
|
|
42
|
+
errorMessage?: tailwind_merge.ClassNameValue;
|
|
43
|
+
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
44
|
+
cancelButton?: tailwind_merge.ClassNameValue;
|
|
45
|
+
progressBarContainer?: tailwind_merge.ClassNameValue;
|
|
46
|
+
progressBar?: tailwind_merge.ClassNameValue;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
} | {}, {
|
|
50
|
+
base: string[];
|
|
51
|
+
container: string[];
|
|
52
|
+
inputWrapper: string[];
|
|
53
|
+
cancelButton: string[];
|
|
54
|
+
progressBarContainer: string[];
|
|
55
|
+
progressBar: string[];
|
|
56
|
+
errorMessage: string[];
|
|
57
|
+
helperMessage: string[];
|
|
58
|
+
}, undefined, {
|
|
59
|
+
[key: string]: {
|
|
60
|
+
[key: string]: tailwind_merge.ClassNameValue | {
|
|
61
|
+
container?: tailwind_merge.ClassNameValue;
|
|
62
|
+
base?: tailwind_merge.ClassNameValue;
|
|
63
|
+
helperMessage?: tailwind_merge.ClassNameValue;
|
|
64
|
+
errorMessage?: tailwind_merge.ClassNameValue;
|
|
65
|
+
inputWrapper?: tailwind_merge.ClassNameValue;
|
|
66
|
+
cancelButton?: tailwind_merge.ClassNameValue;
|
|
67
|
+
progressBarContainer?: tailwind_merge.ClassNameValue;
|
|
68
|
+
progressBar?: tailwind_merge.ClassNameValue;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
} | {}, {
|
|
72
|
+
base: string[];
|
|
73
|
+
container: string[];
|
|
74
|
+
inputWrapper: string[];
|
|
75
|
+
cancelButton: string[];
|
|
76
|
+
progressBarContainer: string[];
|
|
77
|
+
progressBar: string[];
|
|
78
|
+
errorMessage: string[];
|
|
79
|
+
helperMessage: string[];
|
|
80
|
+
}, tailwind_variants.TVReturnType<unknown, {
|
|
81
|
+
base: string[];
|
|
82
|
+
container: string[];
|
|
83
|
+
inputWrapper: string[];
|
|
84
|
+
cancelButton: string[];
|
|
85
|
+
progressBarContainer: string[];
|
|
86
|
+
progressBar: string[];
|
|
87
|
+
errorMessage: string[];
|
|
88
|
+
helperMessage: string[];
|
|
89
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
90
|
+
type FileUploadSlots = keyof ReturnType<typeof fileUploadStyle>;
|
|
91
|
+
|
|
92
|
+
export { FileUpload, FileUpload as default, fileUploadStyle };
|