@nikala-ui/folio 0.13.1 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/dist/cli/commands/build.d.ts +0 -1
  2. package/dist/cli/commands/build.js +0 -1
  3. package/dist/cli/commands/dev.d.ts +0 -1
  4. package/dist/cli/commands/dev.js +0 -1
  5. package/dist/cli/commands/init.d.ts +0 -1
  6. package/dist/cli/commands/init.js +17 -1
  7. package/dist/cli/commands/preview.d.ts +0 -1
  8. package/dist/cli/commands/preview.js +0 -1
  9. package/dist/cli/commands/serve.d.ts +0 -1
  10. package/dist/cli/commands/serve.js +0 -1
  11. package/dist/cli/index.d.ts +0 -1
  12. package/dist/cli/index.js +0 -1
  13. package/dist/client/app-types.d.ts +0 -1
  14. package/dist/client/app-types.js +0 -1
  15. package/dist/client/app.d.ts +0 -1
  16. package/dist/client/app.jsx +0 -1
  17. package/dist/client/components/docs-layout-shell.d.ts +0 -1
  18. package/dist/client/components/docs-layout-shell.jsx +0 -1
  19. package/dist/client/components/docs-page-content.d.ts +0 -1
  20. package/dist/client/components/docs-page-content.jsx +0 -1
  21. package/dist/client/entry.d.ts +0 -1
  22. package/dist/client/entry.jsx +0 -1
  23. package/dist/client/navigation/page-navigation.d.ts +0 -1
  24. package/dist/client/navigation/page-navigation.js +0 -1
  25. package/dist/client/page-actions.d.ts +0 -1
  26. package/dist/client/page-actions.js +0 -1
  27. package/dist/client/routing/use-docs-router.d.ts +0 -1
  28. package/dist/client/routing/use-docs-router.js +0 -1
  29. package/dist/client/ssr-entry.d.ts +0 -1
  30. package/dist/client/ssr-entry.jsx +0 -1
  31. package/dist/client/utils/sidebar.d.ts +0 -1
  32. package/dist/client/utils/sidebar.js +0 -1
  33. package/dist/components/mdx-components.d.ts +0 -1
  34. package/dist/components/mdx-components.jsx +4 -2
  35. package/dist/components/ui/api-table.d.ts +0 -1
  36. package/dist/components/ui/api-table.jsx +0 -1
  37. package/dist/components/ui/badge.d.ts +0 -1
  38. package/dist/components/ui/badge.jsx +0 -1
  39. package/dist/components/ui/breadcrumb.d.ts +0 -1
  40. package/dist/components/ui/breadcrumb.jsx +0 -1
  41. package/dist/components/ui/button.d.ts +0 -1
  42. package/dist/components/ui/button.jsx +0 -1
  43. package/dist/components/ui/callout.d.ts +0 -1
  44. package/dist/components/ui/callout.jsx +0 -1
  45. package/dist/components/ui/card.d.ts +0 -1
  46. package/dist/components/ui/card.jsx +0 -1
  47. package/dist/components/ui/code-block.d.ts +0 -1
  48. package/dist/components/ui/code-block.jsx +0 -1
  49. package/dist/components/ui/collapsible.d.ts +0 -1
  50. package/dist/components/ui/collapsible.jsx +0 -1
  51. package/dist/components/ui/command.d.ts +0 -1
  52. package/dist/components/ui/command.jsx +0 -1
  53. package/dist/components/ui/component-viewer.d.ts +0 -1
  54. package/dist/components/ui/component-viewer.jsx +0 -1
  55. package/dist/components/ui/container.d.ts +0 -1
  56. package/dist/components/ui/container.jsx +0 -1
  57. package/dist/components/ui/dropdown-menu.d.ts +0 -1
  58. package/dist/components/ui/dropdown-menu.jsx +0 -1
  59. package/dist/components/ui/input-group.d.ts +0 -1
  60. package/dist/components/ui/input-group.jsx +0 -1
  61. package/dist/components/ui/kbd.d.ts +0 -1
  62. package/dist/components/ui/kbd.jsx +0 -1
  63. package/dist/components/ui/list.d.ts +0 -1
  64. package/dist/components/ui/list.jsx +0 -1
  65. package/dist/components/ui/logo.d.ts +0 -1
  66. package/dist/components/ui/logo.jsx +0 -1
  67. package/dist/components/ui/navbar.d.ts +0 -1
  68. package/dist/components/ui/navbar.jsx +0 -1
  69. package/dist/components/ui/package-manager-tabs.d.ts +0 -1
  70. package/dist/components/ui/package-manager-tabs.jsx +8 -1
  71. package/dist/components/ui/pager.d.ts +0 -1
  72. package/dist/components/ui/pager.jsx +0 -1
  73. package/dist/components/ui/scroll-area.d.ts +0 -1
  74. package/dist/components/ui/scroll-area.jsx +0 -1
  75. package/dist/components/ui/section-heading.d.ts +0 -1
  76. package/dist/components/ui/section-heading.jsx +0 -1
  77. package/dist/components/ui/separator.d.ts +0 -1
  78. package/dist/components/ui/separator.jsx +0 -1
  79. package/dist/components/ui/sidebar.d.ts +0 -1
  80. package/dist/components/ui/sidebar.jsx +0 -1
  81. package/dist/components/ui/skeleton.d.ts +0 -1
  82. package/dist/components/ui/skeleton.jsx +0 -1
  83. package/dist/components/ui/spinner.d.ts +0 -1
  84. package/dist/components/ui/spinner.jsx +0 -1
  85. package/dist/components/ui/table-of-contents.d.ts +0 -1
  86. package/dist/components/ui/table-of-contents.jsx +0 -1
  87. package/dist/components/ui/table.d.ts +0 -1
  88. package/dist/components/ui/table.jsx +0 -1
  89. package/dist/components/ui/tabs.d.ts +0 -1
  90. package/dist/components/ui/tabs.jsx +0 -1
  91. package/dist/components/ui/theme-toggle.d.ts +0 -1
  92. package/dist/components/ui/theme-toggle.jsx +0 -1
  93. package/dist/components/ui/tooltip.d.ts +0 -1
  94. package/dist/components/ui/tooltip.jsx +0 -1
  95. package/dist/config.d.ts +0 -1
  96. package/dist/config.js +0 -1
  97. package/dist/core/content-scanner.d.ts +0 -1
  98. package/dist/core/content-scanner.js +0 -1
  99. package/dist/core/route-tree.d.ts +0 -1
  100. package/dist/core/route-tree.js +0 -1
  101. package/dist/hooks/create-click-outside.d.ts +0 -1
  102. package/dist/hooks/create-click-outside.js +0 -1
  103. package/dist/hooks/create-clipboard.d.ts +0 -1
  104. package/dist/hooks/create-clipboard.js +0 -1
  105. package/dist/hooks/create-color-mode.d.ts +0 -1
  106. package/dist/hooks/create-color-mode.js +0 -1
  107. package/dist/hooks/create-controllable-signal.d.ts +0 -1
  108. package/dist/hooks/create-controllable-signal.js +0 -1
  109. package/dist/hooks/create-focus-trap.d.ts +0 -1
  110. package/dist/hooks/create-focus-trap.js +0 -1
  111. package/dist/hooks/create-keybindings.d.ts +0 -1
  112. package/dist/hooks/create-keybindings.js +0 -1
  113. package/dist/hooks/create-lock-scroll.d.ts +0 -1
  114. package/dist/hooks/create-lock-scroll.js +0 -1
  115. package/dist/hooks/create-resize-observer.d.ts +0 -1
  116. package/dist/hooks/create-resize-observer.js +0 -1
  117. package/dist/hooks/create-scroll-position.d.ts +0 -1
  118. package/dist/hooks/create-scroll-position.js +0 -1
  119. package/dist/index.d.ts +2 -1
  120. package/dist/index.js +1 -1
  121. package/dist/lib/cn.d.ts +0 -1
  122. package/dist/lib/cn.js +0 -1
  123. package/dist/mdx/compiler.d.ts +0 -1
  124. package/dist/mdx/compiler.js +0 -1
  125. package/dist/mdx/highlighter.d.ts +0 -1
  126. package/dist/mdx/highlighter.js +0 -1
  127. package/dist/mdx/rehype-shiki.d.ts +0 -1
  128. package/dist/mdx/rehype-shiki.js +0 -1
  129. package/dist/navigation/index.d.ts +0 -1
  130. package/dist/navigation/index.js +0 -1
  131. package/dist/navigation/repository-links.d.ts +0 -1
  132. package/dist/navigation/repository-links.js +0 -1
  133. package/dist/navigation/sidebar-state.d.ts +0 -1
  134. package/dist/navigation/sidebar-state.js +0 -1
  135. package/dist/navigation/sidebar-tree.d.ts +0 -1
  136. package/dist/navigation/sidebar-tree.js +0 -1
  137. package/dist/providers/theme-provider.d.ts +0 -1
  138. package/dist/providers/theme-provider.jsx +0 -1
  139. package/dist/providers/theme-script.d.ts +0 -1
  140. package/dist/providers/theme-script.jsx +0 -1
  141. package/dist/providers/theme-transitions.d.ts +0 -1
  142. package/dist/providers/theme-transitions.js +0 -1
  143. package/dist/search/provider.d.ts +16 -5
  144. package/dist/search/provider.js +28 -4
  145. package/dist/server/index.d.ts +0 -1
  146. package/dist/server/index.js +4 -1
  147. package/dist/server/plugin.d.ts +0 -1
  148. package/dist/server/plugin.js +0 -1
  149. package/dist/theme-accent.d.ts +0 -1
  150. package/dist/theme-accent.js +0 -1
  151. package/dist/theme-mode.d.ts +0 -1
  152. package/dist/theme-mode.js +0 -1
  153. package/dist/themes/default/content/breadcrumbs.d.ts +0 -1
  154. package/dist/themes/default/content/breadcrumbs.jsx +0 -1
  155. package/dist/themes/default/content/pager.d.ts +0 -1
  156. package/dist/themes/default/content/pager.jsx +0 -1
  157. package/dist/themes/default/content/table-of-contents.d.ts +0 -1
  158. package/dist/themes/default/content/table-of-contents.jsx +0 -1
  159. package/dist/themes/default/icons.d.ts +0 -1
  160. package/dist/themes/default/icons.js +0 -1
  161. package/dist/themes/default/index.d.ts +0 -1
  162. package/dist/themes/default/index.js +0 -1
  163. package/dist/themes/default/layout.d.ts +0 -1
  164. package/dist/themes/default/layout.jsx +3 -3
  165. package/dist/themes/default/navbar.d.ts +0 -1
  166. package/dist/themes/default/navbar.jsx +0 -1
  167. package/dist/themes/default/navigation/mobile-table-of-contents.d.ts +0 -1
  168. package/dist/themes/default/navigation/mobile-table-of-contents.jsx +0 -1
  169. package/dist/themes/default/navigation/sidebar-tree.d.ts +0 -1
  170. package/dist/themes/default/navigation/sidebar-tree.jsx +0 -1
  171. package/dist/themes/default/overlays/search-dialog.d.ts +0 -1
  172. package/dist/themes/default/overlays/search-dialog.jsx +23 -9
  173. package/dist/themes/default/sidebar.d.ts +0 -1
  174. package/dist/themes/default/sidebar.jsx +0 -1
  175. package/dist/themes/index.d.ts +0 -1
  176. package/dist/themes/index.js +0 -1
  177. package/dist/themes/types.d.ts +2 -3
  178. package/dist/themes/types.js +0 -1
  179. package/dist/types.d.ts +2 -2
  180. package/dist/types.js +0 -1
  181. package/dist/vendor/docs-src/components/mdx-components.tsx +4 -1
  182. package/dist/vendor/docs-src/components/ui/package-manager-tabs.tsx +8 -0
  183. package/dist/version.d.ts +1 -2
  184. package/dist/version.js +1 -2
  185. package/package.json +9 -1
  186. package/dist/cli/commands/build.d.ts.map +0 -1
  187. package/dist/cli/commands/build.js.map +0 -1
  188. package/dist/cli/commands/dev.d.ts.map +0 -1
  189. package/dist/cli/commands/dev.js.map +0 -1
  190. package/dist/cli/commands/init.d.ts.map +0 -1
  191. package/dist/cli/commands/init.js.map +0 -1
  192. package/dist/cli/commands/preview.d.ts.map +0 -1
  193. package/dist/cli/commands/preview.js.map +0 -1
  194. package/dist/cli/commands/serve.d.ts.map +0 -1
  195. package/dist/cli/commands/serve.js.map +0 -1
  196. package/dist/cli/index.d.ts.map +0 -1
  197. package/dist/cli/index.js.map +0 -1
  198. package/dist/client/app-types.d.ts.map +0 -1
  199. package/dist/client/app-types.js.map +0 -1
  200. package/dist/client/app.d.ts.map +0 -1
  201. package/dist/client/app.jsx.map +0 -1
  202. package/dist/client/components/docs-layout-shell.d.ts.map +0 -1
  203. package/dist/client/components/docs-layout-shell.jsx.map +0 -1
  204. package/dist/client/components/docs-page-content.d.ts.map +0 -1
  205. package/dist/client/components/docs-page-content.jsx.map +0 -1
  206. package/dist/client/entry.d.ts.map +0 -1
  207. package/dist/client/entry.jsx.map +0 -1
  208. package/dist/client/navigation/page-navigation.d.ts.map +0 -1
  209. package/dist/client/navigation/page-navigation.js.map +0 -1
  210. package/dist/client/page-actions.d.ts.map +0 -1
  211. package/dist/client/page-actions.js.map +0 -1
  212. package/dist/client/routing/use-docs-router.d.ts.map +0 -1
  213. package/dist/client/routing/use-docs-router.js.map +0 -1
  214. package/dist/client/ssr-entry.d.ts.map +0 -1
  215. package/dist/client/ssr-entry.jsx.map +0 -1
  216. package/dist/client/utils/sidebar.d.ts.map +0 -1
  217. package/dist/client/utils/sidebar.js.map +0 -1
  218. package/dist/components/mdx-components.d.ts.map +0 -1
  219. package/dist/components/mdx-components.jsx.map +0 -1
  220. package/dist/components/ui/api-table.d.ts.map +0 -1
  221. package/dist/components/ui/api-table.jsx.map +0 -1
  222. package/dist/components/ui/badge.d.ts.map +0 -1
  223. package/dist/components/ui/badge.jsx.map +0 -1
  224. package/dist/components/ui/breadcrumb.d.ts.map +0 -1
  225. package/dist/components/ui/breadcrumb.jsx.map +0 -1
  226. package/dist/components/ui/button.d.ts.map +0 -1
  227. package/dist/components/ui/button.jsx.map +0 -1
  228. package/dist/components/ui/callout.d.ts.map +0 -1
  229. package/dist/components/ui/callout.jsx.map +0 -1
  230. package/dist/components/ui/card.d.ts.map +0 -1
  231. package/dist/components/ui/card.jsx.map +0 -1
  232. package/dist/components/ui/code-block.d.ts.map +0 -1
  233. package/dist/components/ui/code-block.jsx.map +0 -1
  234. package/dist/components/ui/collapsible.d.ts.map +0 -1
  235. package/dist/components/ui/collapsible.jsx.map +0 -1
  236. package/dist/components/ui/command.d.ts.map +0 -1
  237. package/dist/components/ui/command.jsx.map +0 -1
  238. package/dist/components/ui/component-viewer.d.ts.map +0 -1
  239. package/dist/components/ui/component-viewer.jsx.map +0 -1
  240. package/dist/components/ui/container.d.ts.map +0 -1
  241. package/dist/components/ui/container.jsx.map +0 -1
  242. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  243. package/dist/components/ui/dropdown-menu.jsx.map +0 -1
  244. package/dist/components/ui/input-group.d.ts.map +0 -1
  245. package/dist/components/ui/input-group.jsx.map +0 -1
  246. package/dist/components/ui/kbd.d.ts.map +0 -1
  247. package/dist/components/ui/kbd.jsx.map +0 -1
  248. package/dist/components/ui/list.d.ts.map +0 -1
  249. package/dist/components/ui/list.jsx.map +0 -1
  250. package/dist/components/ui/logo.d.ts.map +0 -1
  251. package/dist/components/ui/logo.jsx.map +0 -1
  252. package/dist/components/ui/navbar.d.ts.map +0 -1
  253. package/dist/components/ui/navbar.jsx.map +0 -1
  254. package/dist/components/ui/package-manager-tabs.d.ts.map +0 -1
  255. package/dist/components/ui/package-manager-tabs.jsx.map +0 -1
  256. package/dist/components/ui/pager.d.ts.map +0 -1
  257. package/dist/components/ui/pager.jsx.map +0 -1
  258. package/dist/components/ui/scroll-area.d.ts.map +0 -1
  259. package/dist/components/ui/scroll-area.jsx.map +0 -1
  260. package/dist/components/ui/section-heading.d.ts.map +0 -1
  261. package/dist/components/ui/section-heading.jsx.map +0 -1
  262. package/dist/components/ui/separator.d.ts.map +0 -1
  263. package/dist/components/ui/separator.jsx.map +0 -1
  264. package/dist/components/ui/sidebar.d.ts.map +0 -1
  265. package/dist/components/ui/sidebar.jsx.map +0 -1
  266. package/dist/components/ui/skeleton.d.ts.map +0 -1
  267. package/dist/components/ui/skeleton.jsx.map +0 -1
  268. package/dist/components/ui/spinner.d.ts.map +0 -1
  269. package/dist/components/ui/spinner.jsx.map +0 -1
  270. package/dist/components/ui/table-of-contents.d.ts.map +0 -1
  271. package/dist/components/ui/table-of-contents.jsx.map +0 -1
  272. package/dist/components/ui/table.d.ts.map +0 -1
  273. package/dist/components/ui/table.jsx.map +0 -1
  274. package/dist/components/ui/tabs.d.ts.map +0 -1
  275. package/dist/components/ui/tabs.jsx.map +0 -1
  276. package/dist/components/ui/theme-toggle.d.ts.map +0 -1
  277. package/dist/components/ui/theme-toggle.jsx.map +0 -1
  278. package/dist/components/ui/tooltip.d.ts.map +0 -1
  279. package/dist/components/ui/tooltip.jsx.map +0 -1
  280. package/dist/config.d.ts.map +0 -1
  281. package/dist/config.js.map +0 -1
  282. package/dist/core/content-scanner.d.ts.map +0 -1
  283. package/dist/core/content-scanner.js.map +0 -1
  284. package/dist/core/route-tree.d.ts.map +0 -1
  285. package/dist/core/route-tree.js.map +0 -1
  286. package/dist/hooks/create-click-outside.d.ts.map +0 -1
  287. package/dist/hooks/create-click-outside.js.map +0 -1
  288. package/dist/hooks/create-clipboard.d.ts.map +0 -1
  289. package/dist/hooks/create-clipboard.js.map +0 -1
  290. package/dist/hooks/create-color-mode.d.ts.map +0 -1
  291. package/dist/hooks/create-color-mode.js.map +0 -1
  292. package/dist/hooks/create-controllable-signal.d.ts.map +0 -1
  293. package/dist/hooks/create-controllable-signal.js.map +0 -1
  294. package/dist/hooks/create-focus-trap.d.ts.map +0 -1
  295. package/dist/hooks/create-focus-trap.js.map +0 -1
  296. package/dist/hooks/create-keybindings.d.ts.map +0 -1
  297. package/dist/hooks/create-keybindings.js.map +0 -1
  298. package/dist/hooks/create-lock-scroll.d.ts.map +0 -1
  299. package/dist/hooks/create-lock-scroll.js.map +0 -1
  300. package/dist/hooks/create-resize-observer.d.ts.map +0 -1
  301. package/dist/hooks/create-resize-observer.js.map +0 -1
  302. package/dist/hooks/create-scroll-position.d.ts.map +0 -1
  303. package/dist/hooks/create-scroll-position.js.map +0 -1
  304. package/dist/index.d.ts.map +0 -1
  305. package/dist/index.js.map +0 -1
  306. package/dist/lib/cn.d.ts.map +0 -1
  307. package/dist/lib/cn.js.map +0 -1
  308. package/dist/mdx/compiler.d.ts.map +0 -1
  309. package/dist/mdx/compiler.js.map +0 -1
  310. package/dist/mdx/highlighter.d.ts.map +0 -1
  311. package/dist/mdx/highlighter.js.map +0 -1
  312. package/dist/mdx/rehype-shiki.d.ts.map +0 -1
  313. package/dist/mdx/rehype-shiki.js.map +0 -1
  314. package/dist/navigation/index.d.ts.map +0 -1
  315. package/dist/navigation/index.js.map +0 -1
  316. package/dist/navigation/repository-links.d.ts.map +0 -1
  317. package/dist/navigation/repository-links.js.map +0 -1
  318. package/dist/navigation/sidebar-state.d.ts.map +0 -1
  319. package/dist/navigation/sidebar-state.js.map +0 -1
  320. package/dist/navigation/sidebar-tree.d.ts.map +0 -1
  321. package/dist/navigation/sidebar-tree.js.map +0 -1
  322. package/dist/providers/theme-provider.d.ts.map +0 -1
  323. package/dist/providers/theme-provider.jsx.map +0 -1
  324. package/dist/providers/theme-script.d.ts.map +0 -1
  325. package/dist/providers/theme-script.jsx.map +0 -1
  326. package/dist/providers/theme-transitions.d.ts.map +0 -1
  327. package/dist/providers/theme-transitions.js.map +0 -1
  328. package/dist/search/provider.d.ts.map +0 -1
  329. package/dist/search/provider.js.map +0 -1
  330. package/dist/server/index.d.ts.map +0 -1
  331. package/dist/server/index.js.map +0 -1
  332. package/dist/server/plugin.d.ts.map +0 -1
  333. package/dist/server/plugin.js.map +0 -1
  334. package/dist/theme-accent.d.ts.map +0 -1
  335. package/dist/theme-accent.js.map +0 -1
  336. package/dist/theme-mode.d.ts.map +0 -1
  337. package/dist/theme-mode.js.map +0 -1
  338. package/dist/themes/default/content/breadcrumbs.d.ts.map +0 -1
  339. package/dist/themes/default/content/breadcrumbs.jsx.map +0 -1
  340. package/dist/themes/default/content/pager.d.ts.map +0 -1
  341. package/dist/themes/default/content/pager.jsx.map +0 -1
  342. package/dist/themes/default/content/table-of-contents.d.ts.map +0 -1
  343. package/dist/themes/default/content/table-of-contents.jsx.map +0 -1
  344. package/dist/themes/default/icons.d.ts.map +0 -1
  345. package/dist/themes/default/icons.js.map +0 -1
  346. package/dist/themes/default/index.d.ts.map +0 -1
  347. package/dist/themes/default/index.js.map +0 -1
  348. package/dist/themes/default/layout.d.ts.map +0 -1
  349. package/dist/themes/default/layout.jsx.map +0 -1
  350. package/dist/themes/default/navbar.d.ts.map +0 -1
  351. package/dist/themes/default/navbar.jsx.map +0 -1
  352. package/dist/themes/default/navigation/mobile-table-of-contents.d.ts.map +0 -1
  353. package/dist/themes/default/navigation/mobile-table-of-contents.jsx.map +0 -1
  354. package/dist/themes/default/navigation/sidebar-tree.d.ts.map +0 -1
  355. package/dist/themes/default/navigation/sidebar-tree.jsx.map +0 -1
  356. package/dist/themes/default/overlays/search-dialog.d.ts.map +0 -1
  357. package/dist/themes/default/overlays/search-dialog.jsx.map +0 -1
  358. package/dist/themes/default/sidebar.d.ts.map +0 -1
  359. package/dist/themes/default/sidebar.jsx.map +0 -1
  360. package/dist/themes/index.d.ts.map +0 -1
  361. package/dist/themes/index.js.map +0 -1
  362. package/dist/themes/types.d.ts.map +0 -1
  363. package/dist/themes/types.js.map +0 -1
  364. package/dist/types.d.ts.map +0 -1
  365. package/dist/types.js.map +0 -1
  366. package/dist/version.d.ts.map +0 -1
  367. package/dist/version.js.map +0 -1
