import type { HTMLAttributes, ReactNode } from "react"; import { cn } from "./cn.js"; export type GlassTone = "default" | "strong" | "soft"; export type GlassRadius = "card" | "panel" | "modal" | "pill"; export type GlassPadding = "none" | "sm" | "md" | "lg"; export interface GlassSurfaceProps extends HTMLAttributes { children: ReactNode; tone?: GlassTone; radius?: GlassRadius; padding?: GlassPadding; materialRim?: boolean; } export function GlassSurface({ children, className, tone = "default", radius = "card", padding = "none", materialRim = true, ...props }: GlassSurfaceProps) { return (
{children}
); } export interface GlassMaterialSurfaceProps extends HTMLAttributes { children: ReactNode; } /** Canonical modal/Inspector material. General application panels must not use it. */ export function GlassMaterialSurface({ children, className, ...props }: GlassMaterialSurfaceProps) { return
{children}
; } export interface MapGlassSurfaceProps extends HTMLAttributes { children: ReactNode; } /** Light translucent surface used only over Cesium/map imagery. */ export function MapGlassSurface({ children, className, ...props }: MapGlassSurfaceProps) { return
{children}
; }