@hexdspace/react 0.1.35 → 0.1.36
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.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3076,7 +3076,11 @@ var DropdownMenuItem = React13.forwardRef(
|
|
|
3076
3076
|
}
|
|
3077
3077
|
);
|
|
3078
3078
|
DropdownMenuItem.displayName = "DropdownMenuItem";
|
|
3079
|
-
var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) =>
|
|
3079
|
+
var DropdownMenuSeparator = React13.forwardRef(({ className, ...props }, ref) => {
|
|
3080
|
+
const orientation = React13.useContext(DropdownMenuOrientationContext);
|
|
3081
|
+
const orientationClassName = orientation === "horizontal" ? "mx-1 w-px self-stretch bg-(--divider)" : "my-1 h-px bg-(--divider)";
|
|
3082
|
+
return /* @__PURE__ */ jsx19(DropdownMenuPrimitive.Separator, { ref, className: cn(orientationClassName, className), ...props });
|
|
3083
|
+
});
|
|
3080
3084
|
DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
|
|
3081
3085
|
|
|
3082
3086
|
// src/ui/components/Kbd.tsx
|