/* * Copyright (c) 2020 - present Cloudogu GmbH * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see https://www.gnu.org/licenses/. */ import { storiesOf } from "@storybook/react"; import { MemoryRouter } from "react-router-dom"; import React, { FC, useRef, useState } from "react"; import Modal from "./Modal"; import Checkbox from "../forms/Checkbox"; import styled from "styled-components"; import ExternalLink from "../navigation/ExternalLink"; import { InputField, Radio, Textarea } from "../forms"; import { Button, ButtonGroup } from "../buttons"; import Notification from "../Notification"; import { Autocomplete } from "../index"; import { SelectValue } from "@scm-manager/ui-types"; import ActiveModalCountContext from "./activeModalCountContext"; const TopAndBottomMargin = styled.div` margin: 0.75rem 0; // only for aesthetic reasons `; const RadioList = styled.div` display: flex; flex-direction: column; > label:not(:last-child) { margin-bottom: 0.6em; } `; const text = `Mind-paralyzing change needed improbability vortex machine sorts sought same theory upending job just allows hostess’s really oblong Infinite Improbability thing into the starship against which behavior accordance.with Kakrafoon humanoid undergarment ship powered by GPP-guided bowl of petunias nothing was frequently away incredibly ordinary mob.`; const doNothing = () => { // Do nothing }; const withFormElementsBody = ( <>

{text}