@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,13 +1,13 @@
1
1
  import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
2
2
  import { $ as Separator, At as experimental_useStatusStore, B as DocumentWrapper, Bt as useChannel, C as Route, D as init_router, Dn as ChevronLeftIcon, Dr as GlobeIcon, Dt as addons, E as getBasename, En as ChevronDownIcon, Et as Provider, F as ActionList, Fi as RefreshCwIcon, Fn as CirclePlayIcon, Ft as internal_fullTestProviderStore, G as Form, Ga as SET_CURRENT_STORY, Gi as Share2Icon, Gt as useStorybookApi, H as ErrorFormatter, Ha as FORCE_REMOUNT, Hn as ClockIcon, I as Badge, Ia as ZoomInIcon, It as merge, J as Loader$1, Ja as STORIES_EXPAND_ALL, K as IconButton, Ka as SHARE_ISOLATE_MODE, Kr as ListFilterIcon, Kt as useStorybookState, L as Button, Li as RotateCcwIcon, Lr as InfoIcon, M as logger, Mt as getService, N as once, Na as XIcon, Nt as init_manager_api, O as toRouterUrl, On as ChevronRightIcon, P as AbstractToolbar, Pa as ZapIcon, Pr as HouseIcon, Pt as internal_fullStatusStore, Q as Select, R as Card, Ra as init__forkbook_global_lucide_react, Rt as shortcutToHumanString, S as Match, So as useState, St as init_theming, T as fromUrlPath, Tn as CheckIcon, Tt as Consumer, U as ForkbookIcon, Ua as PRELOAD_ENTRIES, Ui as SearchIcon, V as EmptyTabContent, Va as DOCS_PAGE_IN_VIEW, Vn as CircleXIcon, Vr as LayoutGridIcon, W as ForkbookLogo, Wa as PREVIEW_BUILDER_PROGRESS, Wi as SettingsIcon, Wn as CodeIcon, Wt as useServiceQuery, X as PopoverProvider, Xa as init_core_events, Xn as CopyIcon, Y as Modal, Yr as LockIcon, Z as ScrollArea, Zr as LucideProvider, _ as ALL_STORIES_PATH, _a as Trash2Icon, _o as useImperativeHandle, _r as FoldVerticalIcon, _t as ThemeProvider, a as init_types$1, ao as createContext, at as StoryGrid, b as Location, ba as UnfoldVerticalIcon, bo as useReducer, bt as ensure, co as forwardRef, do as memo, dt as TooltipLinkList, eo as Component, et as Spaced, fo as useCallback, fr as FileTextIcon, g as init_client, gn as BookmarkIcon, go as useId, gt as useTabsState, h as createRoot, ho as useEffect, hr as FlaskConicalIcon, ht as useCopyButton, i as REVIEW_STATUS_TYPE_ID, it as StatelessTabsView, j as init_client_logger, jt as experimental_useTestProviderStore, k as useNavigate, ka as WandSparklesIcon, kn as ChevronUpIcon, kt as experimental_getStatusStore, lo as init__forkbook_global_react, lt as ToggleButton, m as init_manager_errors, mt as init_components, n as CHANGE_DETECTION_STATUS_TYPE_ID, na as SquareArrowOutUpRightIcon, nn as ArrowLeftRightIcon, no as _forkbook_global_react_default, nt as StatelessTabList, or as EllipsisIcon, ot as TabList, p as ProviderDoesNotExtendBaseProviderError, po as useContext, pt as Zoom$1, q as Link$1, qa as STORIES_COLLAPSE_ALL, qn as CommandIcon, qr as ListIcon, ri as MenuIcon, rt as StatelessTabPanel, sr as ExpandIcon, st as TabPanel, t as Addon_TypesEnum, tn as ArrowLeftIcon, to as Fragment, tt as StatelessTab, v as HOME_PATH, va as TriangleAlertIcon, vn as BrushCleaningIcon, vo as useLayoutEffect, vr as FolderIcon, vt as color, w as buildManagerHref, wn as CheckCheckIcon, wr as GitForkIcon, wt as useTheme, x as LocationProvider, xi as PanelLeftIcon, xo as useRef, y as Link, yo as useMemo, z as Collapsible, zi as Rows2Icon, zt as types } from "./runtime-Db8fJ2MP.js";
3
- import { C as init_useCopyButton, D as isReviewCollectionStoryRoute, E as init_routes, F as iframeResizeDimensionsEqual, H as global, I as init_iframe_resize, L as parseIframeResizeMessage, M as init_story_grid, N as IFRAME_RESIZE_REQUEST_CONTEXT, O as isReviewSummaryPath, P as hasFixedViewportDimensions, T as REVIEW_COLLECTION_QUERY_PARAM, U as init_global, _ as init_tags, b as init_events, c as init_status_store, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, j as groupEntriesByComponent, l as statusValueDescription, m as init_story_index_filters, o as countStatusesByValue, p as getActiveFilterCount, u as statusValueShortName, v as REVIEW_EVENTS, w as useCopyButton$1, y as REVIEW_NAMESPACE } from "./runtime-1BcYUf7-.js";
4
- import { a as TooltipProvider, c as init_TooltipNote, d as trapTabKey, i as init_core_events$1, l as getTabbables, o as init_TooltipProvider, r as STORY_PREPARED, s as TooltipNote, u as init_trapTabKey } from "./runtime-BBaBlpAS.js";
3
+ import { C as init_useCopyButton, D as isReviewCollectionStoryRoute, E as init_routes, F as iframeResizeDimensionsEqual, H as global, I as init_iframe_resize, L as parseIframeResizeMessage, M as init_story_grid, N as IFRAME_RESIZE_REQUEST_CONTEXT, O as isReviewSummaryPath, P as hasFixedViewportDimensions, T as REVIEW_COLLECTION_QUERY_PARAM, U as init_global, _ as init_tags, b as init_events, c as init_status_store, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, j as groupEntriesByComponent, l as statusValueDescription, m as init_story_index_filters, o as countStatusesByValue, p as getActiveFilterCount, u as statusValueShortName, v as REVIEW_EVENTS, w as useCopyButton$1, y as REVIEW_NAMESPACE } from "./runtime-DCOIOn4T.js";
4
+ import { a as TooltipProvider, c as init_TooltipNote, d as trapTabKey, i as init_core_events$1, l as getTabbables, o as init_TooltipProvider, r as STORY_PREPARED, s as TooltipNote, u as init_trapTabKey } from "./runtime-4wMiTjjZ.js";
5
5
  import { n as useViewport, t as init_useViewport } from "./runtime-CZtDJIYj.js";
6
- import { c as require_memoizerific, d as Helmet, f as HelmetProvider, l as init_useTransitionState, p as init_index_esm, t as require_store2, u as useTransitionState } from "./runtime-B2VQIT0n.js";
6
+ import { c as require_memoizerific, d as Helmet, f as HelmetProvider, l as init_useTransitionState, p as init_index_esm, t as require_store2, u as useTransitionState } from "./runtime-td6oYfU6.js";
7
7
  import { t as require_fuse } from "./runtime-P663lpsR.js";
