zudoku 0.0.0-fa903e7 → 0.0.0-fabd0c1

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 (508) hide show
  1. package/client.d.ts +7 -0
  2. package/dist/app/demo.js +1 -1
  3. package/dist/app/demo.js.map +1 -1
  4. package/dist/app/entry.client.d.ts +1 -0
  5. package/dist/app/entry.client.js +14 -15
  6. package/dist/app/entry.client.js.map +1 -1
  7. package/dist/app/entry.server.d.ts +1 -0
  8. package/dist/app/entry.server.js +2 -2
  9. package/dist/app/entry.server.js.map +1 -1
  10. package/dist/app/main.d.ts +1 -1
  11. package/dist/app/main.js +2 -1
  12. package/dist/app/main.js.map +1 -1
  13. package/dist/app/sentry.d.ts +3 -0
  14. package/dist/app/sentry.js +19 -0
  15. package/dist/app/sentry.js.map +1 -0
  16. package/dist/app/standalone.js +1 -1
  17. package/dist/app/standalone.js.map +1 -1
  18. package/dist/app/tailwind.d.ts +2 -1
  19. package/dist/app/tailwind.js +64 -52
  20. package/dist/app/tailwind.js.map +1 -1
  21. package/dist/cli/cli.js +0 -2
  22. package/dist/cli/cli.js.map +1 -1
  23. package/dist/cli/cmds/build.js +1 -0
  24. package/dist/cli/cmds/build.js.map +1 -1
  25. package/dist/cli/common/outdated.js +2 -1
  26. package/dist/cli/common/outdated.js.map +1 -1
  27. package/dist/config/common.d.ts +8 -0
  28. package/dist/config/common.js +2 -0
  29. package/dist/config/common.js.map +1 -0
  30. package/dist/config/config.d.ts +3 -2
  31. package/dist/config/loader.d.ts +20 -0
  32. package/dist/config/loader.js +154 -0
  33. package/dist/config/loader.js.map +1 -0
  34. package/dist/config/validators/InputSidebarSchema.d.ts +14 -13
  35. package/dist/config/validators/InputSidebarSchema.js.map +1 -1
  36. package/dist/config/validators/common.d.ts +4945 -0
  37. package/dist/config/validators/common.js +280 -0
  38. package/dist/config/validators/common.js.map +1 -0
  39. package/dist/config/validators/icon-types.d.ts +1 -0
  40. package/dist/config/validators/icon-types.js +2 -0
  41. package/dist/config/validators/icon-types.js.map +1 -0
  42. package/dist/config/validators/validate.d.ts +783 -533
  43. package/dist/config/validators/validate.js +9 -234
  44. package/dist/config/validators/validate.js.map +1 -1
  45. package/dist/lib/authentication/components/CallbackHandler.js +1 -1
  46. package/dist/lib/authentication/components/CallbackHandler.js.map +1 -1
  47. package/dist/lib/authentication/components/SignIn.js +1 -1
  48. package/dist/lib/authentication/components/SignIn.js.map +1 -1
  49. package/dist/lib/authentication/components/SignOut.js +1 -1
  50. package/dist/lib/authentication/components/SignOut.js.map +1 -1
  51. package/dist/lib/authentication/providers/openid.d.ts +7 -0
  52. package/dist/lib/authentication/providers/openid.js +8 -2
  53. package/dist/lib/authentication/providers/openid.js.map +1 -1
  54. package/dist/lib/components/AnchorLink.d.ts +1 -1
  55. package/dist/lib/components/AnchorLink.js +1 -1
  56. package/dist/lib/components/AnchorLink.js.map +1 -1
  57. package/dist/lib/components/Bootstrap.d.ts +1 -2
  58. package/dist/lib/components/Bootstrap.js +3 -3
  59. package/dist/lib/components/Bootstrap.js.map +1 -1
  60. package/dist/lib/components/Header.js +2 -2
  61. package/dist/lib/components/Header.js.map +1 -1
  62. package/dist/lib/components/Heading.d.ts +4 -4
  63. package/dist/lib/components/Heading.js +1 -1
  64. package/dist/lib/components/Heading.js.map +1 -1
  65. package/dist/lib/components/Layout.js +4 -3
  66. package/dist/lib/components/Layout.js.map +1 -1
  67. package/dist/lib/components/Markdown.js +1 -1
  68. package/dist/lib/components/Markdown.js.map +1 -1
  69. package/dist/lib/components/MobileTopNavigation.js +1 -1
  70. package/dist/lib/components/MobileTopNavigation.js.map +1 -1
  71. package/dist/lib/components/NotFoundPage.js +1 -1
  72. package/dist/lib/components/NotFoundPage.js.map +1 -1
  73. package/dist/lib/components/ReactMarkdown.d.ts +29 -0
  74. package/dist/lib/components/ReactMarkdown.js +182 -0
  75. package/dist/lib/components/ReactMarkdown.js.map +1 -0
  76. package/dist/lib/components/Search.d.ts +3 -1
  77. package/dist/lib/components/Search.js +3 -3
  78. package/dist/lib/components/Search.js.map +1 -1
  79. package/dist/lib/components/SlotletProvider.d.ts +2 -2
  80. package/dist/lib/components/SyntaxHighlight.js +0 -4
  81. package/dist/lib/components/SyntaxHighlight.js.map +1 -1
  82. package/dist/lib/components/TopNavigation.d.ts +1 -1
  83. package/dist/lib/components/TopNavigation.js +1 -1
  84. package/dist/lib/components/TopNavigation.js.map +1 -1
  85. package/dist/lib/components/Zudoku.js +1 -1
  86. package/dist/lib/components/Zudoku.js.map +1 -1
  87. package/dist/lib/components/context/ZudokuContext.js +1 -1
  88. package/dist/lib/components/context/ZudokuContext.js.map +1 -1
  89. package/dist/lib/components/index.d.ts +4 -4
  90. package/dist/lib/components/index.js +1 -1
  91. package/dist/lib/components/index.js.map +1 -1
  92. package/dist/lib/components/navigation/Sidebar.d.ts +3 -1
  93. package/dist/lib/components/navigation/Sidebar.js +2 -2
  94. package/dist/lib/components/navigation/Sidebar.js.map +1 -1
  95. package/dist/lib/components/navigation/SidebarBadge.d.ts +0 -9
  96. package/dist/lib/components/navigation/SidebarBadge.js +0 -9
  97. package/dist/lib/components/navigation/SidebarBadge.js.map +1 -1
  98. package/dist/lib/components/navigation/SidebarCategory.d.ts +2 -2
  99. package/dist/lib/components/navigation/SidebarCategory.js +4 -5
  100. package/dist/lib/components/navigation/SidebarCategory.js.map +1 -1
  101. package/dist/lib/components/navigation/SidebarItem.d.ts +2 -4
  102. package/dist/lib/components/navigation/SidebarItem.js +6 -11
  103. package/dist/lib/components/navigation/SidebarItem.js.map +1 -1
  104. package/dist/lib/components/navigation/SidebarWrapper.js +1 -1
  105. package/dist/lib/components/navigation/SidebarWrapper.js.map +1 -1
  106. package/dist/lib/components/navigation/utils.js +1 -1
  107. package/dist/lib/components/navigation/utils.js.map +1 -1
  108. package/dist/lib/core/ZudokuContext.d.ts +1 -1
  109. package/dist/lib/core/plugins.d.ts +3 -5
  110. package/dist/lib/core/plugins.js.map +1 -1
  111. package/dist/lib/errors/RouterError.js +1 -1
  112. package/dist/lib/errors/RouterError.js.map +1 -1
  113. package/dist/lib/oas/graphql/index.js +4 -1
  114. package/dist/lib/oas/graphql/index.js.map +1 -1
  115. package/dist/lib/plugins/api-catalog/Catalog.d.ts +2 -0
  116. package/dist/lib/plugins/api-catalog/Catalog.js +36 -0
  117. package/dist/lib/plugins/api-catalog/Catalog.js.map +1 -0
  118. package/dist/lib/plugins/api-catalog/index.d.ts +30 -0
  119. package/dist/lib/plugins/api-catalog/index.js +15 -0
  120. package/dist/lib/plugins/api-catalog/index.js.map +1 -0
  121. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  122. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  123. package/dist/lib/plugins/api-keys/ProtectedRoute.js +1 -1
  124. package/dist/lib/plugins/api-keys/ProtectedRoute.js.map +1 -1
  125. package/dist/lib/plugins/api-keys/SettingsApiKeys.js +1 -1
  126. package/dist/lib/plugins/api-keys/SettingsApiKeys.js.map +1 -1
  127. package/dist/lib/plugins/markdown/MdxPage.d.ts +1 -1
  128. package/dist/lib/plugins/markdown/MdxPage.js +3 -3
  129. package/dist/lib/plugins/markdown/MdxPage.js.map +1 -1
  130. package/dist/lib/plugins/markdown/index.d.ts +3 -1
  131. package/dist/lib/plugins/markdown/index.js.map +1 -1
  132. package/dist/lib/plugins/markdown/resolver.js.map +1 -1
  133. package/dist/lib/plugins/openapi/OperationList.js +24 -3
  134. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  135. package/dist/lib/plugins/openapi/OperationListItem.d.ts +2 -1
  136. package/dist/lib/plugins/openapi/OperationListItem.js +14 -4
  137. package/dist/lib/plugins/openapi/OperationListItem.js.map +1 -1
  138. package/dist/lib/plugins/openapi/Route.d.ts +4 -2
  139. package/dist/lib/plugins/openapi/Route.js +25 -2
  140. package/dist/lib/plugins/openapi/Route.js.map +1 -1
  141. package/dist/lib/plugins/openapi/Sidecar.js +3 -13
  142. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  143. package/dist/lib/plugins/openapi/context.d.ts +3 -3
  144. package/dist/lib/plugins/openapi/graphql/gql.d.ts +1 -1
  145. package/dist/lib/plugins/openapi/graphql/gql.js +1 -1
  146. package/dist/lib/plugins/openapi/graphql/gql.js.map +1 -1
  147. package/dist/lib/plugins/openapi/graphql/graphql.d.ts +2 -0
  148. package/dist/lib/plugins/openapi/graphql/graphql.js +1 -0
  149. package/dist/lib/plugins/openapi/graphql/graphql.js.map +1 -1
  150. package/dist/lib/plugins/openapi/index.js +13 -13
  151. package/dist/lib/plugins/openapi/index.js.map +1 -1
  152. package/dist/lib/plugins/openapi/interfaces.d.ts +19 -0
  153. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  154. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  155. package/dist/lib/plugins/openapi/util/methodToColor.d.ts +20 -0
  156. package/dist/lib/plugins/openapi/util/methodToColor.js +24 -0
  157. package/dist/lib/plugins/openapi/util/methodToColor.js.map +1 -0
  158. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.d.ts +1 -0
  159. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js +27 -0
  160. package/dist/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.js.map +1 -0
  161. package/dist/lib/plugins/redirect/index.d.ts +1 -1
  162. package/dist/lib/plugins/redirect/index.js +1 -1
  163. package/dist/lib/plugins/redirect/index.js.map +1 -1
  164. package/dist/lib/plugins/search-inkeep/index.d.ts +22 -3
  165. package/dist/lib/plugins/search-inkeep/index.js +41 -5
  166. package/dist/lib/plugins/search-inkeep/index.js.map +1 -1
  167. package/dist/lib/plugins/search-inkeep/inkeep.d.ts +3 -4
  168. package/dist/lib/plugins/search-inkeep/inkeep.js.map +1 -1
  169. package/dist/lib/ui/Button.d.ts +1 -1
  170. package/dist/lib/ui/Command.d.ts +1 -1
  171. package/dist/lib/util/MdxComponents.d.ts +18 -19
  172. package/dist/lib/util/MdxComponents.js +1 -3
  173. package/dist/lib/util/MdxComponents.js.map +1 -1
  174. package/dist/lib/util/createVariantComponent.d.ts +2 -2
  175. package/dist/lib/util/useExposedProps.js +1 -1
  176. package/dist/lib/util/useExposedProps.js.map +1 -1
  177. package/dist/lib/util/useOnScreen.d.ts +1 -1
  178. package/dist/lib/util/useScrollToAnchor.js +1 -1
  179. package/dist/lib/util/useScrollToAnchor.js.map +1 -1
  180. package/dist/lib/util/useScrollToTop.js +1 -1
  181. package/dist/lib/util/useScrollToTop.js.map +1 -1
  182. package/dist/vite/build.js +15 -3
  183. package/dist/vite/build.js.map +1 -1
  184. package/dist/vite/config.d.ts +6 -4
  185. package/dist/vite/config.js +59 -24
  186. package/dist/vite/config.js.map +1 -1
  187. package/dist/vite/config.test.js +4 -1
  188. package/dist/vite/config.test.js.map +1 -1
  189. package/dist/vite/css/collect.d.ts +2 -0
  190. package/dist/vite/css/collect.js +27 -0
  191. package/dist/vite/css/collect.js.map +1 -0
  192. package/dist/vite/css/plugin.d.ts +5 -0
  193. package/dist/vite/css/plugin.js +79 -0
  194. package/dist/vite/css/plugin.js.map +1 -0
  195. package/dist/vite/dev-server.js +19 -6
  196. package/dist/vite/dev-server.js.map +1 -1
  197. package/dist/vite/output.d.ts +1 -1
  198. package/dist/vite/output.js +25 -16
  199. package/dist/vite/output.js.map +1 -1
  200. package/dist/vite/plugin-api.js +79 -10
  201. package/dist/vite/plugin-api.js.map +1 -1
  202. package/dist/vite/plugin-component.js +1 -0
  203. package/dist/vite/plugin-component.js.map +1 -1
  204. package/dist/vite/plugin-config-reload.d.ts +1 -2
  205. package/dist/vite/plugin-config-reload.js.map +1 -1
  206. package/dist/vite/plugin-config.js +20 -0
  207. package/dist/vite/plugin-config.js.map +1 -1
  208. package/dist/vite/plugin-mdx.js +50 -1
  209. package/dist/vite/plugin-mdx.js.map +1 -1
  210. package/dist/vite/{plugin-custom-css.d.ts → plugin-theme-css.d.ts} +2 -2
  211. package/dist/vite/{plugin-custom-css.js → plugin-theme-css.js} +10 -3
  212. package/dist/vite/plugin-theme-css.js.map +1 -0
  213. package/dist/vite/plugin.d.ts +1 -2
  214. package/dist/vite/plugin.js +6 -2
  215. package/dist/vite/plugin.js.map +1 -1
  216. package/dist/vite/prerender.d.ts +2 -1
  217. package/dist/vite/prerender.js +2 -2
  218. package/dist/vite/prerender.js.map +1 -1
  219. package/dist/vite/sitemap.d.ts +1 -1
  220. package/dist/zuplo/env.d.ts +6 -0
  221. package/dist/zuplo/env.js +9 -0
  222. package/dist/zuplo/env.js.map +1 -0
  223. package/dist/zuplo/with-zuplo.d.ts +2 -2
  224. package/dist/zuplo/with-zuplo.js.map +1 -1
  225. package/lib/AnchorLink-DFZZbmvr.js +34 -0
  226. package/lib/AnchorLink-DFZZbmvr.js.map +1 -0
  227. package/lib/{AuthenticationPlugin-D0Em0SwR.js → AuthenticationPlugin-fB7viE7A.js} +15 -16
  228. package/lib/AuthenticationPlugin-fB7viE7A.js.map +1 -0
  229. package/lib/{Button-jK0EsymC.js → Button-DeAoTouo.js} +4 -4
  230. package/lib/{Button-jK0EsymC.js.map → Button-DeAoTouo.js.map} +1 -1
  231. package/lib/{CategoryHeading-Bb9dqxD3.js → CategoryHeading-CBconmtI.js} +3 -3
  232. package/lib/{CategoryHeading-Bb9dqxD3.js.map → CategoryHeading-CBconmtI.js.map} +1 -1
  233. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  234. package/lib/{Dialog-k70Qfukb.js → Dialog-Bxv1yEIg.js} +3 -3
  235. package/lib/{Dialog-k70Qfukb.js.map → Dialog-Bxv1yEIg.js.map} +1 -1
  236. package/lib/{Markdown-ievDDhFT.js → Markdown-CZDLNOFc.js} +13227 -13217
  237. package/lib/Markdown-CZDLNOFc.js.map +1 -0
  238. package/lib/{MdxPage-B2FpJ9KC.js → MdxPage-CPBw4_lf.js} +82 -77
  239. package/lib/MdxPage-CPBw4_lf.js.map +1 -0
  240. package/lib/OperationList-n4U_BHmO.js +5062 -0
  241. package/lib/OperationList-n4U_BHmO.js.map +1 -0
  242. package/lib/Route-C8nwd9A2.js +37 -0
  243. package/lib/Route-C8nwd9A2.js.map +1 -0
  244. package/lib/{Select-O9ZM3ZgX.js → Select-D3XuKKuH.js} +5 -5
  245. package/lib/{Select-O9ZM3ZgX.js.map → Select-D3XuKKuH.js.map} +1 -1
  246. package/lib/SlotletProvider-pfc9oejW.js +221 -0
  247. package/lib/SlotletProvider-pfc9oejW.js.map +1 -0
  248. package/lib/{Spinner-3cQDBVGr.js → Spinner-DuxJLLNE.js} +2 -2
  249. package/lib/{Spinner-3cQDBVGr.js.map → Spinner-DuxJLLNE.js.map} +1 -1
  250. package/lib/StaggeredRender-DgsamH_G.js +17 -0
  251. package/lib/StaggeredRender-DgsamH_G.js.map +1 -0
  252. package/lib/{SyntaxHighlight-DkLOsjHS.js → SyntaxHighlight-Bz-lOJtH.js} +8 -12
  253. package/lib/{SyntaxHighlight-DkLOsjHS.js.map → SyntaxHighlight-Bz-lOJtH.js.map} +1 -1
  254. package/lib/assets/{index-B_Jk_Yzp.js → index-C7jnHK4b.js} +218 -197
  255. package/lib/assets/index-C7jnHK4b.js.map +1 -0
  256. package/lib/assets/{worker-BHClFO3A.js → worker-D2kRl-cG.js} +5285 -4904
  257. package/lib/assets/worker-D2kRl-cG.js.map +1 -0
  258. package/lib/chunk-D52XG6IA-Dl7HLe6j.js +1823 -0
  259. package/lib/chunk-D52XG6IA-Dl7HLe6j.js.map +1 -0
  260. package/lib/{cn-BmFQLtkS.js → cn-qaFjX9_3.js} +2 -2
  261. package/lib/cn-qaFjX9_3.js.map +1 -0
  262. package/lib/{context-D1nXWxm7.js → context-h_UkBLvr.js} +2 -2
  263. package/lib/context-h_UkBLvr.js.map +1 -0
  264. package/lib/{createServer-CpJlUPtn.js → createServer-69sLlmQA.js} +4820 -4440
  265. package/lib/createServer-69sLlmQA.js.map +1 -0
  266. package/lib/{hook-hEqe7fPB.js → hook-DgGeo5iL.js} +3 -3
  267. package/lib/{hook-hEqe7fPB.js.map → hook-DgGeo5iL.js.map} +1 -1
  268. package/lib/{index-CkwDvuPt.js → index-CBXSgjaE.js} +259 -238
  269. package/lib/index-CBXSgjaE.js.map +1 -0
  270. package/lib/index-CPNSgwSb.js +36 -0
  271. package/lib/index-CPNSgwSb.js.map +1 -0
  272. package/lib/index-DStSNvP-.js +1284 -0
  273. package/lib/index-DStSNvP-.js.map +1 -0
  274. package/lib/index-LNp6rxyU.js.map +1 -1
  275. package/lib/index.esm-BSV1C092.js +692 -0
  276. package/lib/index.esm-BSV1C092.js.map +1 -0
  277. package/lib/index.esm-BnnBRKJX.js +1214 -0
  278. package/lib/index.esm-BnnBRKJX.js.map +1 -0
  279. package/lib/invariant-Caa8-XvF.js.map +1 -1
  280. package/lib/jsx-runtime-Dx-03ztt.js +446 -0
  281. package/lib/jsx-runtime-Dx-03ztt.js.map +1 -0
  282. package/lib/object_hash-BNWPnMN9.js +787 -0
  283. package/lib/object_hash-BNWPnMN9.js.map +1 -0
  284. package/lib/post-processors/removeExtensions.js.map +1 -1
  285. package/lib/post-processors/removePaths.js.map +1 -1
  286. package/lib/post-processors/traverse.js.map +1 -1
  287. package/lib/prism-csharp.min-DUwvItt4.js +63 -0
  288. package/lib/{prism-csharp.min-Yizuc34Y.js.map → prism-csharp.min-DUwvItt4.js.map} +1 -1
  289. package/lib/prism-java.min-BtgBR4yd.js +35 -0
  290. package/lib/{prism-java.min-d5iT_mOd.js.map → prism-java.min-BtgBR4yd.js.map} +1 -1
  291. package/lib/prism-markup-BNGj0Tvm.js.map +1 -1
  292. package/lib/prism-ruby.min-DeDXCp1r.js +38 -0
  293. package/lib/{prism-ruby.min-C7LwcKyz.js.map → prism-ruby.min-DeDXCp1r.js.map} +1 -1
  294. package/lib/prism-typescript.min-CD7H2IYQ.js +34 -0
  295. package/lib/{prism-typescript.min-oSVeWCAd.js.map → prism-typescript.min-CD7H2IYQ.js.map} +1 -1
  296. package/lib/state-CFQsUZUP.js +202 -0
  297. package/lib/state-CFQsUZUP.js.map +1 -0
  298. package/lib/ui/Accordion.js +2 -2
  299. package/lib/ui/Accordion.js.map +1 -1
  300. package/lib/ui/ActionButton.js +4 -4
  301. package/lib/ui/ActionButton.js.map +1 -1
  302. package/lib/ui/Alert.js +3 -3
  303. package/lib/ui/Alert.js.map +1 -1
  304. package/lib/ui/AlertDialog.js +2 -2
  305. package/lib/ui/AlertDialog.js.map +1 -1
  306. package/lib/ui/Badge.js +3 -3
  307. package/lib/ui/Badge.js.map +1 -1
  308. package/lib/ui/Breadcrumb.js +2 -2
  309. package/lib/ui/Breadcrumb.js.map +1 -1
  310. package/lib/ui/Button.js +3 -3
  311. package/lib/ui/Button.js.map +1 -1
  312. package/lib/ui/Callout.js +2 -2
  313. package/lib/ui/Callout.js.map +1 -1
  314. package/lib/ui/Card.js +2 -2
  315. package/lib/ui/Card.js.map +1 -1
  316. package/lib/ui/Carousel.js +407 -401
  317. package/lib/ui/Carousel.js.map +1 -1
  318. package/lib/ui/Checkbox.js +2 -2
  319. package/lib/ui/Checkbox.js.map +1 -1
  320. package/lib/ui/Command.js +111 -108
  321. package/lib/ui/Command.js.map +1 -1
  322. package/lib/ui/Dialog.js +2 -2
  323. package/lib/ui/Dialog.js.map +1 -1
  324. package/lib/ui/Drawer.js +81 -81
  325. package/lib/ui/Drawer.js.map +1 -1
  326. package/lib/ui/DropdownMenu.js +2 -2
  327. package/lib/ui/DropdownMenu.js.map +1 -1
  328. package/lib/ui/Form.js +3 -3
  329. package/lib/ui/Form.js.map +1 -1
  330. package/lib/ui/HoverCard.js +2 -2
  331. package/lib/ui/Input.js +2 -2
  332. package/lib/ui/Input.js.map +1 -1
  333. package/lib/ui/Label.js +3 -3
  334. package/lib/ui/Pagination.js +2 -2
  335. package/lib/ui/Pagination.js.map +1 -1
  336. package/lib/ui/Popover.js +2 -2
  337. package/lib/ui/Popover.js.map +1 -1
  338. package/lib/ui/Progress.js +2 -2
  339. package/lib/ui/Progress.js.map +1 -1
  340. package/lib/ui/RadioGroup.js +2 -2
  341. package/lib/ui/RadioGroup.js.map +1 -1
  342. package/lib/ui/ScrollArea.js +2 -2
  343. package/lib/ui/ScrollArea.js.map +1 -1
  344. package/lib/ui/Select.js +2 -2
  345. package/lib/ui/Select.js.map +1 -1
  346. package/lib/ui/Skeleton.js +2 -2
  347. package/lib/ui/Skeleton.js.map +1 -1
  348. package/lib/ui/Slider.js +2 -2
  349. package/lib/ui/Switch.js +2 -2
  350. package/lib/ui/Switch.js.map +1 -1
  351. package/lib/ui/Tabs.js +2 -2
  352. package/lib/ui/Textarea.js +2 -2
  353. package/lib/ui/Textarea.js.map +1 -1
  354. package/lib/ui/Toggle.js +3 -3
  355. package/lib/ui/Toggle.js.map +1 -1
  356. package/lib/ui/ToggleGroup.js +2 -2
  357. package/lib/ui/ToggleGroup.js.map +1 -1
  358. package/lib/ui/Tooltip.js +2 -2
  359. package/lib/useExposedProps-DE9lR6MF.js +9 -0
  360. package/lib/useExposedProps-DE9lR6MF.js.map +1 -0
  361. package/lib/{utils-DcpDOncX.js → utils-B4O1uet5.js} +35 -36
  362. package/lib/{utils-DcpDOncX.js.map → utils-B4O1uet5.js.map} +1 -1
  363. package/lib/zudoku.auth-auth0.js +1 -1
  364. package/lib/zudoku.auth-auth0.js.map +1 -1
  365. package/lib/zudoku.auth-clerk.js +2 -2
  366. package/lib/zudoku.auth-clerk.js.map +1 -1
  367. package/lib/zudoku.auth-openid.js +382 -374
  368. package/lib/zudoku.auth-openid.js.map +1 -1
  369. package/lib/zudoku.components.js +773 -992
  370. package/lib/zudoku.components.js.map +1 -1
  371. package/lib/zudoku.openapi-worker.js +1 -1
  372. package/lib/zudoku.openapi-worker.js.map +1 -1
  373. package/lib/zudoku.plugin-api-catalog.js +123 -0
  374. package/lib/zudoku.plugin-api-catalog.js.map +1 -0
  375. package/lib/zudoku.plugin-api-keys.js +15 -16
  376. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  377. package/lib/zudoku.plugin-custom-pages.js +4 -4
  378. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  379. package/lib/zudoku.plugin-markdown.js +2 -2
  380. package/lib/zudoku.plugin-markdown.js.map +1 -1
  381. package/lib/zudoku.plugin-openapi.js +5 -5
  382. package/lib/zudoku.plugin-redirect.js +1 -1
  383. package/lib/zudoku.plugin-redirect.js.map +1 -1
  384. package/lib/zudoku.plugin-search-inkeep.js +53 -24
  385. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  386. package/package.json +59 -47
  387. package/src/app/demo.tsx +1 -1
  388. package/src/app/entry.client.tsx +16 -15
  389. package/src/app/entry.server.tsx +3 -2
  390. package/src/app/main.tsx +6 -2
  391. package/src/app/sentry.ts +24 -0
  392. package/src/app/standalone.tsx +1 -1
  393. package/src/app/tailwind.ts +67 -52
  394. package/src/lib/authentication/components/CallbackHandler.tsx +1 -1
  395. package/src/lib/authentication/components/SignIn.tsx +1 -1
  396. package/src/lib/authentication/components/SignOut.tsx +1 -1
  397. package/src/lib/authentication/providers/openid.tsx +12 -5
  398. package/src/lib/components/AnchorLink.tsx +1 -1
  399. package/src/lib/components/Bootstrap.tsx +4 -6
  400. package/src/lib/components/Header.tsx +2 -2
  401. package/src/lib/components/Heading.tsx +13 -13
  402. package/src/lib/components/Layout.tsx +10 -5
  403. package/src/lib/components/Markdown.tsx +1 -1
  404. package/src/lib/components/MobileTopNavigation.tsx +18 -18
  405. package/src/lib/components/NotFoundPage.tsx +1 -1
  406. package/src/lib/components/ReactMarkdown.license.txt +21 -0
  407. package/src/lib/components/ReactMarkdown.tsx +264 -0
  408. package/src/lib/components/Search.tsx +3 -3
  409. package/src/lib/components/SlotletProvider.tsx +1 -1
  410. package/src/lib/components/SyntaxHighlight.tsx +0 -4
  411. package/src/lib/components/TopNavigation.tsx +2 -2
  412. package/src/lib/components/Zudoku.tsx +1 -1
  413. package/src/lib/components/context/ZudokuContext.ts +1 -1
  414. package/src/lib/components/index.ts +1 -1
  415. package/src/lib/components/navigation/Sidebar.tsx +18 -8
  416. package/src/lib/components/navigation/SidebarBadge.tsx +0 -10
  417. package/src/lib/components/navigation/SidebarCategory.tsx +11 -10
  418. package/src/lib/components/navigation/SidebarItem.tsx +11 -14
  419. package/src/lib/components/navigation/SidebarWrapper.tsx +1 -1
  420. package/src/lib/components/navigation/utils.ts +1 -1
  421. package/src/lib/core/ZudokuContext.ts +1 -1
  422. package/src/lib/core/plugins.ts +3 -7
  423. package/src/lib/errors/RouterError.tsx +1 -1
  424. package/src/lib/oas/graphql/index.ts +4 -1
  425. package/src/lib/plugins/api-catalog/Catalog.tsx +123 -0
  426. package/src/lib/plugins/api-catalog/index.tsx +64 -0
  427. package/src/lib/plugins/api-keys/CreateApiKey.tsx +1 -1
  428. package/src/lib/plugins/api-keys/ProtectedRoute.tsx +1 -1
  429. package/src/lib/plugins/api-keys/SettingsApiKeys.tsx +1 -1
  430. package/src/lib/plugins/api-keys/index.tsx +1 -1
  431. package/src/lib/plugins/custom-pages/index.tsx +1 -1
  432. package/src/lib/plugins/markdown/MdxPage.tsx +3 -1
  433. package/src/lib/plugins/markdown/index.tsx +4 -2
  434. package/src/lib/plugins/markdown/resolver.ts +2 -4
  435. package/src/lib/plugins/openapi/OperationList.tsx +64 -8
  436. package/src/lib/plugins/openapi/OperationListItem.tsx +31 -2
  437. package/src/lib/plugins/openapi/Route.tsx +45 -9
  438. package/src/lib/plugins/openapi/Sidecar.tsx +3 -17
  439. package/src/lib/plugins/openapi/context.tsx +2 -2
  440. package/src/lib/plugins/openapi/graphql/gql.ts +2 -2
  441. package/src/lib/plugins/openapi/graphql/graphql.ts +3 -0
  442. package/src/lib/plugins/openapi/index.tsx +35 -28
  443. package/src/lib/plugins/openapi/interfaces.ts +22 -1
  444. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -0
  445. package/src/lib/plugins/openapi/util/methodToColor.ts +27 -0
  446. package/src/lib/plugins/openapi/util/sanitizeMarkdownForMetatag.tsx +32 -0
  447. package/src/lib/plugins/redirect/index.tsx +2 -2
  448. package/src/lib/plugins/search-inkeep/index.tsx +78 -23
  449. package/src/lib/plugins/search-inkeep/inkeep.ts +3 -9
  450. package/src/lib/util/MdxComponents.tsx +3 -8
  451. package/src/lib/util/createVariantComponent.tsx +2 -2
  452. package/src/lib/util/useExposedProps.tsx +1 -1
  453. package/src/lib/util/useScrollToAnchor.ts +1 -1
  454. package/src/lib/util/useScrollToTop.ts +1 -1
  455. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.d.ts +0 -2
  456. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js +0 -3
  457. package/dist/lib/plugins/search-inkeep/InkeepCustomTrigger.js.map +0 -1
  458. package/dist/vite/plugin-custom-css.js.map +0 -1
  459. package/lib/AnchorLink-CDlhr8gL.js +0 -706
  460. package/lib/AnchorLink-CDlhr8gL.js.map +0 -1
  461. package/lib/AuthenticationPlugin-D0Em0SwR.js.map +0 -1
  462. package/lib/InkeepCustomTrigger-CE5-K5ex.js +0 -6
  463. package/lib/InkeepCustomTrigger-CE5-K5ex.js.map +0 -1
  464. package/lib/Markdown-ievDDhFT.js.map +0 -1
  465. package/lib/MdxPage-B2FpJ9KC.js.map +0 -1
  466. package/lib/OperationList-BkNQEsNs.js +0 -4693
  467. package/lib/OperationList-BkNQEsNs.js.map +0 -1
  468. package/lib/Route-DlG_HTMu.js +0 -11
  469. package/lib/Route-DlG_HTMu.js.map +0 -1
  470. package/lib/SidebarBadge-DxFJcJ6V.js +0 -51
  471. package/lib/SidebarBadge-DxFJcJ6V.js.map +0 -1
  472. package/lib/SlotletProvider-DyomlzGx.js +0 -252
  473. package/lib/SlotletProvider-DyomlzGx.js.map +0 -1
  474. package/lib/assets/index-B_Jk_Yzp.js.map +0 -1
  475. package/lib/assets/worker-BHClFO3A.js.map +0 -1
  476. package/lib/cn-BmFQLtkS.js.map +0 -1
  477. package/lib/context-D1nXWxm7.js.map +0 -1
  478. package/lib/createServer-CpJlUPtn.js.map +0 -1
  479. package/lib/index-BuAyrJe3.js +0 -46
  480. package/lib/index-BuAyrJe3.js.map +0 -1
  481. package/lib/index-C7SaIME0.js +0 -1277
  482. package/lib/index-C7SaIME0.js.map +0 -1
  483. package/lib/index-CkwDvuPt.js.map +0 -1
  484. package/lib/index-Czzd9rjU.js +0 -899
  485. package/lib/index-Czzd9rjU.js.map +0 -1
  486. package/lib/index-Yn8c3UWE.js +0 -921
  487. package/lib/index-Yn8c3UWE.js.map +0 -1
  488. package/lib/index.esm-C5mr_sKO.js +0 -1193
  489. package/lib/index.esm-C5mr_sKO.js.map +0 -1
  490. package/lib/jsx-runtime-B6kdoens.js +0 -635
  491. package/lib/jsx-runtime-B6kdoens.js.map +0 -1
  492. package/lib/object_hash-CvlLgU-M.js +0 -785
  493. package/lib/object_hash-CvlLgU-M.js.map +0 -1
  494. package/lib/prism-csharp.min-Yizuc34Y.js +0 -35
  495. package/lib/prism-java.min-d5iT_mOd.js +0 -7
  496. package/lib/prism-markup-templating-DZrrEs0A.js +0 -62
  497. package/lib/prism-markup-templating-DZrrEs0A.js.map +0 -1
  498. package/lib/prism-php.min-o7FpoMP_.js +0 -11
  499. package/lib/prism-php.min-o7FpoMP_.js.map +0 -1
  500. package/lib/prism-ruby.min-C7LwcKyz.js +0 -10
  501. package/lib/prism-typescript.min-oSVeWCAd.js +0 -6
  502. package/lib/router-lfyopgBI.js +0 -3024
  503. package/lib/router-lfyopgBI.js.map +0 -1
  504. package/lib/state-tsXBLONe.js +0 -203
  505. package/lib/state-tsXBLONe.js.map +0 -1
  506. package/lib/useExposedProps-CTPtylCV.js +0 -10
  507. package/lib/useExposedProps-CTPtylCV.js.map +0 -1
  508. package/src/lib/plugins/search-inkeep/InkeepCustomTrigger.tsx +0 -3
