@gentleduck/docs 0.2.1 → 0.2.2

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 (186) hide show
  1. package/dist/{arrow--d9nzYrD-DznC9R7B.js → arrow-CU5T6t_D-BA13FgoC.js} +1 -1
  2. package/dist/arrow-CU5T6t_D-BA13FgoC.js.map +1 -0
  3. package/dist/{callout-BHT13SBT.d.ts → callout-DkH7UtrQ.d.ts} +3 -3
  4. package/dist/{callout-BHT13SBT.d.ts.map → callout-DkH7UtrQ.d.ts.map} +1 -1
  5. package/dist/client.d.ts +32 -32
  6. package/dist/client.js +1 -1
  7. package/dist/{code-block-BNulZGbf.d.ts → code-block-Dgcnn3Px.d.ts} +3 -3
  8. package/dist/{code-block-BNulZGbf.d.ts.map → code-block-Dgcnn3Px.d.ts.map} +1 -1
  9. package/dist/{code-block-wrapper-GksaoK4I.d.ts → code-block-wrapper-CNcV_wdW.d.ts} +3 -3
  10. package/dist/{code-block-wrapper-GksaoK4I.d.ts.map → code-block-wrapper-CNcV_wdW.d.ts.map} +1 -1
  11. package/dist/{code-preview-BzVRhHg8.d.ts → code-preview-C4M4NuJ-.d.ts} +3 -3
  12. package/dist/{code-preview-BzVRhHg8.d.ts.map → code-preview-C4M4NuJ-.d.ts.map} +1 -1
  13. package/dist/command-menu-BAD7s_Xg.js +2 -0
  14. package/dist/command-menu-BAD7s_Xg.js.map +1 -0
  15. package/dist/command-menu-D0jdcvaZ.d.ts +7 -0
  16. package/dist/{command-menu-D3T3sLXZ.d.ts.map → command-menu-D0jdcvaZ.d.ts.map} +1 -1
  17. package/dist/{component-preview-CZkJsPr_.d.ts → component-preview-B-gSgXOF.d.ts} +4 -4
  18. package/dist/{component-preview-CZkJsPr_.d.ts.map → component-preview-B-gSgXOF.d.ts.map} +1 -1
  19. package/dist/{component-source-D0Yfh8j5.d.ts → component-source-BS8Rq18Y.d.ts} +3 -3
  20. package/dist/{component-source-D0Yfh8j5.d.ts.map → component-source-BS8Rq18Y.d.ts.map} +1 -1
  21. package/dist/components/docs/docs-copy-page.d.ts +1 -1
  22. package/dist/components/docs/docs-copy-page.js +1 -1
  23. package/dist/components/docs/docs-pager.d.ts +2 -2
  24. package/dist/components/docs/docs-sidebar.d.ts +2 -2
  25. package/dist/components/docs/docs-toc.d.ts +2 -2
  26. package/dist/components/docs/index.d.ts +5 -5
  27. package/dist/components/docs/index.js +1 -1
  28. package/dist/components/icons.d.ts +1 -1
  29. package/dist/components/index.d.ts +31 -31
  30. package/dist/components/index.js +1 -1
  31. package/dist/components/layouts/command-menu.d.ts +1 -1
  32. package/dist/components/layouts/command-menu.js +1 -1
  33. package/dist/components/layouts/header-shell.d.ts +1 -1
  34. package/dist/components/layouts/index.d.ts +5 -5
  35. package/dist/components/layouts/index.js +1 -1
  36. package/dist/components/layouts/site-footer.d.ts +1 -1
  37. package/dist/components/layouts/site-header.d.ts +2 -2
  38. package/dist/components/layouts/site-header.js +1 -1
  39. package/dist/components/layouts/tailwind-indicator.d.ts +1 -1
  40. package/dist/components/main-nav.d.ts +1 -1
  41. package/dist/components/main-nav.js +1 -1
  42. package/dist/components/mdx/mdx-components/callout.d.ts +1 -1
  43. package/dist/components/mdx/mdx-components/code/code-block-wrapper.d.ts +1 -1
  44. package/dist/components/mdx/mdx-components/code/code-block.d.ts +1 -1
  45. package/dist/components/mdx/mdx-components/code/code-preview.d.ts +1 -1
  46. package/dist/components/mdx/mdx-components/code/component-preview.d.ts +1 -1
  47. package/dist/components/mdx/mdx-components/code/component-source.d.ts +1 -1
  48. package/dist/components/mdx/mdx-components/code/figcaption-block.d.ts +1 -1
  49. package/dist/components/mdx/mdx-components/code/index.d.ts +8 -8
  50. package/dist/components/mdx/mdx-components/code/index.js +1 -1
  51. package/dist/components/mdx/mdx-components/code/mermaid-block.d.ts +1 -1
  52. package/dist/components/mdx/mdx-components/code/mermaid-block.js +1 -1
  53. package/dist/components/mdx/mdx-components/code/pre-block/index.d.ts +1 -1
  54. package/dist/components/mdx/mdx-components/code/pre-block/pre-block.d.ts +1 -1
  55. package/dist/components/mdx/mdx-components/code/pre-block/shell-command.d.ts +2 -2
  56. package/dist/components/mdx/mdx-components/code/span-block.d.ts +2 -2
  57. package/dist/components/mdx/mdx-components/components-list.d.ts +2 -2
  58. package/dist/components/mdx/mdx-components/exalidraw.d.ts +2 -2
  59. package/dist/components/mdx/mdx-components/index.d.ts +14 -14
  60. package/dist/components/mdx/mdx-components/index.js +1 -1
  61. package/dist/components/mdx/mdx-components/table.d.ts +1 -1
  62. package/dist/components/mdx/mdx-components/tabs.d.ts +1 -1
  63. package/dist/components/mdx/mdx-components/typepography.d.ts +1 -1
  64. package/dist/components/mdx/mdx-components/typography.d.ts +1 -1
  65. package/dist/components/mdx/mdx-components-base.d.ts +36 -36
  66. package/dist/components/mdx/mdx-components-base.d.ts.map +1 -1
  67. package/dist/components/mdx/mdx-components-base.js +1 -1
  68. package/dist/components/mdx/mdx-components-registry.d.ts +55 -55
  69. package/dist/components/mdx/mdx-components-registry.js +1 -1
  70. package/dist/components/mdx/mdx-components-ui.d.ts +17 -17
  71. package/dist/components/mdx/mdx-icons.d.ts +9 -9
  72. package/dist/components/mdx/mdx-icons.d.ts.map +1 -1
  73. package/dist/components/mdx/mdx.d.ts +1 -1
  74. package/dist/components/mdx/mdx.js +1 -1
  75. package/dist/components/mobile-nav.d.ts +1 -1
  76. package/dist/components/mode-toggle.d.ts +1 -1
  77. package/dist/components/page-header.d.ts +1 -1
  78. package/dist/components/providers.d.ts +1 -1
  79. package/dist/components/style-switcher.d.ts +1 -1
  80. package/dist/components/style-switcher.js +1 -1
  81. package/dist/{components-list-vGd8Fril.d.ts → components-list-B0CzvoXJ.d.ts} +3 -3
  82. package/dist/{components-list-vGd8Fril.d.ts.map → components-list-B0CzvoXJ.d.ts.map} +1 -1
  83. package/dist/context/context.d.ts +1 -1
  84. package/dist/context/index.d.ts +1 -1
  85. package/dist/{context-Cd5lDJ0U.d.ts → context-CewYP6fx.d.ts} +3 -3
  86. package/dist/{context-Cd5lDJ0U.d.ts.map → context-CewYP6fx.d.ts.map} +1 -1
  87. package/dist/{create-collection-BGqkd0fl-BNg1clsw.js → create-collection-S3CvffX1-DA20ZU15.js} +1 -1
  88. package/dist/create-collection-S3CvffX1-DA20ZU15.js.map +1 -0
  89. package/dist/dialog-WKxDI8AJ.js.map +1 -1
  90. package/dist/direction-B-anGbxM-BdqxtlGV.js.map +1 -1
  91. package/dist/dist-BEBzXlAF.js.map +1 -1
  92. package/dist/{docs-copy-page-1xiveuoU.js → docs-copy-page-BjCHLC98.js} +2 -2
  93. package/dist/docs-copy-page-BjCHLC98.js.map +1 -0
  94. package/dist/{docs-copy-page-RX6QARJ5.d.ts → docs-copy-page-Da2aH8ZU.d.ts} +3 -3
  95. package/dist/{docs-copy-page-RX6QARJ5.d.ts.map → docs-copy-page-Da2aH8ZU.d.ts.map} +1 -1
  96. package/dist/{docs-pager-DVMWDPhR.d.ts → docs-pager-CtmhHIR1.d.ts} +4 -4
  97. package/dist/{docs-pager-DVMWDPhR.d.ts.map → docs-pager-CtmhHIR1.d.ts.map} +1 -1
  98. package/dist/{docs-sidebar-BSYoPkLy.d.ts → docs-sidebar-GPy4H7_S.d.ts} +5 -5
  99. package/dist/{docs-sidebar-BSYoPkLy.d.ts.map → docs-sidebar-GPy4H7_S.d.ts.map} +1 -1
  100. package/dist/{docs-toc-RsQXR2mS.d.ts → docs-toc-Ds6VYQP-.d.ts} +3 -3
  101. package/dist/{docs-toc-RsQXR2mS.d.ts.map → docs-toc-Ds6VYQP-.d.ts.map} +1 -1
  102. package/dist/{dropdown-menu-EhrY8joQ.js → dropdown-menu-DYiM8COh.js} +2 -2
  103. package/dist/dropdown-menu-DYiM8COh.js.map +1 -0
  104. package/dist/{figcaption-block-CYdmV289.d.ts → figcaption-block-Cq91p_fK.d.ts} +3 -3
  105. package/dist/{figcaption-block-CYdmV289.d.ts.map → figcaption-block-Cq91p_fK.d.ts.map} +1 -1
  106. package/dist/{header-shell-CPl-YeJY.d.ts → header-shell-06sqvoB4.d.ts} +6 -6
  107. package/dist/{header-shell-CPl-YeJY.d.ts.map → header-shell-06sqvoB4.d.ts.map} +1 -1
  108. package/dist/hooks/index.d.ts +1 -1
  109. package/dist/hooks/use-config.d.ts +1 -1
  110. package/dist/icons-DinS-ytj.d.ts +33 -0
  111. package/dist/{icons-CvDgdAkn.d.ts.map → icons-DinS-ytj.d.ts.map} +1 -1
  112. package/dist/list-navigation-LJg-1TD2-DsfZPowW.js.map +1 -1
  113. package/dist/main-nav-CLHU2qeN.d.ts +7 -0
  114. package/dist/main-nav-CLHU2qeN.d.ts.map +1 -0
  115. package/dist/{mdx-G8urwTrB.js → mdx-C5u2Zdyc.js} +2 -2
  116. package/dist/{mdx-G8urwTrB.js.map → mdx-C5u2Zdyc.js.map} +1 -1
  117. package/dist/mdx-D5ge0Tle.d.ts +12 -0
  118. package/dist/{mdx-BesLYyDk.d.ts.map → mdx-D5ge0Tle.d.ts.map} +1 -1
  119. package/dist/{mdx-components-base-DUpIRrmA.js → mdx-components-base-D4hUHZRR.js} +2 -2
  120. package/dist/{mdx-components-base-DUpIRrmA.js.map → mdx-components-base-D4hUHZRR.js.map} +1 -1
  121. package/dist/mdx-components-registry-Ceb39eRW.js +2 -0
  122. package/dist/{mdx-components-registry-CSjc6phV.js.map → mdx-components-registry-Ceb39eRW.js.map} +1 -1
  123. package/dist/{mermaid-block-DKhLlt0H.js → mermaid-block-CrmASB4s.js} +2 -2
  124. package/dist/mermaid-block-CrmASB4s.js.map +1 -0
  125. package/dist/{mermaid-block-iLbOlW1I.d.ts → mermaid-block-DCchUyg8.d.ts} +3 -3
  126. package/dist/{mermaid-block-iLbOlW1I.d.ts.map → mermaid-block-DCchUyg8.d.ts.map} +1 -1
  127. package/dist/mobile-nav-B1YJYAwN.d.ts +7 -0
  128. package/dist/mobile-nav-B1YJYAwN.d.ts.map +1 -0
  129. package/dist/mode-toggle-CbZCMzxt.d.ts +7 -0
  130. package/dist/mode-toggle-CbZCMzxt.d.ts.map +1 -0
  131. package/dist/mount-uG4K6qTf.js.map +1 -1
  132. package/dist/{page-header-DEXQbaIe.d.ts → page-header-B_OFmaDG.d.ts} +6 -6
  133. package/dist/{page-header-DEXQbaIe.d.ts.map → page-header-B_OFmaDG.d.ts.map} +1 -1
  134. package/dist/portal-BNuCvTAR-DDrsnIMA.js.map +1 -1
  135. package/dist/{pre-block-ikAAmqhJ.d.ts → pre-block-BbGgUhah.d.ts} +3 -3
  136. package/dist/{pre-block-ikAAmqhJ.d.ts.map → pre-block-BbGgUhah.d.ts.map} +1 -1
  137. package/dist/{providers-BzIQ_ple.d.ts → providers-Oi1jKtkx.d.ts} +3 -3
  138. package/dist/providers-Oi1jKtkx.d.ts.map +1 -0
  139. package/dist/shared-utils-DqLwMUcj-Cs7um3C7.js.map +1 -1
  140. package/dist/site-footer-nL3CR80X.d.ts +8 -0
  141. package/dist/{site-footer-CVdbW-iH.d.ts.map → site-footer-nL3CR80X.d.ts.map} +1 -1
  142. package/dist/site-header-BE3MHLlX.d.ts +8 -0
  143. package/dist/{site-header-D5YXIh8W.d.ts.map → site-header-BE3MHLlX.d.ts.map} +1 -1
  144. package/dist/{site-header-CezYgCur.js → site-header-ClW-bc7r.js} +2 -2
  145. package/dist/{site-header-CezYgCur.js.map → site-header-ClW-bc7r.js.map} +1 -1
  146. package/dist/slot-B-X2-pKU-DOhFF3E_.js.map +1 -1
  147. package/dist/{style-switcher-Dw76cq4G.d.ts → style-switcher-BMyNkGaU.d.ts} +3 -3
  148. package/dist/{style-switcher-Dw76cq4G.d.ts.map → style-switcher-BMyNkGaU.d.ts.map} +1 -1
  149. package/dist/{style-switcher-Vlmp2BW4.js → style-switcher-Cvax_0P0.js} +2 -2
  150. package/dist/style-switcher-Cvax_0P0.js.map +1 -0
  151. package/dist/{table-DAEx431W.d.ts → table-CIk47-yL.d.ts} +6 -6
  152. package/dist/{table-DAEx431W.d.ts.map → table-CIk47-yL.d.ts.map} +1 -1
  153. package/dist/{tabs-b9_P2R33.d.ts → tabs-B_50-l6V.d.ts} +6 -6
  154. package/dist/{tabs-b9_P2R33.d.ts.map → tabs-B_50-l6V.d.ts.map} +1 -1
  155. package/dist/tailwind-indicator-Cw3XS1Ir.d.ts +7 -0
  156. package/dist/{tailwind-indicator-1FrmaX-H.d.ts.map → tailwind-indicator-Cw3XS1Ir.d.ts.map} +1 -1
  157. package/dist/{typepography-BcmpY0se.d.ts → typepography-DOEGn7mg.d.ts} +13 -13
  158. package/dist/{typepography-BcmpY0se.d.ts.map → typepography-DOEGn7mg.d.ts.map} +1 -1
  159. package/dist/{use-config-CVGpN_gD.d.ts → use-config-CT2CHDom.d.ts} +2 -2
  160. package/dist/use-config-CT2CHDom.d.ts.map +1 -0
  161. package/dist/visibility-hidden-CAHx9RLp-DoPUpniv.js.map +1 -1
  162. package/package.json +1 -1
  163. package/src/components/layouts/command-menu.tsx +12 -3
  164. package/dist/arrow--d9nzYrD-DznC9R7B.js.map +0 -1
  165. package/dist/command-menu-BH0DFAdg.js +0 -2
  166. package/dist/command-menu-BH0DFAdg.js.map +0 -1
  167. package/dist/command-menu-D3T3sLXZ.d.ts +0 -7
  168. package/dist/create-collection-BGqkd0fl-BNg1clsw.js.map +0 -1
  169. package/dist/docs-copy-page-1xiveuoU.js.map +0 -1
  170. package/dist/dropdown-menu-EhrY8joQ.js.map +0 -1
  171. package/dist/icons-CvDgdAkn.d.ts +0 -33
  172. package/dist/main-nav-DVKLErQu.d.ts +0 -7
  173. package/dist/main-nav-DVKLErQu.d.ts.map +0 -1
  174. package/dist/mdx-BesLYyDk.d.ts +0 -12
  175. package/dist/mdx-components-registry-CSjc6phV.js +0 -2
  176. package/dist/mermaid-block-DKhLlt0H.js.map +0 -1
  177. package/dist/mobile-nav-DUkWP5bc.d.ts +0 -7
  178. package/dist/mobile-nav-DUkWP5bc.d.ts.map +0 -1
  179. package/dist/mode-toggle-DUh08fnR.d.ts +0 -7
  180. package/dist/mode-toggle-DUh08fnR.d.ts.map +0 -1
  181. package/dist/providers-BzIQ_ple.d.ts.map +0 -1
  182. package/dist/site-footer-CVdbW-iH.d.ts +0 -8
  183. package/dist/site-header-D5YXIh8W.d.ts +0 -8
  184. package/dist/style-switcher-Vlmp2BW4.js.map +0 -1
  185. package/dist/tailwind-indicator-1FrmaX-H.d.ts +0 -7
  186. package/dist/use-config-CVGpN_gD.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"code-preview-BzVRhHg8.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/code/code-preview.tsx"],"sourcesContent":[],"mappings":";;;KAUK,KAAA;;;IAAA,MAAK,CAAA,EAAA,MAAA;EAQM,CAAA;EAAc,eAAA,EAAA,MAAA;CAAkB;AAAkC,iBAAlE,WAAA,CAAkE;EAAA;CAAA,EAAA;EAAA,KAAA,EAAlC,KAAkC,GAAA;;;IAAA,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"code-preview-C4M4NuJ-.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/code/code-preview.tsx"],"sourcesContent":[],"mappings":";;;KAUK,KAAA;;;IAAA,MAAK,CAAA,EAAA,MAAA;EAQM,CAAA;EAAc,eAAA,EAAA,MAAA;CAAkB;AAAkC,iBAAlE,WAAA,CAAkE;EAAA;CAAA,EAAA;EAAA,KAAA,EAAlC,KAAkC,GAAA;;;IAAA,mBAAA,CAAA,GAAA,CAAA"}
