@aussieljk/forkbook 0.0.1-12 → 0.0.1-13

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 (308) hide show
  1. package/dist/_browser-chunks/{Color-TA43572R.js → Color-2EUQ6NXV.js} +1 -1
  2. package/dist/_browser-chunks/{WithTooltip-66AWY4VQ.js → WithTooltip-QCFTNB6P.js} +1 -1
  3. package/dist/_browser-chunks/{chunk-FRAOQJDI.js → chunk-3QPZOXB7.js} +1 -5
  4. package/dist/_browser-chunks/{chunk-GRO2ZYEJ.js → chunk-4BOJAE7P.js} +12 -8
  5. package/dist/_browser-chunks/{chunk-ARZTIHZK.js → chunk-6SL45YM3.js} +3 -3
  6. package/dist/_browser-chunks/{chunk-D2Z5KXPS.js → chunk-BLCZ3C5M.js} +29 -21
  7. package/dist/_browser-chunks/{chunk-XV3AEPJW.js → chunk-DHTLVXAL.js} +37 -44
  8. package/dist/_browser-chunks/{chunk-5MRMYSUN.js → chunk-DISGPOF4.js} +54 -51
  9. package/dist/_browser-chunks/{chunk-2UKY4NXZ.js → chunk-EBSOKHFG.js} +7 -1
  10. package/dist/_browser-chunks/{chunk-GGALYEQS.js → chunk-ECMVTOVD.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-DT7BB545.js → chunk-ENHFQXYS.js} +2 -2
  12. package/dist/_browser-chunks/{chunk-IGD46SQI.js → chunk-EW2M3URL.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-2WMECYEY.js → chunk-FCULT3AE.js} +3 -3
  14. package/dist/_browser-chunks/{chunk-3O4QUF3D.js → chunk-HZFHNYRC.js} +1 -1
  15. package/dist/_browser-chunks/{chunk-5H4KFI44.js → chunk-KQJ4T6JL.js} +30 -24
  16. package/dist/_browser-chunks/{chunk-5XGERZHU.js → chunk-NK5SGJNG.js} +7 -5
  17. package/dist/_browser-chunks/{chunk-2YWS25WY.js → chunk-PQRPDA4U.js} +2 -2
  18. package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
  19. package/dist/_browser-chunks/{chunk-AQVUHXWY.js → chunk-QFO2B4X2.js} +26 -25
  20. package/dist/_browser-chunks/{chunk-HGIW4I4J.js → chunk-S7N7Z5TY.js} +38 -27
  21. package/dist/_browser-chunks/{chunk-QSYOMLRG.js → chunk-UH3XTEOQ.js} +71 -56
  22. package/dist/_browser-chunks/{chunk-UDR26TXA.js → chunk-YJO5BK52.js} +7 -3
  23. package/dist/_browser-chunks/{chunk-3HM3VWJS.js → chunk-ZF37BMDS.js} +6 -2
  24. package/dist/_browser-chunks/{chunk-F22A5EGD.js → chunk-ZF5SPY56.js} +1 -1
  25. package/dist/_node-chunks/{attached-runtime-AU2RZM4Y.js → attached-runtime-7IRDQUTZ.js} +28 -28
  26. package/dist/_node-chunks/{builder-manager-UPXA2KKT.js → builder-manager-YTALSWKQ.js} +15 -15
  27. package/dist/_node-chunks/{chunk-FKI7K3GE.js → chunk-26ERGIQH.js} +6 -6
  28. package/dist/_node-chunks/{chunk-JHX35YKT.js → chunk-33T4HNF2.js} +6 -6
  29. package/dist/_node-chunks/{chunk-QSKVNZCF.js → chunk-3F3673RQ.js} +7 -7
  30. package/dist/_node-chunks/{chunk-SUHBBHKR.js → chunk-3FLRYZLJ.js} +6 -6
  31. package/dist/_node-chunks/{chunk-5MYXWAKD.js → chunk-3L2QRDKH.js} +33 -31
  32. package/dist/_node-chunks/{chunk-U5HVQTHI.js → chunk-3NH7IHUS.js} +6 -6
  33. package/dist/_node-chunks/{chunk-5KMW5XXM.js → chunk-3ZAENV5A.js} +6 -6
  34. package/dist/_node-chunks/{chunk-KZPWZM2E.js → chunk-4B52HLKK.js} +39 -44
  35. package/dist/_node-chunks/{chunk-Y472MP5U.js → chunk-4CZJ4SFH.js} +8 -8
  36. package/dist/_node-chunks/{chunk-KQTFSKC6.js → chunk-4IIWFG7O.js} +13 -11
  37. package/dist/_node-chunks/{chunk-JB4457FJ.js → chunk-4YWZLOAF.js} +6 -6
  38. package/dist/_node-chunks/{chunk-G6GOV7H7.js → chunk-5A5XOSRM.js} +6 -6
  39. package/dist/_node-chunks/chunk-5T6Q7HT3.js +11 -0
  40. package/dist/_node-chunks/{chunk-5N7YRHXJ.js → chunk-6DRDJF2Q.js} +6 -6
  41. package/dist/_node-chunks/{chunk-MNQVVJZN.js → chunk-6JSZY5TJ.js} +6 -6
  42. package/dist/_node-chunks/{chunk-FFUIQJRI.js → chunk-7SPDKMDQ.js} +14 -14
  43. package/dist/_node-chunks/{chunk-76M6JG5T.js → chunk-7YLKDHLZ.js} +7 -7
  44. package/dist/_node-chunks/{chunk-NPSIAK46.js → chunk-7YQIVUEK.js} +6 -6
  45. package/dist/_node-chunks/{chunk-HMQUTLMS.js → chunk-ADCQYK3Z.js} +6 -6
  46. package/dist/_node-chunks/{chunk-LTJ4AYDM.js → chunk-ALHQVE5R.js} +6 -6
  47. package/dist/_node-chunks/{chunk-H7UVQBCQ.js → chunk-B4XAZ2OC.js} +6 -6
  48. package/dist/_node-chunks/{chunk-2MGPZNKV.js → chunk-BFQJF3ID.js} +11 -8
  49. package/dist/_node-chunks/{chunk-RT2LVWTC.js → chunk-BSXI35KM.js} +7 -7
  50. package/dist/_node-chunks/{chunk-FR67COFW.js → chunk-BZQF5KUE.js} +7 -7
  51. package/dist/_node-chunks/{chunk-ZUK5ZLPP.js → chunk-CEIESR4U.js} +6 -6
  52. package/dist/_node-chunks/{chunk-NXRZL2PR.js → chunk-CESXIP3N.js} +6 -6
  53. package/dist/_node-chunks/{chunk-WUVQ465T.js → chunk-DAEUTT3I.js} +6 -6
  54. package/dist/_node-chunks/{chunk-BTDLJXAT.js → chunk-DIC4T2UO.js} +6 -6
  55. package/dist/_node-chunks/{chunk-6772LYNF.js → chunk-DPOWAA4P.js} +37 -31
  56. package/dist/_node-chunks/{chunk-IKUSSZJ3.js → chunk-DTNEHO4J.js} +10 -10
  57. package/dist/_node-chunks/{chunk-IOXDHKFF.js → chunk-DY7F7B6V.js} +7 -7
  58. package/dist/_node-chunks/{chunk-HW7RCOV4.js → chunk-E56UKDJR.js} +8 -8
  59. package/dist/_node-chunks/{chunk-3MJZ5GI2.js → chunk-EFX2VA4Q.js} +6 -6
  60. package/dist/_node-chunks/{chunk-R73PEGQU.js → chunk-EM6AYELK.js} +10 -12
  61. package/dist/_node-chunks/{chunk-MNNESU33.js → chunk-F2AFT3P7.js} +8 -8
  62. package/dist/_node-chunks/{chunk-2W525A4I.js → chunk-GC7NA2Y7.js} +7 -7
  63. package/dist/_node-chunks/{chunk-2X3WAH7V.js → chunk-GIKCT5KG.js} +7 -7
  64. package/dist/_node-chunks/{chunk-IFHNMS7I.js → chunk-GLNHSUKT.js} +20 -20
  65. package/dist/_node-chunks/{chunk-DNX4BLMS.js → chunk-GQZZQB4K.js} +7 -7
  66. package/dist/_node-chunks/{chunk-PHB6QBHM.js → chunk-GRN6WQC3.js} +10 -10
  67. package/dist/_node-chunks/{chunk-K2K6KTBC.js → chunk-HCMHVV7N.js} +8 -8
  68. package/dist/_node-chunks/{chunk-FUDG3QKB.js → chunk-HJVZQS65.js} +7 -7
  69. package/dist/_node-chunks/{chunk-UKLCYEZU.js → chunk-I26RGEVQ.js} +7 -7
  70. package/dist/_node-chunks/{chunk-JKPKEYSH.js → chunk-I36FPWMO.js} +6 -6
  71. package/dist/_node-chunks/{chunk-C2HVGXLD.js → chunk-IDPQ3CVN.js} +264 -312
  72. package/dist/_node-chunks/{chunk-2Q3YWQSK.js → chunk-JUVUVVHI.js} +6 -6
  73. package/dist/_node-chunks/{chunk-NUSHY22I.js → chunk-K6TEIAKH.js} +7 -7
  74. package/dist/_node-chunks/{chunk-W5ZAUN5R.js → chunk-KEXQ3BON.js} +7 -7
  75. package/dist/_node-chunks/{chunk-HPXM4SGT.js → chunk-KUZSE7ZD.js} +9 -9
  76. package/dist/_node-chunks/chunk-LJ5JRR5Q.js +18 -0
  77. package/dist/_node-chunks/{chunk-7F6TIY4T.js → chunk-LMGI47HP.js} +8 -8
  78. package/dist/_node-chunks/{chunk-EFZAYIPN.js → chunk-LPIPPSMS.js} +6 -6
  79. package/dist/_node-chunks/{chunk-UFZUSE3Y.js → chunk-LR4W5G37.js} +6 -6
  80. package/dist/_node-chunks/{chunk-TXZTC6LA.js → chunk-M4MRBEJI.js} +14 -10
  81. package/dist/_node-chunks/{chunk-XCNYQV2M.js → chunk-M7BVABR2.js} +9 -9
  82. package/dist/_node-chunks/{chunk-SPCPGRYF.js → chunk-MK2RPLWT.js} +7 -7
  83. package/dist/_node-chunks/{chunk-ABCEMTIP.js → chunk-MKSEM5C2.js} +6 -6
  84. package/dist/_node-chunks/{chunk-QBWGJYHY.js → chunk-MWQIBOUB.js} +6 -6
  85. package/dist/_node-chunks/{chunk-ZCKTYMZT.js → chunk-NAXIA2JI.js} +8 -8
  86. package/dist/_node-chunks/{chunk-OSNOV4EH.js → chunk-NDVIMCIX.js} +7 -7
  87. package/dist/_node-chunks/{chunk-QX6RXAEU.js → chunk-NIOVXWQZ.js} +6 -6
  88. package/dist/_node-chunks/{chunk-FAR3NIPG.js → chunk-NRP4FGRT.js} +15 -9
  89. package/dist/_node-chunks/{chunk-22A63J7O.js → chunk-NSNBFXVB.js} +7 -7
  90. package/dist/_node-chunks/{chunk-RHH7VDIY.js → chunk-NTUTJAD4.js} +8 -8
  91. package/dist/_node-chunks/{chunk-34DNGOCZ.js → chunk-O46DZ2KC.js} +8 -8
  92. package/dist/_node-chunks/{chunk-KMC5WWQS.js → chunk-OH5M2YER.js} +7 -7
  93. package/dist/_node-chunks/{chunk-DXR3YGRT.js → chunk-OSIENBU6.js} +6 -6
  94. package/dist/_node-chunks/{chunk-BDATIKVV.js → chunk-OVJZBW54.js} +7 -7
  95. package/dist/_node-chunks/{chunk-POA32M7F.js → chunk-PGIDRLZ5.js} +8 -8
  96. package/dist/_node-chunks/{chunk-VJEN2JM3.js → chunk-PJCSZR4T.js} +8 -8
  97. package/dist/_node-chunks/{chunk-AHNN3TQH.js → chunk-PQXP5FZ2.js} +8 -8
  98. package/dist/_node-chunks/{chunk-22TWJGGQ.js → chunk-PU33WSBW.js} +18 -21
  99. package/dist/_node-chunks/{chunk-HW4T3OXA.js → chunk-PUBZLLNL.js} +7 -7
  100. package/dist/_node-chunks/{chunk-UGQFYYBC.js → chunk-QWZZX2HN.js} +6 -6
  101. package/dist/_node-chunks/{chunk-JMFTALJW.js → chunk-RMUBUNBY.js} +6 -6
  102. package/dist/_node-chunks/{chunk-BMM74ZQW.js → chunk-S33FEPQ3.js} +6 -6
  103. package/dist/_node-chunks/{chunk-O2CCUB5T.js → chunk-SHP6447T.js} +7 -7
  104. package/dist/_node-chunks/{chunk-NO7MF6VR.js → chunk-ST3KB36E.js} +6 -6
  105. package/dist/_node-chunks/{chunk-JXS4P2RM.js → chunk-SXX75O2D.js} +7 -7
  106. package/dist/_node-chunks/{chunk-ORSH2FXG.js → chunk-TQ5YAQ4Y.js} +6 -6
  107. package/dist/_node-chunks/{chunk-RMJNWFPV.js → chunk-TSJ3JCNN.js} +16 -10
  108. package/dist/_node-chunks/{chunk-XOAWAXUH.js → chunk-UYEX6LW6.js} +7 -7
  109. package/dist/_node-chunks/{chunk-3X67K6EI.js → chunk-VJLLEKWR.js} +11 -11
  110. package/dist/_node-chunks/{chunk-7SBWGNA7.js → chunk-WWJKLYU5.js} +8 -8
  111. package/dist/_node-chunks/{chunk-WNEWL2PL.js → chunk-XC7K4QEX.js} +6 -6
  112. package/dist/_node-chunks/{chunk-Q64ESHBN.js → chunk-Y64FM6U7.js} +8 -8
  113. package/dist/_node-chunks/{chunk-2GJBHF56.js → chunk-YDM7NH4T.js} +6 -6
  114. package/dist/_node-chunks/{chunk-BOWRRVJM.js → chunk-ZHVOUP6D.js} +6 -6
  115. package/dist/_node-chunks/dist-CFCU4PZG.js +27 -0
  116. package/dist/_node-chunks/dist-PFMT5YJK.js +16 -0
  117. package/dist/_node-chunks/{local-runtime-Z667YPXR.js → local-runtime-BKID5MBG.js} +19 -19
  118. package/dist/_node-chunks/{mdx-plugin-BPRPTZNP.js → mdx-plugin-7BOUDCZB.js} +13 -13
  119. package/dist/_node-chunks/{monorepo-GO54BY34.js → monorepo-FRHSAJB7.js} +11 -11
  120. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PEHFNJQ5.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-7BHSAJP4.js} +11 -11
  121. package/dist/_node-chunks/optimized-tests-F5LCOTXH.js +22 -0
  122. package/dist/_node-chunks/{pattern-copy-play-64HQIVWK.js → pattern-copy-play-6TGV6WS4.js} +9 -9
  123. package/dist/_node-chunks/postinstallAddon-4RININ5C.js +20 -0
  124. package/dist/_node-chunks/{rehype-external-links-2BSEZ7AC.js → rehype-external-links-EE2HT4QP.js} +9 -9
  125. package/dist/_node-chunks/{rehype-slug-6253EA36.js → rehype-slug-ZKRW2V6Z.js} +9 -9
  126. package/dist/_node-chunks/{relaxed-limits-4PAAPG3J.js → relaxed-limits-6Q7VRQC5.js} +11 -11
  127. package/dist/_node-chunks/{run-XJT3YVMZ.js → run-6Y3ZTASZ.js} +22 -20
  128. package/dist/_node-chunks/{run-3SQW3FRF.js → run-EBHIAT35.js} +17 -17
  129. package/dist/_node-chunks/{setup-JIYCTADZ.js → setup-6XIF77JT.js} +8 -8
  130. package/dist/_node-chunks/{vitest.config.4.template-W74SGWHT.js → vitest.config.4.template-GMQNQ4UW.js} +7 -7
  131. package/dist/actions/decorator.js +5 -2
  132. package/dist/actions/index.d.ts +3 -3
  133. package/dist/actions/index.js +1 -1
  134. package/dist/addon-a11y/index.js +1 -1
  135. package/dist/addon-a11y/manager.js +5 -5
  136. package/dist/addon-a11y/preset.js +7 -7
  137. package/dist/addon-a11y/preview.d.ts +8 -2
  138. package/dist/addon-a11y/preview.js +1 -1
  139. package/dist/addon-docs/blocks.d.ts +98 -83
  140. package/dist/addon-docs/blocks.js +10 -10
  141. package/dist/addon-docs/index.d.ts +2 -2
  142. package/dist/addon-docs/manager.js +2 -2
  143. package/dist/addon-docs/preset.js +12 -12
  144. package/dist/addon-docs/preview.d.ts +3 -1
  145. package/dist/addon-links/index.d.ts +2 -1
  146. package/dist/addon-links/preview.d.ts +1 -1
  147. package/dist/addon-mcp/preset.js +10 -10
  148. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
  149. package/dist/addon-ondevice-controls/index.js +1 -1
  150. package/dist/addon-ondevice-controls/register.js +1 -1
  151. package/dist/addon-pseudo-states/index.js +1 -1
  152. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  153. package/dist/addon-pseudo-states/preview.js +1 -1
  154. package/dist/addon-themes/index.d.ts +6 -5
  155. package/dist/addon-themes/postinstall.js +7 -7
  156. package/dist/addon-vitest/constants.js +8 -8
  157. package/dist/addon-vitest/manager.js +2 -2
  158. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  159. package/dist/addon-vitest/node/vitest.js +22 -22
  160. package/dist/addon-vitest/postinstall.js +10 -10
  161. package/dist/addon-vitest/preset.js +20 -19
  162. package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
  163. package/dist/addon-vitest/vitest-plugin/index.js +13 -13
  164. package/dist/babel/index.d.ts +209 -212
  165. package/dist/babel/index.js +11 -11
  166. package/dist/bin/core.js +60 -57
  167. package/dist/bin/dispatcher.js +10 -10
  168. package/dist/bin/loader.js +8 -8
  169. package/dist/builder-vite/index.d.ts +1 -1
  170. package/dist/builder-vite/index.js +15 -15
  171. package/dist/builder-vite/preset.js +13 -13
  172. package/dist/channels/index.d.ts +1 -1
  173. package/dist/channels/index.js +2 -2
  174. package/dist/{chunk-BmCH-L7_.d.ts → chunk-BCG2ui5q.d.ts} +236 -249
  175. package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
  176. package/dist/{chunk-evfhuBNU.d.ts → chunk-BNRZY6Jq.d.ts} +2 -2
  177. package/dist/{chunk-Bn1RoGAP.d.ts → chunk-BV_hETtB.d.ts} +2 -2
  178. package/dist/chunk-BcYKnZln.d.ts +10 -0
  179. package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
  180. package/dist/{chunk-Bpi2tz-6.d.ts → chunk-Bubi-WAs.d.ts} +20 -17
  181. package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
  182. package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
  183. package/dist/{chunk-DROZ9oel.d.ts → chunk-DNCU78oW.d.ts} +110 -9
  184. package/dist/{chunk-IMedIHPn.d.ts → chunk-LWwxlbee.d.ts} +2 -2
  185. package/dist/{chunk-CfEntHiI.d.ts → chunk-u_gGuTrz.d.ts} +5 -5
  186. package/dist/cli/index.d.ts +3 -3
  187. package/dist/cli/index.js +21 -21
  188. package/dist/cli/skills/content/index.d.ts +1 -1
  189. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  190. package/dist/cli/tools/sdk/child-host.js +17 -17
  191. package/dist/cli/tools/sdk/index.d.ts +3 -3
  192. package/dist/cli/tools/sdk/index.js +18 -18
  193. package/dist/cli-commands/bin/index.js +7 -7
  194. package/dist/client-logger/index.d.ts +20 -21
  195. package/dist/common/index.d.ts +12 -12
  196. package/dist/common/index.js +34 -34
  197. package/dist/components/index.d.ts +40 -29
  198. package/dist/components/index.js +66 -67
  199. package/dist/core-events/index.d.ts +2 -2
  200. package/dist/core-server/index.d.ts +12 -7
  201. package/dist/core-server/index.js +87 -79
  202. package/dist/core-server/presets/common-manager.js +36 -29
  203. package/dist/core-server/presets/common-override-preset.js +10 -10
  204. package/dist/core-server/presets/common-preset.js +50 -47
  205. package/dist/create/bin/index.js +7 -7
  206. package/dist/create/index.js +15 -15
  207. package/dist/csf/index.d.ts +2 -2
  208. package/dist/csf/index.js +34 -37
  209. package/dist/csf-tools/index.d.ts +11 -7
  210. package/dist/csf-tools/index.js +12 -12
  211. package/dist/docs-tools/index.d.ts +332 -16
  212. package/dist/docs-tools/index.js +3 -3
  213. package/dist/instrumenter/index.d.ts +4 -4
  214. package/dist/instrumenter/index.js +24 -14
  215. package/dist/manager/_manager-chunks/{globals-runtime-BWciJpaD.js → globals-runtime-BgWmCsA7.js} +91 -89
  216. package/dist/manager/_manager-chunks/{globals-runtime-BFVFUcji.js → globals-runtime-C59T0h-j.js} +1 -1
  217. package/dist/manager/_manager-chunks/{globals-runtime-DweLlyBa.js → globals-runtime-CCZrdft6.js} +2 -2
  218. package/dist/manager/_manager-chunks/{globals-runtime-CdLHkSK1.js → globals-runtime-Cccwtspx.js} +30 -21
  219. package/dist/manager/_manager-chunks/{globals-runtime-DhygDQ09.js → globals-runtime-Ddp2jFET.js} +2 -2
  220. package/dist/manager/_manager-chunks/{globals-runtime--RDllwDw.js → globals-runtime-UFDJQlo-.js} +49 -41
  221. package/dist/manager/_manager-chunks/{runtime-BBaBlpAS.js → runtime-4wMiTjjZ.js} +2 -2
  222. package/dist/manager/_manager-chunks/{runtime-Dj8tizGo.js → runtime-AvqHE9rM.js} +31 -28
  223. package/dist/manager/_manager-chunks/{runtime-CE_oqcpl.js → runtime-D8QxTQiI.js} +2 -2
  224. package/dist/manager/_manager-chunks/{runtime-CRqm7NXD.js → runtime-DC3oEVlM.js} +1 -1
  225. package/dist/manager/_manager-chunks/{runtime-1BcYUf7-.js → runtime-DCOIOn4T.js} +24 -16
  226. package/dist/manager/_manager-chunks/{runtime-BFgSyEE6.js → runtime-D_FDSHFG.js} +3 -3
  227. package/dist/manager/_manager-chunks/{runtime-D3Gk2bTl.js → runtime-lPbyY_f5.js} +167 -165
  228. package/dist/manager/_manager-chunks/{runtime-B2VQIT0n.js → runtime-td6oYfU6.js} +1 -1
  229. package/dist/manager/globals-runtime.js +1 -1
  230. package/dist/manager/runtime.js +1 -1
  231. package/dist/manager-api/index.d.ts +1 -1
  232. package/dist/manager-api/index.js +55 -56
  233. package/dist/manager-errors.d.ts +1 -1
  234. package/dist/mcp/index.d.ts +1 -1
  235. package/dist/mcp/index.js +8 -8
  236. package/dist/mocking-utils/index.d.ts +5 -3
  237. package/dist/mocking-utils/index.js +16 -17
  238. package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
  239. package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
  240. package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
  241. package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
  242. package/dist/nextjs-vite/index.d.ts +1 -1
  243. package/dist/nextjs-vite/index.js +9 -5
  244. package/dist/nextjs-vite/node/index.js +7 -7
  245. package/dist/nextjs-vite/preset.js +10 -10
  246. package/dist/nextjs-vite/preview.d.ts +2 -1
  247. package/dist/nextjs-vite/preview.js +1 -1
  248. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  249. package/dist/nextjs-vite-plugin/index.js +12 -22
  250. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  251. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
  252. package/dist/node-logger/index.d.ts +2 -2
  253. package/dist/node-logger/index.js +9 -9
  254. package/dist/oxc-parser/index.js +10 -10
  255. package/dist/oxc-parser/worker.js +10 -10
  256. package/dist/preview/_chunks/{runtime-CBKlMZg2.js → runtime-BYRCSYBN.js} +2 -2
  257. package/dist/preview/_chunks/{runtime-DZ7fvh0y.js → runtime-Bvh_rfnQ.js} +2 -37
  258. package/dist/preview/_chunks/{runtime-C_nyb8QT.js → runtime-CdZ1yk7m.js} +2 -2
  259. package/dist/preview/_chunks/{runtime-Bjm1gBLN.js → runtime-CsO4apr9.js} +37 -28
  260. package/dist/preview/_chunks/{runtime-BSJ0Ov_b.js → runtime-D2MPrqbU.js} +2 -2
  261. package/dist/preview/_chunks/{runtime-CElbz0uN.js → runtime-DS0s7U3c.js} +1 -1
  262. package/dist/preview/_chunks/{runtime-CzTPeFXg.js → runtime-U1Ycy25F.js} +32 -24
  263. package/dist/preview/_chunks/{runtime-4BNaFIif.js → runtime-tyJLgv6h.js} +50 -48
  264. package/dist/preview/runtime.js +1 -1
  265. package/dist/preview-api/index.d.ts +3 -3
  266. package/dist/preview-api/index.js +7 -7
  267. package/dist/preview-errors.d.ts +1 -1
  268. package/dist/react/docgen/docgen-worker.js +11 -11
  269. package/dist/react/entry-preview-argtypes.js +1 -1
  270. package/dist/react/entry-preview-docs.js +1 -1
  271. package/dist/react/entry-preview.js +1 -1
  272. package/dist/react/index.d.ts +4 -6
  273. package/dist/react/index.js +5 -5
  274. package/dist/react/preset.js +13 -13
  275. package/dist/react/preview.js +4 -4
  276. package/dist/react-native/bin/get-stories.js +8 -8
  277. package/dist/react-native/index.js +11 -7
  278. package/dist/react-native/metro/node.js +10 -10
  279. package/dist/react-native/metro/withForkbook.js +13 -13
  280. package/dist/react-native/scripts/generate.js +8 -8
  281. package/dist/react-native-ui/index.d.ts +4 -4
  282. package/dist/react-native-ui-common/index.d.ts +24 -4
  283. package/dist/react-native-ui-common/index.js +20 -25
  284. package/dist/react-vite/node/index.js +7 -7
  285. package/dist/react-vite/preset.js +7 -7
  286. package/dist/router/index.d.ts +2 -2
  287. package/dist/router/index.js +4 -2
  288. package/dist/server-errors.d.ts +1 -1
  289. package/dist/server-errors.js +9 -9
  290. package/dist/shared/open-service/index.d.ts +3 -3
  291. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  292. package/dist/shared/open-service/toolsets/docs/public.d.ts +5 -5
  293. package/dist/telemetry/index.js +11 -11
  294. package/dist/test/index.d.ts +2 -2
  295. package/dist/test/index.js +14 -8
  296. package/dist/theming/create.d.ts +1 -1
  297. package/dist/theming/index.d.ts +1 -1
  298. package/dist/types/index.d.ts +2 -2
  299. package/dist/types/index.js +1 -1
  300. package/package.json +2 -2
  301. package/dist/_node-chunks/chunk-CWIJ2D5F.js +0 -18
  302. package/dist/_node-chunks/chunk-J3CNNXKQ.js +0 -11
  303. package/dist/_node-chunks/dist-2DPC664Y.js +0 -27
  304. package/dist/_node-chunks/dist-XBFUDMFQ.js +0 -16
  305. package/dist/_node-chunks/optimized-tests-W7U4ZRWX.js +0 -22
  306. package/dist/_node-chunks/postinstallAddon-XM2BHKDN.js +0 -20
  307. package/dist/chunk-BGhyFTJO.d.ts +0 -115
  308. package/dist/chunk-DaVb55-_.d.ts +0 -124