package/lib/ui/Command.js CHANGED
@@ -1,27 +1,27 @@
1
- import { j as A } from "../jsx-runtime-B6kdoens.js";
1
+ import { j as A } from "../jsx-runtime-Dx-03ztt.js";
2
2
  import * as Q from "@radix-ui/react-dialog";
3
3
  import * as a from "react";
4
- import we from "react";
4
+ import _e from "react";
5
5
  import { Primitive as j } from "@radix-ui/react-primitive";
6
6
  import { useId as F } from "@radix-ui/react-id";
7
- import { Search as Le } from "lucide-react";
8
- import { D as De, a as je } from "../Dialog-k70Qfukb.js";
9
- import { c as U } from "../cn-BmFQLtkS.js";
10
- var Se = 1, Me = 0.9, Ve = 0.8, $e = 0.17, ne = 0.1, ae = 0.999, Te = 0.9999, Ke = 0.99, Ue = /[\\\/_+.#"@\[\(\{&]/, Ge = /[\\\/_+.#"@\[\(\{&]/g, qe = /[\s-]/, _e = /[\s-]/g;
11
- function ie(e, n, t, f, l, i, s) {
12
- if (i === n.length) return l === e.length ? Se : Ke;
7
+ import { Search as De } from "lucide-react";
8
+ import { D as je, a as Me } from "../Dialog-Bxv1yEIg.js";
9
+ import { c as q } from "../cn-qaFjX9_3.js";
10
+ var Se = 1, Ve = 0.9, $e = 0.8, Te = 0.17, ae = 0.1, le = 0.999, Ke = 0.9999, qe = 0.99, Ue = /[\\\/_+.#"@\[\(\{&]/, Ge = /[\\\/_+.#"@\[\(\{&]/g, Fe = /[\s-]/, ke = /[\s-]/g;
11
+ function ce(e, n, t, f, l, i, s) {
12
+ if (i === n.length) return l === e.length ? Se : qe;
13
13
  var v = `${l},${i}`;
14
14
  if (s[v] !== void 0) return s[v];
15
- for (var g = f.charAt(i), m = t.indexOf(g, l), c = 0, u, S, E, R; m >= 0; ) u = ie(e, n, t, f, m + 1, i + 1, s), u > c && (m === l ? u *= Se : Ue.test(e.charAt(m - 1)) ? (u *= Ve, E = e.slice(l, m - 1).match(Ge), E && l > 0 && (u *= Math.pow(ae, E.length))) : qe.test(e.charAt(m - 1)) ? (u *= Me, R = e.slice(l, m - 1).match(_e), R && l > 0 && (u *= Math.pow(ae, R.length))) : (u *= $e, l > 0 && (u *= Math.pow(ae, m - l))), e.charAt(m) !== n.charAt(i) && (u *= Te)), (u < ne && t.charAt(m - 1) === f.charAt(i + 1) || f.charAt(i + 1) === f.charAt(i) && t.charAt(m - 1) !== f.charAt(i)) && (S = ie(e, n, t, f, m + 1, i + 2, s), S * ne > u && (u = S * ne)), u > c && (c = u), m = t.indexOf(g, m + 1);
15
+ for (var g = f.charAt(i), m = t.indexOf(g, l), c = 0, u, S, E, R; m >= 0; ) u = ce(e, n, t, f, m + 1, i + 1, s), u > c && (m === l ? u *= Se : Ue.test(e.charAt(m - 1)) ? (u *= $e, E = e.slice(l, m - 1).match(Ge), E && l > 0 && (u *= Math.pow(le, E.length))) : Fe.test(e.charAt(m - 1)) ? (u *= Ve, R = e.slice(l, m - 1).match(ke), R && l > 0 && (u *= Math.pow(le, R.length))) : (u *= Te, l > 0 && (u *= Math.pow(le, m - l))), e.charAt(m) !== n.charAt(i) && (u *= Ke)), (u < ae && t.charAt(m - 1) === f.charAt(i + 1) || f.charAt(i + 1) === f.charAt(i) && t.charAt(m - 1) !== f.charAt(i)) && (S = ce(e, n, t, f, m + 1, i + 2, s), S * ae > u && (u = S * ae)), u > c && (c = u), m = t.indexOf(g, m + 1);
16
16
  return s[v] = c, c;
17
17
  }
18
18
  function ye(e) {
19
- return e.toLowerCase().replace(_e, " ");
19
+ return e.toLowerCase().replace(ke, " ");
20
20
  }
21
- function Fe(e, n, t) {
22
- return e = t && t.length > 0 ? `${e + " " + t.join(" ")}` : e, ie(e, n, ye(e), ye(n), 0, 0, {});
21
+ function Pe(e, n, t) {
22
+ return e = t && t.length > 0 ? `${e + " " + t.join(" ")}` : e, ce(e, n, ye(e), ye(n), 0, 0, {});
23
23
  }
24
- var ce = { exports: {} }, le = {};
24
+ var Z = { exports: {} }, oe = {};
25
25
  /**
26
26
  * @license React
27
27
  * use-sync-external-store-shim.production.min.js
@@ -32,10 +32,10 @@ var ce = { exports: {} }, le = {};
32
32
  * LICENSE file in the root directory of this source tree.
33
33
  */
34
34
  var Ee;
35
- function Pe() {
36
- if (Ee) return le;
35
+ function Be() {
36
+ if (Ee) return oe;
37
37
  Ee = 1;
38
- var e = we;
38
+ var e = _e;
39
39
  function n(u, S) {
40
40
  return u === S && (u !== 0 || 1 / u === 1 / S) || u !== u && S !== S;
41
41
  }
@@ -64,9 +64,9 @@ function Pe() {
64
64
  return S();
65
65
  }
66
66
  var c = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? m : v;
67
- return le.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, le;
67
+ return oe.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : c, oe;
68
68
  }
69
- var oe = {};
69
+ var ue = {};
70
70
  /**
71
71
  * @license React
72
72
  * use-sync-external-store-shim.development.js
@@ -77,10 +77,10 @@ var oe = {};
77
77
  * LICENSE file in the root directory of this source tree.
78
78
  */
79
79
  var xe;
80
- function Be() {
80
+ function He() {
81
81
  return xe || (xe = 1, process.env.NODE_ENV !== "production" && function() {
82
82
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
83
- var e = we, n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
83
+ var e = _e, n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
84
84
  function t(w) {
85
85
  {
86
86
  for (var x = arguments.length, k = new Array(x > 1 ? x - 1 : 0), p = 1; p < x; p++)
@@ -143,16 +143,19 @@ function Be() {
143
143
  function R(w, x, k) {
144
144
  return x();
145
145
  }
146
- var C = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", I = !C, G = I ? R : S, J = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : G;
147
- oe.useSyncExternalStore = J, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
148
- }()), oe;
146
+ var C = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", I = !C, U = I ? R : S, J = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : U;
147
+ ue.useSyncExternalStore = J, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
148
+ }()), ue;
149
+ }
150
+ var be;
151
+ function We() {
152
+ return be || (be = 1, process.env.NODE_ENV === "production" ? Z.exports = Be() : Z.exports = He()), Z.exports;
149
153
  }
150
- process.env.NODE_ENV === "production" ? ce.exports = Pe() : ce.exports = Be();
151
- var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '[cmdk-group-heading=""]', se = '[cmdk-item=""]', be = `${se}:not([aria-disabled="true"])`, de = "cmdk-item-select", $ = "data-value", ze = (e, n, t) => Fe(e, n, t), ke = a.createContext(void 0), Y = () => a.useContext(ke), Re = a.createContext(void 0), fe = () => a.useContext(Re), Ce = a.createContext(void 0), Oe = a.forwardRef((e, n) => {
152
- let t = q(() => {
154
+ var ze = We(), W = '[cmdk-group=""]', ie = '[cmdk-group-items=""]', Ye = '[cmdk-group-heading=""]', se = '[cmdk-item=""]', we = `${se}:not([aria-disabled="true"])`, de = "cmdk-item-select", $ = "data-value", Je = (e, n, t) => Pe(e, n, t), Re = a.createContext(void 0), Y = () => a.useContext(Re), Ce = a.createContext(void 0), fe = () => a.useContext(Ce), Oe = a.createContext(void 0), Ie = a.forwardRef((e, n) => {
155
+ let t = G(() => {
153
156
  var r, d;
154
157
  return { search: "", value: (d = (r = e.value) != null ? r : e.defaultValue) != null ? d : "", filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
155
- }), f = q(() => /* @__PURE__ */ new Set()), l = q(() => /* @__PURE__ */ new Map()), i = q(() => /* @__PURE__ */ new Map()), s = q(() => /* @__PURE__ */ new Set()), v = Ie(e), { label: g, children: m, value: c, onValueChange: u, filter: S, shouldFilter: E, loop: R, disablePointerSelection: C = !1, vimBindings: I = !0, ...G } = e, J = F(), w = F(), x = F(), k = a.useRef(null), p = lt();
158
+ }), f = G(() => /* @__PURE__ */ new Set()), l = G(() => /* @__PURE__ */ new Map()), i = G(() => /* @__PURE__ */ new Map()), s = G(() => /* @__PURE__ */ new Set()), v = Ne(e), { label: g, children: m, value: c, onValueChange: u, filter: S, shouldFilter: E, loop: R, disablePointerSelection: C = !1, vimBindings: I = !0, ...U } = e, J = F(), w = F(), x = F(), k = a.useRef(null), p = ut();
156
159
  T(() => {
157
160
  if (c !== void 0) {
158
161
  let r = c.trim();
@@ -164,7 +167,7 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
164
167
  let _ = a.useMemo(() => ({ subscribe: (r) => (s.current.add(r), () => s.current.delete(r)), snapshot: () => t.current, setState: (r, d, h) => {
165
168
  var o, y, b;
166
169
  if (!Object.is(t.current[r], d)) {
167
- if (t.current[r] = d, r === "search") ee(), M(), p(1, P);
170
+ if (t.current[r] = d, r === "search") te(), M(), p(1, P);
168
171
  else if (r === "value" && (h || p(5, me), ((o = v.current) == null ? void 0 : o.value) !== void 0)) {
169
172
  let L = d ?? "";
170
173
  (b = (y = v.current).onValueChange) == null || b.call(y, L);
@@ -180,19 +183,19 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
180
183
  M(), _.emit();
181
184
  }));
182
185
  }, item: (r, d) => (f.current.add(r), d && (l.current.has(d) ? l.current.get(d).add(r) : l.current.set(d, /* @__PURE__ */ new Set([r]))), p(3, () => {
183
- ee(), M(), t.current.value || P(), _.emit();
186
+ te(), M(), t.current.value || P(), _.emit();
184
187
  }), () => {
185
188
  i.current.delete(r), f.current.delete(r), t.current.filtered.items.delete(r);
186
189
  let h = B();
187
190
  p(4, () => {
188
- ee(), (h == null ? void 0 : h.getAttribute("id")) === r && P(), _.emit();
191
+ te(), (h == null ? void 0 : h.getAttribute("id")) === r && P(), _.emit();
189
192
  });
190
193
  }), group: (r) => (l.current.has(r) || l.current.set(r, /* @__PURE__ */ new Set()), () => {
191
194
  i.current.delete(r), l.current.delete(r);
192
195
  }), filter: () => v.current.shouldFilter, label: g || e["aria-label"], getDisablePointerSelection: () => v.current.disablePointerSelection, listId: J, inputId: x, labelId: w, listInnerRef: k }), []);
193
196
  function N(r, d) {
194
197
  var h, o;
195
- let y = (o = (h = v.current) == null ? void 0 : h.filter) != null ? o : ze;
198
+ let y = (o = (h = v.current) == null ? void 0 : h.filter) != null ? o : Je;
196
199
  return r ? y(r, t.current.search, d) : 0;
197
200
  }
198
201
  function M() {
@@ -211,8 +214,8 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
211
214
  let V = o.getAttribute("id"), X = y.getAttribute("id");
212
215
  return ((b = r.get(X)) != null ? b : 0) - ((L = r.get(V)) != null ? L : 0);
213
216
  }).forEach((o) => {
214
- let y = o.closest(ue);
215
- y ? y.appendChild(o.parentElement === y ? o : o.closest(`${ue} > *`)) : h.appendChild(o.parentElement === h ? o : o.closest(`${ue} > *`));
217
+ let y = o.closest(ie);
218
+ y ? y.appendChild(o.parentElement === y ? o : o.closest(`${ie} > *`)) : h.appendChild(o.parentElement === h ? o : o.closest(`${ie} > *`));
216
219
  }), d.sort((o, y) => y[1] - o[1]).forEach((o) => {
217
220
  var y;
218
221
  let b = (y = k.current) == null ? void 0 : y.querySelector(`${W}[${$}="${encodeURIComponent(o[0])}"]`);
@@ -223,7 +226,7 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
223
226
  let r = H().find((h) => h.getAttribute("aria-disabled") !== "true"), d = r == null ? void 0 : r.getAttribute($);
224
227
  _.setState("value", d || void 0);
225
228
  }
226
- function ee() {
229
+ function te() {
227
230
  var r, d, h, o;
228
231
  if (!t.current.search || v.current.shouldFilter === !1) {
229
232
  t.current.filtered.count = f.current.size;
@@ -244,7 +247,7 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
244
247
  function me() {
245
248
  var r, d, h;
246
249
  let o = B();
247
- o && (((r = o.parentElement) == null ? void 0 : r.firstChild) === o && ((h = (d = o.closest(W)) == null ? void 0 : d.querySelector(We)) == null || h.scrollIntoView({ block: "nearest" })), o.scrollIntoView({ block: "nearest" }));
250
+ o && (((r = o.parentElement) == null ? void 0 : r.firstChild) === o && ((h = (d = o.closest(W)) == null ? void 0 : d.querySelector(Ye)) == null || h.scrollIntoView({ block: "nearest" })), o.scrollIntoView({ block: "nearest" }));
248
251
  }
249
252
  function B() {
250
253
  var r;
@@ -252,30 +255,30 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
252
255
  }
253
256
  function H() {
254
257
  var r;
255
- return Array.from(((r = k.current) == null ? void 0 : r.querySelectorAll(be)) || []);
258
+ return Array.from(((r = k.current) == null ? void 0 : r.querySelectorAll(we)) || []);
256
259
  }
257
- function te(r) {
260
+ function re(r) {
258
261
  let d = H()[r];
259
262
  d && _.setState("value", d.getAttribute($));
260
263
  }
261
- function re(r) {
264
+ function ne(r) {
262
265
  var d;
263
266
  let h = B(), o = H(), y = o.findIndex((L) => L === h), b = o[y + r];
264
267
  (d = v.current) != null && d.loop && (b = y + r < 0 ? o[o.length - 1] : y + r === o.length ? o[0] : o[y + r]), b && _.setState("value", b.getAttribute($));
265
268
  }
266
269
  function pe(r) {
267
270
  let d = B(), h = d == null ? void 0 : d.closest(W), o;
268
- for (; h && !o; ) h = r > 0 ? nt(h, W) : at(h, W), o = h == null ? void 0 : h.querySelector(be);
269
- o ? _.setState("value", o.getAttribute($)) : re(r);
271
+ for (; h && !o; ) h = r > 0 ? lt(h, W) : ot(h, W), o = h == null ? void 0 : h.querySelector(we);
272
+ o ? _.setState("value", o.getAttribute($)) : ne(r);
270
273
  }
271
- let ve = () => te(H().length - 1), he = (r) => {
272
- r.preventDefault(), r.metaKey ? ve() : r.altKey ? pe(1) : re(1);
274
+ let ve = () => re(H().length - 1), he = (r) => {
275
+ r.preventDefault(), r.metaKey ? ve() : r.altKey ? pe(1) : ne(1);
273
276
  }, ge = (r) => {
274
- r.preventDefault(), r.metaKey ? te(0) : r.altKey ? pe(-1) : re(-1);
277
+ r.preventDefault(), r.metaKey ? re(0) : r.altKey ? pe(-1) : ne(-1);
275
278
  };
276
- return a.createElement(j.div, { ref: n, tabIndex: -1, ...G, "cmdk-root": "", onKeyDown: (r) => {
279
+ return a.createElement(j.div, { ref: n, tabIndex: -1, ...U, "cmdk-root": "", onKeyDown: (r) => {
277
280
  var d;
278
- if ((d = G.onKeyDown) == null || d.call(G, r), !r.defaultPrevented) switch (r.key) {
281
+ if ((d = U.onKeyDown) == null || d.call(U, r), !r.defaultPrevented) switch (r.key) {
279
282
  case "n":
280
283
  case "j": {
281
284
  I && r.ctrlKey && he(r);
@@ -295,7 +298,7 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
295
298
  break;
296
299
  }
297
300
  case "Home": {
298
- r.preventDefault(), te(0);
301
+ r.preventDefault(), re(0);
299
302
  break;
300
303
  }
301
304
  case "End": {
@@ -312,14 +315,14 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
312
315
  }
313
316
  }
314
317
  }
315
- } }, a.createElement("label", { "cmdk-label": "", htmlFor: D.inputId, id: D.labelId, style: ut }, g), Z(e, (r) => a.createElement(Re.Provider, { value: _ }, a.createElement(ke.Provider, { value: D }, r))));
316
- }), Ye = a.forwardRef((e, n) => {
318
+ } }, a.createElement("label", { "cmdk-label": "", htmlFor: D.inputId, id: D.labelId, style: ct }, g), ee(e, (r) => a.createElement(Ce.Provider, { value: _ }, a.createElement(Re.Provider, { value: D }, r))));
319
+ }), Xe = a.forwardRef((e, n) => {
317
320
  var t, f;
318
- let l = F(), i = a.useRef(null), s = a.useContext(Ce), v = Y(), g = Ie(e), m = (f = (t = g.current) == null ? void 0 : t.forceMount) != null ? f : s == null ? void 0 : s.forceMount;
321
+ let l = F(), i = a.useRef(null), s = a.useContext(Oe), v = Y(), g = Ne(e), m = (f = (t = g.current) == null ? void 0 : t.forceMount) != null ? f : s == null ? void 0 : s.forceMount;
319
322
  T(() => {
320
323
  if (!m) return v.item(l, s == null ? void 0 : s.id);
321
324
  }, [m]);
322
- let c = Ne(l, i, [e.value, e.children, i], e.keywords), u = fe(), S = K((p) => p.value && p.value === c.current), E = K((p) => m || v.filter() === !1 ? !0 : p.search ? p.filtered.items.get(l) > 0 : !0);
325
+ let c = Ae(l, i, [e.value, e.children, i], e.keywords), u = fe(), S = K((p) => p.value && p.value === c.current), E = K((p) => m || v.filter() === !1 ? !0 : p.search ? p.filtered.items.get(l) > 0 : !0);
323
326
  a.useEffect(() => {
324
327
  let p = i.current;
325
328
  if (!(!p || e.disabled)) return p.addEventListener(de, R), () => p.removeEventListener(de, R);
@@ -332,17 +335,17 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
332
335
  u.setState("value", c.current, !0);
333
336
  }
334
337
  if (!E) return null;
335
- let { disabled: I, value: G, onSelect: J, forceMount: w, keywords: x, ...k } = e;
338
+ let { disabled: I, value: U, onSelect: J, forceMount: w, keywords: x, ...k } = e;
336
339
  return a.createElement(j.div, { ref: z([i, n]), ...k, id: l, "cmdk-item": "", role: "option", "aria-disabled": !!I, "aria-selected": !!S, "data-disabled": !!I, "data-selected": !!S, onPointerMove: I || v.getDisablePointerSelection() ? void 0 : C, onClick: I ? void 0 : R }, e.children);
337
- }), Je = a.forwardRef((e, n) => {
340
+ }), Qe = a.forwardRef((e, n) => {
338
341
  let { heading: t, children: f, forceMount: l, ...i } = e, s = F(), v = a.useRef(null), g = a.useRef(null), m = F(), c = Y(), u = K((E) => l || c.filter() === !1 ? !0 : E.search ? E.filtered.groups.has(s) : !0);
339
- T(() => c.group(s), []), Ne(s, v, [e.value, e.heading, g]);
342
+ T(() => c.group(s), []), Ae(s, v, [e.value, e.heading, g]);
340
343
  let S = a.useMemo(() => ({ id: s, forceMount: l }), [l]);
341
- return a.createElement(j.div, { ref: z([v, n]), ...i, "cmdk-group": "", role: "presentation", hidden: u ? void 0 : !0 }, t && a.createElement("div", { ref: g, "cmdk-group-heading": "", "aria-hidden": !0, id: m }, t), Z(e, (E) => a.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": t ? m : void 0 }, a.createElement(Ce.Provider, { value: S }, E))));
342
- }), Xe = a.forwardRef((e, n) => {
344
+ return a.createElement(j.div, { ref: z([v, n]), ...i, "cmdk-group": "", role: "presentation", hidden: u ? void 0 : !0 }, t && a.createElement("div", { ref: g, "cmdk-group-heading": "", "aria-hidden": !0, id: m }, t), ee(e, (E) => a.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": t ? m : void 0 }, a.createElement(Oe.Provider, { value: S }, E))));
345
+ }), Ze = a.forwardRef((e, n) => {
343
346
  let { alwaysRender: t, ...f } = e, l = a.useRef(null), i = K((s) => !s.search);
344
347
  return !t && !i ? null : a.createElement(j.div, { ref: z([l, n]), ...f, "cmdk-separator": "", role: "separator" });
345
- }), Qe = a.forwardRef((e, n) => {
348
+ }), et = a.forwardRef((e, n) => {
346
349
  let { onValueChange: t, ...f } = e, l = e.value != null, i = fe(), s = K((c) => c.search), v = K((c) => c.value), g = Y(), m = a.useMemo(() => {
347
350
  var c;
348
351
  let u = (c = g.listInnerRef.current) == null ? void 0 : c.querySelector(`${se}[${$}="${encodeURIComponent(v)}"]`);
@@ -353,7 +356,7 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
353
356
  }, [e.value]), a.createElement(j.input, { ref: n, ...f, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": g.listId, "aria-labelledby": g.labelId, "aria-activedescendant": m, id: g.inputId, type: "text", value: l ? e.value : s, onChange: (c) => {
354
357
  l || i.setState("search", c.target.value), t == null || t(c.target.value);
355
358
  } });
356
- }), Ze = a.forwardRef((e, n) => {
359
+ }), tt = a.forwardRef((e, n) => {
357
360
  let { children: t, label: f = "Suggestions", ...l } = e, i = a.useRef(null), s = a.useRef(null), v = Y();
358
361
  return a.useEffect(() => {
359
362
  if (s.current && i.current) {
@@ -367,36 +370,36 @@ var He = ce.exports, W = '[cmdk-group=""]', ue = '[cmdk-group-items=""]', We = '
367
370
  cancelAnimationFrame(c), u.unobserve(g);
368
371
  };
369
372
  }
370
- }, []), a.createElement(j.div, { ref: z([i, n]), ...l, "cmdk-list": "", role: "listbox", "aria-label": f, id: v.listId }, Z(e, (g) => a.createElement("div", { ref: z([s, v.listInnerRef]), "cmdk-list-sizer": "" }, g)));
371
- }), et = a.forwardRef((e, n) => {
373
+ }, []), a.createElement(j.div, { ref: z([i, n]), ...l, "cmdk-list": "", role: "listbox", "aria-label": f, id: v.listId }, ee(e, (g) => a.createElement("div", { ref: z([s, v.listInnerRef]), "cmdk-list-sizer": "" }, g)));
374
+ }), rt = a.forwardRef((e, n) => {
372
375
  let { open: t, onOpenChange: f, overlayClassName: l, contentClassName: i, container: s, ...v } = e;
373
- return a.createElement(Q.Root, { open: t, onOpenChange: f }, a.createElement(Q.Portal, { container: s }, a.createElement(Q.Overlay, { "cmdk-overlay": "", className: l }), a.createElement(Q.Content, { "aria-label": e.label, "cmdk-dialog": "", className: i }, a.createElement(Oe, { ref: n, ...v }))));
374
- }), tt = a.forwardRef((e, n) => K((t) => t.filtered.count === 0) ? a.createElement(j.div, { ref: n, ...e, "cmdk-empty": "", role: "presentation" }) : null), rt = a.forwardRef((e, n) => {
376
+ return a.createElement(Q.Root, { open: t, onOpenChange: f }, a.createElement(Q.Portal, { container: s }, a.createElement(Q.Overlay, { "cmdk-overlay": "", className: l }), a.createElement(Q.Content, { "aria-label": e.label, "cmdk-dialog": "", className: i }, a.createElement(Ie, { ref: n, ...v }))));
377
+ }), nt = a.forwardRef((e, n) => K((t) => t.filtered.count === 0) ? a.createElement(j.div, { ref: n, ...e, "cmdk-empty": "", role: "presentation" }) : null), at = a.forwardRef((e, n) => {
375
378
  let { progress: t, children: f, label: l = "Loading...", ...i } = e;
376
- return a.createElement(j.div, { ref: n, ...i, "cmdk-loading": "", role: "progressbar", "aria-valuenow": t, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": l }, Z(e, (s) => a.createElement("div", { "aria-hidden": !0 }, s)));
377
- }), O = Object.assign(Oe, { List: Ze, Item: Ye, Input: Qe, Group: Je, Separator: Xe, Dialog: et, Empty: tt, Loading: rt });
378
- function nt(e, n) {
379
+ return a.createElement(j.div, { ref: n, ...i, "cmdk-loading": "", role: "progressbar", "aria-valuenow": t, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": l }, ee(e, (s) => a.createElement("div", { "aria-hidden": !0 }, s)));
380
+ }), O = Object.assign(Ie, { List: tt, Item: Xe, Input: et, Group: Qe, Separator: Ze, Dialog: rt, Empty: nt, Loading: at });
381
+ function lt(e, n) {
379
382
  let t = e.nextElementSibling;
380
383
  for (; t; ) {
381
384
  if (t.matches(n)) return t;
382
385
  t = t.nextElementSibling;
383
386
  }
384
387
  }
385
- function at(e, n) {
388
+ function ot(e, n) {
386
389
  let t = e.previousElementSibling;
387
390
  for (; t; ) {
388
391
  if (t.matches(n)) return t;
389
392
  t = t.previousElementSibling;
390
393
  }
391
394
  }
392
- function Ie(e) {
395
+ function Ne(e) {
393
396
  let n = a.useRef(e);
394
397
  return T(() => {
395
398
  n.current = e;
396
399
  }), n;
397
400
  }
398
401
  var T = typeof window > "u" ? a.useEffect : a.useLayoutEffect;
399
- function q(e) {
402
+ function G(e) {
400
403
  let n = a.useRef();
401
404
  return n.current === void 0 && (n.current = e()), n;
402
405
  }
@@ -409,9 +412,9 @@ function z(e) {
409
412
  }
410
413
  function K(e) {
411
414
  let n = fe(), t = () => e(n.snapshot());
412
- return He.useSyncExternalStore(n.subscribe, t, t);
415
+ return ze.useSyncExternalStore(n.subscribe, t, t);
413
416
  }
414
- function Ne(e, n, t, f = []) {
417
+ function Ae(e, n, t, f = []) {
415
418
  let l = a.useRef(), i = Y();
416
419
  return T(() => {
417
420
  var s;
@@ -425,43 +428,43 @@ function Ne(e, n, t, f = []) {
425
428
  i.value(e, v, g), (s = n.current) == null || s.setAttribute($, v), l.current = v;
426
429
  }), l;
427
430
  }
428
- var lt = () => {
429
- let [e, n] = a.useState(), t = q(() => /* @__PURE__ */ new Map());
431
+ var ut = () => {
432
+ let [e, n] = a.useState(), t = G(() => /* @__PURE__ */ new Map());
430
433
  return T(() => {
431
434
  t.current.forEach((f) => f()), t.current = /* @__PURE__ */ new Map();
432
435
  }, [e]), (f, l) => {
433
436
  t.current.set(f, l), n({});
434
437
  };
435
438
  };
436
- function ot(e) {
439
+ function it(e) {
437
440
  let n = e.type;
438
441
  return typeof n == "function" ? n(e.props) : "render" in n ? n.render(e.props) : e;
439
442
  }
440
- function Z({ asChild: e, children: n }, t) {
441
- return e && a.isValidElement(n) ? a.cloneElement(ot(n), { ref: n.ref }, t(n.props.children)) : t(n);
443
+ function ee({ asChild: e, children: n }, t) {
444
+ return e && a.isValidElement(n) ? a.cloneElement(it(n), { ref: n.ref }, t(n.props.children)) : t(n);
442
445
  }
443
- var ut = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
444
- const Ae = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
446
+ var ct = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
447
+ const Le = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
445
448
  O,
446
449
  {
447
450
  ref: t,
448
- className: U(
451
+ className: q(
449
452
  "flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",
450
453
  e
451
454
  ),
452
455
  ...n
453
456
  }
454
457
  ));
455
- Ae.displayName = O.displayName;
456
- const bt = ({ children: e, ...n }) => /* @__PURE__ */ A.jsx(De, { ...n, children: /* @__PURE__ */ A.jsx(je, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ A.jsx(Ae, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), it = a.forwardRef(({ className: e, ...n }, t) => (
458
+ Le.displayName = O.displayName;
459
+ const _t = ({ children: e, ...n }) => /* @__PURE__ */ A.jsx(je, { ...n, children: /* @__PURE__ */ A.jsx(Me, { className: "overflow-hidden p-0 shadow-lg", children: /* @__PURE__ */ A.jsx(Le, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), dt = a.forwardRef(({ className: e, ...n }, t) => (
457
460
  // eslint-disable-next-line react/no-unknown-property
458
461
  /* @__PURE__ */ A.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
459
- /* @__PURE__ */ A.jsx(Le, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
462
+ /* @__PURE__ */ A.jsx(De, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
460
463
  /* @__PURE__ */ A.jsx(
461
464
  O.Input,
462
465
  {
463
466
  ref: t,
464
- className: U(
467
+ className: q(
465
468
  "flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
466
469
  e
467
470
  ),
@@ -470,17 +473,17 @@ const bt = ({ children: e, ...n }) => /* @__PURE__ */ A.jsx(De, { ...n, children
470
473
  )
471
474
  ] })
472
475
  ));
473
- it.displayName = O.Input.displayName;
474
- const ct = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
476
+ dt.displayName = O.Input.displayName;
477
+ const st = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
475
478
  O.List,
476
479
  {
477
480
  ref: t,
478
- className: U("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
481
+ className: q("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
479
482
  ...n
480
483
  }
481
484
  ));
482
- ct.displayName = O.List.displayName;
483
- const dt = a.forwardRef((e, n) => /* @__PURE__ */ A.jsx(
485
+ st.displayName = O.List.displayName;
486
+ const ft = a.forwardRef((e, n) => /* @__PURE__ */ A.jsx(
484
487
  O.Empty,
485
488
  {
486
489
  ref: n,
@@ -488,63 +491,63 @@ const dt = a.forwardRef((e, n) => /* @__PURE__ */ A.jsx(
488
491
  ...e
489
492
  }
490
493
  ));
491
- dt.displayName = O.Empty.displayName;
492
- const st = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
494
+ ft.displayName = O.Empty.displayName;
495
+ const mt = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
493
496
  O.Group,
494
497
  {
495
498
  ref: t,
496
- className: U(
499
+ className: q(
497
500
  "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
498
501
  e
499
502
  ),
500
503
  ...n
501
504
  }
502
505
  ));
503
- st.displayName = O.Group.displayName;
504
- const ft = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
506
+ mt.displayName = O.Group.displayName;
507
+ const pt = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
505
508
  O.Separator,
506
509
  {
507
510
  ref: t,
508
- className: U("-mx-1 h-px bg-border", e),
511
+ className: q("-mx-1 h-px bg-border", e),
509
512
  ...n
510
513
  }
511
514
  ));
512
- ft.displayName = O.Separator.displayName;
513
- const mt = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
515
+ pt.displayName = O.Separator.displayName;
516
+ const vt = a.forwardRef(({ className: e, ...n }, t) => /* @__PURE__ */ A.jsx(
514
517
  O.Item,
515
518
  {
516
519
  ref: t,
517
- className: U(
520
+ className: q(
518
521
  "relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
519
522
  e
520
523
  ),
521
524
  ...n
522
525
  }
523
526
  ));
524
- mt.displayName = O.Item.displayName;
525
- const pt = ({
527
+ vt.displayName = O.Item.displayName;
528
+ const ht = ({
526
529
  className: e,
527
530
  ...n
528
531
  }) => /* @__PURE__ */ A.jsx(
529
532
  "span",
530
533
  {
531
- className: U(
534
+ className: q(
532
535
  "ml-auto text-xs tracking-widest text-muted-foreground",
533
536
  e
534
537
  ),
535
538
  ...n
536
539
  }
537
540
  );
538
- pt.displayName = "CommandShortcut";
541
+ ht.displayName = "CommandShortcut";
539
542
  export {
540
- Ae as Command,
541
- bt as CommandDialog,
542
- dt as CommandEmpty,
543
- st as CommandGroup,
544
- it as CommandInput,
545
- mt as CommandItem,
546
- ct as CommandList,
547
- ft as CommandSeparator,
548
- pt as CommandShortcut
543
+ Le as Command,
544
+ _t as CommandDialog,
545
+ ft as CommandEmpty,
546
+ mt as CommandGroup,
547
+ dt as CommandInput,
548
+ vt as CommandItem,
549
+ st as CommandList,
550
+ pt as CommandSeparator,
551
+ ht as CommandShortcut
549
552
  };
550
553
  //# sourceMappingURL=Command.js.map