import { Button } from "$/component/button"; import { DragAndDropFileInput, FileInput, NumberInput, OptionInput, SelectInput, TextInput } from "$/component/input"; import DangerCheckbox from "$/component/input/checkbox/DangerCheckbox"; import DarkCheckbox from "$/component/input/checkbox/DarkCheckbox"; import InfoCheckbox from "$/component/input/checkbox/InfoCheckbox"; import LightCheckbox from "$/component/input/checkbox/LightCheckbox"; import MattrixwvCheckbox from "$/component/input/checkbox/MattrixwvCheckbox"; import MoltenCheckbox from "$/component/input/checkbox/MoltenCheckbox"; import PrimaryCheckbox from "$/component/input/checkbox/PrimaryCheckbox"; import SecondaryCheckbox from "$/component/input/checkbox/SecondaryCheckbox"; import SuccessCheckbox from "$/component/input/checkbox/SuccessCheckbox"; import TertiaryCheckbox from "$/component/input/checkbox/TertiaryCheckbox"; import WarningCheckbox from "$/component/input/checkbox/WarningCheckbox"; import DangerRadioButton from "$/component/input/radio/DangerRadioButton"; import DarkRadioButton from "$/component/input/radio/DarkRadioButton"; import InfoRadioButton from "$/component/input/radio/InfoRadioButton"; import LightRadioButton from "$/component/input/radio/LightRadioButton"; import MoltenRadioButton from "$/component/input/radio/MoltenRadioButton"; import PrimaryRadioButton from "$/component/input/radio/PrimaryRadioButton"; import RadioButton from "$/component/input/radio/RadioButton"; import RadioList from "$/component/input/radio/RadioList"; import SecondaryRadioButton from "$/component/input/radio/SecondaryRadioButton"; import SuccessRadioButton from "$/component/input/radio/SuccessRadioButton"; import TertiaryRadioButton from "$/component/input/radio/TertiaryRadioButton"; import WarningRadioButton from "$/component/input/radio/WarningRadioButton"; import ButtonSwitch from "$/component/input/switch/ButtonSwitch"; import DangerSwitch from "$/component/input/switch/DangerSwitch"; import DarkSwitch from "$/component/input/switch/DarkSwitch"; import LightSwitch from "$/component/input/switch/LightSwitch"; import MattrixwvSwitch from "$/component/input/switch/MattrixwvSwitch"; import PrimarySwitch from "$/component/input/switch/PrimarySwitch"; import SecondarySwitch from "$/component/input/switch/SecondarySwitch"; import SuccessDangerSwitch from "$/component/input/switch/SuccessDangerSwitch"; import SuccessSwitch from "$/component/input/switch/SuccessSwitch"; import TertiarySwitch from "$/component/input/switch/TertiarySwitch"; import WarningSwitch from "$/component/input/switch/WarningSwitch"; import TextArea from "$/component/input/text/TextArea"; import type { MattrixwvSwitchSize } from "$/types/Input"; import { useState } from "react"; import { BsCheck, BsX } from "react-icons/bs"; export function SwitchContent(): React.ReactNode{ const sizes: MattrixwvSwitchSize[] = [ "xs", "sm", "md", "lg", "xl" ]; return (
{ sizes.map((size) => (
{size} Switch
)) }
{ sizes.map((size) => (
Off} onText="On" defaultChecked={true} > {size} Switch
)) }
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
{ sizes.map((size) => (
{size} Switch
)) }
Disabled Switch
Disabled Switch
} offNode={} />
); } function SwitchDisplay({ title, children }:{ title: React.ReactNode; children: React.ReactNode; }){ return (

{title}

{children}
); } export function TextContent(){ const selectOptions = [ {value: "1", label: "Test 1"}, {value: "2", label: "Test 2"}, {value: "3", label: "Test 3"}, {value: "4", label: "Test 4"}, {value: "5", label: "Test 5"}, {value: "6", label: "Test 6"}, {value: "7", label: "Test 7"}, {value: "8", label: "Test 8"}, {value: "9", label: "Test 9"}, {value: "10", label: "Test 10"}, {value: "11", label: "Test 11"}, {value: "12", label: "Test 12"}, {value: "13", label: "Test 13"}, {value: "14", label: "Test 14"}, {value: "15", label: "Test 15"}, {value: "16", label: "Test 16"}, {value: "17", label: "Test 17"}, {value: "18", label: "Test 18"}, {value: "19", label: "Test 19"} ]; const [ selected, setSelected ] = useState(selectOptions[0]); return (