@@ -1,7 +1,7 @@
1
1
  import { a as __toESM, i as __require, n as __esmMin, t as __commonJSMin } from "./runtime-BdGkqNEt.js";
2
2
  import { So as useState, eo as Component, fo as useCallback, lo as init__forkbook_global_react, no as _forkbook_global_react_default } from "./runtime-Db8fJ2MP.js";
3
3
  import { n as require_browser } from "./runtime-P663lpsR.js";
4
- import { a as _inheritsLoose, i as init_wrapNativeSuper, l as _extends, o as init_inheritsLoose, r as _wrapNativeSuper, s as _assertThisInitialized } from "./runtime-CRqm7NXD.js";
4
+ import { a as _inheritsLoose, i as init_wrapNativeSuper, l as _extends, o as init_inheritsLoose, r as _wrapNativeSuper, s as _assertThisInitialized } from "./runtime-DC3oEVlM.js";
5
5
  //#region ../../node_modules/react-fast-compare/index.js
6
6
  var require_react_fast_compare = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7
7
  var hasElementType = typeof Element !== "undefined";
@@ -1,2 +1,2 @@
1
- import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime--RDllwDw.js";
1
+ import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime-UFDJQlo-.js";
2
2
  init_globals_runtime();
@@ -1,2 +1,2 @@
1
- import { t as init_runtime } from "./_manager-chunks/runtime-Dj8tizGo.js";
1
+ import { t as init_runtime } from "./_manager-chunks/runtime-AvqHE9rM.js";
2
2
  init_runtime();
