@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,10 +1,10 @@
1
- import { a as RenderData } from "./chunk-DoIGKY33.js";
2
- import { s as ThemeVars$1 } from "./chunk-BGkgZp-H.js";
3
- import { p as Channel$1 } from "./chunk-CfEntHiI.js";
4
- import { A as Queries, C as GetServiceOptions, D as MatchingOutputSchemas, G as ServiceInstanceOf, I as QueryState, J as ServiceState, K as ServiceRegistrationOptions, N as QueryDefinition, P as QueryFunctions, R as RuntimeService, S as Commands, U as ServiceId, V as ServiceDefinition, W as ServiceInstance, Z as StandardSchemaV1, _ as AnyServiceDefinition, a as ToolsetDefinition, b as CommandDefinition, d as ToolsetOutcome, i as ToolsetCtx, j as Query, k as OperationInputSchemas, q as ServiceRegistryApi, t as AnyToolsetDefinition } from "./chunk-BCoJQE-f.js";
5
- import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-DROZ9oel.js";
1
+ import { a as RenderData } from "./chunk-BLZXEm1K.js";
2
+ import { s as ThemeVars$1 } from "./chunk-D3uSIa6H.js";
3
+ import { p as Channel$1 } from "./chunk-u_gGuTrz.js";
4
+ import { A as OperationInputSchemas, C as Commands, F as QueryFunctions, G as ServiceInstance, H as ServiceDefinition, J as ServiceRegistryApi, K as ServiceInstanceOf, L as QueryState, M as Query, O as MatchingOutputSchemas, P as QueryDefinition, Q as StandardSchemaV1, W as ServiceId, Y as ServiceState, a as ToolsetCtx, f as ToolsetOutcome, j as Queries, o as ToolsetDefinition, q as ServiceRegistrationOptions, t as AnyToolsetDefinition, v as AnyServiceDefinition, w as GetServiceOptions, x as CommandDefinition, z as RuntimeService } from "./chunk-BtKww7r1.js";
5
+ import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-DNCU78oW.js";
6
6
  import { t as Options$3 } from "./chunk-C6PAgHLT.js";
7
- import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-Bpi2tz-6.js";
7
+ import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-Bubi-WAs.js";
8
8
  import { AfterEach as AfterEach$1, AnnotatedStoryFn as AnnotatedStoryFn$1, ArgTypes as ArgTypes$2, ArgTypesEnhancer, Args, Args as Args$2, ArgsEnhancer, ArgsFromMeta as ArgsFromMeta$1, ArgsStoryFn as ArgsStoryFn$1, BaseAnnotations as BaseAnnotations$1, BeforeAll, BeforeEach, Canvas as Canvas$1, CleanupCallback, CleanupCallback as CleanupCallback$1, ComponentAnnotations as ComponentAnnotations$1, ComponentId, ComponentTitle as ComponentTitle$1, Conditional as Conditional$1, DecoratorApplicator as DecoratorApplicator$1, DecoratorFunction as DecoratorFunction$2, GlobalTypes as GlobalTypes$1, Globals, Globals as Globals$2, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn as LegacyStoryAnnotationsOrFn$1, LegacyStoryFn as LegacyStoryFn$1, LoaderFunction as LoaderFunction$1, Meta, Parameters as Parameters$2, PartialStoryFn as PartialStoryFn$1, PlayFunction, PlayFunctionContext, ProjectAnnotations, ProjectAnnotations as BaseProjectAnnotations, Renderer, Renderer as Renderer$2, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType as SBType$1, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner as StepRunner$1, Story, StoryAnnotations as StoryAnnotations$1, StoryAnnotationsOrFn as StoryAnnotationsOrFn$1, StoryContext, StoryContext as StoryContext$2, StoryContextForEnhancers as StoryContextForEnhancers$1, StoryContextForLoaders, StoryContextForRender, StoryContextUpdate as StoryContextUpdate$1, StoryFn, StoryId, StoryId as StoryId$2, StoryIdentifier, StoryKind as StoryKind$1, StoryName as StoryName$1, StrictArgTypes, StrictArgTypes as StrictArgTypes$2, StrictArgs as StrictArgs$1, StrictInputType, Tag, Tag as Tag$2, TestFunction as TestFunction$1, ViewMode, toId } from "@aussieljk/forkbook/internal/csf";
9
9
  import React$1, { Component, DependencyList, FC, PropsWithChildren, ReactElement, ReactNode } from "react";
10
10
  import { Channel, ChannelLike, Listener, Listener as Listener$2 } from "@aussieljk/forkbook/internal/channels";
