@publish.os/nextjs 0.0.1-alpha.8 → 0.0.1-alpha.90

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.
Files changed (201) hide show
  1. package/compiler-assets/nextjs/defaults/app/globals.css +1 -0
  2. package/compiler-assets/nextjs/defaults/group/index.tsx +50 -0
  3. package/compiler-assets/nextjs/defaults/group/layout.tsx +7 -3
  4. package/compiler-assets/nextjs/defaults/group/page.tsx +35 -43
  5. package/compiler-assets/nextjs/defaults/project/next.config.mjs +22 -11
  6. package/compiler-assets/nextjs/defaults/project/tsconfig.json.template +1 -4
  7. package/compiler-assets/nextjs/defaults/root/css/animation.css +131 -0
  8. package/compiler-assets/nextjs/defaults/root/css/components/dialog.css +4 -1
  9. package/compiler-assets/nextjs/defaults/root/css/components/menu.css +1 -1
  10. package/compiler-assets/nextjs/defaults/root/css/components/navigation-menu.css +1 -1
  11. package/compiler-assets/nextjs/defaults/root/css/components/popover.css +1 -1
  12. package/compiler-assets/nextjs/defaults/root/css/components/select.css +1 -1
  13. package/compiler-assets/nextjs/defaults/root/css/components/tooltip.css +1 -1
  14. package/compiler-assets/nextjs/defaults/root/css/shadow.css +6 -25
  15. package/compiler-assets/nextjs/defaults/root/css/typography.css +51 -68
  16. package/compiler-assets/nextjs/defaults/root/globals.css +25 -0
  17. package/compiler-assets/nextjs/defaults/root/{page.tsx → index.tsx} +6 -2
  18. package/compiler-assets/nextjs/defaults/root/layout.tsx +7 -1
  19. package/compiler-assets/nextjs/defaults/root/theme.css +22 -22
  20. package/compiler-assets/nextjs/shims/generated-group-page.tsx +19 -2
  21. package/compiler-assets/nextjs/shims/generated-leaf-page.tsx +16 -2
  22. package/compiler-assets/nextjs/shims/global-layout.tsx +11 -43
  23. package/compiler-assets/nextjs/shims/proxy.ts +21 -9
  24. package/compiler-assets/nextjs/shims/publish-os-theme-provider.tsx +76 -15
  25. package/compiler-assets/nextjs/shims/root-page.tsx +7 -1
  26. package/compiler-assets/nextjs/shims/site-fenced-code-block.tsx +34 -0
  27. package/compiler-assets/nextjs/shims/site-heading-level.tsx +14 -0
  28. package/compiler-assets/nextjs/shims/site-mdx-components.tsx +100 -0
  29. package/compiler-assets/nextjs/shims/site-mdx.tsx +12 -0
  30. package/compiler-assets/nextjs/shims/theme-defaults.css +41 -25
  31. package/dist/build-operation-2JAYBSKF.js +83 -0
  32. package/dist/button-CtzUJB8u.d.ts +11 -0
  33. package/dist/{button-CFdx-ohV.d.ts → button-c3WGnxIj.d.ts} +3 -3
  34. package/dist/chunk-535TM4A5.js +1455 -0
  35. package/dist/chunk-726GV2NF.js +2344 -0
  36. package/dist/chunk-7OGTPSKI.js +156 -0
  37. package/dist/chunk-AI2UULNX.js +9 -0
  38. package/dist/chunk-B2V22WRT.js +297 -0
  39. package/dist/chunk-DLDFHU7Y.js +191 -0
  40. package/dist/chunk-DWA3ZRGW.js +142 -0
  41. package/dist/chunk-GGKFQ3MA.js +621 -0
  42. package/dist/chunk-H6XILMZX.js +6154 -0
  43. package/dist/chunk-NECL5IBJ.js +318 -0
  44. package/dist/chunk-SVYGXXYR.js +36 -0
  45. package/dist/chunk-UF6ATARM.js +1100 -0
  46. package/dist/chunk-VO2I7MTM.js +56 -0
  47. package/dist/chunk-WDY4IK6Z.js +128 -0
  48. package/dist/chunk-WKTEO6RS.js +586 -0
  49. package/dist/chunk-YLTOLYWM.js +92 -0
  50. package/dist/compiler.d.ts +41 -7
  51. package/dist/compiler.js +48 -13143
  52. package/dist/compose-NN23UJGC.js +13 -0
  53. package/dist/config/createNextConfig.js +13 -0
  54. package/dist/dev-operation-TZDVJCN7.js +1055 -0
  55. package/dist/framework-selection-X4U6Y6QC.js +10 -0
  56. package/dist/ide-support-ZNW7ODFY.js +15 -0
  57. package/dist/index.d.ts +15 -3
  58. package/dist/kernel/components/blocks/AgentActions.js +71 -61
  59. package/dist/kernel/components/blocks/design-system-preview.d.ts +1 -1
  60. package/dist/kernel/components/blocks/design-system-preview.js +32 -13
  61. package/dist/kernel/components/blocks/link-playground.js +2 -2
  62. package/dist/kernel/components/blocks/logo-block.js +2 -2
  63. package/dist/kernel/components/blocks/nav-breadcrumb.d.ts +10 -2
  64. package/dist/kernel/components/blocks/nav-breadcrumb.js +20 -5
  65. package/dist/kernel/components/blocks/navbar.d.ts +2 -2
  66. package/dist/kernel/components/blocks/navbar.js +401 -60
  67. package/dist/kernel/components/blocks/navigation-progress-playground.js +4 -4
  68. package/dist/kernel/components/blocks/navigation-progress.js +4 -1
  69. package/dist/kernel/components/blocks/next-prev.d.ts +1 -1
  70. package/dist/kernel/components/blocks/next-prev.js +11 -23
  71. package/dist/kernel/components/blocks/page-list.d.ts +1 -1
  72. package/dist/kernel/components/blocks/page-list.js +5 -4
  73. package/dist/kernel/components/blocks/search.d.ts +83 -58
  74. package/dist/kernel/components/blocks/search.js +553 -426
  75. package/dist/kernel/components/blocks/sidebar-node.d.ts +2 -2
  76. package/dist/kernel/components/blocks/sidebar-node.js +11 -9
  77. package/dist/kernel/components/blocks/sidebar.d.ts +3 -3
  78. package/dist/kernel/components/blocks/sidebar.js +18 -11
  79. package/dist/kernel/components/blocks/theme-toggle.d.ts +2 -2
  80. package/dist/kernel/components/blocks/theme-toggle.js +48 -2
  81. package/dist/kernel/components/blocks/toc.js +3 -3
  82. package/dist/kernel/components/mdx/components/blockquote.js +1 -1
  83. package/dist/kernel/components/mdx/components/callout.d.ts +5 -7
  84. package/dist/kernel/components/mdx/components/callout.js +66 -35
  85. package/dist/kernel/components/mdx/components/code-block.d.ts +5 -2
  86. package/dist/kernel/components/mdx/components/code-block.js +106 -5
  87. package/dist/kernel/components/mdx/components/copy-code-button.d.ts +8 -0
  88. package/dist/kernel/components/mdx/components/copy-code-button.js +60 -0
  89. package/dist/kernel/components/mdx/components/figure-caption.js +1 -1
  90. package/dist/kernel/components/mdx/components/figure.js +1 -1
  91. package/dist/kernel/components/mdx/components/heading-copy-link.js +3 -3
  92. package/dist/kernel/components/mdx/components/image-zoom.d.ts +2 -2
  93. package/dist/kernel/components/mdx/components/image-zoom.js +1 -1
  94. package/dist/kernel/components/mdx/components/image.js +77 -56
  95. package/dist/kernel/components/mdx/components/inline-code.js +1 -1
  96. package/dist/kernel/components/mdx/components/kbd.d.ts +2 -2
  97. package/dist/kernel/components/mdx/components/kbd.js +3 -2
  98. package/dist/kernel/components/mdx/components/link.d.ts +35 -4
  99. package/dist/kernel/components/mdx/components/link.js +1 -1
  100. package/dist/kernel/components/mdx/components/paragraph.js +1 -4
  101. package/dist/kernel/components/mdx/components/task-list.js +1 -1
  102. package/dist/kernel/components/mdx/components/video-player.js +2 -2
  103. package/dist/kernel/components/mdx/components/video.js +1 -1
  104. package/dist/kernel/components/mdx/error-boundary.d.ts +1 -1
  105. package/dist/kernel/components/mdx/mdx.d.ts +12 -8
  106. package/dist/kernel/components/mdx/mdx.js +115 -39
  107. package/dist/kernel/components/mdx/rehype-heading-ids.js +1 -1
  108. package/dist/kernel/components/mdx/types.d.ts +1 -1
  109. package/dist/kernel/components/ui/breadcrumb-trail.d.ts +6 -23
  110. package/dist/kernel/components/ui/breadcrumb.d.ts +11 -3
  111. package/dist/kernel/components/ui/breadcrumb.js +6 -4
  112. package/dist/kernel/components/ui/button-group.d.ts +1 -1
  113. package/dist/kernel/components/ui/button-group.js +5 -4
  114. package/dist/kernel/components/ui/button.d.ts +2 -2
  115. package/dist/kernel/components/ui/button.js +6 -6
  116. package/dist/kernel/components/ui/card.d.ts +2 -2
  117. package/dist/kernel/components/ui/drawer.d.ts +3 -1
  118. package/dist/kernel/components/ui/drawer.js +5 -1
  119. package/dist/kernel/components/ui/input.d.ts +4 -4
  120. package/dist/kernel/components/ui/kbd.d.ts +1 -1
  121. package/dist/kernel/components/ui/kbd.js +9 -16
  122. package/dist/kernel/components/ui/link.d.ts +5 -3
  123. package/dist/kernel/components/ui/link.js +10 -9
  124. package/dist/kernel/components/ui/menu.js +5 -5
  125. package/dist/kernel/components/ui/mod-key.d.ts +10 -0
  126. package/dist/kernel/components/ui/mod-key.js +36 -0
  127. package/dist/kernel/components/ui/navigation-menu.js +2 -2
  128. package/dist/kernel/components/ui/progress.js +1 -1
  129. package/dist/kernel/components/ui/scroll-area.d.ts +8 -8
  130. package/dist/kernel/components/ui/scroll-area.js +4 -4
  131. package/dist/kernel/components/ui/select.js +7 -10
  132. package/dist/kernel/components/ui/text.d.ts +2 -2
  133. package/dist/kernel/components/ui/theme-toggle.d.ts +3 -3
  134. package/dist/kernel/components/ui/theme-toggle.js +4 -9
  135. package/dist/kernel/defaults.registry.d.ts +9 -9
  136. package/dist/kernel/defaults.registry.js +9 -9
  137. package/dist/kernel/routes/agent/markdown.d.ts +0 -1
  138. package/dist/kernel/routes/layouts/group.d.ts +1 -1
  139. package/dist/kernel/routes/metadata/feed.d.ts +1 -1
  140. package/dist/kernel/routes/metadata/feed.js +13 -9
  141. package/dist/kernel/routes/metadata/llms.d.ts +2 -1
  142. package/dist/kernel/routes/metadata/llms.js +4 -4
  143. package/dist/kernel/routes/metadata/robots.d.ts +1 -1
  144. package/dist/kernel/routes/metadata/robots.js +2 -2
  145. package/dist/kernel/routes/metadata/sitemap.d.ts +6 -3
  146. package/dist/kernel/routes/metadata/sitemap.js +48 -20
  147. package/dist/kernel/routes/pages/group.d.ts +1 -1
  148. package/dist/kernel/routes/pages/group.js +20 -12
  149. package/dist/kernel/routes/pages/leaf.d.ts +2 -2
  150. package/dist/kernel/routes/pages/leaf.js +20 -12
  151. package/dist/kernel/routes/pages/root.d.ts +2 -2
  152. package/dist/kernel/routes/pages/root.js +18 -12
  153. package/dist/resolvers/manifest-resolver.js +29 -6
  154. package/dist/search.d.ts +6 -7
  155. package/dist/search.js +47 -22
  156. package/dist/{sidebar-types-Bgchdfd6.d.ts → sidebar-types-DKpR27II.d.ts} +1 -1
  157. package/dist/{types-CIwwieNw.d.ts → types-BzkZty3r.d.ts} +23 -3
  158. package/dist/{types-DHBm7-j6.d.ts → types-CJWRG05y.d.ts} +20 -1
  159. package/dist/{types-B_b3C0U6.d.ts → types-CUtrppxt.d.ts} +8 -2
  160. package/dist/types.d.ts +14 -6
  161. package/dist/validate-local-source-XRL2Y7XE.js +14 -0
  162. package/dist/validate-publish-os-source-DAPZ4QGE.js +12 -0
  163. package/init/seed/minimal/.gitignore +1 -0
  164. package/init/seed/minimal/publish.os/assets/favicon/favicon.dark.png +0 -0
  165. package/init/seed/minimal/publish.os/assets/favicon/favicon.png +0 -0
  166. package/init/seed/minimal/publish.os/docs/content/get-started.mdx +6 -10
  167. package/init/seed/minimal/publish.os/docs/content/groups.mdx +1 -1
  168. package/init/seed/minimal/publish.os/docs/content/{theme.mdx → themes.mdx} +14 -12
  169. package/init/seed/minimal/publish.os/publish.os.config.json +3 -7
  170. package/init/seed/minimal/publish.os/theme.css +52 -24
  171. package/init/seed/minimal/publish.os/tsconfig.json +3 -0
  172. package/init/seed/minimal/seed.json +4 -1
  173. package/init/seed/scratch/publish.os/docs/content/get-started.mdx +6 -0
  174. package/init/seed/scratch/publish.os/publish.os.config.json +4 -0
  175. package/init/seed/scratch/seed.json +5 -0
  176. package/package.json +12 -26
  177. package/release/app/phosphor/package.json +3 -3
  178. package/release/app/phosphor/pnpm-lock.yaml.template +523 -360
  179. package/release/app/phosphor/pnpm-workspace.yaml +3 -0
  180. package/release/compiler/package.json +1 -1
  181. package/release/compiler/pnpm-lock.yaml.template +439 -286
  182. package/release/compiler/pnpm-workspace.yaml +3 -0
  183. package/release/release.json +7 -36
  184. package/compiler-assets/nextjs/defaults/group/leaf.tsx +0 -48
  185. package/dist/icons.d.ts +0 -1
  186. package/dist/icons.js +0 -2
  187. package/dist/kernel/components/mdx/components/pre.d.ts +0 -6
  188. package/dist/kernel/components/mdx/components/pre.js +0 -18
  189. package/dist/kernel/components/ui/meta-key.d.ts +0 -17
  190. package/dist/kernel/components/ui/meta-key.js +0 -9
  191. package/dist/kernel/framework-icons.d.ts +0 -1
  192. package/dist/kernel/framework-icons.js +0 -39
  193. package/dist/link-CYaCRDb6.d.ts +0 -35
  194. package/dist/route-metadata-og-image-BeKKFHg7.d.ts +0 -58
  195. package/dist/types-sM2g9nW0.d.ts +0 -12
  196. package/release/app/lucide/package.json +0 -30
  197. package/release/app/lucide/pnpm-lock.yaml.template +0 -2905
  198. package/release/app/lucide/pnpm-workspace.yaml +0 -11
  199. package/release/app/tabler/package.json +0 -30
  200. package/release/app/tabler/pnpm-lock.yaml.template +0 -2911
  201. package/release/app/tabler/pnpm-workspace.yaml +0 -11
