@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.
@@ -11,7 +11,7 @@ import {
11
11
  DrawerContent,
12
12
  DrawerHeader,
13
13
  DrawerTitle
14
- } from "./chunk-HAOAXDTW.js";
14
+ } from "./chunk-YVHPJHW3.js";
15
15
  import {
16
16
  Button,
17
17
  cn
@@ -16,7 +16,7 @@ import {
16
16
  TooltipTrigger,
17
17
  useIsMobile,
18
18
  useSidebar
19
- } from "./chunk-IBMIQXOM.js";
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-IBMIQXOM.js";
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