@windrun-huaiin/third-ui 6.2.1 → 6.2.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/dist/fuma/mdx/index.d.mts +2 -13
- package/dist/fuma/mdx/index.d.ts +2 -13
- package/dist/fuma/mdx/index.js +3 -5
- package/dist/fuma/mdx/index.js.map +1 -1
- package/dist/fuma/mdx/index.mjs +3 -5
- package/dist/fuma/mdx/index.mjs.map +1 -1
- package/dist/fuma/server.d.mts +1 -1
- package/dist/fuma/server.d.ts +1 -1
- package/dist/fuma/server.js +3198 -29
- package/dist/fuma/server.js.map +1 -1
- package/dist/fuma/server.mjs +3198 -25
- package/dist/fuma/server.mjs.map +1 -1
- package/dist/main/server.js +3333 -371
- package/dist/main/server.js.map +1 -1
- package/dist/main/server.mjs +3344 -382
- package/dist/main/server.mjs.map +1 -1
- package/dist/toc-base-BC7kXpDU.d.mts +15 -0
- package/dist/toc-base-BC7kXpDU.d.ts +15 -0
- package/package.json +1 -1
package/dist/fuma/mdx/index.mjs
CHANGED
|
@@ -3103,7 +3103,6 @@ function TrophyCard({
|
|
|
3103
3103
|
}
|
|
3104
3104
|
|
|
3105
3105
|
// src/fuma/mdx/image-grid.tsx
|
|
3106
|
-
import { ImageZoom as ImageZoom2 } from "@third-ui/fuma/mdx/image-zoom";
|
|
3107
3106
|
import { jsx as jsx36 } from "react/jsx-runtime";
|
|
3108
3107
|
function ImageGrid({
|
|
3109
3108
|
type = "url",
|
|
@@ -3122,7 +3121,7 @@ function ImageGrid({
|
|
|
3122
3121
|
alignItems: "center"
|
|
3123
3122
|
},
|
|
3124
3123
|
children: images.map((img, idx) => /* @__PURE__ */ jsx36(
|
|
3125
|
-
|
|
3124
|
+
ImageZoom,
|
|
3126
3125
|
{
|
|
3127
3126
|
src: img.startsWith("http://") || img.startsWith("https://") ? img : type === "url" ? `${cdnBaseUrl == null ? void 0 : cdnBaseUrl.replace(/\/+$/, "")}/${img.replace(/^\/+/, "")}` : img,
|
|
3128
3127
|
alt: `${altPrefix}-${idx + 1}`
|
|
@@ -3781,14 +3780,13 @@ function ZiaFolder(_a) {
|
|
|
3781
3780
|
}
|
|
3782
3781
|
|
|
3783
3782
|
// src/fuma/mdx/toc-footer-wrapper.tsx
|
|
3784
|
-
import { EditOnGitHub as EditOnGitHub2, LastUpdatedDate as LastUpdatedDate2 } from "@third-ui/fuma/mdx/toc-base";
|
|
3785
3783
|
import { jsx as jsx44, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
3786
3784
|
function TocFooterWrapper({ lastModified, editPath, githubBaseUrl, copyButtonComponent }) {
|
|
3787
3785
|
const showEdit = githubBaseUrl && editPath;
|
|
3788
3786
|
return /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-y-2 items-start m-4", children: [
|
|
3789
|
-
/* @__PURE__ */ jsx44(
|
|
3787
|
+
/* @__PURE__ */ jsx44(LastUpdatedDate, { date: lastModified }),
|
|
3790
3788
|
copyButtonComponent,
|
|
3791
|
-
showEdit && /* @__PURE__ */ jsx44(
|
|
3789
|
+
showEdit && /* @__PURE__ */ jsx44(EditOnGitHub, { url: `${githubBaseUrl}${editPath}` })
|
|
3792
3790
|
] });
|
|
3793
3791
|
}
|
|
3794
3792
|
|