@@ -1,3 +1,6 @@
1
+ publicHoistPattern:
2
+ - "@swc/helpers"
3
+
1
4
  minimumReleaseAge: 1440
2
5
  minimumReleaseAgeExclude:
3
6
  - "@publish.os/cli"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "runtime": "nextjs",
4
- "version": "0.0.1-alpha.8",
4
+ "version": "0.0.1-alpha.90",
5
5
  "cliProtocol": 1,
6
6
  "node": "24.x",
7
7
  "pnpm": "12.3.0",
@@ -19,45 +19,16 @@
19
19
  "sharp": true
20
20
  }
21
21
  },
22
- "configurableDependencies": {
23
- "icons": {
24
- "lucide": {
25
- "package": "lucide-react",
26
- "version": "0.468.0",
27
- "integrity": "sha512-6koYRhnM2N0GGZIdXzSeiNwguv1gt/FAjZOiPl76roBi3xKEXa4WmfpxgQwTTL4KipXjefrnf3oV4IsYhi4JFA=="
28
- },
29
- "phosphor": {
30
- "package": "@phosphor-icons/react",
31
- "version": "2.1.10",
32
- "integrity": "sha512-vt8Tvq8GLjheAZZYa+YG/pW7HDbov8El/MANW8pOAz4eGxrwhnbfrQZq0Cp4q8zBEu8NIhHdnr+r8thnfRSNYA=="
33
- },
34
- "tabler": {
35
- "package": "@tabler/icons-react",
36
- "version": "3.35.0",
37
- "integrity": "sha512-XG7t2DYf3DyHT5jxFNp5xyLVbL4hMJYJhiSdHADzAjLRYfL7AnjlRfiHDHeXxkb2N103rEIvTsBRazxXtAUz2g=="
38
- }
39
- }
40
- },
41
22
  "graphs": {
42
23
  "compiler": {
43
- "packageJsonSha256": "99ec12fe56a64a303a672d8cf65848bb2808b88ac1e275f9a28100265186e08a",
44
- "pnpmWorkspaceSha256": "7f31d448dec4c55e86208675d9502baba17639fbed2f70b24c6621e5465aa304",
45
- "lockfileTemplateSha256": "543db6d1cb8b7261d9189112bed00824a56b909d5ce179febcc1f0b2accbdc62"
46
- },
47
- "app/lucide": {
48
- "packageJsonSha256": "3ce798aba1e82073fc2e683a3cbbb30d05d2524bf8b6592b402425755f2a537c",
49
- "pnpmWorkspaceSha256": "7f31d448dec4c55e86208675d9502baba17639fbed2f70b24c6621e5465aa304",
50
- "lockfileTemplateSha256": "29a4526db7339fd1c78e90822f1bd6e16058adc97a6471cabf32b1d2504bae65"
24
+ "packageJsonSha256": "c01065e84091c89784501226b9e72b1003bc1f1eabc4d334ab7146442d573077",
25
+ "pnpmWorkspaceSha256": "101f388d3c1f4cfc76f5a386b5ef5b5afb4faf310c7233a314cf3274086ed84c",
26
+ "lockfileTemplateSha256": "ef6ed364bdc2e677bca2c0c77d88c4156c70839e3cb0cc4db1bd39dfe74a02c2"
51
27
  },
52
28
  "app/phosphor": {
53
- "packageJsonSha256": "ab674f402aa813035d849aa8258e9cef53492a208bbeac585f922b6e2d62d3cd",
54
- "pnpmWorkspaceSha256": "7f31d448dec4c55e86208675d9502baba17639fbed2f70b24c6621e5465aa304",
55
- "lockfileTemplateSha256": "51ed84e72ee6f2c221deeedfe70e110a87499e00e13dac238ce4fc070e69542f"
56
- },
57
- "app/tabler": {
58
- "packageJsonSha256": "bc677a24eb343ad969b228d00750ce777d536e15b6f275258893eafc5c18f01b",
59
- "pnpmWorkspaceSha256": "7f31d448dec4c55e86208675d9502baba17639fbed2f70b24c6621e5465aa304",
60
- "lockfileTemplateSha256": "81c605f38908a8e14a6a1abe0715010655508d5d5beed9f0c2e73253245afc99"
29
+ "packageJsonSha256": "caeb6dd29a6abf3cacb28d3dd72efaa498a97df5cbe3f2a10b67625994f2a086",
30
+ "pnpmWorkspaceSha256": "101f388d3c1f4cfc76f5a386b5ef5b5afb4faf310c7233a314cf3274086ed84c",
31
+ "lockfileTemplateSha256": "5ad00dccfdc7de664259d4024694e0074c9b11e3f91b78b0d059743c78584ebb"
61
32
  }
62
33
  }