@@ -39,4 +39,3 @@ export interface TabsContentProps extends JSX.HTMLAttributes<HTMLDivElement> {
39
39
  * Content panel revealed when the associated tab is active.
40
40
  */
41
41
  export declare const TabsContent: Component<TabsContentProps>;
42
- //# sourceMappingURL=tabs.d.ts.map
@@ -90,4 +90,3 @@ export const TabsContent = (props) => {
90
90
  </div>
91
91
  </Show>);
92
92
  };
93
- //# sourceMappingURL=tabs.jsx.map
@@ -16,4 +16,3 @@ export interface ThemeToggleProps extends Omit<JSX.ButtonHTMLAttributes<HTMLButt
16
16
  * Interactive UI theme switcher supporting button, mini (dropdown), and max (customizer panel) modes with View Transition animations.
17
17
  */
18
18
  export declare const ThemeToggle: Component<ThemeToggleProps>;
19
- //# sourceMappingURL=theme-toggle.d.ts.map
@@ -139,4 +139,3 @@ export const ThemeToggle = (props) => {
139
139
  </DropdownMenu>
140
140
  </Show>);
141
141
  };
142
- //# sourceMappingURL=theme-toggle.jsx.map
@@ -7,4 +7,3 @@ export interface TooltipContentProps extends ComponentProps<typeof KobalteToolti
7
7
  class?: string;