@@ -0,0 +1,2 @@
1
+ import{o as e}from"./slot-B-X2-pKU-DOhFF3E_.js";import{t}from"./button-BPQ9zanb.js";import{l as n,o as r,p as i,u as a}from"./portal-BNuCvTAR-DDrsnIMA.js";import{t as o}from"./direction-B-anGbxM-BdqxtlGV.js";import{t as s}from"./create-collection-S3CvffX1-DA20ZU15.js";import{t as c}from"./separator-C2JodQpS.js";import{i as l,n as u}from"./context-8iUWV99o.js";import{i as d,n as f,r as p,t as m}from"./dialog-WKxDI8AJ.js";import{t as h}from"./scroll-area-BFWBc-X7.js";import{cn as g}from"@gentleduck/libs/cn";import*as _ from"react";import{Fragment as v,jsx as y,jsxs as b}from"react/jsx-runtime";import{Circle as x,Command as S,CornerDownLeft as C,FileIcon as w,Moon as T,Search as ee,Sun as te}from"lucide-react";import{useRouter as ne}from"next/navigation";import{useKeyCommands as E}from"@gentleduck/vim/react";import{useVirtualizer as re}from"@tanstack/react-virtual";import D from"lunr";import{useTheme as ie}from"next-themes";const O=`Command`,[k,A,ae]=s(O),[j,oe]=n(O,[ae]),[se,M]=j(O),[ce,N]=j(`CommandList`,{onItemLeave:void 0,listRef:{current:null},emptyRef:{current:null}}),[le,ue]=j(`CommandItem`),[de,fe]=j(`CommandGroup`),P=_.forwardRef((e,t)=>{let{__scopeCommand:n,dir:r,shouldFilter:i=!0,children:s,...c}=e,l=o(r),u=a(),d=_.useRef(null),f=_.useRef(``),[p,m]=_.useState(``),[h,g]=_.useState(null);return y(se,{scope:n,search:p,onSearchChange:m,dir:l,listId:u,inputRef:d,typeaheadSearchRef:f,selectedItem:h,setSelectedItem:g,selectedValue:h?.getAttribute(`data-value`)??null,selectedText:h?.textContent?.trim()??null,shouldFilter:i,children:y(k.Provider,{scope:n,children:y(F,{__scopeCommand:n,...c,ref:t,children:s})})})});P.displayName=O;const F=_.forwardRef((e,t)=>{let{__scopeCommand:n,children:a,...o}=e,s=M(O,n),c=A(n);return y(i.div,{"data-slot":`command`,dir:s.dir,...o,ref:t,onKeyDown:r(o.onKeyDown,e=>{if(e.key===`Tab`){e.preventDefault();return}let t=c().filter(e=>!e.disabled&&!e.ref.current?.hidden).map(e=>e.ref.current).filter(Boolean);if(e.key===`ArrowDown`){if(e.preventDefault(),t.length===0)return;let n=s.selectedItem?t.indexOf(s.selectedItem):-1,r=t[n===-1?0:Math.min(n+1,t.length-1)];r&&(s.setSelectedItem(r),r.scrollIntoView({block:`nearest`}));return}if(e.key===`ArrowUp`){if(e.preventDefault(),t.length===0)return;let n=s.selectedItem?t.indexOf(s.selectedItem):t.length,r=t[Math.max(n-1,0)];r&&(s.setSelectedItem(r),r.scrollIntoView({block:`nearest`}));return}if(e.key===`Home`){e.preventDefault(),t.length>0&&(s.setSelectedItem(t[0]),t[0].scrollIntoView({block:`nearest`}));return}if(e.key===`End`){if(e.preventDefault(),t.length>0){let e=t[t.length-1];s.setSelectedItem(e),e.scrollIntoView({block:`nearest`})}return}if(e.key===`Enter`&&s.selectedItem){e.preventDefault(),s.selectedItem.click();return}}),children:a})});F.displayName=`CommandInner`;const I=`CommandEmpty`,L=_.forwardRef((t,n)=>{let{__scopeCommand:r,...a}=t,o=M(I,r),s=e(n,N(I,r).emptyRef);return y(i.div,{"data-slot":`command-empty`,role:`status`,"aria-live":`polite`,dir:o.dir,hidden:!0,...a,ref:s})});L.displayName=I;const R=`CommandGroup`,z=_.forwardRef((e,t)=>{let{__scopeCommand:n,heading:r,children:o,...s}=e,c=M(R,n),l=a();return y(de,{scope:n,id:l,children:b(i.div,{"data-slot":`command-group`,role:`group`,dir:c.dir,"aria-labelledby":r?l:void 0,...s,ref:t,children:[r&&y(i.div,{"data-slot":`command-group-heading`,id:l,dir:c.dir,children:r}),o]})})});z.displayName=R;const B=`CommandInput`,V=_.forwardRef((t,n)=>{let{__scopeCommand:a,...o}=t,s=M(B,a),c=e(n,s.inputRef);return y(i.input,{"data-slot":`command-input`,role:`combobox`,dir:s.dir,"aria-expanded":`true`,"aria-controls":s.listId,"aria-autocomplete":`list`,...o,ref:c,onChange:r(o.onChange,e=>{s.onSearchChange(e.target.value)})})});V.displayName=B;const H=`CommandItem`,U=_.forwardRef((t,n)=>{let{__scopeCommand:o,value:s=``,disabled:c=!1,textValue:l,onSelect:u,children:d,...f}=t,p=M(H,o),m=N(H,o),[h,g]=_.useState(l??``),v=a(),b=a(),x=_.useRef(null),S=_.useRef(`touch`),C=e(n,x,e=>{e&&!l&&g(t=>t||(e.textContent??``).trim())}),w=p.selectedItem!==null&&p.selectedItem===x.current,T=()=>{c||u?.(s)};return y(le,{scope:o,..._.useMemo(()=>({value:s,disabled:c,textId:v,onItemTextChange:e=>{g(t=>t||(e?.textContent??``).trim())}}),[s,c,v]),children:y(k.ItemSlot,{scope:o,value:s,disabled:c,textValue:h,children:y(i.li,{id:b,"data-slot":`command-item`,"data-value":s,role:`option`,dir:p.dir,"data-highlighted":w?``:void 0,"aria-selected":w,"aria-disabled":c||void 0,"data-disabled":c?``:void 0,tabIndex:c?void 0:-1,...f,ref:C,onFocus:r(f.onFocus,e=>{p.setSelectedItem(e.currentTarget)}),onBlur:r(f.onBlur,()=>{}),onClick:r(f.onClick,()=>{S.current!==`mouse`&&T()}),onPointerUp:r(f.onPointerUp,()=>{S.current===`mouse`&&T()}),onPointerDown:r(f.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:r(f.onPointerMove,e=>{S.current=e.pointerType,c?m.onItemLeave?.():S.current===`mouse`&&p.setSelectedItem(e.currentTarget)}),onPointerLeave:r(f.onPointerLeave,e=>{e.currentTarget===document.activeElement&&m.onItemLeave?.()}),onKeyDown:r(f.onKeyDown,e=>{p.typeaheadSearchRef?.current!==``&&e.key===` `||(e.key===`Enter`||e.key===` `)&&(T(),e.key===` `&&e.preventDefault())}),children:d})})})});U.displayName=H;const W=`CommandList`,G=_.forwardRef((t,n)=>{let{__scopeCommand:r,...a}=t,o=M(W,r),s=A(r),c=_.useRef(null),l=_.useRef(null),u=e(n,c),d=_.useCallback(()=>{o.setSelectedItem(null),o.inputRef.current?.focus({preventScroll:!0})},[o.inputRef,o.setSelectedItem]);return _.useEffect(()=>{if(!o.shouldFilter)return;let e=s();if(e.length===0)return;let t=0;for(let n of e){let e=n.ref.current;if(!e)continue;let r=n.textValue||e.textContent||``;o.search&&!r.toLowerCase().includes(o.search.toLowerCase())?(e.hidden=!0,t++):e.hidden=!1}let n=e.find(e=>!e.ref.current?.hidden);if(o.setSelectedItem(n?.ref.current??null),l.current&&(l.current.hidden=t<e.length),c.current){let e=c.current.querySelectorAll(`[data-slot="command-group"]`);for(let t=0;t<e.length;t++){let n=e[t],r=n.querySelectorAll(`[data-slot="command-item"]:not([hidden])`),i=n.nextElementSibling,a=i?.getAttribute(`data-slot`)===`command-separator`;r.length===0?(n.hidden=!0,a&&i&&(i.hidden=!0)):(n.hidden=!1,a&&i&&(i.hidden=!1))}}},[o.search,o.shouldFilter,s]),y(ce,{scope:r,onItemLeave:d,listRef:c,emptyRef:l,children:y(k.Slot,{scope:r,children:y(i.ul,{"data-slot":`command-list`,role:`listbox`,id:o.listId,dir:o.dir,...a,ref:u})})})});G.displayName=W;const K=`CommandSeparator`,q=_.forwardRef((e,t)=>{let{__scopeCommand:n,...r}=e,a=M(K,n);return y(i.div,{"data-slot":`command-separator`,role:`separator`,"aria-hidden":!0,dir:a.dir,...r,ref:t})});q.displayName=K;const J=_.forwardRef(({className:e,...t},n)=>y(P,{ref:n,"data-slot":`command`,className:g(`flex h-full w-full max-w-162.5 flex-col overflow-hidden rounded-md bg-popover p-2 text-popover-foreground shadow-sm`,e),...t}));J.displayName=P.displayName;const Y=_.forwardRef(({className:e,wrapperClassName:t,placeholder:n=`Search...`,autoFocus:r=!1,...i},a)=>b(`div`,{className:g(`mb-2 flex items-center gap-2 border-b px-1`,t),"data-slot":`command-input`,children:[y(ee,{"aria-hidden":`true`,className:`size-5 shrink-0 opacity-50`}),y(V,{ref:a,autoFocus:r,placeholder:n,className:g(`flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50`,e),...i})]}));Y.displayName=V.displayName;const X=_.forwardRef(({className:e,scrollRef:t,...n},r)=>y(h,{className:`overflow-y-auto overflow-x-hidden`,"data-slot":`command-list`,viewportClassName:`overflow-x-hidden`,viewportRef:t,children:y(G,{ref:r,className:g(`max-h-75 focus:outline-none`,e),...n})}));X.displayName=G.displayName;const Z=_.forwardRef(({className:e,...t},n)=>y(L,{ref:n,"data-slot":`command-empty`,className:g(`py-6 text-center text-sm`,e),...t}));Z.displayName=L.displayName;const pe=_.forwardRef(({className:e,...t},n)=>y(z,{ref:n,"data-slot":`command-group`,className:g(`overflow-hidden text-foreground *:data-[slot="command-group-heading"]:px-2 *:data-[slot="command-group-heading"]:py-1.5 *:data-[slot="command-group-heading"]:font-medium *:data-[slot="command-group-heading"]:text-muted-foreground *:data-[slot="command-group-heading"]:text-sm`,e),...t}));pe.displayName=z.displayName;const Q=_.forwardRef(({className:e,...t},n)=>y(U,{ref:n,"data-slot":`command-item`,className:g(`relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden transition-color duration-300 hover:bg-muted hover:text-accent-foreground data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-50 [&_svg]:size-4`,e),...t}));Q.displayName=U.displayName;const me=_.forwardRef(({className:e,...t},n)=>y(q,{ref:n,"data-slot":`command-separator`,className:g(`-mx-1 my-2 h-px bg-secondary`,e),...t}));me.displayName=q.displayName;function he({className:e,keys:t,onKeysPressed:n,variant:r=`default`,ref:i,...a}){return E(_.useMemo(()=>t&&n?{[t]:{description:t,execute:()=>{n()},name:t}}:{},[t,n]),{preventDefault:!0}),y(`kbd`,{className:g(`focus:offset-2 pointer-events-none ms-auto inline-flex cursor-none select-none items-center gap-0.5 rounded-sm px-2 py-[.12rem] font-sans text-secondary-foreground text-sm tracking-widest transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring [&_svg]:size-3`,r===`secondary`&&`bg-secondary`,e),"data-slot":`command-badge`,ref:i,...a})}function ge({children:e,shouldFilter:t,...n}){return y(m,{...n,children:b(f,{className:`h-125 max-w-full p-0 lg:w-[700px]`,children:[y(d,{className:`sr-only`,children:`Command palette`}),y(p,{className:`sr-only`,children:`Search for commands and navigation items`}),y(J,{className:`max-w-full`,shouldFilter:t,children:e})]})})}function _e(e){return M(`Command`,e)}function $(e,t=``){let n=[];for(let r of e){let e=t?`${t} / ${r.title}`:r.title;r.href&&!r.disabled&&n.push({href:r.href,title:e}),r.items?.length&&n.push(...$(r.items,e))}return n}function ve(e){if(!e||e.length===0)return``;let t=[];for(let n of e)t.push(n.title),n.items?.length&&t.push(ve(n.items));return t.join(` `)}function ye(e,t){if(!e||!t)return``;let n=e.find(e=>e.permalink===t||e.slug===t);return n?.toc?ve(n.toc):``}function be(e){return D(function(){this.ref(`id`),this.field(`leafTitle`,{boost:10}),this.field(`name`,{boost:5}),this.field(`segments`,{boost:3}),this.field(`tocHeadings`,{boost:2}),this.field(`groupTitle`,{boost:1}),this.pipeline.remove(D.stemmer),this.searchPipeline.remove(D.stemmer);for(let t of e)this.add(t)})}function xe(){let e=ne(),[n,r]=_.useState(!1),{setTheme:i}=ie(),a=u(),o=l(),[s,c]=_.useState(``),d=_.useMemo(()=>[...a.sidebarNav.map(t=>({items:$(t.items??[]).map(t=>({action:()=>e.push(t.href),href:t.href,icon:y(x,{"aria-hidden":`true`,className:`mr-2 h-3 w-3`}),name:t.title})),title:t.title})),{items:[{action:()=>i(`light`),href:``,icon:y(te,{"aria-hidden":`true`,className:`mr-2 h-4 w-4`}),name:`Light`},{action:()=>i(`dark`),href:``,icon:y(T,{"aria-hidden":`true`,className:`mr-2 h-4 w-4`}),name:`Dark`},{action:()=>i(`system`),href:``,icon:y(w,{"aria-hidden":`true`,className:`mr-2 h-4 w-4`}),name:`System`}],title:`Theme`}],[a.sidebarNav,e,i]),f=_.useMemo(()=>{let e=[];for(let t of d){e.push({type:`heading`,title:t.title});for(let n of t.items)e.push({type:`item`,name:n.name,href:n.href,icon:n.icon,action:n.action})}return e},[d]),p=_.useMemo(()=>{let e=[];for(let t of d)if(t.title!==`Theme`)for(let n of t.items){let r=n.name.split(` / `),i=r[r.length-1]??n.name;e.push({groupTitle:t.title,id:n.name,leafTitle:i,name:n.name,segments:r.join(` `),tocHeadings:ye(o,n.href)})}return e.length>0?be(e):null},[d,o]);return b(v,{children:[b(t,{className:g(`relative h-8 w-full bg-muted/50 text-muted-foreground text-sm shadow-none md:w-40 lg:w-64 ltr:pr-2 rtl:pl-2 [&>div]:w-full [&>div]:justify-between`),onClick:()=>r(!0),size:`sm`,variant:`outline`,children:[y(`span`,{className:`hidden lg:inline-flex`,children:`Search documentation...`}),y(`span`,{className:`inline-flex lg:hidden`,children:`Search...`}),b(he,{className:`bg-secondary`,keys:`ctrl+k`,onKeysPressed:()=>{r(e=>!e)},children:[y(S,{"aria-hidden":`true`,className:`!size-3`}),y(`span`,{className:`text-md`,children:`K`})]})]}),b(ge,{onOpenChange:r,open:n,shouldFilter:!1,children:[y(Y,{autoFocus:!0,placeholder:`Search...`}),y(Se,{flatRows:f,onClose:()=>r(!1),onSelectedLabelChange:c,searchIndex:p}),y(Ce,{selectedLabel:s})]})]})}function Se({flatRows:e,onClose:t,onSelectedLabelChange:n,searchIndex:r}){let{search:i}=_e({}),a=_.useRef(null),[o,s]=_.useState(0),c=_.useMemo(()=>{if(!i)return e;let t;try{if(!r)throw Error(`no index`);let n=i.replace(/[:\*\~\+\-\^]/g,`\\$&`).trim().split(/\s+/).filter(Boolean);if(n.length===0)return e;let a=r.search(n.map(e=>`${e}*`).join(` `));a.length===0&&(a=r.search(n.map(e=>`${e}~1`).join(` `))),t=new Map(a.map(e=>[e.ref,e.score]))}catch{let n=i.toLowerCase();t=new Map(e.filter(e=>e.type===`item`&&e.name.toLowerCase().includes(n)).map(e=>[e.name,1]))}let n=i.toLowerCase(),a=[],o=null,s=[],c=!1,l=()=>{s.length>0&&o&&(s.sort((e,n)=>(t.get(n.name)??0)-(t.get(e.name)??0)),a.push(o),a.push(...s)),s=[]};for(let r of e)r.type===`heading`?(l(),o=r,c=r.title===`Theme`):r.type===`item`&&(c?r.name.toLowerCase().includes(n):t.has(r.name))&&s.push(r);return l(),a},[e,i,r]),l=_.useMemo(()=>c.filter(e=>e.type===`item`),[c]);_.useEffect(()=>{s(0)},[i]);let u=l.length>0?Math.min(o,l.length-1):-1,d=u>=0?l[u]:null;_.useEffect(()=>{n(d?.name??``)},[d?.name,n]);let f=d?c.indexOf(d):-1,p=re({count:c.length,getScrollElement:()=>a.current,estimateSize:e=>c[e]?.type===`heading`?32:36,overscan:5});_.useEffect(()=>{f>=0&&p.scrollToIndex(f,{align:`auto`})},[f,p]);let m=_.useRef({itemRows:l,selectedRow:d,clampedIndex:u,onClose:t});m.current={itemRows:l,selectedRow:d,clampedIndex:u,onClose:t},_.useEffect(()=>{let e=e=>{let{itemRows:t,selectedRow:n,clampedIndex:r,onClose:i}=m.current;if(!(t.length===0&&e.key!==`Escape`))switch(e.key){case`ArrowDown`:e.preventDefault(),s(e=>Math.min(e+1,t.length-1));break;case`ArrowUp`:e.preventDefault(),s(e=>Math.max(e-1,0));break;case`Home`:e.preventDefault(),s(0);break;case`End`:e.preventDefault(),s(t.length-1);break;case`Enter`:e.preventDefault(),n&&(i(),n.action());break}};return document.addEventListener(`keydown`,e,!0),()=>document.removeEventListener(`keydown`,e,!0)},[]);let h=l.length===0,g=_.useRef(null);return _.useEffect(()=>{let e=g.current;e&&e.querySelectorAll(`[data-slot="command-item"][hidden]`).forEach(e=>e.removeAttribute(`hidden`))}),b(v,{children:[h&&y(Z,{children:`No results found.`}),y(X,{className:`h-[390px] max-h-full w-full md:w-full`,scrollRef:a,children:y(`div`,{ref:g,style:{height:p.getTotalSize(),position:`relative`,width:`100%`},children:p.getVirtualItems().map(e=>{let n=c[e.index],r=n===d;return y(`div`,{"data-index":e.index,ref:p.measureElement,style:{position:`absolute`,top:0,left:0,width:`100%`,transform:`translateY(${e.start}px)`},children:n?.type===`heading`?y(`div`,{"data-slot":`command-group-heading`,className:`px-2 py-1.5 font-medium text-muted-foreground text-sm`,children:n.title}):b(Q,{value:n?.name,"data-highlighted":r?``:void 0,"aria-selected":r,onSelect:()=>{t(),n?.action()},onPointerMove:()=>{let e=l.indexOf(n);e>=0&&s(e)},children:[n?.icon,y(`span`,{children:n?.name})]})},e.key)})})})]})}function Ce({selectedLabel:e}){let n=u().sidebarNav.flatMap(e=>$(e.items??[])).find(t=>t.title===e);return E({"ctrl+shift+c":{description:`Copy command`,execute:()=>{e&&navigator.clipboard.writeText(`bunx @gentleduck/cli add ${e.toLowerCase().replace(/ /g,`-`)}`)},name:`ctrl+shift+c`}},{preventDefault:!0}),y(`div`,{className:`hidden h-10 w-full items-center justify-between gap-4 border-t px-2 pt-2 lg:flex`,children:b(`div`,{className:`flex h-full w-full items-center justify-between gap-4`,children:[e&&b(t,{className:g(`px-2`),size:`sm`,variant:`outline`,children:[y(C,{"aria-hidden":`true`}),y(c,{className:`m-0 h-4 p-0`,orientation:`vertical`}),e.split(` `)?.[0]]}),e&&n?.title?b(t,{className:g(`px-2`),size:`sm`,variant:`outline`,children:[b(`div`,{className:`flex items-center gap-1`,children:[y(S,{"aria-hidden":`true`,className:`!size-3`}),y(`p`,{className:`text-md`,children:`C`})]}),y(c,{className:`m-0 h-4 p-0`,orientation:`vertical`}),b(`div`,{className:`flex items-center gap-1`,children:[y(`span`,{children:`bunx @gentleduck/cli add`}),y(`span`,{className:`text-blue-400`,children:n.title.split(` `)?.[0]?.toLowerCase()})]})]}):b(`p`,{className:`flex h-full w-full items-center justify-center whitespace-nowrap text-right text-muted-foreground text-sm`,children:[y(`span`,{className:`whitespace-nowrap font-medium text-sm`,children:`Command palette`}),` for the documentation content.`]})]})})}export{xe as t};
2
+ //# sourceMappingURL=command-menu-BAD7s_Xg.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"command-menu-BAD7s_Xg.js","names":["c","l","u","d","a","i","o","e","f","n","p","r","h","g","_","v","y","b","s","t","o","s","i","c","l","u","n","d","e","r","a","t","s","c","i","l","u","d","f","p","r","m","t","a","n","o","e","i","c","l","u","r","d","t","s","a","n","e","c","p","m","h","g","_","v","y","d","b","o","x","s","S","C","r","t","f","e","l","a","i","n","o","d","f","l","p","a","m","i","h","g","_","e","u","v","n","r","t","s","n","o","s","c","t","r","e","a","Command","React","CommandPrimitive.Root","CommandPrimitive.Input","CommandPrimitive.List","CommandPrimitive.Empty","CommandPrimitive.Group","CommandPrimitive.Item","CommandPrimitive.Separator","CommandPrimitive.useCommandContext","flattened: FlattenedSidebarItem[]","titles: string[]","d","React","rows: VirtualRow[]","searchable: SearchableItem[]","scoreMap: Map<string, number>","r","filtered: VirtualRow[]","currentHeading: (VirtualRow & { type: 'heading' }) | null","pendingItems: ItemRow[]","b","a","e"],"sources":["../../duck-primitives/dist/command/command.js","../../duck-primitives/dist/command/empty.js","../../duck-primitives/dist/command/group.js","../../duck-primitives/dist/command/input.js","../../duck-primitives/dist/command/item.js","../../duck-primitives/dist/command/list.js","../../duck-primitives/dist/command/separator.js","../../registry-ui/src/command/command.tsx","../src/components/layouts/command-menu.tsx"],"sourcesContent":["\"use client\";import{t as e}from\"../compose-event-handler-DeOCM8_f.js\";import\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import{a as n}from\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import{t as r}from\"../use-id-B-hswbEL.js\";import{n as i}from\"../create-context-DVtxYIR4.js\";import{t as a}from\"../create-collection-S3CvffX1.js\";import*as o from\"react\";import{jsx as s}from\"react/jsx-runtime\";const c=`Command`,[l,u,d]=a(c),[f,p]=i(c,[d]),[m,h]=f(c),[g,_]=f(`CommandList`,{onItemLeave:void 0,listRef:{current:null},emptyRef:{current:null}}),[v,y]=f(`CommandItem`),[b,x]=f(`CommandGroup`),S=o.forwardRef((e,t)=>{let{__scopeCommand:i,dir:a,shouldFilter:c=!0,children:u,...d}=e,f=n(a),p=r(),h=o.useRef(null),g=o.useRef(``),[_,v]=o.useState(``),[y,b]=o.useState(null);return s(m,{scope:i,search:_,onSearchChange:v,dir:f,listId:p,inputRef:h,typeaheadSearchRef:g,selectedItem:y,setSelectedItem:b,selectedValue:y?.getAttribute(`data-value`)??null,selectedText:y?.textContent?.trim()??null,shouldFilter:c,children:s(l.Provider,{scope:i,children:s(C,{__scopeCommand:i,...d,ref:t,children:u})})})});S.displayName=c;const C=o.forwardRef((n,r)=>{let{__scopeCommand:i,children:a,...o}=n,l=h(c,i),d=u(i);return s(t.div,{\"data-slot\":`command`,dir:l.dir,...o,ref:r,onKeyDown:e(o.onKeyDown,e=>{if(e.key===`Tab`){e.preventDefault();return}let t=d().filter(e=>!e.disabled&&!e.ref.current?.hidden).map(e=>e.ref.current).filter(Boolean);if(e.key===`ArrowDown`){if(e.preventDefault(),t.length===0)return;let n=l.selectedItem?t.indexOf(l.selectedItem):-1,r=t[n===-1?0:Math.min(n+1,t.length-1)];r&&(l.setSelectedItem(r),r.scrollIntoView({block:`nearest`}));return}if(e.key===`ArrowUp`){if(e.preventDefault(),t.length===0)return;let n=l.selectedItem?t.indexOf(l.selectedItem):t.length,r=t[Math.max(n-1,0)];r&&(l.setSelectedItem(r),r.scrollIntoView({block:`nearest`}));return}if(e.key===`Home`){e.preventDefault(),t.length>0&&(l.setSelectedItem(t[0]),t[0].scrollIntoView({block:`nearest`}));return}if(e.key===`End`){if(e.preventDefault(),t.length>0){let e=t[t.length-1];l.setSelectedItem(e),e.scrollIntoView({block:`nearest`})}return}if(e.key===`Enter`&&l.selectedItem){e.preventDefault(),l.selectedItem.click();return}}),children:a})});C.displayName=`CommandInner`;export{l as Collection,S as Command,b as CommandGroupContextProvider,v as CommandItemContextProvider,g as CommandListProvider,m as CommandProvider,d as createCollectionScope,p as createCommandScope,u as useCollection,h as useCommandContext,x as useCommandGroupContext,y as useCommandItemContext,_ as useCommandListContext};\n//# sourceMappingURL=command.js.map","import{n as e}from\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import\"../use-id-B-hswbEL.js\";import\"../create-context-DVtxYIR4.js\";import\"../create-collection-S3CvffX1.js\";import{useCommandContext as n,useCommandListContext as r}from\"./command.js\";import*as i from\"react\";import{jsx as a}from\"react/jsx-runtime\";const o=`CommandEmpty`,s=i.forwardRef((i,s)=>{let{__scopeCommand:c,...l}=i,u=n(o,c),d=e(s,r(o,c).emptyRef);return a(t.div,{\"data-slot\":`command-empty`,role:`status`,\"aria-live\":`polite`,dir:u.dir,hidden:!0,...l,ref:d})});s.displayName=o;export{s as CommandEmpty};\n//# sourceMappingURL=empty.js.map","import\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t as e}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import{t}from\"../use-id-B-hswbEL.js\";import\"../create-context-DVtxYIR4.js\";import\"../create-collection-S3CvffX1.js\";import{CommandGroupContextProvider as n,useCommandContext as r}from\"./command.js\";import*as i from\"react\";import{jsx as a,jsxs as o}from\"react/jsx-runtime\";const s=`CommandGroup`,c=i.forwardRef((i,c)=>{let{__scopeCommand:l,heading:u,children:d,...f}=i,p=r(s,l),m=t();return a(n,{scope:l,id:m,children:o(e.div,{\"data-slot\":`command-group`,role:`group`,dir:p.dir,\"aria-labelledby\":u?m:void 0,...f,ref:c,children:[u&&a(e.div,{\"data-slot\":`command-group-heading`,id:m,dir:p.dir,children:u}),d]})})});c.displayName=s;export{c as CommandGroup};\n//# sourceMappingURL=group.js.map","import{t as e}from\"../compose-event-handler-DeOCM8_f.js\";import{n as t}from\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t as n}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import\"../use-id-B-hswbEL.js\";import\"../create-context-DVtxYIR4.js\";import\"../create-collection-S3CvffX1.js\";import{useCommandContext as r}from\"./command.js\";import*as i from\"react\";import{jsx as a}from\"react/jsx-runtime\";const o=`CommandInput`,s=i.forwardRef((i,s)=>{let{__scopeCommand:c,...l}=i,u=r(o,c),d=t(s,u.inputRef);return a(n.input,{\"data-slot\":`command-input`,role:`combobox`,dir:u.dir,\"aria-expanded\":`true`,\"aria-controls\":u.listId,\"aria-autocomplete\":`list`,...l,ref:d,onChange:e(l.onChange,e=>{u.onSearchChange(e.target.value)})})});s.displayName=o;export{s as CommandInput};\n//# sourceMappingURL=input.js.map","import{t as e}from\"../compose-event-handler-DeOCM8_f.js\";import{n as t}from\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t as n}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import{t as r}from\"../use-id-B-hswbEL.js\";import\"../create-context-DVtxYIR4.js\";import\"../create-collection-S3CvffX1.js\";import{Collection as i,CommandItemContextProvider as a,useCommandContext as o,useCommandListContext as s}from\"./command.js\";import*as c from\"react\";import{jsx as l}from\"react/jsx-runtime\";const u=`CommandItem`,d=c.forwardRef((d,f)=>{let{__scopeCommand:p,value:m=``,disabled:h=!1,textValue:g,onSelect:_,children:v,...y}=d,b=o(u,p),x=s(u,p),[S,C]=c.useState(g??``),w=r(),T=r(),E=c.useRef(null),D=c.useRef(`touch`),O=t(f,E,e=>{e&&!g&&C(t=>t||(e.textContent??``).trim())}),k=b.selectedItem!==null&&b.selectedItem===E.current,A=()=>{h||_?.(m)};return l(a,{scope:p,...c.useMemo(()=>({value:m,disabled:h,textId:w,onItemTextChange:e=>{C(t=>t||(e?.textContent??``).trim())}}),[m,h,w]),children:l(i.ItemSlot,{scope:p,value:m,disabled:h,textValue:S,children:l(n.li,{id:T,\"data-slot\":`command-item`,\"data-value\":m,role:`option`,dir:b.dir,\"data-highlighted\":k?``:void 0,\"aria-selected\":k,\"aria-disabled\":h||void 0,\"data-disabled\":h?``:void 0,tabIndex:h?void 0:-1,...y,ref:O,onFocus:e(y.onFocus,e=>{b.setSelectedItem(e.currentTarget)}),onBlur:e(y.onBlur,()=>{}),onClick:e(y.onClick,()=>{D.current!==`mouse`&&A()}),onPointerUp:e(y.onPointerUp,()=>{D.current===`mouse`&&A()}),onPointerDown:e(y.onPointerDown,e=>{D.current=e.pointerType}),onPointerMove:e(y.onPointerMove,e=>{D.current=e.pointerType,h?x.onItemLeave?.():D.current===`mouse`&&b.setSelectedItem(e.currentTarget)}),onPointerLeave:e(y.onPointerLeave,e=>{e.currentTarget===document.activeElement&&x.onItemLeave?.()}),onKeyDown:e(y.onKeyDown,e=>{b.typeaheadSearchRef?.current!==``&&e.key===` `||(e.key===`Enter`||e.key===` `)&&(A(),e.key===` `&&e.preventDefault())}),children:v})})})});d.displayName=u;export{d as CommandItem};\n//# sourceMappingURL=item.js.map","import{n as e}from\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import\"../use-id-B-hswbEL.js\";import\"../create-context-DVtxYIR4.js\";import\"../create-collection-S3CvffX1.js\";import{Collection as n,CommandListProvider as r,useCollection as i,useCommandContext as a}from\"./command.js\";import*as o from\"react\";import{jsx as s}from\"react/jsx-runtime\";const c=`CommandList`,l=o.forwardRef((l,u)=>{let{__scopeCommand:d,...f}=l,p=a(c,d),m=i(d),h=o.useRef(null),g=o.useRef(null),_=e(u,h),v=o.useCallback(()=>{p.setSelectedItem(null),p.inputRef.current?.focus({preventScroll:!0})},[p.inputRef,p.setSelectedItem]);return o.useEffect(()=>{if(!p.shouldFilter)return;let e=m();if(e.length===0)return;let t=0;for(let n of e){let e=n.ref.current;if(!e)continue;let r=n.textValue||e.textContent||``;p.search&&!r.toLowerCase().includes(p.search.toLowerCase())?(e.hidden=!0,t++):e.hidden=!1}let n=e.find(e=>!e.ref.current?.hidden);if(p.setSelectedItem(n?.ref.current??null),g.current&&(g.current.hidden=t<e.length),h.current){let e=h.current.querySelectorAll(`[data-slot=\"command-group\"]`);for(let t=0;t<e.length;t++){let n=e[t],r=n.querySelectorAll(`[data-slot=\"command-item\"]:not([hidden])`),i=n.nextElementSibling,a=i?.getAttribute(`data-slot`)===`command-separator`;r.length===0?(n.hidden=!0,a&&i&&(i.hidden=!0)):(n.hidden=!1,a&&i&&(i.hidden=!1))}}},[p.search,p.shouldFilter,m]),s(r,{scope:d,onItemLeave:v,listRef:h,emptyRef:g,children:s(n.Slot,{scope:d,children:s(t.ul,{\"data-slot\":`command-list`,role:`listbox`,id:p.listId,dir:p.dir,...f,ref:_})})})});l.displayName=c;export{l as CommandList};\n//# sourceMappingURL=list.js.map","import\"../compose-ref-qJpEeJiW.js\";import\"../slot-B-X2-pKU.js\";import\"../slot-GxcGorn9.js\";import{t as e}from\"../primitive-elements-Ds9SbVBa.js\";import\"../primitive-elements-BEtvps3A.js\";import\"../direction-B-anGbxM.js\";import\"../direction-D-TYz9YR.js\";import\"../use-layout-effect-DL9uVXpf.js\";import\"../use-id-B-hswbEL.js\";import\"../create-context-DVtxYIR4.js\";import\"../create-collection-S3CvffX1.js\";import{useCommandContext as t}from\"./command.js\";import*as n from\"react\";import{jsx as r}from\"react/jsx-runtime\";const i=`CommandSeparator`,a=n.forwardRef((n,a)=>{let{__scopeCommand:o,...s}=n,c=t(i,o);return r(e.div,{\"data-slot\":`command-separator`,role:`separator`,\"aria-hidden\":!0,dir:c.dir,...s,ref:a})});a.displayName=i;export{a as CommandSeparator};\n//# sourceMappingURL=separator.js.map","'use client'\n\nimport { cn } from '@gentleduck/libs/cn'\nimport * as CommandPrimitive from '@gentleduck/primitives/command'\nimport { useKeyCommands } from '@gentleduck/vim/react'\nimport { Search } from 'lucide-react'\nimport * as React from 'react'\nimport { Dialog, DialogContent, DialogDescription, DialogTitle } from '../dialog'\nimport { ScrollArea } from '../scroll-area'\nimport type { CommandBadgeProps } from './command.types'\n\nconst Command = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Root\n ref={ref}\n data-slot=\"command\"\n className={cn(\n 'flex h-full w-full max-w-162.5 flex-col overflow-hidden rounded-md bg-popover p-2 text-popover-foreground shadow-sm',\n className,\n )}\n {...props}\n />\n))\nCommand.displayName = CommandPrimitive.Root.displayName\n\nconst CommandInput = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.Input>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input> & {\n wrapperClassName?: string\n }\n>(({ className, wrapperClassName, placeholder = 'Search...', autoFocus = false, ...props }, ref) => (\n <div className={cn('mb-2 flex items-center gap-2 border-b px-1', wrapperClassName)} data-slot=\"command-input\">\n <Search aria-hidden=\"true\" className=\"size-5 shrink-0 opacity-50\" />\n <CommandPrimitive.Input\n ref={ref}\n autoFocus={autoFocus}\n placeholder={placeholder}\n className={cn(\n 'flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50',\n className,\n )}\n // tabIndex={0}\n {...props}\n />\n </div>\n))\nCommandInput.displayName = CommandPrimitive.Input.displayName\n\nconst CommandList = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.List> & {\n scrollRef?: React.Ref<HTMLDivElement>\n }\n>(({ className, scrollRef, ...props }, ref) => (\n <ScrollArea\n className=\"overflow-y-auto overflow-x-hidden\"\n data-slot=\"command-list\"\n viewportClassName=\"overflow-x-hidden\"\n viewportRef={scrollRef}>\n <CommandPrimitive.List ref={ref} className={cn('max-h-75 focus:outline-none', className)} {...props} />\n </ScrollArea>\n))\nCommandList.displayName = CommandPrimitive.List.displayName\n\nconst CommandEmpty = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.Empty>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Empty>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Empty\n ref={ref}\n data-slot=\"command-empty\"\n className={cn('py-6 text-center text-sm', className)}\n {...props}\n />\n))\nCommandEmpty.displayName = CommandPrimitive.Empty.displayName\n\nconst CommandGroup = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.Group>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Group>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Group\n ref={ref}\n data-slot=\"command-group\"\n className={cn(\n 'overflow-hidden text-foreground *:data-[slot=\"command-group-heading\"]:px-2 *:data-[slot=\"command-group-heading\"]:py-1.5 *:data-[slot=\"command-group-heading\"]:font-medium *:data-[slot=\"command-group-heading\"]:text-muted-foreground *:data-[slot=\"command-group-heading\"]:text-sm',\n className,\n )}\n {...props}\n />\n))\nCommandGroup.displayName = CommandPrimitive.Group.displayName\n\nconst CommandItem = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Item\n ref={ref}\n data-slot=\"command-item\"\n className={cn(\n 'relative flex cursor-pointer select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden transition-color duration-300 hover:bg-muted hover:text-accent-foreground data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-50 [&_svg]:size-4',\n className,\n )}\n {...props}\n />\n))\nCommandItem.displayName = CommandPrimitive.Item.displayName\n\nconst CommandSeparator = React.forwardRef<\n React.ComponentRef<typeof CommandPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof CommandPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <CommandPrimitive.Separator\n ref={ref}\n data-slot=\"command-separator\"\n className={cn('-mx-1 my-2 h-px bg-secondary', className)}\n {...props}\n />\n))\nCommandSeparator.displayName = CommandPrimitive.Separator.displayName\n\nfunction CommandShortcut({\n className,\n keys,\n onKeysPressed,\n variant = 'default',\n ref,\n ...props\n}: CommandBadgeProps): React.JSX.Element {\n const commands = React.useMemo(\n () =>\n keys && onKeysPressed\n ? {\n [keys]: {\n description: keys,\n execute: () => {\n onKeysPressed()\n },\n name: keys,\n },\n }\n : {},\n [keys, onKeysPressed],\n )\n\n useKeyCommands(commands, { preventDefault: true })\n\n return (\n <kbd\n className={cn(\n 'focus:offset-2 pointer-events-none ms-auto inline-flex cursor-none select-none items-center gap-0.5 rounded-sm px-2 py-[.12rem] font-sans text-secondary-foreground text-sm tracking-widest transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring [&_svg]:size-3',\n variant === 'secondary' && 'bg-secondary',\n className,\n )}\n data-slot=\"command-badge\"\n ref={ref}\n {...props}\n />\n )\n}\n\nfunction CommandDialog({\n children,\n shouldFilter,\n ...props\n}: React.ComponentPropsWithRef<typeof Dialog> & { shouldFilter?: boolean }): React.JSX.Element {\n return (\n <Dialog {...props}>\n <DialogContent className=\"h-125 max-w-full p-0 lg:w-[700px]\">\n <DialogTitle className=\"sr-only\">Command palette</DialogTitle>\n <DialogDescription className=\"sr-only\">Search for commands and navigation items</DialogDescription>\n <Command className=\"max-w-full\" shouldFilter={shouldFilter}>\n {children}\n </Command>\n </DialogContent>\n </Dialog>\n )\n}\n\nfunction useCommandListContext(__scopeCommand: Parameters<typeof CommandPrimitive.useCommandContext>[1]) {\n return CommandPrimitive.useCommandContext('Command', __scopeCommand)\n}\n\nexport {\n Command,\n CommandInput,\n CommandList,\n CommandGroup,\n CommandItem,\n CommandEmpty,\n CommandShortcut,\n CommandSeparator,\n CommandDialog,\n useCommandListContext,\n}\n","'use client'\n\nimport { useDocsConfig, useDocsEntries } from '@duck-docs/context'\nimport type { DocsEntry, TocEntry } from '@duck-docs/context/context.types'\nimport type { SidebarNavItem } from '@duck-docs/types/nav'\nimport { cn } from '@gentleduck/libs/cn'\nimport { Button } from '@gentleduck/registry-ui/button'\nimport {\n CommandDialog,\n CommandEmpty,\n CommandInput,\n CommandItem,\n CommandList,\n CommandShortcut,\n useCommandListContext,\n} from '@gentleduck/registry-ui/command'\nimport { Separator } from '@gentleduck/registry-ui/separator'\nimport { useKeyCommands } from '@gentleduck/vim/react'\nimport { useVirtualizer } from '@tanstack/react-virtual'\nimport { Circle, Command, CornerDownLeft, FileIcon, Moon, Sun } from 'lucide-react'\nimport lunr from 'lunr'\nimport { useRouter } from 'next/navigation'\nimport { useTheme } from 'next-themes'\nimport * as React from 'react'\n\n// -- Types -------------------------------------------------------------------\n\ntype FlattenedSidebarItem = {\n href: string\n title: string\n}\n\ntype VirtualRow =\n | { type: 'heading'; title: string }\n | { type: 'item'; name: string; href: string; icon: React.ReactNode; action: () => void }\n\ntype ItemRow = VirtualRow & { type: 'item' }\n\ntype SearchableItem = {\n groupTitle: string\n id: string\n leafTitle: string\n name: string\n segments: string\n tocHeadings: string\n}\n\n// -- Constants ---------------------------------------------------------------\n\nconst HEADING_HEIGHT = 32\nconst ITEM_HEIGHT = 36\n\n// -- Helpers -----------------------------------------------------------------\n\nfunction flattenSidebarItems(items: SidebarNavItem[], parentTitle = ''): FlattenedSidebarItem[] {\n const flattened: FlattenedSidebarItem[] = []\n\n for (const item of items) {\n const title = parentTitle ? `${parentTitle} / ${item.title}` : item.title\n\n if (item.href && !item.disabled) {\n flattened.push({\n href: item.href,\n title,\n })\n }\n\n if (item.items?.length) {\n flattened.push(...flattenSidebarItems(item.items, title))\n }\n }\n\n return flattened\n}\n\nfunction flattenTocTitles(entries?: TocEntry[]): string {\n if (!entries || entries.length === 0) return ''\n const titles: string[] = []\n for (const entry of entries) {\n titles.push(entry.title)\n if (entry.items?.length) {\n titles.push(flattenTocTitles(entry.items))\n }\n }\n return titles.join(' ')\n}\n\nfunction findTocHeadings(docs: DocsEntry[] | undefined, href: string): string {\n if (!docs || !href) return ''\n const doc = docs.find((d) => d.permalink === href || d.slug === href)\n return doc?.toc ? flattenTocTitles(doc.toc) : ''\n}\n\nfunction buildSearchIndex(items: SearchableItem[]): lunr.Index {\n return lunr(function () {\n this.ref('id')\n this.field('leafTitle', { boost: 10 })\n this.field('name', { boost: 5 })\n this.field('segments', { boost: 3 })\n this.field('tocHeadings', { boost: 2 })\n this.field('groupTitle', { boost: 1 })\n\n this.pipeline.remove(lunr.stemmer)\n this.searchPipeline.remove(lunr.stemmer)\n\n for (const item of items) {\n this.add(item)\n }\n })\n}\n\n// -- CommandMenu -------------------------------------------------------------\n\nexport function CommandMenu() {\n const router = useRouter()\n const [open, setOpen] = React.useState(false)\n const { setTheme } = useTheme()\n const docsConfig = useDocsConfig()\n const docsEntries = useDocsEntries()\n const [selectedLabel, setSelectedLabel] = React.useState('')\n\n const items = React.useMemo(\n () => [\n ...docsConfig.sidebarNav.map((group) => ({\n items: flattenSidebarItems(group.items ?? []).map((navItem) => ({\n action: () => router.push(navItem.href),\n href: navItem.href,\n icon: <Circle aria-hidden=\"true\" className=\"mr-2 h-3 w-3\" />,\n name: navItem.title,\n })),\n title: group.title,\n })),\n {\n items: [\n {\n action: () => setTheme('light'),\n href: '',\n icon: <Sun aria-hidden=\"true\" className=\"mr-2 h-4 w-4\" />,\n name: 'Light',\n },\n {\n action: () => setTheme('dark'),\n href: '',\n icon: <Moon aria-hidden=\"true\" className=\"mr-2 h-4 w-4\" />,\n name: 'Dark',\n },\n {\n action: () => setTheme('system'),\n href: '',\n icon: <FileIcon aria-hidden=\"true\" className=\"mr-2 h-4 w-4\" />,\n name: 'System',\n },\n ],\n title: 'Theme',\n },\n ],\n [docsConfig.sidebarNav, router, setTheme],\n )\n\n const flatRows = React.useMemo<VirtualRow[]>(() => {\n const rows: VirtualRow[] = []\n for (const group of items) {\n rows.push({ type: 'heading', title: group.title })\n for (const item of group.items) {\n rows.push({ type: 'item', name: item.name, href: item.href, icon: item.icon, action: item.action })\n }\n }\n return rows\n }, [items])\n\n const searchIndex = React.useMemo(() => {\n const searchable: SearchableItem[] = []\n\n for (const group of items) {\n if (group.title === 'Theme') continue\n for (const item of group.items) {\n const segments = item.name.split(' / ')\n const leafTitle = segments[segments.length - 1] ?? item.name\n searchable.push({\n groupTitle: group.title,\n id: item.name,\n leafTitle,\n name: item.name,\n segments: segments.join(' '),\n tocHeadings: findTocHeadings(docsEntries, item.href),\n })\n }\n }\n\n return searchable.length > 0 ? buildSearchIndex(searchable) : null\n }, [items, docsEntries])\n\n return (\n <>\n <Button\n className={cn(\n 'relative h-8 w-full bg-muted/50 text-muted-foreground text-sm shadow-none md:w-40 lg:w-64 ltr:pr-2 rtl:pl-2 [&>div]:w-full [&>div]:justify-between',\n )}\n onClick={() => setOpen(true)}\n size={'sm'}\n variant=\"outline\">\n <span className=\"hidden lg:inline-flex\">Search documentation...</span>\n <span className=\"inline-flex lg:hidden\">Search...</span>\n <CommandShortcut\n className=\"bg-secondary\"\n keys={'ctrl+k'}\n onKeysPressed={() => {\n setOpen((prev) => !prev)\n }}>\n <Command aria-hidden=\"true\" className=\"!size-3\" />\n <span className=\"text-md\">K</span>\n </CommandShortcut>\n </Button>\n <CommandDialog onOpenChange={setOpen} open={open} shouldFilter={false}>\n <CommandInput autoFocus placeholder=\"Search...\" />\n <VirtualCommandList\n flatRows={flatRows}\n onClose={() => setOpen(false)}\n onSelectedLabelChange={setSelectedLabel}\n searchIndex={searchIndex}\n />\n <CommandFooter selectedLabel={selectedLabel} />\n </CommandDialog>\n </>\n )\n}\n\n// -- VirtualCommandList ------------------------------------------------------\n\nfunction VirtualCommandList({\n flatRows,\n onClose,\n onSelectedLabelChange,\n searchIndex,\n}: {\n flatRows: VirtualRow[]\n onClose: () => void\n onSelectedLabelChange: (label: string) => void\n searchIndex: lunr.Index | null\n}) {\n const { search } = useCommandListContext({})\n const scrollRef = React.useRef<HTMLDivElement>(null)\n const [selectedIndex, setSelectedIndex] = React.useState(0)\n\n const filteredRows = React.useMemo<VirtualRow[]>(() => {\n if (!search) return flatRows\n\n // Build score map from lunr results for doc items\n let scoreMap: Map<string, number>\n\n try {\n if (!searchIndex) throw new Error('no index')\n const sanitized = search.replace(/[:\\*\\~\\+\\-\\^]/g, '\\\\$&')\n const terms = sanitized.trim().split(/\\s+/).filter(Boolean)\n if (terms.length === 0) return flatRows\n\n // Try wildcard prefix matching first (natural for incremental typing)\n let results = searchIndex.search(terms.map((t) => `${t}*`).join(' '))\n\n // Fuzzy fallback for typos\n if (results.length === 0) {\n results = searchIndex.search(terms.map((t) => `${t}~1`).join(' '))\n }\n\n scoreMap = new Map(results.map((r) => [r.ref, r.score]))\n } catch {\n // lunr threw on invalid syntax -- fall back to substring\n const q = search.toLowerCase()\n scoreMap = new Map(\n flatRows\n .filter((r): r is ItemRow => r.type === 'item' && r.name.toLowerCase().includes(q))\n .map((r) => [r.name, 1]),\n )\n }\n\n const query = search.toLowerCase()\n const filtered: VirtualRow[] = []\n let currentHeading: (VirtualRow & { type: 'heading' }) | null = null\n let pendingItems: ItemRow[] = []\n let isThemeGroup = false\n\n const flushGroup = () => {\n if (pendingItems.length > 0 && currentHeading) {\n // Sort items within group by lunr score (highest first)\n pendingItems.sort((a, b) => (scoreMap.get(b.name) ?? 0) - (scoreMap.get(a.name) ?? 0))\n filtered.push(currentHeading)\n filtered.push(...pendingItems)\n }\n pendingItems = []\n }\n\n for (const row of flatRows) {\n if (row.type === 'heading') {\n flushGroup()\n currentHeading = row\n isThemeGroup = row.title === 'Theme'\n } else if (row.type === 'item') {\n // Theme items use substring, doc items use lunr\n const isMatch = isThemeGroup ? row.name.toLowerCase().includes(query) : scoreMap.has(row.name)\n if (isMatch) {\n pendingItems.push(row)\n }\n }\n }\n flushGroup()\n\n return filtered\n }, [flatRows, search, searchIndex])\n\n // Extract only item rows for index-based navigation\n const itemRows = React.useMemo<ItemRow[]>(\n () => filteredRows.filter((r): r is ItemRow => r.type === 'item'),\n [filteredRows],\n )\n\n // Reset selection when search/filter changes\n React.useEffect(() => {\n setSelectedIndex(0)\n }, [search])\n\n // Clamp selectedIndex to valid range\n const clampedIndex = itemRows.length > 0 ? Math.min(selectedIndex, itemRows.length - 1) : -1\n const selectedRow = clampedIndex >= 0 ? itemRows[clampedIndex] : null\n\n // Sync selected label to parent for footer\n React.useEffect(() => {\n onSelectedLabelChange(selectedRow?.name ?? '')\n }, [selectedRow?.name, onSelectedLabelChange])\n\n // Find the index in filteredRows (including headings) for virtualizer scrolling\n const selectedFilteredIndex = selectedRow ? filteredRows.indexOf(selectedRow) : -1\n\n const virtualizer = useVirtualizer({\n count: filteredRows.length,\n getScrollElement: () => scrollRef.current,\n estimateSize: (index) => (filteredRows[index]?.type === 'heading' ? HEADING_HEIGHT : ITEM_HEIGHT),\n overscan: 5,\n })\n\n // Scroll virtualizer to selected item when it changes\n React.useEffect(() => {\n if (selectedFilteredIndex >= 0) {\n virtualizer.scrollToIndex(selectedFilteredIndex, { align: 'auto' })\n }\n }, [selectedFilteredIndex, virtualizer])\n\n // Keyboard navigation via capture-phase listener.\n const stableRef = React.useRef({ itemRows, selectedRow, clampedIndex, onClose })\n stableRef.current = { itemRows, selectedRow, clampedIndex, onClose }\n\n React.useEffect(() => {\n const handler = (e: KeyboardEvent) => {\n const { itemRows: rows, selectedRow: selected, clampedIndex: idx, onClose: close } = stableRef.current\n if (rows.length === 0 && e.key !== 'Escape') return\n\n switch (e.key) {\n case 'ArrowDown':\n e.preventDefault()\n setSelectedIndex((prev) => Math.min(prev + 1, rows.length - 1))\n break\n case 'ArrowUp':\n e.preventDefault()\n setSelectedIndex((prev) => Math.max(prev - 1, 0))\n break\n case 'Home':\n e.preventDefault()\n setSelectedIndex(0)\n break\n case 'End':\n e.preventDefault()\n setSelectedIndex(rows.length - 1)\n break\n case 'Enter':\n e.preventDefault()\n if (selected) {\n close()\n selected.action()\n }\n break\n }\n }\n document.addEventListener('keydown', handler, true)\n return () => document.removeEventListener('keydown', handler, true)\n }, [])\n\n const isEmpty = itemRows.length === 0\n\n // The primitive's CommandList has a built-in substring filter that sets el.hidden = true.\n // Since we handle filtering ourselves via lunr, unhide all items after the primitive's effect runs.\n const listContainerRef = React.useRef<HTMLDivElement>(null)\n React.useEffect(() => {\n const container = listContainerRef.current\n if (!container) return\n const hiddenItems = container.querySelectorAll('[data-slot=\"command-item\"][hidden]')\n hiddenItems.forEach((el) => el.removeAttribute('hidden'))\n })\n\n return (\n <>\n {isEmpty && <CommandEmpty>No results found.</CommandEmpty>}\n <CommandList className=\"h-[390px] max-h-full w-full md:w-full\" scrollRef={scrollRef}>\n <div ref={listContainerRef} style={{ height: virtualizer.getTotalSize(), position: 'relative', width: '100%' }}>\n {virtualizer.getVirtualItems().map((virtualRow) => {\n const row = filteredRows[virtualRow.index]\n const isSelected = row === selectedRow\n return (\n <div\n key={virtualRow.key}\n data-index={virtualRow.index}\n ref={virtualizer.measureElement}\n style={{\n position: 'absolute',\n top: 0,\n left: 0,\n width: '100%',\n transform: `translateY(${virtualRow.start}px)`,\n }}>\n {row?.type === 'heading' ? (\n <div\n data-slot=\"command-group-heading\"\n className=\"px-2 py-1.5 font-medium text-muted-foreground text-sm\">\n {row.title}\n </div>\n ) : (\n <CommandItem\n value={row?.name}\n data-highlighted={isSelected ? '' : undefined}\n aria-selected={isSelected}\n onSelect={() => {\n onClose()\n row?.action()\n }}\n onPointerMove={() => {\n const idx = itemRows.indexOf(row as ItemRow)\n if (idx >= 0) setSelectedIndex(idx)\n }}>\n {row?.icon}\n <span>{row?.name}</span>\n </CommandItem>\n )}\n </div>\n )\n })}\n </div>\n </CommandList>\n </>\n )\n}\n\n// -- CommandFooter -----------------------------------------------------------\n\nfunction CommandFooter({ selectedLabel }: { selectedLabel: string }) {\n const docsConfig = useDocsConfig()\n const sidebarItems = docsConfig.sidebarNav.flatMap((group) => flattenSidebarItems(group.items ?? []))\n const selectedNavItem = sidebarItems.find((item) => item.title === selectedLabel)\n useKeyCommands(\n {\n 'ctrl+shift+c': {\n description: 'Copy command',\n execute: () => {\n if (!selectedLabel) return\n navigator.clipboard.writeText(`bunx @gentleduck/cli add ${selectedLabel.toLowerCase().replace(/ /g, '-')}`)\n },\n name: 'ctrl+shift+c',\n },\n },\n { preventDefault: true },\n )\n return (\n <div className=\"hidden h-10 w-full items-center justify-between gap-4 border-t px-2 pt-2 lg:flex\">\n <div className=\"flex h-full w-full items-center justify-between gap-4\">\n {selectedLabel && (\n <Button className={cn('px-2')} size={'sm'} variant={'outline'}>\n <CornerDownLeft aria-hidden=\"true\" />\n <Separator className=\"m-0 h-4 p-0\" orientation=\"vertical\" />\n {selectedLabel.split(' ')?.[0]}\n </Button>\n )}\n {selectedLabel && selectedNavItem?.title ? (\n <Button className={cn('px-2')} size={'sm'} variant={'outline'}>\n <div className=\"flex items-center gap-1\">\n <Command aria-hidden=\"true\" className=\"!size-3\" />\n <p className=\"text-md\">C</p>\n </div>\n <Separator className=\"m-0 h-4 p-0\" orientation=\"vertical\" />\n <div className=\"flex items-center gap-1\">\n <span>bunx @gentleduck/cli add</span>\n <span className=\"text-blue-400\">{selectedNavItem.title.split(' ')?.[0]?.toLowerCase()}</span>\n </div>\n </Button>\n ) : (\n <p className=\"flex h-full w-full items-center justify-center whitespace-nowrap text-right text-muted-foreground text-sm\">\n <span className=\"whitespace-nowrap font-medium text-sm\">Command palette</span> for the documentation\n content.\n </p>\n )}\n </div>\n </div>\n )\n}\n"],"mappings":"u6BAAokB,MAAMA,EAAE,UAAU,CAACC,EAAEC,EAAEC,IAAGC,EAAEJ,EAAE,CAAC,CAAC,EAAE,IAAGK,EAAEL,EAAE,CAACG,GAAE,CAAC,CAAC,CAAC,GAAE,GAAG,EAAEH,EAAE,CAAC,CAAC,GAAE,GAAG,EAAE,cA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Y,YAAa,CAC5D,EAAC,MAAA,CAAI,UAAU,oCACb,EAAC,OAAA,CAAA,SAAK,2BAAA,CAA+B,CACrC,EAAC,OAAA,CAAK,UAAU,yBAAiB,EAAgB,MAAM,MAAM,IAAI,GAAG,IAAI,aAAa,EAAQ,CAAA,EACzF,GACC,CAET,EAAC,IAAA,CAAE,UAAU,sHACX,EAAC,OAAA,CAAK,UAAU,iDAAwC,mBAAsB,CAAA,kCAAA,EAE5E,CAAA,EAEF,EACF"}
@@ -0,0 +1,7 @@
1
+ import * as react_jsx_runtime88 from "react/jsx-runtime";
2
+
3
+ //#region src/components/layouts/command-menu.d.ts
4
+ declare function CommandMenu(): react_jsx_runtime88.JSX.Element;
5
+ //#endregion
6
+ export { CommandMenu as t };
7
+ //# sourceMappingURL=command-menu-D0jdcvaZ.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-menu-D3T3sLXZ.d.ts","names":[],"sources":["../src/components/layouts/command-menu.tsx"],"sourcesContent":[],"mappings":";;;iBAiHgB,WAAA,CAAA,GAAW,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"command-menu-D0jdcvaZ.d.ts","names":[],"sources":["../src/components/layouts/command-menu.tsx"],"sourcesContent":[],"mappings":";;;iBAiHgB,WAAA,CAAA,GAAW,mBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime88 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime85 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/mdx/mdx-components/code/component-preview.d.ts
5
5
  interface ComponentPreviewProps extends React$1.HTMLAttributes<HTMLDivElement> {
@@ -22,12 +22,12 @@ declare function ComponentPreview({
22
22
  hideCode,
23
23
  showSettings,
24
24
  ...props
25
- }: ComponentPreviewProps): react_jsx_runtime88.JSX.Element;
26
- declare const BuildTab: () => react_jsx_runtime88.JSX.Element;
25
+ }: ComponentPreviewProps): react_jsx_runtime85.JSX.Element;
26
+ declare const BuildTab: () => react_jsx_runtime85.JSX.Element;
27
27
  declare const TABS: {
28
28
  name: string;
29
29
  value: string;
30
30
  }[];
