@vuu-ui/vuu-ui-controls 0.8.26-debug → 0.8.27-debug

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/esm/index.js CHANGED
@@ -4525,6 +4525,9 @@ var useDragDrop = ({
4525
4525
  }, [preDragMouseMoveHandler]);
4526
4526
  const mouseDownHandler = useCallback21(
4527
4527
  (evt) => {
4528
+ if (evt.button !== 0) {
4529
+ return;
4530
+ }
4528
4531
  const { current: container } = containerRef;
4529
4532
  evt.stopPropagation();
4530
4533
  if (container && !evt.defaultPrevented) {
@@ -7865,8 +7868,8 @@ import { forwardRef as forwardRef9 } from "react";
7865
7868
  import { jsx as jsx17 } from "react/jsx-runtime";
7866
7869
  var classBase9 = "vuuIconButton";
7867
7870
  var IconButton = forwardRef9(
7868
- function IconButton2({ "aria-label": ariaLabel, className, icon, ...buttonProps }, ref) {
7869
- return /* @__PURE__ */ jsx17(Button2, { ...buttonProps, className: cx11(classBase9, className), ref, children: /* @__PURE__ */ jsx17(Icon, { "aria-label": ariaLabel, name: icon }) });
7871
+ function IconButton2({ "aria-label": ariaLabel, className, icon, size, ...buttonProps }, ref) {
7872
+ return /* @__PURE__ */ jsx17(Button2, { ...buttonProps, className: cx11(classBase9, className), ref, children: /* @__PURE__ */ jsx17(Icon, { "aria-label": ariaLabel, name: icon, size }) });
7870
7873
  }
7871
7874
  );
7872
7875