@ztwoint/z-ui 0.1.102 → 0.1.103
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.
|
@@ -3,8 +3,8 @@ import { useRef as x, useState as h, useEffect as b } from "react";
|
|
|
3
3
|
import { createPortal as N } from "react-dom";
|
|
4
4
|
import { cn as u } from "../../../../lib/utils.js";
|
|
5
5
|
import { useColumnItemDragAndDrop as v } from "./column-item.hook.js";
|
|
6
|
-
import { Button as
|
|
7
|
-
import { Minus as
|
|
6
|
+
import { Button as w } from "../../../button/button.js";
|
|
7
|
+
import { Minus as y } from "../../../assets/icons/minus.js";
|
|
8
8
|
import { parseColumnLabel as p } from "./column-item.util.js";
|
|
9
9
|
import g from "../../../assets/icons/drag-handle.js";
|
|
10
10
|
import { Z2Tooltip as k } from "../../../tooltip/tooltip.js";
|
|
@@ -79,7 +79,7 @@ const S = ({
|
|
|
79
79
|
ref: m,
|
|
80
80
|
className: u(
|
|
81
81
|
"flex items-center gap-2 p-1 pl-3 bg-background-neutral-default transition-colors",
|
|
82
|
-
o ? "cursor-default
|
|
82
|
+
o ? "cursor-default" : "cursor-grab hover:bg-background-neutral-medium",
|
|
83
83
|
L[a.type] ?? ""
|
|
84
84
|
),
|
|
85
85
|
children: [
|
|
@@ -105,13 +105,13 @@ const S = ({
|
|
|
105
105
|
)
|
|
106
106
|
] }),
|
|
107
107
|
/* @__PURE__ */ e("div", { className: "ml-auto flex items-center gap-3", children: i ? i(t, r) : /* @__PURE__ */ e(
|
|
108
|
-
|
|
108
|
+
w,
|
|
109
109
|
{
|
|
110
110
|
onClick: () => r == null ? void 0 : r(t.id),
|
|
111
111
|
variant: "ghost",
|
|
112
112
|
shade: "neutral",
|
|
113
113
|
size: "medium",
|
|
114
|
-
leftIcon: /* @__PURE__ */ e(
|
|
114
|
+
leftIcon: /* @__PURE__ */ e(y, { className: "w-4 h-4" })
|
|
115
115
|
}
|
|
116
116
|
) })
|
|
117
117
|
]
|