@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/cjs/index.js CHANGED
@@ -4645,6 +4645,9 @@ var useDragDrop = ({
4645
4645
  }, [preDragMouseMoveHandler]);
4646
4646
  const mouseDownHandler = (0, import_react29.useCallback)(
4647
4647
  (evt) => {
4648
+ if (evt.button !== 0) {
4649
+ return;
4650
+ }
4648
4651
  const { current: container } = containerRef;
4649
4652
  evt.stopPropagation();
4650
4653
  if (container && !evt.defaultPrevented) {
@@ -7979,8 +7982,8 @@ var import_react42 = require("react");
7979
7982
  var import_jsx_runtime17 = require("react/jsx-runtime");
7980
7983
  var classBase9 = "vuuIconButton";
7981
7984
  var IconButton = (0, import_react42.forwardRef)(
7982
- function IconButton2({ "aria-label": ariaLabel, className, icon, ...buttonProps }, ref) {
7983
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_core13.Button, { ...buttonProps, className: (0, import_clsx11.default)(classBase9, className), ref, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, { "aria-label": ariaLabel, name: icon }) });
7985
+ function IconButton2({ "aria-label": ariaLabel, className, icon, size, ...buttonProps }, ref) {
7986
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_core13.Button, { ...buttonProps, className: (0, import_clsx11.default)(classBase9, className), ref, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, { "aria-label": ariaLabel, name: icon, size }) });
7984
7987
  }
7985
7988
  );
7986
7989