@@ -1,2 +1,2 @@
1
- import { $c as useParameter, Ac as API_GroupEntry, Bc as ManagerConsumer, Cl as addons, Dc as API_ComposedRef, Ec as API_ComponentEntry, Fa as useServiceQuery, Fc as API_RootEntry, Gc as combineParameters, Hc as ManagerProvider, Ia as useServiceCommand, Ic as API_StoryEntry, Jc as useArgTypes, Kc as typesX, Lc as ActiveTabs, Mc as API_IndexHash, Na as getService, Nc as API_LeafEntry, Oc as API_DocsEntry, Pa as registerService, Pc as API_Refs, Qc as useGlobals, Rc as Combo, Sl as Addon_Type, Tc as API, Uc as ManagerProviderProps, Vc as ManagerContext, Wc as State, Xc as useChannel, Yc as useArgs, Zc as useGlobalTypes, _c as useStatusStore, _l as shortcutMatchesShortcut, ac as getTestProviderStoreById, al as isMacLike, bc as UniversalStore, bl as Options, cl as API_KeyCollection, dl as controlOrMetaSymbol, el as useSharedState, fl as eventMatchesShortcut, gc as universalStatusStore, gl as optionOrAltSymbol, hc as getStatusStoreByTypeId, hl as keyToSymbol, ic as fullTestProviderStore, il as _default, jc as API_HashEntry, kc as API_EventMap, ll as KeyboardEventLike, mc as fullStatusStore, ml as isShortcutTaken, nl as useStorybookApi, oc as universalTestProviderStore, ol as RequestResponseError, pl as eventToShortcut, qc as useAddonState, rc as Tag, rl as useStorybookState, sc as useTestProviderStore, sl as experimental_requestResponse, tl as useStoryPrepared, ul as controlOrMetaKey, vc as MockUniversalStore, vl as shortcutToAriaKeyshortcuts, xl as AddonStore, yc as useUniversalStore, yl as shortcutToHumanString, zc as Listener } from "../chunk-BmCH-L7_.js";
1
+ import { $c as isMacLike, $s as getTestProviderStoreById, Ac as API_StoryEntry, Bc as typesX, Cc as API_EventMap, Dc as API_LeafEntry, Ec as API_IndexHash, Fc as ManagerContext, Gc as useGlobalTypes, Hc as useArgTypes, Ic as ManagerProvider, Jc as useSharedState, Kc as useGlobals, Lc as ManagerProviderProps, Mc as Combo, Nc as Listener, Oc as API_Refs, Pc as ManagerConsumer, Qc as _default, Qs as fullTestProviderStore, Rc as State, Sc as API_DocsEntry, Tc as API_HashEntry, Uc as useArgs, Vc as useAddonState, Wc as useChannel, Xc as useStorybookApi, Yc as useStoryPrepared, Zc as useStorybookState, Zs as Tag, _l as addons, al as controlOrMetaSymbol, bc as API_ComponentEntry, ca as registerService, cc as fullStatusStore, cl as isShortcutTaken, dc as useStatusStore, dl as shortcutMatchesShortcut, ec as universalTestProviderStore, el as RequestResponseError, fc as MockUniversalStore, fl as shortcutToAriaKeyshortcuts, gl as Addon_Type, hl as AddonStore, il as controlOrMetaKey, jc as ActiveTabs, kc as API_RootEntry, la as useServiceQuery, lc as getStatusStoreByTypeId, ll as keyToSymbol, mc as UniversalStore, ml as Options, nl as API_KeyCollection, ol as eventMatchesShortcut, pc as useUniversalStore, pl as shortcutToHumanString, qc as useParameter, rl as KeyboardEventLike, sa as getService, sl as eventToShortcut, tc as useTestProviderStore, tl as experimental_requestResponse, ua as useServiceCommand, uc as universalStatusStore, ul as optionOrAltSymbol, wc as API_GroupEntry, xc as API_ComposedRef, yc as API, zc as combineParameters } from "../chunk-BCG2ui5q.js";
2
2
  export { API, API_EventMap, type API_KeyCollection, ActiveTabs, type Addon_Type as Addon, type AddonStore, type Listener as ChannelListener, Combo, type API_ComponentEntry as ComponentEntry, type API_ComposedRef as ComposedRef, ManagerConsumer as Consumer, type API_DocsEntry as DocsEntry, type API_GroupEntry as GroupEntry, type API_HashEntry as HashEntry, type API_IndexHash as IndexHash, type API_IndexHash as StoriesHash, KeyboardEventLike, type API_LeafEntry as LeafEntry, ManagerContext, ManagerProviderProps, ManagerProvider as Provider, type API_Refs as Refs, RequestResponseError, type API_RootEntry as RootEntry, State, type Options as StoreOptions, type API_StoryEntry as StoryEntry, Tag, addons, combineParameters, controlOrMetaKey, controlOrMetaSymbol, eventMatchesShortcut, eventToShortcut, MockUniversalStore as experimental_MockUniversalStore, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, experimental_requestResponse, useStatusStore as experimental_useStatusStore, useTestProviderStore as experimental_useTestProviderStore, getService, UniversalStore as internal_UniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, universalStatusStore as internal_universalStatusStore, universalTestProviderStore as internal_universalTestProviderStore, useUniversalStore as internal_useUniversalStore, isMacLike, isShortcutTaken, keyToSymbol, _default as merge, optionOrAltSymbol, registerService, shortcutMatchesShortcut, shortcutToAriaKeyshortcuts, shortcutToHumanString, typesX as types, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useServiceCommand, useServiceQuery, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };
