import { motion, useReducedMotion } from "motion/react"; import { ScrollText } from "lucide-react"; import ReactMarkdown from "react-markdown"; import { AppModal } from "@/components/ui/product/app-modal/app-modal"; import { aceternityMotion } from "@/lib/aceternity-motion"; export function AppChangelogDialog({ open, onClose }: { open: boolean; onClose: () => void }) { const reducedMotion = useReducedMotion(); const version = `v${__APP_VERSION__.replace(/^v/, "")}`; return (
更新日志
按版本查看产品能力、交互与稳定性变化
当前版本 {version} } open={open} width={820} footer={null} centered onCancel={onClose} styles={{ body: { padding: 0 } }} modalRender={(node) => ( {node} )} >
null, h2: ({ children }) => { const label = String(children); const latest = label === "Unreleased"; return (

); }, ul: ({ children }) =>
    {children}
, li: ({ children }) =>
  • {children}
  • , p: ({ children }) =>

    {children}

    , code: ({ children }) => {children}, }} > {__APP_CHANGELOG__}
    ); }