8
8
  }
9
9
  export declare const TooltipContent: Component<TooltipContentProps>;
10
- //# sourceMappingURL=tooltip.d.ts.map
@@ -15,4 +15,3 @@ export const TooltipContent = (props) => {
15
15
  </KobalteTooltip.Content>
16
16
  </KobalteTooltip.Portal>);
17
17
  };
18
- //# sourceMappingURL=tooltip.jsx.map
package/dist/config.d.ts CHANGED
@@ -3,4 +3,3 @@ export declare const DEFAULT_DOCS_CONFIG: Required<Pick<DocsConfig, "title" | "d
3
3
  export declare function defineDocsConfig(config: DocsConfig): DocsConfig;
4
4
  export declare const loadConfig: typeof resolveDocsConfig;
5
5
  export declare function resolveDocsConfig(cwd?: string): Promise<DocsConfig>;
6
- //# sourceMappingURL=config.d.ts.map
package/dist/config.js CHANGED
@@ -102,4 +102,3 @@ export async function resolveDocsConfig(cwd = process.cwd()) {
102
102
  }
103
103
  return DEFAULT_DOCS_CONFIG;
104
104
  }
105
- //# sourceMappingURL=config.js.map
@@ -7,4 +7,3 @@ export declare function formatTitleFromFilename(filename: string): string;
7
7
  export declare function parseMdxFile(filePath: string, contentDir: string): Promise<PageData>;
