chore(ui): remove unused components

This commit is contained in:
2026-07-10 18:16:12 +08:00
parent 8b40720821
commit 89e0fb687a
6 changed files with 0 additions and 63 deletions
-1
View File
@@ -12,5 +12,4 @@ export * from "./mobile-shell";
export * from "./page-loading-fallback";
export * from "./page-scaffold";
export * from "./responsive-mobile-shell";
export * from "./scrollable-page";
export * from "./settings-section";
@@ -1,8 +0,0 @@
.scroll {
flex: 1 1 auto;
min-height: 0;
min-width: 0;
overflow-y: auto;
overscroll-behavior-y: contain;
-webkit-overflow-scrolling: touch;
}
@@ -1,16 +0,0 @@
import type { ReactNode } from "react";
import styles from "./scrollable-page.module.css";
export interface ScrollablePageProps {
children: ReactNode;
className?: string;
}
export function ScrollablePage({ children, className }: ScrollablePageProps) {
return (
<div className={[styles.scroll, className].filter(Boolean).join(" ")}>
{children}
</div>
);
}
@@ -1,20 +0,0 @@
.wrapper {
display: flex;
align-items: center;
gap: var(--spacing-md);
width: 100%;
margin: var(--spacing-lg) 0;
}
.line {
flex: 1 1 auto;
height: var(--border-light);
background: var(--color-chat-input-border);
}
.label {
font-size: var(--font-size-sm);
color: var(--color-text-secondary);
text-transform: uppercase;
letter-spacing: 0.04em;
}
-17
View File
@@ -1,17 +0,0 @@
"use client";
/**
* "OR" 分隔符
*
*
*/
import styles from "./auth-divider.module.css";
export function AuthDivider({ label = "or" }: { label?: string }) {
return (
<div className={styles.wrapper} role="separator">
<div className={styles.line} />
<span className={styles.label}>{label}</span>
<div className={styles.line} />
</div>
);
}
-1
View File
@@ -3,7 +3,6 @@
*/
export * from "./auth-background";
export * from "./auth-divider";
export * from "./auth-email-panel";
export * from "./auth-error-message";
export * from "./auth-facebook-panel";