@deepnoid/ui 0.1.201 → 0.1.202
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 -174
- package/dist/{chunk-YBXBTE5T.mjs → chunk-COGGK5Q6.mjs} +1 -1
- package/dist/{chunk-75ZDPLJ4.mjs → chunk-K2RW5KLO.mjs} +20 -0
- package/dist/components/list/index.mjs +3 -3
- package/dist/components/picker/index.js +17 -0
- package/dist/components/picker/index.mjs +5 -5
- package/dist/components/picker/timePicker.js +508 -60
- package/dist/components/picker/timePicker.mjs +10 -2
- package/dist/components/select/index.js +476 -28
- package/dist/components/select/index.mjs +9 -1
- package/dist/components/select/select.d.mts +1 -0
- package/dist/components/select/select.d.ts +1 -0
- package/dist/components/select/select.js +476 -28
- package/dist/components/select/select.mjs +9 -1
- package/dist/components/table/index.mjs +4 -4
- package/dist/components/table/table-body.mjs +1 -1
- package/dist/components/table/table-head.mjs +1 -1
- package/dist/components/table/table.mjs +1 -1
- package/dist/components/toast/index.mjs +2 -2
- package/dist/components/toast/use-toast.mjs +2 -2
- package/dist/index.js +17 -0
- package/dist/index.mjs +43 -43
- package/package.json +1 -1
- package/dist/{chunk-L3A3IEKZ.mjs → chunk-SSGCTWWW.mjs} +3 -3
|
@@ -3,11 +3,11 @@ import "../../chunk-LUWGOKLG.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
ToastProvider,
|
|
5
5
|
useToast
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-SSGCTWWW.mjs";
|
|
7
|
+
import "../../chunk-ZOTHPHXA.mjs";
|
|
7
8
|
import {
|
|
8
9
|
toast_default
|
|
9
10
|
} from "../../chunk-4F7SIDZB.mjs";
|
|
10
|
-
import "../../chunk-ZOTHPHXA.mjs";
|
|
11
11
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
12
12
|
import "../../chunk-YEYUS6DW.mjs";
|
|
13
13
|
import "../../chunk-E3G5QXSH.mjs";
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ToastProvider,
|
|
4
4
|
useToast
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-4F7SIDZB.mjs";
|
|
5
|
+
} from "../../chunk-SSGCTWWW.mjs";
|
|
7
6
|
import "../../chunk-ZOTHPHXA.mjs";
|
|
7
|
+
import "../../chunk-4F7SIDZB.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
9
|
import "../../chunk-YEYUS6DW.mjs";
|
|
10
10
|
import "../../chunk-E3G5QXSH.mjs";
|
package/dist/index.js
CHANGED
|
@@ -9375,6 +9375,7 @@ var Select = (0, import_react21.forwardRef)((originalProps, ref) => {
|
|
|
9375
9375
|
dropdownIconName = "brace-up",
|
|
9376
9376
|
optionIconName,
|
|
9377
9377
|
optionIconPlacement,
|
|
9378
|
+
clearable,
|
|
9378
9379
|
...inputProps
|
|
9379
9380
|
} = props;
|
|
9380
9381
|
const slots = (0, import_react21.useMemo)(() => select({ ...variantProps }), [variantProps]);
|
|
@@ -9428,6 +9429,11 @@ var Select = (0, import_react21.forwardRef)((originalProps, ref) => {
|
|
|
9428
9429
|
setSelectedOptions(nextOptions);
|
|
9429
9430
|
onChange == null ? void 0 : onChange(nextOptions);
|
|
9430
9431
|
};
|
|
9432
|
+
const handleClear = (e) => {
|
|
9433
|
+
e.stopPropagation();
|
|
9434
|
+
setSelectedOptions([]);
|
|
9435
|
+
onChange == null ? void 0 : onChange([]);
|
|
9436
|
+
};
|
|
9431
9437
|
(0, import_react21.useEffect)(() => {
|
|
9432
9438
|
const handleClickOutside = (e) => {
|
|
9433
9439
|
var _a2;
|
|
@@ -9554,6 +9560,17 @@ var Select = (0, import_react21.forwardRef)((originalProps, ref) => {
|
|
|
9554
9560
|
}
|
|
9555
9561
|
),
|
|
9556
9562
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("input", { type: "hidden", name: inputProps.name, value: selectedValue }),
|
|
9563
|
+
clearable && selectedOptions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
9564
|
+
icon_button_default,
|
|
9565
|
+
{
|
|
9566
|
+
name: "close",
|
|
9567
|
+
variant: "ghost",
|
|
9568
|
+
size: "sm",
|
|
9569
|
+
color: "neutral",
|
|
9570
|
+
onClick: handleClear,
|
|
9571
|
+
classNames: { base: "pr-[2px]" }
|
|
9572
|
+
}
|
|
9573
|
+
),
|
|
9557
9574
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
9558
9575
|
Icon_default,
|
|
9559
9576
|
{
|
package/dist/index.mjs
CHANGED
|
@@ -9,34 +9,34 @@ import "./chunk-MBLZYQCN.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
tree_default
|
|
11
11
|
} from "./chunk-F6BQCZ54.mjs";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
tabs_default
|
|
15
|
-
} from "./chunk-DW3BX4M2.mjs";
|
|
16
|
-
import "./chunk-RRAZM5D3.mjs";
|
|
12
|
+
import "./chunk-DX3KXNP6.mjs";
|
|
17
13
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
14
|
+
table_default
|
|
15
|
+
} from "./chunk-KYWCJIXI.mjs";
|
|
20
16
|
import "./chunk-LUWGOKLG.mjs";
|
|
21
17
|
import {
|
|
22
18
|
ToastProvider,
|
|
23
19
|
useToast
|
|
24
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SSGCTWWW.mjs";
|
|
21
|
+
import "./chunk-ZOTHPHXA.mjs";
|
|
25
22
|
import {
|
|
26
23
|
toast_default
|
|
27
24
|
} from "./chunk-4F7SIDZB.mjs";
|
|
28
|
-
import "./chunk-ZOTHPHXA.mjs";
|
|
29
25
|
import "./chunk-LVFI2NOH.mjs";
|
|
30
26
|
import {
|
|
31
27
|
switch_default
|
|
32
28
|
} from "./chunk-AGE57VDD.mjs";
|
|
33
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-3MY6LO7N.mjs";
|
|
30
|
+
import {
|
|
31
|
+
tabs_default
|
|
32
|
+
} from "./chunk-DW3BX4M2.mjs";
|
|
33
|
+
import "./chunk-RRAZM5D3.mjs";
|
|
34
|
+
import {
|
|
35
|
+
textarea_default
|
|
36
|
+
} from "./chunk-Q22PRT24.mjs";
|
|
34
37
|
import {
|
|
35
38
|
definition_table_default
|
|
36
39
|
} from "./chunk-DS5CGU2X.mjs";
|
|
37
|
-
import {
|
|
38
|
-
table_default
|
|
39
|
-
} from "./chunk-KYWCJIXI.mjs";
|
|
40
40
|
import "./chunk-MZ76AA76.mjs";
|
|
41
41
|
import {
|
|
42
42
|
skeleton_default
|
|
@@ -45,16 +45,14 @@ import "./chunk-OLQOLLKG.mjs";
|
|
|
45
45
|
import {
|
|
46
46
|
starRating_default
|
|
47
47
|
} from "./chunk-OX4T7OBC.mjs";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-4VWG4726.mjs";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
50
|
+
timePicker_default
|
|
51
|
+
} from "./chunk-COGGK5Q6.mjs";
|
|
52
|
+
import "./chunk-QCEKPS7U.mjs";
|
|
53
53
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-F3HENRVM.mjs";
|
|
57
|
-
import "./chunk-4VWG4726.mjs";
|
|
54
|
+
select_default
|
|
55
|
+
} from "./chunk-K2RW5KLO.mjs";
|
|
58
56
|
import {
|
|
59
57
|
datePicker_default
|
|
60
58
|
} from "./chunk-2EUKWA4W.mjs";
|
|
@@ -62,24 +60,38 @@ import "./chunk-FWFEKWWD.mjs";
|
|
|
62
60
|
import {
|
|
63
61
|
day_default
|
|
64
62
|
} from "./chunk-XZYQFBCT.mjs";
|
|
63
|
+
import "./chunk-7B7LRG5J.mjs";
|
|
65
64
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-
|
|
65
|
+
pagination_default
|
|
66
|
+
} from "./chunk-VVCSY7DG.mjs";
|
|
67
|
+
import "./chunk-F3HENRVM.mjs";
|
|
68
|
+
import "./chunk-TPFN22HR.mjs";
|
|
69
69
|
import {
|
|
70
|
-
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
70
|
+
radio_default
|
|
71
|
+
} from "./chunk-PRNE3U26.mjs";
|
|
72
|
+
import "./chunk-RLXOHILK.mjs";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./chunk-
|
|
74
|
+
fileUpload_default
|
|
75
|
+
} from "./chunk-5JRZQLXQ.mjs";
|
|
76
|
+
import "./chunk-7VOQKIIK.mjs";
|
|
76
77
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
progress_default
|
|
79
|
+
} from "./chunk-KH63CD55.mjs";
|
|
80
|
+
import "./chunk-2GCSFWHD.mjs";
|
|
81
|
+
import {
|
|
82
|
+
input_default
|
|
83
|
+
} from "./chunk-3RTVVQA3.mjs";
|
|
79
84
|
import "./chunk-DJOG6Z35.mjs";
|
|
80
85
|
import {
|
|
81
86
|
modal_default
|
|
82
87
|
} from "./chunk-D72ILS4A.mjs";
|
|
88
|
+
import "./chunk-7MVEAQ7Z.mjs";
|
|
89
|
+
import {
|
|
90
|
+
listItem_default
|
|
91
|
+
} from "./chunk-K3M3QEEV.mjs";
|
|
92
|
+
import {
|
|
93
|
+
list_default
|
|
94
|
+
} from "./chunk-NGRGAY42.mjs";
|
|
83
95
|
import "./chunk-QZ3LVYJW.mjs";
|
|
84
96
|
import "./chunk-MGEWSREV.mjs";
|
|
85
97
|
import {
|
|
@@ -89,18 +101,6 @@ import "./chunk-32GA3YW4.mjs";
|
|
|
89
101
|
import {
|
|
90
102
|
drawer_default
|
|
91
103
|
} from "./chunk-45Y7ANPK.mjs";
|
|
92
|
-
import "./chunk-RLXOHILK.mjs";
|
|
93
|
-
import {
|
|
94
|
-
fileUpload_default
|
|
95
|
-
} from "./chunk-5JRZQLXQ.mjs";
|
|
96
|
-
import "./chunk-7VOQKIIK.mjs";
|
|
97
|
-
import {
|
|
98
|
-
progress_default
|
|
99
|
-
} from "./chunk-KH63CD55.mjs";
|
|
100
|
-
import "./chunk-2GCSFWHD.mjs";
|
|
101
|
-
import {
|
|
102
|
-
input_default
|
|
103
|
-
} from "./chunk-3RTVVQA3.mjs";
|
|
104
104
|
import "./chunk-3OCNT22V.mjs";
|
|
105
105
|
import {
|
|
106
106
|
areaChart_default
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
toast_default
|
|
4
|
-
} from "./chunk-4F7SIDZB.mjs";
|
|
5
2
|
import {
|
|
6
3
|
getToastPosition
|
|
7
4
|
} from "./chunk-ZOTHPHXA.mjs";
|
|
5
|
+
import {
|
|
6
|
+
toast_default
|
|
7
|
+
} from "./chunk-4F7SIDZB.mjs";
|
|
8
8
|
|
|
9
9
|
// src/components/toast/use-toast.tsx
|
|
10
10
|
import { createContext, useContext, useState, useCallback, useEffect, useRef } from "react";
|