"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));

var _react = _interopRequireDefault(require("react"));

var _Select = _interopRequireDefault(require("./Select"));

var _SelectOption = _interopRequireDefault(require("./SelectOption"));

// Copyright 1999-2020. Plesk International GmbH. All rights reserved.
const Basic = args => /*#__PURE__*/_react.default.createElement(_Select.default, args);

exports.Basic = Basic;
Basic.args = {
  children: [/*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "1"
  }, 'One'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "2"
  }, 'Two'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "3"
  }, 'Three'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "4"
  }, 'Four'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "5"
  }, 'Five'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "6"
  }, 'Six'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "7"
  }, 'Seven'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "8"
  }, 'Eight'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "9"
  }, 'Nine'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "10"
  }, 'Ten'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "11"
  }, 'Eleven'), /*#__PURE__*/_react.default.createElement(_SelectOption.default, {
    key: "12"
  }, 'Twelve')],
  'data-test': 'select'
};

const SearchableAtBottom = () => {
  return /*#__PURE__*/_react.default.createElement("div", {
    style: {
      position: 'absolute',
      left: 0,
      bottom: 0,
      padding: 16
    }
  }, /*#__PURE__*/_react.default.createElement(Basic, (0, _extends2.default)({
    searchable: true
  }, Basic.args)));
};

exports.SearchableAtBottom = SearchableAtBottom;