"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.getComboBoxTheme = void 0;var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));var _ThemeFactory = require("../../lib/theming/ThemeFactory");


var _consts = require("../themes/consts");

var getComboBoxTheme = exports.getComboBoxTheme = function getComboBoxTheme(theme, viewMode) {
  return _ThemeFactory.ThemeFactory.create((0, _extends2.default)({

    menuOffsetY: theme.comboboxMenuOffsetY },
  viewMode === 'multiline' || viewMode === 'multiline-editing' ? _consts.themeTokens5_4 : {}),

  theme
  );
};