8
- import { a as debounce, c as init_clsx, i as throttle, n as init_downshift_esm, r as init_throttle, s as clsx, t as Downshift } from "./runtime-CE_oqcpl.js";
9
- import { a as computeStatusFilterFn, d as init_layout, f as isPagesViewMode, i as init_tags$1, n as init_App, o as init_statuses, r as computeTagsFilterFn, t as App, u as focusableUIElements } from "./runtime-BFgSyEE6.js";
10
- import { A as init_root_page, C as getLink, D as scrollIntoView, E as isAncestor, O as searchItem, S as getHoistedComponents, T as init_tree, _ as statusPriority, a as init_provider, b as getAncestorIds, c as matchesModifiers, d as getGroupStatus, f as getMostCriticalStatusValue, g as shouldShowChangeStatus, h as init_status, i as Provider$1, j as thumbnailSrc, k as getRootPage, l as getChangeDetectionStatus, m as getStatus, n as init_settings, o as init_keybinding, p as getSidebarVisibleStatus, r as settingsPageAddon, s as matchesKeyCode, u as getGroupDualStatus, v as createId, w as getStateType, x as getDescendantIds, y as cycle } from "./runtime-Dj8tizGo.js";
8
+ import { a as debounce, c as init_clsx, i as throttle, n as init_downshift_esm, r as init_throttle, s as clsx, t as Downshift } from "./runtime-D8QxTQiI.js";
9
+ import { a as computeStatusFilterFn, d as init_layout, f as isPagesViewMode, i as init_tags$1, n as init_App, o as init_statuses, r as computeTagsFilterFn, t as App, u as focusableUIElements } from "./runtime-D_FDSHFG.js";
10
+ import { A as init_root_page, C as getLink, D as scrollIntoView, E as isAncestor, O as searchItem, S as getHoistedComponents, T as init_tree, _ as statusPriority, a as init_provider, b as getAncestorIds, c as matchesModifiers, d as getGroupStatus, f as getMostCriticalStatusValue, g as shouldShowChangeStatus, h as init_status, i as Provider$1, j as thumbnailSrc, k as getRootPage, l as getChangeDetectionStatus, m as getStatus, n as init_settings, o as init_keybinding, p as getSidebarVisibleStatus, r as settingsPageAddon, s as matchesKeyCode, u as getGroupDualStatus, v as createId, w as getStateType, x as getDescendantIds, y as cycle } from "./runtime-AvqHE9rM.js";
11
11
  //#region src/manager/components/home/HomePages.module.css
12
12
  var id$54, HomePages_module_default;
13
13
  function init_HomePages_module() {
@@ -21,13 +21,13 @@ function init_HomePages_module() {
21
21
  }
22
22
  HomePages_module_default = {
23
23
  "switchButton": "fb-2hcnfG-switchButton",
24
- "scroll": "fb-2hcnfG-scroll",
25
- "page": "fb-2hcnfG-page",
26
- "heading": "fb-2hcnfG-heading",
27
24
  "toolbar": "fb-2hcnfG-toolbar",
25
+ "allStories": "fb-2hcnfG-allStories",
26
+ "heading": "fb-2hcnfG-heading",
28
27
  "switch": "fb-2hcnfG-switch",
29
- "oneFrame": "fb-2hcnfG-oneFrame",
30
- "allStories": "fb-2hcnfG-allStories"
28
+ "scroll": "fb-2hcnfG-scroll",
29
+ "page": "fb-2hcnfG-page",
30
+ "oneFrame": "fb-2hcnfG-oneFrame"
31
31
  };
32
32
  })))();
33
33
  }
@@ -210,15 +210,15 @@ function init_ManagerErrorBoundary_module() {
210
210
  document.head.appendChild(style);
211
211
  }
212
212
  ManagerErrorBoundary_module_default = {
213
- "info": "fb-gU56mG-info",
214
- "subHeading": "fb-gU56mG-subHeading",
215
- "content": "fb-gU56mG-content",
216
- "collapseToggle": "fb-gU56mG-collapseToggle",
217
213
  "container": "fb-gU56mG-container",
218
214
  "errorMessage": "fb-gU56mG-errorMessage",
219
- "errorStack": "fb-gU56mG-errorStack",
215
+ "heading": "fb-gU56mG-heading",
220
216
  "errorWrapper": "fb-gU56mG-errorWrapper",
221
- "heading": "fb-gU56mG-heading"
217
+ "content": "fb-gU56mG-content",
218
+ "errorStack": "fb-gU56mG-errorStack",
219
+ "info": "fb-gU56mG-info",
220
+ "subHeading": "fb-gU56mG-subHeading",
221
+ "collapseToggle": "fb-gU56mG-collapseToggle"
222
222
  };
223
223
  })))();
224
224
  }
@@ -357,16 +357,16 @@ function init_NotificationItem_module() {
357
357
  document.head.appendChild(style);
358
358
  }
359
359
  NotificationItem_module_default = {
360
- "grow": "fb-pzl0Oq-grow",
361
- "textWrapper": "fb-pzl0Oq-textWrapper",
362
- "spacer": "fb-pzl0Oq-spacer",
360
+ "headline": "fb-pzl0Oq-headline",
363
361
  "interactive": "fb-pzl0Oq-interactive",
364
- "dismissButton": "fb-pzl0Oq-dismissButton",
365
362
  "iconWrapper": "fb-pzl0Oq-iconWrapper",
366
- "headline": "fb-pzl0Oq-headline",
363
+ "notification": "fb-pzl0Oq-notification",
367
364
  "slideIn": "fb-pzl0Oq-slideIn",
368
365
  "subHeadline": "fb-pzl0Oq-subHeadline",
369
- "notification": "fb-pzl0Oq-notification"
366
+ "textWrapper": "fb-pzl0Oq-textWrapper",
367
+ "grow": "fb-pzl0Oq-grow",
368
+ "dismissButton": "fb-pzl0Oq-dismissButton",
369
+ "spacer": "fb-pzl0Oq-spacer"
370
370
  };
371
371
  })))();
372
372
  }
@@ -412,10 +412,10 @@ function init_NotificationItem() {
412
412
  useEffect(() => {
413
413
  if (!duration) return;
414
414
  timer.current = setTimeout(onTimeout, duration);
415
- return () => clearTimeout(timer.current);
415
+ return () => clearTimeout(timer.current ?? void 0);
416
416
  }, [duration, onTimeout]);
417
417
  const onDismiss = useCallback(() => {
418
- clearTimeout(timer.current);
418
+ clearTimeout(timer.current ?? void 0);
419
419
  onDismissNotification(id);
420
420
  if (onClear) onClear({
421
421
  dismissed: true,
@@ -708,11 +708,11 @@ function init_MobileAbout_module() {
708
708
  }
709
709
  MobileAbout_module_default = {
710
710
  "closeButton": "fb-MH3dKG-closeButton",
711
- "slideFromRight": "fb-MH3dKG-slideFromRight",
712
- "innerArea": "fb-MH3dKG-innerArea",
711
+ "linkList": "fb-MH3dKG-linkList",
713
712
  "container": "fb-MH3dKG-container",
714
713
  "slideToRight": "fb-MH3dKG-slideToRight",
715
- "linkList": "fb-MH3dKG-linkList",
714
+ "slideFromRight": "fb-MH3dKG-slideFromRight",
715
+ "innerArea": "fb-MH3dKG-innerArea",
716
716
  "bottomText": "fb-MH3dKG-bottomText"
717
717
  };
718
718
  })))();
@@ -826,9 +826,9 @@ function init_MobileNavigation_module() {
826
826
  }
827
827
  MobileNavigation_module_default = {
828
828
  "bottomBar": "fb-PhMFUG-bottomBar",
829
- "container": "fb-PhMFUG-container",
829
+ "text": "fb-PhMFUG-text",
830
830
  "bottomBarButton": "fb-PhMFUG-bottomBarButton",
831
- "text": "fb-PhMFUG-text"
831
+ "container": "fb-PhMFUG-container"
832
832
  };
833
833
  })))();
834
834
  }
@@ -1084,8 +1084,8 @@ function init_PanelContainer_module() {
1084
1084
  document.head.appendChild(style);
1085
1085
  }
1086
1086
  PanelContainer_module_default = {
1087
- "container": "fb-FYvnTq-container",
1088
- "slot": "fb-FYvnTq-slot"
1087
+ "slot": "fb-FYvnTq-slot",
1088
+ "container": "fb-FYvnTq-container"
1089
1089
  };
1090
1090
  })))();
1091
1091
  }
@@ -1131,8 +1131,8 @@ function init_SidebarContainer_module() {
1131
1131
  document.head.appendChild(style);
1132
1132
  }
