@pactor-app/ui 1.18.1 → 1.21.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-IMRMBMHI.js → chunk-2A5MHANX.js} +1 -1
- package/dist/{chunk-COMLXFWS.js → chunk-7WB4TS55.js} +11 -3
- package/dist/{chunk-XA6OJ54X.js → chunk-JWZHJEUS.js} +368 -283
- package/dist/chunk-XXOY57SN.js +10202 -0
- package/dist/components/index.cjs +7994 -1503
- package/dist/components/index.d.cts +2309 -36
- package/dist/components/index.d.ts +2309 -36
- package/dist/components/index.js +163 -5
- package/dist/index.cjs +8122 -1631
- 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 +6 -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 +586 -2
- package/dist/chunk-MHM7LTV2.js +0 -3820
|
@@ -114,11 +114,15 @@ import {
|
|
|
114
114
|
ThumbsUp,
|
|
115
115
|
Trash2,
|
|
116
116
|
TriangleAlert,
|
|
117
|
+
Music,
|
|
117
118
|
Upload,
|
|
119
|
+
Video,
|
|
118
120
|
User,
|
|
119
121
|
Users,
|
|
120
122
|
X,
|
|
121
|
-
Zap
|
|
123
|
+
Zap,
|
|
124
|
+
ZoomIn,
|
|
125
|
+
ZoomOut
|
|
122
126
|
} from "lucide-react";
|
|
123
127
|
import { jsx } from "react/jsx-runtime";
|
|
124
128
|
var ICONS = {
|
|
@@ -242,7 +246,11 @@ var ICONS = {
|
|
|
242
246
|
ellipsis: Ellipsis,
|
|
243
247
|
"ellipsis-vertical": EllipsisVertical,
|
|
244
248
|
"message-circle": MessageCircle,
|
|
245
|
-
"lock-open": LockOpen
|
|
249
|
+
"lock-open": LockOpen,
|
|
250
|
+
"zoom-in": ZoomIn,
|
|
251
|
+
"zoom-out": ZoomOut,
|
|
252
|
+
video: Video,
|
|
253
|
+
music: Music
|
|
246
254
|
};
|
|
247
255
|
function normalizeIconName(name) {
|
|
248
256
|
return name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();
|
|
@@ -644,7 +652,7 @@ function MenuEntry({
|
|
|
644
652
|
"flex w-full items-center gap-2 rounded-md text-sm transition-colors",
|
|
645
653
|
mode === "horizontal" ? "px-3 py-2" : "px-3 py-2 text-left",
|
|
646
654
|
collapsed && "justify-center px-0",
|
|
647
|
-
selected ? "bg-(--menu-active-background) font-medium text-(--menu-active-foreground)" : "cursor-pointer text-
|
|
655
|
+
selected ? "bg-(--menu-active-background) font-medium text-(--menu-active-foreground)" : "cursor-pointer text-foreground hover:bg-(--menu-hover-background)/50",
|
|
648
656
|
item.disabled && "cursor-not-allowed opacity-50 hover:bg-transparent hover:text-muted-foreground"
|
|
649
657
|
),
|
|
650
658
|
style: mode === "inline" && depth > 0 && !collapsed ? { paddingLeft: 12 + depth * 16 } : void 0,
|