diff --git a/src/compat/bluelib1.jsx b/src/compat/bluelib1.jsx new file mode 100644 index 0000000..3fd033a --- /dev/null +++ b/src/compat/bluelib1.jsx @@ -0,0 +1,92 @@ +// noinspection JSUnusedGlobalSymbols,JSDeprecatedSymbols + +import { Box } from "../components/panels/Box"; +import { Heading } from "../components/common/Heading" +import { Chapter } from "../components/chapters/Chapter" +import { Table } from "../components/tables/Table" +import { FormPair } from "../components/forms/FormPair" +import { LayoutFill } from "../components/layouts/LayoutFill" + + +/** + * @deprecated + */ +const Deprecated = ({}) => ( + + This component is deprecated. Please use something different instead! + +) + + +const Todo = ({children}) => ( + + {children} + +) + +const Panel = ({children, title}) => ( + + {title} + {children} + +) + +const Section = ({children, title}) => ( + + {title} + {children} + +) + +const TablePanel = ({children}) => ( + + + {children} +
+
+) + +const FormRow = ({label, validity, children}) => ( + +) + +const BasicContainer = ({children}) => ( + + + {children} + + +) + + +// Elements +export {Anchor as BaseLink} from "../components/common/Anchor" +export {Image} from "../components/images/Image" +export {Deprecated as Timer} +export {Todo} + +// Forms +export {Button as FormButton} from "../components/inputs/Button" +export {FormField as FormInput} from "../components/forms/FormField" +export {FormRow} + +// Layout +export {BasicContainer} +export {Deprecated as Bottom} +export {Deprecated as LeftRight} +export {Chapter as Split} from "../components/chapters/Chapter" +export {Deprecated as Unmargin} + +// Panels +export {Box} from "../components/panels/Box" +export {Panel} +export {Section} +export {TablePanel} + +// Rendering +export {Deprecated as BLatex} +export {Deprecated as Code} +export {Deprecated as ILatex} +export {Deprecated as Latex} +export {Deprecated as Markdown} +export {Deprecated as PLatex}