@@ -3,7 +3,7 @@ import {
3
3
  } from "../_browser-chunks/chunk-W7NE2JXW.js";
4
4
  import {
5
5
  UniversalStore
6
- } from "../_browser-chunks/chunk-5H4KFI44.js";
6
+ } from "../_browser-chunks/chunk-KQJ4T6JL.js";
7
7
  import {
8
8
  parse,
9
9
  stringify as stringify2
@@ -14,13 +14,13 @@ import {
14
14
  createStatusStore,
15
15
  statusValueShortName,
16
16
  toStatusValue
17
- } from "../_browser-chunks/chunk-2UKY4NXZ.js";
17
+ } from "../_browser-chunks/chunk-EBSOKHFG.js";
18
18
  import {
19
19
  getService,
20
20
  registerService,
21
21
  useServiceCommand,
22
22
  useServiceQuery
23
- } from "../_browser-chunks/chunk-3O4QUF3D.js";
23
+ } from "../_browser-chunks/chunk-HZFHNYRC.js";
24
24
  import {
25
25
  countBy,
26
26
  partition
@@ -34,12 +34,12 @@ import {
34
34
  Tag,
35
35
  USER_TAG_FILTER,
36
36
  mockChannel
37
- } from "../_browser-chunks/chunk-GGALYEQS.js";
38
- import "../_browser-chunks/chunk-IGD46SQI.js";
37
+ } from "../_browser-chunks/chunk-ECMVTOVD.js";
38
+ import "../_browser-chunks/chunk-EW2M3URL.js";
39
39
  import {
40
40
  getChannel,
41
41
  setChannel
42
- } from "../_browser-chunks/chunk-2YWS25WY.js";
42
+ } from "../_browser-chunks/chunk-PQRPDA4U.js";
43
43
  import "../_browser-chunks/chunk-QC4HFS6K.js";