1133
1133
  SidebarContainer_module_default = {
1134
- "slot": "fb-OHv1hW-slot",
1135
- "container": "fb-OHv1hW-container"
1134
+ "container": "fb-OHv1hW-container",
1135
+ "slot": "fb-OHv1hW-slot"
1136
1136
  };
1137
1137
  })))();
1138
1138
  }
@@ -1301,7 +1301,7 @@ function useDragging({ setState, showPanel, isDesktop, navSize, rightPanelWidth,
1301
1301
  }
1302
1302
  if (draggedElement === panelResizer) {
1303
1303
  const sizeAxisState = state.panelPosition === "bottom" ? "bottomPanelHeight" : "rightPanelWidth";
1304
- const panelDragSize = state.panelPosition === "bottom" ? e.view.innerHeight - e.clientY : e.view.innerWidth - e.clientX;
1304
+ const panelDragSize = state.panelPosition === "bottom" ? window.innerHeight - e.clientY : window.innerWidth - e.clientX;
1305
1305
  const minimumSize = state.panelPosition === "bottom" ? 40 : 270;
1306
1306
  if (panelDragSize === state[sizeAxisState]) return state;
1307
1307
  if (panelDragSize <= SNAP_THRESHOLD_PX) return {
@@ -1443,10 +1443,10 @@ function init_Layout_module() {
1443
1443
  document.head.appendChild(style);
1444
1444
  }
1445
1445
  Layout_module_default = {
1446
- "dragShield": "fb-Ss6d0q-dragShield",
1447
- "mobileNavigation": "fb-Ss6d0q-mobileNavigation",
1446
+ "layout": "fb-Ss6d0q-layout",
1448
1447
  "contentOverlayCell": "fb-Ss6d0q-contentOverlayCell",
1449
- "layout": "fb-Ss6d0q-layout"
1448
+ "dragShield": "fb-Ss6d0q-dragShield",
1449
+ "mobileNavigation": "fb-Ss6d0q-mobileNavigation"
1450
1450
  };
1451
1451
  })))();
1452
1452
  }
@@ -1700,11 +1700,11 @@ function init_AttentionBanner_module() {
1700
1700
  document.head.appendChild(style);
1701
1701
  }
1702
1702
  AttentionBanner_module_default = {
1703
+ "bar": "fb-sFw6JG-bar",
1703
1704
  "region": "fb-sFw6JG-region",
1704
1705
  "popoverContent": "fb-sFw6JG-popoverContent",
1705
- "bar": "fb-sFw6JG-bar",
1706
- "message": "fb-sFw6JG-message",
1707
1706
  "title": "fb-sFw6JG-title",
1707
+ "message": "fb-sFw6JG-message",
1708
1708
  "prompt": "fb-sFw6JG-prompt"
1709
1709
  };
1710
1710
  })))();
@@ -2051,23 +2051,23 @@ function init_CollectionGrid_module() {
2051
2051
  document.head.appendChild(style);
2052
2052
  }
2053
2053
  CollectionGrid_module_default = {
2054
+ "review-grid": "fb-tDhv6a-review-grid",
2054
2055
  "frame": "fb-tDhv6a-frame",
2056
+ "labelStory": "fb-tDhv6a-labelStory",
2057
+ "preview-frame": "fb-tDhv6a-preview-frame",
2058
+ "frameShell": "fb-tDhv6a-frameShell",
2059
+ "reviewAllFrame": "fb-tDhv6a-reviewAllFrame",
2055
2060
  "actionBar": "fb-tDhv6a-actionBar",
2056
- "labelComponent": "fb-tDhv6a-labelComponent",
2057
2061
  "labelSeparator": "fb-tDhv6a-labelSeparator",
2058
- "reviewAllCell": "fb-tDhv6a-reviewAllCell",
2059
- "reviewAllShell": "fb-tDhv6a-reviewAllShell",
2060
- "review-grid": "fb-tDhv6a-review-grid",
2061
- "grid": "fb-tDhv6a-grid",
2062
- "previewLoading": "fb-tDhv6a-previewLoading",
2062
+ "labelComponent": "fb-tDhv6a-labelComponent",
2063
2063
  "label": "fb-tDhv6a-label",
2064
- "cell": "fb-tDhv6a-cell",
2065
- "reviewAllFrame": "fb-tDhv6a-reviewAllFrame",
2066
- "preview-frame": "fb-tDhv6a-preview-frame",
2067
- "frameShell": "fb-tDhv6a-frameShell",
2068
2064
  "gridContainer": "fb-tDhv6a-gridContainer",
2069
2065
  "preview": "fb-tDhv6a-preview",
2070
- "labelStory": "fb-tDhv6a-labelStory"
2066
+ "cell": "fb-tDhv6a-cell",
2067
+ "previewLoading": "fb-tDhv6a-previewLoading",
2068
+ "grid": "fb-tDhv6a-grid",
2069
+ "reviewAllCell": "fb-tDhv6a-reviewAllCell",
2070
+ "reviewAllShell": "fb-tDhv6a-reviewAllShell"
2071
2071
  };
2072
2072
  })))();
2073
2073
  }
@@ -2223,16 +2223,16 @@ function init_ReviewHeader_module() {
2223
2223
  document.head.appendChild(style);
2224
2224
  }
2225
2225
  ReviewHeader_module_default = {
2226
- "title": "fb-hay9xa-title",
2227
- "topRow": "fb-hay9xa-topRow",
2228
- "main": "fb-hay9xa-main",
2229
2226
  "actions": "fb-hay9xa-actions",
2230
- "review-header": "fb-hay9xa-review-header",
2231
2227
  "secondRow": "fb-hay9xa-secondRow",
2232
- "textBlock": "fb-hay9xa-textBlock",
2233
2228
  "leading": "fb-hay9xa-leading",
2229
+ "subtitle": "fb-hay9xa-subtitle",
2230
+ "title": "fb-hay9xa-title",
2234
2231
  "root": "fb-hay9xa-root",
2235
- "subtitle": "fb-hay9xa-subtitle"
2232
+ "main": "fb-hay9xa-main",
2233
+ "review-header": "fb-hay9xa-review-header",
2234
+ "textBlock": "fb-hay9xa-textBlock",
2235
+ "topRow": "fb-hay9xa-topRow"
2236
2236
  };
2237
2237
  })))();
2238
2238
  }
@@ -2340,22 +2340,22 @@ function init_SummaryScreen_module() {
2340
2340
  document.head.appendChild(style);
2341
2341
  }
2342
2342
  SummaryScreen_module_default = {
2343
- "summaryContent": "fb-uES55a-summaryContent",
2344
- "summaryCard": "fb-uES55a-summaryCard",
2345
- "emptyMessage": "fb-uES55a-emptyMessage",
2346
- "cardHead": "fb-uES55a-cardHead",
2347
- "listScroll": "fb-uES55a-listScroll",
2343
+ "markdownWrapper": "fb-uES55a-markdownWrapper",
2348
2344
  "cardControls": "fb-uES55a-cardControls",
2345
+ "cardCount": "fb-uES55a-cardCount",
2346
+ "toggleChevronIcon": "fb-uES55a-toggleChevronIcon",
2349
2347
  "empty": "fb-uES55a-empty",
2350
- "footer": "fb-uES55a-footer",
2348
+ "listScroll": "fb-uES55a-listScroll",
2351
2349
  "cardRationale": "fb-uES55a-cardRationale",
2352
- "cardCount": "fb-uES55a-cardCount",
2353
2350
  "cardTitle": "fb-uES55a-cardTitle",
2354
- "toggleChevronIcon": "fb-uES55a-toggleChevronIcon",
2355
- "page": "fb-uES55a-page",
2356
- "markdownWrapper": "fb-uES55a-markdownWrapper",
2351
+ "main": "fb-uES55a-main",
2352
+ "footer": "fb-uES55a-footer",
2357
2353
  "summaryHeading": "fb-uES55a-summaryHeading",
2358
- "main": "fb-uES55a-main"
2354
+ "cardHead": "fb-uES55a-cardHead",
2355
+ "page": "fb-uES55a-page",
2356
+ "summaryCard": "fb-uES55a-summaryCard",
2357
+ "summaryContent": "fb-uES55a-summaryContent",
2358
+ "emptyMessage": "fb-uES55a-emptyMessage"
2359
2359
  };
