File tree Expand file tree Collapse file tree 8 files changed +163
-132
lines changed Expand file tree Collapse file tree 8 files changed +163
-132
lines changed Original file line number Diff line number Diff line change 2424 "eslint-plugin-de-morgan" : " ^1.2.1" ,
2525 "eslint-plugin-function" : " ^0.0.21" ,
2626 "eslint-plugin-jsdoc" : " ^50.6.9" ,
27- "eslint-plugin-perfectionist" : " ^4.12.0 " ,
27+ "eslint-plugin-perfectionist" : " ^4.12.1 " ,
2828 "eslint-plugin-regexp" : " ^2.7.0" ,
2929 "eslint-plugin-unicorn" : " ^58.0.0" ,
3030 "typescript-eslint" : " ^8.31.0"
Original file line number Diff line number Diff line change 3434 "@typescript-eslint/utils" : " ^8.31.0" ,
3535 "eslint-plugin-de-morgan" : " ^1.2.1" ,
3636 "eslint-plugin-jsdoc" : " ^50.6.9" ,
37- "eslint-plugin-perfectionist" : " ^4.12.0 " ,
37+ "eslint-plugin-perfectionist" : " ^4.12.1 " ,
3838 "eslint-plugin-regexp" : " ^2.7.0" ,
3939 "eslint-plugin-unicorn" : " ^58.0.0" ,
4040 "string-ts" : " ^2.2.1" ,
Original file line number Diff line number Diff line change 1+ import { Callout } from "#/components/ui/Callout" ;
12import { source } from "#/lib/source" ;
23import { Popup , PopupContent , PopupTrigger } from "fumadocs-twoslash/ui" ;
34import { Tab , Tabs } from "fumadocs-ui/components/tabs" ;
@@ -8,6 +9,7 @@ import { notFound } from "next/navigation";
89
910const mdxComponents = {
1011 ...defaultMdxComponents ,
12+ Callout,
1113 Popup,
1214 PopupContent,
1315 PopupTrigger,
Original file line number Diff line number Diff line change 1+ .fd-callout .min-w-0 .flex-1 {
2+ display : flex;
3+ flex-flow : column;
4+ gap : calc (var (--spacing ) * 2 );
5+ }
6+
7+ .fd-callout .min-w-0 .flex-1 > * {
8+ margin-top : 0 ;
9+ margin-bottom : 0 ;
10+ }
11+
112[aria-roledescription = "flowchart-v2" ] span .nodeLabel {
213 filter : brightness (0.5 );
314}
Original file line number Diff line number Diff line change 1+ import type { Pretty } from "@eslint-react/eff" ;
2+ import type React from "react" ;
3+ import { cn } from "#/lib/cn" ;
4+ import { Callout as FDCallout } from "fumadocs-ui/components/callout" ;
5+
6+ export type CalloutProps = Pretty < Parameters < typeof FDCallout > [ 0 ] > & { ref ?: React . RefObject < HTMLDivElement | null > } ;
7+
8+ export function Callout ( { children, className, ...props } : CalloutProps ) {
9+ return (
10+ < FDCallout className = { cn ( "fd-callout" , className ) } { ...props } >
11+ { children }
12+ </ FDCallout >
13+ ) ;
14+ }
Original file line number Diff line number Diff line change 1111 },
1212 "dependencies" : {
1313 "@chevrotain/regexp-to-ast" : " ^11.0.3" ,
14+ "@eslint-react/eff" : " workspace:*" ,
1415 "bsky-react-post" : " ^0.1.7" ,
1516 "clsx" : " ^2.1.1" ,
1617 "fumadocs-core" : " 15.2.9" ,
5152 "eslint" : " ^9.25.1" ,
5253 "eslint-plugin-de-morgan" : " ^1.2.1" ,
5354 "eslint-plugin-import-x" : " ^4.10.6" ,
54- "eslint-plugin-perfectionist" : " ^4.12.0 " ,
55+ "eslint-plugin-perfectionist" : " ^4.12.1 " ,
5556 "eslint-plugin-react-hooks" : " ^5.2.0" ,
5657 "eslint-plugin-react-refresh" : " ^0.4.20" ,
5758 "eslint-plugin-unicorn" : " ^58.0.0" ,
Original file line number Diff line number Diff line change 6969 "cspell" : " ^8.19.2" ,
7070 "dedent" : " ^1.5.3" ,
7171 "dprint" : " ^0.49.1" ,
72- "esbuild" : " ^0.25.2 " ,
72+ "esbuild" : " ^0.25.3 " ,
7373 "eslint" : " ^9.25.1" ,
7474 "eslint-config-flat-gitignore" : " ^2.1.0" ,
7575 "eslint-plugin-vitest" : " ^0.5.4" ,
112112 "@types/react" : " ^19.1.2" ,
113113 "@types/react-dom" : " ^19.1.2" ,
114114 "cross-spawn" : " ^7.0.6" ,
115- "esbuild" : " ^0.25.2 " ,
115+ "esbuild" : " ^0.25.3 " ,
116116 "lucide-react" : " ^0.503.0" ,
117117 "next" : " ^15.3.1" ,
118118 "react" : " ^19.1.0" ,
You can’t perform that action at this time.
0 commit comments