8
8
  export declare function scanContent(contentDir: string): Promise<PageData[]>;
9
9
  export declare function scanContentDirectories(contentDir: string): Promise<string[]>;
10
- //# sourceMappingURL=content-scanner.d.ts.map
@@ -215,4 +215,3 @@ export async function scanContentDirectories(contentDir) {
215
215
  await walk(contentDir);
216
216
  return [...directories].sort();
217
217
  }
218
- //# sourceMappingURL=content-scanner.js.map
@@ -21,4 +21,3 @@ export declare function buildBreadcrumbs(url: string, pages: PageData[]): Array<
21
21
  title: string;
22
22
  href?: string;
23
23
  }>;
24
- //# sourceMappingURL=route-tree.d.ts.map
@@ -218,4 +218,3 @@ export function buildBreadcrumbs(url, pages) {
218
218
  }
219
219
  return breadcrumbs;
220
220
  }
221
- //# sourceMappingURL=route-tree.js.map
@@ -15,4 +15,3 @@ export interface CreateClickOutsideOptions {
15
15
  * @param options Configuration options including target element(s), callback, and optional ignore elements.
16
16
  */
17
17
  export declare function createClickOutside(options: CreateClickOutsideOptions): void;
18
- //# sourceMappingURL=create-click-outside.d.ts.map
@@ -52,4 +52,3 @@ export function createClickOutside(options) {
52
52
  });
