@publish.os/nextjs 0.0.1-alpha.5 → 0.0.1-alpha.6
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/README.md +1 -1
- package/dist/config/createNextConfig.js +3 -3
- package/dist/index.js +7 -5
- package/dist/kernel/components/blocks/color-palette.js +35 -4
- package/dist/kernel/components/blocks/logo-block.js +1 -1
- package/dist/kernel/components/blocks/nav-breadcrumb.js +2 -12
- package/dist/kernel/components/mdx/components/image.js +1 -1
- package/dist/kernel/components/ui/breadcrumb-trail.d.ts +3 -1
- package/dist/kernel/components/ui/breadcrumb-trail.js +1 -0
- package/dist/kernel/components/ui/breadcrumb.d.ts +1 -5
- package/dist/kernel/components/ui/breadcrumb.js +1 -16
- package/dist/kernel/components/ui/menu.js +5 -5
- package/dist/kernel/components/ui/navigation-menu.js +2 -2
- package/dist/kernel/components/ui/popover.js +5 -11
- package/dist/kernel/components/ui/select.js +5 -5
- package/dist/kernel/components/ui/text.js +109 -106
- package/dist/kernel/components/ui/tooltip.js +2 -2
- package/dist/kernel/defaults.registry.d.ts +60 -69
- package/dist/kernel/defaults.registry.js +59 -67
- package/dist/kernel/routes/agent/markdown.js +2 -2
- package/dist/kernel/routes/metadata/feed.js +2 -2
- package/dist/kernel/routes/metadata/llms.js +4 -2
- package/dist/kernel/routes/metadata/og-image.d.ts +1 -1
- package/dist/kernel/routes/metadata/robots.js +2 -2
- package/dist/kernel/routes/metadata/sitemap.js +2 -2
- package/dist/utils/cn.d.ts +1 -1
- package/package.json +2 -6
- package/release/package.json +3 -2
- package/release/release.json +5 -5
- package/release/{pnpm-lock.yaml → runtime-pnpm-lock.yaml} +135 -34
- package/dist/cache/tags.cjs +0 -79
- package/dist/cache/tags.d.cts +0 -13
- package/dist/config/createNextConfig.cjs +0 -52
- package/dist/config/createNextConfig.d.cts +0 -8
- package/dist/config.cjs +0 -78
- package/dist/config.d.cts +0 -101
- package/dist/config.d.ts +0 -101
- package/dist/config.js +0 -48
- package/dist/index.cjs +0 -1266
- package/dist/index.d.cts +0 -18
- package/dist/kernel/components/blocks/AgentActions.cjs +0 -425
- package/dist/kernel/components/blocks/AgentActions.d.cts +0 -52
- package/dist/kernel/components/blocks/animated-icon-swap.cjs +0 -101
- package/dist/kernel/components/blocks/animated-icon-swap.d.cts +0 -16
- package/dist/kernel/components/blocks/color-palette.cjs +0 -413
- package/dist/kernel/components/blocks/color-palette.d.cts +0 -7
- package/dist/kernel/components/blocks/design-system-preview.cjs +0 -593
- package/dist/kernel/components/blocks/design-system-preview.d.cts +0 -29
- package/dist/kernel/components/blocks/link-playground.cjs +0 -816
- package/dist/kernel/components/blocks/link-playground.d.cts +0 -5
- package/dist/kernel/components/blocks/logo-block.cjs +0 -156
- package/dist/kernel/components/blocks/logo-block.d.cts +0 -21
- package/dist/kernel/components/blocks/nav-breadcrumb.cjs +0 -122
- package/dist/kernel/components/blocks/nav-breadcrumb.d.cts +0 -11
- package/dist/kernel/components/blocks/navbar.cjs +0 -154
- package/dist/kernel/components/blocks/navbar.d.cts +0 -16
- package/dist/kernel/components/blocks/navigation-progress-playground.cjs +0 -735
- package/dist/kernel/components/blocks/navigation-progress-playground.d.cts +0 -5
- package/dist/kernel/components/blocks/navigation-progress.cjs +0 -270
- package/dist/kernel/components/blocks/navigation-progress.d.cts +0 -16
- package/dist/kernel/components/blocks/next-prev.cjs +0 -142
- package/dist/kernel/components/blocks/next-prev.d.cts +0 -11
- package/dist/kernel/components/blocks/page-list.cjs +0 -59
- package/dist/kernel/components/blocks/page-list.d.cts +0 -11
- package/dist/kernel/components/blocks/search.cjs +0 -717
- package/dist/kernel/components/blocks/search.d.cts +0 -77
- package/dist/kernel/components/blocks/sidebar-node.cjs +0 -309
- package/dist/kernel/components/blocks/sidebar-node.d.cts +0 -8
- package/dist/kernel/components/blocks/sidebar.cjs +0 -317
- package/dist/kernel/components/blocks/sidebar.d.cts +0 -33
- package/dist/kernel/components/blocks/theme-toggle.cjs +0 -31
- package/dist/kernel/components/blocks/theme-toggle.d.cts +0 -6
- package/dist/kernel/components/blocks/toc.cjs +0 -356
- package/dist/kernel/components/blocks/toc.d.cts +0 -10
- package/dist/kernel/components/mdx/components/blockquote.cjs +0 -66
- package/dist/kernel/components/mdx/components/blockquote.d.cts +0 -6
- package/dist/kernel/components/mdx/components/callout.cjs +0 -137
- package/dist/kernel/components/mdx/components/callout.d.cts +0 -18
- package/dist/kernel/components/mdx/components/code-block.cjs +0 -39
- package/dist/kernel/components/mdx/components/code-block.d.cts +0 -9
- package/dist/kernel/components/mdx/components/figure-caption.cjs +0 -63
- package/dist/kernel/components/mdx/components/figure-caption.d.cts +0 -6
- package/dist/kernel/components/mdx/components/figure.cjs +0 -78
- package/dist/kernel/components/mdx/components/figure.d.cts +0 -10
- package/dist/kernel/components/mdx/components/footnotes.cjs +0 -66
- package/dist/kernel/components/mdx/components/footnotes.d.cts +0 -6
- package/dist/kernel/components/mdx/components/heading-copy-link.cjs +0 -108
- package/dist/kernel/components/mdx/components/heading-copy-link.d.cts +0 -23
- package/dist/kernel/components/mdx/components/heading.cjs +0 -166
- package/dist/kernel/components/mdx/components/heading.d.cts +0 -8
- package/dist/kernel/components/mdx/components/hr.cjs +0 -34
- package/dist/kernel/components/mdx/components/hr.d.cts +0 -9
- package/dist/kernel/components/mdx/components/image-zoom.cjs +0 -49
- package/dist/kernel/components/mdx/components/image-zoom.d.cts +0 -10
- package/dist/kernel/components/mdx/components/image.cjs +0 -192
- package/dist/kernel/components/mdx/components/image.d.cts +0 -21
- package/dist/kernel/components/mdx/components/inline-code.cjs +0 -66
- package/dist/kernel/components/mdx/components/inline-code.d.cts +0 -6
- package/dist/kernel/components/mdx/components/kbd.cjs +0 -34
- package/dist/kernel/components/mdx/components/kbd.d.cts +0 -10
- package/dist/kernel/components/mdx/components/link.cjs +0 -49
- package/dist/kernel/components/mdx/components/link.d.cts +0 -11
- package/dist/kernel/components/mdx/components/paragraph.cjs +0 -87
- package/dist/kernel/components/mdx/components/paragraph.d.cts +0 -5
- package/dist/kernel/components/mdx/components/pre.cjs +0 -66
- package/dist/kernel/components/mdx/components/pre.d.cts +0 -6
- package/dist/kernel/components/mdx/components/strikethrough.cjs +0 -63
- package/dist/kernel/components/mdx/components/strikethrough.d.cts +0 -6
- package/dist/kernel/components/mdx/components/table.cjs +0 -59
- package/dist/kernel/components/mdx/components/table.d.cts +0 -10
- package/dist/kernel/components/mdx/components/task-list.cjs +0 -88
- package/dist/kernel/components/mdx/components/task-list.d.cts +0 -8
- package/dist/kernel/components/mdx/components/video-player.cjs +0 -173
- package/dist/kernel/components/mdx/components/video-player.d.cts +0 -18
- package/dist/kernel/components/mdx/components/video.cjs +0 -185
- package/dist/kernel/components/mdx/components/video.d.cts +0 -15
- package/dist/kernel/components/mdx/error-boundary.cjs +0 -62
- package/dist/kernel/components/mdx/error-boundary.d.cts +0 -8
- package/dist/kernel/components/mdx/error-fallback.cjs +0 -58
- package/dist/kernel/components/mdx/error-fallback.d.cts +0 -9
- package/dist/kernel/components/mdx/mdx.cjs +0 -141
- package/dist/kernel/components/mdx/mdx.d.cts +0 -22
- package/dist/kernel/components/mdx/rehype-heading-ids.cjs +0 -113
- package/dist/kernel/components/mdx/rehype-heading-ids.d.cts +0 -10
- package/dist/kernel/components/mdx/types.cjs +0 -18
- package/dist/kernel/components/mdx/types.d.cts +0 -18
- package/dist/kernel/components/ui/accordion.cjs +0 -104
- package/dist/kernel/components/ui/accordion.d.cts +0 -16
- package/dist/kernel/components/ui/breadcrumb-trail.cjs +0 -238
- package/dist/kernel/components/ui/breadcrumb-trail.d.cts +0 -13
- package/dist/kernel/components/ui/breadcrumb.cjs +0 -399
- package/dist/kernel/components/ui/breadcrumb.d.cts +0 -52
- package/dist/kernel/components/ui/button-group.cjs +0 -143
- package/dist/kernel/components/ui/button-group.d.cts +0 -19
- package/dist/kernel/components/ui/button.cjs +0 -139
- package/dist/kernel/components/ui/button.d.cts +0 -22
- package/dist/kernel/components/ui/card.cjs +0 -133
- package/dist/kernel/components/ui/card.d.cts +0 -17
- package/dist/kernel/components/ui/dialog.cjs +0 -149
- package/dist/kernel/components/ui/dialog.d.cts +0 -22
- package/dist/kernel/components/ui/drawer.cjs +0 -163
- package/dist/kernel/components/ui/drawer.d.cts +0 -24
- package/dist/kernel/components/ui/input.cjs +0 -96
- package/dist/kernel/components/ui/input.d.cts +0 -18
- package/dist/kernel/components/ui/kbd.cjs +0 -105
- package/dist/kernel/components/ui/kbd.d.cts +0 -13
- package/dist/kernel/components/ui/link.cjs +0 -253
- package/dist/kernel/components/ui/link.d.cts +0 -31
- package/dist/kernel/components/ui/menu.cjs +0 -301
- package/dist/kernel/components/ui/menu.d.cts +0 -70
- package/dist/kernel/components/ui/meta-key.cjs +0 -34
- package/dist/kernel/components/ui/meta-key.d.cts +0 -12
- package/dist/kernel/components/ui/navigation-menu.cjs +0 -253
- package/dist/kernel/components/ui/navigation-menu.d.cts +0 -47
- package/dist/kernel/components/ui/popover.cjs +0 -168
- package/dist/kernel/components/ui/popover.d.cts +0 -24
- package/dist/kernel/components/ui/progress.cjs +0 -112
- package/dist/kernel/components/ui/progress.d.cts +0 -16
- package/dist/kernel/components/ui/scroll-area.cjs +0 -413
- package/dist/kernel/components/ui/scroll-area.d.cts +0 -58
- package/dist/kernel/components/ui/select.cjs +0 -244
- package/dist/kernel/components/ui/select.d.cts +0 -40
- package/dist/kernel/components/ui/separator.cjs +0 -73
- package/dist/kernel/components/ui/separator.d.cts +0 -8
- package/dist/kernel/components/ui/table.cjs +0 -131
- package/dist/kernel/components/ui/table.d.cts +0 -11
- package/dist/kernel/components/ui/tabs.cjs +0 -450
- package/dist/kernel/components/ui/tabs.d.cts +0 -82
- package/dist/kernel/components/ui/tag.cjs +0 -104
- package/dist/kernel/components/ui/tag.d.cts +0 -14
- package/dist/kernel/components/ui/text.cjs +0 -184
- package/dist/kernel/components/ui/text.d.cts +0 -17
- package/dist/kernel/components/ui/theme-toggle.cjs +0 -108
- package/dist/kernel/components/ui/theme-toggle.d.cts +0 -10
- package/dist/kernel/components/ui/toast.cjs +0 -154
- package/dist/kernel/components/ui/toast.d.cts +0 -26
- package/dist/kernel/components/ui/tooltip.cjs +0 -127
- package/dist/kernel/components/ui/tooltip.d.cts +0 -20
- package/dist/kernel/defaults.registry.cjs +0 -541
- package/dist/kernel/defaults.registry.d.cts +0 -469
- package/dist/kernel/routes/agent/markdown.cjs +0 -202
- package/dist/kernel/routes/agent/markdown.d.cts +0 -58
- package/dist/kernel/routes/layouts/group.cjs +0 -181
- package/dist/kernel/routes/layouts/group.d.cts +0 -20
- package/dist/kernel/routes/metadata/feed.cjs +0 -293
- package/dist/kernel/routes/metadata/feed.d.cts +0 -20
- package/dist/kernel/routes/metadata/llms.cjs +0 -239
- package/dist/kernel/routes/metadata/llms.d.cts +0 -26
- package/dist/kernel/routes/metadata/og-image.cjs +0 -630
- package/dist/kernel/routes/metadata/og-image.d.cts +0 -62
- package/dist/kernel/routes/metadata/robots.cjs +0 -148
- package/dist/kernel/routes/metadata/robots.d.cts +0 -6
- package/dist/kernel/routes/metadata/sitemap.cjs +0 -192
- package/dist/kernel/routes/metadata/sitemap.d.cts +0 -8
- package/dist/kernel/routes/pages/group.cjs +0 -263
- package/dist/kernel/routes/pages/group.d.cts +0 -17
- package/dist/kernel/routes/pages/leaf.cjs +0 -421
- package/dist/kernel/routes/pages/leaf.d.cts +0 -36
- package/dist/kernel/routes/pages/root.cjs +0 -229
- package/dist/kernel/routes/pages/root.d.cts +0 -16
- package/dist/keyboard-shortcuts.cjs +0 -345
- package/dist/keyboard-shortcuts.d.cts +0 -34
- package/dist/resolvers/manifest-resolver.cjs +0 -111
- package/dist/resolvers/manifest-resolver.d.cts +0 -13
- package/dist/search.cjs +0 -411
- package/dist/search.d.cts +0 -20
- package/dist/types.cjs +0 -30
- package/dist/types.d.cts +0 -269
- package/dist/utils/cn.cjs +0 -49
- package/dist/utils/cn.d.cts +0 -15
- package/dist/utils/heading-ids.cjs +0 -119
- package/dist/utils/heading-ids.d.cts +0 -15
- package/dist/utils/pretty-date.cjs +0 -55
- package/dist/utils/pretty-date.d.cts +0 -6
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
|
|
30
|
-
// src/kernel/components/mdx/components/image.tsx
|
|
31
|
-
var image_exports = {};
|
|
32
|
-
__export(image_exports, {
|
|
33
|
-
Image: () => Image
|
|
34
|
-
});
|
|
35
|
-
module.exports = __toCommonJS(image_exports);
|
|
36
|
-
var import_figure_caption = require("./figure-caption.js");
|
|
37
|
-
var import_image_zoom = require("./image-zoom.js");
|
|
38
|
-
|
|
39
|
-
// src/utils/cn.ts
|
|
40
|
-
var import_clsx = require("clsx");
|
|
41
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
42
|
-
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
43
|
-
extend: {
|
|
44
|
-
classGroups: {
|
|
45
|
-
z: [
|
|
46
|
-
"z-content",
|
|
47
|
-
"z-nav",
|
|
48
|
-
"z-overlay",
|
|
49
|
-
"z-modal",
|
|
50
|
-
"z-search",
|
|
51
|
-
"z-toast",
|
|
52
|
-
"z-progress"
|
|
53
|
-
]
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
function cn(...inputs) {
|
|
58
|
-
return twMerge((0, import_clsx.clsx)(inputs));
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// src/kernel/components/mdx/components/image.tsx
|
|
62
|
-
var import_image = __toESM(require("next/image"), 1);
|
|
63
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
64
|
-
function parseAspect(value) {
|
|
65
|
-
if (typeof value === "number" && Number.isFinite(value) && value > 0) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
if (typeof value !== "string") return void 0;
|
|
69
|
-
const [width, height] = value.split("/").map((part) => Number(part.trim()));
|
|
70
|
-
if (!width || !height || !Number.isFinite(width) || !Number.isFinite(height)) {
|
|
71
|
-
return void 0;
|
|
72
|
-
}
|
|
73
|
-
return width / height;
|
|
74
|
-
}
|
|
75
|
-
function Image({
|
|
76
|
-
alt,
|
|
77
|
-
aspect,
|
|
78
|
-
caption,
|
|
79
|
-
className,
|
|
80
|
-
decorative = false,
|
|
81
|
-
fill = false,
|
|
82
|
-
frame = "default",
|
|
83
|
-
height,
|
|
84
|
-
intrinsicHeight,
|
|
85
|
-
intrinsicWidth,
|
|
86
|
-
optimized = false,
|
|
87
|
-
priority,
|
|
88
|
-
quality,
|
|
89
|
-
sizes,
|
|
90
|
-
src,
|
|
91
|
-
width,
|
|
92
|
-
zoom = true,
|
|
93
|
-
...props
|
|
94
|
-
}) {
|
|
95
|
-
if (!src) return null;
|
|
96
|
-
const resolvedWidth = width ?? intrinsicWidth;
|
|
97
|
-
const resolvedHeight = height ?? intrinsicHeight;
|
|
98
|
-
const resolvedAspect = parseAspect(aspect) ?? (resolvedWidth && resolvedHeight ? resolvedWidth / resolvedHeight : void 0);
|
|
99
|
-
const imageAlt = decorative ? "" : alt ?? "";
|
|
100
|
-
const framed = frame !== false && frame !== "none";
|
|
101
|
-
const stringSrc = String(src);
|
|
102
|
-
const useNextImage = optimized && stringSrc.startsWith("/");
|
|
103
|
-
const shouldFill = fill && resolvedAspect;
|
|
104
|
-
const frameStyle = {
|
|
105
|
-
...resolvedAspect ? { aspectRatio: String(resolvedAspect) } : {},
|
|
106
|
-
width: fill ? "100%" : resolvedWidth ? `min(100%, ${resolvedWidth}px)` : "100%"
|
|
107
|
-
};
|
|
108
|
-
const imageClassName = cn(
|
|
109
|
-
"block h-full w-full transition-opacity duration-200",
|
|
110
|
-
fill ? "object-cover" : "object-contain",
|
|
111
|
-
zoom && "cursor-zoom-in hover:opacity-90",
|
|
112
|
-
className
|
|
113
|
-
);
|
|
114
|
-
const image = useNextImage ? shouldFill ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
115
|
-
import_image.default,
|
|
116
|
-
{
|
|
117
|
-
alt: imageAlt,
|
|
118
|
-
"aria-hidden": decorative || void 0,
|
|
119
|
-
className: imageClassName,
|
|
120
|
-
fill: true,
|
|
121
|
-
priority,
|
|
122
|
-
quality,
|
|
123
|
-
sizes: sizes ?? "(max-width: 768px) 100vw, min(var(--publish-content-width, 72rem), 100vw)",
|
|
124
|
-
src: stringSrc,
|
|
125
|
-
...props
|
|
126
|
-
}
|
|
127
|
-
) : resolvedWidth && resolvedHeight ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
128
|
-
import_image.default,
|
|
129
|
-
{
|
|
130
|
-
alt: imageAlt,
|
|
131
|
-
"aria-hidden": decorative || void 0,
|
|
132
|
-
className: imageClassName,
|
|
133
|
-
height: resolvedHeight,
|
|
134
|
-
priority,
|
|
135
|
-
quality,
|
|
136
|
-
sizes: sizes ?? `(max-width: 768px) 100vw, min(${resolvedWidth}px, 100vw)`,
|
|
137
|
-
src: stringSrc,
|
|
138
|
-
width: resolvedWidth,
|
|
139
|
-
...props
|
|
140
|
-
}
|
|
141
|
-
) : (
|
|
142
|
-
// biome-ignore lint/performance/noImgElement: remote and non-manifest images may not have dimensions available at runtime.
|
|
143
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
144
|
-
"img",
|
|
145
|
-
{
|
|
146
|
-
alt: imageAlt,
|
|
147
|
-
"aria-hidden": decorative || void 0,
|
|
148
|
-
className: imageClassName,
|
|
149
|
-
loading: priority ? "eager" : "lazy",
|
|
150
|
-
src: stringSrc,
|
|
151
|
-
...props
|
|
152
|
-
}
|
|
153
|
-
)
|
|
154
|
-
) : (
|
|
155
|
-
// biome-ignore lint/performance/noImgElement: MDX media supports generated tenant assets, SVGs, and remote CDN images without requiring Next image optimizer configuration.
|
|
156
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
157
|
-
"img",
|
|
158
|
-
{
|
|
159
|
-
alt: imageAlt,
|
|
160
|
-
"aria-hidden": decorative || void 0,
|
|
161
|
-
className: imageClassName,
|
|
162
|
-
height: resolvedHeight,
|
|
163
|
-
loading: priority ? "eager" : "lazy",
|
|
164
|
-
src: stringSrc,
|
|
165
|
-
width: resolvedWidth,
|
|
166
|
-
...props
|
|
167
|
-
}
|
|
168
|
-
)
|
|
169
|
-
);
|
|
170
|
-
const content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
171
|
-
"div",
|
|
172
|
-
{
|
|
173
|
-
className: cn(
|
|
174
|
-
"relative mx-auto max-w-full overflow-hidden",
|
|
175
|
-
framed && "rounded-media border border-stroke-2 bg-surface-2"
|
|
176
|
-
),
|
|
177
|
-
style: frameStyle,
|
|
178
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_image_zoom.ImageZoom, { enabled: zoom, children: image })
|
|
179
|
-
}
|
|
180
|
-
);
|
|
181
|
-
if (caption) {
|
|
182
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("figure", { className: "not-markdown-prose my-8", children: [
|
|
183
|
-
content,
|
|
184
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_figure_caption.FigureCaption, { className: "mx-auto max-w-prose text-center", children: caption })
|
|
185
|
-
] });
|
|
186
|
-
}
|
|
187
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "not-markdown-prose my-6 flex justify-center", children: content });
|
|
188
|
-
}
|
|
189
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
190
|
-
0 && (module.exports = {
|
|
191
|
-
Image
|
|
192
|
-
});
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type ImageProps = Omit<React.ComponentPropsWithoutRef<"img">, "height" | "sizes" | "width"> & {
|
|
4
|
-
aspect?: number | `${number}/${number}`;
|
|
5
|
-
caption?: React.ReactNode;
|
|
6
|
-
decorative?: boolean;
|
|
7
|
-
fill?: boolean;
|
|
8
|
-
frame?: boolean | "default" | "none";
|
|
9
|
-
height?: number;
|
|
10
|
-
intrinsicHeight?: number;
|
|
11
|
-
intrinsicWidth?: number;
|
|
12
|
-
optimized?: boolean;
|
|
13
|
-
priority?: boolean;
|
|
14
|
-
quality?: 50 | 60 | 75 | 85 | 95 | 100;
|
|
15
|
-
sizes?: string;
|
|
16
|
-
width?: number;
|
|
17
|
-
zoom?: boolean;
|
|
18
|
-
};
|
|
19
|
-
declare function Image({ alt, aspect, caption, className, decorative, fill, frame, height, intrinsicHeight, intrinsicWidth, optimized, priority, quality, sizes, src, width, zoom, ...props }: ImageProps): react_jsx_runtime.JSX.Element | null;
|
|
20
|
-
|
|
21
|
-
export { Image, type ImageProps };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/kernel/components/mdx/components/inline-code.tsx
|
|
21
|
-
var inline_code_exports = {};
|
|
22
|
-
__export(inline_code_exports, {
|
|
23
|
-
InlineCode: () => InlineCode
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(inline_code_exports);
|
|
26
|
-
|
|
27
|
-
// src/utils/cn.ts
|
|
28
|
-
var import_clsx = require("clsx");
|
|
29
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
30
|
-
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
31
|
-
extend: {
|
|
32
|
-
classGroups: {
|
|
33
|
-
z: [
|
|
34
|
-
"z-content",
|
|
35
|
-
"z-nav",
|
|
36
|
-
"z-overlay",
|
|
37
|
-
"z-modal",
|
|
38
|
-
"z-search",
|
|
39
|
-
"z-toast",
|
|
40
|
-
"z-progress"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
function cn(...inputs) {
|
|
46
|
-
return twMerge((0, import_clsx.clsx)(inputs));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// src/kernel/components/mdx/components/inline-code.tsx
|
|
50
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
51
|
-
function InlineCode({ className, ...props }) {
|
|
52
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
|
-
"code",
|
|
54
|
-
{
|
|
55
|
-
className: cn(
|
|
56
|
-
"not-markdown-prose h-fit rounded-inline-code border border-stroke-2 bg-surface-2 px-[0.35em] py-[0.15em] font-mono text-[0.95em] font-normal leading-[1.25] text-foreground-1 [a_&]:text-accent-1 [pre_&]:border-0 [pre_&]:bg-transparent [pre_&]:p-0 [pre_&]:text-inherit",
|
|
57
|
-
className
|
|
58
|
-
),
|
|
59
|
-
...props
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
-
0 && (module.exports = {
|
|
65
|
-
InlineCode
|
|
66
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type InlineCodeProps = React.ComponentPropsWithoutRef<"code">;
|
|
4
|
-
declare function InlineCode({ className, ...props }: InlineCodeProps): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { InlineCode, type InlineCodeProps };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/kernel/components/mdx/components/kbd.tsx
|
|
21
|
-
var kbd_exports = {};
|
|
22
|
-
__export(kbd_exports, {
|
|
23
|
-
Kbd: () => Kbd
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(kbd_exports);
|
|
26
|
-
var import_kbd = require("../../ui/kbd.js");
|
|
27
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
-
function Kbd(props) {
|
|
29
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_kbd.Kbd, { ...props });
|
|
30
|
-
}
|
|
31
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
-
0 && (module.exports = {
|
|
33
|
-
Kbd
|
|
34
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { KbdProps as KbdProps$1 } from '../../ui/kbd.cjs';
|
|
3
|
-
import 'class-variance-authority/types';
|
|
4
|
-
import 'class-variance-authority';
|
|
5
|
-
import 'react';
|
|
6
|
-
|
|
7
|
-
type KbdProps = KbdProps$1;
|
|
8
|
-
declare function Kbd(props: KbdProps): react_jsx_runtime.JSX.Element;
|
|
9
|
-
|
|
10
|
-
export { Kbd, type KbdProps };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/kernel/components/mdx/components/link.tsx
|
|
21
|
-
var link_exports = {};
|
|
22
|
-
__export(link_exports, {
|
|
23
|
-
Link: () => Link
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(link_exports);
|
|
26
|
-
var import_link = require("../../ui/link.js");
|
|
27
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
-
function Link({
|
|
29
|
-
color = "accent",
|
|
30
|
-
href = "#",
|
|
31
|
-
size,
|
|
32
|
-
variant = "link.inline",
|
|
33
|
-
...props
|
|
34
|
-
}) {
|
|
35
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
36
|
-
import_link.Link,
|
|
37
|
-
{
|
|
38
|
-
color,
|
|
39
|
-
href,
|
|
40
|
-
size,
|
|
41
|
-
variant,
|
|
42
|
-
...props
|
|
43
|
-
}
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
-
0 && (module.exports = {
|
|
48
|
-
Link
|
|
49
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { LinkProps } from '../../ui/link.cjs';
|
|
3
|
-
import 'class-variance-authority/types';
|
|
4
|
-
import '../../ui/button.cjs';
|
|
5
|
-
import 'class-variance-authority';
|
|
6
|
-
import 'react';
|
|
7
|
-
|
|
8
|
-
type MdxLinkProps = LinkProps;
|
|
9
|
-
declare function Link({ color, href, size, variant, ...props }: MdxLinkProps): react_jsx_runtime.JSX.Element;
|
|
10
|
-
|
|
11
|
-
export { Link, type MdxLinkProps };
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/kernel/components/mdx/components/paragraph.tsx
|
|
21
|
-
var paragraph_exports = {};
|
|
22
|
-
__export(paragraph_exports, {
|
|
23
|
-
Paragraph: () => Paragraph
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(paragraph_exports);
|
|
26
|
-
|
|
27
|
-
// src/utils/cn.ts
|
|
28
|
-
var import_clsx = require("clsx");
|
|
29
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
30
|
-
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
31
|
-
extend: {
|
|
32
|
-
classGroups: {
|
|
33
|
-
z: [
|
|
34
|
-
"z-content",
|
|
35
|
-
"z-nav",
|
|
36
|
-
"z-overlay",
|
|
37
|
-
"z-modal",
|
|
38
|
-
"z-search",
|
|
39
|
-
"z-toast",
|
|
40
|
-
"z-progress"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
function cn(...inputs) {
|
|
46
|
-
return twMerge((0, import_clsx.clsx)(inputs));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// src/kernel/components/mdx/components/paragraph.tsx
|
|
50
|
-
var import_react = require("react");
|
|
51
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
52
|
-
function isBlockMediaChild(child) {
|
|
53
|
-
if (!(0, import_react.isValidElement)(child)) return false;
|
|
54
|
-
const props = child.props;
|
|
55
|
-
if (typeof props.src === "string" && "alt" in props) return true;
|
|
56
|
-
if (typeof props.src === "string" && "title" in props) return true;
|
|
57
|
-
const type = child.type;
|
|
58
|
-
if (typeof type === "string") {
|
|
59
|
-
return type === "figure" || type === "img" || type === "video";
|
|
60
|
-
}
|
|
61
|
-
if (typeof type === "function") {
|
|
62
|
-
return ["Figure", "Image", "Video"].includes(type.name);
|
|
63
|
-
}
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
function Paragraph({
|
|
67
|
-
children,
|
|
68
|
-
className,
|
|
69
|
-
...props
|
|
70
|
-
}) {
|
|
71
|
-
const childArray = import_react.Children.toArray(children);
|
|
72
|
-
if (childArray.length === 1 && isBlockMediaChild(childArray[0])) {
|
|
73
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
|
74
|
-
}
|
|
75
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
76
|
-
"p",
|
|
77
|
-
{
|
|
78
|
-
className: cn("my-5 text-base leading-7 text-foreground-2", className),
|
|
79
|
-
...props,
|
|
80
|
-
children
|
|
81
|
-
}
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
85
|
-
0 && (module.exports = {
|
|
86
|
-
Paragraph
|
|
87
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/kernel/components/mdx/components/pre.tsx
|
|
21
|
-
var pre_exports = {};
|
|
22
|
-
__export(pre_exports, {
|
|
23
|
-
Pre: () => Pre
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(pre_exports);
|
|
26
|
-
|
|
27
|
-
// src/utils/cn.ts
|
|
28
|
-
var import_clsx = require("clsx");
|
|
29
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
30
|
-
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
31
|
-
extend: {
|
|
32
|
-
classGroups: {
|
|
33
|
-
z: [
|
|
34
|
-
"z-content",
|
|
35
|
-
"z-nav",
|
|
36
|
-
"z-overlay",
|
|
37
|
-
"z-modal",
|
|
38
|
-
"z-search",
|
|
39
|
-
"z-toast",
|
|
40
|
-
"z-progress"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
function cn(...inputs) {
|
|
46
|
-
return twMerge((0, import_clsx.clsx)(inputs));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// src/kernel/components/mdx/components/pre.tsx
|
|
50
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
51
|
-
function Pre({ className, ...props }) {
|
|
52
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
|
-
"pre",
|
|
54
|
-
{
|
|
55
|
-
className: cn(
|
|
56
|
-
"my-6 overflow-x-auto rounded-codeblock border border-stroke-2 bg-surface-3 p-4 text-sm leading-6 text-foreground-1",
|
|
57
|
-
className
|
|
58
|
-
),
|
|
59
|
-
...props
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
}
|
|
63
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
-
0 && (module.exports = {
|
|
65
|
-
Pre
|
|
66
|
-
});
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/kernel/components/mdx/components/strikethrough.tsx
|
|
21
|
-
var strikethrough_exports = {};
|
|
22
|
-
__export(strikethrough_exports, {
|
|
23
|
-
Strikethrough: () => Strikethrough
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(strikethrough_exports);
|
|
26
|
-
|
|
27
|
-
// src/utils/cn.ts
|
|
28
|
-
var import_clsx = require("clsx");
|
|
29
|
-
var import_tailwind_merge = require("tailwind-merge");
|
|
30
|
-
var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
|
|
31
|
-
extend: {
|
|
32
|
-
classGroups: {
|
|
33
|
-
z: [
|
|
34
|
-
"z-content",
|
|
35
|
-
"z-nav",
|
|
36
|
-
"z-overlay",
|
|
37
|
-
"z-modal",
|
|
38
|
-
"z-search",
|
|
39
|
-
"z-toast",
|
|
40
|
-
"z-progress"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
function cn(...inputs) {
|
|
46
|
-
return twMerge((0, import_clsx.clsx)(inputs));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// src/kernel/components/mdx/components/strikethrough.tsx
|
|
50
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
51
|
-
function Strikethrough({ className, ...props }) {
|
|
52
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
|
-
"del",
|
|
54
|
-
{
|
|
55
|
-
className: cn("text-foreground-3 decoration-stroke-1", className),
|
|
56
|
-
...props
|
|
57
|
-
}
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
61
|
-
0 && (module.exports = {
|
|
62
|
-
Strikethrough
|
|
63
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
|
|
3
|
-
type StrikethroughProps = React.ComponentPropsWithoutRef<"del">;
|
|
4
|
-
declare function Strikethrough({ className, ...props }: StrikethroughProps): react_jsx_runtime.JSX.Element;
|
|
5
|
-
|
|
6
|
-
export { Strikethrough, type StrikethroughProps };
|