fumadocs-ui 16.8.1 → 16.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/generated/shared.css +9 -1
- package/dist/layouts/home/slots/header.d.ts +1 -1
- package/dist/og.d.ts +1 -0
- package/dist/og.js +42 -21
- package/package.json +3 -3
package/css/generated/shared.css
CHANGED
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
@source inline("async");
|
|
112
112
|
@source inline("at");
|
|
113
113
|
@source inline("attribute");
|
|
114
|
+
@source inline("auto");
|
|
114
115
|
@source inline("await");
|
|
115
116
|
@source inline("backdrop-blur-lg");
|
|
116
117
|
@source inline("backdrop-blur-xs");
|
|
@@ -159,6 +160,7 @@
|
|
|
159
160
|
@source inline("border-s");
|
|
160
161
|
@source inline("border-t");
|
|
161
162
|
@source inline("border-transparent");
|
|
163
|
+
@source inline("borderBottom");
|
|
162
164
|
@source inline("bottom");
|
|
163
165
|
@source inline("bottom-0");
|
|
164
166
|
@source inline("bottom-1.5");
|
|
@@ -238,6 +240,7 @@
|
|
|
238
240
|
@source inline("dangerouslySetInnerHTML");
|
|
239
241
|
@source inline("dark");
|
|
240
242
|
@source inline("dark:bg-(--shiki-dark-bg)");
|
|
243
|
+
@source inline("dashed");
|
|
241
244
|
@source inline("data");
|
|
242
245
|
@source inline("data-[active=true]:text-fd-primary");
|
|
243
246
|
@source inline("data-[motion=from-end]:animate-fd-enterFromRight");
|
|
@@ -572,13 +575,16 @@
|
|
|
572
575
|
@source inline("lower");
|
|
573
576
|
@source inline("lowerOffset");
|
|
574
577
|
@source inline("ltr");
|
|
578
|
+
@source inline("lucide");
|
|
579
|
+
@source inline("lucide-book");
|
|
580
|
+
@source inline("lucide-book-icon");
|
|
575
581
|
@source inline("lucide-react");
|
|
576
582
|
@source inline("made");
|
|
577
583
|
@source inline("main");
|
|
578
584
|
@source inline("make");
|
|
579
585
|
@source inline("mapped");
|
|
580
586
|
@source inline("margin");
|
|
581
|
-
@source inline("
|
|
587
|
+
@source inline("marginTop");
|
|
582
588
|
@source inline("mark");
|
|
583
589
|
@source inline("markdownUrl");
|
|
584
590
|
@source inline("marked");
|
|
@@ -747,6 +753,7 @@
|
|
|
747
753
|
@source inline("p-3");
|
|
748
754
|
@source inline("p-4");
|
|
749
755
|
@source inline("padding");
|
|
756
|
+
@source inline("paddingBottom");
|
|
750
757
|
@source inline("paddingInlineStart");
|
|
751
758
|
@source inline("page");
|
|
752
759
|
@source inline("pageUrl");
|
|
@@ -942,6 +949,7 @@
|
|
|
942
949
|
@source inline("simple");
|
|
943
950
|
@source inline("since");
|
|
944
951
|
@source inline("single");
|
|
952
|
+
@source inline("site");
|
|
945
953
|
@source inline("size");
|
|
946
954
|
@source inline("size-1");
|
|
947
955
|
@source inline("size-3");
|
|
@@ -5,7 +5,7 @@ import * as _$class_variance_authority_types0 from "class-variance-authority/typ
|
|
|
5
5
|
|
|
6
6
|
//#region src/layouts/home/slots/header.d.ts
|
|
7
7
|
declare const navItemVariants: (props?: ({
|
|
8
|
-
variant?: "
|
|
8
|
+
variant?: "icon" | "button" | "main" | null | undefined;
|
|
9
9
|
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | _$react_jsx_runtime0.JSX.Element | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined>;
|
|
11
11
|
//#endregion
|
package/dist/og.d.ts
CHANGED
package/dist/og.js
CHANGED
|
@@ -16,7 +16,25 @@ function generateOGImage(options) {
|
|
|
16
16
|
...rest
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
|
-
function generate({ primaryColor = "rgba(255,150,255,0.3)", primaryTextColor = "rgb(255,150,255)",
|
|
19
|
+
function generate({ primaryColor = "rgba(255,150,255,0.3)", primaryTextColor = "rgb(255,150,255)", icon = /* @__PURE__ */ jsx("svg", {
|
|
20
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
21
|
+
width: "56",
|
|
22
|
+
height: "56",
|
|
23
|
+
viewBox: "0 0 24 24",
|
|
24
|
+
fill: "none",
|
|
25
|
+
stroke: "currentColor",
|
|
26
|
+
strokeWidth: "2",
|
|
27
|
+
strokeLinecap: "round",
|
|
28
|
+
strokeLinejoin: "round",
|
|
29
|
+
className: "lucide lucide-book-icon lucide-book",
|
|
30
|
+
children: /* @__PURE__ */ jsx("circle", {
|
|
31
|
+
cx: "12",
|
|
32
|
+
cy: "12",
|
|
33
|
+
r: "11",
|
|
34
|
+
stroke: primaryTextColor,
|
|
35
|
+
strokeWidth: "2"
|
|
36
|
+
})
|
|
37
|
+
}), ...props }) {
|
|
20
38
|
return /* @__PURE__ */ jsxs("div", {
|
|
21
39
|
style: {
|
|
22
40
|
display: "flex",
|
|
@@ -26,27 +44,9 @@ function generate({ primaryColor = "rgba(255,150,255,0.3)", primaryTextColor = "
|
|
|
26
44
|
color: "white",
|
|
27
45
|
padding: "4rem",
|
|
28
46
|
backgroundColor: "#0c0c0c",
|
|
29
|
-
|
|
47
|
+
border: `18px ${primaryColor}`
|
|
30
48
|
},
|
|
31
49
|
children: [
|
|
32
|
-
/* @__PURE__ */ jsxs("div", {
|
|
33
|
-
style: {
|
|
34
|
-
display: "flex",
|
|
35
|
-
flexDirection: "row",
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
gap: "16px",
|
|
38
|
-
marginBottom: "12px",
|
|
39
|
-
color: primaryTextColor
|
|
40
|
-
},
|
|
41
|
-
children: [props.icon, /* @__PURE__ */ jsx("p", {
|
|
42
|
-
style: {
|
|
43
|
-
fontSize: "56px",
|
|
44
|
-
fontWeight: 600,
|
|
45
|
-
margin: 0
|
|
46
|
-
},
|
|
47
|
-
children: props.site
|
|
48
|
-
})]
|
|
49
|
-
}),
|
|
50
50
|
/* @__PURE__ */ jsx("p", {
|
|
51
51
|
style: {
|
|
52
52
|
fontWeight: 800,
|
|
@@ -59,9 +59,30 @@ function generate({ primaryColor = "rgba(255,150,255,0.3)", primaryTextColor = "
|
|
|
59
59
|
style: {
|
|
60
60
|
fontSize: "52px",
|
|
61
61
|
color: "rgba(240,240,240,0.8)",
|
|
62
|
-
margin: 0
|
|
62
|
+
margin: 0,
|
|
63
|
+
marginTop: "16px",
|
|
64
|
+
paddingBottom: "28px",
|
|
65
|
+
borderBottom: `8px dashed ${primaryColor}`
|
|
63
66
|
},
|
|
64
67
|
children: props.description
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsxs("div", {
|
|
70
|
+
style: {
|
|
71
|
+
display: "flex",
|
|
72
|
+
flexDirection: "row",
|
|
73
|
+
alignItems: "center",
|
|
74
|
+
gap: "20px",
|
|
75
|
+
marginTop: "auto",
|
|
76
|
+
color: primaryTextColor
|
|
77
|
+
},
|
|
78
|
+
children: [icon, props.site && /* @__PURE__ */ jsx("p", {
|
|
79
|
+
style: {
|
|
80
|
+
fontSize: "56px",
|
|
81
|
+
fontWeight: 600,
|
|
82
|
+
margin: 0
|
|
83
|
+
},
|
|
84
|
+
children: props.site
|
|
85
|
+
})]
|
|
65
86
|
})
|
|
66
87
|
]
|
|
67
88
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "16.8.
|
|
3
|
+
"version": "16.8.2",
|
|
4
4
|
"description": "The Radix UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"tsdown": "0.21.9",
|
|
161
161
|
"unified": "^11.0.5",
|
|
162
162
|
"@fumadocs/cli": "1.3.8",
|
|
163
|
-
"fumadocs-core": "16.8.
|
|
163
|
+
"fumadocs-core": "16.8.2",
|
|
164
164
|
"tsconfig": "0.0.0"
|
|
165
165
|
},
|
|
166
166
|
"peerDependencies": {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
"next": "16.x.x",
|
|
171
171
|
"react": "^19.2.0",
|
|
172
172
|
"react-dom": "^19.2.0",
|
|
173
|
-
"fumadocs-core": "16.8.
|
|
173
|
+
"fumadocs-core": "16.8.2"
|
|
174
174
|
},
|
|
175
175
|
"peerDependenciesMeta": {
|
|
176
176
|
"next": {
|