@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
@@ -4,8 +4,8 @@ import { cn } from "@publish.os/nextjs/utils/cn";
4
4
  import { cva } from "class-variance-authority";
5
5
  import NextLink from "next/link";
6
6
 
7
- // ../../node_modules/.pnpm/tailwindcss@4.3.0/node_modules/tailwindcss/dist/chunk-X4GG3EDV.mjs
8
- var l = { inherit: "inherit", current: "currentcolor", transparent: "transparent", black: "#000", white: "#fff", slate: { 50: "oklch(98.4% 0.003 247.858)", 100: "oklch(96.8% 0.007 247.896)", 200: "oklch(92.9% 0.013 255.508)", 300: "oklch(86.9% 0.022 252.894)", 400: "oklch(70.4% 0.04 256.788)", 500: "oklch(55.4% 0.046 257.417)", 600: "oklch(44.6% 0.043 257.281)", 700: "oklch(37.2% 0.044 257.287)", 800: "oklch(27.9% 0.041 260.031)", 900: "oklch(20.8% 0.042 265.755)", 950: "oklch(12.9% 0.042 264.695)" }, gray: { 50: "oklch(98.5% 0.002 247.839)", 100: "oklch(96.7% 0.003 264.542)", 200: "oklch(92.8% 0.006 264.531)", 300: "oklch(87.2% 0.01 258.338)", 400: "oklch(70.7% 0.022 261.325)", 500: "oklch(55.1% 0.027 264.364)", 600: "oklch(44.6% 0.03 256.802)", 700: "oklch(37.3% 0.034 259.733)", 800: "oklch(27.8% 0.033 256.848)", 900: "oklch(21% 0.034 264.665)", 950: "oklch(13% 0.028 261.692)" }, zinc: { 50: "oklch(98.5% 0 0)", 100: "oklch(96.7% 0.001 286.375)", 200: "oklch(92% 0.004 286.32)", 300: "oklch(87.1% 0.006 286.286)", 400: "oklch(70.5% 0.015 286.067)", 500: "oklch(55.2% 0.016 285.938)", 600: "oklch(44.2% 0.017 285.786)", 700: "oklch(37% 0.013 285.805)", 800: "oklch(27.4% 0.006 286.033)", 900: "oklch(21% 0.006 285.885)", 950: "oklch(14.1% 0.005 285.823)" }, neutral: { 50: "oklch(98.5% 0 0)", 100: "oklch(97% 0 0)", 200: "oklch(92.2% 0 0)", 300: "oklch(87% 0 0)", 400: "oklch(70.8% 0 0)", 500: "oklch(55.6% 0 0)", 600: "oklch(43.9% 0 0)", 700: "oklch(37.1% 0 0)", 800: "oklch(26.9% 0 0)", 900: "oklch(20.5% 0 0)", 950: "oklch(14.5% 0 0)" }, stone: { 50: "oklch(98.5% 0.001 106.423)", 100: "oklch(97% 0.001 106.424)", 200: "oklch(92.3% 0.003 48.717)", 300: "oklch(86.9% 0.005 56.366)", 400: "oklch(70.9% 0.01 56.259)", 500: "oklch(55.3% 0.013 58.071)", 600: "oklch(44.4% 0.011 73.639)", 700: "oklch(37.4% 0.01 67.558)", 800: "oklch(26.8% 0.007 34.298)", 900: "oklch(21.6% 0.006 56.043)", 950: "oklch(14.7% 0.004 49.25)" }, mauve: { 50: "oklch(98.5% 0 0)", 100: "oklch(96% 0.003 325.6)", 200: "oklch(92.2% 0.005 325.62)", 300: "oklch(86.5% 0.012 325.68)", 400: "oklch(71.1% 0.019 323.02)", 500: "oklch(54.2% 0.034 322.5)", 600: "oklch(43.5% 0.029 321.78)", 700: "oklch(36.4% 0.029 323.89)", 800: "oklch(26.3% 0.024 320.12)", 900: "oklch(21.2% 0.019 322.12)", 950: "oklch(14.5% 0.008 326)" }, olive: { 50: "oklch(98.8% 0.003 106.5)", 100: "oklch(96.6% 0.005 106.5)", 200: "oklch(93% 0.007 106.5)", 300: "oklch(88% 0.011 106.6)", 400: "oklch(73.7% 0.021 106.9)", 500: "oklch(58% 0.031 107.3)", 600: "oklch(46.6% 0.025 107.3)", 700: "oklch(39.4% 0.023 107.4)", 800: "oklch(28.6% 0.016 107.4)", 900: "oklch(22.8% 0.013 107.4)", 950: "oklch(15.3% 0.006 107.1)" }, mist: { 50: "oklch(98.7% 0.002 197.1)", 100: "oklch(96.3% 0.002 197.1)", 200: "oklch(92.5% 0.005 214.3)", 300: "oklch(87.2% 0.007 219.6)", 400: "oklch(72.3% 0.014 214.4)", 500: "oklch(56% 0.021 213.5)", 600: "oklch(45% 0.017 213.2)", 700: "oklch(37.8% 0.015 216)", 800: "oklch(27.5% 0.011 216.9)", 900: "oklch(21.8% 0.008 223.9)", 950: "oklch(14.8% 0.004 228.8)" }, taupe: { 50: "oklch(98.6% 0.002 67.8)", 100: "oklch(96% 0.002 17.2)", 200: "oklch(92.2% 0.005 34.3)", 300: "oklch(86.8% 0.007 39.5)", 400: "oklch(71.4% 0.014 41.2)", 500: "oklch(54.7% 0.021 43.1)", 600: "oklch(43.8% 0.017 39.3)", 700: "oklch(36.7% 0.016 35.7)", 800: "oklch(26.8% 0.011 36.5)", 900: "oklch(21.4% 0.009 43.1)", 950: "oklch(14.7% 0.004 49.3)" }, red: { 50: "oklch(97.1% 0.013 17.38)", 100: "oklch(93.6% 0.032 17.717)", 200: "oklch(88.5% 0.062 18.334)", 300: "oklch(80.8% 0.114 19.571)", 400: "oklch(70.4% 0.191 22.216)", 500: "oklch(63.7% 0.237 25.331)", 600: "oklch(57.7% 0.245 27.325)", 700: "oklch(50.5% 0.213 27.518)", 800: "oklch(44.4% 0.177 26.899)", 900: "oklch(39.6% 0.141 25.723)", 950: "oklch(25.8% 0.092 26.042)" }, orange: { 50: "oklch(98% 0.016 73.684)", 100: "oklch(95.4% 0.038 75.164)", 200: "oklch(90.1% 0.076 70.697)", 300: "oklch(83.7% 0.128 66.29)", 400: "oklch(75% 0.183 55.934)", 500: "oklch(70.5% 0.213 47.604)", 600: "oklch(64.6% 0.222 41.116)", 700: "oklch(55.3% 0.195 38.402)", 800: "oklch(47% 0.157 37.304)", 900: "oklch(40.8% 0.123 38.172)", 950: "oklch(26.6% 0.079 36.259)" }, amber: { 50: "oklch(98.7% 0.022 95.277)", 100: "oklch(96.2% 0.059 95.617)", 200: "oklch(92.4% 0.12 95.746)", 300: "oklch(87.9% 0.169 91.605)", 400: "oklch(82.8% 0.189 84.429)", 500: "oklch(76.9% 0.188 70.08)", 600: "oklch(66.6% 0.179 58.318)", 700: "oklch(55.5% 0.163 48.998)", 800: "oklch(47.3% 0.137 46.201)", 900: "oklch(41.4% 0.112 45.904)", 950: "oklch(27.9% 0.077 45.635)" }, yellow: { 50: "oklch(98.7% 0.026 102.212)", 100: "oklch(97.3% 0.071 103.193)", 200: "oklch(94.5% 0.129 101.54)", 300: "oklch(90.5% 0.182 98.111)", 400: "oklch(85.2% 0.199 91.936)", 500: "oklch(79.5% 0.184 86.047)", 600: "oklch(68.1% 0.162 75.834)", 700: "oklch(55.4% 0.135 66.442)", 800: "oklch(47.6% 0.114 61.907)", 900: "oklch(42.1% 0.095 57.708)", 950: "oklch(28.6% 0.066 53.813)" }, lime: { 50: "oklch(98.6% 0.031 120.757)", 100: "oklch(96.7% 0.067 122.328)", 200: "oklch(93.8% 0.127 124.321)", 300: "oklch(89.7% 0.196 126.665)", 400: "oklch(84.1% 0.238 128.85)", 500: "oklch(76.8% 0.233 130.85)", 600: "oklch(64.8% 0.2 131.684)", 700: "oklch(53.2% 0.157 131.589)", 800: "oklch(45.3% 0.124 130.933)", 900: "oklch(40.5% 0.101 131.063)", 950: "oklch(27.4% 0.072 132.109)" }, green: { 50: "oklch(98.2% 0.018 155.826)", 100: "oklch(96.2% 0.044 156.743)", 200: "oklch(92.5% 0.084 155.995)", 300: "oklch(87.1% 0.15 154.449)", 400: "oklch(79.2% 0.209 151.711)", 500: "oklch(72.3% 0.219 149.579)", 600: "oklch(62.7% 0.194 149.214)", 700: "oklch(52.7% 0.154 150.069)", 800: "oklch(44.8% 0.119 151.328)", 900: "oklch(39.3% 0.095 152.535)", 950: "oklch(26.6% 0.065 152.934)" }, emerald: { 50: "oklch(97.9% 0.021 166.113)", 100: "oklch(95% 0.052 163.051)", 200: "oklch(90.5% 0.093 164.15)", 300: "oklch(84.5% 0.143 164.978)", 400: "oklch(76.5% 0.177 163.223)", 500: "oklch(69.6% 0.17 162.48)", 600: "oklch(59.6% 0.145 163.225)", 700: "oklch(50.8% 0.118 165.612)", 800: "oklch(43.2% 0.095 166.913)", 900: "oklch(37.8% 0.077 168.94)", 950: "oklch(26.2% 0.051 172.552)" }, teal: { 50: "oklch(98.4% 0.014 180.72)", 100: "oklch(95.3% 0.051 180.801)", 200: "oklch(91% 0.096 180.426)", 300: "oklch(85.5% 0.138 181.071)", 400: "oklch(77.7% 0.152 181.912)", 500: "oklch(70.4% 0.14 182.503)", 600: "oklch(60% 0.118 184.704)", 700: "oklch(51.1% 0.096 186.391)", 800: "oklch(43.7% 0.078 188.216)", 900: "oklch(38.6% 0.063 188.416)", 950: "oklch(27.7% 0.046 192.524)" }, cyan: { 50: "oklch(98.4% 0.019 200.873)", 100: "oklch(95.6% 0.045 203.388)", 200: "oklch(91.7% 0.08 205.041)", 300: "oklch(86.5% 0.127 207.078)", 400: "oklch(78.9% 0.154 211.53)", 500: "oklch(71.5% 0.143 215.221)", 600: "oklch(60.9% 0.126 221.723)", 700: "oklch(52% 0.105 223.128)", 800: "oklch(45% 0.085 224.283)", 900: "oklch(39.8% 0.07 227.392)", 950: "oklch(30.2% 0.056 229.695)" }, sky: { 50: "oklch(97.7% 0.013 236.62)", 100: "oklch(95.1% 0.026 236.824)", 200: "oklch(90.1% 0.058 230.902)", 300: "oklch(82.8% 0.111 230.318)", 400: "oklch(74.6% 0.16 232.661)", 500: "oklch(68.5% 0.169 237.323)", 600: "oklch(58.8% 0.158 241.966)", 700: "oklch(50% 0.134 242.749)", 800: "oklch(44.3% 0.11 240.79)", 900: "oklch(39.1% 0.09 240.876)", 950: "oklch(29.3% 0.066 243.157)" }, blue: { 50: "oklch(97% 0.014 254.604)", 100: "oklch(93.2% 0.032 255.585)", 200: "oklch(88.2% 0.059 254.128)", 300: "oklch(80.9% 0.105 251.813)", 400: "oklch(70.7% 0.165 254.624)", 500: "oklch(62.3% 0.214 259.815)", 600: "oklch(54.6% 0.245 262.881)", 700: "oklch(48.8% 0.243 264.376)", 800: "oklch(42.4% 0.199 265.638)", 900: "oklch(37.9% 0.146 265.522)", 950: "oklch(28.2% 0.091 267.935)" }, indigo: { 50: "oklch(96.2% 0.018 272.314)", 100: "oklch(93% 0.034 272.788)", 200: "oklch(87% 0.065 274.039)", 300: "oklch(78.5% 0.115 274.713)", 400: "oklch(67.3% 0.182 276.935)", 500: "oklch(58.5% 0.233 277.117)", 600: "oklch(51.1% 0.262 276.966)", 700: "oklch(45.7% 0.24 277.023)", 800: "oklch(39.8% 0.195 277.366)", 900: "oklch(35.9% 0.144 278.697)", 950: "oklch(25.7% 0.09 281.288)" }, violet: { 50: "oklch(96.9% 0.016 293.756)", 100: "oklch(94.3% 0.029 294.588)", 200: "oklch(89.4% 0.057 293.283)", 300: "oklch(81.1% 0.111 293.571)", 400: "oklch(70.2% 0.183 293.541)", 500: "oklch(60.6% 0.25 292.717)", 600: "oklch(54.1% 0.281 293.009)", 700: "oklch(49.1% 0.27 292.581)", 800: "oklch(43.2% 0.232 292.759)", 900: "oklch(38% 0.189 293.745)", 950: "oklch(28.3% 0.141 291.089)" }, purple: { 50: "oklch(97.7% 0.014 308.299)", 100: "oklch(94.6% 0.033 307.174)", 200: "oklch(90.2% 0.063 306.703)", 300: "oklch(82.7% 0.119 306.383)", 400: "oklch(71.4% 0.203 305.504)", 500: "oklch(62.7% 0.265 303.9)", 600: "oklch(55.8% 0.288 302.321)", 700: "oklch(49.6% 0.265 301.924)", 800: "oklch(43.8% 0.218 303.724)", 900: "oklch(38.1% 0.176 304.987)", 950: "oklch(29.1% 0.149 302.717)" }, fuchsia: { 50: "oklch(97.7% 0.017 320.058)", 100: "oklch(95.2% 0.037 318.852)", 200: "oklch(90.3% 0.076 319.62)", 300: "oklch(83.3% 0.145 321.434)", 400: "oklch(74% 0.238 322.16)", 500: "oklch(66.7% 0.295 322.15)", 600: "oklch(59.1% 0.293 322.896)", 700: "oklch(51.8% 0.253 323.949)", 800: "oklch(45.2% 0.211 324.591)", 900: "oklch(40.1% 0.17 325.612)", 950: "oklch(29.3% 0.136 325.661)" }, pink: { 50: "oklch(97.1% 0.014 343.198)", 100: "oklch(94.8% 0.028 342.258)", 200: "oklch(89.9% 0.061 343.231)", 300: "oklch(82.3% 0.12 346.018)", 400: "oklch(71.8% 0.202 349.761)", 500: "oklch(65.6% 0.241 354.308)", 600: "oklch(59.2% 0.249 0.584)", 700: "oklch(52.5% 0.223 3.958)", 800: "oklch(45.9% 0.187 3.815)", 900: "oklch(40.8% 0.153 2.432)", 950: "oklch(28.4% 0.109 3.907)" }, rose: { 50: "oklch(96.9% 0.015 12.422)", 100: "oklch(94.1% 0.03 12.58)", 200: "oklch(89.2% 0.058 10.001)", 300: "oklch(81% 0.117 11.638)", 400: "oklch(71.2% 0.194 13.428)", 500: "oklch(64.5% 0.246 16.439)", 600: "oklch(58.6% 0.253 17.585)", 700: "oklch(51.4% 0.222 16.935)", 800: "oklch(45.5% 0.188 13.697)", 900: "oklch(41% 0.159 10.272)", 950: "oklch(27.1% 0.105 12.094)" } };
7
+ // ../../node_modules/.pnpm/tailwindcss@4.3.3/node_modules/tailwindcss/dist/chunk-DCG7AFIE.mjs
8
+ var o = { inherit: "inherit", current: "currentcolor", transparent: "transparent", black: "#000", white: "#fff", slate: { 50: "oklch(98.4% 0.003 247.858)", 100: "oklch(96.8% 0.007 247.896)", 200: "oklch(92.9% 0.013 255.508)", 300: "oklch(86.9% 0.022 252.894)", 400: "oklch(70.4% 0.04 256.788)", 500: "oklch(55.4% 0.046 257.417)", 600: "oklch(44.6% 0.043 257.281)", 700: "oklch(37.2% 0.044 257.287)", 800: "oklch(27.9% 0.041 260.031)", 900: "oklch(20.8% 0.042 265.755)", 950: "oklch(12.9% 0.042 264.695)" }, gray: { 50: "oklch(98.5% 0.002 247.839)", 100: "oklch(96.7% 0.003 264.542)", 200: "oklch(92.8% 0.006 264.531)", 300: "oklch(87.2% 0.01 258.338)", 400: "oklch(70.7% 0.022 261.325)", 500: "oklch(55.1% 0.027 264.364)", 600: "oklch(44.6% 0.03 256.802)", 700: "oklch(37.3% 0.034 259.733)", 800: "oklch(27.8% 0.033 256.848)", 900: "oklch(21% 0.034 264.665)", 950: "oklch(13% 0.028 261.692)" }, zinc: { 50: "oklch(98.5% 0 none)", 100: "oklch(96.7% 0.001 286.375)", 200: "oklch(92% 0.004 286.32)", 300: "oklch(87.1% 0.006 286.286)", 400: "oklch(70.5% 0.015 286.067)", 500: "oklch(55.2% 0.016 285.938)", 600: "oklch(44.2% 0.017 285.786)", 700: "oklch(37% 0.013 285.805)", 800: "oklch(27.4% 0.006 286.033)", 900: "oklch(21% 0.006 285.885)", 950: "oklch(14.1% 0.005 285.823)" }, neutral: { 50: "oklch(98.5% 0 none)", 100: "oklch(97% 0 none)", 200: "oklch(92.2% 0 none)", 300: "oklch(87% 0 none)", 400: "oklch(70.8% 0 none)", 500: "oklch(55.6% 0 none)", 600: "oklch(43.9% 0 none)", 700: "oklch(37.1% 0 none)", 800: "oklch(26.9% 0 none)", 900: "oklch(20.5% 0 none)", 950: "oklch(14.5% 0 none)" }, stone: { 50: "oklch(98.5% 0.001 106.423)", 100: "oklch(97% 0.001 106.424)", 200: "oklch(92.3% 0.003 48.717)", 300: "oklch(86.9% 0.005 56.366)", 400: "oklch(70.9% 0.01 56.259)", 500: "oklch(55.3% 0.013 58.071)", 600: "oklch(44.4% 0.011 73.639)", 700: "oklch(37.4% 0.01 67.558)", 800: "oklch(26.8% 0.007 34.298)", 900: "oklch(21.6% 0.006 56.043)", 950: "oklch(14.7% 0.004 49.25)" }, mauve: { 50: "oklch(98.5% 0 none)", 100: "oklch(96% 0.003 325.6)", 200: "oklch(92.2% 0.005 325.62)", 300: "oklch(86.5% 0.012 325.68)", 400: "oklch(71.1% 0.019 323.02)", 500: "oklch(54.2% 0.034 322.5)", 600: "oklch(43.5% 0.029 321.78)", 700: "oklch(36.4% 0.029 323.89)", 800: "oklch(26.3% 0.024 320.12)", 900: "oklch(21.2% 0.019 322.12)", 950: "oklch(14.5% 0.008 326)" }, olive: { 50: "oklch(98.8% 0.003 106.5)", 100: "oklch(96.6% 0.005 106.5)", 200: "oklch(93% 0.007 106.5)", 300: "oklch(88% 0.011 106.6)", 400: "oklch(73.7% 0.021 106.9)", 500: "oklch(58% 0.031 107.3)", 600: "oklch(46.6% 0.025 107.3)", 700: "oklch(39.4% 0.023 107.4)", 800: "oklch(28.6% 0.016 107.4)", 900: "oklch(22.8% 0.013 107.4)", 950: "oklch(15.3% 0.006 107.1)" }, mist: { 50: "oklch(98.7% 0.002 197.1)", 100: "oklch(96.3% 0.002 197.1)", 200: "oklch(92.5% 0.005 214.3)", 300: "oklch(87.2% 0.007 219.6)", 400: "oklch(72.3% 0.014 214.4)", 500: "oklch(56% 0.021 213.5)", 600: "oklch(45% 0.017 213.2)", 700: "oklch(37.8% 0.015 216)", 800: "oklch(27.5% 0.011 216.9)", 900: "oklch(21.8% 0.008 223.9)", 950: "oklch(14.8% 0.004 228.8)" }, taupe: { 50: "oklch(98.6% 0.002 67.8)", 100: "oklch(96% 0.002 17.2)", 200: "oklch(92.2% 0.005 34.3)", 300: "oklch(86.8% 0.007 39.5)", 400: "oklch(71.4% 0.014 41.2)", 500: "oklch(54.7% 0.021 43.1)", 600: "oklch(43.8% 0.017 39.3)", 700: "oklch(36.7% 0.016 35.7)", 800: "oklch(26.8% 0.011 36.5)", 900: "oklch(21.4% 0.009 43.1)", 950: "oklch(14.7% 0.004 49.3)" }, red: { 50: "oklch(97.1% 0.013 17.38)", 100: "oklch(93.6% 0.032 17.717)", 200: "oklch(88.5% 0.062 18.334)", 300: "oklch(80.8% 0.114 19.571)", 400: "oklch(70.4% 0.191 22.216)", 500: "oklch(63.7% 0.237 25.331)", 600: "oklch(57.7% 0.245 27.325)", 700: "oklch(50.5% 0.213 27.518)", 800: "oklch(44.4% 0.177 26.899)", 900: "oklch(39.6% 0.141 25.723)", 950: "oklch(25.8% 0.092 26.042)" }, orange: { 50: "oklch(98% 0.016 73.684)", 100: "oklch(95.4% 0.038 75.164)", 200: "oklch(90.1% 0.076 70.697)", 300: "oklch(83.7% 0.128 66.29)", 400: "oklch(75% 0.183 55.934)", 500: "oklch(70.5% 0.213 47.604)", 600: "oklch(64.6% 0.222 41.116)", 700: "oklch(55.3% 0.195 38.402)", 800: "oklch(47% 0.157 37.304)", 900: "oklch(40.8% 0.123 38.172)", 950: "oklch(26.6% 0.079 36.259)" }, amber: { 50: "oklch(98.7% 0.022 95.277)", 100: "oklch(96.2% 0.059 95.617)", 200: "oklch(92.4% 0.12 95.746)", 300: "oklch(87.9% 0.169 91.605)", 400: "oklch(82.8% 0.189 84.429)", 500: "oklch(76.9% 0.188 70.08)", 600: "oklch(66.6% 0.179 58.318)", 700: "oklch(55.5% 0.163 48.998)", 800: "oklch(47.3% 0.137 46.201)", 900: "oklch(41.4% 0.112 45.904)", 950: "oklch(27.9% 0.077 45.635)" }, yellow: { 50: "oklch(98.7% 0.026 102.212)", 100: "oklch(97.3% 0.071 103.193)", 200: "oklch(94.5% 0.129 101.54)", 300: "oklch(90.5% 0.182 98.111)", 400: "oklch(85.2% 0.199 91.936)", 500: "oklch(79.5% 0.184 86.047)", 600: "oklch(68.1% 0.162 75.834)", 700: "oklch(55.4% 0.135 66.442)", 800: "oklch(47.6% 0.114 61.907)", 900: "oklch(42.1% 0.095 57.708)", 950: "oklch(28.6% 0.066 53.813)" }, lime: { 50: "oklch(98.6% 0.031 120.757)", 100: "oklch(96.7% 0.067 122.328)", 200: "oklch(93.8% 0.127 124.321)", 300: "oklch(89.7% 0.196 126.665)", 400: "oklch(84.1% 0.238 128.85)", 500: "oklch(76.8% 0.233 130.85)", 600: "oklch(64.8% 0.2 131.684)", 700: "oklch(53.2% 0.157 131.589)", 800: "oklch(45.3% 0.124 130.933)", 900: "oklch(40.5% 0.101 131.063)", 950: "oklch(27.4% 0.072 132.109)" }, green: { 50: "oklch(98.2% 0.018 155.826)", 100: "oklch(96.2% 0.044 156.743)", 200: "oklch(92.5% 0.084 155.995)", 300: "oklch(87.1% 0.15 154.449)", 400: "oklch(79.2% 0.209 151.711)", 500: "oklch(72.3% 0.219 149.579)", 600: "oklch(62.7% 0.194 149.214)", 700: "oklch(52.7% 0.154 150.069)", 800: "oklch(44.8% 0.119 151.328)", 900: "oklch(39.3% 0.095 152.535)", 950: "oklch(26.6% 0.065 152.934)" }, emerald: { 50: "oklch(97.9% 0.021 166.113)", 100: "oklch(95% 0.052 163.051)", 200: "oklch(90.5% 0.093 164.15)", 300: "oklch(84.5% 0.143 164.978)", 400: "oklch(76.5% 0.177 163.223)", 500: "oklch(69.6% 0.17 162.48)", 600: "oklch(59.6% 0.145 163.225)", 700: "oklch(50.8% 0.118 165.612)", 800: "oklch(43.2% 0.095 166.913)", 900: "oklch(37.8% 0.077 168.94)", 950: "oklch(26.2% 0.051 172.552)" }, teal: { 50: "oklch(98.4% 0.014 180.72)", 100: "oklch(95.3% 0.051 180.801)", 200: "oklch(91% 0.096 180.426)", 300: "oklch(85.5% 0.138 181.071)", 400: "oklch(77.7% 0.152 181.912)", 500: "oklch(70.4% 0.14 182.503)", 600: "oklch(60% 0.118 184.704)", 700: "oklch(51.1% 0.096 186.391)", 800: "oklch(43.7% 0.078 188.216)", 900: "oklch(38.6% 0.063 188.416)", 950: "oklch(27.7% 0.046 192.524)" }, cyan: { 50: "oklch(98.4% 0.019 200.873)", 100: "oklch(95.6% 0.045 203.388)", 200: "oklch(91.7% 0.08 205.041)", 300: "oklch(86.5% 0.127 207.078)", 400: "oklch(78.9% 0.154 211.53)", 500: "oklch(71.5% 0.143 215.221)", 600: "oklch(60.9% 0.126 221.723)", 700: "oklch(52% 0.105 223.128)", 800: "oklch(45% 0.085 224.283)", 900: "oklch(39.8% 0.07 227.392)", 950: "oklch(30.2% 0.056 229.695)" }, sky: { 50: "oklch(97.7% 0.013 236.62)", 100: "oklch(95.1% 0.026 236.824)", 200: "oklch(90.1% 0.058 230.902)", 300: "oklch(82.8% 0.111 230.318)", 400: "oklch(74.6% 0.16 232.661)", 500: "oklch(68.5% 0.169 237.323)", 600: "oklch(58.8% 0.158 241.966)", 700: "oklch(50% 0.134 242.749)", 800: "oklch(44.3% 0.11 240.79)", 900: "oklch(39.1% 0.09 240.876)", 950: "oklch(29.3% 0.066 243.157)" }, blue: { 50: "oklch(97% 0.014 254.604)", 100: "oklch(93.2% 0.032 255.585)", 200: "oklch(88.2% 0.059 254.128)", 300: "oklch(80.9% 0.105 251.813)", 400: "oklch(70.7% 0.165 254.624)", 500: "oklch(62.3% 0.214 259.815)", 600: "oklch(54.6% 0.245 262.881)", 700: "oklch(48.8% 0.243 264.376)", 800: "oklch(42.4% 0.199 265.638)", 900: "oklch(37.9% 0.146 265.522)", 950: "oklch(28.2% 0.091 267.935)" }, indigo: { 50: "oklch(96.2% 0.018 272.314)", 100: "oklch(93% 0.034 272.788)", 200: "oklch(87% 0.065 274.039)", 300: "oklch(78.5% 0.115 274.713)", 400: "oklch(67.3% 0.182 276.935)", 500: "oklch(58.5% 0.233 277.117)", 600: "oklch(51.1% 0.262 276.966)", 700: "oklch(45.7% 0.24 277.023)", 800: "oklch(39.8% 0.195 277.366)", 900: "oklch(35.9% 0.144 278.697)", 950: "oklch(25.7% 0.09 281.288)" }, violet: { 50: "oklch(96.9% 0.016 293.756)", 100: "oklch(94.3% 0.029 294.588)", 200: "oklch(89.4% 0.057 293.283)", 300: "oklch(81.1% 0.111 293.571)", 400: "oklch(70.2% 0.183 293.541)", 500: "oklch(60.6% 0.25 292.717)", 600: "oklch(54.1% 0.281 293.009)", 700: "oklch(49.1% 0.27 292.581)", 800: "oklch(43.2% 0.232 292.759)", 900: "oklch(38% 0.189 293.745)", 950: "oklch(28.3% 0.141 291.089)" }, purple: { 50: "oklch(97.7% 0.014 308.299)", 100: "oklch(94.6% 0.033 307.174)", 200: "oklch(90.2% 0.063 306.703)", 300: "oklch(82.7% 0.119 306.383)", 400: "oklch(71.4% 0.203 305.504)", 500: "oklch(62.7% 0.265 303.9)", 600: "oklch(55.8% 0.288 302.321)", 700: "oklch(49.6% 0.265 301.924)", 800: "oklch(43.8% 0.218 303.724)", 900: "oklch(38.1% 0.176 304.987)", 950: "oklch(29.1% 0.149 302.717)" }, fuchsia: { 50: "oklch(97.7% 0.017 320.058)", 100: "oklch(95.2% 0.037 318.852)", 200: "oklch(90.3% 0.076 319.62)", 300: "oklch(83.3% 0.145 321.434)", 400: "oklch(74% 0.238 322.16)", 500: "oklch(66.7% 0.295 322.15)", 600: "oklch(59.1% 0.293 322.896)", 700: "oklch(51.8% 0.253 323.949)", 800: "oklch(45.2% 0.211 324.591)", 900: "oklch(40.1% 0.17 325.612)", 950: "oklch(29.3% 0.136 325.661)" }, pink: { 50: "oklch(97.1% 0.014 343.198)", 100: "oklch(94.8% 0.028 342.258)", 200: "oklch(89.9% 0.061 343.231)", 300: "oklch(82.3% 0.12 346.018)", 400: "oklch(71.8% 0.202 349.761)", 500: "oklch(65.6% 0.241 354.308)", 600: "oklch(59.2% 0.249 0.584)", 700: "oklch(52.5% 0.223 3.958)", 800: "oklch(45.9% 0.187 3.815)", 900: "oklch(40.8% 0.153 2.432)", 950: "oklch(28.4% 0.109 3.907)" }, rose: { 50: "oklch(96.9% 0.015 12.422)", 100: "oklch(94.1% 0.03 12.58)", 200: "oklch(89.2% 0.058 10.001)", 300: "oklch(81% 0.117 11.638)", 400: "oklch(71.2% 0.194 13.428)", 500: "oklch(64.5% 0.246 16.439)", 600: "oklch(58.6% 0.253 17.585)", 700: "oklch(51.4% 0.222 16.935)", 800: "oklch(45.5% 0.188 13.697)", 900: "oklch(41% 0.159 10.272)", 950: "oklch(27.1% 0.105 12.094)" } };
9
9
 