31
31
  //#endregion
32
32
  export { ComponentPreview as n, TABS as r, BuildTab as t };
33
- //# sourceMappingURL=component-preview-CZkJsPr_.d.ts.map
33
+ //# sourceMappingURL=component-preview-B-gSgXOF.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-preview-CZkJsPr_.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/code/component-preview.tsx"],"sourcesContent":[],"mappings":";;;;UAWU,qBAAA,SAA8B,OAAA,CAAM,eAAe;;;EAAnD,mBAAA,CAAA,EAAA,MAAsB;EAuChB,KAAA,CAAA,EAAA,QAAA,GAAgB,OAAA,GAAA,KAAA;EAC9B,WAAA,CAAA,EAAA,MAAA;EACA,QAAA,CAAA,EAAA,OAAA;EACA,YAAA,CAAA,EAAA,OAAA;;AAEA,iBALc,gBAAA,CAKd;EAAA,IAAA;EAAA,QAAA;EAAA,SAAA;EAAA,gBAAA;EAAA,mBAAA;EAAA,KAAA;EAAA,WAAA;EAAA,QAAA;EAAA,YAAA;EAAA,GAAA;AAAA,CAAA,EAMC,qBAND,CAAA,EAMsB,mBAAA,CAAA,GAAA,CAAA,OANtB;AACA,cA+FW,QA/FX,EAAA,GAAA,GA+FmB,mBAAA,CAAA,GAAA,CAAA,OA/FnB;AACA,cAiHW,IAjHX,EAAA;EACA,IAAA,EAAA,MAAA;EACA,KAAA,EAAA,MAAA;CAEC,EAAA"}
1
+ {"version":3,"file":"component-preview-B-gSgXOF.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/code/component-preview.tsx"],"sourcesContent":[],"mappings":";;;;UAWU,qBAAA,SAA8B,OAAA,CAAM,eAAe;;;EAAnD,mBAAA,CAAA,EAAA,MAAsB;EAuChB,KAAA,CAAA,EAAA,QAAA,GAAgB,OAAA,GAAA,KAAA;EAC9B,WAAA,CAAA,EAAA,MAAA;EACA,QAAA,CAAA,EAAA,OAAA;EACA,YAAA,CAAA,EAAA,OAAA;;AAEA,iBALc,gBAAA,CAKd;EAAA,IAAA;EAAA,QAAA;EAAA,SAAA;EAAA,gBAAA;EAAA,mBAAA;EAAA,KAAA;EAAA,WAAA;EAAA,QAAA;EAAA,YAAA;EAAA,GAAA;AAAA,CAAA,EAMC,qBAND,CAAA,EAMsB,mBAAA,CAAA,GAAA,CAAA,OANtB;AACA,cA+FW,QA/FX,EAAA,GAAA,GA+FmB,mBAAA,CAAA,GAAA,CAAA,OA/FnB;AACA,cAiHW,IAjHX,EAAA;EACA,IAAA,EAAA,MAAA;EACA,KAAA,EAAA,MAAA;CAEC,EAAA"}
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime91 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime87 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/mdx/mdx-components/code/component-source.d.ts
5
5
  interface ComponentSourceProps extends React$1.HTMLAttributes<HTMLDivElement> {
@@ -10,7 +10,7 @@ declare function ComponentSource({
10
10
  children,
11
11
  className,
12
12
  ...props
13
- }: ComponentSourceProps): react_jsx_runtime91.JSX.Element;
13
+ }: ComponentSourceProps): react_jsx_runtime87.JSX.Element;
14
14
  //#endregion
