@pactor-app/ui 1.42.0 → 1.43.0
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/{chunk-IBMIQXOM.js → chunk-7OBUSV5S.js} +1 -1
- package/dist/{chunk-XRPL536L.js → chunk-H6E53JL2.js} +2 -2
- package/dist/{chunk-ZUXZRBCR.js → chunk-HKQMSEQB.js} +1910 -247
- package/dist/{chunk-F5JY3PBE.js → chunk-HU2RFIWH.js} +1 -1
- package/dist/{chunk-PWXXEJ4J.js → chunk-QIOYKSN4.js} +11 -2
- package/dist/{chunk-XMWIT53K.js → chunk-T3TGKYAB.js} +2 -2
- package/dist/{chunk-HAOAXDTW.js → chunk-YVHPJHW3.js} +1 -1
- package/dist/components/index.cjs +1917 -248
- package/dist/components/index.d.cts +533 -2
- package/dist/components/index.d.ts +533 -2
- package/dist/components/index.js +7 -5
- package/dist/index.cjs +2100 -431
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -7
- package/dist/interaction/index.cjs +1 -1
- package/dist/interaction/index.js +2 -2
- package/dist/layout/index.cjs +7 -2
- package/dist/layout/index.js +3 -3
- package/dist/ui/index.cjs +3 -3
- package/dist/ui/index.js +3 -3
- package/package.json +6 -6
- package/styles.css +17 -2
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
TooltipTrigger,
|
|
17
17
|
useIsMobile,
|
|
18
18
|
useSidebar
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7OBUSV5S.js";
|
|
20
20
|
import {
|
|
21
21
|
cn
|
|
22
22
|
} from "./chunk-WKJUCGV4.js";
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
ArrowRight,
|
|
29
29
|
ArrowUp,
|
|
30
30
|
ArrowUpRight,
|
|
31
|
+
AudioLines,
|
|
31
32
|
Bell,
|
|
32
33
|
Bookmark,
|
|
33
34
|
Brain,
|
|
@@ -86,6 +87,7 @@ import {
|
|
|
86
87
|
Menu,
|
|
87
88
|
MessageCircle,
|
|
88
89
|
MessageSquare,
|
|
90
|
+
Mic,
|
|
89
91
|
Minus,
|
|
90
92
|
Moon,
|
|
91
93
|
Package,
|
|
@@ -95,10 +97,12 @@ import {
|
|
|
95
97
|
Paperclip,
|
|
96
98
|
Pencil,
|
|
97
99
|
Phone,
|
|
100
|
+
Play,
|
|
98
101
|
Plus,
|
|
99
102
|
Quote,
|
|
100
103
|
RefreshCcw,
|
|
101
104
|
RotateCcw,
|
|
105
|
+
RotateCw,
|
|
102
106
|
Save,
|
|
103
107
|
Search,
|
|
104
108
|
Send,
|
|
@@ -256,7 +260,12 @@ var ICONS = {
|
|
|
256
260
|
"zoom-in": ZoomIn,
|
|
257
261
|
"zoom-out": ZoomOut,
|
|
258
262
|
video: Video,
|
|
259
|
-
music: Music
|
|
263
|
+
music: Music,
|
|
264
|
+
// 录音 / 音频场景(spec: chat-page 录音模板):波形、麦克风、播放控制
|
|
265
|
+
"audio-lines": AudioLines,
|
|
266
|
+
mic: Mic,
|
|
267
|
+
play: Play,
|
|
268
|
+
"rotate-cw": RotateCw
|
|
260
269
|
};
|
|
261
270
|
function normalizeIconName(name) {
|
|
262
271
|
return name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
Popover,
|
|
3
3
|
PopoverContent,
|
|
4
4
|
PopoverTrigger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7OBUSV5S.js";
|
|
6
6
|
import {
|
|
7
7
|
Button,
|
|
8
8
|
buttonVariants,
|
|
@@ -101,7 +101,7 @@ function AlertDialogOverlay({
|
|
|
101
101
|
{
|
|
102
102
|
"data-slot": "alert-dialog-overlay",
|
|
103
103
|
className: cn(
|
|
104
|
-
"fixed inset-0 z-50 bg-(--overlay-background) data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fill-mode-forwards data-closed:fade-out-0",
|
|
104
|
+
"fixed inset-0 z-50 bg-(--overlay-background) duration-200 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fill-mode-forwards data-closed:fade-out-0",
|
|
105
105
|
className
|
|
106
106
|
),
|
|
107
107
|
...props
|
|
@@ -35,7 +35,7 @@ function DialogOverlay({
|
|
|
35
35
|
{
|
|
36
36
|
"data-slot": "dialog-overlay",
|
|
37
37
|
className: cn(
|
|
38
|
-
"fixed inset-0 z-50 bg-(--overlay-background) data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 data-closed:fill-mode-forwards",
|
|
38
|
+
"fixed inset-0 z-50 bg-(--overlay-background) duration-200 data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0 data-closed:fill-mode-forwards",
|
|
39
39
|
className
|
|
40
40
|
),
|
|
41
41
|
...props
|