53
53
  });
54
54
  }
55
- //# sourceMappingURL=create-click-outside.js.map
@@ -17,4 +17,3 @@ export interface CreateClipboardReturn {
17
17
  * @param options Configuration options including copied status reset timeout duration.
18
18
  */
19
19
  export declare function createClipboard(options?: CreateClipboardOptions): CreateClipboardReturn;
20
- //# sourceMappingURL=create-clipboard.d.ts.map
@@ -45,4 +45,3 @@ export function createClipboard(options = {}) {
45
45
  error,
46
46
  };
47
47
  }
48
- //# sourceMappingURL=create-clipboard.js.map
@@ -24,4 +24,3 @@ export interface CreateColorModeReturn {
24
24
  * @param options Configuration options including storage key and initial mode.
25
25
  */
26
26
  export declare function createColorMode(options?: CreateColorModeOptions): CreateColorModeReturn;
27
- //# sourceMappingURL=create-color-mode.d.ts.map
@@ -83,4 +83,3 @@ export function createColorMode(options = {}) {
83
83
  isDark,
84
84
  };
85
85
  }
86
- //# sourceMappingURL=create-color-mode.js.map
@@ -14,4 +14,3 @@ export interface CreateControllableSignalOptions<T> {
14
14
  * @returns A tuple containing [valueAccessor, setValueFunction].
15
15
  */
16
16
  export declare function createControllableSignal<T>(options: CreateControllableSignalOptions<T>): [Accessor<T | undefined>, (nextValue: T | ((prev: T | undefined) => T)) => void];
17
- //# sourceMappingURL=create-controllable-signal.d.ts.map
@@ -32,4 +32,3 @@ export function createControllableSignal(options) {
32
32
  };
33
33
  return [value, setValue];
34
34
  }
35
- //# sourceMappingURL=create-controllable-signal.js.map
@@ -12,4 +12,3 @@ export interface CreateFocusTrapOptions {
12
12
  * @param options Configuration options for focus trap behavior.
13
13
  */
14
14
  export declare function createFocusTrap(target: HTMLElement | Accessor<HTMLElement | undefined>, options?: CreateFocusTrapOptions): void;
15
- //# sourceMappingURL=create-focus-trap.d.ts.map
@@ -69,4 +69,3 @@ export function createFocusTrap(target, options = {}) {
69
69
  });
70
70
  });
71
71
  }
72
- //# sourceMappingURL=create-focus-trap.js.map
@@ -31,4 +31,3 @@ export declare function createKeybindings(bindings: KeybindingDefinition | Keybi
31
31
  * @param options Keybindings options.
32
32
  */
33
33
  export declare function createEscapeKey(handler: (event: KeyboardEvent) => void, options?: CreateKeybindingsOptions): void;
34
- //# sourceMappingURL=create-keybindings.d.ts.map
@@ -110,4 +110,3 @@ export function createEscapeKey(handler, options = {}) {
110
110
  preventDefault: true,
111
111
  }, options);
112
112
  }
113
- //# sourceMappingURL=create-keybindings.js.map
@@ -17,4 +17,3 @@ export interface CreateLockScrollReturn {
17
17
  * @param options Configuration options including target element and initial enabled state.
18
18
  */
19
19
  export declare function createLockScroll(options?: CreateLockScrollOptions): CreateLockScrollReturn;
20
- //# sourceMappingURL=create-lock-scroll.d.ts.map
@@ -74,4 +74,3 @@ export function createLockScroll(options = {}) {
74
74
  setLocked,
75
75
  };
76
76
  }
77
- //# sourceMappingURL=create-lock-scroll.js.map
@@ -24,4 +24,3 @@ export interface CreateElementSizeReturn {
24
24
  * @param options ResizeObserver options.
25
25
  */
26
26
  export declare function createElementSize(target: HTMLElement | Accessor<HTMLElement | undefined>, options?: CreateResizeObserverOptions): CreateElementSizeReturn;
27
- //# sourceMappingURL=create-resize-observer.d.ts.map
@@ -56,4 +56,3 @@ export function createElementSize(target, options = {}) {
56
56
  height,
57
57
  };
58
58
  }
59
- //# sourceMappingURL=create-resize-observer.js.map
@@ -26,4 +26,3 @@ export interface CreateScrollPositionReturn {
26
26
  * @param options Configuration options including target element.
27
27
  */
28
28
  export declare function createScrollPosition(options?: CreateScrollPositionOptions): CreateScrollPositionReturn;
29
- //# sourceMappingURL=create-scroll-position.d.ts.map
@@ -98,4 +98,3 @@ export function createScrollPosition(options = {}) {
98
98
  scrollTo,
99
99
  };
100
100
  }
101
- //# sourceMappingURL=create-scroll-position.js.map
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./types.js";
2
+ export type { SearchAdapter, SearchContext } from "./search/provider.js";
2
3
  export * from "./navigation/index.js";
3
4
  export * from "./config.js";
4
5
  export * from "./core/content-scanner.js";
@@ -8,6 +9,6 @@ export * from "./mdx/highlighter.js";
8
9
  export * from "./components/mdx-components.js";
9
10
  export * from "./themes/index.js";
10
11
  export * from "./server/index.js";
12
+ export * from "./search/provider.js";
11
13
  import { nikalaDocsPlugin } from "./server/plugin.js";
12
14
  export declare const nikalaDocs: typeof nikalaDocsPlugin;