15
15
  export { ComponentSource as t };
16
- //# sourceMappingURL=component-source-D0Yfh8j5.d.ts.map
16
+ //# sourceMappingURL=component-source-BS8Rq18Y.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-source-D0Yfh8j5.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/code/component-source.tsx"],"sourcesContent":[],"mappings":";;;;UASU,oBAAA,SAA6B,OAAA,CAAM,eAAe;aAC/C,OAAA,CAAM;;AAJW;AAG8B,iBAc5C,eAAA,CAd4C;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAcO,oBAdP,CAAA,EAc2B,mBAAA,CAAA,GAAA,CAAA,OAd3B"}
1
+ {"version":3,"file":"component-source-BS8Rq18Y.d.ts","names":[],"sources":["../src/components/mdx/mdx-components/code/component-source.tsx"],"sourcesContent":[],"mappings":";;;;UASU,oBAAA,SAA6B,OAAA,CAAM,eAAe;aAC/C,OAAA,CAAM;;AAJW;AAG8B,iBAc5C,eAAA,CAd4C;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAcO,oBAdP,CAAA,EAc2B,mBAAA,CAAA,GAAA,CAAA,OAd3B"}
@@ -1,2 +1,2 @@
1
- import { t as DocsCopyPage } from "../../docs-copy-page-RX6QARJ5.js";
1
+ import { t as DocsCopyPage } from "../../docs-copy-page-Da2aH8ZU.js";
2
2
  export { DocsCopyPage };
