"use strict";

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

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

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

var _Link = _interopRequireDefault(require("../Link"));

var _Button = _interopRequireDefault(require("../Button"));

var _Paragraph = _interopRequireDefault(require("../Paragraph"));

var _Popover = _interopRequireDefault(require("./Popover"));

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

exports.Basic = Basic;
Basic.args = {
  target: /*#__PURE__*/_react.default.createElement(_Link.default, {
    "data-id": "trigger"
  }, 'Trigger'),
  children: 'Content'
};

const ThreeButtons = args => /*#__PURE__*/_react.default.createElement(Basic, args);

exports.ThreeButtons = ThreeButtons;
ThreeButtons.args = { ...Basic.args,
  children: /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_Paragraph.default, null, 'Enim ea occaecat dolor veniam.'), /*#__PURE__*/_react.default.createElement(_Button.default, {
    "data-id": "button-1"
  }, 'Button 1'), /*#__PURE__*/_react.default.createElement(_Paragraph.default, null, 'Incididunt ipsum nulla officia adipisicing voluptate enim reprehenderit.'), /*#__PURE__*/_react.default.createElement(_Button.default, {
    "data-id": "button-2"
  }, 'Button 2'), " ", /*#__PURE__*/_react.default.createElement(_Button.default, {
    "data-id": "button-3"
  }, 'Button 3'), /*#__PURE__*/_react.default.createElement(_Paragraph.default, null, 'Cillum sunt nisi aute amet elit ut sit dolor in aliqua minim.'))
};

const Autofocus = args => /*#__PURE__*/_react.default.createElement(Basic, args);

exports.Autofocus = Autofocus;
Autofocus.args = { ...Basic.args,
  children: /*#__PURE__*/_react.default.createElement("input", {
    autoFocus: true
  })
};