13
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -9,6 +9,6 @@ export * from "./mdx/highlighter.js";
9
9
  export * from "./components/mdx-components.js";
10
10
  export * from "./themes/index.js";
11
11
  export * from "./server/index.js";
12
+ export * from "./search/provider.js";
12
13
  import { nikalaDocsPlugin } from "./server/plugin.js";
13
14
  export const nikalaDocs = nikalaDocsPlugin;
14
- //# sourceMappingURL=index.js.map
package/dist/lib/cn.d.ts CHANGED
@@ -3,4 +3,3 @@ import { type ClassValue } from "clsx";
3
3
  * Combines multiple class names and resolves Tailwind CSS conflicts.
4
4
  */
5
5
  export declare function cn(...inputs: ClassValue[]): any;
6
- //# sourceMappingURL=cn.d.ts.map
package/dist/lib/cn.js CHANGED
@@ -6,4 +6,3 @@ import { twMerge } from "tailwind-merge";
6
6
  export function cn(...inputs) {
7
7
  return twMerge(clsx(inputs));
8
8
  }
9
- //# sourceMappingURL=cn.js.map
@@ -10,4 +10,3 @@ export interface CompileMdxOptions {
10
10
  shiki?: import("../types.js").ShikiConfig;
11
11
  }
12
12
  export declare function compileMdx(rawContent: string, options?: CompileMdxOptions): Promise<CompileMdxResult>;
13
- //# sourceMappingURL=compiler.d.ts.map
@@ -35,4 +35,3 @@ export async function compileMdx(rawContent, options = {}) {
35
35
  toc,
36
36
  };
37
37
  }
38
- //# sourceMappingURL=compiler.js.map
@@ -19,4 +19,3 @@ export interface HighlightOptions {
19
19
  themeDark?: string;
20
20
  }
21
21
  export declare function highlightCode(code: string, options?: HighlightOptions): Promise<string>;
22
- //# sourceMappingURL=highlighter.d.ts.map
@@ -187,4 +187,3 @@ export async function highlightCode(code, options = {}) {
187
187
  defaultColor: false,
188
188
  });
189
189
  }
190
- //# sourceMappingURL=highlighter.js.map
@@ -1,3 +1,2 @@
1
1
  import type { ShikiConfig } from "../types.js";
2
2
  export declare function rehypeShiki(config?: ShikiConfig): (tree: any) => Promise<void>;
3
- //# sourceMappingURL=rehype-shiki.d.ts.map
@@ -80,4 +80,3 @@ export function rehypeShiki(config) {
80
80
  await Promise.all(tasks);
81
81
  };
82
82
  }
83
- //# sourceMappingURL=rehype-shiki.js.map
@@ -1,3 +1,2 @@
1
1
  export * from "./sidebar-state.js";
2
2
  export * from "./repository-links.js";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,2 @@
1
1
  export * from "./sidebar-state.js";
2
2
  export * from "./repository-links.js";
3
- //# sourceMappingURL=index.js.map
@@ -1,3 +1,2 @@
1
1
  import type { DocsConfig } from "../types.js";
2
2
  export declare function getRepositorySourceUrl(repository: NonNullable<DocsConfig["repository"]>, sourcePath: string, contentDir?: string): string | undefined;
3
- //# sourceMappingURL=repository-links.d.ts.map
@@ -32,4 +32,3 @@ export function getRepositorySourceUrl(repository, sourcePath, contentDir = "doc
32
32
  }
33
33
  return `${baseUrl}/blob/${branch}/${filePath}`;
34
34
  }