@@ -1 +1 @@
1
- "use client";import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow--d9nzYrD-DznC9R7B.js";import"../../create-collection-BGqkd0fl-BNg1clsw.js";import"../../dropdown-menu-EhrY8joQ.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import{t as e}from"../../docs-copy-page-1xiveuoU.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";export{e as DocsCopyPage};
1
+ "use client";import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow-CU5T6t_D-BA13FgoC.js";import"../../create-collection-S3CvffX1-DA20ZU15.js";import"../../dropdown-menu-DYiM8COh.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import{t as e}from"../../docs-copy-page-BjCHLC98.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";export{e as DocsCopyPage};
@@ -1,4 +1,4 @@
1
- import "../../context-Cd5lDJ0U.js";
1
+ import "../../context-CewYP6fx.js";
2
2
  import "../../index-DKjTz6WE.js";
3
- import { i as getPagerForDoc, n as DocsPagerTop, r as flatten, t as DocsPagerBottom } from "../../docs-pager-DVMWDPhR.js";
3
+ import { i as getPagerForDoc, n as DocsPagerTop, r as flatten, t as DocsPagerBottom } from "../../docs-pager-CtmhHIR1.js";
4
4
  export { DocsPagerBottom, DocsPagerTop, flatten, getPagerForDoc };
