@pactor-app/ui 1.20.0 → 1.22.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-COMLXFWS.js → chunk-44DAGWXZ.js} +13 -3
- package/dist/chunk-EDUMGNT6.js +10951 -0
- package/dist/{chunk-XA6OJ54X.js → chunk-JWZHJEUS.js} +368 -283
- package/dist/{chunk-IMRMBMHI.js → chunk-QQBAMERO.js} +1 -1
- package/dist/components/index.cjs +8738 -1507
- package/dist/components/index.d.cts +2439 -40
- package/dist/components/index.d.ts +2439 -40
- package/dist/components/index.js +163 -5
- package/dist/index.cjs +8865 -1634
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +164 -6
- package/dist/layout/index.cjs +7 -2
- package/dist/layout/index.js +2 -2
- package/dist/{typography-BYDh5oku.d.cts → typography-BYdZkkP5.d.cts} +27 -2
- package/dist/{typography-BYDh5oku.d.ts → typography-BYdZkkP5.d.ts} +27 -2
- package/dist/ui/index.cjs +335 -371
- package/dist/ui/index.d.cts +6 -38
- package/dist/ui/index.d.ts +6 -38
- package/dist/ui/index.js +12 -128
- package/package.json +10 -6
- package/styles.css +652 -2
- package/dist/chunk-MHM7LTV2.js +0 -3820
|
@@ -88,6 +88,7 @@ import {
|
|
|
88
88
|
Moon,
|
|
89
89
|
Package,
|
|
90
90
|
PanelLeft,
|
|
91
|
+
PanelRightClose,
|
|
91
92
|
PanelRightOpen,
|
|
92
93
|
Paperclip,
|
|
93
94
|
Pencil,
|
|
@@ -114,11 +115,15 @@ import {
|
|
|
114
115
|
ThumbsUp,
|
|
115
116
|
Trash2,
|
|
116
117
|
TriangleAlert,
|
|
118
|
+
Music,
|
|
117
119
|
Upload,
|
|
120
|
+
Video,
|
|
118
121
|
User,
|
|
119
122
|
Users,
|
|
120
123
|
X,
|
|
121
|
-
Zap
|
|
124
|
+
Zap,
|
|
125
|
+
ZoomIn,
|
|
126
|
+
ZoomOut
|
|
122
127
|
} from "lucide-react";
|
|
123
128
|
import { jsx } from "react/jsx-runtime";
|
|
124
129
|
var ICONS = {
|
|
@@ -216,6 +221,7 @@ var ICONS = {
|
|
|
216
221
|
"file-text": FileText,
|
|
217
222
|
"panel-left": PanelLeft,
|
|
218
223
|
"panel-right-open": PanelRightOpen,
|
|
224
|
+
"panel-right-close": PanelRightClose,
|
|
219
225
|
square: Square,
|
|
220
226
|
history: History,
|
|
221
227
|
"rotate-ccw": RotateCcw,
|
|
@@ -242,7 +248,11 @@ var ICONS = {
|
|
|
242
248
|
ellipsis: Ellipsis,
|
|
243
249
|
"ellipsis-vertical": EllipsisVertical,
|
|
244
250
|
"message-circle": MessageCircle,
|
|
245
|
-
"lock-open": LockOpen
|
|
251
|
+
"lock-open": LockOpen,
|
|
252
|
+
"zoom-in": ZoomIn,
|
|
253
|
+
"zoom-out": ZoomOut,
|
|
254
|
+
video: Video,
|
|
255
|
+
music: Music
|
|
246
256
|
};
|
|
247
257
|
function normalizeIconName(name) {
|
|
248
258
|
return name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
|
|
@@ -644,7 +654,7 @@ function MenuEntry({
|
|
|
644
654
|
"flex w-full items-center gap-2 rounded-md text-sm transition-colors",
|
|
645
655
|
mode === "horizontal" ? "px-3 py-2" : "px-3 py-2 text-left",
|
|
646
656
|
collapsed && "justify-center px-0",
|
|
647
|
-
selected ? "bg-(--menu-active-background) font-medium text-(--menu-active-foreground)" : "cursor-pointer text-
|
|
657
|
+
selected ? "bg-(--menu-active-background) font-medium text-(--menu-active-foreground)" : "cursor-pointer text-foreground hover:bg-(--menu-hover-background)/50",
|
|
648
658
|
item.disabled && "cursor-not-allowed opacity-50 hover:bg-transparent hover:text-muted-foreground"
|
|
649
659
|
),
|
|
650
660
|
style: mode === "inline" && depth > 0 && !collapsed ? { paddingLeft: 12 + depth * 16 } : void 0,
|