chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:32:57 +08:00
commit cd420f9332
4811 changed files with 884702 additions and 0 deletions
@@ -0,0 +1,35 @@
import type { InlineCodeVariant } from "~/components/code/InlineCode";
import { InlineCode } from "~/components/code/InlineCode";
import { SpanCodePathAccessory } from "./SpanTitle";
import { cn } from "~/utils/cn";
type TaskPathProps = {
filePath: string;
functionName: string;
className?: string;
};
export function TaskPath({ filePath, functionName, className }: TaskPathProps) {
return (
<SpanCodePathAccessory
accessory={{
items: [{ text: filePath }, { text: functionName }],
}}
className={className}
/>
);
}
type TaskFileNameProps = {
fileName: string;
variant?: InlineCodeVariant;
className?: string;
};
export function TaskFileName({ variant, fileName, className }: TaskFileNameProps) {
return (
<InlineCode variant={variant} className={cn("text-text-dimmed", className)}>
{`${fileName}`}
</InlineCode>
);
}