@@ -1,4 +1,4 @@
1
- import "../../context-Cd5lDJ0U.js";
1
+ import "../../context-CewYP6fx.js";
2
2
  import "../../index-DKjTz6WE.js";
3
- import { i as DocsSidebarNavProps, n as DocsSidebarNavItem, r as DocsSidebarNavItems, t as DocsSidebarNav } from "../../docs-sidebar-BSYoPkLy.js";
3
+ import { i as DocsSidebarNavProps, n as DocsSidebarNavItem, r as DocsSidebarNavItems, t as DocsSidebarNav } from "../../docs-sidebar-GPy4H7_S.js";
4
4
  export { DocsSidebarNav, DocsSidebarNavItem, DocsSidebarNavItems, DocsSidebarNavProps };
@@ -1,4 +1,4 @@
1
- import "../../context-Cd5lDJ0U.js";
1
+ import "../../context-CewYP6fx.js";
2
2
  import "../../index-DKjTz6WE.js";
3
- import { t as DashboardTableOfContents } from "../../docs-toc-RsQXR2mS.js";
3
+ import { t as DashboardTableOfContents } from "../../docs-toc-Ds6VYQP-.js";
4
4
  export { DashboardTableOfContents };
@@ -1,8 +1,8 @@
1
- import { t as DocsCopyPage } from "../../docs-copy-page-RX6QARJ5.js";
2
- import "../../context-Cd5lDJ0U.js";
1
+ import { t as DocsCopyPage } from "../../docs-copy-page-Da2aH8ZU.js";
2
+ import "../../context-CewYP6fx.js";
3
3
  import "../../index-DKjTz6WE.js";
4
- import { i as getPagerForDoc, n as DocsPagerTop, r as flatten, t as DocsPagerBottom } from "../../docs-pager-DVMWDPhR.js";
5
- import { i as DocsSidebarNavProps, n as DocsSidebarNavItem, r as DocsSidebarNavItems, t as DocsSidebarNav } from "../../docs-sidebar-BSYoPkLy.js";
6
- import { t as DashboardTableOfContents } from "../../docs-toc-RsQXR2mS.js";
4
+ import { i as getPagerForDoc, n as DocsPagerTop, r as flatten, t as DocsPagerBottom } from "../../docs-pager-CtmhHIR1.js";
5
+ import { i as DocsSidebarNavProps, n as DocsSidebarNavItem, r as DocsSidebarNavItems, t as DocsSidebarNav } from "../../docs-sidebar-GPy4H7_S.js";
6
+ import { t as DashboardTableOfContents } from "../../docs-toc-Ds6VYQP-.js";
7
7
  import "../../index-CJOkJMYm.js";
8
8
  export { DashboardTableOfContents, DocsCopyPage, DocsPagerBottom, DocsPagerTop, DocsSidebarNav, DocsSidebarNavItem, DocsSidebarNavItems, DocsSidebarNavProps, flatten, getPagerForDoc };
@@ -1 +1 @@
1
- import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow--d9nzYrD-DznC9R7B.js";import"../../create-collection-BGqkd0fl-BNg1clsw.js";import"../../dropdown-menu-EhrY8joQ.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import{t as e}from"../../docs-copy-page-1xiveuoU.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{i as t,n,r,t as i}from"../../docs-pager-C_5XnMWG.js";import{n as a,r as o,t as s}from"../../docs-sidebar-CQ6ieEvV.js";import"../../use-mounted-DDwvpoyo.js";import{t as c}from"../../docs-toc-oDLRpfBi.js";import"../../docs-oiSmq9MA.js";export{c as DashboardTableOfContents,e as DocsCopyPage,i as DocsPagerBottom,n as DocsPagerTop,s as DocsSidebarNav,a as DocsSidebarNavItem,o as DocsSidebarNavItems,r as flatten,t as getPagerForDoc};
1
+ import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow-CU5T6t_D-BA13FgoC.js";import"../../create-collection-S3CvffX1-DA20ZU15.js";import"../../dropdown-menu-DYiM8COh.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import{t as e}from"../../docs-copy-page-BjCHLC98.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{i as t,n,r,t as i}from"../../docs-pager-C_5XnMWG.js";import{n as a,r as o,t as s}from"../../docs-sidebar-CQ6ieEvV.js";import"../../use-mounted-DDwvpoyo.js";import{t as c}from"../../docs-toc-oDLRpfBi.js";import"../../docs-oiSmq9MA.js";export{c as DashboardTableOfContents,e as DocsCopyPage,i as DocsPagerBottom,n as DocsPagerTop,s as DocsSidebarNav,a as DocsSidebarNavItem,o as DocsSidebarNavItems,r as flatten,t as getPagerForDoc};
@@ -1,2 +1,2 @@
1
- import { n as getIconForLanguageExtension, t as Icons } from "../icons-CvDgdAkn.js";
1
+ import { n as getIconForLanguageExtension, t as Icons } from "../icons-DinS-ytj.js";
2
2
  export { Icons, getIconForLanguageExtension };
@@ -1,45 +1,45 @@
1
1
  import "../index-Bk_7h9-s.js";
2
2
  import "../events-fu3vNJdd.js";
3
3
  import { n as CopyButtonProps, r as copyToClipboardWithMeta, t as CopyButton } from "../copy-button-Dba6NMr7.js";
4
- import { t as DocsCopyPage } from "../docs-copy-page-RX6QARJ5.js";
5
- import "../context-Cd5lDJ0U.js";
4
+ import { t as DocsCopyPage } from "../docs-copy-page-Da2aH8ZU.js";
5
+ import "../context-CewYP6fx.js";
6
6
  import "../index-DKjTz6WE.js";
7
- import { i as getPagerForDoc, n as DocsPagerTop, r as flatten, t as DocsPagerBottom } from "../docs-pager-DVMWDPhR.js";
8
- import { i as DocsSidebarNavProps, n as DocsSidebarNavItem, r as DocsSidebarNavItems, t as DocsSidebarNav } from "../docs-sidebar-BSYoPkLy.js";
9
- import { t as DashboardTableOfContents } from "../docs-toc-RsQXR2mS.js";
7
+ import { i as getPagerForDoc, n as DocsPagerTop, r as flatten, t as DocsPagerBottom } from "../docs-pager-CtmhHIR1.js";
8
+ import { i as DocsSidebarNavProps, n as DocsSidebarNavItem, r as DocsSidebarNavItems, t as DocsSidebarNav } from "../docs-sidebar-GPy4H7_S.js";
9
+ import { t as DashboardTableOfContents } from "../docs-toc-Ds6VYQP-.js";
10
10
  import "../index-CJOkJMYm.js";