2360
2360
  })))();
2361
2361
  }
@@ -3258,8 +3258,8 @@ function init_Panel_module() {
3258
3258
  document.head.appendChild(style);
3259
3259
  }
3260
3260
  Panel_module_default = {
3261
- "actions": "fb-iv9UAW-actions",
3262
- "aside": "fb-iv9UAW-aside"
3261
+ "aside": "fb-iv9UAW-aside",
3262
+ "actions": "fb-iv9UAW-actions"
3263
3263
  };
3264
3264
  })))();
3265
3265
  }
@@ -3409,8 +3409,8 @@ function init_Panel$1() {
3409
3409
  if (!allPanels || type !== "story") return allPanels;
3410
3410
  const filteredPanels = {};
3411
3411
  Object.entries(allPanels).forEach(([id, p]) => {
3412
- const { paramKey } = p;
3413
- if (paramKey && parameters && parameters[paramKey] && parameters[paramKey].disable) return;
3412
+ const panelParameter = p.paramKey ? parameters?.[p.paramKey] : void 0;
3413
+ if (typeof panelParameter === "object" && panelParameter !== null && "disable" in panelParameter && panelParameter.disable) return;
3414
3414
  if (p.disabled === true || typeof p.disabled === "function" && p.disabled(parameters)) return;
3415
3415
  filteredPanels[id] = p;
3416
3416
  });
@@ -3495,12 +3495,12 @@ function init_ReviewToolbarHeader_module() {
3495
3495
  }
3496
3496
  ReviewToolbarHeader_module_default = {
3497
3497
  "counter": "fb-raX0Wq-counter",
3498
- "root": "fb-raX0Wq-root",
3498
+ "subtitleStrong": "fb-raX0Wq-subtitleStrong",
3499
3499
  "progressBar": "fb-raX0Wq-progressBar",
3500
+ "root": "fb-raX0Wq-root",
3500
3501
  "headerWrap": "fb-raX0Wq-headerWrap",
3501
3502
  "subtitleText": "fb-raX0Wq-subtitleText",
3502
- "progressFill": "fb-raX0Wq-progressFill",
3503
- "subtitleStrong": "fb-raX0Wq-subtitleStrong"
3503
+ "progressFill": "fb-raX0Wq-progressFill"
3504
3504
  };
3505
3505
  })))();
3506
3506
  }
@@ -3758,13 +3758,13 @@ function init_Viewport_module() {
3758
3758
  document.head.appendChild(style);
3759
3759
  }
3760
3760
  Viewport_module_default = {
3761
- "viewportDimensions": "fb-uE_brW-viewportDimensions",
3762
- "sizeInput": "fb-uE_brW-sizeInput",
3763
- "frameWrapper": "fb-uE_brW-frameWrapper",
3764
3761
  "dragHandle": "fb-uE_brW-dragHandle",
3765
- "scrollEdge": "fb-uE_brW-scrollEdge",
3766
3762
  "viewportWrapper": "fb-uE_brW-viewportWrapper",
3767
- "viewportControls": "fb-uE_brW-viewportControls"
3763
+ "sizeInput": "fb-uE_brW-sizeInput",
3764
+ "viewportDimensions": "fb-uE_brW-viewportDimensions",
3765
+ "frameWrapper": "fb-uE_brW-frameWrapper",
3766
+ "viewportControls": "fb-uE_brW-viewportControls",
3767
+ "scrollEdge": "fb-uE_brW-scrollEdge"
3768
3768
  };
3769
3769
  })))();
3770
3770
  }
@@ -4003,7 +4003,7 @@ function init_FramesRenderer() {
4003
4003
  }
