"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.MoreActionsIcon = exports.MoreActions = void 0;
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
var _react = _interopRequireDefault(require("react"));
var _designSystem = require("@wix/design-system");
var _wixUiIconsCommon = require("@wix/wix-ui-icons-common");
var _mobxReactLite = require("mobx-react-lite");
var _MoreActionsBase = require("./MoreActionsBase");
var _react2 = require("@wix/bex-core/react");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/MoreActions/MoreActionsIcon.tsx";
function _MoreActionsIcon(params) {
  const {
    translate: t
  } = (0, _react2.useWixPatternsContainer)();
  return /*#__PURE__*/_react.default.createElement(_designSystem.Box
  // Box is needed to wrap the MoreActionsBase component to avoid extra gap between elements
  , {
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 15,
      columnNumber: 5
    }
  }, /*#__PURE__*/_react.default.createElement(_designSystem.Tooltip, {
    content: t('cairo.moreActions'),
    dataHook: "more-actions-tooltip",
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 18,
      columnNumber: 7
    }
  }, /*#__PURE__*/_react.default.createElement(_MoreActionsBase.MoreActionsBase, (0, _extends2.default)({}, params, {
    triggerElement: /*#__PURE__*/_react.default.createElement(_designSystem.IconButton, {
      dataHook: "more-actions-popover-button",
      priority: "secondary",
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 22,
        columnNumber: 13
      }
    }, /*#__PURE__*/_react.default.createElement(_wixUiIconsCommon.More, {
      __self: this,
      __source: {
        fileName: _jsxFileName,
        lineNumber: 26,
        columnNumber: 15
      }
    })),
    __self: this,
    __source: {
      fileName: _jsxFileName,
      lineNumber: 19,
      columnNumber: 9
    }
  }))));
}
const MoreActionsIcon = exports.MoreActionsIcon = (0, _mobxReactLite.observer)(_MoreActionsIcon);
const MoreActions = exports.MoreActions = MoreActionsIcon;
//# sourceMappingURL=MoreActionsIcon.js.map