"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.SearchResultsWrapper = void 0;

var _styledComponents = _interopRequireDefault(require("styled-components"));

var _branding = require("../../../../mixins/branding");

var _forms = require("../../internals/forms.css-rules");

var _box = require("../../../../primitives/box");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var SearchResultsWrapper = (0, _styledComponents["default"])(_box.Box).withConfig({
  displayName: "SearchResultsWrapper",
  componentId: "sc-5bnbw3-0"
})(["display:", ";background:", ";max-height:400px;box-shadow:0px 5px 15px rgba(59,59,59,0.2);border-radius:", ";overflow-x:hidden;overflow-y:scroll;position:absolute;top:100%;left:0;width:100%;z-index:10;padding:0;"], function (_ref) {
  var isVisible = _ref.isVisible;
  return isVisible ? 'block' : 'none';
}, (0, _branding.getPaletteColor)('white'), _forms.getCardBorderRadius);
exports.SearchResultsWrapper = SearchResultsWrapper;