35
- //# sourceMappingURL=repository-links.js.map
@@ -3,4 +3,3 @@ export declare function isSidebarItemActive(item: SidebarItem, currentUrl?: stri
3
3
  export declare function containsActiveSidebarItem(item: SidebarItem, currentUrl?: string): boolean;
4
4
  export declare function isSidebarItemNew(item: SidebarItem): boolean;
5
5
  export declare function containsNewSidebarItem(item: SidebarItem): boolean;
6
- //# sourceMappingURL=sidebar-state.d.ts.map
@@ -17,4 +17,3 @@ export function isSidebarItemNew(item) {
17
17
  export function containsNewSidebarItem(item) {
18
18
  return isSidebarItemNew(item) || Boolean(item.items?.some(containsNewSidebarItem));
19
19
  }
20
- //# sourceMappingURL=sidebar-state.js.map
@@ -4,4 +4,3 @@ export interface FlatSidebarItem {
4
4
  href: string;
5
5
  }
6
6
  export declare function flattenSidebarItems(items: SidebarItem[]): FlatSidebarItem[];
7
- //# sourceMappingURL=sidebar-tree.d.ts.map
@@ -8,4 +8,3 @@ export function flattenSidebarItems(items) {
8
8
  }
9
9
  return flattened;
10
10
  }
11
- //# sourceMappingURL=sidebar-tree.js.map
@@ -30,4 +30,3 @@ export declare const ThemeProvider: ParentComponent<ThemeProviderProps>;
30
30
  */
31
31
  export declare function useTheme(): ThemeProviderContextValue;
32
32
  export { ThemeScript, type ThemeScriptProps } from "./theme-script";
33
- //# sourceMappingURL=theme-provider.d.ts.map
@@ -155,4 +155,3 @@ export function useTheme() {
155
155
  return context;
156
156
  }
157
157
  export { ThemeScript } from "./theme-script";
158
- //# sourceMappingURL=theme-provider.jsx.map
@@ -13,4 +13,3 @@ export interface ThemeScriptProps {
13
13
  * Pre-hydration inline script executed synchronously before DOM paint to prevent theme flickering (anti-FOUC).
14
14
  */
15
15
  export declare const ThemeScript: Component<ThemeScriptProps>;
16
- //# sourceMappingURL=theme-script.d.ts.map
@@ -38,4 +38,3 @@ export const ThemeScript = (props) => {
38
38
  }catch(e){}})();`;
39
39
  return <script innerHTML={scriptText}/>;
40
40
  };
41
- //# sourceMappingURL=theme-script.jsx.map
@@ -9,4 +9,3 @@ export type ThemeEffect = "none" | "circular" | "fade";
9
9
  * @param updateThemeCallback - Callback function performing the actual theme state change
10
10
  */
11
11
  export declare function runThemeTransition(effect: ThemeEffect | undefined, event: MouseEvent | undefined, updateThemeCallback: () => void): void;
12
- //# sourceMappingURL=theme-transitions.d.ts.map
@@ -112,4 +112,3 @@ export function runThemeTransition(effect = "none", event, updateThemeCallback)
112
112
  updateThemeCallback();
113
113
  }
114
114
  }
115
- //# sourceMappingURL=theme-transitions.js.map
@@ -1,14 +1,25 @@
1
- import type { DocsConfig } from "../types.js";
2
- export type BuiltInSearchProvider = "local";
1
+ import type { DocsConfig, PageData } from "../types.js";
2
+ export declare const LOCAL_SEARCH_PROVIDER = "local";
3
+ export interface SearchContext {
4
+ query: string;
5
+ pages: PageData[];
6
+ }
7
+ export interface SearchAdapter {
8
+ name: string;
9
+ search: (context: SearchContext) => PageData[] | Promise<PageData[]>;
10
+ }
11
+ export type ConfiguredSearchProvider = NonNullable<DocsConfig["search"]>["provider"];
3
12
  export interface ResolvedSearchProvider {
4
- requested: NonNullable<DocsConfig["search"]>["provider"];
5
- active: BuiltInSearchProvider;
13
+ requested: string;
14
+ active: string;
6
15
  fallback: boolean;
16
+ implementation: SearchAdapter;
7
17
  }
18
+ export declare const localSearchAdapter: SearchAdapter;
8
19
  /**
9
20
  * Resolve the configured search provider to an implementation available in
10
21
  * the default theme. External indexes can be added later without changing
11
22
  * the configuration contract or leaving the search dialog non-functional.
12
23
  */
13
24
  export declare function resolveSearchProvider(search?: DocsConfig["search"]): ResolvedSearchProvider;
14
- //# sourceMappingURL=provider.d.ts.map
25
+ export declare function searchPages(provider: ResolvedSearchProvider, query: string, pages: PageData[]): PageData[] | Promise<PageData[]>;
@@ -1,14 +1,38 @@
1
+ export const LOCAL_SEARCH_PROVIDER = "local";
2
+ export const localSearchAdapter = {
3
+ name: LOCAL_SEARCH_PROVIDER,
4
+ search({ query, pages }) {
5
+ const normalizedQuery = query.trim().toLowerCase();
6
+ if (!normalizedQuery)
7
+ return pages;
8
+ return pages.filter((page) => [page.title, page.url, page.description]
9
+ .filter(Boolean)
10
+ .some((value) => value.toLowerCase().includes(normalizedQuery)));
11
+ },
12
+ };
1
13
  /**
2
14
  * Resolve the configured search provider to an implementation available in
3
15
  * the default theme. External indexes can be added later without changing
4
16
  * the configuration contract or leaving the search dialog non-functional.
5
17
  */
6
18
  export function resolveSearchProvider(search) {
7
- const requested = search?.provider || "local";
19
+ const configuredProvider = search?.provider;
20
+ if (configuredProvider && typeof configuredProvider !== "string") {
21
+ return {
22
+ requested: configuredProvider.name,
23
+ active: configuredProvider.name,
24
+ fallback: false,
25
+ implementation: configuredProvider,
26
+ };
27
+ }
28
+ const requested = configuredProvider?.trim() || LOCAL_SEARCH_PROVIDER;
8
29
  return {
9
30
  requested,
10
- active: "local",
11
- fallback: requested !== "local",
31
+ active: LOCAL_SEARCH_PROVIDER,
32
+ fallback: requested !== LOCAL_SEARCH_PROVIDER,
33
+ implementation: localSearchAdapter,
12
34
  };
13
35
  }
14
- //# sourceMappingURL=provider.js.map
36
+ export function searchPages(provider, query, pages) {
37
+ return provider.implementation.search({ query, pages });
38
+ }
@@ -15,4 +15,3 @@ export declare function buildDocs(options?: DocsServerOptions): Promise<void>;
15
15
  export declare function createDocsRequestHandler(options?: DocsServerOptions): Promise<(request: Request) => Promise<Response>>;
16
16
  export declare function previewDocs(options?: DocsServerOptions): Promise<void>;
17
17
  export * from "./plugin.js";
18
- //# sourceMappingURL=index.d.ts.map
@@ -125,6 +125,10 @@ function getSharedConfig(options, isDev = false, isSSR = false) {
125
125
  aliases.push({ find: "@/lib", replacement: libSource }, { find: "@/providers", replacement: providersSource }, { find: /^@\/components\/ui\/(.*)$/, replacement: path.join(componentsSrc, "$1") }, { find: /^@\/hooks\/(.*)$/, replacement: path.join(hooksSource, "$1") });
126
126
  return {
127
127
  root: clientDir,
128
+ // The consuming documentation project owns its public Vite environment
129
+ // variables (for example VITE_ALGOLIA_*). Vite's root is the packaged
130
+ // Folio client, so point env loading back at the consumer project.
131
+ envDir: root,
128
132
  publicDir: fs.existsSync(publicDir) ? publicDir : path.join(clientDir, "public"),
129
133
  resolve: {
130
134
  alias: aliases,
@@ -562,4 +566,3 @@ async function listenWithFallback(server, startPort, host) {
562
566
  throw new Error(`No available port found from ${startPort}`);
563
567
  }
564
568
  export * from "./plugin.js";
565
- //# sourceMappingURL=index.js.map
@@ -7,4 +7,3 @@ export interface NikalaDocsPluginOptions {
7
7
  config?: DocsConfig;
8
8
  }
9
9
  export declare function nikalaDocsPlugin(options?: NikalaDocsPluginOptions): Plugin;
10
- //# sourceMappingURL=plugin.d.ts.map
@@ -519,4 +519,3 @@ ${iconEntries.join(",\n")}
519
519
  },
520
520
  };
521
521
  }
522
- //# sourceMappingURL=plugin.js.map
@@ -5,4 +5,3 @@ export declare function getAccentCssVariables(accent: DocsAccentColor, dark: boo
5
5
  primary: string;
6
6
  foreground: string;
7
7
  };
8
- //# sourceMappingURL=theme-accent.d.ts.map
@@ -15,4 +15,3 @@ export function getAccentCssVariables(accent, dark) {
15
15
  foreground,
16
16
  };
17
17
  }
18
- //# sourceMappingURL=theme-accent.js.map
@@ -1,4 +1,3 @@
1
1
  import type { DocsConfig } from "./types.js";
2
2
  export type DocsThemeMode = "light" | "dark" | "system";
3
3
  export declare function resolveDefaultThemeMode(config?: DocsConfig): DocsThemeMode;
4
- //# sourceMappingURL=theme-mode.d.ts.map
@@ -2,4 +2,3 @@ export function resolveDefaultThemeMode(config) {
2
2
  const mode = config?.theme?.defaultMode;
3
3
  return mode === "light" || mode === "dark" || mode === "system" ? mode : "system";
4
4
  }
5
- //# sourceMappingURL=theme-mode.js.map
@@ -1,4 +1,3 @@
1
1
  import { type Component } from "solid-js";
2
2
  import type { DocsBreadcrumbsProps } from "../../types.js";
3
3
  export declare const DocsBreadcrumbs: Component<DocsBreadcrumbsProps>;
4
- //# sourceMappingURL=breadcrumbs.d.ts.map
@@ -28,4 +28,3 @@ export const DocsBreadcrumbs = (props) => {
28
28
  </BreadcrumbList>
29
29
  </Breadcrumb>);
30
30
  };
31
- //# sourceMappingURL=breadcrumbs.jsx.map
@@ -2,4 +2,3 @@ import { type Component } from "solid-js";
2
2
  import type { DocsPagerProps } from "../../types.js";
3
3
  export declare const DocsPager: Component<DocsPagerProps>;
4
4
  export declare const DocsPagination: Component<import("../index.js").DocsPaginationProps>;
5
- //# sourceMappingURL=pager.d.ts.map
@@ -6,4 +6,3 @@ export const DocsPager = (props) => {
6
6
  return (<CorePager prev={local.prev} next={local.next} class={local.class} {...rest}/>);
7
7
  };
8
8
  export const DocsPagination = DocsPager;
9
- //# sourceMappingURL=pager.jsx.map
@@ -1,4 +1,3 @@
1
1
  import { type Component } from "solid-js";
2
2
  import type { DocsTableOfContentsProps } from "../../types.js";
3
3
  export declare const DocsTableOfContents: Component<DocsTableOfContentsProps>;
4
- //# sourceMappingURL=table-of-contents.d.ts.map
@@ -16,4 +16,3 @@ export const DocsTableOfContents = (props) => {
16
16
  <CoreTableOfContents items={local.items} title={local.title ?? "On this page"} class={local.class} {...rest}/>
17
17
  </Show>);
18
18
  };
19
- //# sourceMappingURL=table-of-contents.jsx.map
@@ -1,3 +1,2 @@
1
1
  import type { DocsIcon } from "../../types.js";
2
2
  export declare function resolveDefaultIcon(name?: string): DocsIcon | undefined;
3
- //# sourceMappingURL=icons.d.ts.map
@@ -12,4 +12,3 @@ export function resolveDefaultIcon(name) {
12
12
  const icon = icons[toComponentName(name)];
13
13
  return icon;
14
14
  }
15
- //# sourceMappingURL=icons.js.map
@@ -9,4 +9,3 @@ import type { DocsThemeContract } from "../types.js";
9
9
  export type { BreadcrumbItemData, DocsBreadcrumbsProps, DocsLayoutProps, DocsNavbarProps, DocsPaginationProps, DocsPagerProps, DocsSearchDialogProps, DocsSidebarProps, DocsTableOfContentsProps, DocsThemeContract, } from "../types.js";
10
10
  export declare const defaultTheme: DocsThemeContract;
11
11
  export default defaultTheme;
12
- //# sourceMappingURL=index.d.ts.map
@@ -27,4 +27,3 @@ export const defaultTheme = {
27
27
  SearchDialog: DocsSearchDialog,
28
28
  };
29
29
  export default defaultTheme;
30
- //# sourceMappingURL=index.js.map
@@ -1,4 +1,3 @@
1
1
  import { type ParentComponent } from "solid-js";
2
2
  import type { DocsLayoutProps } from "../types.js";
3
3
  export declare const DocsLayout: ParentComponent<DocsLayoutProps>;
4
- //# sourceMappingURL=layout.d.ts.map
@@ -36,6 +36,7 @@ export const DocsLayout = (props) => {
36
36
  ]);
37
37
  const [searchOpen, setSearchOpen] = createSignal(false);
38
38
  const pageClipboard = createClipboard();
39
+ const searchEnabled = () => local.config.search?.enabled !== false;
39
40
  const searchProvider = () => resolveSearchProvider(local.config.search);
40
41
  const currentUrl = () => local.currentPage?.url;
41
42
  const landingPage = () => local.currentPage?.url === "/" && local.config.home?.layout === "landing";
@@ -144,7 +145,7 @@ export const DocsLayout = (props) => {
144
145
  </Container>
145
146
  </Show>
146
147
  </Container>
147
- <DocsSearchDialog open={searchOpen()} onOpenChange={setSearchOpen} pages={local.pages} provider={searchProvider().active}/>
148
+ <DocsSearchDialog open={searchOpen()} onOpenChange={setSearchOpen} pages={local.pages} provider={searchEnabled() ? searchProvider().implementation : undefined}/>
148
149
  </SidebarInset>);
149
150
  const landingContent = () => (<SidebarInset class={cn("min-w-0", local.class)} {...rest}>
150
151
  <Container as="main" size="2xl" class="min-w-0 max-w-full flex-1 py-8 sm:py-12 lg:py-16">
@@ -162,7 +163,7 @@ export const DocsLayout = (props) => {
162
163
  </Show>
163
164
  </Container>
164
165
  </Container>
165
- <DocsSearchDialog open={searchOpen()} onOpenChange={setSearchOpen} pages={local.pages} provider={searchProvider().active}/>
166
+ <DocsSearchDialog open={searchOpen()} onOpenChange={setSearchOpen} pages={local.pages} provider={searchEnabled() ? searchProvider().implementation : undefined}/>
166
167
  </SidebarInset>);
167
168
  return (<SidebarProvider defaultOpen={true} class="min-h-screen w-full items-stretch">
168
169
  <Show when={landingPage()} fallback={<Show when={sidebarLayout()} fallback={<div class="flex min-h-screen min-w-0 flex-1 flex-col">
@@ -191,4 +192,3 @@ export const DocsLayout = (props) => {
191
192
  </Show>
192
193
  </SidebarProvider>);
193
194
  };
194
- //# sourceMappingURL=layout.jsx.map
@@ -1,4 +1,3 @@
1
1
  import { type Component } from "solid-js";
2
2
  import type { DocsNavbarProps } from "../types.js";
3
3
  export declare const DocsNavbar: Component<DocsNavbarProps>;
4
- //# sourceMappingURL=navbar.d.ts.map
@@ -80,4 +80,3 @@ export const DocsNavbar = (props) => {
80
80
 
81
81
  </Navbar>);
82
82
  };
83
- //# sourceMappingURL=navbar.jsx.map
@@ -1,4 +1,3 @@
1
1
  import { type Component } from "solid-js";
2
2
  import type { DocsTableOfContentsProps } from "../../types.js";
3
3
  export declare const DocsMobileTableOfContents: Component<DocsTableOfContentsProps>;
4
- //# sourceMappingURL=mobile-table-of-contents.d.ts.map
@@ -35,4 +35,3 @@ export const DocsMobileTableOfContents = (props) => {
35
35
  </CollapsibleContent>
36
36
  </Collapsible>);
37
37
  };
38
- //# sourceMappingURL=mobile-table-of-contents.jsx.map
@@ -5,4 +5,3 @@ export interface SidebarTreeProps {
5
5
  currentUrl?: string;
6
6
  }
7
7
  export declare const SidebarTree: Component<SidebarTreeProps>;
8
- //# sourceMappingURL=sidebar-tree.d.ts.map