@@ -312,7 +312,7 @@ declare class AddonStore$1 {
312
312
  ready: () => Promise<Channel>;
313
313
  hasChannel: () => boolean;
314
314
  setChannel: (channel: Channel) => void;
315
- getElements<T extends Addon_Types | Addon_TypesEnum$2.experimental_PAGE | Addon_TypesEnum$2.experimental_TEST_PROVIDER>(type: T): Addon_Collection<Addon_TypesMapping[T]> | any;
315
+ getElements<T extends Addon_Types | Addon_TypesEnum$2.experimental_PAGE | Addon_TypesEnum$2.experimental_TEST_PROVIDER>(type: T): Addon_Collection<Addon_TypesMapping[T]>;
316
316
  /**
317
317
  * Adds an addon to the addon store.
318
318
  *
@@ -338,7 +338,7 @@ declare const addons$1: AddonStore$1;
338
338
  //#endregion
339
339
  //#region .dts-emit/code/core/src/manager-api/store.d.ts
340
340
  type GetState = () => State;
341
- type SetState = (a: any, b: any) => any;
341
+ type SetState = (patch: Partial<State> | ((state: State) => Partial<State>), callback: (state: State) => void) => void;
342
342
  interface Upstream {
343
343
  /**
344
344
  * Whether to allow persistence of state to local/sessionStorage. This is used to disable
@@ -375,7 +375,8 @@ declare class Store {
375
375
  }
376
376
  //#endregion
377
377
  //#region .dts-emit/code/core/src/manager-api/lib/types.d.ts
378
- type ModuleFn<APIType = unknown, StateType = unknown> = (m: ModuleArgs, options?: any) => {
378
+ /** `Options` are extra init options that only tests pass, for example `runCheck` for refs. */
379
+ type ModuleFn<APIType = unknown, StateType = unknown, Options = object> = (m: ModuleArgs, options?: Options) => {
379
380
  init?: () => void | Promise<void>;
380
381
  api: APIType;
381
382
  state: StateType;
@@ -388,6 +389,11 @@ type ModuleArgs = RouterData & API_ProviderData<API> & {
388
389
  };
389
390
  //#endregion
390
391
  //#region .dts-emit/code/core/src/manager-api/modules/addons.d.ts
392
+ interface SubState$10 {
393
+ selectedPanel: string | undefined;
394
+ /** The state of each addon, by addon ID. */
395
+ addons: Record<string, unknown>;
396
+ }
391
397
  interface SubAPI$13 {
392
398
  /**
393
399
  * Returns a collection of elements of a specific type.
@@ -472,7 +478,7 @@ interface SubAPI$12 {
472
478
  * `@aussieljk/forkbook/internal/core-events`.
473
479
  * @param args - The arguments to pass to the event listener.
474
480
  */
475
- emit: (type: string, ...args: any[]) => void;
481
+ emit: (type: string, ...args: unknown[]) => void;
476
482
  /**
477
483
  * Adds a one-time listener to the channel for the given event type.
478
484
  *
@@ -539,6 +545,14 @@ interface SubState$8 {
539
545
  * entirely (review routes), otherwise it is 'shown' or 'hidden' based on the layout state.
540
546
  */
541
547
  type NavAvailability = 'shown' | 'hidden' | 'unavailable';
548
+ /** The UI options that `setOptions` applies: the `options` parameter or the initial options. */
549
+ interface LayoutOptions {
550
+ layout?: Partial<API_Layout>;
551
+ ui?: Partial<API_UI>;
552
+ selectedPanel?: string;
553
+ theme?: Partial<ThemeVars>;
554
+ [key: string]: unknown;
555
+ }
542
556
  interface SubAPI$10 {
543
557
  /**
544
558
  * Toggles the fullscreen mode of the Forkbook UI.
@@ -589,7 +603,7 @@ interface SubAPI$10 {
589
603
  *
590
604
  * @param options - An object containing the options to set.
591
605
  */
592
- setOptions: (options: any) => void;
606
+ setOptions: (options: LayoutOptions | undefined) => void;
593
607
  /** Sets the sizes of the resizable elements in the layout. */
594
608
  setSizes: (options: Partial<Pick<API_Layout, 'navSize' | 'bottomPanelHeight' | 'rightPanelWidth'>>) => void;
595
609
  /** GetIsFullscreen - Returns the current fullscreen mode of the Forkbook UI. */
@@ -735,7 +749,7 @@ interface SubAPI$6 {
735
749
  //#region .dts-emit/code/core/src/manager-api/modules/settings.d.ts
736
750
  interface SubAPI$5 {
737
751
  storeSelection: () => void;
738
- retrieveSelection: () => StoryId$1;
752
+ retrieveSelection: () => StoryId$1 | null;
739
753
  /**
740
754
  * Changes the active settings tab.
741
755
  *
@@ -884,7 +898,7 @@ interface API_AddonShortcut {
884
898
  defaultShortcut: API_KeyCollection;
885
899
  actionName: string;
886
900
  showInMenu?: boolean;
887
- action: (...args: any[]) => any;
901
+ action: (...args: never[]) => unknown;
888
902
  }
889
903
  type API_AddonShortcuts = Record<string, API_AddonShortcut>;
890
904
  type API_AddonShortcutLabels = Record<string, string>;
@@ -907,6 +921,8 @@ interface SubState$3 extends API_LoadedRefData {
907
921
  excludedTagFilters: Tag$1[];
908
922
  includedStatusFilters: StatusValue[];
909
923
  excludedStatusFilters: StatusValue[];
924
+ /** Whether the manager has applied the options of the first prepared story. */
925
+ hasCalledSetOptions: boolean;
910
926
  }
911
927
  interface SubAPI$3 {
912
928
  /**
@@ -1008,13 +1024,13 @@ interface SubAPI$3 {
1008
1024
  * retrieve parameters for, or an object containing the story ID and ref ID.
1009
1025
  * @param {ParameterName} [parameterName] - The name of the parameter to retrieve. If not
1010
1026
  * provided, returns all parameters.
1011
- * @returns {API_StoryEntry['parameters'] | any} The parameters for the given story ID and
1027
+ * @returns {unknown} The parameters, or the named parameter, for the given story ID and
1012
1028
  * optional ref ID.
1013
1029
  */
1014
1030
  getParameters: (storyId: StoryId$1 | {
1015
1031
  storyId: StoryId$1;
1016
1032
  refId: string;
1017
- }, parameterName?: ParameterName) => API_StoryEntry['parameters'] | any;
1033
+ }, parameterName?: ParameterName) => unknown;
1018
1034
  /**
1019
1035
  * Returns the current value of the specified parameter for the currently selected story.
1020
1036
  *
@@ -1235,7 +1251,6 @@ interface SubAPI$2 {
1235
1251
  * path: string;
1236
1252
  * viewMode?: string;
1237
1253
  * storyId?: string;
1238
- * url: string;
1239
1254
  * }}
1240
1255
  * An object containing the current state of the URL.
1241
1256
  */
@@ -1245,7 +1260,6 @@ interface SubAPI$2 {
1245
1260
  hash: string;
1246
1261
  viewMode?: string;
1247
1262
  storyId?: string;
1248
- url: string;
1249
1263
  };
1250
1264
  /**
1251
1265
  * Set the query parameters for the current URL.
@@ -1320,17 +1334,17 @@ type SubAPI = {
1320
1334
  };
1321
1335
  //#endregion
1322
1336
  //#region .dts-emit/code/core/src/manager-api/lib/request-response.d.ts
1323
- declare class RequestResponseError<Payload extends Record<string, any> | void> extends Error {
1337
+ declare class RequestResponseError<Payload extends Record<string, unknown> | void> extends Error {
1324
1338
  payload: Payload | undefined;
1325
1339
  constructor(message: string, payload?: Payload);
1326
1340
  }
1327
- declare const experimental_requestResponse: <RequestPayload, ResponsePayload = void, ErrorPayload extends Record<string, any> | void = void>(channel: Channel, requestEvent: string, responseEvent: string, payload: RequestPayload, timeout?: number) => Promise<ResponsePayload>;
1341
+ declare const experimental_requestResponse: <RequestPayload, ResponsePayload = void, ErrorPayload extends Record<string, unknown> | void = void>(channel: Channel, requestEvent: string, responseEvent: string, payload: RequestPayload, timeout?: number) => Promise<ResponsePayload>;
1328
1342
  //#endregion
1329
1343
  //#region .dts-emit/code/core/src/manager-api/lib/platform.d.ts
1330
1344
  declare const isMacLike: () => boolean;
1331
1345
  //#endregion
1332
1346
  //#region .dts-emit/code/core/src/manager-api/lib/merge.d.ts
1333
- declare function _default<TObj = any>(a: TObj, ...b: Partial<TObj>[]): TObj;
1347
+ declare function _default<TObj extends object>(a: TObj, ...b: Partial<TObj>[]): TObj;
1334
1348
  //#endregion
1335
1349
  //#region .dts-emit/code/core/src/manager-api/root.d.ts
1336
1350
  declare const ActiveTabs: {
@@ -1342,11 +1356,8 @@ declare const ManagerContext: React$1.Context<{
1342
1356
  api: API;
1343
1357
  state: State;
1344
1358
  }>;
1345
- type State = SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData & Other;
1346
- type API = SubAPI$13 & SubAPI$12 & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$11 & SubAPI$10 & SubAPI$9 & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & SubAPI$8 & Other;
1347
- interface Other {
1348
- [key: string]: any;
1349
- }
1359
+ type State = SubState$10 & SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData;
1360
+ type API = SubAPI$13 & SubAPI$12 & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$11 & SubAPI$10 & SubAPI$9 & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & SubAPI$8 & Pick<RouterData, 'navigate'>;
1350
1361
  interface Combo {
1351
1362
  api: API;
1352
1363
  state: State;
@@ -1380,7 +1391,7 @@ declare function useStorybookApi(): API;
1380
1391
  interface API_EventMap {
1381
1392
  [eventId: string]: Listener$2;
1382
1393
  }
1383
- declare const useChannel: (eventMap: API_EventMap, deps?: DependencyList) => (type: string, ...args: any[]) => void;
1394
+ declare const useChannel: (eventMap: API_EventMap, deps?: DependencyList) => (type: string, ...args: unknown[]) => void;
1384
1395
  declare function useStoryPrepared(storyId?: StoryId$1): boolean;
1385
1396
  declare function useParameter<S>(parameterKey: string, defaultValue?: S): S;
1386
1397
  declare function useSharedState<S>(stateId: string, defaultState?: S): [S, (newStateOrMerger: S | API_StateMerger<S>, options?: Options$2) => void];
@@ -1407,7 +1418,7 @@ type EventInfo = {
1407
1418
  type Listener$1<TEvent> = (event: TEvent, eventInfo: EventInfo) => void;
1408
1419
  type BaseEvent = {
1409
1420
  type: string;
1410
- payload?: any;
1421
+ payload?: unknown;
1411
1422
  };
1412
1423
  interface SetStateEvent<TState> extends BaseEvent {
1413
1424
  type: typeof UniversalStore.InternalEventType.SET_STATE;
@@ -1501,13 +1512,7 @@ type EnvironmentOverrides = {
1501
1512
  * @throws {Error} If a follower is created with initial state
1502
1513
  * @throws {Error} If a follower cannot find its leader within 1 second
1503
1514
  */
1504
- declare class UniversalStore<State, CustomEvent extends {
1505
- type: string;
1506
- payload?: any;
1507
- } = {
1508
- type: string;
1509
- payload?: any;
1510
- }> {
1515
+ declare class UniversalStore<State, CustomEvent extends BaseEvent = BaseEvent> {
1511
1516
  /**
1512
1517
  * Defines the possible actor types in the store system
1513
1518
  *
@@ -1594,13 +1599,7 @@ declare class UniversalStore<State, CustomEvent extends {
1594
1599
  private actorType;
1595
1600
  protected constructor(options: StoreOptions<State>, environmentOverrides?: EnvironmentOverrides);
1596
1601
  /** Creates a new instance of UniversalStore */
1597
- static create<State = any, CustomEvent extends {
1598
- type: string;
1599
- payload?: any;
1600
- } = {
1601
- type: string;
1602
- payload?: any;
1603
- }>(options: StoreOptions<State>): UniversalStore<State, CustomEvent>;
1602
+ static create<State = any, CustomEvent extends BaseEvent = BaseEvent>(options: StoreOptions<State>): UniversalStore<State, CustomEvent>;
1604
1603
  /** Gets the current state */
1605
1604
  getState: () => State;
1606
1605
  /**
@@ -1646,11 +1645,15 @@ declare class UniversalStore<State, CustomEvent extends {
1646
1645
  * `@aussieljk/forkbook/preview-api` instead.
1647
1646
  */
1648
1647
  declare const useUniversalStore: {
1649
- <TUniversalStore extends UniversalStore<TState, any>, TState = (TUniversalStore extends UniversalStore<infer S, any> ? S : never)>(universalStore: TUniversalStore): [TState, TUniversalStore['setState']];
1650
- <TUniversalStore extends UniversalStore<any, any>, TSelectedState, TState = (TUniversalStore extends UniversalStore<infer S, any> ? S : never)>(universalStore: TUniversalStore, selector: (state: TState) => TSelectedState): [TSelectedState, TUniversalStore['setState']];
1648
+ <TUniversalStore extends UniversalStore<TState, any>, TState = (TUniversalStore extends UniversalStore<infer S, infer _CustomEvent> ? S : never)>(universalStore: TUniversalStore): [TState, TUniversalStore['setState']];
1649
+ <TUniversalStore extends UniversalStore<any, any>, TSelectedState, TState = (TUniversalStore extends UniversalStore<infer S, infer _CustomEvent> ? S : never)>(universalStore: TUniversalStore, selector: (state: TState) => TSelectedState): [TSelectedState, TUniversalStore['setState']];
1651
1650
  };
1652
1651
  //#endregion
1653
1652
  //#region .dts-emit/code/core/src/shared/universal-store/mock.d.ts
1653
+ /** The spy factory of a test library, such as `vi` from Vitest or `@aussieljk/forkbook/test`. */
1654
+ type TestUtils = {
1655
+ fn: (implementation: (...args: never[]) => unknown) => unknown;
1656
+ };
1654
1657
  /**
1655
1658
  * A mock universal store that can be used when testing code that relies on a universal store. It
1656
1659
  * functions exactly like a normal universal store, with a few exceptions:
@@ -1683,23 +1686,11 @@ declare const useUniversalStore: {
1683
1686
  * }
1684
1687
  * ```
1685
1688
  */
1686
- declare class MockUniversalStore<State, CustomEvent extends {
1687
- type: string;
1688
- payload?: any;
1689
- } = {
1690
- type: string;
1691
- payload?: any;
1692
- }> extends UniversalStore<State, CustomEvent> {
1693
- private testUtils;
1694
- constructor(options: StoreOptions<State>, testUtils?: any);
1689
+ declare class MockUniversalStore<State, CustomEvent extends BaseEvent = BaseEvent> extends UniversalStore<State, CustomEvent> {
1690
+ private testUtils?;
1691
+ constructor(options: StoreOptions<State>, testUtils?: TestUtils);
1695
1692
  /** Create a mock universal store. This is just an alias for the constructor */
1696
- static create<State = any, CustomEvent extends {
1697
- type: string;
1698
- payload?: any;
1699
- } = {
1700
- type: string;
1701
- payload?: any;
1702
- }>(options: StoreOptions<State>, testUtils?: any): MockUniversalStore<State, CustomEvent>;
1693
+ static create<State = any, CustomEvent extends BaseEvent = BaseEvent>(options: StoreOptions<State>, testUtils?: TestUtils): MockUniversalStore<State, CustomEvent>;
1703
1694
  unsubscribeAll(): void;
1704
1695
  }
1705
1696
  //#endregion
@@ -4278,6 +4269,122 @@ declare enum SupportedRenderer$1 {
4278
4269
  REACT_NATIVE = "react-native"
4279
4270
  }
4280
4271
  //#endregion
4272
+ //#region .dts-emit/code/core/src/types/modules/api-stories.d.ts
4273
+ interface API_BaseEntry {
4274
+ id: StoryId$2;
4275
+ depth: number;
4276
+ name: string;
4277
+ tags: Tag$2[];
4278
+ refId?: string;
4279
+ renderAriaLabel?: API_SidebarOptions['renderAriaLabel'];
4280
+ renderLabel?: API_SidebarOptions['renderLabel'];
4281
+ }
4282
+ interface API_RootEntry extends API_BaseEntry {
4283
+ type: 'root';
4284
+ startCollapsed?: boolean;
4285
+ children: StoryId$2[];
4286
+ }
4287
+ interface API_GroupEntry extends API_BaseEntry {
4288
+ type: 'group';
4289
+ parent?: StoryId$2;
4290
+ children: StoryId$2[];
4291
+ }
4292
+ interface API_ComponentEntry extends API_BaseEntry {
4293
+ type: 'component';
4294
+ parent?: StoryId$2;
4295
+ children: StoryId$2[];
4296
+ importPath?: Path$1;
4297
+ }
4298
+ interface API_DocsEntry$1 extends API_BaseEntry {
4299
+ type: 'docs';
4300
+ parent: StoryId$2;
4301
+ title: ComponentTitle$1;
4302
+ importPath: Path$1;
4303
+ prepared: boolean;
4304
+ parameters?: {
4305
+ [parameterName: string]: unknown;
4306
+ };
4307
+ anchors?: DocsAnchor$1[];
4308
+ }
4309
+ interface API_StoryEntry$1 extends API_BaseEntry {
4310
+ type: 'story';
4311
+ subtype: 'story';
4312
+ parent: StoryId$2;
4313
+ title: ComponentTitle$1;
4314
+ importPath: Path$1;
4315
+ exportName: string;
4316
+ prepared: boolean;
4317
+ parameters?: {
4318
+ [parameterName: string]: unknown;
4319
+ };
4320
+ args?: Args$2;
4321
+ argTypes?: ArgTypes$2;
4322
+ initialArgs?: Args$2;
4323
+ children?: StoryId$2[];
4324
+ }
4325
+ interface API_TestEntry$1 extends Omit<API_StoryEntry$1, 'subtype' | 'children' | 'parent'> {
4326
+ parent: StoryId$2;
4327
+ subtype: 'test';
4328
+ }
4329
+ type API_LeafEntry$1 = API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
4330
+ /**
4331
+ * Runtime enrichment for a composed ref's stories/docs, keyed by entry id. These fields come from
4332
+ * the ref preview's STORY_PREPARED / DOCS_PREPARED events and are not part of the ref's static story
4333
+ * index, so they are cached per ref and re-applied whenever the ref index is (re)built.
4334
+ */
4335
+ type API_RefStoryRuntimeData = Record<StoryId$2, Partial<Pick<API_StoryEntry$1, 'prepared' | 'parameters' | 'args' | 'argTypes' | 'initialArgs'>>>;
4336
+ type API_HashEntry$1 = API_RootEntry | API_GroupEntry | API_ComponentEntry | API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
4337
+ /**
4338
+ * The `IndexHash` is our manager-side representation of the `StoryIndex`. We create entries in the
4339
+ * hash not only for each story or docs entry, but also for each "group" of the component (split on
4340
+ * '/'), as that's how things are manipulated in parts of the manager (i.e. in search).
4341
+ */
4342
+ interface API_IndexHash$1 {
4343
+ [id: string]: API_HashEntry$1;
4344
+ }
4345
+ type API_PreparedIndexEntry = IndexEntry$1 & {
4346
+ parameters?: Parameters$2;
4347
+ argTypes?: ArgTypes$2;
4348
+ args?: Args$2;
4349
+ initialArgs?: Args$2;
4350
+ };
4351
+ interface API_PreparedStoryIndex$1 {
4352
+ v: number;
4353
+ entries: Record<StoryId$2, API_PreparedIndexEntry>;
4354
+ }
4355
+ type API_OptionsData$1 = {
4356
+ docsOptions: DocsOptions$1;
4357
+ };
4358
+ interface API_ReleaseNotes {
4359
+ success?: boolean;
4360
+ currentVersion?: string;
4361
+ showOnFirstLaunch?: boolean;
4362
+ }
4363
+ interface API_Settings$1 {
4364
+ /** The last story that the manager showed, or `null` before it showed one. */
4365
+ lastTrackedStoryId: string | null;
4366
+ }
4367
+ interface API_Version$1 {
4368
+ version: string;
4369
+ info?: {
4370
+ plain: string;
4371
+ };
4372
+ [key: string]: unknown;
4373
+ }
4374
+ interface API_UnknownEntries$1 {
4375
+ [key: string]: {
4376
+ [key: string]: unknown;
4377
+ };
4378
+ }
4379
+ interface API_Versions$2 {
4380
+ latest?: API_Version$1;
4381
+ next?: API_Version$1;
4382
+ current?: API_Version$1;
4383
+ }
4384
+ type API_FilterFunction$1 = (item: API_PreparedIndexEntry & {
4385
+ statuses: StatusByTypeId;
4386
+ }) => boolean;
4387
+ //#endregion
4281
4388
  //#region .dts-emit/code/core/src/types/modules/core-common.d.ts
4282
4389
  /** ⚠️ This file contains internal WIP types they MUST NOT be exported outside this package for now! */
4283
4390
  type BuilderName = string;
@@ -4285,7 +4392,7 @@ type RendererName = string;
4285
4392
  interface CoreConfig$1 {
4286
4393
  builder?: BuilderName | {
4287
4394
  name: BuilderName;
4288
- options?: Record<string, any>;
4395
+ options?: Record<string, unknown>;
4289
4396
  };
4290
4397
  renderer?: RendererName;
4291
4398
  channelOptions?: Partial<Options$3> & {
@@ -4330,10 +4437,10 @@ interface DirectoryMapping {
4330
4437
  interface Presets$1 {
4331
4438
  apply(extension: 'typescript', config: TypescriptOptions, args?: Options$1): Promise<TypescriptOptions>;
4332
4439
  apply(extension: 'framework', config?: {}, args?: unknown): Promise<Preset>;
4333
- apply(extension: 'babel', config?: {}, args?: unknown): Promise<any>;
4334
- apply(extension: 'swc', config?: {}, args?: unknown): Promise<any>;
4440
+ apply(extension: 'babel', config?: {}, args?: unknown): Promise<unknown>;
4441
+ apply(extension: 'swc', config?: {}, args?: unknown): Promise<unknown>;
4335
4442
  apply(extension: 'entries', config?: [], args?: unknown): Promise<unknown>;
4336
- apply(extension: 'env', config?: {}, args?: unknown): Promise<any>;
4443
+ apply(extension: 'env', config?: {}, args?: unknown): Promise<Record<string, string>>;
4337
4444
  apply(extension: 'stories', config?: [], args?: unknown): Promise<StoriesEntry$1[]>;
4338
4445
  apply(extension: 'managerEntries', config: [], args?: unknown): Promise<string[]>;
4339
4446
  apply(extension: 'refs', config?: [], args?: unknown): Promise<StorybookConfigRaw$1['refs']>;
@@ -4352,8 +4459,9 @@ interface Presets$1 {
4352
4459
  }
4353
4460
  interface LoadedPreset$1 {
4354
4461
  name: string;
4355
- preset: any;
4356
- options: any;
4462
+ /** The preset's exports, other than `addons` and `presets`. */
4463
+ preset: Record<string, unknown>;
4464
+ options: Record<string, unknown>;
4357
4465
  }
4358
4466
  type PresetConfig$1 = string | {
4359
4467
  name: string;
@@ -4362,16 +4470,16 @@ type PresetConfig$1 = string | {
4362
4470
  interface Ref$2 {
4363
4471
  id: string;
4364
4472
  url: string;
4365
- title: string;
4366
- version: string;
4473
+ title?: string;
4474
+ version?: string;
4367
4475
  type?: string;
4368
4476
  disable?: boolean;
4369
4477
  }
4370
4478
  interface VersionCheck {
4371
4479
  success: boolean;
4372
4480
  cached: boolean;
4373
- data?: any;
4374
- error?: any;
4481
+ data?: API_Versions$2;
4482
+ error?: unknown;
4375
4483
  time: number;
4376
4484
  }
4377
4485
  interface Stats {
@@ -4405,7 +4513,21 @@ interface ModuleResolveConfig {
4405
4513
  /** Conditions for package `exports` resolution. */
4406
4514
  conditions?: string[];
4407
4515
  }
4408
- type PackageJson$2 = PackageJson$3 & Record<string, any>;
4516
+ /**
4517
+ * A `package.json`. It has the known fields of type-fest's `PackageJson` and the fields Forkbook
4518
+ * reads, but not type-fest's `JsonObject` index signature, because type-fest's own `overrides`
4519
+ * type does not fit that signature.
4520
+ */
4521
+ type PackageJson$2 = PackageJson$3.NodeJsStandard & PackageJson$3.PackageJsonStandard & PackageJson$3.NonStandardEntryPoints & PackageJson$3.TypeScriptConfiguration & PackageJson$3.YarnConfiguration & PackageJson$3.JSPMConfiguration & {
4522
+ /** The legacy ESLint config. */eslintConfig?: {
4523
+ extends?: string | string[];
4524
+ [key: string]: unknown;
4525
+ }; /** The Forkbook that the package ships for composition. */
4526
+ storybook?: {
4527
+ url?: string;
4528
+ title?: string;
4529
+ };
4530
+ } & Record<string, unknown>;
4409
4531
  interface LoadOptions$1 {
4410
4532
  packageJson?: PackageJson$2;
4411
4533
  outputDir?: string;
@@ -4524,7 +4646,7 @@ interface TypescriptOptions {
4524
4646
  }
4525
4647
  type Preset = string | {
4526
4648
  name: string;
4527
- options?: any;
4649
+ options?: Record<string, unknown>;
4528
4650
  };
4529
4651
  /** An additional script that gets injected into the preview or the manager, */
4530
4652
  type Entry = string;
@@ -4827,10 +4949,10 @@ interface StorybookConfigRaw$1 {
4827
4949
  framework?: Preset;
4828
4950
  typescript?: Partial<TypescriptOptions>;
4829
4951
  refs?: CoreCommon_StorybookRefs;
4830
- babel?: any;
4831
- swc?: any;
4952
+ babel?: unknown;
4953
+ swc?: unknown;
4832
4954
  env?: Record<string, string>;
4833
- babelDefault?: any;
4955
+ babelDefault?: unknown;
4834
4956
  previewAnnotations?: Entry[];
4835
4957
  experimental_indexers?: Indexer$1[];
4836
4958
  /**
@@ -4997,7 +5119,7 @@ interface CoreCommon_ResolvedAddonVirtual$1 {
4997
5119
  previewAnnotations?: PreviewAnnotation[];
4998
5120
  presets?: (string | {
4999
5121
  name: string;
5000
- options?: any;
5122
+ options?: unknown;
5001
5123
  })[];
5002
5124
  }
5003
5125
  type CoreCommon_OptionsEntry = {
@@ -10891,7 +11013,7 @@ interface TypedGetService<TMap> {
10891
11013
  * The reference is stable as long as `service` and `commandName` do not change, so it is
10892
11014
  * safe to pass to child components or include in effect dependency arrays.
10893
11015
  */
10894
- type CommandFn<TCommands, TKey extends keyof TCommands> = TCommands[TKey] extends ((...args: any[]) => any) ? TCommands[TKey] : never;
11016
+ type CommandFn<TCommands, TKey extends keyof TCommands> = TCommands[TKey] extends ((...args: never[]) => unknown) ? TCommands[TKey] : never;
10895
11017
  /**
10896
11018
  * Returns a stable reference to the named service command.
10897
11019
  *
@@ -10910,7 +11032,7 @@ type CommandFn<TCommands, TKey extends keyof TCommands> = TCommands[TKey] extend
10910
11032
  * ```
10911
11033
  */
10912
11034
  declare function useServiceCommand<TInstance extends {
10913
- commands: Record<string, (input: any) => Promise<any>>;
11035
+ commands: Record<string, (input: never) => Promise<unknown>>;
10914
11036
  }, TKey extends keyof TInstance['commands'] & string>(service: TInstance, commandName: TKey): CommandFn<TInstance['commands'], TKey>;
10915
11037
  //#endregion
10916
11038
  //#region .dts-emit/code/core/src/shared/open-service/use-service-query.d.ts
@@ -10947,121 +11069,6 @@ declare const getService$1: TypedGetService<ManagerCoreServices>;
10947
11069
  */
10948
11070
  declare function registerService$1<TState, TQueries extends Queries<TState>, TCommands extends Commands<TState>>(definition: ServiceDefinition<TState, TQueries, TCommands>, registration?: ServiceRegistrationOptions<TState, TQueries, TCommands>): ServiceInstance<TState, TQueries, TCommands> & ServiceRegistryApi;
10949
11071
  //#endregion
10950
- //#region .dts-emit/code/core/src/types/modules/api-stories.d.ts
10951
- interface API_BaseEntry {
10952
- id: StoryId$2;
10953
- depth: number;
10954
- name: string;
10955
- tags: Tag$2[];
10956
- refId?: string;
10957
- renderAriaLabel?: API_SidebarOptions['renderAriaLabel'];
10958
- renderLabel?: API_SidebarOptions['renderLabel'];
10959
- }
10960
- interface API_RootEntry extends API_BaseEntry {
10961
- type: 'root';
10962
- startCollapsed?: boolean;
10963
- children: StoryId$2[];
10964
- }
10965
- interface API_GroupEntry extends API_BaseEntry {
10966
- type: 'group';
10967
- parent?: StoryId$2;
10968
- children: StoryId$2[];
10969
- }
10970
- interface API_ComponentEntry extends API_BaseEntry {
10971
- type: 'component';
10972
- parent?: StoryId$2;
10973
- children: StoryId$2[];
10974
- importPath?: Path$1;
10975
- }
10976
- interface API_DocsEntry$1 extends API_BaseEntry {
10977
- type: 'docs';
10978
- parent: StoryId$2;
10979
- title: ComponentTitle$1;
10980
- importPath: Path$1;
10981
- prepared: boolean;
10982
- parameters?: {
10983
- [parameterName: string]: any;
10984
- };
10985
- anchors?: DocsAnchor$1[];
10986
- }
10987
- interface API_StoryEntry$1 extends API_BaseEntry {
10988
- type: 'story';
10989
- subtype: 'story';
10990
- parent: StoryId$2;
10991
- title: ComponentTitle$1;
10992
- importPath: Path$1;
10993
- exportName: string;
10994
- prepared: boolean;
10995
- parameters?: {
10996
- [parameterName: string]: any;
10997
- };
10998
- args?: Args$2;
10999
- argTypes?: ArgTypes$2;
11000
- initialArgs?: Args$2;
11001
- children?: StoryId$2[];
11002
- }
11003
- interface API_TestEntry$1 extends Omit<API_StoryEntry$1, 'subtype' | 'children' | 'parent'> {
11004
- parent: StoryId$2;
11005
- subtype: 'test';
11006
- }
11007
- type API_LeafEntry$1 = API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
11008
- /**
11009
- * Runtime enrichment for a composed ref's stories/docs, keyed by entry id. These fields come from
11010
- * the ref preview's STORY_PREPARED / DOCS_PREPARED events and are not part of the ref's static story
11011
- * index, so they are cached per ref and re-applied whenever the ref index is (re)built.
11012
- */
11013
- type API_RefStoryRuntimeData = Record<StoryId$2, Partial<Pick<API_StoryEntry$1, 'prepared' | 'parameters' | 'args' | 'argTypes' | 'initialArgs'>>>;
11014
- type API_HashEntry$1 = API_RootEntry | API_GroupEntry | API_ComponentEntry | API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
11015
- /**
11016
- * The `IndexHash` is our manager-side representation of the `StoryIndex`. We create entries in the
11017
- * hash not only for each story or docs entry, but also for each "group" of the component (split on
11018
- * '/'), as that's how things are manipulated in parts of the manager (i.e. in search).
11019
- */
11020
- interface API_IndexHash$1 {
11021
- [id: string]: API_HashEntry$1;
11022
- }
11023
- type API_PreparedIndexEntry = IndexEntry$1 & {
11024
- parameters?: Parameters$2;
11025
- argTypes?: ArgTypes$2;
11026
- args?: Args$2;
11027
- initialArgs?: Args$2;
11028
- };
11029
- interface API_PreparedStoryIndex$1 {
11030
- v: number;
11031
- entries: Record<StoryId$2, API_PreparedIndexEntry>;
11032
- }
11033
- type API_OptionsData$1 = {
11034
- docsOptions: DocsOptions$1;
11035
- };
11036
- interface API_ReleaseNotes {
11037
- success?: boolean;
11038
- currentVersion?: string;
11039
- showOnFirstLaunch?: boolean;
11040
- }
11041
- interface API_Settings$1 {
11042
- lastTrackedStoryId: string;
11043
- }
11044
- interface API_Version$1 {
11045
- version: string;
11046
- info?: {
11047
- plain: string;
11048
- };
11049
- [key: string]: any;
11050
- }
11051
- interface API_UnknownEntries$1 {
11052
- [key: string]: {
11053
- [key: string]: any;
11054
- };
11055
- }
11056
- interface API_Versions$2 {
11057
- latest?: API_Version$1;
11058
- next?: API_Version$1;
11059
- current?: API_Version$1;
11060
- }
11061
- type API_FilterFunction$1 = (item: API_PreparedIndexEntry & {
11062
- statuses: StatusByTypeId;
11063
- }) => boolean;
11064
- //#endregion
11065
11072
  //#region .dts-emit/code/core/src/types/modules/channelApi.d.ts
11066
11073
  interface SetStoriesStory {
11067
11074
  id: StoryId$2;
@@ -11072,11 +11079,11 @@ interface SetStoriesStory {
11072
11079
  parameters: {
11073
11080
  fileName: string;
11074
11081
  options: {
11075
- [optionName: string]: any;
11082
+ [optionName: string]: unknown;
11076
11083
  };
11077
11084
  docsOnly?: boolean;
11078
11085
  viewMode?: API_ViewMode$1;
11079
- [parameterName: string]: any;
11086
+ [parameterName: string]: unknown;
11080
11087
  };
11081
11088
  argTypes?: ArgTypes$2;
11082
11089
  args?: Args$2;
@@ -11145,16 +11152,14 @@ interface API_Provider$1<API> {
11145
11152
  channel?: Channel$1;
11146
11153
  renderPreview?: API_IframeRenderer$1;
11147
11154
  handleAPI(api: API): void;
11148
- getConfig(): {
11155
+ getElements<T extends Addon_Types$1 | Addon_TypesEnum$1.experimental_PAGE | Addon_TypesEnum$1.experimental_TEST_PROVIDER>(type: T): Addon_Collection$1<Addon_TypesMapping$1[T]>;
11156
+ getConfig(): Addon_Config$1 & {
11149
11157
  sidebar?: API_SidebarOptions$1<API>;
11150
- theme?: ThemeVars$1;
11151
11158
  selectedPanel?: string;
11152
- StoryMapper?: API_StoryMapper;
11153
- [k: string]: any;
11159
+ storyMapper?: API_StoryMapper;
11154
11160
  };
11155
- [key: string]: any;
11156
11161
  }
11157
- type API_IframeRenderer$1 = (storyId: string, viewMode: API_ViewMode$1, id: string, baseUrl: string, scale: number, queryParams: Record<string, any>) => ReactElement<any, any> | null;
11162
+ type API_IframeRenderer$1 = (storyId: string, viewMode: API_ViewMode$1, id: string, baseUrl: string, scale: number, queryParams: Record<string, unknown>) => ReactElement | null;
11158
11163
  type FilterFunction = (entry: API_PreparedIndexEntry, excluded?: boolean) => boolean;
11159
11164
  interface API_Layout$1 {
11160
11165
  initialActive: API_ActiveTabsType;
@@ -11193,7 +11198,7 @@ interface API_UI$1 {
11193
11198
  }
11194
11199
  type API_PanelPositions$1 = 'bottom' | 'right';
11195
11200
  type API_ActiveTabsType = 'sidebar' | 'canvas' | 'addons';
11196
- interface API_SidebarOptions$1<API = any> {
11201
+ interface API_SidebarOptions$1<API$1 = API> {
11197
11202
  showRoots?: boolean;
11198
11203
  /**
11199
11204
  * Do not make folders from the `/` in a title. Each component is a top level item, named by its
@@ -11206,14 +11211,14 @@ interface API_SidebarOptions$1<API = any> {
11206
11211
  expandAll?: boolean;
11207
11212
  filters?: Record<string, API_FilterFunction$1>;
11208
11213
  collapsedRoots?: string[];
11209
- renderAriaLabel?: (item: API_HashEntry$1, api: API, context?: {
11214
+ renderAriaLabel?: (item: API_HashEntry$1, api: API$1, context?: {
11210
11215
  isMobile: boolean;
11211
11216
  location: 'sidebar' | 'bottom-bar';
11212
11217
  }) => string;
11213
- renderLabel?: (item: API_HashEntry$1, api: API, context?: {
11218
+ renderLabel?: (item: API_HashEntry$1, api: API$1, context?: {
11214
11219
  isMobile: boolean;
11215
11220
  location: 'sidebar' | 'bottom-bar';
11216
- }) => any;
11221
+ }) => unknown;
11217
11222
  }
11218
11223
  interface OnClearOptions {
11219
11224
  /** `true` when the user manually dismissed the notification. */
@@ -11229,7 +11234,7 @@ interface API_Notification$1 {
11229
11234
  id: string;
11230
11235
  content: {
11231
11236
  headline: string;
11232
- subHeadline?: string | any;
11237
+ subHeadline?: React.ReactNode;
11233
11238
  };
11234
11239
  duration?: number;
11235
11240
  link?: string;
@@ -11288,7 +11293,7 @@ interface Addon_StorySortObjectParameter {
11288
11293
  locales?: string;
11289
11294
  includeNames?: boolean;
11290
11295
  }
11291
- type IndexEntryLegacy = [StoryId$2, any, Parameters$2, Parameters$2];
11296
+ type IndexEntryLegacy = [StoryId$2, unknown, Parameters$2, Parameters$2];
11292
11297
  type Addon_StorySortComparator = Addon_Comparator<IndexEntryLegacy>;
11293
11298
  type Addon_StorySortParameter = Addon_StorySortComparator | Addon_StorySortObjectParameter;
11294
11299
  type Addon_StorySortComparatorV7 = Addon_Comparator<IndexEntry$1>;
@@ -11298,21 +11303,21 @@ interface Addon_OptionsParameter extends Object {
11298
11303
  base: string;
11299
11304
  brandTitle?: string;
11300
11305
  };
11301
- [key: string]: any;
11306
+ [key: string]: unknown;
11302
11307
  }
11303
11308
  interface Addon_OptionsParameterV7 extends Object {
11304
11309
  theme?: {
11305
11310
  base: string;
11306
11311
  brandTitle?: string;
11307
11312
  };
11308
- [key: string]: any;
11313
+ [key: string]: unknown;
11309
11314
  }
11310
11315
  type Addon_StoryContext<TRenderer extends Renderer$2 = Renderer$2> = StoryContextForRender<TRenderer>;
11311
11316
  type Addon_StoryContextUpdate = Partial<Addon_StoryContext>;
11312
11317
  interface Addon_ReturnTypeFramework<ReturnType> extends Renderer$2 {
11313
- component: any;
11318
+ component: unknown;
11314
11319
  storyResult: ReturnType;
11315
- canvasElement: any;
11320
+ canvasElement: unknown;
11316
11321
  }
11317
11322
  type Addon_PartialStoryFn<ReturnType = unknown> = PartialStoryFn$1<Addon_ReturnTypeFramework<ReturnType>>;
11318
11323
  type Addon_LegacyStoryFn<ReturnType = unknown> = LegacyStoryFn$1<Addon_ReturnTypeFramework<ReturnType>>;
@@ -11323,36 +11328,13 @@ type Addon_LoaderFunction = LoaderFunction$1<Addon_ReturnTypeFramework<unknown>>
11323
11328
  interface Addon_WrapperSettings {
11324
11329
  options: object;
11325
11330
  parameters: {
11326
- [key: string]: any;
11331
+ [key: string]: unknown;
11327
11332
  };
11328
11333
  }
11329
- type Addon_StoryWrapper$1 = (storyFn: Addon_LegacyStoryFn, context: Addon_StoryContext, settings: Addon_WrapperSettings) => any;
11334
+ type Addon_StoryWrapper$1 = (storyFn: Addon_LegacyStoryFn, context: Addon_StoryContext, settings: Addon_WrapperSettings) => unknown;
11330
11335
  type Addon_MakeDecoratorResult$1 = (...args: any) => any;
11331
- interface Addon_AddStoryArgs<StoryFnReturnType = unknown> {
11332
- id: StoryId$2;
11333
- kind: StoryKind$1;
11334
- name: StoryName$1;
11335
- storyFn: Addon_StoryFn<StoryFnReturnType>;
11336
- parameters: Parameters$2;
11337
- }
11338
- type Addon_ClientApiAddon<StoryFnReturnType = unknown> = Addon_Type & {
11339
- apply: (a: Addon_StoryApi<StoryFnReturnType>, b: any[]) => any;
11340
- };
11341
- interface Addon_ClientApiAddons<StoryFnReturnType> {
11342
- [key: string]: Addon_ClientApiAddon<StoryFnReturnType>;
11343
- }
11344
- type Addon_ClientApiReturnFn<StoryFnReturnType = unknown> = (...args: any[]) => Addon_StoryApi<StoryFnReturnType>;
11345
- interface Addon_StoryApi<StoryFnReturnType = unknown> {
11346
- kind: StoryKind$1;
11347
- add: (storyName: StoryName$1, storyFn: Addon_StoryFn<StoryFnReturnType>, parameters?: Parameters$2) => Addon_StoryApi<StoryFnReturnType>;
11348
- addDecorator: (decorator: Addon_DecoratorFunction$1<StoryFnReturnType>) => Addon_StoryApi<StoryFnReturnType>;
11349
- addLoader: (decorator: Addon_LoaderFunction) => Addon_StoryApi<StoryFnReturnType>;
11350
- addParameters: (parameters: Parameters$2) => Addon_StoryApi<StoryFnReturnType>;
11351
- [k: string]: string | Addon_ClientApiReturnFn<StoryFnReturnType>;
11352
- }
11353
- interface Addon_ClientStoryApi<StoryFnReturnType = unknown> {}
11354
- type Addon_LoadFn = () => any;
11355
- type Addon_RequireContext = any;
11336
+ type Addon_LoadFn = () => unknown;
11337
+ type Addon_RequireContext = unknown;
11356
11338
  type Addon_Loadable = Addon_RequireContext | [Addon_RequireContext] | Addon_LoadFn;
11357
11339
  type Addon_BaseDecorators<StoryFnReturnType> = Array<(story: () => StoryFnReturnType, context: Addon_StoryContext) => StoryFnReturnType>;
11358
11340
  interface Addon_BaseAnnotations<TArgs, StoryFnReturnType, TRenderer extends Renderer$2 = Renderer$2> {
@@ -11612,7 +11594,7 @@ interface Addon_Config$1 {
11612
11594
  };
11613
11595
  sidebar?: API_SidebarOptions$1;
11614
11596
  ui?: Partial<API_UI$1>;
11615
- [key: string]: any;
11597
+ [key: string]: unknown;
11616
11598
  }
11617
11599
  declare enum Addon_TypesEnum$1 {
11618
11600
  /** This adds panels to the addons side panel. */
@@ -11752,10 +11734,10 @@ declare type RenderContext<TRenderer extends Renderer$2 = Renderer$2> = StoryIde
11752
11734
  //#endregion
11753
11735
  //#region .dts-emit/code/core/src/types/modules/builder.d.ts
11754
11736
  interface BuilderStats {
11755
- toJson: () => any;
11737
+ toJson: () => unknown;
11756
11738
  }
11757
11739
  type Builder_WithRequiredProperty<Type, Key extends keyof Type> = Type & { [Property in Key]-?: Type[Property] };
11758
- type Builder_Unpromise<T extends Promise<any>> = T extends Promise<infer U> ? U : never;
11740
+ type Builder_Unpromise<T extends Promise<unknown>> = T extends Promise<infer U> ? U : never;
11759
11741
  type Builder_EnvsRaw = Record<string, string>;
11760
11742
  //#endregion
11761
11743
  //#region .dts-emit/code/core/src/types/modules/docs.d.ts
@@ -11981,7 +11963,7 @@ declare const combineParameters: (...parameterSets: (Parameters$1 | undefined)[]
11981
11963
  //#endregion
11982
11964
  //#region .dts-emit/code/core/src/preview-api/modules/store/filterArgTypes.d.ts
11983
11965
  type PropDescriptor = string[] | RegExp;
11984
- declare const filterArgTypes: (argTypes: StrictArgTypes$1, include?: PropDescriptor, exclude?: PropDescriptor) => Partial<StrictArgTypes$1<import("@aussieljk/forkbook/internal/types").Args>>;
11966
+ declare const filterArgTypes: (argTypes: StrictArgTypes$1, include?: PropDescriptor, exclude?: PropDescriptor) => StrictArgTypes$1<import("@aussieljk/forkbook/internal/types").Args>;
11985
11967
  //#endregion
11986
11968
  //#region .dts-emit/code/core/src/preview-api/modules/store/inferControls.d.ts
11987
11969
  /** The fields {@link inferControls} reads; the full enhancer context is structurally assignable. */
@@ -12014,7 +11996,7 @@ declare function sanitizeStoryContextUpdate({
12014
11996
  declare function defaultDecorateStory<TRenderer extends Renderer$1>(storyFn: LegacyStoryFn<TRenderer>, decorators: DecoratorFunction$1<TRenderer>[]): LegacyStoryFn<TRenderer>;
12015
11997
  //#endregion
12016
11998
  //#region .dts-emit/code/core/src/preview-api/modules/store/args.d.ts
12017
- declare const combineArgs: (value: any, update: any) => Args$1;
11999
+ declare const combineArgs: (value: Args$1, update: Args$1) => Args$1;
12018
12000
  //#endregion
12019
12001
  //#region .dts-emit/code/core/src/shared/story-index/autoTitle.d.ts
12020
12002
  declare const userOrAutoTitleFromSpecifier: (fileName: string | number, entry: NormalizedStoriesSpecifier, userTitle?: string) => string | undefined;
@@ -12206,6 +12188,11 @@ declare class Preview$1<TRenderer extends Renderer$1> {
12206
12188
  get storyStore(): StoryStore<TRenderer>;
12207
12189
  protected initialize(): Promise<void>;
12208
12190
  ready(): Promise<void>;
12191
+ /**
12192
+ * Uses another channel, for example the WebSocket channel of a React Native view. Call
12193
+ * `setupListeners()` after it, so that the preview listens on the new channel.
12194
+ */
12195
+ setChannel(channel: Channel): void;
12209
12196
  setupListeners(): void;
12210
12197
  getProjectAnnotationsOrRenderError(): Promise<ProjectAnnotations$1<TRenderer>>;
12211
12198
  initializeWithProjectAnnotations(projectAnnotations: ProjectAnnotations$1<TRenderer>): Promise<void>;
@@ -12384,7 +12371,7 @@ declare class InfiniteDocs<TRenderer extends Renderer$1> {
12384
12371
  //#endregion
12385
12372
  //#region .dts-emit/code/core/src/preview-api/modules/preview-web/View.d.ts
12386
12373
  interface View<TRoot> {
12387
- prepareForStory(story: PreparedStory<any>, options?: {
12374
+ prepareForStory(story: Pick<PreparedStory, 'parameters'>, options?: {
12388
12375
  scrollReset?: boolean;
12389
12376
  }): TRoot;
12390
12377
  prepareForDocs(options?: {
@@ -12445,7 +12432,7 @@ declare class PreviewWithSelection<TRenderer extends Renderer$1> extends Preview
12445
12432
  storyId: StoryId$1;
12446
12433
  viewMode?: ViewMode$1;
12447
12434
  }): Promise<void>;
12448
- onUpdateQueryParams(queryParams: any): void;
12435
+ onUpdateQueryParams(queryParams: Record<PropertyKey, unknown>): void;
12449
12436
  onUpdateGlobals({
12450
12437
  globals
12451
12438
  }: {
@@ -12532,7 +12519,7 @@ declare class WebView implements View<HTMLElement> {
12532
12519
  private testing;
12533
12520
  private preparingTimeout?;
12534
12521
  constructor();
12535
- prepareForStory(story: PreparedStory<any>, {
12522
+ prepareForStory(story: Pick<PreparedStory, 'parameters'>, {
12536
12523
  scrollReset
12537
12524
  }?: {
12538
12525
  scrollReset?: boolean;
@@ -12578,10 +12565,10 @@ declare class WebView implements View<HTMLElement> {
12578
12565
  //#endregion
12579
12566
  //#region .dts-emit/code/core/src/preview-api/modules/preview-web/simulate-pageload.d.ts
12580
12567
  declare function simulateDOMContentLoaded(): void;
12581
- declare function simulatePageLoad($container: any): void;
12568
+ declare function simulatePageLoad($container: ParentNode): void;
12582
12569
  //#endregion
12583
12570
  //#region .dts-emit/code/core/src/preview-api/modules/preview-web/emitTransformCode.d.ts
12584
- type ReducedStoryContext = Omit<StoryContext<any, Args>, 'abortSignal' | 'canvasElement' | 'step' | 'context'>;
12571
+ type ReducedStoryContext = Omit<StoryContext<Renderer, Args>, 'abortSignal' | 'canvasElement' | 'step' | 'context'>;
12585
12572
  declare function emitTransformCode(source: string | undefined, context: ReducedStoryContext, warning?: string): Promise<void>;
12586
12573
  //#endregion
12587
12574
  //#region .dts-emit/code/core/src/preview-api/modules/preview-web/render/animation-utils.d.ts
@@ -12675,7 +12662,7 @@ interface Status$1 {
12675
12662
  storyId: StoryId$2;
12676
12663
  title: string;
12677
12664
  description: string;
12678
- data?: any;
12665
+ data?: unknown;
12679
12666
  sidebarContextMenu?: boolean;
12680
12667
  }
12681
12668
  declare const CHANGE_DETECTION_STATUS_TYPE_ID = "@aussieljk/forkbook/change-detection";
@@ -13098,4 +13085,4 @@ declare class PlaywrightInstallFailedError extends StorybookError {
13098
13085
  });
13099
13086
  }
13100
13087
  //#endregion
13101
- export { StatusValue$1 as $, StoryDocsProviderPreset as $a, useParameter as $c, API_SetRefData$1 as $i, PlayFunction as $n, ImportEdge as $o, Addon_Elements as $r, parseToolsetMethodId as $s, ResolvedModuleExportFromType$1 as $t, OpenServiceRemoteCommandConfigDriftError as A, API_UnknownEntries$1 as Aa, API_GroupEntry$1 as Ac, Addon_TypesMapping$1 as Ai, CouldNotEvaluateFrameworkError as Al, BaseAnnotations$1 as An, PresetProperty$1 as Ao, StrictArgs$1 as Ar, StoriesSpecifier as As, decorateStory as At, NoFreePortError as B, ReviewCollection as Ba, ManagerConsumer as Bc, API_Layout$1 as Bi, AddonVitestPostinstallConfigUpdateError as Bl, DecoratorApplicator$1 as Bn, Stats as Bo, Addon_BaseDecorators as Br, registerToolset as Bs, setDefaultProjectAnnotations as Bt, OpenServiceLoadedDrainExceededError as C, API_PreparedStoryIndex$1 as Ca, EventInfo as Cc, Addon_StorySortParameterV7$1 as Ci, addons$1 as Cl, AnnotatedStoryFn$1 as Cn, Manifests$1 as Co, StoryIdentifier as Cr, IndexInputStats$1 as Cs, SelectionStore as Ct, OpenServiceMissingToolsetError as D, API_Settings$1 as Da, API_ComposedRef$2 as Dc, Addon_Type as Di, NoStatsForViteDevError as Dl, ArgsEnhancer as Dn, PackageJson$2 as Do, StorybookParameters as Dr, IndexerOptions as Ds, userOrAutoTitle as Dt, OpenServiceMissingServiceError as E, API_RootEntry as Ea, API_ComponentEntry$1 as Ec, Addon_ToolbarConfig as Ei, IncompatiblePostCssConfigError as El, Args$2 as En, Options$1 as Eo, StorybookInternalParameters as Er, Indexer$1 as Es, sortStoriesV7 as Et, OpenServiceToolsetOutputMismatchError as F, useServiceQuery as Fa, API_RootEntry$1 as Fc, IndexEntryLegacy as Fi, MainFileMissingError as Fl, CleanupCallback$1 as Fn, Ref$2 as Fo, Addon_AddStoryArgs as Fr, StoryIndexV3$1 as Fs, filterArgTypes as Ft, NON_AGGREGATED_STATUS_TYPE_IDS as G, selectWarningForStory as Ga, combineParameters$1 as Gc, API_PanelPositions$1 as Gi, MinimumReleaseAgeHandledError as Gl, InputType as Gn, TagsOptions$1 as Go, Addon_ClientApiAddon as Gr, reviewToolset as Gs, normalizeProjectAnnotations as Gt, StatusTypeIdMismatchError as H, prependImportToSnippet as Ha, ManagerProvider as Hc, API_LoadedRefData$1 as Hi, AddonVitestPostinstallPrerequisiteCheckError as Hl, GlobalTypes$1 as Hn, StorybookConfigRaw$1 as Ho, Addon_BaseStoryFn as Hr, PreviewStoriesOutput as Hs, composeStepRunners as Ht, OpenServiceUnimplementedOperationError as I, useServiceCommand as Ia, API_StoryEntry$2 as Ic, API_ActiveTabsType as Ii, MissingBuilderError as Il, ComponentAnnotations$1 as In, RendererName as Io, Addon_Annotations as Ir, V3CompatIndexEntry as Is, combineParameters as It, StatusByTypeId$1 as J, StoryDocsById as Ja, useArgTypes as Jc, API_RefId as Ji, LegacyStoryFn$1 as Jn, TypescriptOptions as Jo, Addon_ClientStoryApi as Jr, DocsAccess as Js, addons as Jt, REVIEW_STATUS_TYPE_ID as K, StoryDocsService as Ka, typesX as Kc, API_Provider$1 as Ki, Category as Kl, LegacyAnnotatedStoryFn as Kn, TestBuildConfig as Ko, Addon_ClientApiAddons as Kr, createDocsToolset as Ks, normalizeStory as Kt, OpenServiceUnknownStoryIdsError as L, ServerCoreServices as La, ActiveTabs as Lc, API_ComposedRef$1 as Li, MissingFrameworkFieldError as Ll, ComponentId as Ln, RootPageOptions as Lo, Addon_ArgType as Lr, clearToolsetRegistry as Ls, getCsfFactoryAnnotations as Lt, OpenServiceRemoteCommandUnhandledError as M, API_Versions$2 as Ma, API_IndexHash$2 as Mc, Addon_WrapperType$1 as Mi, InvalidFrameworkNameError as Ml, BeforeAll as Mn, PresetValue as Mo, Tag$2 as Mr, StoryIndexEntry$1 as Ms, sanitizeStoryContextUpdate as Mt, OpenServiceServicesAppliedTwiceError as N, getService$1 as Na, API_LeafEntry$2 as Nc, Addons_ArgTypes as Ni, InvalidStoriesEntryError as Nl, BeforeEach as Nn, Presets$1 as No, TestFunction$1 as Nr, StoryIndexInput as Ns, inferControls as Nt, OpenServiceModuleGraphUnavailableError as O, API_StoryEntry$1 as Oa, API_DocsEntry$2 as Oc, Addon_Types$1 as Oi, ViteModuleGraphSubscriptionError as Ol, ArgsFromMeta$1 as On, Preset as Oo, StorybookTypes$1 as Or, NormalizedStoriesSpecifier$1 as Os, userOrAutoTitleFromSpecifier as Ot, OpenServiceTestRunTimeoutError as P, registerService$1 as Pa, API_Refs$2 as Pc, BaseStory as Pi, MainFileEvaluationError as Pl, Canvas$1 as Pn, PreviewAnnotation as Po, ViewMode$2 as Pr, StoryIndexV2$1 as Ps, PropDescriptor as Pt, StatusTypeId as Q, StoryDocsProviderInput as Qa, useGlobals as Qc, API_RouteOptions as Qi, Path$1 as Qn, SupportedBuilder$1 as Qo, Addon_DecoratorFunction$1 as Qr, getToolName as Qs, ResolvedModuleExport as Qt, OpenServiceValidationError as R, TypedGetService as Ra, Combo as Rc, API_ComposedRefUpdate$1 as Ri, NoMatchingExportError as Rl, ComponentTitle$1 as Rn, SecurityConfig as Ro, Addon_ArgsStoryFn as Rr, getRegisteredToolsets as Rs, composeStories as Rt, OpenServiceInvalidToolsetMethodIdError as S, API_PreparedIndexEntry as Sa, Event as Sc, Addon_StorySortParameter as Si, Addon_Type$1 as Sl, AfterEach$1 as Sn, LoadedPreset$1 as So, StoryId$2 as Sr, IndexInput$1 as Ss, View as St, OpenServiceMissingOriginError as T, API_ReleaseNotes as Ta, API as Tc, Addon_TestProviderType$1 as Ti, GoogleFontsLoadingError as Tl, ArgTypesEnhancer as Tn, ModuleResolveConfig as To, StoryName$1 as Tr, IndexedStory as Ts, DocsContext as Tt, StorybookDevServerDisconnectedError as U, selectSnippetForStory as Ua, ManagerProviderProps as Uc, API_MatchOptions as Ui, AddonVitestPostinstallWorkspaceUpdateError as Ul, Globals$2 as Un, StorybookFeatures as Uo, Addon_BaseStoryObject as Ur, StoryIndexAccess as Us, composeConfigs as Ut, SavingGlobalSettingsFileError as V, ReviewState as Va, ManagerContext as Vc, API_LayoutCustomisations$1 as Vi, AddonVitestPostinstallError as Vl, DecoratorFunction$2 as Vn, StorybookConfigOptions as Vo, Addon_BaseMeta as Vr, KnownToolsets as Vs, setProjectAnnotations as Vt, CHANGE_DETECTION_STATUS_TYPE_ID as W, selectStoryDoc as Wa, State as Wc, API_Notification$1 as Wi, GenerateNewProjectOnInitError as Wl, IncludeExcludeOptions as Wn, TagOptions as Wo, Addon_BaseType$1 as Wr, createStoriesToolset as Ws, normalizeArrays as Wt, StatusStoreByTypeId$1 as X, StoryDocsPayload as Xa, useChannel as Xc, API_Refs$1 as Xi, Parameters$2 as Xn, SupportedRenderer$1 as Xo, Addon_Comparator as Xr, emptyManifests as Xs, DocsRenderFunction$1 as Xt, StatusStore as Y, StoryDocsError as Ya, useArgs as Yc, API_RefUrl as Yi, LoaderFunction$1 as Yn, VersionCheck as Yo, Addon_Collection$1 as Yr, ResolvedDocsEntry as Ys, DocsContextProps$2 as Yt, StatusStoreEvent as Z, StoryDocsProvider as Za, useGlobalTypes as Zc, API_RenderOptions as Zi, PartialStoryFn$1 as Zn, SupportedFramework$1 as Zo, Addon_Config$1 as Zr, ToolsetMethodId as Zs, RenderContextCallbacks$1 as Zt, OpenServiceDuplicateRegistrationError as _, API_GroupEntry as _a, useStatusStore as _c, Addon_StorySortComparator as _i, shortcutMatchesShortcut as _l, ProjectAnnotations$2 as _n, CsfEnricher$1 as _o, StoryContextForEnhancers$1 as _r, BaseIndexInput as _s, simulatePageLoad as _t, PackageInstallFailedError as a, FilterFunction as aa, getTestProviderStoreById as ac, Addon_Loaders as ai, isMacLike as al, Builder_WithRequiredProperty as an, CLIOptions$1 as ao, SBObjectType as ar, ModuleResolveConfig$1 as as, REVIEW_NAMESPACE as at, OpenServiceInternalServiceError as b, API_LeafEntry$1 as ba, UniversalStore as bc, Addon_StorySortObjectParameter as bi, Options$2 as bl, TeardownRenderToCanvas as bn, ForkbookConfig$1 as bo, StoryContextUpdate$1 as br, DocsIndexInput as bs, PreviewWeb as bt, PlaywrightInstallFailedError as c, SetGlobalsPayload as ca, TestProviderId as cc, Addon_OptionsParameterV7 as ci, API_KeyCollection as cl, ModuleExport$1 as cn, ComponentSubcomponentManifest as co, SBType$1 as cr, DocgenJsDocTags as cs, PartialArgsStoryFn as ct, formatExecaCommand as d, SetStoriesStoryData as da, TestProviderStoreById as dc, Addon_RenderOptions$1 as di, controlOrMetaSymbol as dl, NamedOrDefaultProjectAnnotations$1 as dn, CoreCommon_AddonInfo$1 as do, StepFunction as dr, DocgenProvider as ds, getService as dt, API_SidebarOptions$1 as ea, toMcpToolName as ec, Addon_LegacyStoryFn as ei, useSharedState as el, ResolvedModuleExportType$1 as en, Builder$1 as eo, PlayFunctionContext as er, ImportParser as es, StatusesByStoryIdAndTypeId$1 as et, formatExecaFailureDetails as f, StoryPreparedPayload as fa, TestProviderStoreEvent as fc, Addon_RequireContext as fi, eventMatchesShortcut as fl, NormalizedComponentAnnotations$1 as fn, CoreCommon_OptionsEntry as fo, StepLabel as fr, DocgenProviderDescriptor as fs, registerService as ft, OpenServiceDocgenMissingComponentError as g, API_FilterFunction$1 as ga, universalStatusStore as gc, Addon_StoryFn as gi, optionOrAltSymbol as gl, PreparedStory$1 as gn, CoreConfig$1 as go, StoryContext$2 as gr, BaseIndexEntry as gs, simulateDOMContentLoaded as gt, OpenServiceCyclicStateError as h, API_DocsEntry$1 as ha, getStatusStoreByTypeId as hc, Addon_StoryContextUpdate as hi, keyToSymbol as hl, PreparedMeta$1 as hn, CoreCommon_StorybookInfo$1 as ho, StoryAnnotationsOrFn$1 as hr, DocgenWorkerModule as hs, emitTransformCode as ht, PackageInstallDependencyConflictError as i, API_ViewMode$1 as ia, fullTestProviderStore as ic, Addon_LoaderFunction as ii, _default as il, Builder_Unpromise as in, CLIBaseOptions as io, SBIntersectionType as ir, FileChangeEvent as is, REVIEW_EVENTS as it, OpenServiceRemoteCommandDisconnectedError as j, API_Version$1 as ja, API_HashEntry$2 as jc, Addon_WrapperSettings as ji, CriticalPresetLoadError as jl, BaseProjectAnnotations as jn, PresetPropertyFn as jo, StrictInputType as jr, StoryIndex$1 as js, defaultDecorateStory as jt, OpenServiceOperationNameCollisionError as k, API_TestEntry$1 as ka, API_EventMap as kc, Addon_TypesEnum$1 as ki, ConflictingStaticDirConfigError as kl, ArgsStoryFn$1 as kn, PresetConfig$1 as ko, StrictArgTypes$2 as kr, StoriesEntry$1 as ks, combineArgs as kt, PnpmIgnoredBuildsError as l, SetStoriesPayload as la, TestProviderState as lc, Addon_PageType$1 as li, KeyboardEventLike as ll, ModuleExports$1 as ln, ComponentsManifest as lo, SBUnionType as lr, DocgenMiddleware as ls, Store_CSFExports$1 as lt, OpenServiceAsyncSchemaError as m, API_ComponentEntry as ma, fullStatusStore as mc, Addon_StoryContext as mi, isShortcutTaken as ml, NormalizedStoryAnnotations$1 as mn, CoreCommon_ResolvedAddonVirtual$1 as mo, StoryAnnotations$1 as mr, DocgenSubcomponent as ms, waitForAnimations as mt, ExecaCommandFailedError as n, API_StoryMapper as na, defineService as nc, Addon_Loadable as ni, useStorybookApi as nl, BuilderStats as nn, BuilderOptions$1 as no, SBArrayType as nr, ParseFileArgs as ns, SupportedLanguage$1 as nt, PackageInstallMissingManifestError as o, DocsPreparedPayload as oa, universalTestProviderStore as oc, Addon_MakeDecoratorResult$1 as oi, RequestResponseError as ol, BoundStory as on, CompatibleString$1 as oo, SBOtherType as or, DocgenService as os, ComposeStoryFn$1 as ot, OpenServiceAsyncRecipeError as p, API_BaseEntry as pa, UseTestProviderStore as pc, Addon_StoryApi as pi, eventToShortcut as pl, NormalizedProjectAnnotations$1 as pn, CoreCommon_ResolvedAddonPreset$1 as po, StepRunner$1 as pr, DocgenProviderInput as ps, pauseAnimations as pt, Status$1 as q, StoryDoc as qa, useAddonState as qc, API_ProviderData$1 as qi, StorybookError as ql, LegacyStoryAnnotationsOrFn$1 as qn, TestBuildFlags as qo, Addon_ClientApiReturnFn as qr, SourceWithUrl as qs, makeDecorator as qt, FindPackageVersionsError as r, API_UI$1 as ra, Tag$4 as rc, Addon_Loader as ri, useStorybookState as rl, Builder_EnvsRaw as rn, BuilderResult as ro, SBEnumType as rr, ChangeDetectionAdapter as rs, Feature$1 as rt, PackageManagerBinaryNotFoundError as s, GlobalsUpdatedPayload as sa, useTestProviderStore as sc, Addon_OptionsParameter as si, experimental_requestResponse as sl, CSFFile$1 as sn, ComponentManifest as so, SBScalarType as sr, DocgenError as ss, ComposedStoryFn$1 as st, ExecaCommandErrorData as t, API_StateMerger$1 as ta, seedQueryState as tc, Addon_LoadFn as ti, useStoryPrepared as tl, StoryRenderOptions$1 as tn, BuilderName as to, Renderer$2 as tr, ImportParserContext as ts, UseStatusStore as tt, PnpmNoTtyModulesDirError as u, SetStoriesStory as ua, TestProviderStateByProviderId as uc, Addon_PartialStoryFn as ui, controlOrMetaKey as ul, ModuleImportFn$1 as un, CoreCommon_AddonEntry as uo, SeparatorOptions as ur, DocgenPayload$1 as us, StoriesWithPartialProps$1 as ut, OpenServiceDuplicateToolNameError as v, API_HashEntry$1 as va, MockUniversalStore as vc, Addon_StorySortComparatorV7 as vi, shortcutToAriaKeyshortcuts as vl, RenderContext as vn, DocsOptions$1 as vo, StoryContextForLoaders as vr, DocsAnchor$1 as vs, WebView as vt, OpenServiceMissingChannelError as w, API_RefStoryRuntimeData as wa, StoreOptions as wc, Addon_StoryWrapper$1 as wi, GoogleFontsDownloadError as wl, ArgTypes$2 as wn, Middleware as wo, StoryKind$1 as wr, IndexedCSFFile$1 as ws, Preview$1 as wt, OpenServiceInvalidStaticPathError as x, API_OptionsData$1 as xa, Actor as xc, Addon_StorySortOrder as xi, AddonStore$1 as xl, WebRenderer$1 as xn, LoadOptions$1 as xo, StoryFn as xr, IndexEntry$1 as xs, PreviewWithSelection as xt, OpenServiceDuplicateToolsetError as y, API_IndexHash$1 as ya, useUniversalStore as yc, Addon_StorySortMethod as yi, shortcutToHumanString as yl, RenderToCanvas$1 as yn, Entry as yo, StoryContextForRender as yr, DocsIndexEntry$1 as ys, UrlStore as yt, describeUnknownStoryIds as z, ModuleGraphServiceState as za, Listener$2 as zc, API_IframeRenderer$1 as zi, NxProjectDetectedError as zl, Conditional$1 as zn, ServerApp as zo, Addon_BaseAnnotations as zr, getToolset as zs, composeStory as zt };
13088
+ export { StatusValue$1 as $, ModuleResolveConfig as $a, isMacLike as $c, FilterFunction as $i, PlayFunction as $n, ModuleResolveConfig$1 as $o, Addon_LoaderFunction as $r, getTestProviderStoreById as $s, ResolvedModuleExportFromType$1 as $t, OpenServiceRemoteCommandConfigDriftError as A, BuilderOptions$1 as Aa, API_StoryEntry$2 as Ac, API_ActiveTabsType as Ai, MissingBuilderError as Al, BaseAnnotations$1 as An, API_IndexHash$1 as Ao, StrictArgs$1 as Ar, V3CompatIndexEntry as As, decorateStory as At, NoFreePortError as B, CoreCommon_OptionsEntry as Ba, typesX as Bc, API_Provider$1 as Bi, Category as Bl, DecoratorApplicator$1 as Bn, API_TestEntry$1 as Bo, Addon_BaseMeta as Br, createDocsToolset as Bs, setDefaultProjectAnnotations as Bt, OpenServiceLoadedDrainExceededError as C, StoryDocsError as Ca, API_EventMap as Cc, Addon_TypesEnum$1 as Ci, ConflictingStaticDirConfigError as Cl, AnnotatedStoryFn$1 as Cn, VersionCheck as Co, StoryIdentifier as Cr, StoriesEntry$1 as Cs, SelectionStore as Ct, OpenServiceMissingToolsetError as D, StoryDocsProviderPreset as Da, API_LeafEntry$2 as Dc, Addons_ArgTypes as Di, InvalidStoriesEntryError as Dl, ArgsEnhancer as Dn, API_FilterFunction$1 as Do, StorybookParameters as Dr, StoryIndexInput as Ds, userOrAutoTitle as Dt, OpenServiceMissingServiceError as E, StoryDocsProviderInput as Ea, API_IndexHash$2 as Ec, Addon_WrapperType$1 as Ei, InvalidFrameworkNameError as El, Args$2 as En, API_DocsEntry$1 as Eo, StorybookInternalParameters as Er, StoryIndexEntry$1 as Es, sortStoriesV7 as Et, OpenServiceToolsetOutputMismatchError as F, ComponentManifest as Fa, ManagerContext as Fc, API_LayoutCustomisations$1 as Fi, AddonVitestPostinstallError as Fl, CleanupCallback$1 as Fn, API_RefStoryRuntimeData as Fo, Addon_Annotations as Fr, KnownToolsets as Fs, filterArgTypes as Ft, NON_AGGREGATED_STATUS_TYPE_IDS as G, CsfEnricher$1 as Ga, useGlobalTypes as Gc, API_RenderOptions as Gi, InputType as Gn, SupportedFramework$1 as Go, Addon_Comparator as Gr, ToolsetMethodId as Gs, normalizeProjectAnnotations as Gt, StatusTypeIdMismatchError as H, CoreCommon_ResolvedAddonVirtual$1 as Ha, useArgTypes as Hc, API_RefId as Hi, GlobalTypes$1 as Hn, API_Version$1 as Ho, Addon_BaseStoryObject as Hr, DocsAccess as Hs, composeStepRunners as Ht, OpenServiceUnimplementedOperationError as I, ComponentSubcomponentManifest as Ia, ManagerProvider as Ic, API_LoadedRefData$1 as Ii, AddonVitestPostinstallPrerequisiteCheckError as Il, ComponentAnnotations$1 as In, API_ReleaseNotes as Io, Addon_ArgType as Ir, PreviewStoriesOutput as Is, combineParameters as It, StatusByTypeId$1 as J, ForkbookConfig$1 as Ja, useSharedState as Jc, API_SidebarOptions$1 as Ji, LegacyStoryFn$1 as Jn, ImportParser as Jo, Addon_Elements as Jr, toMcpToolName as Js, addons as Jt, REVIEW_STATUS_TYPE_ID as K, DocsOptions$1 as Ka, useGlobals as Kc, API_RouteOptions as Ki, LegacyAnnotatedStoryFn as Kn, SupportedBuilder$1 as Ko, Addon_Config$1 as Kr, getToolName as Ks, normalizeStory as Kt, OpenServiceUnknownStoryIdsError as L, ComponentsManifest as La, ManagerProviderProps as Lc, API_MatchOptions as Li, AddonVitestPostinstallWorkspaceUpdateError as Ll, ComponentId as Ln, API_RootEntry as Lo, Addon_ArgsStoryFn as Lr, StoryIndexAccess as Ls, getCsfFactoryAnnotations as Lt, OpenServiceRemoteCommandUnhandledError as M, CLIBaseOptions as Ma, Combo as Mc, API_ComposedRefUpdate$1 as Mi, NoMatchingExportError as Ml, BeforeAll as Mn, API_OptionsData$1 as Mo, Tag$2 as Mr, getRegisteredToolsets as Ms, sanitizeStoryContextUpdate as Mt, OpenServiceServicesAppliedTwiceError as N, CLIOptions$1 as Na, Listener$2 as Nc, API_IframeRenderer$1 as Ni, NxProjectDetectedError as Nl, BeforeEach as Nn, API_PreparedIndexEntry as No, TestFunction$1 as Nr, getToolset as Ns, inferControls as Nt, OpenServiceModuleGraphUnavailableError as O, Builder$1 as Oa, API_Refs$2 as Oc, BaseStory as Oi, MainFileEvaluationError as Ol, ArgsFromMeta$1 as On, API_GroupEntry as Oo, StorybookTypes$1 as Or, StoryIndexV2$1 as Os, userOrAutoTitleFromSpecifier as Ot, OpenServiceTestRunTimeoutError as P, CompatibleString$1 as Pa, ManagerConsumer as Pc, API_Layout$1 as Pi, AddonVitestPostinstallConfigUpdateError as Pl, Canvas$1 as Pn, API_PreparedStoryIndex$1 as Po, ViewMode$2 as Pr, registerToolset as Ps, PropDescriptor as Pt, StatusTypeId as Q, Middleware as Qa, _default as Qc, API_ViewMode$1 as Qi, Path$1 as Qn, FileChangeEvent as Qo, Addon_Loader as Qr, fullTestProviderStore as Qs, ResolvedModuleExport as Qt, OpenServiceValidationError as R, CoreCommon_AddonEntry as Ra, State as Rc, API_Notification$1 as Ri, GenerateNewProjectOnInitError as Rl, ComponentTitle$1 as Rn, API_Settings$1 as Ro, Addon_BaseAnnotations as Rr, createStoriesToolset as Rs, composeStories as Rt, OpenServiceInvalidToolsetMethodIdError as S, StoryDocsById as Sa, API_DocsEntry$2 as Sc, Addon_Types$1 as Si, ViteModuleGraphSubscriptionError as Sl, AfterEach$1 as Sn, TypescriptOptions as So, StoryId$2 as Sr, NormalizedStoriesSpecifier$1 as Ss, View as St, OpenServiceMissingOriginError as T, StoryDocsProvider as Ta, API_HashEntry$2 as Tc, Addon_WrapperSettings as Ti, CriticalPresetLoadError as Tl, ArgTypesEnhancer as Tn, API_ComponentEntry as To, StoryName$1 as Tr, StoryIndex$1 as Ts, DocsContext as Tt, StorybookDevServerDisconnectedError as U, CoreCommon_StorybookInfo$1 as Ua, useArgs as Uc, API_RefUrl as Ui, Globals$2 as Un, API_Versions$2 as Uo, Addon_BaseType$1 as Ur, ResolvedDocsEntry as Us, composeConfigs as Ut, SavingGlobalSettingsFileError as V, CoreCommon_ResolvedAddonPreset$1 as Va, useAddonState as Vc, API_ProviderData$1 as Vi, StorybookError as Vl, DecoratorFunction$2 as Vn, API_UnknownEntries$1 as Vo, Addon_BaseStoryFn as Vr, SourceWithUrl as Vs, setProjectAnnotations as Vt, CHANGE_DETECTION_STATUS_TYPE_ID as W, CoreConfig$1 as Wa, useChannel as Wc, API_Refs$1 as Wi, IncludeExcludeOptions as Wn, SupportedRenderer$1 as Wo, Addon_Collection$1 as Wr, emptyManifests as Ws, normalizeArrays as Wt, StatusStoreByTypeId$1 as X, LoadedPreset$1 as Xa, useStorybookApi as Xc, API_StoryMapper as Xi, Parameters$2 as Xn, ParseFileArgs as Xo, Addon_LoadFn as Xr, defineService as Xs, DocsRenderFunction$1 as Xt, StatusStore as Y, LoadOptions$1 as Ya, useStoryPrepared as Yc, API_StateMerger$1 as Yi, LoaderFunction$1 as Yn, ImportParserContext as Yo, Addon_LegacyStoryFn as Yr, seedQueryState as Ys, DocsContextProps$2 as Yt, StatusStoreEvent as Z, Manifests$1 as Za, useStorybookState as Zc, API_UI$1 as Zi, PartialStoryFn$1 as Zn, ChangeDetectionAdapter as Zo, Addon_Loadable as Zr, Tag$4 as Zs, RenderContextCallbacks$1 as Zt, OpenServiceDuplicateRegistrationError as _, selectSnippetForStory as _a, EventInfo as _c, Addon_StorySortParameterV7$1 as _i, addons$1 as _l, ProjectAnnotations$2 as _n, StorybookFeatures as _o, StoryContextForEnhancers$1 as _r, IndexInputStats$1 as _s, simulatePageLoad as _t, PackageInstallFailedError as a, SetStoriesStoryData as aa, TestProviderStoreById as ac, Addon_PartialStoryFn as ai, controlOrMetaSymbol as al, Builder_WithRequiredProperty as an, PresetPropertyFn as ao, SBObjectType as ar, DocgenProvider as as, REVIEW_NAMESPACE as at, OpenServiceInternalServiceError as b, StoryDocsService as ba, API_ComponentEntry$1 as bc, Addon_ToolbarConfig as bi, IncompatiblePostCssConfigError as bl, TeardownRenderToCanvas as bn, TestBuildConfig as bo, StoryContextUpdate$1 as br, Indexer$1 as bs, PreviewWeb as bt, PlaywrightInstallFailedError as c, registerService$1 as ca, fullStatusStore as cc, Addon_StoryContext as ci, isShortcutTaken as cl, ModuleExport$1 as cn, PreviewAnnotation as co, SBType$1 as cr, DocgenSubcomponent as cs, PartialArgsStoryFn as ct, formatExecaCommand as d, ServerCoreServices as da, useStatusStore as dc, Addon_StorySortComparator as di, shortcutMatchesShortcut as dl, NamedOrDefaultProjectAnnotations$1 as dn, RootPageOptions as do, StepFunction as dr, BaseIndexInput as ds, getService as dt, DocsPreparedPayload as ea, universalTestProviderStore as ec, Addon_Loaders as ei, RequestResponseError as el, ResolvedModuleExportType$1 as en, Options$1 as eo, PlayFunctionContext as er, DocgenService as es, StatusesByStoryIdAndTypeId$1 as et, formatExecaFailureDetails as f, TypedGetService as fa, MockUniversalStore as fc, Addon_StorySortComparatorV7 as fi, shortcutToAriaKeyshortcuts as fl, NormalizedComponentAnnotations$1 as fn, SecurityConfig as fo, StepLabel as fr, DocsAnchor$1 as fs, registerService as ft, OpenServiceDocgenMissingComponentError as g, prependImportToSnippet as ga, Event as gc, Addon_StorySortParameter as gi, Addon_Type$1 as gl, PreparedStory$1 as gn, StorybookConfigRaw$1 as go, StoryContext$2 as gr, IndexInput$1 as gs, simulateDOMContentLoaded as gt, OpenServiceCyclicStateError as h, ReviewState as ha, Actor as hc, Addon_StorySortOrder as hi, AddonStore$1 as hl, PreparedMeta$1 as hn, StorybookConfigOptions as ho, StoryAnnotationsOrFn$1 as hr, IndexEntry$1 as hs, emitTransformCode as ht, PackageInstallDependencyConflictError as i, SetStoriesStory as ia, TestProviderStateByProviderId as ic, Addon_PageType$1 as ii, controlOrMetaKey as il, Builder_Unpromise as in, PresetProperty$1 as io, SBIntersectionType as ir, DocgenPayload$1 as is, REVIEW_EVENTS as it, OpenServiceRemoteCommandDisconnectedError as j, BuilderResult as ja, ActiveTabs as jc, API_ComposedRef$1 as ji, MissingFrameworkFieldError as jl, BaseProjectAnnotations as jn, API_LeafEntry$1 as jo, StrictInputType as jr, clearToolsetRegistry as js, defaultDecorateStory as jt, OpenServiceOperationNameCollisionError as k, BuilderName as ka, API_RootEntry$1 as kc, IndexEntryLegacy as ki, MainFileMissingError as kl, ArgsStoryFn$1 as kn, API_HashEntry$1 as ko, StrictArgTypes$2 as kr, StoryIndexV3$1 as ks, combineArgs as kt, PnpmIgnoredBuildsError as l, useServiceQuery as la, getStatusStoreByTypeId as lc, Addon_StoryContextUpdate as li, keyToSymbol as ll, ModuleExports$1 as ln, Ref$2 as lo, SBUnionType as lr, DocgenWorkerModule as ls, Store_CSFExports$1 as lt, OpenServiceAsyncSchemaError as m, ReviewCollection as ma, UniversalStore as mc, Addon_StorySortObjectParameter as mi, Options$2 as ml, NormalizedStoryAnnotations$1 as mn, Stats as mo, StoryAnnotations$1 as mr, DocsIndexInput as ms, waitForAnimations as mt, ExecaCommandFailedError as n, SetGlobalsPayload as na, TestProviderId as nc, Addon_OptionsParameter as ni, API_KeyCollection as nl, BuilderStats as nn, Preset as no, SBArrayType as nr, DocgenJsDocTags as ns, SupportedLanguage$1 as nt, PackageInstallMissingManifestError as o, StoryPreparedPayload as oa, TestProviderStoreEvent as oc, Addon_RenderOptions$1 as oi, eventMatchesShortcut as ol, BoundStory as on, PresetValue as oo, SBOtherType as or, DocgenProviderDescriptor as os, ComposeStoryFn$1 as ot, OpenServiceAsyncRecipeError as p, ModuleGraphServiceState as pa, useUniversalStore as pc, Addon_StorySortMethod as pi, shortcutToHumanString as pl, NormalizedProjectAnnotations$1 as pn, ServerApp as po, StepRunner$1 as pr, DocsIndexEntry$1 as ps, pauseAnimations as pt, Status$1 as q, Entry as qa, useParameter as qc, API_SetRefData$1 as qi, LegacyStoryAnnotationsOrFn$1 as qn, ImportEdge as qo, Addon_DecoratorFunction$1 as qr, parseToolsetMethodId as qs, makeDecorator as qt, FindPackageVersionsError as r, SetStoriesPayload as ra, TestProviderState as rc, Addon_OptionsParameterV7 as ri, KeyboardEventLike as rl, Builder_EnvsRaw as rn, PresetConfig$1 as ro, SBEnumType as rr, DocgenMiddleware as rs, Feature$1 as rt, PackageManagerBinaryNotFoundError as s, getService$1 as sa, UseTestProviderStore as sc, Addon_RequireContext as si, eventToShortcut as sl, CSFFile$1 as sn, Presets$1 as so, SBScalarType as sr, DocgenProviderInput as ss, ComposedStoryFn$1 as st, ExecaCommandErrorData as t, GlobalsUpdatedPayload as ta, useTestProviderStore as tc, Addon_MakeDecoratorResult$1 as ti, experimental_requestResponse as tl, StoryRenderOptions$1 as tn, PackageJson$2 as to, Renderer$2 as tr, DocgenError as ts, UseStatusStore as tt, PnpmNoTtyModulesDirError as u, useServiceCommand as ua, universalStatusStore as uc, Addon_StoryFn as ui, optionOrAltSymbol as ul, ModuleImportFn$1 as un, RendererName as uo, SeparatorOptions as ur, BaseIndexEntry as us, StoriesWithPartialProps$1 as ut, OpenServiceDuplicateToolNameError as v, selectStoryDoc as va, StoreOptions as vc, Addon_StoryWrapper$1 as vi, GoogleFontsDownloadError as vl, RenderContext as vn, TagOptions as vo, StoryContextForLoaders as vr, IndexedCSFFile$1 as vs, WebView as vt, OpenServiceMissingChannelError as w, StoryDocsPayload as wa, API_GroupEntry$1 as wc, Addon_TypesMapping$1 as wi, CouldNotEvaluateFrameworkError as wl, ArgTypes$2 as wn, API_BaseEntry as wo, StoryKind$1 as wr, StoriesSpecifier as ws, Preview$1 as wt, OpenServiceInvalidStaticPathError as x, StoryDoc as xa, API_ComposedRef$2 as xc, Addon_Type as xi, NoStatsForViteDevError as xl, WebRenderer$1 as xn, TestBuildFlags as xo, StoryFn as xr, IndexerOptions as xs, PreviewWithSelection as xt, OpenServiceDuplicateToolsetError as y, selectWarningForStory as ya, API as yc, Addon_TestProviderType$1 as yi, GoogleFontsLoadingError as yl, RenderToCanvas$1 as yn, TagsOptions$1 as yo, StoryContextForRender as yr, IndexedStory as ys, UrlStore as yt, describeUnknownStoryIds as z, CoreCommon_AddonInfo$1 as za, combineParameters$1 as zc, API_PanelPositions$1 as zi, MinimumReleaseAgeHandledError as zl, Conditional$1 as zn, API_StoryEntry$1 as zo, Addon_BaseDecorators as zr, reviewToolset as zs, composeStory as zt };