63
34
  }
@@ -1,48 +0,0 @@
1
- import { AgentActions } from "@components/blocks/AgentActions";
2
- import { NextPrev } from "@components/blocks/next-prev";
3
- import { MDX } from "@publish.os/nextjs/mdx";
4
- import type { PageProps } from "@publish.os/nextjs/types";
5
- import { log } from "@source/_internal/logger";
6
- import { mdxComponents } from "@source/_internal/mdx-components.generated";
7
-
8
- export default async function LeafPage(props: PageProps) {
9
- log.debug("[default:leaf-page]", props);
10
- const sourceUrl =
11
- typeof props.page.meta.sourceUrl === "string"
12
- ? props.page.meta.sourceUrl
13
- : typeof props.page.meta.githubUrl === "string"
14
- ? props.page.meta.githubUrl
15
- : undefined;
16
-
17
- return (
18
- <div className="flex min-h-[calc(100vh_-_var(--layout-global-nav-height))] min-w-0 flex-1 flex-col px-6 py-10 text-foreground-1 lg:px-10 supports-[height:100dvh]:min-h-[calc(100dvh_-_var(--layout-global-nav-height))] supports-[top:anchor-size(--global-navbar_height)]:min-h-[calc(100vh_-_anchor-size(--global-navbar_height,3.5rem))] supports-[top:anchor-size(--global-navbar_height)]:supports-[height:100dvh]:min-h-[calc(100dvh_-_anchor-size(--global-navbar_height,3.5rem))]">
19
- <div className="mx-auto flex w-full max-w-(--layout-content-max-width) flex-1 flex-col">
20
- <article className="min-h-0 min-w-0 flex-1">
21
- <h1 className="text-3xl font-semibold tracking-tight text-foreground-1">
22
- {props.page.title}
23
- </h1>
24
- <AgentActions
25
- className="mt-4"
26
- markdown={props.page.body}
27
- pagePath={props.currentPath}
28
- siteUrl={props.site.url}
29
- sourceUrl={sourceUrl}
30
- />
31
- <div className="mt-6">
32
- <MDX
33
- components={mdxComponents}
34
- content={props.page.body}
35
- pageId={props.page.fileID}
36
- slug={props.page.slug}
37
- />
38
- </div>
39
- </article>
40
- <NextPrev
41
- className="mt-auto pt-12"
42
- currentPath={props.currentPath}
43
- tree={props.tree}
44
- />
45
- </div>
46
- </div>
47
- );
48
- }
package/dist/icons.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from 'lucide-react';
package/dist/icons.js DELETED
@@ -1,2 +0,0 @@
1
- // src/icons.ts
2
- export * from "lucide-react";
@@ -1,6 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
-
3
- type PreProps = React.ComponentPropsWithoutRef<"pre">;
4
- declare function Pre({ className, ...props }: PreProps): react_jsx_runtime.JSX.Element;
5
-
6
- export { Pre, type PreProps };
@@ -1,18 +0,0 @@
1
- // src/components/mdx/pre.tsx
2
- import { cn } from "@publish.os/nextjs/utils/cn";
3
- import { jsx } from "react/jsx-runtime";
4
- function Pre({ className, ...props }) {
5
- return /* @__PURE__ */ jsx(
6
- "pre",
7
- {
8
- className: cn(
9
- "my-6 overflow-x-auto rounded-codeblock border border-typography-pre-stroke bg-typography-pre-surface p-4 text-sm leading-6 text-typography-pre-foreground",
10
- className
11
- ),
12
- ...props
13
- }
14
- );
15
- }
16
- export {
17
- Pre
18
- };
@@ -1,17 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import * as class_variance_authority_types from 'class-variance-authority/types';
3
- import { VariantProps } from 'class-variance-authority';
4
- import { HTMLAttributes, ComponentPropsWithoutRef } from 'react';
5
-
6
- declare const kbdVariants: (props?: ({
7
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
8
- square?: boolean | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
10
- type KbdProps = HTMLAttributes<HTMLElement> & VariantProps<typeof kbdVariants>;
11
-
12
- type MetaKeyProps = Omit<KbdProps, "children"> & {
13
- children?: ComponentPropsWithoutRef<"kbd">["children"];
14
- };
15
- declare function MetaKey({ children, ...props }: MetaKeyProps): react_jsx_runtime.JSX.Element;
16
-
17
- export { MetaKey, type MetaKeyProps };
@@ -1,9 +0,0 @@
1
- // src/components/ui/meta-key.tsx
2
- import { Kbd } from "@publish.os/nextjs/kernel/components/ui/kbd";
3
- import { jsx } from "react/jsx-runtime";
4
- function MetaKey({ children, ...props }) {
5
- return /* @__PURE__ */ jsx(Kbd, { ...props, children: children ?? "\u2318" });
6
- }
7
- export {
8
- MetaKey
9
- };
@@ -1 +0,0 @@
1
- export { ArrowRight as FrameworkArrowRightIcon, Bot as FrameworkBotIcon, Check as FrameworkCheckIcon, ChevronDown as FrameworkChevronDownIcon, ChevronLeft as FrameworkChevronLeftIcon, ChevronRight as FrameworkChevronRightIcon, Clipboard as FrameworkClipboardIcon, Copy as FrameworkCopyIcon, ExternalLink as FrameworkExternalLinkIcon, Eye as FrameworkEyeIcon, Github as FrameworkGithubIcon, Link as FrameworkLinkIcon, MessageCircle as FrameworkMessageCircleIcon, Monitor as FrameworkMonitorIcon, Moon as FrameworkMoonIcon, Search as FrameworkSearchIcon, Sun as FrameworkSunIcon } from 'lucide-react';
@@ -1,39 +0,0 @@
1
- // src/framework-icons.ts
2
- import {
3
- ArrowRight,
4
- Bot,
5
- Check,
6
- ChevronDown,
7
- ChevronLeft,
8
- ChevronRight,
9
- Clipboard,
10
- Copy,
11
- ExternalLink,
12
- Eye,
13
- Github,
14
- Link,
15
- MessageCircle,
16
- Monitor,
17
- Moon,
18
- Search,
19
- Sun
20
- } from "lucide-react";
21
- export {
22
- ArrowRight as FrameworkArrowRightIcon,
23
- Bot as FrameworkBotIcon,
24
- Check as FrameworkCheckIcon,
25
- ChevronDown as FrameworkChevronDownIcon,
26
- ChevronLeft as FrameworkChevronLeftIcon,
27
- ChevronRight as FrameworkChevronRightIcon,
28
- Clipboard as FrameworkClipboardIcon,
29
- Copy as FrameworkCopyIcon,
30
- ExternalLink as FrameworkExternalLinkIcon,
31
- Eye as FrameworkEyeIcon,
32
- Github as FrameworkGithubIcon,
33
- Link as FrameworkLinkIcon,
34
- MessageCircle as FrameworkMessageCircleIcon,
35
- Monitor as FrameworkMonitorIcon,
36
- Moon as FrameworkMoonIcon,
37
- Search as FrameworkSearchIcon,
38
- Sun as FrameworkSunIcon
39
- };
@@ -1,35 +0,0 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import { VariantProps } from 'class-variance-authority';
3
- import { ReactNode, AnchorHTMLAttributes } from 'react';
4
-
5
- declare const buttonVariants: (props?: ({
6
- variant?: "solid" | "soft" | "outline" | "ghost" | null | undefined;
7
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
8
- iconOnly?: boolean | null | undefined;
9
- } & class_variance_authority_types.ClassProp) | undefined) => string;
10
- type ButtonVariantProps = VariantProps<typeof buttonVariants>;
11
-
12
- declare const linkVariants: (props?: ({
13
- color?: "accent" | "default" | null | undefined;
14
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
15
- variant?: "inline" | "standalone" | null | undefined;
16
- } & class_variance_authority_types.ClassProp) | undefined) => string;
17
- type LinkVariantProps = VariantProps<typeof linkVariants>;
18
- type LinkStyleVariant = NonNullable<LinkVariantProps["variant"]>;
19
- type LinkButtonVariant = `button.${NonNullable<ButtonVariantProps["variant"]>}`;
20
- type LinkVariant = `link.${LinkStyleVariant}` | LinkButtonVariant;
21
- type NamedLinkColor = "accent" | "default";
22
- type LinkColor = NamedLinkColor | (string & {});
23
- type LinkProps = {
24
- active?: boolean;
25
- children?: ReactNode;
26
- color?: LinkColor;
27
- disabled?: boolean;
28
- href?: string;
29
- iconOnly?: ButtonVariantProps["iconOnly"];
30
- leftIcon?: ReactNode;
31
- rightIcon?: ReactNode;
32
- variant?: LinkVariant;
33
- } & Omit<LinkVariantProps, "color" | "variant"> & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "color" | "href">;
34
-
35
- export type { LinkProps as L, LinkStyleVariant as a, LinkButtonVariant as b };
@@ -1,58 +0,0 @@
1
- type OgImageEntryLike = {
2
- key: string;
3
- routePath: string;
4
- title: string;
5
- description?: string;
6
- source: "asset" | "generated" | "remote";
7
- url: string;
8
- width: number;
9
- height: number;
10
- alt: string;
11
- group?: string;
12
- logo?: {
13
- dataUri?: string;
14
- height?: number;
15
- kind: "logo" | "mark" | "wordmark";
16
- url: string;
17
- width?: number;
18
- };
19
- siteName?: string;
20
- siteUrl?: string;
21
- label?: string;
22
- background?: string;
23
- textPrimary?: string;
24
- textSecondary?: string;
25
- accent?: string;
26
- stroke?: string;
27
- theme?: "light" | "dark";
28
- fonts?: {
29
- main: OgFontRoleLike;
30
- mono: OgFontRoleLike;
31
- };
32
- emoji?: Readonly<Record<string, string>>;
33
- fallbackGlyphs?: Partial<Record<"main" | "mono", Readonly<Record<string, string>>>>;
34
- fallbackFonts?: ReadonlyArray<{
35
- family: string;
36
- data: string;
37
- style: "normal" | "italic";
38
- weight: number;
39
- }>;
40
- };
41
- type OgManifestLike = {
42
- width: number;
43
- height: number;
44
- generated: Record<string, OgImageEntryLike>;
45
- };
46
- type OgFontRoleLike = {
47
- family: string;
48
- files?: ReadonlyArray<{
49
- data: string;
50
- path?: string;
51
- probe?: string;
52
- style: "normal" | "italic";
53
- weight: number;
54
- }>;
55
- sourceType: "google" | "local";
56
- };
57
-
58
- export type { OgManifestLike as O };
@@ -1,12 +0,0 @@
1
- import { MDXComponents as MDXComponents$1 } from 'mdx/types.js';
2
- import { ReactNode } from 'react';
3
-
4
- type MDXComponents = MDXComponents$1;
5
- type MdxErrorBoundaryProps = {
6
- errorMessage?: string;
7
- pageId?: string;
8
- slug?: string;
9
- children: ReactNode;
10
- };
11
-
12
- export type { MdxErrorBoundaryProps as M, MDXComponents as a };
@@ -1,30 +0,0 @@
1
- {
2
- "engines": {
3
- "node": "24.x"
4
- },
5
- "name": "publish-os-nextjs-app-lucide-install",
6
- "packageManager": "pnpm@12.3.0",
7
- "private": true,
8
- "type": "module",
9
- "dependencies": {
10
- "@base-ui/react": "1.8.0",
11
- "@publish.os/nextjs": "file:./framework.tgz",
12
- "@tailwindcss/postcss": "4.3.0",
13
- "@types/node": "24.13.2",
14
- "@types/react": "19.2.2",
15
- "@types/react-dom": "19.2.2",
16
- "class-variance-authority": "0.7.1",
17
- "lucide-react": "0.468.0",
18
- "next": "16.3.6",
19
- "next-themes": "0.4.6",
20
- "pagefind": "1.5.2",
21
- "react": "19.2.0",
22
- "react-dom": "19.2.0",
23
- "tailwindcss": "4.3.0",
24
- "typescript": "5.9.2"
25
- },
26
- "scripts": {
27
- "dev": "next dev",
28
- "build": "next build && node scripts/build-search-index.mjs"
29
- }
30
- }