10
10
  // src/components/ui/link.tsx
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -59,14 +59,14 @@ function namedLinkColor(color) {
59
59
  return color === "accent" ? "accent" : color === "default" ? "default" : null;
60
60
  }
61
61
  function tailwindColorValue(color) {
62
- let named = l[color];
62
+ let named = o[color];
63
63
  if (typeof named == "string")
64
64
  return named === "current" || named === "currentcolor" ? "currentColor" : named;
65
65
  let match = color.match(/^(.+)-([0-9]{2,3})$/);
66
66
  if (!match) return;
67
67
  let [, paletteName, shade] = match;
68
68
  if (!paletteName || !shade) return;
69
- let palette = l[paletteName];
69
+ let palette = o[paletteName];
70
70
  if (!(!palette || typeof palette == "string"))
71
71
  return palette[shade];
72
72
  }
@@ -104,6 +104,7 @@ function Link({
104
104
  href = "#",
105
105
  iconOnly,
106
106
  leftIcon,
107
+ prefetch,
107
108
  rel,
108
109
  rightIcon,
109
110
  size,
@@ -112,10 +113,10 @@ function Link({
112
113
  variant = "link.standalone",
113
114
  ...props
114
115
  }) {
115
- let { buttonVariant, linkVariant } = resolveLinkVariant(variant), resolvedColor = namedLinkColor(color), customColor = linkColorValue(color), resolvedStyle = customColor ? { ...style, "--link-color": customColor } : style, state = active ? "path-active" : void 0, content = /* @__PURE__ */ jsxs(Fragment, { children: [
116
- leftIcon ? /* @__PURE__ */ jsx("span", { className: "mr-1 inline-flex shrink-0", children: leftIcon }) : null,
117
- buttonVariant ? children : /* @__PURE__ */ jsx("span", { className: linkUnderlineClasses, "data-state": state, children }),
118
- rightIcon ? /* @__PURE__ */ jsx("span", { className: "ml-1 inline-flex shrink-0", children: rightIcon }) : null
116
+ let { buttonVariant, linkVariant } = resolveLinkVariant(variant), resolvedColor = namedLinkColor(color), customColor = linkColorValue(color), resolvedStyle = customColor ? { ...style, "--link-color": customColor } : style, state = active ? "path-active" : void 0, label = buttonVariant ? children : /* @__PURE__ */ jsx("span", { className: linkUnderlineClasses, "data-state": state, children }), content = /* @__PURE__ */ jsxs(Fragment, { children: [
117
+ leftIcon ? /* @__PURE__ */ jsx("span", { className: cn("inline-flex shrink-0", !buttonVariant && "me-1"), children: leftIcon }) : null,
118
+ label,
119
+ rightIcon ? /* @__PURE__ */ jsx("span", { className: cn("inline-flex shrink-0", !buttonVariant && "ms-1"), children: rightIcon }) : null
119
120
  ] }), classes = cn(
120
121
  buttonVariant ? buttonVariants({
121
122
  iconOnly,
@@ -158,7 +159,7 @@ function Link({
158
159
  ...commonProps,
159
160
  children: content
160
161
  }
161
- ) : /* @__PURE__ */ jsx(NextLink, { href, ...commonProps, children: content });
162
+ ) : /* @__PURE__ */ jsx(NextLink, { href, prefetch, ...commonProps, children: content });
162
163
  }
163
164
  export {
164
165
  Link,
@@ -2,7 +2,7 @@
2
2
 
3
3
  // src/components/ui/menu.tsx
4
4
  import { Menu as BaseMenu } from "@base-ui/react/menu";
5
- import { FrameworkCheckIcon as Check } from "@publish.os/nextjs/kernel/framework-icons";
5
+ import { CheckIcon } from "@phosphor-icons/react/ssr";
6
6
  import { useThemeScope } from "@publish.os/nextjs/theme-scope";
7
7
  import { cn } from "@publish.os/nextjs/utils/cn";
8
8
  import { jsx } from "react/jsx-runtime";
@@ -73,7 +73,7 @@ function MenuViewport({ className, ...props }) {
73
73
  return /* @__PURE__ */ jsx(BaseMenu.Viewport, { className: cn("outline-none", className), ...props });
74
74
  }
75
75
  var menuItemClassName = [
76
- "flex cursor-default select-none items-center gap-2 rounded-[max(calc(var(--radius-popup)_-_0.25rem),0px)] px-2 py-1.5 text-sm text-menu-foreground-1 outline-none",
76
+ "flex min-h-9 cursor-default select-none items-center gap-2 rounded-[max(calc(var(--radius-popup)_-_0.25rem),0px)] px-2 py-1.5 text-sm text-menu-foreground-1 outline-none pointer-coarse:min-h-10",
77
77
  "data-[highlighted]:bg-menu-highlight-surface data-[highlighted]:text-menu-highlight-foreground data-[state=checked]:bg-menu-surface-4 data-[state=checked]:text-menu-foreground-1 data-[state=checked]:data-[highlighted]:bg-menu-highlight-surface data-[state=checked]:data-[highlighted]:text-menu-highlight-foreground data-disabled:pointer-events-none data-disabled:text-menu-foreground-4"
78
78
  ].join(" ");
79
79
  function MenuItem({ className, ...props }) {
@@ -128,7 +128,7 @@ function MenuCheckboxItemIndicator({
128
128
  className
129
129
  ),
130
130
  ...props,
131
- children: children ?? /* @__PURE__ */ jsx(Check, { "aria-hidden": "true", className: "size-4" })
131
+ children: children ?? /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className: "size-4" })
132
132
  }
133
133
  );
134
134
  }
@@ -157,7 +157,7 @@ function MenuRadioItemIndicator({
157
157
  className
158
158
  ),
159
159
  ...props,
160
- children: children ?? /* @__PURE__ */ jsx(Check, { "aria-hidden": "true", className: "size-4" })
160
+ children: children ?? /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className: "size-4" })
161
161
  }
162
162
  );
163
163
  }
@@ -180,7 +180,7 @@ function MenuSeparator({ className, ...props }) {
180
180
  return /* @__PURE__ */ jsx(
181
181
  BaseMenu.Separator,
182
182
  {
183
- className: cn("my-1 h-px shrink-0 bg-menu-stroke-3", className),
183
+ className: cn("-mx-1 my-1 h-px shrink-0 bg-menu-stroke-3", className),
184
184
  ...props
185
185
  }
186
186
  );
@@ -0,0 +1,10 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { KbdProps } from './kbd.js';
3
+ import 'class-variance-authority/types';
4
+ import 'class-variance-authority';
5
+ import 'react';
6
+
7
+ type ModKeyProps = Omit<KbdProps, "children">;
8
+ declare function ModKey({ className, square, ...props }: ModKeyProps): react_jsx_runtime.JSX.Element;
9
+
10
+ export { ModKey, type ModKeyProps };
@@ -0,0 +1,36 @@
1
+ "use client";
2
+
3
+ // src/components/ui/mod-key.tsx
4
+ import { Kbd } from "@publish.os/nextjs/kernel/components/ui/kbd";
5
+ import { cn } from "@publish.os/nextjs/utils/cn";
6
+ import { useEffect, useState } from "react";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ function ModKey({ className, square, ...props }) {
9
+ let [label, setLabel] = useState(null);
10
+ return useEffect(() => {
11
+ setLabel(/Mac|iPhone|iPad|iPod/i.test(navigator.platform) ? "\u2318" : "Ctrl");
12
+ }, []), /* @__PURE__ */ jsxs(Fragment, { children: [
13
+ /* @__PURE__ */ jsx(
14
+ Kbd,
15
+ {
16
+ "aria-hidden": label === null ? !0 : void 0,
17
+ "aria-label": label === "\u2318" ? "Command" : label === "Ctrl" ? "Control" : void 0,
18
+ className: cn(
19
+ "publishos-mod-key-slot",
20
+ label === null && "invisible",
21
+ className
22
+ ),
23
+ square: square ?? label !== "Ctrl",
24
+ ...props,
25
+ children: label ?? "\u2318"
26
+ }
27
+ ),
28
+ /* @__PURE__ */ jsxs("noscript", { children: [
29
+ /* @__PURE__ */ jsx("style", { children: ".publishos-mod-key-slot{display:none!important}" }),
30
+ /* @__PURE__ */ jsx(Kbd, { className, ...props, children: "\u2318 / Ctrl" })
31
+ ] })
32
+ ] });
33
+ }
34
+ export {
35
+ ModKey
36
+ };
@@ -55,7 +55,7 @@ function NavigationMenuIcon({
55
55
  BaseNavigationMenu.Icon,
56
56
  {
57
57
  className: cn(
58
- "flex size-4 items-center justify-center transition-transform duration-150 ease-out data-[popup-open]:rotate-180 motion-reduce:transition-none",
58
+ "flex size-4 items-center justify-center transition-transform duration-150 ease-out data-popup-open:rotate-180 motion-reduce:transition-none",
59
59
  className
60
60
  ),
61
61
  ...props
@@ -83,7 +83,7 @@ function NavigationMenuLink({
83
83
  {
84
84
  className: cn(
85
85
  navigationMenuTriggerClassName,
86
- "!no-underline hover:!no-underline active:!no-underline data-active:bg-navigation-menu-highlight-surface data-active:text-navigation-menu-highlight-foreground data-[state=path-active]:bg-navigation-menu-highlight-surface data-[state=path-active]:text-navigation-menu-highlight-foreground",
86
+ "no-underline! hover:no-underline! active:no-underline! data-active:bg-navigation-menu-highlight-surface data-active:text-navigation-menu-highlight-foreground data-[state=path-active]:bg-navigation-menu-highlight-surface data-[state=path-active]:text-navigation-menu-highlight-foreground",
87
87
  className
88
88
  ),
89
89
  ...props
@@ -27,7 +27,7 @@ function ProgressIndicator({
27
27
  BaseProgress.Indicator,
28
28
  {
29
29
  className: cn(
30
- "h-full w-full rounded-[inherit] bg-accent-1 transition-transform",
30
+ "h-full w-full rounded-[inherit] bg-progress-indicator-surface transition-transform",
31
31
  className
32
32
  ),
33
33
  ...props
@@ -1,9 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
3
  import { ComponentPropsWithoutRef, ReactNode, Ref, ComponentRef } from 'react';
4
- import * as _base_ui_react from '@base-ui/react';
5
- import * as class_variance_authority_types from 'class-variance-authority/types';
4
+ import * as _base_ui_react_scroll_area from '@base-ui/react/scroll-area';
6
5
  import { ScrollArea as ScrollArea$1 } from '@base-ui/react/scroll-area';
6
+ import * as class_variance_authority_types from 'class-variance-authority/types';
7
7
  import { VariantProps } from 'class-variance-authority';
8
8
 
9
9
  declare const scrollAreaVariants: (props?: ({
@@ -47,12 +47,12 @@ type ScrollAreaProps = ScrollAreaRootProps & ScrollAreaVariantProps & {
47
47
  viewportProps?: ScrollAreaViewportProps;
48
48
  viewportRef?: Ref<ComponentRef<typeof ScrollArea$1.Viewport>>;
49
49
  };
50
- declare const ScrollAreaRoot: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaRootProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
50
+ declare const ScrollAreaRoot: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_scroll_area.ScrollAreaRootProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
51
51
  declare function ScrollArea({ border, borderEndClassName, borderStartClassName, children, className, contentClassName, contentProps, corner, cornerClassName, cornerProps, mask, orientation, scrollbar, scrollbarClassName, scrollbarProps, thumbClassName, thumbProps, variant, viewportClassName, viewportProps, viewportRef, ...props }: ScrollAreaProps): react_jsx_runtime.JSX.Element;
52
- declare const ScrollAreaViewport: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaViewportProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
53
- declare const ScrollAreaContent: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaContentProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
54
- declare const ScrollAreaScrollbar: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaScrollbarProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
55
- declare const ScrollAreaThumb: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaThumbProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
56
- declare const ScrollAreaCorner: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaCornerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
52
+ declare const ScrollAreaViewport: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_scroll_area.ScrollAreaViewportProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
53
+ declare const ScrollAreaContent: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_scroll_area.ScrollAreaContentProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
54
+ declare const ScrollAreaScrollbar: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_scroll_area.ScrollAreaScrollbarProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
55
+ declare const ScrollAreaThumb: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_scroll_area.ScrollAreaThumbProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
56
+ declare const ScrollAreaCorner: react.ForwardRefExoticComponent<Omit<Omit<_base_ui_react_scroll_area.ScrollAreaCornerProps, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
57
57
 
58
58
  export { ScrollArea, type ScrollAreaBorder, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaMaskAxis, type ScrollAreaMaskConfig, type ScrollAreaOrientation, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, type ScrollAreaVariantProps, ScrollAreaViewport, type ScrollAreaViewportProps, scrollAreaVariants };
@@ -268,8 +268,8 @@ var ScrollAreaViewport = forwardRef(function({ className, ...props }, ref) {
268
268
  BaseScrollArea.Scrollbar,
269
269
  {
270
270
  className: cn(
271
- "flex touch-none select-none bg-[var(--scrollbar-track-surface)] p-[var(--scrollbar-thumb-stroke-width)] transition-colors",
272
- orientation === "vertical" ? "h-full w-[var(--scrollbar-size)]" : "h-[var(--scrollbar-size)] w-full",
271
+ "flex touch-none select-none bg-(--scrollbar-track-surface) p-(--scrollbar-thumb-stroke-width) transition-colors",
272
+ orientation === "vertical" ? "h-full w-(--scrollbar-size)" : "h-(--scrollbar-size) w-full",
273
273
  className
274
274
  ),
275
275
  orientation,
@@ -282,7 +282,7 @@ var ScrollAreaViewport = forwardRef(function({ className, ...props }, ref) {
282
282
  BaseScrollArea.Thumb,
283
283
  {
284
284
  className: cn(
285
- "flex-1 rounded-scrollbar-thumb bg-[var(--scrollbar-thumb-stroke)] transition-colors hover:bg-[var(--scrollbar-thumb-hover-stroke)]",
285
+ "flex-1 rounded-scrollbar-thumb bg-(--scrollbar-thumb-stroke) transition-colors hover:bg-(--scrollbar-thumb-hover-stroke)",
286
286
  className
287
287
  ),
288
288
  ref,
@@ -293,7 +293,7 @@ var ScrollAreaViewport = forwardRef(function({ className, ...props }, ref) {
293
293
  return /* @__PURE__ */ jsx(
294
294
  BaseScrollArea.Corner,
295
295
  {
296
- className: cn("bg-[var(--scrollbar-track-surface)]", className),
296
+ className: cn("bg-(--scrollbar-track-surface)", className),
297
297
  ref,
298
298
  ...props
299
299
  }
@@ -2,10 +2,7 @@
2
2
 
3
3
  // src/components/ui/select.tsx
4
4
  import { Select as BaseSelect } from "@base-ui/react/select";
5
- import {
6
- FrameworkCheckIcon as Check,
7
- FrameworkChevronDownIcon as ChevronDown
8
- } from "@publish.os/nextjs/kernel/framework-icons";
5
+ import { CaretDownIcon, CheckIcon } from "@phosphor-icons/react/ssr";
9
6
  import { useThemeScope } from "@publish.os/nextjs/theme-scope";
10
7
  import { cn } from "@publish.os/nextjs/utils/cn";
11
8
  import { cva } from "class-variance-authority";
@@ -71,11 +68,11 @@ function SelectIcon({ children, className, ...props }) {
71
68
  BaseSelect.Icon,
72
69
  {
73
70
  className: cn(
74
- "flex size-4 shrink-0 items-center justify-center text-foreground-3 transition-transform data-[popup-open]:rotate-180",
71
+ "flex size-4 shrink-0 items-center justify-center text-foreground-3 transition-transform data-popup-open:rotate-180",
75
72
  className
76
73
  ),
77
74
  ...props,
78
- children: children ?? /* @__PURE__ */ jsx(ChevronDown, { "aria-hidden": "true", className: "size-4" })
75
+ children: children ?? /* @__PURE__ */ jsx(CaretDownIcon, { "aria-hidden": "true", className: "size-4" })
79
76
  }
80
77
  );
81
78
  }
@@ -102,7 +99,7 @@ function SelectPopup({ className, ...props }) {
102
99
  BaseSelect.Popup,
103
100
  {
104
101
  className: cn(
105
- "animate-popup max-h-72 w-[min(calc(var(--anchor-width)+2rem),var(--available-width))] min-w-[var(--anchor-width)] overflow-hidden rounded-popup border border-select-stroke-3 bg-select-surface-1 p-1 text-select-foreground-1 shadow-select outline-none [--text-foreground:var(--select-foreground-1)] [--text-muted-foreground:var(--select-foreground-4)]",
102
+ "animate-popup max-h-72 w-[min(calc(var(--anchor-width)+2rem),var(--available-width))] min-w-(--anchor-width) overflow-hidden rounded-popup border border-select-stroke-3 bg-select-surface-1 p-1 text-select-foreground-1 shadow-select outline-none [--text-foreground:var(--select-foreground-1)] [--text-muted-foreground:var(--select-foreground-4)]",
106
103
  className
107
104
  ),
108
105
  ...props
@@ -117,8 +114,8 @@ function SelectItem({ className, ...props }) {
117
114
  BaseSelect.Item,
118
115
  {
119
116
  className: cn(
120
- "relative flex min-w-0 cursor-default select-none items-center rounded-[max(calc(var(--radius-popup)_-_0.25rem),0px)] py-1.5 pl-8 pr-2 text-sm text-select-foreground-1 outline-none",
121
- "data-[highlighted]:bg-select-highlight-surface data-[highlighted]:text-select-highlight-foreground data-[selected]:bg-select-surface-4 data-[selected]:text-select-foreground-1 data-[selected]:data-[highlighted]:bg-select-highlight-surface data-[selected]:data-[highlighted]:text-select-highlight-foreground",
117
+ "relative flex min-w-0 cursor-default select-none items-center rounded-[max(calc(var(--radius-popup)-0.25rem),0px)] py-1.5 pl-8 pr-2 text-sm text-select-foreground-1 outline-none",
118
+ "data-highlighted:bg-select-highlight-surface data-highlighted:text-select-highlight-foreground data-selected:bg-select-surface-4 data-selected:text-select-foreground-1 data-selected:data-highlighted:bg-select-highlight-surface data-selected:data-highlighted:text-select-highlight-foreground",
122
119
  "data-disabled:pointer-events-none data-disabled:text-select-foreground-4",
123
120
  className
124
121
  ),
@@ -139,7 +136,7 @@ function SelectItemIndicator({
139
136
  className
140
137
  ),
141
138
  ...props,
142
- children: children ?? /* @__PURE__ */ jsx(Check, { "aria-hidden": "true", className: "size-4" })
139
+ children: children ?? /* @__PURE__ */ jsx(CheckIcon, { "aria-hidden": "true", className: "size-4" })
143
140
  }
144
141
  );
145
142
  }
@@ -5,8 +5,8 @@ import { ElementType, ComponentPropsWithoutRef } from 'react';
5
5
 
6
6
  declare const textVariants: (props?: ({
7
7
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
8
- variant?: "body" | "headline" | "label" | "overline" | null | undefined;
9
- weight?: "default" | "medium" | "semibold" | "bold" | null | undefined;
8
+ variant?: "body" | "label" | "overline" | "headline" | null | undefined;
9
+ weight?: "bold" | "default" | "medium" | "semibold" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  type TextProps<T extends ElementType = "p"> = {
12
12
  as?: T;
@@ -1,10 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as class_variance_authority_types from 'class-variance-authority/types';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { ReactNode, ButtonHTMLAttributes } from 'react';
4
+ import { ReactNode, ComponentPropsWithRef } from 'react';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
- variant?: "solid" | "soft" | "outline" | "ghost" | null | undefined;
7
+ variant?: "solid" | "outline" | "soft" | "ghost" | null | undefined;
8
8
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
9
9
  iconOnly?: boolean | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
@@ -16,7 +16,7 @@ type ButtonProps = {
16
16
  leftIcon?: ReactNode;
17
17
  loading?: boolean;
18
18
  rightIcon?: ReactNode;
19
- } & ButtonVariantProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "className">;
19
+ } & ButtonVariantProps & Omit<ComponentPropsWithRef<"button">, "children" | "className">;
20
20
 
21
21
  type ThemeToggleProps = Omit<ButtonProps, "children" | "iconOnly" | "leftIcon" | "loading" | "rightIcon">;
22
22
  declare function ThemeToggle({ className, onClick, size, title, type, variant, ...props }: ThemeToggleProps): react_jsx_runtime.JSX.Element;
@@ -2,18 +2,13 @@
2
2
 
3
3
  // src/components/ui/theme-toggle.tsx
4
4
  import { Button } from "@publish.os/nextjs/kernel/components/ui/button";
5
- import {
6
- FrameworkMonitorIcon as Monitor,
7
- FrameworkMoonIcon as Moon,
8
- FrameworkSunIcon as Sun
9
- } from "@publish.os/nextjs/kernel/framework-icons";
10
- import { cn } from "@publish.os/nextjs/utils/cn";
5
+ import { MonitorIcon, MoonIcon, SunIcon } from "@phosphor-icons/react/ssr";
11
6
  import { useTheme } from "next-themes";
12
7
  import { useEffect, useMemo, useState } from "react";
13
8
  import { jsx } from "react/jsx-runtime";
14
9
  var themeOrder = ["system", "light", "dark"];
15
10
  function ThemeIcon({ theme }) {
16
- return theme === "light" ? /* @__PURE__ */ jsx(Sun, { "aria-hidden": "true", size: 16 }) : theme === "dark" ? /* @__PURE__ */ jsx(Moon, { "aria-hidden": "true", size: 16 }) : /* @__PURE__ */ jsx(Monitor, { "aria-hidden": "true", size: 16 });
11
+ return theme === "light" ? /* @__PURE__ */ jsx(SunIcon, { "aria-hidden": "true", size: 16 }) : theme === "dark" ? /* @__PURE__ */ jsx(MoonIcon, { "aria-hidden": "true", size: 16 }) : /* @__PURE__ */ jsx(MonitorIcon, { "aria-hidden": "true", size: 16 });
17
12
  }
18
13
  function normalizeTheme(theme) {
19
14
  return theme === "light" || theme === "dark" ? theme : "system";
@@ -24,7 +19,7 @@ function ThemeToggle({
24
19
  size = "sm",
25
20
  title,
26
21
  type = "button",
27
- variant = "soft",
22
+ variant = "ghost",
28
23
  ...props
29
24
  }) {
30
25
  let { theme, setTheme } = useTheme(), [mounted, setMounted] = useState(!1), activeTheme = normalizeTheme(theme), nextTheme = useMemo(() => {
@@ -39,7 +34,7 @@ function ThemeToggle({
39
34
  Button,
40
35
  {
41
36
  "aria-label": props["aria-label"] ?? label,
42
- className: cn("hover:border-stroke-1", className),
37
+ className,
43
38
  iconOnly: !0,
44
39
  onClick: (event) => {
45
40
  onClick?.(event), event.defaultPrevented || setTheme(nextTheme);
@@ -181,11 +181,11 @@ declare const kernelDefaultsRegistry: {
181
181
  readonly projectPath: "publish.os/components/ui/tabs.tsx";
182
182
  }, {
183
183
  readonly category: "ui";
184
- readonly name: "MetaKey";
184
+ readonly name: "ModKey";
185
185
  readonly status: "available";
186
- readonly description: "Platform meta key display primitive.";
187
- readonly kernelImport: "@publish.os/nextjs/kernel/components/ui/meta-key";
188
- readonly projectPath: "publish.os/components/ui/meta-key.tsx";
186
+ readonly description: "Platform-aware Command or Control shortcut display.";
187
+ readonly kernelImport: "@publish.os/nextjs/kernel/components/ui/mod-key";
188
+ readonly projectPath: "publish.os/components/ui/mod-key.tsx";
189
189
  }, {
190
190
  readonly category: "ui";
191
191
  readonly name: "Toast";
@@ -414,7 +414,7 @@ declare const kernelDefaultsRegistry: {
414
414
  readonly status: "available";
415
415
  readonly description: "Default home page.";
416
416
  readonly kernelImport: "@publish.os/nextjs/kernel/routes/pages/root";
417
- readonly projectPath: "publish.os/page.tsx";
417
+ readonly projectPath: "publish.os/index.tsx";
418
418
  }, {
419
419
  readonly category: "route";
420
420
  readonly name: "GroupLayout";
@@ -428,14 +428,14 @@ declare const kernelDefaultsRegistry: {
428
428
  readonly status: "available";
429
429
  readonly description: "Default group index page.";
430
430
  readonly kernelImport: "@publish.os/nextjs/kernel/routes/pages/group";
431
- readonly projectPath: "publish.os/<group>/page.tsx";
431
+ readonly projectPath: "publish.os/<group>/index.tsx";
432
432
  }, {
433
433
  readonly category: "route";
434
- readonly name: "LeafPage";
434
+ readonly name: "ContentPage";
435
435
  readonly status: "available";
436
- readonly description: "Default content leaf page.";
436
+ readonly description: "Default content page.";
437
437
  readonly kernelImport: "@publish.os/nextjs/kernel/routes/pages/leaf";
438
- readonly projectPath: "publish.os/<group>/leaf.tsx";
438
+ readonly projectPath: "publish.os/<group>/page.tsx";
439
439
  }, {
440
440
  readonly category: "route";
441
441
  readonly name: "MetadataRoutes";
@@ -189,11 +189,11 @@ var kernelDefaultsRegistry = {
189
189
  },
190
190
  {
191
191
  category: "ui",
192
- name: "MetaKey",
192
+ name: "ModKey",
193
193
  status: "available",
194
- description: "Platform meta key display primitive.",
195
- kernelImport: "@publish.os/nextjs/kernel/components/ui/meta-key",
196
- projectPath: "publish.os/components/ui/meta-key.tsx"
194
+ description: "Platform-aware Command or Control shortcut display.",
195
+ kernelImport: "@publish.os/nextjs/kernel/components/ui/mod-key",
196
+ projectPath: "publish.os/components/ui/mod-key.tsx"
197
197
  },
198
198
  {
199
199
  category: "ui",
@@ -454,7 +454,7 @@ var kernelDefaultsRegistry = {
454
454
  status: "available",
455
455
  description: "Default home page.",
456
456
  kernelImport: "@publish.os/nextjs/kernel/routes/pages/root",
457
- projectPath: "publish.os/page.tsx"
457
+ projectPath: "publish.os/index.tsx"
458
458
  },
459
459
  {
460
460
  category: "route",
@@ -470,15 +470,15 @@ var kernelDefaultsRegistry = {
470
470
  status: "available",
471
471
  description: "Default group index page.",
472
472
  kernelImport: "@publish.os/nextjs/kernel/routes/pages/group",
473
- projectPath: "publish.os/<group>/page.tsx"
473
+ projectPath: "publish.os/<group>/index.tsx"
474
474
  },
475
475
  {
476
476
  category: "route",
477
- name: "LeafPage",
477
+ name: "ContentPage",
478
478
  status: "available",
479
- description: "Default content leaf page.",
479
+ description: "Default content page.",
480
480
  kernelImport: "@publish.os/nextjs/kernel/routes/pages/leaf",
481
- projectPath: "publish.os/<group>/leaf.tsx"
481
+ projectPath: "publish.os/<group>/page.tsx"
482
482
  },
483
483
  {
484
484
  category: "route",
@@ -3,7 +3,6 @@ type MarkdownRouteArtifact = {
3
3
  bodyHash?: string;
4
4
  byteSize?: number;
5
5
  htmlPath: string;
6
- image?: string;
7
6
  markdownPath: string;
8
7
  sourceHash?: string;
9
8
  title: string;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactElement, ReactNode } from 'react';
3
- import { M as ManifestLike, L as LayoutProps } from '../../../types-CIwwieNw.js';
3
+ import { M as ManifestLike, L as LayoutProps } from '../../../types-BzkZty3r.js';
4
4
 
5
5
  type LayoutComponent = (props: LayoutProps) => ReactElement | Promise<ReactElement>;
6
6
  type GroupLayoutConfig = {
@@ -1,4 +1,4 @@
1
- import { P as PageStatus, M as ManifestLike } from '../../../types-CIwwieNw.js';
1
+ import { P as PageStatus, M as ManifestLike } from '../../../types-BzkZty3r.js';
2
2
 
3
3
  type FeedScope = "site" | "group" | "self";
4
4
  type FeedRouteOptions = {
@@ -3,8 +3,8 @@ import { tags } from "@publish.os/nextjs/cache/tags";
3
3
  import { cacheLife, cacheTag } from "next/cache";
4
4
 
5
5
  // src/lib/runtime/metadata/canonical-url.ts
6
- function canonicalUrl(manifest, path) {
7
- let origin = manifest.site.url?.replace(/\/+$/, "");
6
+ function canonicalUrl(manifest, path, group) {
7
+ let origin = (group && manifest.groups[group]?.origin) ?? manifest.site.origin;
8
8
  if (!origin) return path;
9
9
  try {
10
10
  return new URL(path, `${origin}/`).toString();
@@ -58,8 +58,8 @@ async function rssXml(manifest, options = {}) {
58
58
  tags.feed("rss", options.group ?? options.scope ?? "site"),
59
59
  tags.manifest(manifest.contentHash)
60
60
  );
61
- let title = manifest.site.name, description = manifest.site.description ?? title, pages = feedPages(manifest, options), homeUrl = canonicalUrl(manifest, "/"), items = pages.map((page) => {
62
- let pageUrl = canonicalUrl(manifest, page.path), publishedAt = validDate(page.publishedAt), pubDate = publishedAt ? `
61
+ let title = manifest.site.name, description = manifest.site.description ?? title, pages = feedPages(manifest, options), group = options.group, homePath = group ? manifest.groups[group]?.path ?? "/" : "/", homeUrl = canonicalUrl(manifest, homePath, group), items = pages.map((page) => {
62
+ let pageUrl = canonicalUrl(manifest, page.path, page.group), publishedAt = validDate(page.publishedAt), pubDate = publishedAt ? `
63
63
  <pubDate>${xmlEscape(new Date(publishedAt).toUTCString())}</pubDate>` : "", description2 = page.description ? `
64
64
  <description>${xmlEscape(page.description)}</description>` : "";
65
65
  return ` <item>
@@ -94,8 +94,8 @@ async function atomXml(manifest, options = {}) {
94
94
  tags.feed("atom", options.group ?? options.scope ?? "site"),
95
95
  tags.manifest(manifest.contentHash)
96
96
  );
97
- let title = manifest.site.name, pages = feedPages(manifest, options), homeUrl = canonicalUrl(manifest, "/"), entries = pages.map((page) => {
98
- let date = pageDate(page), updated = date ? new Date(date).toISOString() : latestFeedDate([]), pageUrl = canonicalUrl(manifest, page.path), summary = page.description ? `
97
+ let title = manifest.site.name, pages = feedPages(manifest, options), group = options.group, homePath = group ? manifest.groups[group]?.path ?? "/" : "/", homeUrl = canonicalUrl(manifest, homePath, group), entries = pages.map((page) => {
98
+ let date = pageDate(page), updated = date ? new Date(date).toISOString() : latestFeedDate([]), pageUrl = canonicalUrl(manifest, page.path, page.group), summary = page.description ? `
99
99
  <summary>${xmlEscape(page.description)}</summary>` : "";
100
100
  return ` <entry>
101
101
  <title>${xmlEscape(page.title)}</title>
@@ -127,10 +127,14 @@ async function jsonFeed(manifest, options = {}) {
127
127
  version: "https://jsonfeed.org/version/1.1",
128
128
  title: manifest.site.name,
129
129
  description: manifest.site.description,
130
- home_page_url: canonicalUrl(manifest, "/"),
130
+ home_page_url: canonicalUrl(
131
+ manifest,
132
+ options.group ? manifest.groups[options.group]?.path ?? "/" : "/",
133
+ options.group
134
+ ),
131
135
  items: pages.map((page) => ({
132
- id: canonicalUrl(manifest, page.path),
133
- url: canonicalUrl(manifest, page.path),
136
+ id: canonicalUrl(manifest, page.path, page.group),
137
+ url: canonicalUrl(manifest, page.path, page.group),
134
138
  title: page.title,
135
139
  summary: page.description,
136
140
  content_text: page.body,
@@ -1,5 +1,5 @@
1
1
  import { MarkdownRouteArtifacts } from '../agent/markdown.js';
2
- import { M as ManifestLike } from '../../../types-CIwwieNw.js';
2
+ import { M as ManifestLike } from '../../../types-BzkZty3r.js';
3
3
 
4
4
  type LlmsRouteOptions = {
5
5
  scope?: "site" | "group" | "self";
@@ -9,6 +9,7 @@ type LlmsRouteOptions = {
9
9
  links?: Array<{
10
10
  title: string;
11
11
  path: string;
12
+ group?: string;
12
13
  }>;
13
14
  };
14
15
  type LlmsFullRouteOptions = {