11
- import { n as getIconForLanguageExtension, t as Icons } from "../icons-CvDgdAkn.js";
12
- import { t as CommandMenu } from "../command-menu-D3T3sLXZ.js";
13
- import { n as SiteFooter, t as FooterButtons } from "../site-footer-CVdbW-iH.js";
14
- import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../header-shell-CPl-YeJY.js";
15
- import { n as SiteHeader, t as FontStyleButton } from "../site-header-D5YXIh8W.js";
16
- import { t as TailwindIndicator } from "../tailwind-indicator-1FrmaX-H.js";
11
+ import { n as getIconForLanguageExtension, t as Icons } from "../icons-DinS-ytj.js";
12
+ import { t as CommandMenu } from "../command-menu-D0jdcvaZ.js";
13
+ import { n as SiteFooter, t as FooterButtons } from "../site-footer-nL3CR80X.js";
14
+ import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../header-shell-06sqvoB4.js";
15
+ import { n as SiteHeader, t as FontStyleButton } from "../site-header-BE3MHLlX.js";
16
+ import { t as TailwindIndicator } from "../tailwind-indicator-Cw3XS1Ir.js";
17
17
  import "../index-2g6qjnfC.js";
18
- import { t as MainNav } from "../main-nav-DVKLErQu.js";
19
- import { t as Mdx } from "../mdx-BesLYyDk.js";
20
- import { t as Callout } from "../callout-BHT13SBT.js";
21
- import { t as CodeBlock } from "../code-block-BNulZGbf.js";
22
- import { t as CodeBlockWrapper } from "../code-block-wrapper-GksaoK4I.js";
23
- import { t as CodePreview } from "../code-preview-BzVRhHg8.js";
24
- import { n as ComponentPreview, r as TABS, t as BuildTab } from "../component-preview-CZkJsPr_.js";
25
- import { t as ComponentSource } from "../component-source-D0Yfh8j5.js";
26
- import { t as FigcaptionBlock } from "../figcaption-block-CYdmV289.js";
27
- import { n as MermaidBlockProps, t as MermaidBlock } from "../mermaid-block-iLbOlW1I.js";
18
+ import { t as MainNav } from "../main-nav-CLHU2qeN.js";
19
+ import { t as Mdx } from "../mdx-D5ge0Tle.js";
20
+ import { t as Callout } from "../callout-DkH7UtrQ.js";
21
+ import { t as CodeBlock } from "../code-block-Dgcnn3Px.js";
22
+ import { t as CodeBlockWrapper } from "../code-block-wrapper-CNcV_wdW.js";
23
+ import { t as CodePreview } from "../code-preview-C4M4NuJ-.js";
24
+ import { n as ComponentPreview, r as TABS, t as BuildTab } from "../component-preview-B-gSgXOF.js";
25
+ import { t as ComponentSource } from "../component-source-BS8Rq18Y.js";
26
+ import { t as FigcaptionBlock } from "../figcaption-block-Cq91p_fK.js";
27
+ import { n as MermaidBlockProps, t as MermaidBlock } from "../mermaid-block-DCchUyg8.js";
28
28
  import "../unist-C-gDxuYf.js";
29
29
  import "../index-COTJSnad.js";
30
30
  import "../types-Cso0EjCR.js";
31
- import { t as PreBlock } from "../pre-block-ikAAmqhJ.js";
31
+ import { t as PreBlock } from "../pre-block-BbGgUhah.js";
32
32
  import "../index-BCvK1fdV.js";
33
33
  import "../index-BqJL0rSj.js";
34
- import { t as ComponentsList } from "../components-list-vGd8Fril.js";
35
- import { i as TableRow, n as TableCell, r as TableHeader, t as Table } from "../table-DAEx431W.js";
36
- import { i as TabTrigger, n as TabContent, r as TabList, t as Tab } from "../tabs-b9_P2R33.js";
37
- import { a as H4, c as Hr, d as P, i as H3, l as LinkBlock, n as H1, o as H5, r as H2, s as H6, t as A, u as LinkedCard } from "../typepography-BcmpY0se.js";
34
+ import { t as ComponentsList } from "../components-list-B0CzvoXJ.js";
35
+ import { i as TableRow, n as TableCell, r as TableHeader, t as Table } from "../table-CIk47-yL.js";
36
+ import { i as TabTrigger, n as TabContent, r as TabList, t as Tab } from "../tabs-B_50-l6V.js";
37
+ import { a as H4, c as Hr, d as P, i as H3, l as LinkBlock, n as H1, o as H5, r as H2, s as H6, t as A, u as LinkedCard } from "../typepography-DOEGn7mg.js";
38
38
  import "../typography-C040ELJU.js";
39
39
  import "../index-C3sUSN9A.js";
40
- import { t as MobileNav } from "../mobile-nav-DUkWP5bc.js";
41
- import { t as ModeSwitcher } from "../mode-toggle-DUh08fnR.js";
42
- import { i as PageHeaderHeading, n as PageHeader, r as PageHeaderDescription, t as PageActions } from "../page-header-DEXQbaIe.js";
43
- import { t as ThemeProvider } from "../providers-BzIQ_ple.js";
44
- import { t as StyleSwitcher } from "../style-switcher-Dw76cq4G.js";
40
+ import { t as MobileNav } from "../mobile-nav-B1YJYAwN.js";
41
+ import { t as ModeSwitcher } from "../mode-toggle-CbZCMzxt.js";
42
+ import { i as PageHeaderHeading, n as PageHeader, r as PageHeaderDescription, t as PageActions } from "../page-header-B_OFmaDG.js";
43
+ import { t as ThemeProvider } from "../providers-Oi1jKtkx.js";
44
+ import { t as StyleSwitcher } from "../style-switcher-BMyNkGaU.js";
45
45
  export { A, BuildTab, Callout, CodeBlock, CodeBlockWrapper, CodePreview, CommandMenu, ComponentPreview, ComponentSource, ComponentsList, CopyButton, CopyButtonProps, DashboardTableOfContents, DocsCopyPage, DocsPagerBottom, DocsPagerTop, DocsSidebarNav, DocsSidebarNavItem, DocsSidebarNavItems, DocsSidebarNavProps, FigcaptionBlock, FontStyleButton, FooterButtons, H1, H2, H3, H4, H5, H6, HeaderBrand, HeaderContainer, HeaderRoot, HeaderSection, Hr, Icons, LinkBlock, LinkedCard, MainNav, Mdx, MermaidBlock, MermaidBlockProps, MobileNav, ModeSwitcher, P, PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, PreBlock, SiteFooter, SiteHeader, StyleSwitcher, TABS, Tab, TabContent, TabList, TabTrigger, Table, TableCell, TableHeader, TableRow, TailwindIndicator, ThemeProvider, copyToClipboardWithMeta, flatten, getIconForLanguageExtension, getPagerForDoc };
@@ -1 +1 @@
1
- "use client";import"../events-Tn9hD65k.js";import"../slot-B-X2-pKU-DOhFF3E_.js";import"../button-BPQ9zanb.js";import{n as e,t}from"../copy-button-Ccbj3Omt.js";import"../portal-BNuCvTAR-DDrsnIMA.js";import"../direction-B-anGbxM-BdqxtlGV.js";import"../arrow--d9nzYrD-DznC9R7B.js";import"../create-collection-BGqkd0fl-BNg1clsw.js";import"../dropdown-menu-EhrY8joQ.js";import"../list-navigation-LJg-1TD2-DsfZPowW.js";import{t as n}from"../docs-copy-page-1xiveuoU.js";import"../direction-BCZ6Jklr.js";import"../separator-C2JodQpS.js";import"../context-8iUWV99o.js";import"../context-d52mWdKF.js";import{i as r,n as i,r as a,t as o}from"../docs-pager-C_5XnMWG.js";import{n as s,r as c,t as l}from"../docs-sidebar-CQ6ieEvV.js";import"../use-mounted-DDwvpoyo.js";import{t as u}from"../docs-toc-oDLRpfBi.js";import"../docs-oiSmq9MA.js";import{n as d,t as f}from"../icons-BczxfLsa.js";import{t as p}from"../command-menu-BH0DFAdg.js";import"../dialog-WKxDI8AJ.js";import"../drawer-05tN_Xdp.js";import"../scroll-area-BFWBc-X7.js";import{n as m,t as h}from"../site-footer-BDIGBSjx.js";import{n as g,r as _,t as v}from"../site-header-CezYgCur.js";import"../use-meta-colors-DzRdgj3z.js";import{t as y}from"../mode-toggle-DKG4x8wu.js";import{i as b,n as x,r as S,t as C}from"../header-shell-DSjT_BrI.js";import{t as w}from"../tailwind-indicator-bD9Vctae.js";import"../layouts-CoDlKIIB.js";import"../alert-CeNJkxIS.js";import{t as T}from"../callout-aAkFztfL.js";import{t as E}from"../code-block-BgDMP6Nq.js";import{t as D}from"../code-block-wrapper-CqEjVT5Z.js";import"../use-lift-mode-CSepfmVG.js";import{t as O}from"../code-preview-DplOXYJF.js";import"../mount-uG4K6qTf.js";import"../tabs-DkzoTBog.js";import{n as k,r as A,t as j}from"../component-preview-AFsWULeq.js";import{t as M}from"../figcaption-block-hcA7ZV1t.js";import{t as N}from"../component-source-DF57SjbQ.js";import"../badge-lLTz8rjt.js";import{t as P}from"../mermaid-block-DKhLlt0H.js";import"../visibility-hidden-CAHx9RLp-DoPUpniv.js";import"../shell-command-uA9FhemC.js";import{t as F}from"../pre-block-BC2mRAfY.js";import"../pre-block-BN3ZQQwl.js";import"../code-BuWlxrky.js";import{t as I}from"../components-list-BIYh-rVo.js";import{i as L,n as R,r as z,t as B}from"../table-CugT9kEw.js";import{i as V,n as H,r as U,t as W}from"../tabs-DWwPvmmz.js";import{a as G,c as K,d as q,i as J,l as Y,n as X,o as Z,r as Q,s as $,t as ee,u as te}from"../typepography-Bo-fCx4O.js";import"../typography-BaOwC15y.js";import"../mdx-icons-B7YaM2WW.js";import"../mdx-components-base-DUpIRrmA.js";import"../mdx-components-ui-DJy8a_xi.js";import"../mdx-components-registry-CSjc6phV.js";import"../mdx-runtime-DoXPlXz4.js";import{t as ne}from"../mdx-G8urwTrB.js";import"../mdx-components-BIki5jZo.js";import{t as re}from"../mobile-nav-NA5oPhXI.js";import{i as ie,n as ae,r as oe,t as se}from"../page-header-Dmt7REX5.js";import{t as ce}from"../providers-CwRigi1l.js";import"../use-config-LFMLgvtw.js";import{t as le}from"../style-switcher-Vlmp2BW4.js";export{ee as A,j as BuildTab,T as Callout,E as CodeBlock,D as CodeBlockWrapper,O as CodePreview,p as CommandMenu,k as ComponentPreview,N as ComponentSource,I as ComponentsList,t as CopyButton,u as DashboardTableOfContents,n as DocsCopyPage,o as DocsPagerBottom,i as DocsPagerTop,l as DocsSidebarNav,s as DocsSidebarNavItem,c as DocsSidebarNavItems,M as FigcaptionBlock,v as FontStyleButton,h as FooterButtons,X as H1,Q as H2,J as H3,G as H4,Z as H5,$ as H6,C as HeaderBrand,x as HeaderContainer,S as HeaderRoot,b as HeaderSection,K as Hr,f as Icons,Y as LinkBlock,te as LinkedCard,_ as MainNav,ne as Mdx,P as MermaidBlock,re as MobileNav,y as ModeSwitcher,q as P,se as PageActions,ae as PageHeader,oe as PageHeaderDescription,ie as PageHeaderHeading,F as PreBlock,m as SiteFooter,g as SiteHeader,le as StyleSwitcher,A as TABS,W as Tab,H as TabContent,U as TabList,V as TabTrigger,B as Table,R as TableCell,z as TableHeader,L as TableRow,w as TailwindIndicator,ce as ThemeProvider,e as copyToClipboardWithMeta,a as flatten,d as getIconForLanguageExtension,r as getPagerForDoc};
1
+ "use client";import"../events-Tn9hD65k.js";import"../slot-B-X2-pKU-DOhFF3E_.js";import"../button-BPQ9zanb.js";import{n as e,t}from"../copy-button-Ccbj3Omt.js";import"../portal-BNuCvTAR-DDrsnIMA.js";import"../direction-B-anGbxM-BdqxtlGV.js";import"../arrow-CU5T6t_D-BA13FgoC.js";import"../create-collection-S3CvffX1-DA20ZU15.js";import"../dropdown-menu-DYiM8COh.js";import"../list-navigation-LJg-1TD2-DsfZPowW.js";import{t as n}from"../docs-copy-page-BjCHLC98.js";import"../direction-BCZ6Jklr.js";import"../separator-C2JodQpS.js";import"../context-8iUWV99o.js";import"../context-d52mWdKF.js";import{i as r,n as i,r as a,t as o}from"../docs-pager-C_5XnMWG.js";import{n as s,r as c,t as l}from"../docs-sidebar-CQ6ieEvV.js";import"../use-mounted-DDwvpoyo.js";import{t as u}from"../docs-toc-oDLRpfBi.js";import"../docs-oiSmq9MA.js";import{n as d,t as f}from"../icons-BczxfLsa.js";import{t as p}from"../command-menu-BAD7s_Xg.js";import"../dialog-WKxDI8AJ.js";import"../drawer-05tN_Xdp.js";import"../scroll-area-BFWBc-X7.js";import{n as m,t as h}from"../site-footer-BDIGBSjx.js";import{n as g,r as _,t as v}from"../site-header-ClW-bc7r.js";import"../use-meta-colors-DzRdgj3z.js";import{t as y}from"../mode-toggle-DKG4x8wu.js";import{i as b,n as x,r as S,t as C}from"../header-shell-DSjT_BrI.js";import{t as w}from"../tailwind-indicator-bD9Vctae.js";import"../layouts-CoDlKIIB.js";import"../alert-CeNJkxIS.js";import{t as T}from"../callout-aAkFztfL.js";import{t as E}from"../code-block-BgDMP6Nq.js";import{t as D}from"../code-block-wrapper-CqEjVT5Z.js";import"../use-lift-mode-CSepfmVG.js";import{t as O}from"../code-preview-DplOXYJF.js";import"../mount-uG4K6qTf.js";import"../tabs-DkzoTBog.js";import{n as k,r as A,t as j}from"../component-preview-AFsWULeq.js";import{t as M}from"../figcaption-block-hcA7ZV1t.js";import{t as N}from"../component-source-DF57SjbQ.js";import"../badge-lLTz8rjt.js";import{t as P}from"../mermaid-block-CrmASB4s.js";import"../visibility-hidden-CAHx9RLp-DoPUpniv.js";import"../shell-command-uA9FhemC.js";import{t as F}from"../pre-block-BC2mRAfY.js";import"../pre-block-BN3ZQQwl.js";import"../code-BuWlxrky.js";import{t as I}from"../components-list-BIYh-rVo.js";import{i as L,n as R,r as z,t as B}from"../table-CugT9kEw.js";import{i as V,n as H,r as U,t as W}from"../tabs-DWwPvmmz.js";import{a as G,c as K,d as q,i as J,l as Y,n as X,o as Z,r as Q,s as $,t as ee,u as te}from"../typepography-Bo-fCx4O.js";import"../typography-BaOwC15y.js";import"../mdx-icons-B7YaM2WW.js";import"../mdx-components-base-D4hUHZRR.js";import"../mdx-components-ui-DJy8a_xi.js";import"../mdx-components-registry-Ceb39eRW.js";import"../mdx-runtime-DoXPlXz4.js";import{t as ne}from"../mdx-C5u2Zdyc.js";import"../mdx-components-BIki5jZo.js";import{t as re}from"../mobile-nav-NA5oPhXI.js";import{i as ie,n as ae,r as oe,t as se}from"../page-header-Dmt7REX5.js";import{t as ce}from"../providers-CwRigi1l.js";import"../use-config-LFMLgvtw.js";import{t as le}from"../style-switcher-Cvax_0P0.js";export{ee as A,j as BuildTab,T as Callout,E as CodeBlock,D as CodeBlockWrapper,O as CodePreview,p as CommandMenu,k as ComponentPreview,N as ComponentSource,I as ComponentsList,t as CopyButton,u as DashboardTableOfContents,n as DocsCopyPage,o as DocsPagerBottom,i as DocsPagerTop,l as DocsSidebarNav,s as DocsSidebarNavItem,c as DocsSidebarNavItems,M as FigcaptionBlock,v as FontStyleButton,h as FooterButtons,X as H1,Q as H2,J as H3,G as H4,Z as H5,$ as H6,C as HeaderBrand,x as HeaderContainer,S as HeaderRoot,b as HeaderSection,K as Hr,f as Icons,Y as LinkBlock,te as LinkedCard,_ as MainNav,ne as Mdx,P as MermaidBlock,re as MobileNav,y as ModeSwitcher,q as P,se as PageActions,ae as PageHeader,oe as PageHeaderDescription,ie as PageHeaderHeading,F as PreBlock,m as SiteFooter,g as SiteHeader,le as StyleSwitcher,A as TABS,W as Tab,H as TabContent,U as TabList,V as TabTrigger,B as Table,R as TableCell,z as TableHeader,L as TableRow,w as TailwindIndicator,ce as ThemeProvider,e as copyToClipboardWithMeta,a as flatten,d as getIconForLanguageExtension,r as getPagerForDoc};
@@ -1,2 +1,2 @@
1
- import { t as CommandMenu } from "../../command-menu-D3T3sLXZ.js";
1
+ import { t as CommandMenu } from "../../command-menu-D0jdcvaZ.js";
2
2
  export { CommandMenu };
