@underverse-ui/underverse 0.2.66 → 0.2.67
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/index.cjs +6 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1475,7 +1475,7 @@ var NumberInput = (0, import_react3.forwardRef)(
|
|
|
1475
1475
|
)
|
|
1476
1476
|
}
|
|
1477
1477
|
),
|
|
1478
|
-
showSteppers && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "absolute right-
|
|
1478
|
+
showSteppers && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "absolute right-4 top-1/2 -translate-y-[64%] flex flex-col gap-0.5", children: [
|
|
1479
1479
|
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
1480
1480
|
"button",
|
|
1481
1481
|
{
|
|
@@ -9090,14 +9090,12 @@ function CategoryTreeSelect(props) {
|
|
|
9090
9090
|
"div",
|
|
9091
9091
|
{
|
|
9092
9092
|
className: cn(
|
|
9093
|
-
"relative flex items-center gap-2.5 px-3 py-2.5 transition-all duration-200",
|
|
9094
|
-
|
|
9095
|
-
// Parent level styling
|
|
9096
|
-
isParent && "bg-muted/25 font-medium",
|
|
9093
|
+
"relative flex items-center gap-2.5 px-3 py-2.5 transition-all duration-200 rounded-lg",
|
|
9094
|
+
// Không phân biệt parent/child - đồng bộ màu
|
|
9097
9095
|
!viewOnly && "cursor-pointer",
|
|
9098
|
-
!viewOnly && !isSelected && "hover:bg-accent/
|
|
9099
|
-
// Selected state
|
|
9100
|
-
!viewOnly && isSelected && "bg-accent/
|
|
9096
|
+
!viewOnly && !isSelected && "hover:bg-accent/50",
|
|
9097
|
+
// Selected state - đồng bộ cho tất cả
|
|
9098
|
+
!viewOnly && isSelected && "bg-accent/40"
|
|
9101
9099
|
),
|
|
9102
9100
|
style: { paddingLeft: `${level * 1.25 + 0.75}rem` },
|
|
9103
9101
|
children: [
|