@pactor-app/ui 1.42.0 → 1.44.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-ZUXZRBCR.js → chunk-3PQOJRJD.js} +26 -4162
- package/dist/{chunk-IBMIQXOM.js → chunk-7OBUSV5S.js} +1 -1
- package/dist/{chunk-XRPL536L.js → chunk-A6WUHUJL.js} +2 -2
- package/dist/{chunk-F5JY3PBE.js → chunk-HU2RFIWH.js} +1 -1
- package/dist/{chunk-PWXXEJ4J.js → chunk-SD2XSQIP.js} +17 -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 +23 -4157
- package/dist/components/index.d.cts +21 -1054
- package/dist/components/index.d.ts +21 -1054
- package/dist/components/index.js +7 -61
- package/dist/index.cjs +339 -4473
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.js +16 -70
- package/dist/interaction/index.cjs +1 -1
- package/dist/interaction/index.js +2 -2
- package/dist/layout/index.cjs +10 -2
- package/dist/layout/index.js +3 -3
- package/dist/ui/index.cjs +3 -3
- package/dist/ui/index.js +24 -24
- package/package.json +6 -8
- package/styles.css +2 -442
|
@@ -369,7 +369,7 @@ function SheetOverlay({
|
|
|
369
369
|
{
|
|
370
370
|
"data-slot": "sheet-overlay",
|
|
371
371
|
className: cn(
|
|
372
|
-
"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",
|
|
372
|
+
"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",
|
|
373
373
|
className
|
|
374
374
|
),
|
|
375
375
|
...props
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
Icon,
|
|
3
3
|
Menu,
|
|
4
4
|
Sidebar
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SD2XSQIP.js";
|
|
6
6
|
import {
|
|
7
7
|
Accordion,
|
|
8
8
|
AccordionContent,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
Popover,
|
|
16
16
|
PopoverContent,
|
|
17
17
|
PopoverTrigger
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7OBUSV5S.js";
|
|
19
19
|
import {
|
|
20
20
|
cn
|
|
21
21
|
} from "./chunk-WKJUCGV4.js";
|
|
@@ -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,
|
|
@@ -73,6 +74,7 @@ import {
|
|
|
73
74
|
Key,
|
|
74
75
|
Languages,
|
|
75
76
|
LayoutGrid,
|
|
77
|
+
LayoutTemplate,
|
|
76
78
|
Link,
|
|
77
79
|
List,
|
|
78
80
|
ListFilter,
|
|
@@ -86,19 +88,24 @@ import {
|
|
|
86
88
|
Menu,
|
|
87
89
|
MessageCircle,
|
|
88
90
|
MessageSquare,
|
|
91
|
+
Mic,
|
|
89
92
|
Minus,
|
|
90
93
|
Moon,
|
|
91
94
|
Package,
|
|
95
|
+
Paintbrush,
|
|
96
|
+
Palette,
|
|
92
97
|
PanelLeft,
|
|
93
98
|
PanelRightClose,
|
|
94
99
|
PanelRightOpen,
|
|
95
100
|
Paperclip,
|
|
96
101
|
Pencil,
|
|
97
102
|
Phone,
|
|
103
|
+
Play,
|
|
98
104
|
Plus,
|
|
99
105
|
Quote,
|
|
100
106
|
RefreshCcw,
|
|
101
107
|
RotateCcw,
|
|
108
|
+
RotateCw,
|
|
102
109
|
Save,
|
|
103
110
|
Search,
|
|
104
111
|
Send,
|
|
@@ -247,6 +254,9 @@ var ICONS = {
|
|
|
247
254
|
"refresh-ccw": RefreshCcw,
|
|
248
255
|
"chart-column": ChartColumn,
|
|
249
256
|
"layout-grid": LayoutGrid,
|
|
257
|
+
"layout-template": LayoutTemplate,
|
|
258
|
+
palette: Palette,
|
|
259
|
+
paintbrush: Paintbrush,
|
|
250
260
|
funnel: Funnel,
|
|
251
261
|
"loader-circle": LoaderCircle,
|
|
252
262
|
ellipsis: Ellipsis,
|
|
@@ -256,7 +266,12 @@ var ICONS = {
|
|
|
256
266
|
"zoom-in": ZoomIn,
|
|
257
267
|
"zoom-out": ZoomOut,
|
|
258
268
|
video: Video,
|
|
259
|
-
music: Music
|
|
269
|
+
music: Music,
|
|
270
|
+
// 录音 / 音频场景(spec: chat-page 录音模板):波形、麦克风、播放控制
|
|
271
|
+
"audio-lines": AudioLines,
|
|
272
|
+
mic: Mic,
|
|
273
|
+
play: Play,
|
|
274
|
+
"rotate-cw": RotateCw
|
|
260
275
|
};
|
|
261
276
|
function normalizeIconName(name) {
|
|
262
277
|
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
|