@windrun-huaiin/third-ui 24.0.0 → 25.0.0
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.
|
@@ -24,7 +24,7 @@ function createFumaPage({ sourceKey, mdxContentSource, getMDXComponents, mdxSour
|
|
|
24
24
|
const page$1 = source.getPage(slug, locale);
|
|
25
25
|
if (!page$1) {
|
|
26
26
|
console.log('[FumaPage] missing page', { slug, locale, available: (_d = (_c = (_b = source.pageTree) === null || _b === void 0 ? void 0 : _b[locale]) === null || _c === void 0 ? void 0 : _c.children) === null || _d === void 0 ? void 0 : _d.map((c) => c.url) });
|
|
27
|
-
return jsxRuntime.jsx(FallbackPage, { siteIcon: siteIcon });
|
|
27
|
+
return (jsxRuntime.jsx(page.DocsPage, { full: true, breadcrumb: { enabled: false }, footer: { enabled: false }, tableOfContent: { enabled: false }, tableOfContentPopover: { enabled: false }, className: "max-w-none px-0 py-0", children: jsxRuntime.jsx(FallbackPage, { siteIcon: siteIcon }) }));
|
|
28
28
|
}
|
|
29
29
|
const path = githubBaseUrl ? `${mdxSourceDir}/${page$1.path}` : undefined;
|
|
30
30
|
const tocFooterElement = (jsxRuntime.jsx(tocFooterWrapper.TocFooterWrapper, { lastModified: page$1.data.date, copyButtonComponent: copyButtonComponent
|
|
@@ -22,7 +22,7 @@ function createFumaPage({ sourceKey, mdxContentSource, getMDXComponents, mdxSour
|
|
|
22
22
|
const page = source.getPage(slug, locale);
|
|
23
23
|
if (!page) {
|
|
24
24
|
console.log('[FumaPage] missing page', { slug, locale, available: (_d = (_c = (_b = source.pageTree) === null || _b === void 0 ? void 0 : _b[locale]) === null || _c === void 0 ? void 0 : _c.children) === null || _d === void 0 ? void 0 : _d.map((c) => c.url) });
|
|
25
|
-
return jsx(FallbackPage, { siteIcon: siteIcon });
|
|
25
|
+
return (jsx(DocsPage, { full: true, breadcrumb: { enabled: false }, footer: { enabled: false }, tableOfContent: { enabled: false }, tableOfContentPopover: { enabled: false }, className: "max-w-none px-0 py-0", children: jsx(FallbackPage, { siteIcon: siteIcon }) }));
|
|
26
26
|
}
|
|
27
27
|
const path = githubBaseUrl ? `${mdxSourceDir}/${page.path}` : undefined;
|
|
28
28
|
const tocFooterElement = (jsx(TocFooterWrapper, { lastModified: page.data.date, copyButtonComponent: copyButtonComponent
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@windrun-huaiin/third-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "25.0.0",
|
|
4
4
|
"description": "Third-party integrated UI components for windrun-huaiin projects",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./clerk": {
|
|
@@ -137,9 +137,9 @@
|
|
|
137
137
|
"tslib": "^2.8.1",
|
|
138
138
|
"unified": "^11.0.5",
|
|
139
139
|
"zod": "^4.3.6",
|
|
140
|
-
"@windrun-huaiin/
|
|
141
|
-
"@windrun-huaiin/
|
|
142
|
-
"@windrun-huaiin/lib": "^
|
|
140
|
+
"@windrun-huaiin/base-ui": "^25.0.0",
|
|
141
|
+
"@windrun-huaiin/contracts": "^25.0.0",
|
|
142
|
+
"@windrun-huaiin/lib": "^25.0.0"
|
|
143
143
|
},
|
|
144
144
|
"peerDependencies": {
|
|
145
145
|
"clsx": "^2.1.1",
|
|
@@ -113,7 +113,18 @@ export function createFumaPage({
|
|
|
113
113
|
const page = source.getPage(slug, locale);
|
|
114
114
|
if (!page) {
|
|
115
115
|
console.log('[FumaPage] missing page', { slug, locale, available: source.pageTree?.[locale]?.children?.map((c: any) => c.url) });
|
|
116
|
-
return
|
|
116
|
+
return (
|
|
117
|
+
<DocsPage
|
|
118
|
+
full
|
|
119
|
+
breadcrumb={{ enabled: false }}
|
|
120
|
+
footer={{ enabled: false }}
|
|
121
|
+
tableOfContent={{ enabled: false }}
|
|
122
|
+
tableOfContentPopover={{ enabled: false }}
|
|
123
|
+
className="max-w-none px-0 py-0"
|
|
124
|
+
>
|
|
125
|
+
<FallbackPage siteIcon={siteIcon} />
|
|
126
|
+
</DocsPage>
|
|
127
|
+
);
|
|
117
128
|
}
|
|
118
129
|
|
|
119
130
|
const path = githubBaseUrl ? `${mdxSourceDir}/${page.path}` : undefined;
|