/* eslint-disable id-denylist */
import { GetStaticProps } from "next";
import { ReactNode, useState } from "react";
import Slider from "rc-slider";
import { AppLayout, AppLayoutRequired } from "components/AppLayout";
import { getLangui } from "graphql/fetchLocalData";
import { getOpenGraph } from "helpers/openGraph";
import { ContentPanel, ContentPanelWidthSizes } from "components/Containers/ContentPanel";
import { Button } from "components/Inputs/Button";
import { cJoin } from "helpers/className";
import { HorizontalLine } from "components/HorizontalLine";
import { Switch } from "components/Inputs/Switch";
import { TextInput } from "components/Inputs/TextInput";
import { Select } from "components/Inputs/Select";
import { WithLabel } from "components/Inputs/WithLabel";
import { NavOption } from "components/PanelComponents/NavOption";
import { ButtonGroup } from "components/Inputs/ButtonGroup";
import { PreviewCard } from "components/PreviewCard";
import { PreviewLine } from "components/PreviewLine";
import { ChroniclePreview } from "components/Chronicles/ChroniclePreview";
import { PreviewFolder } from "components/Contents/PreviewFolder";
/*
* ╭────────╮
* ──────────────────────────────────────────╯ PAGE ╰─────────────────────────────────────────────
*/
interface Props extends AppLayoutRequired {}
const DesignSystem = (props: Props): JSX.Element => {
const [switchState, setSwitchState] = useState(false);
const [selectState, setSelectState] = useState(0);
const [sliderState, setSliderState] = useState(5);
const [textInputState, setTextInputState] = useState("");
const [textAreaState, setTextAreaState] = useState("");
const [buttonGroupState, setButtonGroupState] = useState(0);
const contentPanel = (
Highlight Light Mid Dark Shade Black Light theme Dark theme Vollkorn Zen Maru Gothic Share Tech Mono Open Dyslexic 3XL Header H3XL Dyslexia D3XL 2XL Header H2XL Dyslexia D2XL XL Header HXL Body BXL Mono MXL Dyslexia DXL LG Header HLG Body BLG Mono MLG Dyslexia DLG B Body BB Mono MB Dyslexia DB SM Body BSM Dyslexia DSM XS Dyslexia DXS Drop shadow Black
Drop shadow
Icon Text Icon + Text Normal Active Disabled Badge Normal Active Disabled Badge Title
Title
Title
Title
Reduced Normal Border Active
Active
Disabled
Disabled
Disabled
Title Year
Year
Year
Normal Active Disabled
Disabled
Design System
Colors
Fonts
Elevations
black
Buttons
Normal sized
Small sized
Groups
Inputs
Switches
Selects
Text inputs
Text area
Slider
Down-Pressables
Navigation Options
+ Icon
+ Subtitle
+ Subtitle
+ Icon
+ Border
+ Border
+ Active
Chronology Previews
+ Month
+ Month
+ Day
Active
Up-Pressables
Preview Cards
Preview Line
Folder Card