@@ -1 +1 @@
1
- "use client";import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../create-collection-BGqkd0fl-BNg1clsw.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{t as e}from"../../command-menu-BH0DFAdg.js";import"../../dialog-WKxDI8AJ.js";import"../../drawer-05tN_Xdp.js";import"../../scroll-area-BFWBc-X7.js";export{e as CommandMenu};
1
+ "use client";import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../create-collection-S3CvffX1-DA20ZU15.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{t as e}from"../../command-menu-BAD7s_Xg.js";import"../../dialog-WKxDI8AJ.js";import"../../drawer-05tN_Xdp.js";import"../../scroll-area-BFWBc-X7.js";export{e as CommandMenu};
@@ -1,2 +1,2 @@
1
- import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../../header-shell-CPl-YeJY.js";
1
+ import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../../header-shell-06sqvoB4.js";
2
2
  export { HeaderBrand, HeaderContainer, HeaderRoot, HeaderSection };
@@ -1,7 +1,7 @@
1
- import { t as CommandMenu } from "../../command-menu-D3T3sLXZ.js";
2
- import { n as SiteFooter, t as FooterButtons } from "../../site-footer-CVdbW-iH.js";
3
- import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../../header-shell-CPl-YeJY.js";
4
- import { n as SiteHeader, t as FontStyleButton } from "../../site-header-D5YXIh8W.js";
5
- import { t as TailwindIndicator } from "../../tailwind-indicator-1FrmaX-H.js";
1
+ import { t as CommandMenu } from "../../command-menu-D0jdcvaZ.js";
2
+ import { n as SiteFooter, t as FooterButtons } from "../../site-footer-nL3CR80X.js";
3
+ import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../../header-shell-06sqvoB4.js";
4
+ import { n as SiteHeader, t as FontStyleButton } from "../../site-header-BE3MHLlX.js";
5
+ import { t as TailwindIndicator } from "../../tailwind-indicator-Cw3XS1Ir.js";
6
6
  import "../../index-2g6qjnfC.js";
7
7
  export { CommandMenu, FontStyleButton, FooterButtons, HeaderBrand, HeaderContainer, HeaderRoot, HeaderSection, SiteFooter, SiteHeader, TailwindIndicator };
@@ -1 +1 @@
1
- import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow--d9nzYrD-DznC9R7B.js";import"../../create-collection-BGqkd0fl-BNg1clsw.js";import"../../dropdown-menu-EhrY8joQ.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{t as e}from"../../command-menu-BH0DFAdg.js";import"../../dialog-WKxDI8AJ.js";import"../../drawer-05tN_Xdp.js";import"../../scroll-area-BFWBc-X7.js";import{n as t,t as n}from"../../site-footer-BDIGBSjx.js";import{n as r,t as i}from"../../site-header-CezYgCur.js";import"../../use-meta-colors-DzRdgj3z.js";import"../../mode-toggle-DKG4x8wu.js";import{i as a,n as o,r as s,t as c}from"../../header-shell-DSjT_BrI.js";import{t as l}from"../../tailwind-indicator-bD9Vctae.js";import"../../layouts-CoDlKIIB.js";export{e as CommandMenu,i as FontStyleButton,n as FooterButtons,c as HeaderBrand,o as HeaderContainer,s as HeaderRoot,a as HeaderSection,t as SiteFooter,r as SiteHeader,l as TailwindIndicator};
1
+ import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow-CU5T6t_D-BA13FgoC.js";import"../../create-collection-S3CvffX1-DA20ZU15.js";import"../../dropdown-menu-DYiM8COh.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import"../../direction-BCZ6Jklr.js";import"../../separator-C2JodQpS.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{t as e}from"../../command-menu-BAD7s_Xg.js";import"../../dialog-WKxDI8AJ.js";import"../../drawer-05tN_Xdp.js";import"../../scroll-area-BFWBc-X7.js";import{n as t,t as n}from"../../site-footer-BDIGBSjx.js";import{n as r,t as i}from"../../site-header-ClW-bc7r.js";import"../../use-meta-colors-DzRdgj3z.js";import"../../mode-toggle-DKG4x8wu.js";import{i as a,n as o,r as s,t as c}from"../../header-shell-DSjT_BrI.js";import{t as l}from"../../tailwind-indicator-bD9Vctae.js";import"../../layouts-CoDlKIIB.js";export{e as CommandMenu,i as FontStyleButton,n as FooterButtons,c as HeaderBrand,o as HeaderContainer,s as HeaderRoot,a as HeaderSection,t as SiteFooter,r as SiteHeader,l as TailwindIndicator};
@@ -1,2 +1,2 @@
1
- import { n as SiteFooter, t as FooterButtons } from "../../site-footer-CVdbW-iH.js";
1
+ import { n as SiteFooter, t as FooterButtons } from "../../site-footer-nL3CR80X.js";
2
2
  export { FooterButtons, SiteFooter };
@@ -1,3 +1,3 @@
1
- import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../../header-shell-CPl-YeJY.js";
2
- import { n as SiteHeader, t as FontStyleButton } from "../../site-header-D5YXIh8W.js";
1
+ import { i as HeaderSection, n as HeaderContainer, r as HeaderRoot, t as HeaderBrand } from "../../header-shell-06sqvoB4.js";
2
+ import { n as SiteHeader, t as FontStyleButton } from "../../site-header-BE3MHLlX.js";
3
3
  export { FontStyleButton, HeaderBrand, HeaderContainer, HeaderRoot, HeaderSection, SiteHeader };
@@ -1 +1 @@
1
- "use client";import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow--d9nzYrD-DznC9R7B.js";import"../../create-collection-BGqkd0fl-BNg1clsw.js";import"../../dropdown-menu-EhrY8joQ.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{n as e,t}from"../../site-header-CezYgCur.js";import"../../use-meta-colors-DzRdgj3z.js";import"../../mode-toggle-DKG4x8wu.js";import{i as n,n as r,r as i,t as a}from"../../header-shell-DSjT_BrI.js";export{t as FontStyleButton,a as HeaderBrand,r as HeaderContainer,i as HeaderRoot,n as HeaderSection,e as SiteHeader};
1
+ "use client";import"../../slot-B-X2-pKU-DOhFF3E_.js";import"../../button-BPQ9zanb.js";import"../../portal-BNuCvTAR-DDrsnIMA.js";import"../../direction-B-anGbxM-BdqxtlGV.js";import"../../arrow-CU5T6t_D-BA13FgoC.js";import"../../create-collection-S3CvffX1-DA20ZU15.js";import"../../dropdown-menu-DYiM8COh.js";import"../../list-navigation-LJg-1TD2-DsfZPowW.js";import"../../context-8iUWV99o.js";import"../../context-d52mWdKF.js";import{n as e,t}from"../../site-header-ClW-bc7r.js";import"../../use-meta-colors-DzRdgj3z.js";import"../../mode-toggle-DKG4x8wu.js";import{i as n,n as r,r as i,t as a}from"../../header-shell-DSjT_BrI.js";export{t as FontStyleButton,a as HeaderBrand,r as HeaderContainer,i as HeaderRoot,n as HeaderSection,e as SiteHeader};
@@ -1,2 +1,2 @@
1
- import { t as TailwindIndicator } from "../../tailwind-indicator-1FrmaX-H.js";
1
+ import { t as TailwindIndicator } from "../../tailwind-indicator-Cw3XS1Ir.js";
2
2
  export { TailwindIndicator };
@@ -1,2 +1,2 @@
1
- import { t as MainNav } from "../main-nav-DVKLErQu.js";
1
+ import { t as MainNav } from "../main-nav-CLHU2qeN.js";
2
2
  export { MainNav };
@@ -1 +1 @@
1
- "use client";import"../slot-B-X2-pKU-DOhFF3E_.js";import"../button-BPQ9zanb.js";import"../portal-BNuCvTAR-DDrsnIMA.js";import"../direction-B-anGbxM-BdqxtlGV.js";import"../arrow--d9nzYrD-DznC9R7B.js";import"../create-collection-BGqkd0fl-BNg1clsw.js";import"../dropdown-menu-EhrY8joQ.js";import"../list-navigation-LJg-1TD2-DsfZPowW.js";import"../context-8iUWV99o.js";import"../context-d52mWdKF.js";import{r as e}from"../site-header-CezYgCur.js";import"../use-meta-colors-DzRdgj3z.js";import"../mode-toggle-DKG4x8wu.js";import"../header-shell-DSjT_BrI.js";export{e as MainNav};
1
+ "use client";import"../slot-B-X2-pKU-DOhFF3E_.js";import"../button-BPQ9zanb.js";import"../portal-BNuCvTAR-DDrsnIMA.js";import"../direction-B-anGbxM-BdqxtlGV.js";import"../arrow-CU5T6t_D-BA13FgoC.js";import"../create-collection-S3CvffX1-DA20ZU15.js";import"../dropdown-menu-DYiM8COh.js";import"../list-navigation-LJg-1TD2-DsfZPowW.js";import"../context-8iUWV99o.js";import"../context-d52mWdKF.js";import{r as e}from"../site-header-ClW-bc7r.js";import"../use-meta-colors-DzRdgj3z.js";import"../mode-toggle-DKG4x8wu.js";import"../header-shell-DSjT_BrI.js";export{e as MainNav};
@@ -1,2 +1,2 @@
1
- import { t as Callout } from "../../../callout-BHT13SBT.js";
1
+ import { t as Callout } from "../../../callout-DkH7UtrQ.js";
2
2
  export { Callout };
@@ -1,2 +1,2 @@
1
- import { t as CodeBlockWrapper } from "../../../../code-block-wrapper-GksaoK4I.js";
1
+ import { t as CodeBlockWrapper } from "../../../../code-block-wrapper-CNcV_wdW.js";
2
2
  export { CodeBlockWrapper };
@@ -1,2 +1,2 @@
1
- import { t as CodeBlock } from "../../../../code-block-BNulZGbf.js";
1
+ import { t as CodeBlock } from "../../../../code-block-Dgcnn3Px.js";
2
2
  export { CodeBlock };
@@ -1,2 +1,2 @@
1
- import { t as CodePreview } from "../../../../code-preview-BzVRhHg8.js";
1
+ import { t as CodePreview } from "../../../../code-preview-C4M4NuJ-.js";
2
2
  export { CodePreview };
@@ -1,2 +1,2 @@
1
- import { n as ComponentPreview, r as TABS, t as BuildTab } from "../../../../component-preview-CZkJsPr_.js";
1
+ import { n as ComponentPreview, r as TABS, t as BuildTab } from "../../../../component-preview-B-gSgXOF.js";
2
2
  export { BuildTab, ComponentPreview, TABS };
@@ -1,2 +1,2 @@
1
- import { t as ComponentSource } from "../../../../component-source-D0Yfh8j5.js";
1
+ import { t as ComponentSource } from "../../../../component-source-BS8Rq18Y.js";
2
2
  export { ComponentSource };
@@ -1,2 +1,2 @@
1
- import { t as FigcaptionBlock } from "../../../../figcaption-block-CYdmV289.js";
1
+ import { t as FigcaptionBlock } from "../../../../figcaption-block-Cq91p_fK.js";
2
2
  export { FigcaptionBlock };
@@ -1,15 +1,15 @@
1
1
  import "../../../../events-fu3vNJdd.js";
2
- import { t as CodeBlock } from "../../../../code-block-BNulZGbf.js";
3
- import { t as CodeBlockWrapper } from "../../../../code-block-wrapper-GksaoK4I.js";
4
- import { t as CodePreview } from "../../../../code-preview-BzVRhHg8.js";
5
- import { n as ComponentPreview, r as TABS, t as BuildTab } from "../../../../component-preview-CZkJsPr_.js";
6
- import { t as ComponentSource } from "../../../../component-source-D0Yfh8j5.js";
7
- import { t as FigcaptionBlock } from "../../../../figcaption-block-CYdmV289.js";
8
- import { n as MermaidBlockProps, t as MermaidBlock } from "../../../../mermaid-block-iLbOlW1I.js";
2
+ import { t as CodeBlock } from "../../../../code-block-Dgcnn3Px.js";
3
+ import { t as CodeBlockWrapper } from "../../../../code-block-wrapper-CNcV_wdW.js";
4
+ import { t as CodePreview } from "../../../../code-preview-C4M4NuJ-.js";
5
+ import { n as ComponentPreview, r as TABS, t as BuildTab } from "../../../../component-preview-B-gSgXOF.js";
6
+ import { t as ComponentSource } from "../../../../component-source-BS8Rq18Y.js";
7
+ import { t as FigcaptionBlock } from "../../../../figcaption-block-Cq91p_fK.js";
8
+ import { n as MermaidBlockProps, t as MermaidBlock } from "../../../../mermaid-block-DCchUyg8.js";
9
9
  import "../../../../unist-C-gDxuYf.js";
10
10
  import "../../../../index-COTJSnad.js";
11
11
  import "../../../../types-Cso0EjCR.js";
12
- import { t as PreBlock } from "../../../../pre-block-ikAAmqhJ.js";
12
+ import { t as PreBlock } from "../../../../pre-block-BbGgUhah.js";
13
13
  import "../../../../index-BCvK1fdV.js";
14
14
  import "../../../../index-BqJL0rSj.js";
15
15
  export { BuildTab, CodeBlock, CodeBlockWrapper, CodePreview, ComponentPreview, ComponentSource, FigcaptionBlock, MermaidBlock, MermaidBlockProps, PreBlock, TABS };