From 7a31eade8734fcb40cdbedb03c3a914ddf5893ff Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Sun, 10 Aug 2025 23:11:56 -0400 Subject: [PATCH] Fix broken types in imported library --- lib/component/button/Button.tsx | 2 +- lib/component/button/DangerButton.tsx | 2 +- lib/component/button/DarkButton.tsx | 2 +- lib/component/button/InfoButton.tsx | 2 +- lib/component/button/LightButton.tsx | 2 +- lib/component/button/MoltenButton.tsx | 2 +- lib/component/button/PrimaryButton.tsx | 2 +- lib/component/button/SecondaryButton.tsx | 2 +- lib/component/button/SuccessButton.tsx | 2 +- lib/component/button/TertiaryButton.tsx | 2 +- lib/component/button/WarningButton.tsx | 2 +- lib/component/input/checkbox/DangerCheckbox.tsx | 2 +- lib/component/input/checkbox/DarkCheckbox.tsx | 2 +- lib/component/input/checkbox/InfoCheckbox.tsx | 2 +- lib/component/input/checkbox/LightCheckbox.tsx | 2 +- lib/component/input/checkbox/MattrixwvCheckbox.tsx | 2 +- lib/component/input/checkbox/MoltenCheckbox.tsx | 2 +- lib/component/input/checkbox/PrimaryCheckbox.tsx | 2 +- lib/component/input/checkbox/SecondaryCheckbox.tsx | 2 +- lib/component/input/checkbox/SuccessCheckbox.tsx | 2 +- lib/component/input/checkbox/TertiaryCheckbox.tsx | 2 +- lib/component/input/checkbox/WarningCheckbox.tsx | 2 +- lib/component/input/date/DateInput.tsx | 2 +- lib/component/input/date/DateTimeInput.tsx | 2 +- lib/component/input/date/TimeInput.tsx | 2 +- lib/component/input/file/DragAndDropFileInput.tsx | 2 +- lib/component/input/file/FileInput.tsx | 2 +- lib/component/input/number/NumberInput.tsx | 2 +- lib/component/input/number/NumberSlider.tsx | 2 +- lib/component/input/radio/DangerRadioButton.tsx | 2 +- lib/component/input/radio/DarkRadioButton.tsx | 2 +- lib/component/input/radio/InfoRadioButton.tsx | 2 +- lib/component/input/radio/LightRadioButton.tsx | 2 +- lib/component/input/radio/MoltenRadioButton.tsx | 2 +- lib/component/input/radio/PrimaryRadioButton.tsx | 2 +- lib/component/input/radio/RadioButton.tsx | 2 +- lib/component/input/radio/RadioList.tsx | 2 +- lib/component/input/radio/SecondaryRadioButton.tsx | 2 +- lib/component/input/radio/SuccessRadioButton.tsx | 2 +- lib/component/input/radio/TertiaryRadioButton.tsx | 2 +- lib/component/input/radio/WarningRadioButton.tsx | 2 +- lib/component/input/switch/ButtonSwitch.tsx | 2 +- lib/component/input/switch/DangerSwitch.tsx | 2 +- lib/component/input/switch/DarkSwitch.tsx | 2 +- lib/component/input/switch/LightSwitch.tsx | 2 +- lib/component/input/switch/MattrixwvSwitch.tsx | 2 +- lib/component/input/switch/PrimarySwitch.tsx | 2 +- lib/component/input/switch/SecondarySwitch.tsx | 2 +- lib/component/input/switch/SuccessDangerSwitch.tsx | 2 +- lib/component/input/switch/SuccessSwitch.tsx | 2 +- lib/component/input/switch/TertiarySwitch.tsx | 2 +- lib/component/input/switch/WarningSwitch.tsx | 2 +- lib/component/input/text/OptionInput.tsx | 2 +- lib/component/input/text/SelectInput.tsx | 2 +- lib/component/input/text/TextArea.tsx | 2 +- lib/component/input/text/TextInput.tsx | 2 +- lib/component/loading/bar/CenterGrowingBars.tsx | 2 +- lib/component/loading/bar/CircleBars.tsx | 2 +- lib/component/loading/bar/FadingBars.tsx | 2 +- lib/component/loading/bar/FadingGrowingBars.tsx | 2 +- lib/component/loading/bar/GrowingBars.tsx | 2 +- lib/component/loading/block/PulsingBlocks.tsx | 2 +- lib/component/loading/block/SlidingBlocks2.tsx | 2 +- lib/component/loading/block/SlidingBlocks3.tsx | 2 +- lib/component/loading/block/WaveBlocks.tsx | 2 +- lib/component/loading/dot/BouncingDots.tsx | 2 +- lib/component/loading/dot/CircleCenterDots.tsx | 2 +- lib/component/loading/dot/CircleFadingDots.tsx | 2 +- lib/component/loading/dot/CirclePulsingDots.tsx | 2 +- lib/component/loading/dot/CircleRotatingDots.tsx | 2 +- lib/component/loading/dot/CircleShrinkingDots.tsx | 2 +- lib/component/loading/dot/CircleSpinningDot.tsx | 2 +- lib/component/loading/dot/CyclingDots.tsx | 2 +- lib/component/loading/dot/FadingDots.tsx | 2 +- lib/component/loading/dot/PulsingDots.tsx | 2 +- lib/component/loading/dot/RotatingDots.tsx | 2 +- lib/component/loading/dot/SwellingDots.tsx | 2 +- lib/component/loading/drop/DoubleDrop.tsx | 2 +- lib/component/loading/drop/DoubleWaveDrop.tsx | 2 +- lib/component/loading/drop/Drop.tsx | 2 +- lib/component/loading/drop/QuickDrop.tsx | 2 +- lib/component/loading/drop/QuickWaveDrop.tsx | 2 +- lib/component/loading/drop/TripleDrop.tsx | 2 +- lib/component/loading/drop/TripleWaveDrop.tsx | 2 +- lib/component/loading/drop/WaveDrop.tsx | 2 +- lib/component/loading/spinner/HalfSpinner.tsx | 2 +- lib/component/loading/spinner/QuarterSpinner.tsx | 2 +- lib/component/loading/spinner/RubberSpinner.tsx | 2 +- .../loading/spinner/ThreeQuarterSpinner.tsx | 2 +- lib/component/loading/various/BouncingDot.tsx | 2 +- lib/component/loading/various/PulsingLine.tsx | 2 +- lib/component/loading/various/SpinningBinary.tsx | 2 +- lib/component/loading/various/SpinningClock.tsx | 2 +- lib/component/loading/various/SpinningEclipse.tsx | 2 +- .../loading/various/SpinningEclipseHalf.tsx | 2 +- lib/component/loading/various/SpinningGalaxy.tsx | 2 +- lib/component/loading/various/SpinningTadpole.tsx | 2 +- lib/component/loading/various/Wifi.tsx | 2 +- lib/component/message/DangerMessageBlock.tsx | 2 +- lib/component/message/DarkMessageBlock.tsx | 2 +- lib/component/message/InfoMessageBlock.tsx | 2 +- lib/component/message/LightMessageBlock.tsx | 2 +- lib/component/message/MessageBlock.tsx | 2 +- lib/component/message/MoltenMessageBlock.tsx | 2 +- lib/component/message/PrimaryMessagteBlock.tsx | 2 +- lib/component/message/SecondaryMessageBlock.tsx | 2 +- lib/component/message/SuccessMessageBlock.tsx | 2 +- lib/component/message/TertiaryMessageBlock.tsx | 2 +- lib/component/message/WarningMessageBlock.tsx | 2 +- lib/component/modal/Modal.tsx | 2 +- lib/component/modal/ModalBody.tsx | 2 +- lib/component/modal/ModalFooter.tsx | 2 +- lib/component/modal/ModalHeader.tsx | 2 +- lib/component/nav/NavBar.tsx | 2 +- lib/component/nav/PopoverMenu.tsx | 2 +- lib/component/progress/DangerProgress.tsx | 2 +- lib/component/progress/DarkProgress.tsx | 2 +- lib/component/progress/InfoProgress.tsx | 2 +- lib/component/progress/LightProgress.tsx | 2 +- lib/component/progress/MoltenProgress.tsx | 2 +- lib/component/progress/PrimaryProgress.tsx | 2 +- lib/component/progress/Progress.tsx | 2 +- lib/component/progress/SecondaryProgress.tsx | 2 +- lib/component/progress/SuccessProgress.tsx | 2 +- lib/component/progress/TertiaryProgress.tsx | 2 +- lib/component/progress/WarningProgress.tsx | 2 +- lib/component/tab/MattrixwvTab.tsx | 2 +- lib/component/tab/MattrixwvTabGroup.tsx | 2 +- lib/component/tab/MattrixwvTabList.tsx | 2 +- lib/component/tab/MattrixwvTabPanel.tsx | 2 +- lib/component/tab/MattrixwvTabPanels.tsx | 2 +- lib/component/toaster/Toaster.tsx | 2 +- lib/providers/theme/ThemeProvider.tsx | 2 +- lib/providers/toaster/ToasterProvider.tsx | 2 +- lib/types/{Button.d.ts => ButtonTypes.ts} | 0 lib/types/{Input.d.ts => InputTypes.ts} | 13 ++++++++++++- lib/types/{Loading.d.ts => LoadingTypes.ts} | 0 lib/types/{Message.d.ts => MessageTypes.ts} | 0 lib/types/{Modal.d.ts => ModalTypes.ts} | 0 lib/types/{Nav.d.ts => NavTypes.ts} | 0 lib/types/{Progress.d.ts => ProgressTypes.ts} | 0 lib/types/{Tab.d.ts => TabTypes.ts} | 0 lib/types/{Theme.d.ts => ThemeTypes.ts} | 0 lib/types/{Toaster.d.ts => ToasterTypes.ts} | 8 ++++---- package.json | 2 +- src/routes/buttons/index.tsx | 4 ++-- src/routes/input/index.tsx | 2 +- src/routes/loading/index.tsx | 2 +- src/routes/message/index.tsx | 4 ++-- src/routes/tab/index.tsx | 2 +- src/util/InputUtils.tsx | 2 +- tsconfig.lib.json | 8 +++++++- vite.config.ts | 6 +++++- 153 files changed, 171 insertions(+), 150 deletions(-) rename lib/types/{Button.d.ts => ButtonTypes.ts} (100%) rename lib/types/{Input.d.ts => InputTypes.ts} (92%) rename lib/types/{Loading.d.ts => LoadingTypes.ts} (100%) rename lib/types/{Message.d.ts => MessageTypes.ts} (100%) rename lib/types/{Modal.d.ts => ModalTypes.ts} (100%) rename lib/types/{Nav.d.ts => NavTypes.ts} (100%) rename lib/types/{Progress.d.ts => ProgressTypes.ts} (100%) rename lib/types/{Tab.d.ts => TabTypes.ts} (100%) rename lib/types/{Theme.d.ts => ThemeTypes.ts} (100%) rename lib/types/{Toaster.d.ts => ToasterTypes.ts} (55%) diff --git a/lib/component/button/Button.tsx b/lib/component/button/Button.tsx index 07ffec3..06cb2b1 100644 --- a/lib/component/button/Button.tsx +++ b/lib/component/button/Button.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; diff --git a/lib/component/button/DangerButton.tsx b/lib/component/button/DangerButton.tsx index 88e99fa..9c5e1cb 100644 --- a/lib/component/button/DangerButton.tsx +++ b/lib/component/button/DangerButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/DarkButton.tsx b/lib/component/button/DarkButton.tsx index b595096..03a03f4 100644 --- a/lib/component/button/DarkButton.tsx +++ b/lib/component/button/DarkButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/InfoButton.tsx b/lib/component/button/InfoButton.tsx index 9c6c062..6c84efe 100644 --- a/lib/component/button/InfoButton.tsx +++ b/lib/component/button/InfoButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/LightButton.tsx b/lib/component/button/LightButton.tsx index 1b51045..a4ba834 100644 --- a/lib/component/button/LightButton.tsx +++ b/lib/component/button/LightButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/MoltenButton.tsx b/lib/component/button/MoltenButton.tsx index 4ea79b9..346f46b 100644 --- a/lib/component/button/MoltenButton.tsx +++ b/lib/component/button/MoltenButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/PrimaryButton.tsx b/lib/component/button/PrimaryButton.tsx index ca390ca..d55a79e 100644 --- a/lib/component/button/PrimaryButton.tsx +++ b/lib/component/button/PrimaryButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/SecondaryButton.tsx b/lib/component/button/SecondaryButton.tsx index 04a0433..79588a5 100644 --- a/lib/component/button/SecondaryButton.tsx +++ b/lib/component/button/SecondaryButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/SuccessButton.tsx b/lib/component/button/SuccessButton.tsx index 61fe10d..f1b22c2 100644 --- a/lib/component/button/SuccessButton.tsx +++ b/lib/component/button/SuccessButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/TertiaryButton.tsx b/lib/component/button/TertiaryButton.tsx index a78e780..76328fa 100644 --- a/lib/component/button/TertiaryButton.tsx +++ b/lib/component/button/TertiaryButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/button/WarningButton.tsx b/lib/component/button/WarningButton.tsx index d0aec7c..34365b7 100644 --- a/lib/component/button/WarningButton.tsx +++ b/lib/component/button/WarningButton.tsx @@ -1,4 +1,4 @@ -import type { ButtonProps } from "$/types/Button"; +import type { ButtonProps } from "$/types/ButtonTypes"; import clsx from "clsx"; import Button from "./Button"; diff --git a/lib/component/input/checkbox/DangerCheckbox.tsx b/lib/component/input/checkbox/DangerCheckbox.tsx index 48fd252..94814ef 100644 --- a/lib/component/input/checkbox/DangerCheckbox.tsx +++ b/lib/component/input/checkbox/DangerCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/DarkCheckbox.tsx b/lib/component/input/checkbox/DarkCheckbox.tsx index 2915f20..4cc34d8 100644 --- a/lib/component/input/checkbox/DarkCheckbox.tsx +++ b/lib/component/input/checkbox/DarkCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/InfoCheckbox.tsx b/lib/component/input/checkbox/InfoCheckbox.tsx index d6cb9b9..719de6f 100644 --- a/lib/component/input/checkbox/InfoCheckbox.tsx +++ b/lib/component/input/checkbox/InfoCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/LightCheckbox.tsx b/lib/component/input/checkbox/LightCheckbox.tsx index 5934e13..639f9a4 100644 --- a/lib/component/input/checkbox/LightCheckbox.tsx +++ b/lib/component/input/checkbox/LightCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/MattrixwvCheckbox.tsx b/lib/component/input/checkbox/MattrixwvCheckbox.tsx index 67a3435..1292067 100644 --- a/lib/component/input/checkbox/MattrixwvCheckbox.tsx +++ b/lib/component/input/checkbox/MattrixwvCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import { Checkbox } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/component/input/checkbox/MoltenCheckbox.tsx b/lib/component/input/checkbox/MoltenCheckbox.tsx index e343e71..f91ff07 100644 --- a/lib/component/input/checkbox/MoltenCheckbox.tsx +++ b/lib/component/input/checkbox/MoltenCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/PrimaryCheckbox.tsx b/lib/component/input/checkbox/PrimaryCheckbox.tsx index 6cd01d2..6627baa 100644 --- a/lib/component/input/checkbox/PrimaryCheckbox.tsx +++ b/lib/component/input/checkbox/PrimaryCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/SecondaryCheckbox.tsx b/lib/component/input/checkbox/SecondaryCheckbox.tsx index cf7e67c..a5d14aa 100644 --- a/lib/component/input/checkbox/SecondaryCheckbox.tsx +++ b/lib/component/input/checkbox/SecondaryCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/SuccessCheckbox.tsx b/lib/component/input/checkbox/SuccessCheckbox.tsx index 25fd089..6cff36f 100644 --- a/lib/component/input/checkbox/SuccessCheckbox.tsx +++ b/lib/component/input/checkbox/SuccessCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/TertiaryCheckbox.tsx b/lib/component/input/checkbox/TertiaryCheckbox.tsx index 3cdc986..d19fadf 100644 --- a/lib/component/input/checkbox/TertiaryCheckbox.tsx +++ b/lib/component/input/checkbox/TertiaryCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/checkbox/WarningCheckbox.tsx b/lib/component/input/checkbox/WarningCheckbox.tsx index 34ce563..93a161e 100644 --- a/lib/component/input/checkbox/WarningCheckbox.tsx +++ b/lib/component/input/checkbox/WarningCheckbox.tsx @@ -1,4 +1,4 @@ -import type { CheckboxProps } from "$/types/Input"; +import type { CheckboxProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvCheckbox from "./MattrixwvCheckbox"; diff --git a/lib/component/input/date/DateInput.tsx b/lib/component/input/date/DateInput.tsx index 57f78bc..35dd999 100644 --- a/lib/component/input/date/DateInput.tsx +++ b/lib/component/input/date/DateInput.tsx @@ -1,4 +1,4 @@ -import type { DateInputProps } from "$/types/Input"; +import type { DateInputProps } from "$/types/InputTypes"; import clsx from "clsx"; import moment from "moment"; diff --git a/lib/component/input/date/DateTimeInput.tsx b/lib/component/input/date/DateTimeInput.tsx index 0c1b3d5..d1f1af0 100644 --- a/lib/component/input/date/DateTimeInput.tsx +++ b/lib/component/input/date/DateTimeInput.tsx @@ -1,4 +1,4 @@ -import type { DateInputProps } from "$/types/Input"; +import type { DateInputProps } from "$/types/InputTypes"; import clsx from "clsx"; import moment from "moment"; diff --git a/lib/component/input/date/TimeInput.tsx b/lib/component/input/date/TimeInput.tsx index 0104d4c..52eb33c 100644 --- a/lib/component/input/date/TimeInput.tsx +++ b/lib/component/input/date/TimeInput.tsx @@ -1,4 +1,4 @@ -import type { DateInputProps } from "$/types/Input"; +import type { DateInputProps } from "$/types/InputTypes"; import clsx from "clsx"; import moment from "moment"; diff --git a/lib/component/input/file/DragAndDropFileInput.tsx b/lib/component/input/file/DragAndDropFileInput.tsx index 9724ea9..2ea4f5b 100644 --- a/lib/component/input/file/DragAndDropFileInput.tsx +++ b/lib/component/input/file/DragAndDropFileInput.tsx @@ -1,4 +1,4 @@ -import type { FileInputProps } from "$/types/Input"; +import type { FileInputProps } from "$/types/InputTypes"; import { humanReadableBytes } from "$/util/FileUtil"; import clsx from "clsx"; import { useEffect, useRef, useState } from "react"; diff --git a/lib/component/input/file/FileInput.tsx b/lib/component/input/file/FileInput.tsx index b15ab24..1d20f6a 100644 --- a/lib/component/input/file/FileInput.tsx +++ b/lib/component/input/file/FileInput.tsx @@ -1,5 +1,5 @@ import { SecondaryButton } from "$/component/button"; -import type { FileInputProps } from "$/types/Input"; +import type { FileInputProps } from "$/types/InputTypes"; import { humanReadableBytes } from "$/util/FileUtil"; import clsx from "clsx"; import { useRef, useState } from "react"; diff --git a/lib/component/input/number/NumberInput.tsx b/lib/component/input/number/NumberInput.tsx index d1ff672..60bdbf5 100644 --- a/lib/component/input/number/NumberInput.tsx +++ b/lib/component/input/number/NumberInput.tsx @@ -1,4 +1,4 @@ -import type { NumberInputProps } from "$/types/Input"; +import type { NumberInputProps } from "$/types/InputTypes"; import clsx from "clsx"; diff --git a/lib/component/input/number/NumberSlider.tsx b/lib/component/input/number/NumberSlider.tsx index 4b0ea45..64007d7 100644 --- a/lib/component/input/number/NumberSlider.tsx +++ b/lib/component/input/number/NumberSlider.tsx @@ -1,4 +1,4 @@ -import type { NumberSliderProps } from "$/types/Input"; +import type { NumberSliderProps } from "$/types/InputTypes"; import clsx from "clsx"; diff --git a/lib/component/input/radio/DangerRadioButton.tsx b/lib/component/input/radio/DangerRadioButton.tsx index 89e395b..aaf2b5b 100644 --- a/lib/component/input/radio/DangerRadioButton.tsx +++ b/lib/component/input/radio/DangerRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/DarkRadioButton.tsx b/lib/component/input/radio/DarkRadioButton.tsx index 08de5a7..28e12ff 100644 --- a/lib/component/input/radio/DarkRadioButton.tsx +++ b/lib/component/input/radio/DarkRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/InfoRadioButton.tsx b/lib/component/input/radio/InfoRadioButton.tsx index e2cfe93..f803359 100644 --- a/lib/component/input/radio/InfoRadioButton.tsx +++ b/lib/component/input/radio/InfoRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/LightRadioButton.tsx b/lib/component/input/radio/LightRadioButton.tsx index 85dac2a..459cf9c 100644 --- a/lib/component/input/radio/LightRadioButton.tsx +++ b/lib/component/input/radio/LightRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/MoltenRadioButton.tsx b/lib/component/input/radio/MoltenRadioButton.tsx index cb28b02..61a80ad 100644 --- a/lib/component/input/radio/MoltenRadioButton.tsx +++ b/lib/component/input/radio/MoltenRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/PrimaryRadioButton.tsx b/lib/component/input/radio/PrimaryRadioButton.tsx index 3b1eb05..e3ad7d4 100644 --- a/lib/component/input/radio/PrimaryRadioButton.tsx +++ b/lib/component/input/radio/PrimaryRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/RadioButton.tsx b/lib/component/input/radio/RadioButton.tsx index e51956a..94d68d5 100644 --- a/lib/component/input/radio/RadioButton.tsx +++ b/lib/component/input/radio/RadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import { Radio } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/component/input/radio/RadioList.tsx b/lib/component/input/radio/RadioList.tsx index 54c1998..fd8b32a 100644 --- a/lib/component/input/radio/RadioList.tsx +++ b/lib/component/input/radio/RadioList.tsx @@ -1,4 +1,4 @@ -import type { RadioListProps } from "$/types/Input"; +import type { RadioListProps } from "$/types/InputTypes"; import { RadioGroup } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/component/input/radio/SecondaryRadioButton.tsx b/lib/component/input/radio/SecondaryRadioButton.tsx index 2518d70..c6037d6 100644 --- a/lib/component/input/radio/SecondaryRadioButton.tsx +++ b/lib/component/input/radio/SecondaryRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/SuccessRadioButton.tsx b/lib/component/input/radio/SuccessRadioButton.tsx index 88b3708..df0167a 100644 --- a/lib/component/input/radio/SuccessRadioButton.tsx +++ b/lib/component/input/radio/SuccessRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/TertiaryRadioButton.tsx b/lib/component/input/radio/TertiaryRadioButton.tsx index a97f9c9..83edeb6 100644 --- a/lib/component/input/radio/TertiaryRadioButton.tsx +++ b/lib/component/input/radio/TertiaryRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/radio/WarningRadioButton.tsx b/lib/component/input/radio/WarningRadioButton.tsx index 1c5a59d..9d7270a 100644 --- a/lib/component/input/radio/WarningRadioButton.tsx +++ b/lib/component/input/radio/WarningRadioButton.tsx @@ -1,4 +1,4 @@ -import type { RadioButtonProps } from "$/types/Input"; +import type { RadioButtonProps } from "$/types/InputTypes"; import clsx from "clsx"; import RadioButton from "./RadioButton"; diff --git a/lib/component/input/switch/ButtonSwitch.tsx b/lib/component/input/switch/ButtonSwitch.tsx index e366aeb..604969d 100644 --- a/lib/component/input/switch/ButtonSwitch.tsx +++ b/lib/component/input/switch/ButtonSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvButtonSwitchProps } from "$/types/Input"; +import type { MattrixwvButtonSwitchProps } from "$/types/InputTypes"; import { Switch } from "@headlessui/react"; diff --git a/lib/component/input/switch/DangerSwitch.tsx b/lib/component/input/switch/DangerSwitch.tsx index 47ba406..33f1849 100644 --- a/lib/component/input/switch/DangerSwitch.tsx +++ b/lib/component/input/switch/DangerSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/DarkSwitch.tsx b/lib/component/input/switch/DarkSwitch.tsx index 442cce0..4298039 100644 --- a/lib/component/input/switch/DarkSwitch.tsx +++ b/lib/component/input/switch/DarkSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/LightSwitch.tsx b/lib/component/input/switch/LightSwitch.tsx index a9350ee..c533297 100644 --- a/lib/component/input/switch/LightSwitch.tsx +++ b/lib/component/input/switch/LightSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/MattrixwvSwitch.tsx b/lib/component/input/switch/MattrixwvSwitch.tsx index d248f6f..aaa2704 100644 --- a/lib/component/input/switch/MattrixwvSwitch.tsx +++ b/lib/component/input/switch/MattrixwvSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import { Field, Label, Switch } from "@headlessui/react"; import clsx from "clsx"; import { Fragment } from "react/jsx-runtime"; diff --git a/lib/component/input/switch/PrimarySwitch.tsx b/lib/component/input/switch/PrimarySwitch.tsx index c533442..f9d324e 100644 --- a/lib/component/input/switch/PrimarySwitch.tsx +++ b/lib/component/input/switch/PrimarySwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/SecondarySwitch.tsx b/lib/component/input/switch/SecondarySwitch.tsx index d568bc2..d0f5c07 100644 --- a/lib/component/input/switch/SecondarySwitch.tsx +++ b/lib/component/input/switch/SecondarySwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/SuccessDangerSwitch.tsx b/lib/component/input/switch/SuccessDangerSwitch.tsx index c097279..11380d0 100644 --- a/lib/component/input/switch/SuccessDangerSwitch.tsx +++ b/lib/component/input/switch/SuccessDangerSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/SuccessSwitch.tsx b/lib/component/input/switch/SuccessSwitch.tsx index 1c45142..bbbae08 100644 --- a/lib/component/input/switch/SuccessSwitch.tsx +++ b/lib/component/input/switch/SuccessSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/TertiarySwitch.tsx b/lib/component/input/switch/TertiarySwitch.tsx index 9a3e3f5..2d7ee51 100644 --- a/lib/component/input/switch/TertiarySwitch.tsx +++ b/lib/component/input/switch/TertiarySwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/switch/WarningSwitch.tsx b/lib/component/input/switch/WarningSwitch.tsx index 7c276d3..958ed57 100644 --- a/lib/component/input/switch/WarningSwitch.tsx +++ b/lib/component/input/switch/WarningSwitch.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvSwitchProps } from "$/types/Input"; +import type { MattrixwvSwitchProps } from "$/types/InputTypes"; import clsx from "clsx"; import MattrixwvSwitch from "./MattrixwvSwitch"; diff --git a/lib/component/input/text/OptionInput.tsx b/lib/component/input/text/OptionInput.tsx index ea87dfb..6079ff9 100644 --- a/lib/component/input/text/OptionInput.tsx +++ b/lib/component/input/text/OptionInput.tsx @@ -1,4 +1,4 @@ -import type { OptionInputProps } from "$/types/Input"; +import type { OptionInputProps } from "$/types/InputTypes"; import { ListboxOption } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/component/input/text/SelectInput.tsx b/lib/component/input/text/SelectInput.tsx index 19ad8e4..786806f 100644 --- a/lib/component/input/text/SelectInput.tsx +++ b/lib/component/input/text/SelectInput.tsx @@ -1,4 +1,4 @@ -import type { SelectInputProps } from "$/types/Input"; +import type { SelectInputProps } from "$/types/InputTypes"; import { Listbox, ListboxButton, ListboxOptions } from "@headlessui/react"; import clsx from "clsx"; import { BsChevronDown } from "react-icons/bs"; diff --git a/lib/component/input/text/TextArea.tsx b/lib/component/input/text/TextArea.tsx index 80314f5..e2c4d8c 100644 --- a/lib/component/input/text/TextArea.tsx +++ b/lib/component/input/text/TextArea.tsx @@ -1,4 +1,4 @@ -import type { TextAreaProps } from "$/types/Input"; +import type { TextAreaProps } from "$/types/InputTypes"; import clsx from "clsx"; diff --git a/lib/component/input/text/TextInput.tsx b/lib/component/input/text/TextInput.tsx index f25d172..fd57bd3 100644 --- a/lib/component/input/text/TextInput.tsx +++ b/lib/component/input/text/TextInput.tsx @@ -1,4 +1,4 @@ -import type { TextInputProps } from "$/types/Input"; +import type { TextInputProps } from "$/types/InputTypes"; import clsx from "clsx"; diff --git a/lib/component/loading/bar/CenterGrowingBars.tsx b/lib/component/loading/bar/CenterGrowingBars.tsx index d3a137d..526690e 100644 --- a/lib/component/loading/bar/CenterGrowingBars.tsx +++ b/lib/component/loading/bar/CenterGrowingBars.tsx @@ -1,4 +1,4 @@ -import type { LoadingBarsProps } from "$/types/Loading"; +import type { LoadingBarsProps } from "$/types/LoadingTypes"; export default function CenterGrowingBars({ diff --git a/lib/component/loading/bar/CircleBars.tsx b/lib/component/loading/bar/CircleBars.tsx index 53368a8..b7ef7de 100644 --- a/lib/component/loading/bar/CircleBars.tsx +++ b/lib/component/loading/bar/CircleBars.tsx @@ -1,4 +1,4 @@ -import type { LoadingBarsProps } from "$/types/Loading"; +import type { LoadingBarsProps } from "$/types/LoadingTypes"; export default function CircleBars({ diff --git a/lib/component/loading/bar/FadingBars.tsx b/lib/component/loading/bar/FadingBars.tsx index bb37bf8..221bd94 100644 --- a/lib/component/loading/bar/FadingBars.tsx +++ b/lib/component/loading/bar/FadingBars.tsx @@ -1,4 +1,4 @@ -import type { LoadingBarsProps } from "$/types/Loading"; +import type { LoadingBarsProps } from "$/types/LoadingTypes"; export default function FadingBars({ diff --git a/lib/component/loading/bar/FadingGrowingBars.tsx b/lib/component/loading/bar/FadingGrowingBars.tsx index e258c5e..7a04fce 100644 --- a/lib/component/loading/bar/FadingGrowingBars.tsx +++ b/lib/component/loading/bar/FadingGrowingBars.tsx @@ -1,4 +1,4 @@ -import type { LoadingBarsProps } from "$/types/Loading"; +import type { LoadingBarsProps } from "$/types/LoadingTypes"; export default function FadingGrowingBars({ diff --git a/lib/component/loading/bar/GrowingBars.tsx b/lib/component/loading/bar/GrowingBars.tsx index 0cc40e6..444c453 100644 --- a/lib/component/loading/bar/GrowingBars.tsx +++ b/lib/component/loading/bar/GrowingBars.tsx @@ -1,4 +1,4 @@ -import type { LoadingBarsProps } from "$/types/Loading"; +import type { LoadingBarsProps } from "$/types/LoadingTypes"; export default function GrowingBars({ diff --git a/lib/component/loading/block/PulsingBlocks.tsx b/lib/component/loading/block/PulsingBlocks.tsx index a399804..0ae96b5 100644 --- a/lib/component/loading/block/PulsingBlocks.tsx +++ b/lib/component/loading/block/PulsingBlocks.tsx @@ -1,4 +1,4 @@ -import type { LoadingBlocksProps } from "$/types/Loading"; +import type { LoadingBlocksProps } from "$/types/LoadingTypes"; export default function PulsingBlocks({ diff --git a/lib/component/loading/block/SlidingBlocks2.tsx b/lib/component/loading/block/SlidingBlocks2.tsx index 957305a..e145829 100644 --- a/lib/component/loading/block/SlidingBlocks2.tsx +++ b/lib/component/loading/block/SlidingBlocks2.tsx @@ -1,4 +1,4 @@ -import type { LoadingBlocksProps } from "$/types/Loading"; +import type { LoadingBlocksProps } from "$/types/LoadingTypes"; export default function SlidingBlocks2({ diff --git a/lib/component/loading/block/SlidingBlocks3.tsx b/lib/component/loading/block/SlidingBlocks3.tsx index 35a5b71..81026df 100644 --- a/lib/component/loading/block/SlidingBlocks3.tsx +++ b/lib/component/loading/block/SlidingBlocks3.tsx @@ -1,4 +1,4 @@ -import type { LoadingBlocksProps } from "$/types/Loading"; +import type { LoadingBlocksProps } from "$/types/LoadingTypes"; export default function SlidingBlocks3({ diff --git a/lib/component/loading/block/WaveBlocks.tsx b/lib/component/loading/block/WaveBlocks.tsx index a094a78..810e1f3 100644 --- a/lib/component/loading/block/WaveBlocks.tsx +++ b/lib/component/loading/block/WaveBlocks.tsx @@ -1,4 +1,4 @@ -import type { LoadingBlocksProps } from "$/types/Loading"; +import type { LoadingBlocksProps } from "$/types/LoadingTypes"; export default function WaveBlocks({ diff --git a/lib/component/loading/dot/BouncingDots.tsx b/lib/component/loading/dot/BouncingDots.tsx index a8030f6..2b0dfda 100644 --- a/lib/component/loading/dot/BouncingDots.tsx +++ b/lib/component/loading/dot/BouncingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function BouncingDots({ diff --git a/lib/component/loading/dot/CircleCenterDots.tsx b/lib/component/loading/dot/CircleCenterDots.tsx index 4c96632..659b691 100644 --- a/lib/component/loading/dot/CircleCenterDots.tsx +++ b/lib/component/loading/dot/CircleCenterDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function CircleCenterDots({ diff --git a/lib/component/loading/dot/CircleFadingDots.tsx b/lib/component/loading/dot/CircleFadingDots.tsx index 4e58a45..5cea1a2 100644 --- a/lib/component/loading/dot/CircleFadingDots.tsx +++ b/lib/component/loading/dot/CircleFadingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function CircleFadingDots({ diff --git a/lib/component/loading/dot/CirclePulsingDots.tsx b/lib/component/loading/dot/CirclePulsingDots.tsx index 18682d8..b078646 100644 --- a/lib/component/loading/dot/CirclePulsingDots.tsx +++ b/lib/component/loading/dot/CirclePulsingDots.tsx @@ -1,4 +1,4 @@ -import type { CirclePulsingDotsProps } from "$/types/Loading"; +import type { CirclePulsingDotsProps } from "$/types/LoadingTypes"; export default function CirclePulsingDots({ diff --git a/lib/component/loading/dot/CircleRotatingDots.tsx b/lib/component/loading/dot/CircleRotatingDots.tsx index b4e51d9..b666666 100644 --- a/lib/component/loading/dot/CircleRotatingDots.tsx +++ b/lib/component/loading/dot/CircleRotatingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function CircleRotatingDots({ diff --git a/lib/component/loading/dot/CircleShrinkingDots.tsx b/lib/component/loading/dot/CircleShrinkingDots.tsx index 3213c1f..12055f2 100644 --- a/lib/component/loading/dot/CircleShrinkingDots.tsx +++ b/lib/component/loading/dot/CircleShrinkingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function CircleShrinkingDots({ diff --git a/lib/component/loading/dot/CircleSpinningDot.tsx b/lib/component/loading/dot/CircleSpinningDot.tsx index ee04919..d22cf1e 100644 --- a/lib/component/loading/dot/CircleSpinningDot.tsx +++ b/lib/component/loading/dot/CircleSpinningDot.tsx @@ -1,4 +1,4 @@ -import type { CircleSpinningDotProps } from "$/types/Loading"; +import type { CircleSpinningDotProps } from "$/types/LoadingTypes"; export default function CircleSpinningDot({ width, diff --git a/lib/component/loading/dot/CyclingDots.tsx b/lib/component/loading/dot/CyclingDots.tsx index e1ec927..56eb659 100644 --- a/lib/component/loading/dot/CyclingDots.tsx +++ b/lib/component/loading/dot/CyclingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function CyclingDots({ diff --git a/lib/component/loading/dot/FadingDots.tsx b/lib/component/loading/dot/FadingDots.tsx index 4bb38f3..fd097ee 100644 --- a/lib/component/loading/dot/FadingDots.tsx +++ b/lib/component/loading/dot/FadingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function FadingDots({ diff --git a/lib/component/loading/dot/PulsingDots.tsx b/lib/component/loading/dot/PulsingDots.tsx index e253ecd..1359c3e 100644 --- a/lib/component/loading/dot/PulsingDots.tsx +++ b/lib/component/loading/dot/PulsingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function PulsingDots({ diff --git a/lib/component/loading/dot/RotatingDots.tsx b/lib/component/loading/dot/RotatingDots.tsx index 1a05483..ce490e5 100644 --- a/lib/component/loading/dot/RotatingDots.tsx +++ b/lib/component/loading/dot/RotatingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function RotatingDots({ width, diff --git a/lib/component/loading/dot/SwellingDots.tsx b/lib/component/loading/dot/SwellingDots.tsx index ffe7fca..bfe03f3 100644 --- a/lib/component/loading/dot/SwellingDots.tsx +++ b/lib/component/loading/dot/SwellingDots.tsx @@ -1,4 +1,4 @@ -import type { LoadingDotsProps } from "$/types/Loading"; +import type { LoadingDotsProps } from "$/types/LoadingTypes"; export default function SwellingDots({ diff --git a/lib/component/loading/drop/DoubleDrop.tsx b/lib/component/loading/drop/DoubleDrop.tsx index d157f4f..4d99c89 100644 --- a/lib/component/loading/drop/DoubleDrop.tsx +++ b/lib/component/loading/drop/DoubleDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function DoubleDrop({ diff --git a/lib/component/loading/drop/DoubleWaveDrop.tsx b/lib/component/loading/drop/DoubleWaveDrop.tsx index 012382e..971f8f6 100644 --- a/lib/component/loading/drop/DoubleWaveDrop.tsx +++ b/lib/component/loading/drop/DoubleWaveDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function DoubleWaveDrop({ diff --git a/lib/component/loading/drop/Drop.tsx b/lib/component/loading/drop/Drop.tsx index fd8673a..88fea9f 100644 --- a/lib/component/loading/drop/Drop.tsx +++ b/lib/component/loading/drop/Drop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function Drop({ diff --git a/lib/component/loading/drop/QuickDrop.tsx b/lib/component/loading/drop/QuickDrop.tsx index a3879bb..edac44b 100644 --- a/lib/component/loading/drop/QuickDrop.tsx +++ b/lib/component/loading/drop/QuickDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function QuickDrop({ diff --git a/lib/component/loading/drop/QuickWaveDrop.tsx b/lib/component/loading/drop/QuickWaveDrop.tsx index 78fa879..0daa8f0 100644 --- a/lib/component/loading/drop/QuickWaveDrop.tsx +++ b/lib/component/loading/drop/QuickWaveDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function QuickWaveDrop({ diff --git a/lib/component/loading/drop/TripleDrop.tsx b/lib/component/loading/drop/TripleDrop.tsx index ddee583..1a52b70 100644 --- a/lib/component/loading/drop/TripleDrop.tsx +++ b/lib/component/loading/drop/TripleDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function TripleDrop({ diff --git a/lib/component/loading/drop/TripleWaveDrop.tsx b/lib/component/loading/drop/TripleWaveDrop.tsx index ea20156..fc5e0d9 100644 --- a/lib/component/loading/drop/TripleWaveDrop.tsx +++ b/lib/component/loading/drop/TripleWaveDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function TripleWaveDrop({ diff --git a/lib/component/loading/drop/WaveDrop.tsx b/lib/component/loading/drop/WaveDrop.tsx index 1bd3563..bacb664 100644 --- a/lib/component/loading/drop/WaveDrop.tsx +++ b/lib/component/loading/drop/WaveDrop.tsx @@ -1,4 +1,4 @@ -import type { LoadingPulseProps } from "$/types/Loading"; +import type { LoadingPulseProps } from "$/types/LoadingTypes"; export default function WaveDrop({ diff --git a/lib/component/loading/spinner/HalfSpinner.tsx b/lib/component/loading/spinner/HalfSpinner.tsx index a3a39a0..81623e6 100644 --- a/lib/component/loading/spinner/HalfSpinner.tsx +++ b/lib/component/loading/spinner/HalfSpinner.tsx @@ -1,4 +1,4 @@ -import type { LoadingSpinnerProps } from "$/types/Loading"; +import type { LoadingSpinnerProps } from "$/types/LoadingTypes"; export default function HalfSpinner({ diff --git a/lib/component/loading/spinner/QuarterSpinner.tsx b/lib/component/loading/spinner/QuarterSpinner.tsx index 32b6de9..be7ef5c 100644 --- a/lib/component/loading/spinner/QuarterSpinner.tsx +++ b/lib/component/loading/spinner/QuarterSpinner.tsx @@ -1,4 +1,4 @@ -import type { LoadingSpinnerProps } from "$/types/Loading"; +import type { LoadingSpinnerProps } from "$/types/LoadingTypes"; export default function QuarterSpinner({ diff --git a/lib/component/loading/spinner/RubberSpinner.tsx b/lib/component/loading/spinner/RubberSpinner.tsx index f932da6..ea63db4 100644 --- a/lib/component/loading/spinner/RubberSpinner.tsx +++ b/lib/component/loading/spinner/RubberSpinner.tsx @@ -1,4 +1,4 @@ -import type { RubberLoadingSpinnerProps } from "$/types/Loading"; +import type { RubberLoadingSpinnerProps } from "$/types/LoadingTypes"; export default function RubberSpinner({ diff --git a/lib/component/loading/spinner/ThreeQuarterSpinner.tsx b/lib/component/loading/spinner/ThreeQuarterSpinner.tsx index 80f0a2e..0d8ef79 100644 --- a/lib/component/loading/spinner/ThreeQuarterSpinner.tsx +++ b/lib/component/loading/spinner/ThreeQuarterSpinner.tsx @@ -1,4 +1,4 @@ -import type { LoadingSpinnerProps } from "$/types/Loading"; +import type { LoadingSpinnerProps } from "$/types/LoadingTypes"; export default function ThreeQuarterSpinner({ diff --git a/lib/component/loading/various/BouncingDot.tsx b/lib/component/loading/various/BouncingDot.tsx index 638fbd0..5498b69 100644 --- a/lib/component/loading/various/BouncingDot.tsx +++ b/lib/component/loading/various/BouncingDot.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function BouncingDot({ diff --git a/lib/component/loading/various/PulsingLine.tsx b/lib/component/loading/various/PulsingLine.tsx index 4b9cb75..dbe8247 100644 --- a/lib/component/loading/various/PulsingLine.tsx +++ b/lib/component/loading/various/PulsingLine.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function PulsingLine({ diff --git a/lib/component/loading/various/SpinningBinary.tsx b/lib/component/loading/various/SpinningBinary.tsx index beee42b..d8ccfde 100644 --- a/lib/component/loading/various/SpinningBinary.tsx +++ b/lib/component/loading/various/SpinningBinary.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function SpinningBinary({ diff --git a/lib/component/loading/various/SpinningClock.tsx b/lib/component/loading/various/SpinningClock.tsx index d9db0ef..6f4e935 100644 --- a/lib/component/loading/various/SpinningClock.tsx +++ b/lib/component/loading/various/SpinningClock.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function SpinningClock({ diff --git a/lib/component/loading/various/SpinningEclipse.tsx b/lib/component/loading/various/SpinningEclipse.tsx index 5841c1a..c7991b3 100644 --- a/lib/component/loading/various/SpinningEclipse.tsx +++ b/lib/component/loading/various/SpinningEclipse.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function SpinningEclipse({ diff --git a/lib/component/loading/various/SpinningEclipseHalf.tsx b/lib/component/loading/various/SpinningEclipseHalf.tsx index d1587ae..b7ea53f 100644 --- a/lib/component/loading/various/SpinningEclipseHalf.tsx +++ b/lib/component/loading/various/SpinningEclipseHalf.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function SpinningEclipseHalf({ diff --git a/lib/component/loading/various/SpinningGalaxy.tsx b/lib/component/loading/various/SpinningGalaxy.tsx index dc678a8..ac6a48c 100644 --- a/lib/component/loading/various/SpinningGalaxy.tsx +++ b/lib/component/loading/various/SpinningGalaxy.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function SpinningGalaxy({ diff --git a/lib/component/loading/various/SpinningTadpole.tsx b/lib/component/loading/various/SpinningTadpole.tsx index 9719fc8..9cdd4e6 100644 --- a/lib/component/loading/various/SpinningTadpole.tsx +++ b/lib/component/loading/various/SpinningTadpole.tsx @@ -1,4 +1,4 @@ -import type { LoadingVariousProps } from "$/types/Loading"; +import type { LoadingVariousProps } from "$/types/LoadingTypes"; export default function SpinningTadpole({ diff --git a/lib/component/loading/various/Wifi.tsx b/lib/component/loading/various/Wifi.tsx index 350c309..c1de083 100644 --- a/lib/component/loading/various/Wifi.tsx +++ b/lib/component/loading/various/Wifi.tsx @@ -1,4 +1,4 @@ -import type { LoadingWifiProps } from "$/types/Loading"; +import type { LoadingWifiProps } from "$/types/LoadingTypes"; export default function Wifi({ diff --git a/lib/component/message/DangerMessageBlock.tsx b/lib/component/message/DangerMessageBlock.tsx index 791ef27..d6619b1 100644 --- a/lib/component/message/DangerMessageBlock.tsx +++ b/lib/component/message/DangerMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/DarkMessageBlock.tsx b/lib/component/message/DarkMessageBlock.tsx index fb5a878..2523e7b 100644 --- a/lib/component/message/DarkMessageBlock.tsx +++ b/lib/component/message/DarkMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/InfoMessageBlock.tsx b/lib/component/message/InfoMessageBlock.tsx index 022a21c..3d0c2e7 100644 --- a/lib/component/message/InfoMessageBlock.tsx +++ b/lib/component/message/InfoMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/LightMessageBlock.tsx b/lib/component/message/LightMessageBlock.tsx index 51aa342..c0e6c6b 100644 --- a/lib/component/message/LightMessageBlock.tsx +++ b/lib/component/message/LightMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/MessageBlock.tsx b/lib/component/message/MessageBlock.tsx index 4b1f7fa..f54bef1 100644 --- a/lib/component/message/MessageBlock.tsx +++ b/lib/component/message/MessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; diff --git a/lib/component/message/MoltenMessageBlock.tsx b/lib/component/message/MoltenMessageBlock.tsx index ecd1780..5bbb1cc 100644 --- a/lib/component/message/MoltenMessageBlock.tsx +++ b/lib/component/message/MoltenMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/PrimaryMessagteBlock.tsx b/lib/component/message/PrimaryMessagteBlock.tsx index 282e4d7..cbf9425 100644 --- a/lib/component/message/PrimaryMessagteBlock.tsx +++ b/lib/component/message/PrimaryMessagteBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/SecondaryMessageBlock.tsx b/lib/component/message/SecondaryMessageBlock.tsx index c77010f..82dd4d8 100644 --- a/lib/component/message/SecondaryMessageBlock.tsx +++ b/lib/component/message/SecondaryMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/SuccessMessageBlock.tsx b/lib/component/message/SuccessMessageBlock.tsx index 3eb6132..7a9ce9e 100644 --- a/lib/component/message/SuccessMessageBlock.tsx +++ b/lib/component/message/SuccessMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/TertiaryMessageBlock.tsx b/lib/component/message/TertiaryMessageBlock.tsx index 3c02aba..6f41d67 100644 --- a/lib/component/message/TertiaryMessageBlock.tsx +++ b/lib/component/message/TertiaryMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/message/WarningMessageBlock.tsx b/lib/component/message/WarningMessageBlock.tsx index 7ef66b9..6bb64d5 100644 --- a/lib/component/message/WarningMessageBlock.tsx +++ b/lib/component/message/WarningMessageBlock.tsx @@ -1,4 +1,4 @@ -import type { MessageBlockProps } from "$/types/Message"; +import type { MessageBlockProps } from "$/types/MessageTypes"; import clsx from "clsx"; import MessageBlock from "./MessageBlock"; diff --git a/lib/component/modal/Modal.tsx b/lib/component/modal/Modal.tsx index 727924e..3c40541 100644 --- a/lib/component/modal/Modal.tsx +++ b/lib/component/modal/Modal.tsx @@ -1,4 +1,4 @@ -import type { ModalProps } from "$/types/Modal"; +import type { ModalProps } from "$/types/ModalTypes"; import { Dialog, DialogBackdrop, DialogPanel } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/component/modal/ModalBody.tsx b/lib/component/modal/ModalBody.tsx index 19c3a86..ae89e8d 100644 --- a/lib/component/modal/ModalBody.tsx +++ b/lib/component/modal/ModalBody.tsx @@ -1,4 +1,4 @@ -import type { ModalBodyProps } from "$/types/Modal"; +import type { ModalBodyProps } from "$/types/ModalTypes"; import clsx from "clsx"; diff --git a/lib/component/modal/ModalFooter.tsx b/lib/component/modal/ModalFooter.tsx index cc8df32..a85fcb2 100644 --- a/lib/component/modal/ModalFooter.tsx +++ b/lib/component/modal/ModalFooter.tsx @@ -1,4 +1,4 @@ -import type { ModalFooterProps } from "$/types/Modal"; +import type { ModalFooterProps } from "$/types/ModalTypes"; import clsx from "clsx"; diff --git a/lib/component/modal/ModalHeader.tsx b/lib/component/modal/ModalHeader.tsx index 61c694f..a0bc603 100644 --- a/lib/component/modal/ModalHeader.tsx +++ b/lib/component/modal/ModalHeader.tsx @@ -1,4 +1,4 @@ -import type { ModalHeaderProps } from "$/types/Modal"; +import type { ModalHeaderProps } from "$/types/ModalTypes"; import { DialogTitle } from "@headlessui/react"; import clsx from "clsx"; import { BsXLg } from "react-icons/bs"; diff --git a/lib/component/nav/NavBar.tsx b/lib/component/nav/NavBar.tsx index b39df12..a8db634 100644 --- a/lib/component/nav/NavBar.tsx +++ b/lib/component/nav/NavBar.tsx @@ -1,4 +1,4 @@ -import type { NavBarProps } from "$/types/Nav"; +import type { NavBarProps } from "$/types/NavTypes"; import clsx from "clsx"; diff --git a/lib/component/nav/PopoverMenu.tsx b/lib/component/nav/PopoverMenu.tsx index 6bc37a0..7068ef4 100644 --- a/lib/component/nav/PopoverMenu.tsx +++ b/lib/component/nav/PopoverMenu.tsx @@ -1,4 +1,4 @@ -import type { PopoverMenuProps } from "$/types/Nav"; +import type { PopoverMenuProps } from "$/types/NavTypes"; import { Popover, PopoverButton, PopoverPanel } from "@headlessui/react"; import clsx from "clsx"; import { RiArrowRightSLine } from "react-icons/ri"; diff --git a/lib/component/progress/DangerProgress.tsx b/lib/component/progress/DangerProgress.tsx index be0fac7..a3e949e 100644 --- a/lib/component/progress/DangerProgress.tsx +++ b/lib/component/progress/DangerProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/DarkProgress.tsx b/lib/component/progress/DarkProgress.tsx index f1df920..33e3167 100644 --- a/lib/component/progress/DarkProgress.tsx +++ b/lib/component/progress/DarkProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/InfoProgress.tsx b/lib/component/progress/InfoProgress.tsx index c492b6a..60fb3e0 100644 --- a/lib/component/progress/InfoProgress.tsx +++ b/lib/component/progress/InfoProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/LightProgress.tsx b/lib/component/progress/LightProgress.tsx index fe74214..43081dd 100644 --- a/lib/component/progress/LightProgress.tsx +++ b/lib/component/progress/LightProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/MoltenProgress.tsx b/lib/component/progress/MoltenProgress.tsx index 84615f9..487309d 100644 --- a/lib/component/progress/MoltenProgress.tsx +++ b/lib/component/progress/MoltenProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/PrimaryProgress.tsx b/lib/component/progress/PrimaryProgress.tsx index adf16d3..5b9523a 100644 --- a/lib/component/progress/PrimaryProgress.tsx +++ b/lib/component/progress/PrimaryProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/Progress.tsx b/lib/component/progress/Progress.tsx index a4c126d..c0012e4 100644 --- a/lib/component/progress/Progress.tsx +++ b/lib/component/progress/Progress.tsx @@ -1,4 +1,4 @@ -import type { ProgressProps } from "$/types/Progress"; +import type { ProgressProps } from "$/types/ProgressTypes"; import clsx from "clsx"; import { useMemo } from "react"; diff --git a/lib/component/progress/SecondaryProgress.tsx b/lib/component/progress/SecondaryProgress.tsx index ebf0857..f740c8b 100644 --- a/lib/component/progress/SecondaryProgress.tsx +++ b/lib/component/progress/SecondaryProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/SuccessProgress.tsx b/lib/component/progress/SuccessProgress.tsx index ad84c7e..d0baacc 100644 --- a/lib/component/progress/SuccessProgress.tsx +++ b/lib/component/progress/SuccessProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/TertiaryProgress.tsx b/lib/component/progress/TertiaryProgress.tsx index a8fdbe4..b097ecf 100644 --- a/lib/component/progress/TertiaryProgress.tsx +++ b/lib/component/progress/TertiaryProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/progress/WarningProgress.tsx b/lib/component/progress/WarningProgress.tsx index 03ad999..b533797 100644 --- a/lib/component/progress/WarningProgress.tsx +++ b/lib/component/progress/WarningProgress.tsx @@ -1,4 +1,4 @@ -import type { ThemedProgressProps } from "$/types/Progress"; +import type { ThemedProgressProps } from "$/types/ProgressTypes"; import Progress from "./Progress"; diff --git a/lib/component/tab/MattrixwvTab.tsx b/lib/component/tab/MattrixwvTab.tsx index 5f8e687..16f7b66 100644 --- a/lib/component/tab/MattrixwvTab.tsx +++ b/lib/component/tab/MattrixwvTab.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvTabProps } from "$/types/Tab"; +import type { MattrixwvTabProps } from "$/types/TabTypes"; import { Tab } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/component/tab/MattrixwvTabGroup.tsx b/lib/component/tab/MattrixwvTabGroup.tsx index a760739..964519d 100644 --- a/lib/component/tab/MattrixwvTabGroup.tsx +++ b/lib/component/tab/MattrixwvTabGroup.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvTabGroupProps } from "$/types/Tab"; +import type { MattrixwvTabGroupProps } from "$/types/TabTypes"; import { TabGroup } from "@headlessui/react"; import clsx from "clsx"; import MattrixwvTab from "./MattrixwvTab"; diff --git a/lib/component/tab/MattrixwvTabList.tsx b/lib/component/tab/MattrixwvTabList.tsx index 00a643b..c2dd3c9 100644 --- a/lib/component/tab/MattrixwvTabList.tsx +++ b/lib/component/tab/MattrixwvTabList.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvTabListProps } from "$/types/Tab"; +import type { MattrixwvTabListProps } from "$/types/TabTypes"; import { TabList } from "@headlessui/react"; diff --git a/lib/component/tab/MattrixwvTabPanel.tsx b/lib/component/tab/MattrixwvTabPanel.tsx index 90b533f..da9a8ed 100644 --- a/lib/component/tab/MattrixwvTabPanel.tsx +++ b/lib/component/tab/MattrixwvTabPanel.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvTabPanelProps } from "$/types/Tab"; +import type { MattrixwvTabPanelProps } from "$/types/TabTypes"; import { TabPanel } from "@headlessui/react"; diff --git a/lib/component/tab/MattrixwvTabPanels.tsx b/lib/component/tab/MattrixwvTabPanels.tsx index 6bad7e5..9e4f37f 100644 --- a/lib/component/tab/MattrixwvTabPanels.tsx +++ b/lib/component/tab/MattrixwvTabPanels.tsx @@ -1,4 +1,4 @@ -import type { MattrixwvTabPanelsProps } from "$/types/Tab"; +import type { MattrixwvTabPanelsProps } from "$/types/TabTypes"; import { TabPanels } from "@headlessui/react"; diff --git a/lib/component/toaster/Toaster.tsx b/lib/component/toaster/Toaster.tsx index f821db4..1ea3980 100644 --- a/lib/component/toaster/Toaster.tsx +++ b/lib/component/toaster/Toaster.tsx @@ -1,4 +1,4 @@ -import type { ToasterProps } from "$/types/Toaster"; +import type { ToasterProps } from "$/types/ToasterTypes"; import { Transition } from "@headlessui/react"; import clsx from "clsx"; diff --git a/lib/providers/theme/ThemeProvider.tsx b/lib/providers/theme/ThemeProvider.tsx index 8f3009b..36e736a 100644 --- a/lib/providers/theme/ThemeProvider.tsx +++ b/lib/providers/theme/ThemeProvider.tsx @@ -1,4 +1,4 @@ -import type { Theme, ThemeProviderProps, ThemeProviderState } from "$/types/Theme"; +import type { Theme, ThemeProviderProps, ThemeProviderState } from "$/types/ThemeTypes"; import { createContext, useContext, useEffect, useMemo, useState } from "react"; diff --git a/lib/providers/toaster/ToasterProvider.tsx b/lib/providers/toaster/ToasterProvider.tsx index fefc8fb..1f17fcf 100644 --- a/lib/providers/toaster/ToasterProvider.tsx +++ b/lib/providers/toaster/ToasterProvider.tsx @@ -1,6 +1,6 @@ import { DangerMessageBlock, SuccessMessageBlock, WarningMessageBlock } from "$/component/message"; import Toaster from "$/component/toaster/Toaster"; -import type { Toast, ToastProviderProps, ToastProviderState } from "$/types/Toaster"; +import type { Toast, ToastProviderProps, ToastProviderState } from "$/types/ToasterTypes"; import moment from "moment"; import { createContext, useCallback, useContext, useMemo, useState } from "react"; diff --git a/lib/types/Button.d.ts b/lib/types/ButtonTypes.ts similarity index 100% rename from lib/types/Button.d.ts rename to lib/types/ButtonTypes.ts diff --git a/lib/types/Input.d.ts b/lib/types/InputTypes.ts similarity index 92% rename from lib/types/Input.d.ts rename to lib/types/InputTypes.ts index 82214d5..2cae599 100644 --- a/lib/types/Input.d.ts +++ b/lib/types/InputTypes.ts @@ -17,7 +17,18 @@ export interface TextInputProps { disabled?: boolean; } -export interface TextAreaProps extends TextInputProps{ +export interface TextAreaProps { + id?: string; + className?: string; + inputClassName?: string; + labelClassName?: string; + name?: string; + maxLength?: number; + spellCheck?: boolean; + placeholder?: string; + defaultValue?: string; + value?: string; + disabled?: boolean; rows?: number; cols?: number; onChange?: ChangeEventHandler; diff --git a/lib/types/Loading.d.ts b/lib/types/LoadingTypes.ts similarity index 100% rename from lib/types/Loading.d.ts rename to lib/types/LoadingTypes.ts diff --git a/lib/types/Message.d.ts b/lib/types/MessageTypes.ts similarity index 100% rename from lib/types/Message.d.ts rename to lib/types/MessageTypes.ts diff --git a/lib/types/Modal.d.ts b/lib/types/ModalTypes.ts similarity index 100% rename from lib/types/Modal.d.ts rename to lib/types/ModalTypes.ts diff --git a/lib/types/Nav.d.ts b/lib/types/NavTypes.ts similarity index 100% rename from lib/types/Nav.d.ts rename to lib/types/NavTypes.ts diff --git a/lib/types/Progress.d.ts b/lib/types/ProgressTypes.ts similarity index 100% rename from lib/types/Progress.d.ts rename to lib/types/ProgressTypes.ts diff --git a/lib/types/Tab.d.ts b/lib/types/TabTypes.ts similarity index 100% rename from lib/types/Tab.d.ts rename to lib/types/TabTypes.ts diff --git a/lib/types/Theme.d.ts b/lib/types/ThemeTypes.ts similarity index 100% rename from lib/types/Theme.d.ts rename to lib/types/ThemeTypes.ts diff --git a/lib/types/Toaster.d.ts b/lib/types/ToasterTypes.ts similarity index 55% rename from lib/types/Toaster.d.ts rename to lib/types/ToasterTypes.ts index 8215da2..a230a16 100644 --- a/lib/types/Toaster.d.ts +++ b/lib/types/ToasterTypes.ts @@ -7,10 +7,10 @@ export interface Toast { export interface ToastProviderState { toast: Toast[]; hideToast: (id: string) => void; - addToast: (message: ReactNode, duration?: number) => string; - addSuccess: (message: ReactNode, duration?: number) => string; - addWarning: (message: ReactNode, duration?: number) => string; - addDanger: (message: ReactNode, duration?: number) => string; + addToast: (message: React.ReactNode, duration?: number) => string; + addSuccess: (message: React.ReactNode, duration?: number) => string; + addWarning: (message: React.ReactNode, duration?: number) => string; + addDanger: (message: React.ReactNode, duration?: number) => string; } export interface ToastProviderProps { diff --git a/package.json b/package.json index 02dc584..ba8b31b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "mattrixwv-components", "private": false, - "version": "0.0.3", + "version": "0.0.4", "type": "module", "scripts": { "dev": "vite", diff --git a/src/routes/buttons/index.tsx b/src/routes/buttons/index.tsx index 8e5b640..c433398 100644 --- a/src/routes/buttons/index.tsx +++ b/src/routes/buttons/index.tsx @@ -2,8 +2,8 @@ import { DangerButton, DarkButton, LightButton, PrimaryButton, SecondaryButton, import InfoButton from "$/component/button/InfoButton"; import MoltenButton from "$/component/button/MoltenButton"; import { MattrixwvTabGroup } from "$/component/tab"; -import type { ButtonProps, ButtonSize } from "$/types/Button"; -import type { TabGroupContent } from "$/types/Tab"; +import type { ButtonProps, ButtonSize } from "$/types/ButtonTypes"; +import type { TabGroupContent } from "$/types/TabTypes"; import { createFileRoute } from "@tanstack/react-router"; import { useState, type JSX } from "react"; import { BsBag } from "react-icons/bs"; diff --git a/src/routes/input/index.tsx b/src/routes/input/index.tsx index 489004b..6a7eeec 100644 --- a/src/routes/input/index.tsx +++ b/src/routes/input/index.tsx @@ -1,5 +1,5 @@ import { MattrixwvTabGroup } from "$/component/tab"; -import type { TabGroupContent } from "$/types/Tab"; +import type { TabGroupContent } from "$/types/TabTypes"; import { CheckboxContent, DateContent, FileContent, RadioContent, SwitchContent, TextContent } from "@/util/InputUtils"; import { createFileRoute } from "@tanstack/react-router"; diff --git a/src/routes/loading/index.tsx b/src/routes/loading/index.tsx index 3d7ed04..d22aec9 100644 --- a/src/routes/loading/index.tsx +++ b/src/routes/loading/index.tsx @@ -1,5 +1,5 @@ import { MattrixwvTabGroup } from "$/component/tab"; -import type { TabGroupContent } from "$/types/Tab"; +import type { TabGroupContent } from "$/types/TabTypes"; import { generateBarsContent, generateBlocksContent, generateDotsContent, generatePulsesContent, generateSpinnersContent, generateVariousContent } from "@/util/LoadingUtils"; import { createFileRoute } from "@tanstack/react-router"; diff --git a/src/routes/message/index.tsx b/src/routes/message/index.tsx index 82c0440..9e55016 100644 --- a/src/routes/message/index.tsx +++ b/src/routes/message/index.tsx @@ -2,8 +2,8 @@ import { DangerMessageBlock, DarkMessageBlock, LightMessageBlock, PrimaryMessage import InfoMessageBlock from '$/component/message/InfoMessageBlock'; import MoltenMessageBlock from '$/component/message/MoltenMessageBlock'; import { MattrixwvTabGroup } from '$/component/tab'; -import type { MessageBlockProps } from '$/types/Message'; -import type { TabGroupContent } from '$/types/Tab'; +import type { MessageBlockProps } from '$/types/MessageTypes'; +import type { TabGroupContent } from '$/types/TabTypes'; import { createFileRoute } from '@tanstack/react-router'; diff --git a/src/routes/tab/index.tsx b/src/routes/tab/index.tsx index 36ab67c..9f8bdcf 100644 --- a/src/routes/tab/index.tsx +++ b/src/routes/tab/index.tsx @@ -1,5 +1,5 @@ import { MattrixwvTabGroup } from '$/component/tab'; -import type { TabGroupContent } from '$/types/Tab'; +import type { TabGroupContent } from '$/types/TabTypes'; import { createFileRoute } from '@tanstack/react-router'; import { BsXLg } from 'react-icons/bs'; diff --git a/src/util/InputUtils.tsx b/src/util/InputUtils.tsx index 3605260..69497b0 100644 --- a/src/util/InputUtils.tsx +++ b/src/util/InputUtils.tsx @@ -38,7 +38,7 @@ 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 type { MattrixwvSwitchSize } from "$/types/InputTypes"; import { useState } from "react"; import { BsCheck, BsX } from "react-icons/bs"; diff --git a/tsconfig.lib.json b/tsconfig.lib.json index 99fcbc0..a5c6b13 100644 --- a/tsconfig.lib.json +++ b/tsconfig.lib.json @@ -2,6 +2,12 @@ "extends": "./tsconfig.app.json", "include": [ "lib" ], "compilerOptions": { - "jsx": "react-jsx" + "declaration": true, + "declarationDir": "./dist", + "emitDeclarationOnly": false, + "jsx": "react-jsx", + "outDir": "./dist", + "skipLibCheck": true, + "moduleResolution": "bundler" } } diff --git a/vite.config.ts b/vite.config.ts index c9776c2..227f0cc 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -19,7 +19,11 @@ export default defineConfig({ dts({ include: ["lib"], tsconfigPath: "./tsconfig.lib.json", - rollupTypes: true + rollupTypes: true, + insertTypesEntry: true, + compilerOptions: { + declarationMap: false + } }) ], resolve: {