4004
4004
  `;
4005
4005
  FramesRenderer = ({ api, refs, scale, viewMode = "story", refId, queryParams = {}, storyId = "*" }) => {
4006
- const version = refs[refId]?.version;
4006
+ const version = refId ? refs[refId]?.version : void 0;
4007
4007
  const active = getActive(refId, refs);
4008
4008
  const { current: frames } = useRef({});
4009
4009
  const refsToLoad = Object.values(refs).filter((ref) => {
@@ -4061,9 +4061,9 @@ function init_Toolbar_module() {
4061
4061
  document.head.appendChild(style);
4062
4062
  }
4063
4063
  Toolbar_module_default = {
4064
+ "section": "fb-dGdzzG-section",
4064
4065
  "toolbar": "fb-dGdzzG-toolbar",
4065
- "toolGroup": "fb-dGdzzG-toolGroup",
4066
- "section": "fb-dGdzzG-section"
4066
+ "toolGroup": "fb-dGdzzG-toolGroup"
4067
4067
  };
4068
4068
  })))();
4069
4069
  }
@@ -4150,7 +4150,7 @@ function init_Toolbar() {
4150
4150
  }))) : null;
4151
4151
  });
4152
4152
  Tools = _forkbook_global_react_default.memo(function Tools({ list }) {
4153
- return /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: Toolbar_module_default.toolGroup }, list.filter(Boolean).map(({ render: Render, id, ...t }, index) => /* @__PURE__ */ _forkbook_global_react_default.createElement(Render, { key: id || t.key || `f-${index}` })));
4153
+ return /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: Toolbar_module_default.toolGroup }, list.filter(Boolean).map(({ render: Render, id }, index) => /* @__PURE__ */ _forkbook_global_react_default.createElement(Render, { key: id || `f-${index}` })));
4154
4154
  });
4155
4155
  })))();
4156
4156
  }
@@ -4458,9 +4458,9 @@ function init_Preview_module() {
4458
4458
  document.head.appendChild(style);
4459
4459
  }
4460
4460
  Preview_module_default = {
4461
- "canvasWrap": "fb-nbxdwG-canvasWrap",
4462
4461
  "loaderWrapper": "fb-nbxdwG-loaderWrapper",
4463
4462
  "previewContainer": "fb-nbxdwG-previewContainer",
4463
+ "canvasWrap": "fb-nbxdwG-canvasWrap",
4464
4464
  "frameWrap": "fb-nbxdwG-frameWrap"
4465
4465
  };
4466
4466
  })))();
@@ -4567,7 +4567,7 @@ function init_Preview() {
4567
4567
  });
4568
4568
  } catch {}
4569
4569
  }, []);
4570
- const refLoading = !!refs[refId] && !refs[refId].previewInitialized;
4570
+ const refLoading = !!refId && !!refs[refId] && !refs[refId].previewInitialized;
4571
4571
  const isBuilding = !(progress?.value === 1 || progress === void 0);
4572
4572
  const rootLoading = !refId && (!previewInitialized || isBuilding);
4573
4573
  const isLoading = entry ? refLoading || rootLoading : rootLoading;
@@ -4668,7 +4668,7 @@ function init_menu() {
4668
4668
  title: "menu",
4669
4669
  id: "menu",
4670
4670
  type: types.TOOL,
4671
- match: ({ viewMode }) => ["story", "docs"].includes(viewMode),
4671
+ match: ({ viewMode }) => viewMode === "story" || viewMode === "docs",
4672
4672
  render: () => {
4673
4673
  return /* @__PURE__ */ _forkbook_global_react_default.createElement(Consumer, { filter: menuMapper$1 }, ({ navAvailability, showSidebar, singleStory }) => !singleStory && navAvailability === "hidden" && /* @__PURE__ */ _forkbook_global_react_default.createElement(_forkbook_global_react_default.Fragment, null, /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
4674
4674
  padding: "small",
@@ -4739,8 +4739,8 @@ function init_remount_module() {
4739
4739
  document.head.appendChild(style);
4740
4740
  }
4741
4741
  remount_module_default = {
4742
- "remountButton": "fb-C4s-_W-remountButton",
4743
- "rotate360": "fb-C4s-_W-rotate360"
4742
+ "rotate360": "fb-C4s-_W-rotate360",
4743
+ "remountButton": "fb-C4s-_W-remountButton"
4744
4744
  };
4745
4745
  })))();
4746
4746
  }
@@ -4954,9 +4954,9 @@ function init_Loader_module() {
4954
4954
  document.head.appendChild(style);
4955
4955
  }
4956
4956
  Loader_module_default = {
4957
- "loadingItem": "fb-YVvpGW-loadingItem",
4958
4957
  "contained": "fb-YVvpGW-contained",
4959
- "glow": "fb-YVvpGW-glow"
4958
+ "glow": "fb-YVvpGW-glow",
4959
+ "loadingItem": "fb-YVvpGW-loadingItem"
4960
4960
  };
4961
4961
  })))();
4962
4962
  }
@@ -5042,11 +5042,11 @@ function init_RefBlocks_module() {
5042
5042
  document.head.appendChild(style);
5043
5043
  }
5044
5044
  RefBlocks_module_default = {
5045
- "errorDisplay": "fb--hrd7a-errorDisplay",
5046
- "text": "fb--hrd7a-text",
5047
- "flexSpaced": "fb--hrd7a-flexSpaced",
5048
5045
  "wideSpaced": "fb--hrd7a-wideSpaced",
5049
- "textStyle": "fb--hrd7a-textStyle"
5046
+ "flexSpaced": "fb--hrd7a-flexSpaced",
5047
+ "textStyle": "fb--hrd7a-textStyle",
5048
+ "errorDisplay": "fb--hrd7a-errorDisplay",
5049
+ "text": "fb--hrd7a-text"
5050
5050
  };
5051
5051
  })))();
5052
5052
  }
@@ -5152,12 +5152,12 @@ function init_RefIndicator_module() {
5152
5152
  document.head.appendChild(style);
5153
5153
  }
5154
5154
  RefIndicator_module_default = {
5155
- "messageWrapper": "fb-ceroQa-messageWrapper",
5156
5155
  "subtleSelect": "fb-ceroQa-subtleSelect",
5157
- "indicatorClickTarget": "fb-ceroQa-indicatorClickTarget",
5158
- "messageTitle": "fb-ceroQa-messageTitle",
5159
5156
  "indicatorPlacement": "fb-ceroQa-indicatorPlacement",
5160
- "message": "fb-ceroQa-message"
5157
+ "messageTitle": "fb-ceroQa-messageTitle",
5158
+ "indicatorClickTarget": "fb-ceroQa-indicatorClickTarget",
5159
+ "message": "fb-ceroQa-message",
5160
+ "messageWrapper": "fb-ceroQa-messageWrapper"
5161
5161
  };
5162
5162
  })))();
5163
5163
  }
@@ -5667,10 +5667,10 @@ function init_TreeNode_module() {
5667
5667
  document.head.appendChild(style);
5668
5668
  }
5669
5669
  TreeNode_module_default = {
5670
- "typeIcon": "fb-EEHcsW-typeIcon",
5671
5670
  "wrapper": "fb-EEHcsW-wrapper",
5672
- "node": "fb-EEHcsW-node",
5673
- "rootNode": "fb-EEHcsW-rootNode"
5671
+ "typeIcon": "fb-EEHcsW-typeIcon",
5672
+ "rootNode": "fb-EEHcsW-rootNode",
5673
+ "node": "fb-EEHcsW-node"
5674
5674
  };
5675
5675
  })))();
5676
5676
  }
@@ -5784,7 +5784,7 @@ function init_useExpanded() {
5784
5784
  init_keybinding();
5785
5785
  init_tree();
5786
5786
  ({document: document$4} = global);
5787
- initializeExpanded = ({ refId, data, initialExpanded, highlightedRef, rootIds, selectedStoryId }) => {
5787
+ initializeExpanded = ({ refId, data, initialExpanded = {}, highlightedRef, rootIds, selectedStoryId }) => {
5788
5788
  const selectedStory = selectedStoryId && data[selectedStoryId];
5789
5789
  const candidates = expandAllByDefault() ? Object.keys(data) : [...rootIds];
5790
5790
  if (highlightedRef.current?.refId === refId) candidates.push(...getAncestorIds(data, highlightedRef.current?.itemId));
@@ -5940,16 +5940,16 @@ function init_Tree_module() {
5940
5940
  document.head.appendChild(style);
5941
5941
  }
5942
5942
  Tree_module_default = {
5943
- "leafNodeStyleWrapper": "fb-SdZTUG-leafNodeStyleWrapper",
5944
- "statusSlots": "fb-SdZTUG-statusSlots",
5945
5943
  "collapseButton": "fb-SdZTUG-collapseButton",
5944
+ "statusSlots": "fb-SdZTUG-statusSlots",
5945
+ "leafNodeStyleWrapper": "fb-SdZTUG-leafNodeStyleWrapper",
5946
5946
  "skipToContentLink": "fb-SdZTUG-skipToContentLink"
5947
5947
  };
5948
5948
  })))();
5949
5949
  }
5950
5950
  //#endregion
5951
5951
  //#region src/manager/components/sidebar/Tree.tsx
5952
- var LeafNodeStyleWrapper, getStatusLabel, Node, Root$1, Tree;
5952
+ var LeafNodeStyleWrapper, renderItemLabel, getStatusLabel, Node, Root$1, Tree;
5953
5953
  function init_Tree() {
5954
5954
  return (init_Tree = __esmMin((() => {
5955
5955
  init__forkbook_global_react();
@@ -5974,13 +5974,14 @@ function init_Tree() {
5974
5974
  className: clsx(Tree_module_default.leafNodeStyleWrapper, className),
5975
5975
  ...props
5976
5976
  });
5977
+ renderItemLabel = (item, api) => item.renderLabel?.(item, api);
5977
5978
  getStatusLabel = (status) => status.split(":")[1].replace(/^./, (char) => char.toUpperCase());
5978
5979
  Node = _forkbook_global_react_default.memo(function Node(props) {
5979
5980
  const { item, statuses, groupDualStatus, refId, docsMode, isOrphan, isDisplayed, isSelected, isFullyExpanded, setFullyExpanded, isExpanded, setExpanded, onSelectStoryId, api, isModifiedFilterActive } = props;
5980
5981
  const theme = useTheme();
5981
5982
  const { isDesktop, isMobile } = useLayout();
5982
5983
  const statusLinks = useMemo(() => {
5983
- if (item.type === "story" || item.type === "docs") return Object.entries(statuses).filter(([, status]) => status.sidebarContextMenu !== false).filter(([, status]) => status.typeId !== REVIEW_STATUS_TYPE_ID).sort((a, b) => statusPriority.indexOf(a[1].value) - statusPriority.indexOf(b[1].value)).map(([typeId, status]) => ({
5984
+ if (item.type === "story" || item.type === "docs") return Object.entries(statuses ?? {}).filter(([, status]) => status.sidebarContextMenu !== false).filter(([, status]) => status.typeId !== REVIEW_STATUS_TYPE_ID).sort((a, b) => statusPriority.indexOf(a[1].value) - statusPriority.indexOf(b[1].value)).map(([typeId, status]) => ({
5984
5985
  id: typeId,
5985
5986
  title: status.title,
5986
5987
  description: status.description,
@@ -6036,7 +6037,7 @@ function init_Tree() {
6036
6037
  "data-highlightable": isDisplayed,
6037
6038
  onMouseEnter: contextMenu.onMouseEnter
6038
6039
  }, /* @__PURE__ */ _forkbook_global_react_default.createElement(LeafNode, {
6039
- style: isSelected ? {} : { color: textColor },
6040
+ style: isSelected ? {} : { color: textColor ?? void 0 },
6040
6041
  href: getLink(item, refId),
6041
6042
  id,
6042
6043
  depth: isOrphan ? item.depth : item.depth - 1,
@@ -6046,7 +6047,7 @@ function init_Tree() {
6046
6047
  if (isMobile) api.setMobileNavigation(false);
6047
6048
  },
6048
6049
  ...item.type === "docs" && { docsMode }
6049
- }, item.renderLabel?.(item, api) || item.name), isSelected && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6050
+ }, renderItemLabel(item, api) || item.name), isSelected && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6050
6051
  className: Tree_module_default.skipToContentLink,
6051
6052
  asChild: true,
6052
6053
  ariaLabel: false
@@ -6096,7 +6097,7 @@ function init_Tree() {
6096
6097
  });
6097
6098
  },
6098
6099
  "aria-expanded": isExpanded
6099
- }, /* @__PURE__ */ _forkbook_global_react_default.createElement(CollapseIcon, { isExpanded }), item.renderLabel?.(item, api) || item.name), isExpanded && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6100
+ }, /* @__PURE__ */ _forkbook_global_react_default.createElement(CollapseIcon, { isExpanded }), renderItemLabel(item, api) || item.name), isExpanded && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6100
6101
  padding: "small",
6101
6102
  variant: "ghost",
6102
6103
  className: "sidebar-subheading-action",
@@ -6105,7 +6106,7 @@ function init_Tree() {
6105
6106
  "data-expanded": isFullyExpanded,
6106
6107
  onClick: (event) => {
6107
6108
  event.preventDefault();
6108
- setFullyExpanded();
6109
+ setFullyExpanded?.();
6109
6110
  }
6110
6111
  }, isFullyExpanded ? /* @__PURE__ */ _forkbook_global_react_default.createElement(FoldVerticalIcon, null) : /* @__PURE__ */ _forkbook_global_react_default.createElement(ExpandIcon, null)));
6111
6112
  if (item.type === "component" || item.type === "group" || item.type === "story" && "children" in item && item.children) {
@@ -6169,7 +6170,7 @@ function init_Tree() {
6169
6170
  options: { target: refId }
6170
6171
  });
6171
6172
  }
6172
- }, item.renderLabel?.(item, api) || item.name), isSelected && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6173
+ }, renderItemLabel(item, api) || item.name), isSelected && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6173
6174
  className: Tree_module_default.skipToContentLink,
6174
6175
  asChild: true,
6175
6176
  ariaLabel: false
@@ -6239,7 +6240,7 @@ function init_Tree() {
6239
6240
  onSelectStoryId(item.id);
6240
6241
  if (isMobile) api.setMobileNavigation(false);
6241
6242
  }
6242
- }, item.renderLabel?.(item, api) || item.name), isSelected && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6243
+ }, renderItemLabel(item, api) || item.name), isSelected && /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
6243
6244
  className: Tree_module_default.skipToContentLink,
6244
6245
  ariaLabel: false,
6245
6246
  asChild: true
@@ -6478,7 +6479,7 @@ function init_Refs() {
6478
6479
  onClick: handleClick
6479
6480
  }, /* @__PURE__ */ _forkbook_global_react_default.createElement(CollapseIcon, { isExpanded }), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", {
6480
6481
  className: Refs_module_default.refTitle,
6481
- title
6482
+ title: title ?? void 0
6482
6483
  }, title)), /* @__PURE__ */ _forkbook_global_react_default.createElement(RefIndicator, {
6483
6484
  ...props,
6484
6485
  state,
@@ -6487,20 +6488,20 @@ function init_Refs() {
6487
6488
  className: Refs_module_default.wrapper,
6488
6489
  "data-title": title,
6489
6490
  "data-main": isMain || void 0
6490
- }, state === "auth" && /* @__PURE__ */ _forkbook_global_react_default.createElement(AuthBlock, {
6491
+ }, state === "auth" && loginUrl && /* @__PURE__ */ _forkbook_global_react_default.createElement(AuthBlock, {
6491
6492
  id: refId,
6492
6493
  loginUrl
6493
- }), state === "error" && /* @__PURE__ */ _forkbook_global_react_default.createElement(ErrorBlock, { error: indexError }), state === "loading" && /* @__PURE__ */ _forkbook_global_react_default.createElement(LoaderBlock, { isMain }), state === "empty" && /* @__PURE__ */ _forkbook_global_react_default.createElement(EmptyBlock, {
6494
+ }), state === "error" && indexError && /* @__PURE__ */ _forkbook_global_react_default.createElement(ErrorBlock, { error: indexError }), state === "loading" && /* @__PURE__ */ _forkbook_global_react_default.createElement(LoaderBlock, { isMain }), state === "empty" && /* @__PURE__ */ _forkbook_global_react_default.createElement(EmptyBlock, {
6494
6495
  isMain,
6495
6496
  hasEntries,
6496
6497
  activeFilterCount
6497
- }), state === "ready" && /* @__PURE__ */ _forkbook_global_react_default.createElement(Tree, {
6498
+ }), state === "ready" && index && /* @__PURE__ */ _forkbook_global_react_default.createElement(Tree, {
6498
6499
  allStatuses,
6499
6500
  isBrowsing,
6500
6501
  isMain,
6501
6502
  refId,
6502
6503
  data: index,
6503
- docsMode: managerState.docsOptions.docsMode,
6504
+ docsMode: !!managerState.docsOptions.docsMode,
6504
6505
  selectedStoryId,
6505
6506
  onSelectStoryId,
6506
6507
  highlightedRef,
@@ -6582,7 +6583,7 @@ function init_useHighlighted() {
6582
6583
  const nextIndex = cycle(highlightable, currentIndex, isArrowUp ? -1 : 1);
6583
6584
  const didRunAround = isArrowUp ? nextIndex === highlightable.length - 1 : nextIndex === 0;
6584
6585
  highlightElement(highlightable[nextIndex], didRunAround);
6585
- if (highlightable[nextIndex].getAttribute("data-nodetype") === "component") {
6586
+ if (highlightable[nextIndex].getAttribute("data-nodetype") === "component" && highlightedRef.current) {
6586
6587
  const { itemId, refId } = highlightedRef.current;
6587
6588
  const item = api.resolveStory(itemId, refId === "storybook_internal" ? void 0 : refId);
6588
6589
  if (item?.type === "component") api.emit(PRELOAD_ENTRIES, {
@@ -6968,8 +6969,8 @@ function init_Filter_module() {
6968
6969
  document.head.appendChild(style);
6969
6970
  }
6970
6971
  Filter_module_default = {
6971
- "filterButton": "fb-AAfxGW-filterButton",
6972
- "tagSelected": "fb-AAfxGW-tagSelected"
6972
+ "tagSelected": "fb-AAfxGW-tagSelected",
6973
+ "filterButton": "fb-AAfxGW-filterButton"
6973
6974
  };
6974
6975
  })))();
6975
6976
  }
@@ -7057,9 +7058,9 @@ function init_Brand_module() {
7057
7058
  document.head.appendChild(style);
7058
7059
  }
7059
7060
  Brand_module_default = {
7060
- "logoLink": "fb-UuNJxG-logoLink",
7061
+ "logo": "fb-UuNJxG-logo",
7061
7062
  "img": "fb-UuNJxG-img",
7062
- "logo": "fb-UuNJxG-logo"
7063
+ "logoLink": "fb-UuNJxG-logoLink"
7063
7064
  };
7064
7065
  })))();
7065
7066
  }
@@ -7116,9 +7117,9 @@ function init_Menu_module() {
7116
7117
  document.head.appendChild(style);
7117
7118
  }
7118
7119
  Menu_module_default = {
7119
- "sidebarButton": "fb-_YecvW-sidebarButton",
7120
7120
  "container": "fb-_YecvW-container",
7121
- "menuButtonGroup": "fb-_YecvW-menuButtonGroup"
7121
+ "menuButtonGroup": "fb-_YecvW-menuButtonGroup",
7122
+ "sidebarButton": "fb-_YecvW-sidebarButton"
7122
7123
  };
7123
7124
  })))();
7124
7125
  }
@@ -7244,9 +7245,9 @@ function init_Heading_module() {
7244
7245
  document.head.appendChild(style);
7245
7246
  }
7246
7247
  Heading_module_default = {
7248
+ "brandArea": "fb-jeTwbq-brandArea",
7247
7249
  "headingWrapper": "fb-jeTwbq-headingWrapper",
7248
- "skipToCanvasLink": "fb-jeTwbq-skipToCanvasLink",
7249
- "brandArea": "fb-jeTwbq-brandArea"
7250
+ "skipToCanvasLink": "fb-jeTwbq-skipToCanvasLink"
7250
7251
  };
7251
7252
  })))();
7252
7253
  }
@@ -7293,8 +7294,8 @@ function init_PageLinks_module() {
7293
7294
  document.head.appendChild(style);
7294
7295
  }
7295
7296
  PageLinks_module_default = {
7296
- "link": "fb-DvaVja-link",
7297
- "list": "fb-DvaVja-list"
7297
+ "list": "fb-DvaVja-list",
7298
+ "link": "fb-DvaVja-link"
7298
7299
  };
7299
7300
  })))();
7300
7301
  }
@@ -7356,12 +7357,12 @@ function init_ReviewWidget_module() {
7356
7357
  document.head.appendChild(style);
7357
7358
  }
7358
7359
  ReviewWidget_module_default = {
7359
- "dismissButton": "fb-eFT8aG-dismissButton",
7360
7360
  "region": "fb-eFT8aG-region",
7361
- "headerContent": "fb-eFT8aG-headerContent",
7362
- "agenticIcon": "fb-eFT8aG-agenticIcon",
7361
+ "dismissButton": "fb-eFT8aG-dismissButton",
7363
7362
  "dismissIcon": "fb-eFT8aG-dismissIcon",
7364
- "headerTitle": "fb-eFT8aG-headerTitle"
7363
+ "headerContent": "fb-eFT8aG-headerContent",
7364
+ "headerTitle": "fb-eFT8aG-headerTitle",
7365
+ "agenticIcon": "fb-eFT8aG-agenticIcon"
7365
7366
  };
7366
7367
  })))();
7367
7368
  }
@@ -7438,10 +7439,10 @@ function init_ReviewWidget() {
7438
7439
  //#endregion
7439
7440
  //#region src/manager/components/sidebar/types.ts
7440
7441
  function isExpandType(x) {
7441
- return !!(x && x.showAll);
7442
+ return typeof x === "object" && x !== null && "showAll" in x && !!x.showAll;
7442
7443
  }
7443
7444
  function isSearchResult(x) {
7444
- return !!(x && x.item);
7445
+ return typeof x === "object" && x !== null && "item" in x && !!x.item;
7445
7446
  }
7446
7447
  //#endregion
7447
7448
  //#region src/manager/components/sidebar/Search.module.css
@@ -7457,12 +7458,12 @@ function init_Search_module() {
7457
7458
  }
7458
7459
  Search_module_default = {
7459
7460
  "searchBar": "fb-O-Z7Pq-searchBar",
7460
- "screenReaderLabel": "fb-O-Z7Pq-screenReaderLabel",
7461
7461
  "searchField": "fb-O-Z7Pq-searchField",
7462
- "iconWrapper": "fb-O-Z7Pq-iconWrapper",
7463
7462
  "input": "fb-O-Z7Pq-input",
7463
+ "iconWrapper": "fb-O-Z7Pq-iconWrapper",
7464
7464
  "actions": "fb-O-Z7Pq-actions",
7465
- "focusContainer": "fb-O-Z7Pq-focusContainer"
7465
+ "focusContainer": "fb-O-Z7Pq-focusContainer",
7466
+ "screenReaderLabel": "fb-O-Z7Pq-screenReaderLabel"
7466
7467
  };
7467
7468
  })))();
7468
7469
  }
@@ -7579,7 +7580,7 @@ function init_Search() {
7579
7580
  resultIds.add(item.id);
7580
7581
  return true;
7581
7582
  }
7582
- if (resultIds.has(item.parent)) return false;
7583
+ if ("parent" in item && item.parent && resultIds.has(item.parent)) return false;
7583
7584
  resultIds.add(item.id);
7584
7585
  if (item.type === "docs" && item.parent) resultIds.add(item.parent);
7585
7586
  return true;
@@ -7600,16 +7601,16 @@ function init_Search() {
7600
7601
  const { id: rawId, refId } = selectedItem.item;
7601
7602
  const [storyId, anchor] = rawId.split("#");
7602
7603
  api?.selectStory(storyId, void 0, {
7603
- ref: refId !== "storybook_internal" && refId,
7604
+ ref: refId !== "storybook_internal" ? refId : void 0,
7604
7605
  scrollTo: anchor
7605
7606
  });
7606
- inputRef.current.blur();
7607
+ inputRef.current?.blur();
7607
7608
  showAllComponents(false);
7608
7609
  return;
7609
7610
  }
7610
7611
  if (isExpandType(selectedItem)) selectedItem.showAll();
7611
7612
  }, [api]);
7612
- const onInputValueChange = useCallback((inputValue, stateAndHelpers) => {
7613
+ const onInputValueChange = useCallback(() => {
7613
7614
  showAllComponents(false);
7614
7615
  }, []);
7615
7616
  const stateReducer = useCallback((state, changes) => {
@@ -7649,7 +7650,7 @@ function init_Search() {
7649
7650
  return /* @__PURE__ */ _forkbook_global_react_default.createElement(Downshift, {
7650
7651
  initialInputValue: initialQuery,
7651
7652
  stateReducer,
7652
- itemToString: (result) => result?.item?.name || "",
7653
+ itemToString: (result) => isSearchResult(result) ? result.item.name : "",
7653
7654
  scrollIntoView: (e) => scrollIntoView(e),
7654
7655
  onSelect,
7655
7656
  onInputValueChange
@@ -7699,7 +7700,7 @@ function init_Search() {
7699
7700
  },
7700
7701
  onBlur: () => setPlaceholder("Find components"),
7701
7702
  onKeyDown: (e) => {
7702
- if (e.key === "Escape" && inputValue.length === 0) inputRef.current.blur();
7703
+ if (e.key === "Escape" && !inputValue) inputRef.current?.blur();
7703
7704
  }
7704
7705
  });
7705
7706
  const labelProps = getLabelProps({ htmlFor: inputId });
@@ -7760,15 +7761,15 @@ function init_SearchResults_module() {
7760
7761
  document.head.appendChild(style);
7761
7762
  }
7762
7763
  SearchResults_module_default = {
7764
+ "mark": "fb-ipkuoW-mark",
7765
+ "resultsList": "fb-ipkuoW-resultsList",
7766
+ "resultRowContent": "fb-ipkuoW-resultRowContent",
7763
7767
  "moreWrapper": "fb-ipkuoW-moreWrapper",
7764
7768
  "thumbnail": "fb-ipkuoW-thumbnail",
7765
- "resultRowContent": "fb-ipkuoW-resultRowContent",
7766
- "title": "fb-ipkuoW-title",
7767
7769
  "iconWrapper": "fb-ipkuoW-iconWrapper",
7768
7770
  "path": "fb-ipkuoW-path",
7769
- "mark": "fb-ipkuoW-mark",
7770
7771
  "recentlyOpenedTitle": "fb-ipkuoW-recentlyOpenedTitle",
7771
- "resultsList": "fb-ipkuoW-resultsList",
7772
+ "title": "fb-ipkuoW-title",
7772
7773
  "resultRow": "fb-ipkuoW-resultRow"
7773
7774
  };
7774
7775
  })))();
@@ -7891,14 +7892,15 @@ function init_SearchResults() {
7891
7892
  const currentTarget = event.currentTarget;
7892
7893
  const storyId = currentTarget.getAttribute("data-id");
7893
7894
  const refId = currentTarget.getAttribute("data-refid");
7894
- const item = api.resolveStory(storyId, refId === "storybook_internal" ? void 0 : refId);
7895
+ if (!storyId) return;
7896
+ const item = api.resolveStory(storyId, refId === "storybook_internal" || refId === null ? void 0 : refId);
7895
7897
  if (item?.type === "component") api.emit(PRELOAD_ENTRIES, {
7896
- ids: [item.isLeaf ? item.id : item.children[0]],
7898
+ ids: ["isLeaf" in item && item.isLeaf ? item.id : item.children[0]],
7897
7899
  options: { target: refId }
7898
7900
  });
7899
7901
  }, []);
7900
7902
  const handleClearLastViewed = () => {
7901
- clearLastViewed();
7903
+ clearLastViewed?.();
7902
7904
  closeMenu();
7903
7905
  };
7904
7906
  return /* @__PURE__ */ _forkbook_global_react_default.createElement("ol", {
@@ -7963,8 +7965,8 @@ function init_ShowChangesButton_module() {
7963
7965
  document.head.appendChild(style);
7964
7966
  }
7965
7967
  ShowChangesButton_module_default = {
7966
- "icon": "fb-qMJFKG-icon",
7967
7968
  "wrapper": "fb-qMJFKG-wrapper",
7969
+ "icon": "fb-qMJFKG-icon",
7968
7970
  "cta": "fb-qMJFKG-cta"
7969
7971
  };
7970
7972
  })))();
@@ -8204,16 +8206,16 @@ function init_TestingWidget_module() {
8204
8206
  document.head.appendChild(style);
8205
8207
  }
8206
8208
  TestingWidget_module_default = {
8207
- "testing-module-collapse-toggle": "fb-ox_lkW-testing-module-collapse-toggle",
8208
- "hoverCard": "fb-ox_lkW-hoverCard",
8209
+ "content": "fb-ox_lkW-content",
8209
8210
  "action": "fb-ox_lkW-action",
8210
- "collapseToggle": "fb-ox_lkW-collapseToggle",
8211
+ "testing-module-collapse-toggle": "fb-ox_lkW-testing-module-collapse-toggle",
8211
8212
  "collapsible": "fb-ox_lkW-collapsible",
8212
- "statusFilter": "fb-ox_lkW-statusFilter",
8213
8213
  "filters": "fb-ox_lkW-filters",
8214
- "bar": "fb-ox_lkW-bar",
8215
8214
  "testProvider": "fb-ox_lkW-testProvider",
8216
- "content": "fb-ox_lkW-content"
8215
+ "collapseToggle": "fb-ox_lkW-collapseToggle",
8216
+ "hoverCard": "fb-ox_lkW-hoverCard",
8217
+ "statusFilter": "fb-ox_lkW-statusFilter",
8218
+ "bar": "fb-ox_lkW-bar"
8217
8219
  };
8218
8220
  })))();
8219
8221
  }
@@ -8431,7 +8433,7 @@ function init_SidebarBottom() {
8431
8433
  filterNone = () => true;
8432
8434
  filterWarn = ({ statuses = {} }) => Object.values(statuses).some(({ value }) => value === "status-value:warning");
8433
8435
  filterError = ({ statuses = {} }) => Object.values(statuses).some(({ value }) => value === "status-value:error");
8434
- filterBoth = ({ statuses = {} }) => Object.values(statuses).some(({ value }) => ["status-value:warning", "status-value:error"].includes(value));
8436
+ filterBoth = ({ statuses = {} }) => Object.values(statuses).some(({ value }) => value === "status-value:warning" || value === "status-value:error");
8435
8437
  getFilter = (warningsActive = false, errorsActive = false) => {
8436
8438
  if (warningsActive && errorsActive) return filterBoth;
8437
8439
  if (warningsActive) return filterWarn;
@@ -8642,7 +8644,7 @@ function init_Sidebar() {
8642
8644
  entries: Object.entries(hash)
8643
8645
  }), [hash]);
8644
8646
  };
8645
- Sidebar$1 = _forkbook_global_react_default.memo(function Sidebar({ storyId = null, refId = DEFAULT_REF_ID, anchor, index, indexJson, indexError, allStatuses, previewInitialized, menu, menuHighlighted = false, enableShortcuts = true, isDevelopment = global.CONFIG_TYPE === "DEVELOPMENT", refs = {}, onMenuClick }) {
8647
+ Sidebar$1 = _forkbook_global_react_default.memo(function Sidebar({ storyId, refId = DEFAULT_REF_ID, anchor, index, indexJson, indexError, allStatuses, previewInitialized, menu, menuHighlighted = false, enableShortcuts = true, isDevelopment = global.CONFIG_TYPE === "DEVELOPMENT", refs = {}, onMenuClick }) {
8646
8648
  const selected = useMemo(() => storyId ? {
8647
8649
  storyId,
8648
8650
  refId,
@@ -8856,12 +8858,12 @@ function init_Menu$1() {
8856
8858
  }, [api]);
8857
8859
  const getAddonsShortcuts = useCallback(() => {
8858
8860
  const addonsShortcuts = api.getAddonsShortcuts();
8859
- const keys = shortcutKeys;
8861
+ const getKeys = (actionName) => actionName in shortcutKeys ? shortcutKeys[actionName] : void 0;
8860
8862
  return Object.entries(addonsShortcuts).filter(([_, { showInMenu }]) => showInMenu).map(([actionName, { label, action }]) => ({
8861
8863
  id: actionName,
8862
8864
  title: label,
8863
8865
  onClick: () => action(),
8864
- right: enableShortcuts && keys[actionName] ? /* @__PURE__ */ _forkbook_global_react_default.createElement(Shortcut, { keys: keys[actionName] }) : null
8866
+ right: enableShortcuts && getKeys(actionName) ? /* @__PURE__ */ _forkbook_global_react_default.createElement(Shortcut, { keys: getKeys(actionName) }) : null
8865
8867
  }));
8866
8868
  }, [
8867
8869
  api,
@@ -8912,7 +8914,7 @@ function init_Sidebar$1() {
8912
8914
  Sidebar = _forkbook_global_react_default.memo(function Sideber({ onMenuClick }) {
8913
8915
  const mapper = ({ state, api }) => {
8914
8916
  const { ui: { name, url, enableShortcuts }, viewMode, storyId, refId, location, layout: { showToolbar }, internal_index, filteredIndex: index, indexError, previewInitialized, refs } = state;
8915
- const whatsNewNotificationsEnabled = state.whatsNewData?.status === "SUCCESS" && !state.disableWhatsNewNotifications;
8917
+ const whatsNewNotificationsEnabled = state.whatsNewData?.status === "SUCCESS" && !state.whatsNewData.disableWhatsNewNotifications;
8916
8918
  return {
8917
8919
  api,
8918
8920
  title: name,
@@ -8979,8 +8981,8 @@ function init_manager() {
8979
8981
  init_LayoutProvider();
8980
8982
  init_provider();
8981
8983
  init_settings();
8982
- ThemeProvider.displayName = "ThemeProvider";
8983
- HelmetProvider.displayName = "HelmetProvider";
8984
+ Object.assign(ThemeProvider, { displayName: "ThemeProvider" });
8985
+ Object.assign(HelmetProvider, { displayName: "HelmetProvider" });
8984
8986
  Root = ({ provider }) => /* @__PURE__ */ _forkbook_global_react_default.createElement(HelmetProvider, { key: "helmet.Provider" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(LocationProvider, { key: "location.provider" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(Main, { provider })));
8985
8987
  Main = ({ provider }) => {
8986
8988
  const navigate = useNavigate();