@deepnoid/ui 0.1.61 → 0.1.63
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 +182 -187
- package/dist/{chunk-WINX3AKW.mjs → chunk-PMZH6GPQ.mjs} +1 -1
- package/dist/{chunk-HHRKPSO6.mjs → chunk-QX6F6C6X.mjs} +2 -1
- package/dist/{chunk-A6HCKIVP.mjs → chunk-V5T3D6WI.mjs} +3 -3
- package/dist/components/breadcrumb/breadcrumb.mjs +3 -3
- package/dist/components/breadcrumb/index.mjs +3 -3
- package/dist/components/button/index.mjs +6 -6
- package/dist/components/dateTimePicker/dateTimePicker.mjs +3 -3
- package/dist/components/dateTimePicker/index.mjs +3 -3
- package/dist/components/dateTimePicker/timePicker.mjs +2 -2
- package/dist/components/fileUpload/fileUpload.mjs +3 -3
- package/dist/components/fileUpload/index.mjs +3 -3
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/modal/index.mjs +3 -3
- package/dist/components/modal/modal.mjs +3 -3
- package/dist/components/table/definition-table.d.mts +13 -6
- package/dist/components/table/definition-table.d.ts +13 -6
- package/dist/components/table/definition-table.js +99 -12
- package/dist/components/table/definition-table.mjs +2 -1
- package/dist/components/table/index.d.mts +1 -2
- package/dist/components/table/index.d.ts +1 -2
- package/dist/components/table/index.js +12 -41
- package/dist/components/table/index.mjs +6 -10
- package/dist/components/table/table.mjs +2 -2
- package/dist/components/tree/index.js +2 -1
- package/dist/components/tree/index.mjs +1 -1
- package/dist/components/tree/tree.d.mts +6 -0
- package/dist/components/tree/tree.d.ts +6 -0
- package/dist/components/tree/tree.js +2 -1
- package/dist/components/tree/tree.mjs +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +329 -357
- package/dist/index.mjs +38 -42
- package/package.json +1 -1
- package/dist/chunk-6TIIBU7J.mjs +0 -35
- package/dist/components/table/definition-table2.d.mts +0 -58
- package/dist/components/table/definition-table2.d.ts +0 -58
- package/dist/components/table/definition-table2.js +0 -438
- package/dist/components/table/definition-table2.mjs +0 -10
- package/dist/{chunk-K65JLBZI.mjs → chunk-DLFXCMUU.mjs} +3 -3
- package/dist/{chunk-DLR42ZKG.mjs → chunk-DX3KXNP6.mjs} +0 -0
- package/dist/{chunk-LKC7AK3H.mjs → chunk-MPATONSK.mjs} +3 -3
- package/dist/{chunk-UEUOHSJ6.mjs → chunk-ORYYC6BI.mjs} +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,18 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import "./chunk-MBLZYQCN.mjs";
|
|
3
|
+
import {
|
|
4
|
+
tree_default
|
|
5
|
+
} from "./chunk-QX6F6C6X.mjs";
|
|
2
6
|
import "./chunk-HIE2YRGA.mjs";
|
|
3
7
|
import {
|
|
4
8
|
tooltip_default
|
|
5
9
|
} from "./chunk-Z2537DF6.mjs";
|
|
6
10
|
import "./chunk-ZMOAFSYE.mjs";
|
|
7
11
|
import "./chunk-WSIADHVC.mjs";
|
|
8
|
-
import "./chunk-MBLZYQCN.mjs";
|
|
9
|
-
import {
|
|
10
|
-
tree_default
|
|
11
|
-
} from "./chunk-HHRKPSO6.mjs";
|
|
12
12
|
import "./chunk-3MY6LO7N.mjs";
|
|
13
13
|
import {
|
|
14
14
|
tabs_default
|
|
15
15
|
} from "./chunk-2YMAKIZ6.mjs";
|
|
16
|
+
import "./chunk-DX3KXNP6.mjs";
|
|
17
|
+
import {
|
|
18
|
+
table_default
|
|
19
|
+
} from "./chunk-4T7R3PEH.mjs";
|
|
20
|
+
import "./chunk-BPEMHZH3.mjs";
|
|
21
|
+
import "./chunk-P7YYNA6L.mjs";
|
|
22
|
+
import "./chunk-MZ76AA76.mjs";
|
|
23
|
+
import {
|
|
24
|
+
skeleton_default
|
|
25
|
+
} from "./chunk-6PN3DGOE.mjs";
|
|
16
26
|
import "./chunk-RRAZM5D3.mjs";
|
|
17
27
|
import {
|
|
18
28
|
textarea_default
|
|
@@ -26,18 +36,6 @@ import "./chunk-ZOTHPHXA.mjs";
|
|
|
26
36
|
import {
|
|
27
37
|
toast_default
|
|
28
38
|
} from "./chunk-73RWXO3Y.mjs";
|
|
29
|
-
import "./chunk-DLR42ZKG.mjs";
|
|
30
|
-
import {
|
|
31
|
-
definition_table_default
|
|
32
|
-
} from "./chunk-6TIIBU7J.mjs";
|
|
33
|
-
import {
|
|
34
|
-
definition_table2_default
|
|
35
|
-
} from "./chunk-A6HCKIVP.mjs";
|
|
36
|
-
import {
|
|
37
|
-
table_default
|
|
38
|
-
} from "./chunk-4T7R3PEH.mjs";
|
|
39
|
-
import "./chunk-BPEMHZH3.mjs";
|
|
40
|
-
import "./chunk-P7YYNA6L.mjs";
|
|
41
39
|
import "./chunk-DQRAFUDA.mjs";
|
|
42
40
|
import {
|
|
43
41
|
scrollArea_default
|
|
@@ -46,27 +44,26 @@ import "./chunk-QCEKPS7U.mjs";
|
|
|
46
44
|
import {
|
|
47
45
|
select_default
|
|
48
46
|
} from "./chunk-C4AGYO7C.mjs";
|
|
49
|
-
import "./chunk-MZ76AA76.mjs";
|
|
50
|
-
import {
|
|
51
|
-
skeleton_default
|
|
52
|
-
} from "./chunk-6PN3DGOE.mjs";
|
|
53
47
|
import "./chunk-LVFI2NOH.mjs";
|
|
54
48
|
import {
|
|
55
49
|
switch_default
|
|
56
50
|
} from "./chunk-AJUQBMSV.mjs";
|
|
51
|
+
import {
|
|
52
|
+
definition_table_default
|
|
53
|
+
} from "./chunk-V5T3D6WI.mjs";
|
|
57
54
|
import "./chunk-7B7LRG5J.mjs";
|
|
58
55
|
import {
|
|
59
56
|
pagination_default
|
|
60
57
|
} from "./chunk-LQEA2HU5.mjs";
|
|
61
58
|
import "./chunk-F3HENRVM.mjs";
|
|
62
|
-
import "./chunk-TPFN22HR.mjs";
|
|
63
|
-
import {
|
|
64
|
-
radio_default
|
|
65
|
-
} from "./chunk-QIRL6HY6.mjs";
|
|
66
59
|
import "./chunk-DJOG6Z35.mjs";
|
|
67
60
|
import {
|
|
68
61
|
modal_default
|
|
69
62
|
} from "./chunk-3UQI4RJU.mjs";
|
|
63
|
+
import "./chunk-TPFN22HR.mjs";
|
|
64
|
+
import {
|
|
65
|
+
radio_default
|
|
66
|
+
} from "./chunk-QIRL6HY6.mjs";
|
|
70
67
|
import "./chunk-32GA3YW4.mjs";
|
|
71
68
|
import {
|
|
72
69
|
drawer_default
|
|
@@ -74,7 +71,7 @@ import {
|
|
|
74
71
|
import "./chunk-RLXOHILK.mjs";
|
|
75
72
|
import {
|
|
76
73
|
fileUpload_default
|
|
77
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-ORYYC6BI.mjs";
|
|
78
75
|
import "./chunk-2GCSFWHD.mjs";
|
|
79
76
|
import {
|
|
80
77
|
input_default
|
|
@@ -91,18 +88,29 @@ import {
|
|
|
91
88
|
import "./chunk-75HLCORR.mjs";
|
|
92
89
|
import {
|
|
93
90
|
dateTimePicker_default
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
91
|
+
} from "./chunk-PMZH6GPQ.mjs";
|
|
92
|
+
import "./chunk-DLFXCMUU.mjs";
|
|
96
93
|
import "./chunk-7MVEAQ7Z.mjs";
|
|
97
|
-
import {
|
|
98
|
-
listItem_default
|
|
99
|
-
} from "./chunk-YZDZYMBP.mjs";
|
|
100
94
|
import {
|
|
101
95
|
list_default
|
|
102
96
|
} from "./chunk-HIVPDIEP.mjs";
|
|
97
|
+
import {
|
|
98
|
+
listItem_default
|
|
99
|
+
} from "./chunk-YZDZYMBP.mjs";
|
|
103
100
|
import "./chunk-FWJ2ZKH6.mjs";
|
|
104
101
|
import "./chunk-L3RCWZTV.mjs";
|
|
105
102
|
import "./chunk-P732YGHO.mjs";
|
|
103
|
+
import "./chunk-KYIODWXL.mjs";
|
|
104
|
+
import {
|
|
105
|
+
breadcrumb_default
|
|
106
|
+
} from "./chunk-MPATONSK.mjs";
|
|
107
|
+
import "./chunk-MY5U63QO.mjs";
|
|
108
|
+
import {
|
|
109
|
+
icon_button_default
|
|
110
|
+
} from "./chunk-AZA2LAZH.mjs";
|
|
111
|
+
import {
|
|
112
|
+
text_button_default
|
|
113
|
+
} from "./chunk-7TAC2S5U.mjs";
|
|
106
114
|
import {
|
|
107
115
|
areaChart_default
|
|
108
116
|
} from "./chunk-ZOENHWSZ.mjs";
|
|
@@ -120,20 +128,12 @@ import "./chunk-SE5TU755.mjs";
|
|
|
120
128
|
import {
|
|
121
129
|
backdrop_default
|
|
122
130
|
} from "./chunk-LL6F3WDX.mjs";
|
|
123
|
-
import "./chunk-KYIODWXL.mjs";
|
|
124
|
-
import {
|
|
125
|
-
breadcrumb_default
|
|
126
|
-
} from "./chunk-LKC7AK3H.mjs";
|
|
127
|
-
import "./chunk-MY5U63QO.mjs";
|
|
128
131
|
import {
|
|
129
132
|
button_group_default
|
|
130
133
|
} from "./chunk-QC2XOK2E.mjs";
|
|
131
134
|
import {
|
|
132
135
|
button_default
|
|
133
136
|
} from "./chunk-WF7VSHBA.mjs";
|
|
134
|
-
import {
|
|
135
|
-
icon_button_default
|
|
136
|
-
} from "./chunk-AZA2LAZH.mjs";
|
|
137
137
|
import "./chunk-6WSACUIB.mjs";
|
|
138
138
|
import "./chunk-6PNKRBUT.mjs";
|
|
139
139
|
import "./chunk-LXHUO6VM.mjs";
|
|
@@ -142,9 +142,6 @@ import {
|
|
|
142
142
|
Icon_default,
|
|
143
143
|
iconTemplate
|
|
144
144
|
} from "./chunk-DZ6QJCDZ.mjs";
|
|
145
|
-
import {
|
|
146
|
-
text_button_default
|
|
147
|
-
} from "./chunk-7TAC2S5U.mjs";
|
|
148
145
|
import "./chunk-3I7QA57V.mjs";
|
|
149
146
|
import {
|
|
150
147
|
deepnoidUi,
|
|
@@ -166,7 +163,6 @@ export {
|
|
|
166
163
|
circularProgress_default as CircularProgress,
|
|
167
164
|
dateTimePicker_default as DateTimePicker,
|
|
168
165
|
definition_table_default as DefinitionTable,
|
|
169
|
-
definition_table2_default as DefinitionTable2,
|
|
170
166
|
drawer_default as Drawer,
|
|
171
167
|
fileUpload_default as FileUpload,
|
|
172
168
|
Icon_default as Icon,
|
package/package.json
CHANGED
package/dist/chunk-6TIIBU7J.mjs
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
tv
|
|
4
|
-
} from "./chunk-4ZJFD3L3.mjs";
|
|
5
|
-
|
|
6
|
-
// src/components/table/definition-table.tsx
|
|
7
|
-
import { forwardRef, useMemo } from "react";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
var DEFAULT_COLUMN_CLASSES = [
|
|
10
|
-
"w-[120px] px-[10px] py-[9.5px] font-bold text-md text-body-foreground border-r border-neutral-light",
|
|
11
|
-
"px-[10px] py-[9.5px]"
|
|
12
|
-
];
|
|
13
|
-
var DefinitionTableRow = ({ columns, columnClasses = [] }) => /* @__PURE__ */ jsx("tr", { className: "border-neutral-light min-h-[50px] border-b", children: columns.map((col, index) => {
|
|
14
|
-
var _a;
|
|
15
|
-
return /* @__PURE__ */ jsx("td", { className: (_a = columnClasses[index]) != null ? _a : DEFAULT_COLUMN_CLASSES[index], children: col }, index);
|
|
16
|
-
}) });
|
|
17
|
-
var DefinitionTable = forwardRef(({ rows, footer, classNames }, ref) => {
|
|
18
|
-
const slots = useMemo(() => DefinitionTableStyle(), []);
|
|
19
|
-
return /* @__PURE__ */ jsxs("div", { ref, className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: [
|
|
20
|
-
/* @__PURE__ */ jsx("table", { className: slots.table({ class: classNames == null ? void 0 : classNames.table }), children: /* @__PURE__ */ jsx("tbody", { children: rows.map((row, i) => /* @__PURE__ */ jsx(DefinitionTableRow, { ...row }, i)) }) }),
|
|
21
|
-
footer && /* @__PURE__ */ jsx("div", { children: footer })
|
|
22
|
-
] });
|
|
23
|
-
});
|
|
24
|
-
DefinitionTable.displayName = "DefinitionTable";
|
|
25
|
-
var definition_table_default = DefinitionTable;
|
|
26
|
-
var DefinitionTableStyle = tv({
|
|
27
|
-
slots: {
|
|
28
|
-
base: ["flex", "flex-col", "gap-[30px]"],
|
|
29
|
-
table: ["w-full", "table-fixed", "border", "border-neutral-light"]
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
definition_table_default
|
|
35
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
import * as react from 'react';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
import { SlotsToClasses } from '../../utils/types.mjs';
|
|
6
|
-
|
|
7
|
-
type TableRowCell = {
|
|
8
|
-
content: ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
colSpan?: number;
|
|
11
|
-
rowSpan?: number;
|
|
12
|
-
width?: string;
|
|
13
|
-
};
|
|
14
|
-
type TableRow = {
|
|
15
|
-
cells: TableRowCell[];
|
|
16
|
-
className?: string;
|
|
17
|
-
};
|
|
18
|
-
interface DefinitionTableProps {
|
|
19
|
-
rows: TableRow[];
|
|
20
|
-
footer?: ReactNode;
|
|
21
|
-
classNames?: SlotsToClasses<DefinitionTableSlots>;
|
|
22
|
-
}
|
|
23
|
-
declare const DefinitionTable2: react.ForwardRefExoticComponent<DefinitionTableProps & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
|
|
25
|
-
declare const DefinitionTableStyle: tailwind_variants.TVReturnType<{
|
|
26
|
-
[key: string]: {
|
|
27
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
28
|
-
base?: tailwind_merge.ClassNameValue;
|
|
29
|
-
table?: tailwind_merge.ClassNameValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {
|
|
33
|
-
[x: string]: {
|
|
34
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
35
|
-
base?: tailwind_merge.ClassNameValue;
|
|
36
|
-
table?: tailwind_merge.ClassNameValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {}, {
|
|
40
|
-
base: string[];
|
|
41
|
-
table: string[];
|
|
42
|
-
}, undefined, {
|
|
43
|
-
[key: string]: {
|
|
44
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
45
|
-
base?: tailwind_merge.ClassNameValue;
|
|
46
|
-
table?: tailwind_merge.ClassNameValue;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} | {}, {
|
|
50
|
-
base: string[];
|
|
51
|
-
table: string[];
|
|
52
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
53
|
-
base: string[];
|
|
54
|
-
table: string[];
|
|
55
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
56
|
-
type DefinitionTableSlots = keyof ReturnType<typeof DefinitionTableStyle>;
|
|
57
|
-
|
|
58
|
-
export { type TableRow, type TableRowCell, DefinitionTable2 as default };
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
import * as react from 'react';
|
|
4
|
-
import { ReactNode } from 'react';
|
|
5
|
-
import { SlotsToClasses } from '../../utils/types.js';
|
|
6
|
-
|
|
7
|
-
type TableRowCell = {
|
|
8
|
-
content: ReactNode;
|
|
9
|
-
className?: string;
|
|
10
|
-
colSpan?: number;
|
|
11
|
-
rowSpan?: number;
|
|
12
|
-
width?: string;
|
|
13
|
-
};
|
|
14
|
-
type TableRow = {
|
|
15
|
-
cells: TableRowCell[];
|
|
16
|
-
className?: string;
|
|
17
|
-
};
|
|
18
|
-
interface DefinitionTableProps {
|
|
19
|
-
rows: TableRow[];
|
|
20
|
-
footer?: ReactNode;
|
|
21
|
-
classNames?: SlotsToClasses<DefinitionTableSlots>;
|
|
22
|
-
}
|
|
23
|
-
declare const DefinitionTable2: react.ForwardRefExoticComponent<DefinitionTableProps & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
|
|
25
|
-
declare const DefinitionTableStyle: tailwind_variants.TVReturnType<{
|
|
26
|
-
[key: string]: {
|
|
27
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
28
|
-
base?: tailwind_merge.ClassNameValue;
|
|
29
|
-
table?: tailwind_merge.ClassNameValue;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
} | {
|
|
33
|
-
[x: string]: {
|
|
34
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
35
|
-
base?: tailwind_merge.ClassNameValue;
|
|
36
|
-
table?: tailwind_merge.ClassNameValue;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
} | {}, {
|
|
40
|
-
base: string[];
|
|
41
|
-
table: string[];
|
|
42
|
-
}, undefined, {
|
|
43
|
-
[key: string]: {
|
|
44
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
45
|
-
base?: tailwind_merge.ClassNameValue;
|
|
46
|
-
table?: tailwind_merge.ClassNameValue;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
} | {}, {
|
|
50
|
-
base: string[];
|
|
51
|
-
table: string[];
|
|
52
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
53
|
-
base: string[];
|
|
54
|
-
table: string[];
|
|
55
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
56
|
-
type DefinitionTableSlots = keyof ReturnType<typeof DefinitionTableStyle>;
|
|
57
|
-
|
|
58
|
-
export { type TableRow, type TableRowCell, DefinitionTable2 as default };
|