migrate tier list

This commit is contained in:
tresabhi committed 2026-11-27 14:57:39 -06:00
1 parent be8e36c6fd
commit 5d9c07eb3a
108 files changed
+1238 -922

No files matched your search

@@ -0,0 +1,5 @@
.field {
display: flex;
flex-direction: column;
gap: var(--space-3);
}
@@ -0,0 +1,24 @@
import type { ComponentProps, ReactNode } from "react";
import { classNames } from "../../ui/classNames";
import { Text } from "../Text";
import styles from "./index.module.css";
interface DialogFieldProps extends ComponentProps<"div"> {
label: ReactNode;
}
// Stacks a label over the control it names
// TODO: figoure out the semantics of this
export function DialogField({
className,
label,
children,
...props
}: DialogFieldProps) {
return (
<div className={classNames(styles.field, className)} {...props}>
<Text lowContrast>{label}</Text>
{children}
</div>
);
}