44
44
  import "../_browser-chunks/chunk-E6QKKKLO.js";
45
45
  import {
@@ -54,7 +54,7 @@ import {
54
54
  omit,
55
55
  pick,
56
56
  toMerged
57
- } from "../_browser-chunks/chunk-2JDQ35OA.js";
57
+ } from "../_browser-chunks/chunk-PU7D2WDP.js";
58
58
  import "../_browser-chunks/chunk-IE4ULIOQ.js";
59
59
  import {
60
60
  isEqual
@@ -398,18 +398,14 @@ var createContext = ({ api, state }) => ReactCreateContext({ api, state });
398
398
  import { logger } from "@aussieljk/forkbook/internal/client-logger";
399
399
  var merge_default = (a, ...b) => {
400
400
  let target = {};
401
- target = mergeWith(
402
- {},
403
- a,
404
- (objValue, srcValue) => {
405
- if (Array.isArray(srcValue) && Array.isArray(objValue))
406
- return srcValue.forEach((s) => {
407
- objValue.find((o) => o === s || isEqual(o, s)) || objValue.push(s);
408
- }), objValue;
409
- if (Array.isArray(objValue))
410
- return logger.log(["the types mismatch, picking", objValue]), objValue;
411
- }
412
- );
401
+ target = mergeWith({}, a, (objValue, srcValue) => {
402
+ if (Array.isArray(srcValue) && Array.isArray(objValue))
403
+ return srcValue.forEach((s) => {
404
+ objValue.find((o) => o === s || isEqual(o, s)) || objValue.push(s);
405
+ }), objValue;
406
+ if (Array.isArray(objValue))
407
+ return logger.log(["the types mismatch, picking", objValue]), objValue;
408
+ });
413
409
  for (let obj of b)
414
410
  target = mergeWith(target, obj, (objValue, srcValue) => {
415
411
  if (Array.isArray(srcValue) && Array.isArray(objValue))
@@ -422,14 +418,10 @@ var merge_default = (a, ...b) => {
422
418
  return target;
423
419
  }, noArrayMerge = (a, ...b) => {
424
420
  let target = {};
425
- target = mergeWith(
426
- {},
427
- a,
428
- (objValue, srcValue) => {
429
- if (Array.isArray(srcValue))
430
- return srcValue;
431
- }
432
- );
421
+ target = mergeWith({}, a, (objValue, srcValue) => {
422
+ if (Array.isArray(srcValue))
423
+ return srcValue;
424
+ });
433
425
  for (let obj of b)
434
426
  target = mergeWith(target, obj, (objValue, srcValue) => {
435
427
  if (Array.isArray(srcValue))
@@ -549,7 +541,9 @@ var init = ({ provider, store: store2, fullAPI }) => {
549
541
  options
550
542
  ).then(() => api.getAddonState(addonId));
551
543
  },
552
- getAddonState: (addonId) => store2.getState().addons[addonId] || globalThis?.FORKBOOK_ADDON_STATE[addonId]
544
+ getAddonState(addonId) {
545
+ return store2.getState().addons[addonId] || globalThis?.FORKBOOK_ADDON_STATE[addonId];
546
+ }
553
547
  };
554
548
  return {
555
549
  api,
@@ -568,13 +562,13 @@ var channel_exports = {};
568
562
  __export(channel_exports, {
569
563
  init: () => init2
570
564
  });
571
- var init2 = ({ provider }) => ({ api: {
565
+ var hasTarget = (data) => typeof data == "object" && data !== null && "options" in data && typeof data.options == "object" && data.options !== null && "target" in data.options && typeof data.options.target == "string", init2 = ({ provider }) => ({ api: {
572
566
  getChannel: () => provider.channel,
573
567
  on: (type, handler) => (provider.channel?.on(type, handler), () => provider.channel?.off(type, handler)),
574
568
  off: (type, handler) => provider.channel?.off(type, handler),
575
569
  once: (type, handler) => provider.channel?.once(type, handler),
576
570
  emit: (type, data, ...args) => {
577
- data?.options?.target && data.options.target !== "storybook-preview-iframe" && !data.options.target.startsWith("storybook-ref-") && (data.options.target = data.options.target !== "storybook_internal" ? `storybook-ref-${data.options.target}` : "storybook-preview-iframe"), provider.channel?.emit(type, data, ...args);
571
+ hasTarget(data) && data.options.target && data.options.target !== "storybook-preview-iframe" && !data.options.target.startsWith("storybook-ref-") && (data.options.target = data.options.target !== "storybook_internal" ? `storybook-ref-${data.options.target}` : "storybook-preview-iframe"), provider.channel?.emit(type, data, ...args);
578
572
  }
579
573
  }, state: {} });
580
574
 
@@ -672,11 +666,13 @@ var TITLE_PATH_SEPARATOR = /\s*\/\s*/, denormalizeStoryParameters = ({
672
666
  entries: Object.values(index.stories).reduce(
673
667
  (acc, entry) => {
674
668
  let type = "story";
675
- return (entry.parameters?.docsOnly || entry.name === "Page" && countByTitle[entry.title] === 1) && (type = "docs"), acc[entry.id] = {
669
+ (entry.parameters?.docsOnly || entry.name === "Page" && countByTitle[entry.title] === 1) && (type = "docs");
670
+ let { story: _story, kind: _kind, ...entryWithoutV3Fields } = entry;
671
+ return acc[entry.id] = {
676
672
  type,
677
673
  ...type === "docs" && { tags: ["stories-mdx"], storiesImports: [] },
678
- ...entry
679
- }, delete acc[entry.id].story, delete acc[entry.id].kind, acc;
674
+ ...entryWithoutV3Fields
675
+ }, acc;
680
676
  },
681
677
  {}
682
678
  )
@@ -928,15 +924,15 @@ var parseUrl = (url) => {
928
924
  setRef: async (id, { storyIndex, setStoriesData, ...rest }, ready = !1) => {
929
925
  if (singleStory)
930
926
  return;
931
- let internal_index, index, filteredIndex, { filters } = store2.getState(), { storyMapper = defaultStoryMapper } = provider.getConfig(), ref = api.getRefs()[id];
932
- (storyIndex || setStoriesData) && (internal_index = setStoriesData ? transformSetStoriesStoryDataToPreparedStoryIndex(
927
+ let index, filteredIndex, { filters } = store2.getState(), { storyMapper = defaultStoryMapper } = provider.getConfig(), ref = api.getRefs()[id], internal_index = setStoriesData ? transformSetStoriesStoryDataToPreparedStoryIndex(
933
928
  map(setStoriesData, ref, { storyMapper })
934
- ) : storyIndex, filteredIndex = transformStoryIndexToStoriesHash(storyIndex, {
929
+ ) : storyIndex;
930
+ internal_index && (filteredIndex = transformStoryIndexToStoriesHash(internal_index, {
935
931
  provider,
936
932
  docsOptions,
937
933
  filters,
938
934
  allStatuses: {}
939
- }), index = transformStoryIndexToStoriesHash(storyIndex, {
935
+ }), index = transformStoryIndexToStoriesHash(internal_index, {
940
936
  provider,
941
937
  docsOptions,
942
938
  filters: {},
@@ -1271,7 +1267,7 @@ var { document: document2 } = global, isFunction = (val) => typeof val == "funct
1271
1267
  return !1;
1272
1268
  let attemptFocus = () => {
1273
1269
  let element = document2.getElementById(elementId);
1274
- return !element || (element.focus(), element !== document2.activeElement && forceFocus && element.getAttribute("tabindex") === null && (element.setAttribute("tabindex", "-1"), element.focus()), element !== document2.activeElement && element.id !== document2.activeElement?.id) ? !1 : (select && element.select?.(), !0);
1270
+ return !element || (element.focus(), element !== document2.activeElement && forceFocus && element.getAttribute("tabindex") === null && (element.setAttribute("tabindex", "-1"), element.focus()), element !== document2.activeElement && element.id !== document2.activeElement?.id) ? !1 : (select && "select" in element && typeof element.select == "function" && element.select(), !0);
1275
1271
  };
1276
1272
  return attemptFocus() ? !0 : poll ? new Promise((resolve) => {
1277
1273
  let startTime = Date.now(), maxDuration = 500, intervalId = setInterval(() => {
@@ -2555,7 +2551,7 @@ var parseBoolean = (value) => {
2555
2551
  navSize,
2556
2552
  bottomPanelHeight,
2557
2553
  rightPanelWidth,
2558
- panelPosition: ["right", "bottom"].includes(panel) ? panel : void 0
2554
+ panelPosition: panel === "right" || panel === "bottom" ? panel : void 0
2559
2555
  }, ui = {
2560
2556
  enableShortcuts: parseBoolean(shortcuts)
2561
2557
  }, selectedPanel = addonPanel || void 0, storyId = storyIdFromUrl, otherParams = getCustomQueryParams(location2), customQueryParams = isEqual(prevParams, otherParams) ? prevParams : otherParams;
@@ -2598,13 +2594,12 @@ var parseBoolean = (value) => {
2598
2594
  return customQueryParams ? customQueryParams[key] : void 0;
2599
2595
  },
2600
2596
  getUrlState() {
2601
- let { location: location2, path, customQueryParams, storyId, url, viewMode } = store2.getState();
2597
+ let { location: location2, path, customQueryParams, storyId, viewMode } = store2.getState();
2602
2598
  return {
2603
2599
  path,
2604
2600
  hash: location2?.hash ?? "",
2605
2601
  queryParams: customQueryParams,
2606
2602
  storyId,
2607
- url,
2608
2603
  viewMode
2609
2604
  };
2610
2605
  },
@@ -2800,13 +2795,7 @@ var import_store2 = __toESM(require_store2(), 1);
2800
2795
  // src/manager-api/lib/store-setup.ts
2801
2796
  var store_setup_default = (_) => {
2802
2797
  _.fn("set", function(key, data) {
2803
- return _.set(
2804
- // @ts-expect-error('this' implicitly has type 'any')
2805
- this._area,
2806
- // @ts-expect-error('this' implicitly has type 'any')
2807
- this._in(key),
2808
- stringify2(data, { maxDepth: 50 })
2809
- );
2798
+ return _.set(this._area, this._in(key), stringify2(data, { maxDepth: 50 }));
2810
2799
  }), _.fn("get", function(key, alt) {
2811
2800
  let value = _.get(this._area, this._in(key));
2812
2801
  return value !== null ? parse(value) : alt || value;
@@ -2923,7 +2912,13 @@ var ManagerContext = createContext({ api: void 0, state: initial_state_default({
2923
2912
  let patch = typeof stateChange == "function" ? stateChange(this.state) : stateChange;
2924
2913
  return this.state = { ...this.state, ...patch }, callback?.(this.state), this.state;
2925
2914
  }
2926
- return this.setState(stateChange, () => callback(this.state)), this.state;
2915
+ return this.setState(
2916
+ (state2) => ({
2917
+ ...state2,
2918
+ ...typeof stateChange == "function" ? stateChange(state2) : stateChange
2919
+ }),
2920
+ () => callback(this.state)
2921
+ ), this.state;
2927
2922
  }
2928
2923
  }), routeData = { location: location2, path, viewMode, singleStory, storyId, refId }, optionsData = { docsOptions };
2929
2924
  this.state = store2.getInitialState(initial_state_default({ ...routeData, ...optionsData }));
@@ -3031,10 +3026,7 @@ function useParameter(parameterKey, defaultValue) {
3031
3026
  globalThis.FORKBOOK_ADDON_STATE = {};
3032
3027
  var { FORKBOOK_ADDON_STATE } = globalThis;
3033
3028
  function useSharedState(stateId, defaultState) {
3034
- let api = useStorybookApi(), existingState = api.getAddonState(stateId) || FORKBOOK_ADDON_STATE[stateId], state = orDefault(
3035
- existingState,
3036
- FORKBOOK_ADDON_STATE[stateId] ? FORKBOOK_ADDON_STATE[stateId] : defaultState
3037
- ), quicksync = !1;
3029
+ let api = useStorybookApi(), getCachedState = () => FORKBOOK_ADDON_STATE[stateId], existingState = api.getAddonState(stateId) || getCachedState(), state = orDefault(existingState, getCachedState() || defaultState), quicksync = !1;
3038
3030
  state === defaultState && defaultState !== void 0 && (FORKBOOK_ADDON_STATE[stateId] = defaultState, quicksync = !0), useEffect(() => {
3039
3031
  quicksync && defaultState !== void 0 && api.setAddonState(stateId, defaultState);
3040
3032
  }, [quicksync]);
@@ -3051,8 +3043,8 @@ function useSharedState(stateId, defaultState) {
3051
3043
  [`${SHARED_STATE_SET}-client-${stateId}`]: setState
3052
3044
  }, stateInitializationHandlers = {
3053
3045
  [SET_STORIES2]: async () => {
3054
- let currentState = api.getAddonState(stateId);
3055
- currentState ? (FORKBOOK_ADDON_STATE[stateId] = currentState, api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, currentState)) : FORKBOOK_ADDON_STATE[stateId] ? (await setState(FORKBOOK_ADDON_STATE[stateId]), api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, FORKBOOK_ADDON_STATE[stateId])) : defaultState !== void 0 && (await setState(defaultState), FORKBOOK_ADDON_STATE[stateId] = defaultState, api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, defaultState));
3046
+ let currentState = api.getAddonState(stateId), cachedState = getCachedState();
3047
+ currentState ? (FORKBOOK_ADDON_STATE[stateId] = currentState, api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, currentState)) : cachedState ? (await setState(cachedState), api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, getCachedState())) : defaultState !== void 0 && (await setState(defaultState), FORKBOOK_ADDON_STATE[stateId] = defaultState, api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, defaultState));
3056
3048
  },
3057
3049
  [STORY_CHANGED2]: () => {
3058
3050
  let currentState = api.getAddonState(stateId);
@@ -3114,6 +3106,7 @@ var MockUniversalStore = class _MockUniversalStore extends UniversalStore {
3114
3106
  ), UniversalStore.isInternalConstructing = !1, typeof testUtils?.fn == "function" && (this.testUtils = testUtils, this.getState = testUtils.fn(this.getState), this.setState = testUtils.fn(this.setState), this.subscribe = testUtils.fn(this.subscribe), this.onStateChange = testUtils.fn(this.onStateChange), this.send = testUtils.fn(this.send));
3115
3107
  }
3116
3108
  /** Create a mock universal store. This is just an alias for the constructor */
3109
+ // `State = any`: as in `UniversalStore.create`, a store made without a state type takes any state.
3117
3110
  static create(options, testUtils) {
3118
3111
  return new _MockUniversalStore(options, testUtils);
3119
3112
  }
@@ -3190,7 +3183,13 @@ function createTestProviderStore({
3190
3183
  getTestProviderStoreById: getTestProviderStoreById2,
3191
3184
  fullTestProviderStore: fullTestProviderStore2,
3192
3185
  universalTestProviderStore: universalTestProviderStore2,
3193
- useTestProviderStore: (selector) => useUniversalStore2(universalTestProviderStore2, selector)[0]
3186
+ useTestProviderStore: (selector) => (
3187
+ // The hook also runs without a selector and then returns the whole state.
3188
+ useUniversalStore2(
3189
+ universalTestProviderStore2,
3190
+ selector
3191
+ )[0]
3192
+ )
3194
3193
  } : {
3195
3194
  getTestProviderStoreById: getTestProviderStoreById2,
3196
3195
  fullTestProviderStore: fullTestProviderStore2,
@@ -1,4 +1,4 @@
1
- import { Q as StatusTypeId, q as Status, ql as StorybookError } from "./chunk-BmCH-L7_.js";
1
+ import { Q as StatusTypeId, Vl as StorybookError, q as Status } from "./chunk-BCG2ui5q.js";
2
2
 
3
3
  //#region .dts-emit/code/core/src/manager-errors.d.ts
4
4
  /**
@@ -188,7 +188,7 @@ type CoreDocgenComponent = CoreDocgenPayload & {
188
188
  declare const LIST_TOOL_NAME: string;
189
189
  declare const GET_TOOL_NAME: string;
190
190
  declare const GET_STORY_TOOL_NAME: string;
191
- type Server = McpServer<any, StorybookContext>;
191
+ type Server = McpServer<GenericSchema, StorybookContext>;
192
192
  type ToolEnabled = Parameters<Server['tool']>[0]['enabled'];
193
193
  /**
194
194
  * What an embedder needs to register one of these tools on its own server.
package/dist/mcp/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
1
+ import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  package_default
14
- } from "../_node-chunks/chunk-POA32M7F.js";
15
- import "../_node-chunks/chunk-MNQVVJZN.js";
14
+ } from "../_node-chunks/chunk-PGIDRLZ5.js";
15
+ import "../_node-chunks/chunk-6JSZY5TJ.js";
16
16
 
17
17
  // src/mcp/index.ts
18
18
  import { McpServer } from "tmcp";
@@ -553,7 +553,9 @@ declare function getAutomockCode(originalCode: string, isSpy: boolean, parse: Pa
553
553
  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
554
554
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
555
555
  */
556
- declare function automockModule(code: string, mockType: 'automock' | 'autospy', parse: (code: string) => any, options?: any): MagicString;
556
+ declare function automockModule(code: string, mockType: 'automock' | 'autospy', parse: ParseFn, options?: {
557
+ globalThisAccessor?: string;
558
+ }): MagicString;
557
559
  //#endregion
558
560
  //#region .dts-emit/code/core/src/mocking-utils/extract.d.ts
559
561
  declare function isModuleDirectory(path: string): boolean;
@@ -670,8 +672,8 @@ declare function esmWalker(root: Node, {
670
672
  onDynamicImport,
671
673
  onCallExpression
672
674
  }: Visitors): void;
673
- declare function isStaticProperty(node: Node$1): node is Property;
674
- declare function isStaticPropertyKey(node: Node$1, parent: Node$1): boolean;
675
+ declare function isStaticProperty(node: Node$1 | null | undefined): node is Property;
676
+ declare function isStaticPropertyKey(node: Node$1, parent: Node$1 | null): boolean;
675
677
  declare function isFunctionNode(node: Node$1): node is Function;
676
678
  declare function isInDestructuringAssignment(parent: Node$1, parentStack: Node$1[]): boolean;
677
679
  declare function getArbitraryModuleIdentifier(node: Identifier | Literal): string;
@@ -1,21 +1,21 @@
1
- import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
1
+ import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
12
  import {
13
13
  walk
14
- } from "../_node-chunks/chunk-5KMW5XXM.js";
14
+ } from "../_node-chunks/chunk-3ZAENV5A.js";
15
15
  import {
16
16
  userModuleExtensions
17
- } from "../_node-chunks/chunk-JHX35YKT.js";
18
- import "../_node-chunks/chunk-MNQVVJZN.js";
17
+ } from "../_node-chunks/chunk-33T4HNF2.js";
18
+ import "../_node-chunks/chunk-6JSZY5TJ.js";
19
19
 
20
20
  // src/mocking-utils/automock.ts
21
21
  import MagicString from "magic-string";
@@ -41,7 +41,7 @@ function esmWalker(root, { onIdentifier, onImportMeta, onDynamicImport, onCallEx
41
41
  property.type === "RestElement" ? setScope(parentScope, property.argument.name) : handlePattern(property.value, parentScope);
42
42
  }) : p.type === "ArrayPattern" ? p.elements.forEach((element) => {
43
43
  element && handlePattern(element, parentScope);
44
- }) : p.type === "AssignmentPattern" ? handlePattern(p.left, parentScope) : setScope(parentScope, p.name);
44
+ }) : p.type === "AssignmentPattern" ? handlePattern(p.left, parentScope) : setScope(parentScope, Reflect.get(p, "name"));
45
45
  }
46
46
  walk(root, {
47
47
  enter(node, parent) {
@@ -93,10 +93,10 @@ function esmWalker(root, { onIdentifier, onImportMeta, onDynamicImport, onCallEx
93
93
  });
94
94
  }
95
95
  function isRefIdentifier(id, parent, parentStack) {
96
- return !(parent.type === "CatchClause" || (parent.type === "VariableDeclarator" || parent.type === "ClassDeclaration") && parent.id === id || isFunctionNode(parent) && (parent.id === id || parent.params.includes(id)) || parent.type === "MethodDefinition" && !parent.computed || isStaticPropertyKey(id, parent) || isNodeInPattern(parent) && parent.value === id || parent.type === "ArrayPattern" && !isInDestructuringAssignment(parent, parentStack) || parent.type === "MemberExpression" && parent.property === id && !parent.computed || parent.type === "ExportSpecifier" || id.name === "arguments");
96
+ return !(parent.type === "CatchClause" || (parent.type === "VariableDeclarator" || parent.type === "ClassDeclaration") && parent.id === id || isFunctionNode(parent) && ("id" in parent && parent.id === id || parent.params.includes(id)) || parent.type === "MethodDefinition" && !parent.computed || isStaticPropertyKey(id, parent) || isNodeInPattern(parent) && parent.value === id || parent.type === "ArrayPattern" && !isInDestructuringAssignment(parent, parentStack) || parent.type === "MemberExpression" && parent.property === id && !parent.computed || parent.type === "ExportSpecifier" || id.name === "arguments");
97
97
  }
98
98
  function isStaticProperty(node) {
99
- return node && node.type === "Property" && !node.computed;
99
+ return !!node && node.type === "Property" && !node.computed;
100
100
  }
101
101
  function isStaticPropertyKey(node, parent) {
102
102
  return isStaticProperty(parent) && parent.key === node;
@@ -273,7 +273,7 @@ function resolveWithExtensions(path, from) {
273
273
  }
274
274
 
275
275
  // src/mocking-utils/extract.ts
276
- var DEFAULT_MODULE_DIRECTORIES = ["/node_modules/"];
276
+ var DEFAULT_MODULE_DIRECTORIES = ["/node_modules/"], walkBabel = walk;
277
277
  function isModuleDirectory(path) {
278
278
  let normalizedPath = normalize(path);
279
279
  return DEFAULT_MODULE_DIRECTORIES.some((dir) => normalizedPath.includes(dir));
@@ -286,7 +286,7 @@ var babelParser = (code) => parser.parse(code, {
286
286
  }).program;
287
287
  function rewriteSbMockImportCalls(code) {
288
288
  let ast = babelParser(code);
289
- return walk(ast, {
289
+ return walkBabel(ast, {
290
290
  enter(node) {
291
291
  node.type === "CallExpression" && node.callee.type === "MemberExpression" && node.callee.object.type === "Identifier" && node.callee.object.name === "sb" && node.callee.property.type === "Identifier" && node.callee.property.name === "mock" && node.arguments.length > 0 && node.arguments[0].type === "CallExpression" && node.arguments[0].callee.type === "Import" && node.arguments[0].arguments.length === 1 && node.arguments[0].arguments[0].type === "StringLiteral" && (node.arguments[0] = t.stringLiteral(node.arguments[0].arguments[0].value));
292
292
  }
@@ -295,7 +295,7 @@ function rewriteSbMockImportCalls(code) {
295
295
  function extractMockCalls(options, parse, root, findMockRedirect2) {
296
296
  try {
297
297
  let hasSpyTrue2 = function(objectExpression) {
298
- if (!objectExpression || !objectExpression.properties)
298
+ if (!objectExpression || !("properties" in objectExpression))
299
299
  return !1;
300
300
  for (let prop of objectExpression.properties)
301
301
  if (prop.type === "ObjectProperty" && (prop.key.type === "Identifier" && prop.key.name === "spy" || prop.key.type === "StringLiteral" && prop.key.value === "spy") && prop.value.type === "BooleanLiteral" && prop.value.value === !0)
@@ -309,8 +309,7 @@ function extractMockCalls(options, parse, root, findMockRedirect2) {
309
309
  if (errors.length)
310
310
  throw new Error(errors[0].message);
311
311
  let ast = parse(jsCode), mocks = [];
312
- return walk(ast, {
313
- // @ts-expect-error The walker types the node as ESTree, but the AST comes from Babel.
312
+ return walkBabel(ast, {
314
313
  async enter(node) {
315
314
  if (node.type !== "CallExpression" || node.callee.type !== "MemberExpression" || node.callee.object.type !== "Identifier" || node.callee.object.name !== "sb" || node.callee.property.type !== "Identifier" || node.callee.property.name !== "mock" || node.arguments.length === 0)
316
315
  return;
@@ -46,7 +46,9 @@ cookies.mockRestore = () => {
46
46
  };
47
47
 
48
48
  // src/nextjs-vite/export-mocks/headers/index.ts
49
- var draftMode2 = fn3(originalDraftMode ?? headers3.draftMode).mockName("draftMode");
49
+ var draftMode2 = fn3(
50
+ originalDraftMode ?? headers3.draftMode
51
+ ).mockName("draftMode");
50
52
  export {
51
53
  cookies,
52
54
  draftMode2 as draftMode,
@@ -1,7 +1,10 @@
1
1
  import React from "react";
2
+ import { LinkProps } from "next/link";
2
3
 
3
4
  //#region .dts-emit/code/core/src/nextjs-vite/export-mocks/link/index.d.ts
4
- declare const MockLink: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
5
+ declare const MockLink: React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, keyof LinkProps<any>> & LinkProps<any> & {
6
+ children?: React.ReactNode;
7
+ } & React.RefAttributes<HTMLAnchorElement>>;
5
8
  declare const useLinkStatus: import("@vitest/spy").Mock<() => {
6
9
  pending: boolean;
7
10
  }>;
@@ -3,6 +3,14 @@ import { Mock } from "@aussieljk/forkbook/test";
3
3
  export * from "next/dist/client/components/navigation.js";
4
4
 
5
5
  //#region .dts-emit/code/core/src/nextjs-vite/export-mocks/navigation/index.d.ts
6
+ declare const createNavigation: (overrides?: Record<string, (...params: unknown[]) => unknown>) => {
7
+ push: Mock;
8
+ replace: Mock;
9
+ forward: Mock;
10
+ back: Mock;
11
+ prefetch: Mock;
12
+ refresh: Mock;
13
+ };
6
14
  declare const getRouter: () => {
7
15
  push: Mock;
8
16
  replace: Mock;
@@ -25,4 +33,4 @@ interface Params {
25
33
  }
26
34
  declare const useParams: Mock<() => Params>;
27
35
  //#endregion
28
- export { getRouter, notFound, permanentRedirect, redirect, useParams, usePathname, useRouter, useSearchParams, useSelectedLayoutSegment, useSelectedLayoutSegments, useServerInsertedHTML };
36
+ export { createNavigation, getRouter, notFound, permanentRedirect, redirect, useParams, usePathname, useRouter, useSearchParams, useSelectedLayoutSegment, useSelectedLayoutSegments, useServerInsertedHTML };
@@ -27,7 +27,9 @@ var defaultRouterState = {
27
27
  }).mockName("next/router::useRouter().forward"),
28
28
  prefetch: fn((..._args) => Promise.resolve()).mockName("next/router::useRouter().prefetch"),
29
29
  beforePopState: fn((..._args) => {
30
- }).mockName("next/router::useRouter().beforePopState")
30
+ }).mockName(
31
+ "next/router::useRouter().beforePopState"
32
+ )
31
33
  }, routerEvents = {
32
34
  on: fn((..._args) => {
33
35
  }).mockName("next/router::useRouter().events.on"),
@@ -36,15 +38,19 @@ var defaultRouterState = {
36
38
  emit: fn((..._args) => {
37
39
  }).mockName("next/router::useRouter().events.emit")
38
40
  };
39
- return overrides && Object.keys(routerActions).forEach((key) => {
40
- key in overrides && (routerActions[key] = fn((...args) => overrides[key](...args)).mockName(`useRouter().${key}`));
41
- }), overrides?.events && Object.keys(routerEvents).forEach((key) => {
42
- key in routerEvents && (routerEvents[key] = fn((...args) => overrides.events[key](...args)).mockName(`useRouter().events.${key}`));
43
- }), routerAPI = {
41
+ if (overrides)
42
+ for (let key of Object.keys(routerActions)) {
43
+ let override = overrides[key];
44
+ override && (routerActions[key] = fn((...args) => Reflect.apply(override, overrides, args)).mockName(`useRouter().${key}`));
45
+ }
46
+ let overrideEvents = overrides?.events;
47
+ if (overrideEvents)
48
+ for (let key of Object.keys(routerEvents))
49
+ routerEvents[key] = fn((...args) => Reflect.apply(overrideEvents[key], overrideEvents, args)).mockName(`useRouter().events.${key}`);
50
+ return routerAPI = {
44
51
  ...defaultRouterState,
45
52
  ...overrides,
46
53
  ...routerActions,
47
- // @ts-expect-error The mock events are `vi.fn` mocks, not a `MittEmitter`.
48
54
  events: routerEvents
49
55
  }, singletonRouter.router = routerAPI, singletonRouter.readyCallbacks.forEach((cb) => cb()), singletonRouter.readyCallbacks = [], routerAPI;
50
56
  }, getRouter = () => {
@@ -24,7 +24,7 @@ export * from "@aussieljk/forkbook/react";
24
24
  *
25
25
  * @param projectAnnotations - E.g. (import projectAnnotations from '../.forkbook/preview')
26
26
  */
27
- declare function setProjectAnnotations(projectAnnotations: NamedOrDefaultProjectAnnotations<any> | NamedOrDefaultProjectAnnotations<any>[]): NormalizedProjectAnnotations<ReactRenderer>;
27
+ declare function setProjectAnnotations(projectAnnotations: NamedOrDefaultProjectAnnotations<ReactRenderer> | NamedOrDefaultProjectAnnotations<ReactRenderer>[]): NormalizedProjectAnnotations<ReactRenderer>;
28
28
  /**
29
29
  * Function that will receive a story along with meta (e.g. a default export from a .stories file)
30
30
  * and optionally projectAnnotations e.g. (import * from '../.forkbook/preview) and will return a
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  preview_exports
3
- } from "../_browser-chunks/chunk-XV3AEPJW.js";
3
+ } from "../_browser-chunks/chunk-DHTLVXAL.js";
4
4
  import {
5
5
  INTERNAL_DEFAULT_PROJECT_ANNOTATIONS
6
- } from "../_browser-chunks/chunk-UDR26TXA.js";
7
- import "../_browser-chunks/chunk-5MRMYSUN.js";
8
- import "../_browser-chunks/chunk-DT7BB545.js";
6
+ } from "../_browser-chunks/chunk-YJO5BK52.js";
7
+ import "../_browser-chunks/chunk-DISGPOF4.js";
8
+ import "../_browser-chunks/chunk-ENHFQXYS.js";
9
9
  import "../_browser-chunks/chunk-WHQRNHXD.js";
10
10
  import "../_browser-chunks/chunk-6AKCRYVX.js";
11
11
  import "../_browser-chunks/chunk-IMSF75WX.js";
@@ -41,7 +41,11 @@ function composeStory(story, componentAnnotations, projectAnnotations, exportsNa
41
41
  );
42
42
  }
43
43
  function composeStories(csfExports, projectAnnotations) {
44
- return originalComposeStories(csfExports, projectAnnotations, composeStory);
44
+ return originalComposeStories(
45
+ csfExports,
46
+ projectAnnotations ?? {},
47
+ composeStory
48
+ );
45
49
  }
46
50
 
47
51
  // src/nextjs-vite/index.ts
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_enqaafxxjgh from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_enqaafxxjgh from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_enqaafxxjgh from "node:module";
1
+ import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_enqaafxxjgh.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_enqaafxxjgh.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_enqaafxxjgh.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Forkbook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../../_node-chunks/chunk-MNQVVJZN.js";
12
+ import "../../_node-chunks/chunk-6JSZY5TJ.js";
13
13
 
14
14
  // src/nextjs-vite/node/index.ts
15
15
  function defineMain(config) {