@aussieljk/forkbook 0.0.1-5 → 0.0.1-7

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 (314) hide show
  1. package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
  2. package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
  3. package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
  4. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  5. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
  6. package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
  7. package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
  8. package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
  9. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
  10. package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
  11. package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
  13. package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
  14. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  15. package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
  16. package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
  17. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  18. package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
  19. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
  20. package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
  21. package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
  22. package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
  23. package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
  24. package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
  25. package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
  26. package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
  27. package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
  28. package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
  29. package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
  30. package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
  31. package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
  32. package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
  33. package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
  34. package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
  35. package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
  36. package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
  37. package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
  38. package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
  39. package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
  40. package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
  41. package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
  42. package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
  43. package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
  44. package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
  45. package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
  46. package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
  47. package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
  48. package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
  49. package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
  50. package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
  51. package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
  52. package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
  53. package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
  54. package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
  55. package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
  56. package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
  57. package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
  58. package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
  59. package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
  60. package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
  61. package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
  62. package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
  63. package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
  64. package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
  65. package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
  66. package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
  67. package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
  68. package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
  69. package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
  70. package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
  71. package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
  72. package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
  73. package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
  74. package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
  75. package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
  76. package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
  77. package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
  78. package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
  79. package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
  80. package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
  81. package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
  82. package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
  83. package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
  84. package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
  85. package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
  86. package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
  87. package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
  88. package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
  89. package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
  90. package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
  91. package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
  92. package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
  93. package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
  94. package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
  95. package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
  96. package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
  97. package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
  98. package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
  99. package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
  100. package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
  101. package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
  102. package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
  103. package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
  104. package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
  105. package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
  106. package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
  107. package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
  108. package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
  109. package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
  110. package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
  111. package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
  112. package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
  113. package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
  114. package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
  115. package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
  116. package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
  117. package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
  118. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
  119. package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
  120. package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
  121. package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
  122. package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
  123. package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
  124. package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
  125. package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
  126. package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
  127. package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
  128. package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
  129. package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
  130. package/dist/actions/decorator.js +2 -1
  131. package/dist/actions/index.js +2 -1
  132. package/dist/addon-a11y/index.js +2 -1
  133. package/dist/addon-a11y/manager.js +6 -5
  134. package/dist/addon-a11y/preset.js +7 -7
  135. package/dist/addon-a11y/preview.js +2 -1
  136. package/dist/addon-docs/blocks.js +28 -14
  137. package/dist/addon-docs/manager.js +2 -2
  138. package/dist/addon-docs/preset.js +10 -10
  139. package/dist/addon-links/index.js +3 -2
  140. package/dist/addon-links/preview.d.ts +1 -1
  141. package/dist/addon-links/preview.js +3 -2
  142. package/dist/addon-links/react/index.js +2 -1
  143. package/dist/addon-mcp/preset.js +8 -8
  144. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
  145. package/dist/addon-ondevice-actions/index.js +5 -1
  146. package/dist/addon-ondevice-actions/register.js +5 -1
  147. package/dist/addon-themes/postinstall.js +7 -7
  148. package/dist/addon-vitest/constants.js +8 -8
  149. package/dist/addon-vitest/manager.js +2 -2
  150. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  151. package/dist/addon-vitest/node/vitest.js +16 -16
  152. package/dist/addon-vitest/postinstall.js +10 -10
  153. package/dist/addon-vitest/preset.js +15 -16
  154. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  155. package/dist/addon-vitest/vitest-plugin/index.js +17 -17
  156. package/dist/babel/index.d.ts +91 -842
  157. package/dist/babel/index.js +13 -19
  158. package/dist/bin/core.js +61 -60
  159. package/dist/bin/dispatcher.js +16 -11
  160. package/dist/bin/loader.js +16 -15
  161. package/dist/builder-vite/index.js +15 -15
  162. package/dist/builder-vite/preset.js +13 -13
  163. package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
  164. package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
  165. package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
  166. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  167. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  168. package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
  169. package/dist/cli/index.d.ts +13 -866
  170. package/dist/cli/index.js +42 -4952
  171. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  172. package/dist/cli/tools/sdk/child-host.js +17 -17
  173. package/dist/cli/tools/sdk/index.d.ts +1 -1
  174. package/dist/cli/tools/sdk/index.js +18 -18
  175. package/dist/cli-commands/bin/index.js +7 -7
  176. package/dist/client-logger/index.js +3 -1
  177. package/dist/common/index.d.ts +5 -4
  178. package/dist/common/index.js +35 -37
  179. package/dist/components/index.d.ts +14 -231
  180. package/dist/components/index.js +2512 -8359
  181. package/dist/core-events/index.d.ts +3 -2
  182. package/dist/core-events/index.js +3 -1
  183. package/dist/core-server/index.d.ts +2 -2
  184. package/dist/core-server/index.js +450 -147
  185. package/dist/core-server/presets/common-manager.js +62 -866
  186. package/dist/core-server/presets/common-override-preset.js +12 -10
  187. package/dist/core-server/presets/common-preset.js +39 -40
  188. package/dist/create/bin/index.js +7 -7
  189. package/dist/create/index.js +15 -15
  190. package/dist/csf/index.d.ts +1 -1
  191. package/dist/csf/index.js +27 -93
  192. package/dist/csf-tools/index.d.ts +14 -12
  193. package/dist/csf-tools/index.js +14 -14
  194. package/dist/instrumenter/index.js +3 -1
  195. package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
  196. package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
  197. package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
  198. package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
  199. package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
  200. package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
  201. package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
  202. package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
  203. package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
  204. package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
  205. package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
  206. package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
  207. package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
  208. package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
  209. package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
  210. package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
  211. package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
  212. package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
  213. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
  214. package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
  215. package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
  216. package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
  217. package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
  218. package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
  219. package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
  220. package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
  221. package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
  222. package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
  223. package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
  224. package/dist/manager/globals-runtime.js +1 -1
  225. package/dist/manager/runtime.js +1 -1
  226. package/dist/manager-api/index.d.ts +1 -1
  227. package/dist/manager-api/index.js +22 -28
  228. package/dist/manager-errors.d.ts +1 -1
  229. package/dist/mcp/index.js +8 -8
  230. package/dist/mocking-utils/index.js +16 -11
  231. package/dist/nextjs-vite/index.js +3 -2
  232. package/dist/nextjs-vite/node/index.js +7 -7
  233. package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
  234. package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
  235. package/dist/nextjs-vite/preset.js +93 -14
  236. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  237. package/dist/nextjs-vite-plugin/index.d.ts +1 -2
  238. package/dist/nextjs-vite-plugin/index.js +12 -27
  239. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  240. package/dist/node-logger/index.d.ts +65 -72
  241. package/dist/node-logger/index.js +11 -12
  242. package/dist/oxc-parser/index.js +11 -13
  243. package/dist/oxc-parser/worker.js +10 -10
  244. package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
  245. package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
  246. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  247. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  248. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  249. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  250. package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
  251. package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
  252. package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
  253. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  254. package/dist/preview/runtime.js +1 -1
  255. package/dist/preview-api/index.d.ts +1 -1
  256. package/dist/preview-api/index.js +2 -1
  257. package/dist/preview-errors.d.ts +1 -1
  258. package/dist/react/docgen/docgen-worker.js +11 -12
  259. package/dist/react/entry-preview.js +2 -1
  260. package/dist/react/index.js +6 -4
  261. package/dist/react/preset.js +13 -14
  262. package/dist/react/preview.js +3 -2
  263. package/dist/react-native/bin/get-stories.js +8 -8
  264. package/dist/react-native/index.js +25 -211
  265. package/dist/react-native/metro/node.js +10 -9
  266. package/dist/react-native/metro/withStorybook.js +11 -10
  267. package/dist/react-native/scripts/generate.js +8 -8
  268. package/dist/react-vite/node/index.js +7 -7
  269. package/dist/react-vite/preset.js +7 -7
  270. package/dist/router/index.js +3 -1
  271. package/dist/server-errors.d.ts +1 -1
  272. package/dist/server-errors.js +9 -9
  273. package/dist/shared/open-service/index.d.ts +1 -1
  274. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  275. package/dist/telemetry/index.js +43 -45
  276. package/dist/test/index.js +808 -573
  277. package/dist/theming/create.js +2 -1
  278. package/dist/theming/index.js +22 -1
  279. package/dist/types/index.d.ts +1 -1
  280. package/package.json +21 -44
  281. package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
  282. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  283. package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
  284. package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
  285. package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
  286. package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
  287. package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
  288. package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
  289. package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
  290. package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
  291. package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
  292. package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
  293. package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
  294. package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
  295. package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
  296. package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
  297. package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
  298. package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
  299. package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
  300. package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
  301. package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
  302. package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
  303. package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
  304. package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
  305. package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
  306. package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
  307. package/dist/chunk-BfBzpgct.d.ts +0 -916
  308. package/dist/core-server/presets/common-manager.css +0 -170
  309. package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
  310. package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
  311. package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
  312. package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
  313. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  314. package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
@@ -1,12 +1,12 @@
1
- import { n as __esmMin, o as __toESM } from "./runtime-EITvVbkG.js";
2
- import { $ as TabList, $a as Component, $r as ListIcon, $t as ArrowSquareOutIcon, A as Badge, B as IconButton, C as init_client, Ci as PlayCircleIcon, Cn as CaretRightIcon, Ct as experimental_useStatusStore, D as once, Dt as internal_fullStatusStore, E as logger, Er as GithubLogoIcon, Et as init_manager_api, F as EmptyTabContent, Fn as ChecksIcon, G as ScrollArea, Ga as SHARE_ISOLATE_MODE, Gr as LightningIcon, H as Loader$1, Ha as PRELOAD_ENTRIES, Hi as SidebarSimpleIcon, Hn as CommandIcon, Hr as InfoIcon, I as ErrorFormatter, J as Spaced, Ja as core_events_default, K as Select, Ka as STORIES_COLLAPSE_ALL, Kt as ArrowCounterClockwiseIcon, L as ForkbookIcon, Lt as useServiceQuery, M as Card, Mt as types, N as Collapsible, Na as XCircleIcon, Nt as useChannel, O as AbstractToolbar, Or as GlobeIcon, Ot as internal_fullTestProviderStore, P as DocumentWrapper, Pa as XIcon, Pn as CheckIcon, Q as StatelessTabsView, R as ForkbookLogo, Ra as init_react, Rt as useStorybookApi, S as createRoot, Sn as CaretLeftIcon, St as experimental_getStatusStore, T as init_client_logger, Tt as getService, U as Modal, Ua as PREVIEW_BUILDER_PROGRESS, V as Link$1, Va as FORCE_REMOUNT, Vn as CodeIcon, W as PopoverProvider, Wa as SET_CURRENT_STORY, Wn as CopyIcon, X as StatelessTabList, Xt as ArrowLeftIcon, Y as StatelessTab, Ya as init_core_events, Z as StatelessTabPanel, _a as TrashIcon, _o as useLayoutEffect, _r as FolderIcon, _t as useTheme, a as init_types$1, an as ArrowsLeftRightIcon, b as ProviderDoesNotExtendBaseProviderError, bo as useRef, br as GearIcon, bt as addons, cn as ArrowsOutSimpleIcon, co as init__storybook_global_react, ct as useCopyButton, do as useCallback, dr as FileTextIcon, dt as color, ea as SquareSplitVerticalIcon, eo as Fragment, et as TabPanel, f as init_create, fo as useContext, ft as cssVarsToString, g as Match, gn as BroomIcon, go as useImperativeHandle, gt as themeToCssVars, h as LocationProvider, ho as useId, ht as init_theming, i as REVIEW_STATUS_TYPE_ID, ii as MagnifyingGlassIcon, in as ArrowsInLineVerticalIcon, io as createContext, it as TooltipLinkList, j as Button, jt as shortcutToHumanString, k as ActionList, ka as WarningIcon, kt as merge, lt as useTabsState, m as Location, mn as BookmarkSimpleIcon, mo as useEffect, mr as FlaskIcon, mt as globalCss, n as CHANGE_DETECTION_STATUS_TYPE_ID, nr as DotsThreeIcon, nt as ToggleButton, oi as MagnifyingGlassPlusIcon, ot as Zoom$1, p as Link, pt as ensure, q as Separator, qa as STORIES_EXPAND_ALL, ri as MagicWandIcon, rn as ArrowsClockwiseIcon, sn as ArrowsOutLineVerticalIcon, so as forwardRef, st as init_components, t as Addon_TypesEnum, ta as SquaresFourIcon, ti as LockIcon, to as _storybook_global_react_default, uo as memo, ut as ThemeProvider, v as init_router, vo as useMemo, vr as FunnelSimpleIcon, vt as Consumer, wn as CaretUpIcon, wt as experimental_useTestProviderStore, x as init_manager_errors$1, xn as CaretDownIcon, xo as useState, y as useNavigate, yo as useReducer, yt as Provider, z as Form, zi as ShareNetworkIcon, zn as ClockIcon, zr as IconContext, zt as useStorybookState } from "./runtime-B-eSQdxk.js";
3
- import { S as scope, x as init_dist } from "./runtime-DGHNKNQl.js";
4
- import { A as useCopyButton$1, C as iframeResizeDimensionsEqual, D as REVIEW_NAMESPACE, E as REVIEW_EVENTS, M as init_routes, N as isReviewCollectionStoryRoute, O as init_events, P as isReviewSummaryPath, S as hasFixedViewportDimensions, T as parseIframeResizeMessage, _ as init_tags$1, a as UNIVERSAL_STATUS_STORE_OPTIONS, c as init_status_store, d as StorybookError, f as init_storybook_error, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, i as init_universal_store, j as REVIEW_COLLECTION_QUERY_PARAM, k as init_useCopyButton, l as statusValueDescription, m as init_story_index_filters, n as useUniversalStore, o as countStatusesByValue, p as getActiveFilterCount, r as UniversalStore, s as createStatusStore, t as init_use_universal_store_manager, u as statusValueShortName, v as init_useViewport, w as init_iframe_resize, x as IFRAME_RESIZE_REQUEST_CONTEXT, y as useViewport } from "./runtime-Bldwclun.js";
5
- import { a as getTabbables, i as init_TooltipNote, n as init_TooltipProvider, o as init_trapTabKey, r as TooltipNote, s as trapTabKey, t as TooltipProvider } from "./runtime-DFhLVh8q.js";
6
- import { d as useTransitionState, f as W, m as q, p as init_index_module, s as require_memoizerific, t as require_store2, u as init_useTransitionState } from "./runtime-DrjpEyLM.js";
7
- import { a as throttle, c as clsx, i as init_throttle, l as init_clsx, n as Downshift, o as debounce, r as init_downshift_esm, t as require_fuse } from "./runtime-a5zd7km2.js";
8
- import { n as init_core_events$1, t as STORY_PREPARED } from "./runtime-DMig8mT7.js";
9
- import { C as getStateType, D as scrollIntoView, E as isStoryHoistable, O as searchItem, S as getLink, T as isAncestor, _ 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$1, i as Provider$1, 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 init_tree, x as getDescendantIds, y as cycle } from "./runtime-Cdz2BHhM.js";
1
+ import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
2
+ import { $ as ScrollArea, $n as STORIES_EXPAND_ALL, $t as ArrowsLeftRightIcon, A as init_client, An as LockIcon, At as experimental_getStatusStore, B as Card, Bn as WarningIcon, Bt as types, C as Match, Cn as GithubLogoIcon, Cr as useLayoutEffect, Ct as init_theming, D as ProviderDoesNotExtendBaseProviderError, Dn as InfoIcon, Dr as useState, Dt as Provider, E as useNavigate, En as IconContext, Er as useRef, Et as Consumer, F as once, Fn as ShareNetworkIcon, Ft as internal_fullStatusStore, G as ForkbookIcon, Gt as useServiceQuery, H as DocumentWrapper, Hn as XIcon, I as AbstractToolbar, In as SidebarSimpleIcon, It as internal_fullTestProviderStore, J as IconButton, Jn as PRELOAD_ENTRIES, Jt as ArrowCounterClockwiseIcon, K as ForkbookLogo, Kn as DOCS_PAGE_IN_VIEW, Kt as useStorybookApi, L as ActionList, Ln as SquareSplitVerticalIcon, Lt as merge, Mn as MagnifyingGlassIcon, Mt as experimental_useTestProviderStore, N as init_client_logger, Nn as MagnifyingGlassPlusIcon, Nt as getService, O as init_manager_errors$1, On as LightningIcon, Ot as addons, P as logger, Pn as PlayCircleIcon, Pt as init_manager_api, Q as PopoverProvider, Qn as STORIES_COLLAPSE_ALL, Qt as ArrowsInLineVerticalIcon, R as Badge, Rn as SquaresFourIcon, S as LocationProvider, Sn as GearIcon, Sr as useImperativeHandle, St as globalCss, T as init_router, Tr as useReducer, Tt as useTheme, U as EmptyTabContent, Un as init_react, V as Collapsible, Vn as XCircleIcon, Vt as useChannel, W as ErrorFormatter, X as Loader$1, Xn as SET_CURRENT_STORY, Xt as ArrowSquareOutIcon, Y as Link$1, Yn as PREVIEW_BUILDER_PROGRESS, Yt as ArrowLeftIcon, Z as Modal, Zn as SHARE_ISOLATE_MODE, Zt as ArrowsClockwiseIcon, _ as init_trapTabKey, _r as useCallback, _t as useTabsState, a as init_types$1, an as CaretLeftIcon, ar as Component, at as StatelessTabPanel, b as Link, bn as FolderIcon, br as useEffect, bt as cssVarsToString, cn as CheckIcon, ct as TabPanel, dn as ClockIcon, en as ArrowsOutLineVerticalIcon, er as core_events_default, et as Select, fn as CodeIcon, ft as TooltipLinkList, g as getTabbables, gr as memo, gt as useCopyButton, h as init_TooltipNote, hn as DotsThreeIcon, ht as init_components, i as REVIEW_STATUS_TYPE_ID, in as CaretDownIcon, it as StatelessTabList, jn as MagicWandIcon, jt as experimental_useStatusStore, k as createRoot, kn as ListIcon, ln as ChecksIcon, m as TooltipNote, mn as CopyIcon, mr as init__storybook_global_react, mt as Zoom$1, n as CHANGE_DETECTION_STATUS_TYPE_ID, nn as BookmarkSimpleIcon, nt as Spaced, o as TooltipProvider, on as CaretRightIcon, or as Fragment, ot as StatelessTabsView, pn as CommandIcon, pr as forwardRef, q as Form, qn as FORCE_REMOUNT, qt as useStorybookState, rn as BroomIcon, rt as StatelessTab, s as init_TooltipProvider, sn as CaretUpIcon, sr as _storybook_global_react_default, st as TabList, t as Addon_TypesEnum, tn as ArrowsOutSimpleIcon, tr as init_core_events, tt as Separator, ur as createContext, ut as ToggleButton, v as trapTabKey, vn as FileTextIcon, vr as useContext, vt as ThemeProvider, wn as GlobeIcon, wr as useMemo, wt as themeToCssVars, x as Location, xn as FunnelSimpleIcon, xr as useId, xt as ensure, y as init_create, yn as FlaskIcon, yt as color, z as Button, zn as TrashIcon, zt as shortcutToHumanString } from "./runtime-BM30BmeT.js";
3
+ import { A as REVIEW_COLLECTION_QUERY_PARAM, C as REVIEW_EVENTS, M as isReviewCollectionStoryRoute, N as isReviewSummaryPath, O as init_useCopyButton, R as global, S as parseIframeResizeMessage, T as init_events, _ as init_tags$1, a as UNIVERSAL_STATUS_STORE_OPTIONS, b as iframeResizeDimensionsEqual, c as init_status_store, d as StorybookError, f as init_storybook_error, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, i as init_universal_store, j as init_routes, k as useCopyButton$1, l as statusValueDescription, m as init_story_index_filters, n as useUniversalStore, o as countStatusesByValue, p as getActiveFilterCount, r as UniversalStore, s as createStatusStore, t as init_use_universal_store_manager, u as statusValueShortName, v as IFRAME_RESIZE_REQUEST_CONTEXT, w as REVIEW_NAMESPACE, x as init_iframe_resize, y as hasFixedViewportDimensions, z as init_global } from "./runtime-DvrwKw7z.js";
4
+ import { c as init_useTransitionState, d as init_index_module, f as q, l as useTransitionState, s as require_memoizerific, t as require_store2, u as W } from "./runtime-B4U0u9p4.js";
5
+ import { t as require_fuse } from "./runtime-P663lpsR.js";
6
+ 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-Cf0p9DUx.js";
7
+ import { n as useViewport, t as init_useViewport } from "./runtime-D09XMY6V.js";
8
+ import { n as init_core_events$1, t as STORY_PREPARED } from "./runtime-5o_11Jae.js";
9
+ import { 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$1, i as Provider$1, 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-D-nYLsdk.js";
10
10
  //#region src/manager/components/error-boundary/ManagerErrorBoundary.module.css
11
11
  var id$52, ManagerErrorBoundary_module_default;
12
12
  function init_ManagerErrorBoundary_module() {
@@ -19,15 +19,15 @@ function init_ManagerErrorBoundary_module() {
19
19
  document.head.appendChild(style);
20
20
  }
21
21
  ManagerErrorBoundary_module_default = {
22
- "heading": "fb-gU56mG-heading",
23
- "subHeading": "fb-gU56mG-subHeading",
24
22
  "info": "fb-gU56mG-info",
25
- "container": "fb-gU56mG-container",
26
- "content": "fb-gU56mG-content",
27
- "errorMessage": "fb-gU56mG-errorMessage",
28
23
  "errorWrapper": "fb-gU56mG-errorWrapper",
24
+ "heading": "fb-gU56mG-heading",
25
+ "errorMessage": "fb-gU56mG-errorMessage",
26
+ "collapseToggle": "fb-gU56mG-collapseToggle",
29
27
  "errorStack": "fb-gU56mG-errorStack",
30
- "collapseToggle": "fb-gU56mG-collapseToggle"
28
+ "subHeading": "fb-gU56mG-subHeading",
29
+ "container": "fb-gU56mG-container",
30
+ "content": "fb-gU56mG-content"
31
31
  };
32
32
  })))();
33
33
  }
@@ -94,9 +94,9 @@ var document$6, isPagesViewMode, focusableUIElements;
94
94
  function init_layout() {
95
95
  return (init_layout = __esmMin((() => {
96
96
  init_core_events();
97
- init_dist();
97
+ init_global();
98
98
  init_create();
99
- ({document: document$6} = scope);
99
+ ({document: document$6} = global);
100
100
  isPagesViewMode = (viewMode) => viewMode !== void 0 && viewMode !== "story" && viewMode !== "docs" && viewMode !== "review";
101
101
  focusableUIElements = {
102
102
  addonPanel: "storybook-panel-region",
@@ -186,16 +186,16 @@ function init_NotificationItem_module() {
186
186
  document.head.appendChild(style);
187
187
  }
188
188
  NotificationItem_module_default = {
189
- "iconWrapper": "fb-pzl0Oq-iconWrapper",
190
- "dismissButton": "fb-pzl0Oq-dismissButton",
191
- "spacer": "fb-pzl0Oq-spacer",
192
- "notification": "fb-pzl0Oq-notification",
193
- "textWrapper": "fb-pzl0Oq-textWrapper",
194
- "subHeadline": "fb-pzl0Oq-subHeadline",
195
- "grow": "fb-pzl0Oq-grow",
196
189
  "slideIn": "fb-pzl0Oq-slideIn",
190
+ "textWrapper": "fb-pzl0Oq-textWrapper",
191
+ "notification": "fb-pzl0Oq-notification",
192
+ "headline": "fb-pzl0Oq-headline",
193
+ "dismissButton": "fb-pzl0Oq-dismissButton",
197
194
  "interactive": "fb-pzl0Oq-interactive",
198
- "headline": "fb-pzl0Oq-headline"
195
+ "subHeadline": "fb-pzl0Oq-subHeadline",
196
+ "iconWrapper": "fb-pzl0Oq-iconWrapper",
197
+ "spacer": "fb-pzl0Oq-spacer",
198
+ "grow": "fb-pzl0Oq-grow"
199
199
  };
200
200
  })))();
201
201
  }
@@ -528,13 +528,13 @@ function init_MobileAbout_module() {
528
528
  document.head.appendChild(style);
529
529
  }
530
530
  MobileAbout_module_default = {
531
- "container": "fb-MH3dKG-container",
532
- "slideToRight": "fb-MH3dKG-slideToRight",
531
+ "linkList": "fb-MH3dKG-linkList",
533
532
  "bottomText": "fb-MH3dKG-bottomText",
534
533
  "closeButton": "fb-MH3dKG-closeButton",
535
- "innerArea": "fb-MH3dKG-innerArea",
536
534
  "slideFromRight": "fb-MH3dKG-slideFromRight",
537
- "linkList": "fb-MH3dKG-linkList"
535
+ "slideToRight": "fb-MH3dKG-slideToRight",
536
+ "container": "fb-MH3dKG-container",
537
+ "innerArea": "fb-MH3dKG-innerArea"
538
538
  };
539
539
  })))();
540
540
  }
@@ -571,8 +571,8 @@ function init_MobileAbout() {
571
571
  style: { animationDuration: `300ms` }
572
572
  }, /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
573
573
  vertical: true,
574
- offset: 3,
575
- scrollbarSize: 6
574
+ offset: 2,
575
+ scrollbarSize: 3
576
576
  }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: MobileAbout_module_default.innerArea }, /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
577
577
  className: MobileAbout_module_default.closeButton,
578
578
  onClick: () => setMobileAboutOpen(false),
@@ -647,9 +647,9 @@ function init_MobileNavigation_module() {
647
647
  document.head.appendChild(style);
648
648
  }
649
649
  MobileNavigation_module_default = {
650
+ "container": "fb-PhMFUG-container",
650
651
  "bottomBar": "fb-PhMFUG-bottomBar",
651
652
  "bottomBarButton": "fb-PhMFUG-bottomBarButton",
652
- "container": "fb-PhMFUG-container",
653
653
  "text": "fb-PhMFUG-text"
654
654
  };
655
655
  })))();
@@ -906,8 +906,8 @@ function init_PanelContainer_module() {
906
906
  document.head.appendChild(style);
907
907
  }
908
908
  PanelContainer_module_default = {
909
- "container": "fb-FYvnTq-container",
910
- "slot": "fb-FYvnTq-slot"
909
+ "slot": "fb-FYvnTq-slot",
910
+ "container": "fb-FYvnTq-container"
911
911
  };
912
912
  })))();
913
913
  }
@@ -953,8 +953,8 @@ function init_SidebarContainer_module() {
953
953
  document.head.appendChild(style);
954
954
  }
955
955
  SidebarContainer_module_default = {
956
- "slot": "fb-OHv1hW-slot",
957
- "container": "fb-OHv1hW-container"
956
+ "container": "fb-OHv1hW-container",
957
+ "slot": "fb-OHv1hW-slot"
958
958
  };
959
959
  })))();
960
960
  }
@@ -1265,10 +1265,10 @@ function init_Layout_module() {
1265
1265
  document.head.appendChild(style);
1266
1266
  }
1267
1267
  Layout_module_default = {
1268
- "layout": "fb-Ss6d0q-layout",
1269
1268
  "mobileNavigation": "fb-Ss6d0q-mobileNavigation",
1270
- "dragShield": "fb-Ss6d0q-dragShield",
1271
- "contentOverlayCell": "fb-Ss6d0q-contentOverlayCell"
1269
+ "contentOverlayCell": "fb-Ss6d0q-contentOverlayCell",
1270
+ "layout": "fb-Ss6d0q-layout",
1271
+ "dragShield": "fb-Ss6d0q-dragShield"
1272
1272
  };
1273
1273
  })))();
1274
1274
  }
@@ -1522,12 +1522,12 @@ function init_AttentionBanner_module() {
1522
1522
  document.head.appendChild(style);
1523
1523
  }
1524
1524
  AttentionBanner_module_default = {
1525
- "prompt": "fb-sFw6JG-prompt",
1526
- "bar": "fb-sFw6JG-bar",
1527
- "popoverContent": "fb-sFw6JG-popoverContent",
1528
1525
  "region": "fb-sFw6JG-region",
1529
1526
  "title": "fb-sFw6JG-title",
1530
- "message": "fb-sFw6JG-message"
1527
+ "prompt": "fb-sFw6JG-prompt",
1528
+ "popoverContent": "fb-sFw6JG-popoverContent",
1529
+ "message": "fb-sFw6JG-message",
1530
+ "bar": "fb-sFw6JG-bar"
1531
1531
  };
1532
1532
  })))();
1533
1533
  }
@@ -1873,22 +1873,22 @@ function init_CollectionGrid_module() {
1873
1873
  document.head.appendChild(style);
1874
1874
  }
1875
1875
  CollectionGrid_module_default = {
1876
- "cell": "fb-tDhv6a-cell",
1877
- "gridContainer": "fb-tDhv6a-gridContainer",
1878
- "reviewAllShell": "fb-tDhv6a-reviewAllShell",
1879
- "label": "fb-tDhv6a-label",
1880
- "reviewAllCell": "fb-tDhv6a-reviewAllCell",
1881
1876
  "preview-frame": "fb-tDhv6a-preview-frame",
1882
- "frame": "fb-tDhv6a-frame",
1883
1877
  "reviewAllFrame": "fb-tDhv6a-reviewAllFrame",
1884
- "review-grid": "fb-tDhv6a-review-grid",
1885
1878
  "previewLoading": "fb-tDhv6a-previewLoading",
1886
- "grid": "fb-tDhv6a-grid",
1879
+ "review-grid": "fb-tDhv6a-review-grid",
1887
1880
  "frameShell": "fb-tDhv6a-frameShell",
1881
+ "grid": "fb-tDhv6a-grid",
1882
+ "actionBar": "fb-tDhv6a-actionBar",
1883
+ "labelSeparator": "fb-tDhv6a-labelSeparator",
1884
+ "reviewAllCell": "fb-tDhv6a-reviewAllCell",
1885
+ "label": "fb-tDhv6a-label",
1886
+ "reviewAllShell": "fb-tDhv6a-reviewAllShell",
1888
1887
  "preview": "fb-tDhv6a-preview",
1888
+ "cell": "fb-tDhv6a-cell",
1889
+ "gridContainer": "fb-tDhv6a-gridContainer",
1890
+ "frame": "fb-tDhv6a-frame",
1889
1891
  "labelStory": "fb-tDhv6a-labelStory",
1890
- "labelSeparator": "fb-tDhv6a-labelSeparator",
1891
- "actionBar": "fb-tDhv6a-actionBar",
1892
1892
  "labelComponent": "fb-tDhv6a-labelComponent"
1893
1893
  };
1894
1894
  })))();
@@ -2045,16 +2045,16 @@ function init_ReviewHeader_module() {
2045
2045
  document.head.appendChild(style);
2046
2046
  }
2047
2047
  ReviewHeader_module_default = {
2048
- "textBlock": "fb-hay9xa-textBlock",
2049
- "secondRow": "fb-hay9xa-secondRow",
2050
- "subtitle": "fb-hay9xa-subtitle",
2048
+ "main": "fb-hay9xa-main",
2051
2049
  "actions": "fb-hay9xa-actions",
2052
- "leading": "fb-hay9xa-leading",
2053
- "topRow": "fb-hay9xa-topRow",
2054
- "review-header": "fb-hay9xa-review-header",
2050
+ "textBlock": "fb-hay9xa-textBlock",
2055
2051
  "title": "fb-hay9xa-title",
2056
- "main": "fb-hay9xa-main",
2057
- "root": "fb-hay9xa-root"
2052
+ "review-header": "fb-hay9xa-review-header",
2053
+ "leading": "fb-hay9xa-leading",
2054
+ "subtitle": "fb-hay9xa-subtitle",
2055
+ "secondRow": "fb-hay9xa-secondRow",
2056
+ "root": "fb-hay9xa-root",
2057
+ "topRow": "fb-hay9xa-topRow"
2058
2058
  };
2059
2059
  })))();
2060
2060
  }
@@ -2156,21 +2156,21 @@ function init_SummaryScreen_module() {
2156
2156
  document.head.appendChild(style);
2157
2157
  }
2158
2158
  SummaryScreen_module_default = {
2159
+ "summaryCard": "fb-uES55a-summaryCard",
2160
+ "summaryContent": "fb-uES55a-summaryContent",
2159
2161
  "summaryHeading": "fb-uES55a-summaryHeading",
2160
- "main": "fb-uES55a-main",
2161
2162
  "listScroll": "fb-uES55a-listScroll",
2162
- "page": "fb-uES55a-page",
2163
- "summaryContent": "fb-uES55a-summaryContent",
2164
- "cardTitle": "fb-uES55a-cardTitle",
2165
2163
  "cardControls": "fb-uES55a-cardControls",
2164
+ "cardHead": "fb-uES55a-cardHead",
2165
+ "toggleChevronIcon": "fb-uES55a-toggleChevronIcon",
2166
+ "footer": "fb-uES55a-footer",
2166
2167
  "markdownWrapper": "fb-uES55a-markdownWrapper",
2167
- "cardRationale": "fb-uES55a-cardRationale",
2168
- "summaryCard": "fb-uES55a-summaryCard",
2168
+ "main": "fb-uES55a-main",
2169
+ "cardTitle": "fb-uES55a-cardTitle",
2169
2170
  "cardCount": "fb-uES55a-cardCount",
2171
+ "page": "fb-uES55a-page",
2172
+ "cardRationale": "fb-uES55a-cardRationale",
2170
2173
  "empty": "fb-uES55a-empty",
2171
- "footer": "fb-uES55a-footer",
2172
- "toggleChevronIcon": "fb-uES55a-toggleChevronIcon",
2173
- "cardHead": "fb-uES55a-cardHead",
2174
2174
  "emptyMessage": "fb-uES55a-emptyMessage"
2175
2175
  };
2176
2176
  })))();
@@ -3072,8 +3072,8 @@ function init_Panel_module() {
3072
3072
  document.head.appendChild(style);
3073
3073
  }
3074
3074
  Panel_module_default = {
3075
- "aside": "fb-iv9UAW-aside",
3076
- "actions": "fb-iv9UAW-actions"
3075
+ "actions": "fb-iv9UAW-actions",
3076
+ "aside": "fb-iv9UAW-aside"
3077
3077
  };
3078
3078
  })))();
3079
3079
  }
@@ -3308,13 +3308,13 @@ function init_ReviewToolbarHeader_module() {
3308
3308
  document.head.appendChild(style);
3309
3309
  }
3310
3310
  ReviewToolbarHeader_module_default = {
3311
- "progressBar": "fb-raX0Wq-progressBar",
3312
- "root": "fb-raX0Wq-root",
3313
- "headerWrap": "fb-raX0Wq-headerWrap",
3314
3311
  "progressFill": "fb-raX0Wq-progressFill",
3312
+ "progressBar": "fb-raX0Wq-progressBar",
3315
3313
  "subtitleText": "fb-raX0Wq-subtitleText",
3316
- "subtitleStrong": "fb-raX0Wq-subtitleStrong",
3317
- "counter": "fb-raX0Wq-counter"
3314
+ "headerWrap": "fb-raX0Wq-headerWrap",
3315
+ "counter": "fb-raX0Wq-counter",
3316
+ "root": "fb-raX0Wq-root",
3317
+ "subtitleStrong": "fb-raX0Wq-subtitleStrong"
3318
3318
  };
3319
3319
  })))();
3320
3320
  }
@@ -3572,13 +3572,13 @@ function init_Viewport_module() {
3572
3572
  document.head.appendChild(style);
3573
3573
  }
3574
3574
  Viewport_module_default = {
3575
- "viewportDimensions": "fb-uE_brW-viewportDimensions",
3576
- "viewportWrapper": "fb-uE_brW-viewportWrapper",
3577
- "sizeInput": "fb-uE_brW-sizeInput",
3578
- "scrollEdge": "fb-uE_brW-scrollEdge",
3579
3575
  "viewportControls": "fb-uE_brW-viewportControls",
3576
+ "scrollEdge": "fb-uE_brW-scrollEdge",
3577
+ "viewportDimensions": "fb-uE_brW-viewportDimensions",
3580
3578
  "frameWrapper": "fb-uE_brW-frameWrapper",
3581
- "dragHandle": "fb-uE_brW-dragHandle"
3579
+ "viewportWrapper": "fb-uE_brW-viewportWrapper",
3580
+ "dragHandle": "fb-uE_brW-dragHandle",
3581
+ "sizeInput": "fb-uE_brW-sizeInput"
3582
3582
  };
3583
3583
  })))();
3584
3584
  }
@@ -3875,9 +3875,9 @@ function init_Toolbar_module() {
3875
3875
  document.head.appendChild(style);
3876
3876
  }
3877
3877
  Toolbar_module_default = {
3878
+ "toolbar": "fb-dGdzzG-toolbar",
3878
3879
  "section": "fb-dGdzzG-section",
3879
- "toolGroup": "fb-dGdzzG-toolGroup",
3880
- "toolbar": "fb-dGdzzG-toolbar"
3880
+ "toolGroup": "fb-dGdzzG-toolGroup"
3881
3881
  };
3882
3882
  })))();
3883
3883
  }
@@ -4054,8 +4054,8 @@ function init_zoom_module() {
4054
4054
  document.head.appendChild(style);
4055
4055
  }
4056
4056
  zoom_module_default = {
4057
- "zoomInput": "fb-Xnk7LG-zoomInput",
4058
- "zoomButton": "fb-Xnk7LG-zoomButton"
4057
+ "zoomButton": "fb-Xnk7LG-zoomButton",
4058
+ "zoomInput": "fb-Xnk7LG-zoomInput"
4059
4059
  };
4060
4060
  })))();
4061
4061
  }
@@ -4272,10 +4272,10 @@ function init_Preview_module() {
4272
4272
  document.head.appendChild(style);
4273
4273
  }
4274
4274
  Preview_module_default = {
4275
- "loaderWrapper": "fb-nbxdwG-loaderWrapper",
4275
+ "canvasWrap": "fb-nbxdwG-canvasWrap",
4276
4276
  "previewContainer": "fb-nbxdwG-previewContainer",
4277
- "frameWrap": "fb-nbxdwG-frameWrap",
4278
- "canvasWrap": "fb-nbxdwG-canvasWrap"
4277
+ "loaderWrapper": "fb-nbxdwG-loaderWrapper",
4278
+ "frameWrap": "fb-nbxdwG-frameWrap"
4279
4279
  };
4280
4280
  })))();
4281
4281
  }
@@ -4287,7 +4287,7 @@ function init_Preview() {
4287
4287
  init__storybook_global_react();
4288
4288
  init_components();
4289
4289
  init_core_events();
4290
- init_dist();
4290
+ init_global();
4291
4291
  init_index_module();
4292
4292
  init_manager_api();
4293
4293
  init_useLandmark();
@@ -4336,6 +4336,17 @@ function init_Preview() {
4336
4336
  storyId,
4337
4337
  api
4338
4338
  ]);
4339
+ useEffect(() => {
4340
+ const onDocsPageInView = ({ storyId: id }) => {
4341
+ if (viewMode !== "docs") return;
4342
+ previousStoryId.current = id;
4343
+ const params = new URLSearchParams(global.window.location.search);
4344
+ params.set("path", `/docs/${id}`);
4345
+ api.navigateUrl(`?${params.toString().replaceAll("%2F", "/")}`, { replace: true });
4346
+ };
4347
+ api.on(DOCS_PAGE_IN_VIEW, onDocsPageInView);
4348
+ return () => api.off(DOCS_PAGE_IN_VIEW, onDocsPageInView);
4349
+ }, [api, viewMode]);
4339
4350
  const mainRef = useRef(null);
4340
4351
  const { landmarkProps } = useLandmark({
4341
4352
  "aria-labelledby": "main-preview-heading",
@@ -4364,7 +4375,7 @@ function init_Preview() {
4364
4375
  const id = "canvas";
4365
4376
  const [progress, setProgress] = useState(void 0);
4366
4377
  useEffect(() => {
4367
- if (scope.CONFIG_TYPE === "DEVELOPMENT") try {
4378
+ if (global.CONFIG_TYPE === "DEVELOPMENT") try {
4368
4379
  addons.getChannel().on(PREVIEW_BUILDER_PROGRESS, (options) => {
4369
4380
  setProgress(options);
4370
4381
  });
@@ -4498,7 +4509,7 @@ function init_open_in_editor() {
4498
4509
  return (init_open_in_editor = __esmMin((() => {
4499
4510
  init__storybook_global_react();
4500
4511
  init_components();
4501
- init_dist();
4512
+ init_global();
4502
4513
  init_react();
4503
4514
  init_manager_api();
4504
4515
  mapper$2 = ({ state, api }) => {
@@ -4514,7 +4525,7 @@ function init_open_in_editor() {
4514
4525
  title: "open-in-editor",
4515
4526
  id: "open-in-editor",
4516
4527
  type: types.TOOL,
4517
- match: ({ viewMode }) => scope.CONFIG_TYPE === "DEVELOPMENT" && (viewMode === "story" || viewMode === "docs"),
4528
+ match: ({ viewMode }) => global.CONFIG_TYPE === "DEVELOPMENT" && (viewMode === "story" || viewMode === "docs"),
4518
4529
  render: () => /* @__PURE__ */ _storybook_global_react_default.createElement(Consumer, { filter: mapper$2 }, ({ importPath, isCompositionStory }) => {
4519
4530
  const api = useStorybookApi();
4520
4531
  if (isCompositionStory || !importPath) return null;
@@ -4757,9 +4768,9 @@ function init_Loader_module() {
4757
4768
  document.head.appendChild(style);
4758
4769
  }
4759
4770
  Loader_module_default = {
4760
- "contained": "fb-YVvpGW-contained",
4771
+ "glow": "fb-YVvpGW-glow",
4761
4772
  "loadingItem": "fb-YVvpGW-loadingItem",
4762
- "glow": "fb-YVvpGW-glow"
4773
+ "contained": "fb-YVvpGW-contained"
4763
4774
  };
4764
4775
  })))();
4765
4776
  }
@@ -4845,11 +4856,11 @@ function init_RefBlocks_module() {
4845
4856
  document.head.appendChild(style);
4846
4857
  }
4847
4858
  RefBlocks_module_default = {
4848
- "flexSpaced": "fb--hrd7a-flexSpaced",
4849
- "wideSpaced": "fb--hrd7a-wideSpaced",
4850
4859
  "text": "fb--hrd7a-text",
4860
+ "flexSpaced": "fb--hrd7a-flexSpaced",
4851
4861
  "errorDisplay": "fb--hrd7a-errorDisplay",
4852
- "textStyle": "fb--hrd7a-textStyle"
4862
+ "textStyle": "fb--hrd7a-textStyle",
4863
+ "wideSpaced": "fb--hrd7a-wideSpaced"
4853
4864
  };
4854
4865
  })))();
4855
4866
  }
@@ -4861,14 +4872,14 @@ function init_RefBlocks() {
4861
4872
  init__storybook_global_react();
4862
4873
  init_client_logger();
4863
4874
  init_components();
4864
- init_dist();
4875
+ init_global();
4865
4876
  init_react();
4866
4877
  init_manager_api();
4867
4878
  init_LayoutProvider();
4868
4879
  init_Loader();
4869
4880
  init_NoResults();
4870
4881
  init_RefBlocks_module();
4871
- ({window: globalWindow$2} = scope);
4882
+ ({window: globalWindow$2} = global);
4872
4883
  Text = ({ children }) => /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: RefBlocks_module_default.text }, children);
4873
4884
  AuthBlock = ({ loginUrl, id }) => {
4874
4885
  const [isAuthAttempted, setAuthAttempted] = useState(false);
@@ -4956,11 +4967,11 @@ function init_RefIndicator_module() {
4956
4967
  }
4957
4968
  RefIndicator_module_default = {
4958
4969
  "indicatorPlacement": "fb-ceroQa-indicatorPlacement",
4959
- "subtleSelect": "fb-ceroQa-subtleSelect",
4960
- "message": "fb-ceroQa-message",
4961
4970
  "messageTitle": "fb-ceroQa-messageTitle",
4971
+ "indicatorClickTarget": "fb-ceroQa-indicatorClickTarget",
4972
+ "message": "fb-ceroQa-message",
4962
4973
  "messageWrapper": "fb-ceroQa-messageWrapper",
4963
- "indicatorClickTarget": "fb-ceroQa-indicatorClickTarget"
4974
+ "subtleSelect": "fb-ceroQa-subtleSelect"
4964
4975
  };
4965
4976
  })))();
4966
4977
  }
@@ -4971,14 +4982,14 @@ function init_RefIndicator() {
4971
4982
  return (init_RefIndicator = __esmMin((() => {
4972
4983
  init__storybook_global_react();
4973
4984
  init_components();
4974
- init_dist();
4985
+ init_global();
4975
4986
  init_react();
4976
4987
  init_clsx();
4977
4988
  init_manager_api();
4978
4989
  init_theming();
4979
4990
  init_LayoutProvider();
4980
4991
  init_RefIndicator_module();
4981
- ({document: document$5, window: globalWindow$1} = scope);
4992
+ ({document: document$5, window: globalWindow$1} = global);
4982
4993
  MessageTitle = ({ children }) => /* @__PURE__ */ _storybook_global_react_default.createElement("span", { className: RefIndicator_module_default.messageTitle }, children);
4983
4994
  Message = ({ href, blank = true, children, onClick }) => {
4984
4995
  return /* @__PURE__ */ _storybook_global_react_default.createElement("a", {
@@ -5465,14 +5476,14 @@ function init_TreeNode_module() {
5465
5476
  if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$16}"]`)) {
5466
5477
  const style = document.createElement("style");
5467
5478
  style.setAttribute("data-fb-css", id$16);
5468
- style.textContent = ".fb-EEHcsW-typeIcon{color:currentColor;flex:none;width:14px;height:14px;&[data-type=group]{color:var(--fb-color-ultraviolet)}&[data-type=component],&[data-type=heading]{color:var(--fb-color-secondary)}&[data-type=document]{color:#ff8300}&[data-type=story]{color:var(--fb-color-seafoam)}&[data-type=test]{color:var(--fb-color-green)}}:where([data-fb-theme=dark]) .fb-EEHcsW-typeIcon{&[data-type=group]{color:var(--fb-color-primary)}&[data-type=document]{color:var(--fb-color-gold)}}.fb-EEHcsW-node{cursor:pointer;text-align:left;width:100%;color:inherit;font-size:var(--fb-size-s2);font-weight:inherit;min-height:28px;padding-left:calc(22px + var(--fb-depth,0) * 18px);overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;background:0 0;border:none;border-radius:4px;flex:1;align-items:start;gap:6px;padding-top:5px;padding-bottom:4px;padding-right:6px;text-decoration:none;display:flex;&[data-expandable]{padding-left:calc(8px + var(--fb-depth,0) * 18px)}}.fb-EEHcsW-rootNode{justify-content:space-between;align-items:center;margin-top:16px;margin-bottom:4px;display:flex;&:first-of-type{margin-top:0}}.fb-EEHcsW-wrapper{align-items:center;gap:6px;margin-top:2px;display:flex}";
5479
+ style.textContent = ".fb-EEHcsW-typeIcon{width:14px;height:14px;color:var(--fb-text-muted-color);flex:none;[data-sidebar-tree]:not([data-show-icons]) &{display:none}}.fb-EEHcsW-node{cursor:pointer;text-align:left;width:100%;color:inherit;font-size:var(--fb-size-s2);font-weight:inherit;min-height:28px;padding-left:calc(22px + var(--fb-depth,0) * 18px);overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;background:0 0;border:none;border-radius:4px;flex:1;align-items:start;gap:6px;padding-top:5px;padding-bottom:4px;padding-right:6px;text-decoration:none;display:flex;&[data-expandable]{padding-left:calc(8px + var(--fb-depth,0) * 18px)}}.fb-EEHcsW-rootNode{justify-content:space-between;align-items:center;margin-top:16px;margin-bottom:4px;display:flex;&:first-of-type{margin-top:0}}.fb-EEHcsW-wrapper{align-items:center;gap:6px;margin-top:2px;display:flex}";
5469
5480
  document.head.appendChild(style);
5470
5481
  }
5471
5482
  TreeNode_module_default = {
5472
- "node": "fb-EEHcsW-node",
5473
- "wrapper": "fb-EEHcsW-wrapper",
5474
5483
  "rootNode": "fb-EEHcsW-rootNode",
5475
- "typeIcon": "fb-EEHcsW-typeIcon"
5484
+ "node": "fb-EEHcsW-node",
5485
+ "typeIcon": "fb-EEHcsW-typeIcon",
5486
+ "wrapper": "fb-EEHcsW-wrapper"
5476
5487
  };
5477
5488
  })))();
5478
5489
  }
@@ -5575,25 +5586,26 @@ function init_TreeNode() {
5575
5586
  }
5576
5587
  //#endregion
5577
5588
  //#region src/manager/components/sidebar/useExpanded.ts
5578
- var document$4, initializeExpanded, noop, useExpanded;
5589
+ var document$4, initializeExpanded, noop, expandAllByDefault, useExpanded;
5579
5590
  function init_useExpanded() {
5580
5591
  return (init_useExpanded = __esmMin((() => {
5581
5592
  init__storybook_global_react();
5582
5593
  init_core_events();
5583
- init_dist();
5594
+ init_global();
5584
5595
  init_throttle();
5585
5596
  init_manager_api();
5586
5597
  init_keybinding();
5587
5598
  init_tree();
5588
- ({document: document$4} = scope);
5599
+ ({document: document$4} = global);
5589
5600
  initializeExpanded = ({ refId, data, initialExpanded, highlightedRef, rootIds, selectedStoryId }) => {
5590
5601
  const selectedStory = selectedStoryId && data[selectedStoryId];
5591
- const candidates = [...rootIds];
5602
+ const candidates = expandAllByDefault() ? Object.keys(data) : [...rootIds];
5592
5603
  if (highlightedRef.current?.refId === refId) candidates.push(...getAncestorIds(data, highlightedRef.current?.itemId));
5593
5604
  if (selectedStory && "children" in selectedStory && selectedStory.children?.length) candidates.push(selectedStoryId);
5594
5605
  return candidates.reduce((acc, id) => Object.assign(acc, { [id]: id in initialExpanded ? initialExpanded[id] : true }), {});
5595
5606
  };
5596
5607
  noop = () => {};
5608
+ expandAllByDefault = () => addons.getConfig().sidebar?.expandAll !== false;
5597
5609
  useExpanded = ({ containerRef, isBrowsing, refId, data, initialExpanded, rootIds, highlightedRef, setHighlightedItemId, selectedStoryId, onSelectStoryId }) => {
5598
5610
  const api = useStorybookApi();
5599
5611
  const [expanded, setExpanded] = useReducer((state, { ids, value }) => ids.reduce((acc, id) => Object.assign(acc, { [id]: value }), { ...state }), {
@@ -5737,13 +5749,13 @@ function init_Tree_module() {
5737
5749
  if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$15}"]`)) {
5738
5750
  const style = document.createElement("style");
5739
5751
  style.setAttribute("data-fb-css", id$15);
5740
- style.textContent = ".fb-SdZTUG-collapseButton{font-size:calc(var(--fb-size-s1) - 1px);font-weight:var(--fb-weight-bold);letter-spacing:.16em;text-transform:uppercase;color:var(--fb-text-muted-color);padding:0 8px}.fb-SdZTUG-leafNodeStyleWrapper{color:var(--fb-color-default-text);--tree-node-background-hover:var(--fb-background-content);background:0 0;border-radius:4px;justify-content:space-between;align-items:flex-start;min-height:28px;display:flex;position:relative;overflow:hidden;@media (width>=600px){--tree-node-background-hover:var(--fb-background-app)}&:hover,&:focus{--tree-node-background-hover:var(--fb-background-hoverable);background:var(--tree-node-background-hover);outline:none}& [data-displayed=off]{visibility:hidden}&:hover [data-displayed=off]{visibility:visible}& [data-displayed=on]+*,&:hover [data-displayed=off]+*{visibility:hidden}&[data-selected=true]{--selected-background:var(--fb-color-secondary);color:var(--fb-color-lightest);background:var(--selected-background);font-weight:var(--fb-weight-bold);&:hover,&:focus{background:var(--selected-background)}& svg{color:var(--fb-color-lightest)}}& a{color:currentColor}}:where([data-fb-theme=dark]) .fb-SdZTUG-leafNodeStyleWrapper[data-selected=true]{--selected-background:hsl(from var(--fb-color-secondary) h s calc(l - 18))}.fb-SdZTUG-skipToContentLink{display:none;@media (width>=600px){box-sizing:border-box;opacity:0;width:1px;height:20px;padding:0;font-size:10px;display:block;overflow:hidden;&:focus{opacity:1;color:var(--fb-color-secondary);background:#fff;width:auto;padding:5px 10px}}}.fb-SdZTUG-statusSlots{align-items:center;display:flex}";
5752
+ style.textContent = ".fb-SdZTUG-collapseButton{font-size:calc(var(--fb-size-s1) - 1px);font-weight:var(--fb-weight-bold);letter-spacing:.16em;text-transform:uppercase;color:var(--fb-text-muted-color);padding:0 8px}.fb-SdZTUG-leafNodeStyleWrapper{color:var(--fb-color-default-text);--tree-node-background-hover:var(--fb-background-content);background:0 0;border-radius:4px;justify-content:space-between;align-items:flex-start;min-height:28px;display:flex;position:relative;overflow:hidden;@media (width>=600px){--tree-node-background-hover:var(--fb-background-app)}&:hover,&:focus{--tree-node-background-hover:var(--fb-background-hoverable);background:var(--tree-node-background-hover);outline:none}& [data-displayed=off]{visibility:hidden}&:hover [data-displayed=off]{visibility:visible}& [data-displayed=on]+*,&:hover [data-displayed=off]+*{visibility:hidden}&[data-selected=true]{--selected-background:#78788033;color:var(--fb-color-default-text);background:var(--selected-background);font-weight:var(--fb-weight-bold);&:hover,&:focus{background:var(--selected-background)}}& a{color:currentColor}}:where([data-fb-theme=dark]) .fb-SdZTUG-leafNodeStyleWrapper[data-selected=true]{--selected-background:#7878805c}.fb-SdZTUG-skipToContentLink{display:none;@media (width>=600px){box-sizing:border-box;opacity:0;width:1px;height:20px;padding:0;font-size:10px;display:block;overflow:hidden;&:focus{opacity:1;color:var(--fb-color-secondary);background:#fff;width:auto;padding:5px 10px}}}.fb-SdZTUG-statusSlots{align-items:center;display:flex}";
5741
5753
  document.head.appendChild(style);
5742
5754
  }
5743
5755
  Tree_module_default = {
5744
- "skipToContentLink": "fb-SdZTUG-skipToContentLink",
5745
- "statusSlots": "fb-SdZTUG-statusSlots",
5746
5756
  "leafNodeStyleWrapper": "fb-SdZTUG-leafNodeStyleWrapper",
5757
+ "statusSlots": "fb-SdZTUG-statusSlots",
5758
+ "skipToContentLink": "fb-SdZTUG-skipToContentLink",
5747
5759
  "collapseButton": "fb-SdZTUG-collapseButton"
5748
5760
  };
5749
5761
  })))();
@@ -6065,6 +6077,7 @@ function init_Tree() {
6065
6077
  Tree = _storybook_global_react_default.memo(function Tree({ isBrowsing, refId, data, allStatuses, docsMode, highlightedRef, setHighlightedItemId, selectedStoryId, onSelectStoryId }) {
6066
6078
  const containerRef = useRef(null);
6067
6079
  const api = useStorybookApi();
6080
+ const showIcons = addons.getConfig().sidebar?.showIcons === true;
6068
6081
  const isModifiedFilterActive = (useStorybookState().includedStatusFilters ?? []).includes("status-value:modified");
6069
6082
  const [rootIds, orphanIds, initialExpanded] = useMemo(() => Object.keys(data).reduce((acc, id) => {
6070
6083
  const item = data[id];
@@ -6090,28 +6103,20 @@ function init_Tree() {
6090
6103
  rootIds,
6091
6104
  orphanIds
6092
6105
  ]);
6093
- const singleStoryComponentIds = useMemo(() => {
6094
- return Object.keys(data).filter((id) => {
6095
- const entry = data[id];
6096
- if (entry.type !== "component") return false;
6097
- const { children = [], name } = entry;
6098
- if (children.length !== 1) return false;
6099
- const onlyChild = data[children[0]];
6100
- if (onlyChild.type === "docs") return true;
6101
- if (onlyChild.type === "story" && onlyChild.subtype === "story") return isStoryHoistable(onlyChild.name, name);
6102
- return false;
6103
- });
6104
- }, [data]);
6105
- const collapsedItems = useMemo(() => Object.keys(data).filter((id) => !singleStoryComponentIds.includes(id)), [data, singleStoryComponentIds]);
6106
+ const { hoisted, hiddenIds } = useMemo(() => getHoistedComponents(data), [data]);
6107
+ const collapsedItems = useMemo(() => Object.keys(data).filter((id) => !(id in hoisted) && !hiddenIds.includes(id)), [
6108
+ data,
6109
+ hoisted,
6110
+ hiddenIds
6111
+ ]);
6106
6112
  const collapsedData = useMemo(() => {
6107
- return singleStoryComponentIds.reduce((acc, id) => {
6108
- const { children, parent, name } = data[id];
6109
- const [childId] = children;
6113
+ return Object.entries(hoisted).reduce((acc, [id, childId]) => {
6114
+ const { parent, name } = data[id];
6110
6115
  if (parent) {
6111
- const siblings = [...data[parent].children];
6116
+ const siblings = [...acc[parent].children];
6112
6117
  siblings[siblings.indexOf(id)] = childId;
6113
6118
  acc[parent] = {
6114
- ...data[parent],
6119
+ ...acc[parent],
6115
6120
  children: siblings
6116
6121
  };
6117
6122
  }
@@ -6123,7 +6128,7 @@ function init_Tree() {
6123
6128
  };
6124
6129
  return acc;
6125
6130
  }, { ...data });
6126
- }, [data, singleStoryComponentIds]);
6131
+ }, [data, hoisted]);
6127
6132
  const ancestry = useMemo(() => {
6128
6133
  return collapsedItems.reduce((acc, id) => Object.assign(acc, { [id]: getAncestorIds(collapsedData, id) }), {});
6129
6134
  }, [collapsedItems, collapsedData]);
@@ -6206,7 +6211,11 @@ function init_Tree() {
6206
6211
  data,
6207
6212
  allStatuses,
6208
6213
  groupStatus
6209
- } }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { ref: containerRef }, treeItems));
6214
+ } }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
6215
+ ref: containerRef,
6216
+ "data-sidebar-tree": true,
6217
+ "data-show-icons": showIcons || void 0
6218
+ }, treeItems));
6210
6219
  });
6211
6220
  })))();
6212
6221
  }
@@ -6225,8 +6234,8 @@ function init_Refs_module() {
6225
6234
  Refs_module_default = {
6226
6235
  "wrapper": "fb-XA7PFq-wrapper",
6227
6236
  "refTitle": "fb-XA7PFq-refTitle",
6228
- "collapseButton": "fb-XA7PFq-collapseButton",
6229
- "refHead": "fb-XA7PFq-refHead"
6237
+ "refHead": "fb-XA7PFq-refHead",
6238
+ "collapseButton": "fb-XA7PFq-collapseButton"
6230
6239
  };
6231
6240
  })))();
6232
6241
  }
@@ -6320,11 +6329,11 @@ function init_useHighlighted() {
6320
6329
  return (init_useHighlighted = __esmMin((() => {
6321
6330
  init__storybook_global_react();
6322
6331
  init_core_events();
6323
- init_dist();
6332
+ init_global();
6324
6333
  init_manager_api();
6325
6334
  init_keybinding();
6326
6335
  init_tree();
6327
- ({document: document$3, window: globalWindow} = scope);
6336
+ ({document: document$3, window: globalWindow} = global);
6328
6337
  fromSelection = (selection) => selection ? {
6329
6338
  itemId: selection.storyId,
6330
6339
  refId: selection.refId
@@ -6475,8 +6484,8 @@ function init_FilterPanelLink_module() {
6475
6484
  document.head.appendChild(style);
6476
6485
  }
6477
6486
  FilterPanelLink_module_default = {
6478
- "statusIcon": "fb-eYJvqG-statusIcon",
6479
- "mutedText": "fb-eYJvqG-mutedText"
6487
+ "mutedText": "fb-eYJvqG-mutedText",
6488
+ "statusIcon": "fb-eYJvqG-statusIcon"
6480
6489
  };
6481
6490
  })))();
6482
6491
  }
@@ -6581,7 +6590,7 @@ function init_FilterPanel_utils() {
6581
6590
  //#endregion
6582
6591
  //#region src/manager/components/sidebar/useFilterData.tsx
6583
6592
  function useTagFilterEntries(indexJson) {
6584
- const tagOptions = scope.TAGS_OPTIONS;
6593
+ const tagOptions = global.TAGS_OPTIONS;
6585
6594
  return useMemo(() => {
6586
6595
  const entries = Object.values(indexJson.entries);
6587
6596
  const userTagsCounts = entries.reduce((acc, entry) => {
@@ -6625,7 +6634,7 @@ var BUILT_IN_FILTER_DEFS;
6625
6634
  function init_useFilterData() {
6626
6635
  return (init_useFilterData = __esmMin((() => {
6627
6636
  init__storybook_global_react();
6628
- init_dist();
6637
+ init_global();
6629
6638
  init_react();
6630
6639
  init_theming();
6631
6640
  init_FilterPanel_utils();
@@ -6797,7 +6806,7 @@ function init_Filter_module() {
6797
6806
  if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$11}"]`)) {
6798
6807
  const style = document.createElement("style");
6799
6808
  style.setAttribute("data-fb-css", id$11);
6800
- style.textContent = ".fb-AAfxGW-filterButton{&:focus-visible{outline-offset:4px}&:where([data-highlighted]){background:var(--fb-background-hoverable);color:var(--fb-color-secondary)}}.fb-AAfxGW-tagSelected{min-width:6px;height:6px;box-shadow:var(--fb-bar-selected-color) 0 0 0 1px inset;background:var(--fb-bar-selected-color);color:var(--fb-color-inverse-text);border-radius:20px;justify-content:center;align-items:center;padding:3px;display:flex;position:absolute;top:7px;right:7px;transform:translate(50%,-50%)}";
6809
+ style.textContent = ".fb-AAfxGW-filterButton{&:focus-visible{outline-offset:4px}&:where([data-highlighted]){background:var(--fb-background-hoverable)}}.fb-AAfxGW-tagSelected{min-width:6px;height:6px;box-shadow:var(--fb-bar-selected-color) 0 0 0 1px inset;background:var(--fb-bar-selected-color);color:var(--fb-color-inverse-text);border-radius:20px;justify-content:center;align-items:center;padding:3px;display:flex;position:absolute;top:7px;right:7px;transform:translate(50%,-50%)}";
6801
6810
  document.head.appendChild(style);
6802
6811
  }
6803
6812
  Filter_module_default = {
@@ -6890,8 +6899,8 @@ function init_Brand_module() {
6890
6899
  document.head.appendChild(style);
6891
6900
  }
6892
6901
  Brand_module_default = {
6893
- "logo": "fb-UuNJxG-logo",
6894
6902
  "logoLink": "fb-UuNJxG-logoLink",
6903
+ "logo": "fb-UuNJxG-logo",
6895
6904
  "img": "fb-UuNJxG-img"
6896
6905
  };
6897
6906
  })))();
@@ -6949,9 +6958,9 @@ function init_Menu_module() {
6949
6958
  document.head.appendChild(style);
6950
6959
  }
6951
6960
  Menu_module_default = {
6952
- "sidebarButton": "fb-_YecvW-sidebarButton",
6953
6961
  "container": "fb-_YecvW-container",
6954
- "menuButtonGroup": "fb-_YecvW-menuButtonGroup"
6962
+ "menuButtonGroup": "fb-_YecvW-menuButtonGroup",
6963
+ "sidebarButton": "fb-_YecvW-sidebarButton"
6955
6964
  };
6956
6965
  })))();
6957
6966
  }
@@ -7078,8 +7087,8 @@ function init_Heading_module() {
7078
7087
  }
7079
7088
  Heading_module_default = {
7080
7089
  "headingWrapper": "fb-jeTwbq-headingWrapper",
7081
- "skipToCanvasLink": "fb-jeTwbq-skipToCanvasLink",
7082
- "brandArea": "fb-jeTwbq-brandArea"
7090
+ "brandArea": "fb-jeTwbq-brandArea",
7091
+ "skipToCanvasLink": "fb-jeTwbq-skipToCanvasLink"
7083
7092
  };
7084
7093
  })))();
7085
7094
  }
@@ -7126,12 +7135,12 @@ function init_ReviewWidget_module() {
7126
7135
  document.head.appendChild(style);
7127
7136
  }
7128
7137
  ReviewWidget_module_default = {
7129
- "dismissIcon": "fb-eFT8aG-dismissIcon",
7130
7138
  "agenticIcon": "fb-eFT8aG-agenticIcon",
7131
- "headerContent": "fb-eFT8aG-headerContent",
7132
7139
  "headerTitle": "fb-eFT8aG-headerTitle",
7133
- "region": "fb-eFT8aG-region",
7134
- "dismissButton": "fb-eFT8aG-dismissButton"
7140
+ "dismissButton": "fb-eFT8aG-dismissButton",
7141
+ "headerContent": "fb-eFT8aG-headerContent",
7142
+ "dismissIcon": "fb-eFT8aG-dismissIcon",
7143
+ "region": "fb-eFT8aG-region"
7135
7144
  };
7136
7145
  })))();
7137
7146
  }
@@ -7227,14 +7236,14 @@ function init_Search_module() {
7227
7236
  }
7228
7237
  Search_module_default = {
7229
7238
  "screenReaderLabel": "fb-O-Z7Pq-screenReaderLabel",
7230
- "focusKeyCmd": "fb-O-Z7Pq-focusKeyCmd",
7231
- "searchField": "fb-O-Z7Pq-searchField",
7232
- "focusKey": "fb-O-Z7Pq-focusKey",
7233
- "searchBar": "fb-O-Z7Pq-searchBar",
7234
7239
  "input": "fb-O-Z7Pq-input",
7235
- "actions": "fb-O-Z7Pq-actions",
7240
+ "focusContainer": "fb-O-Z7Pq-focusContainer",
7241
+ "searchBar": "fb-O-Z7Pq-searchBar",
7236
7242
  "iconWrapper": "fb-O-Z7Pq-iconWrapper",
7237
- "focusContainer": "fb-O-Z7Pq-focusContainer"
7243
+ "actions": "fb-O-Z7Pq-actions",
7244
+ "searchField": "fb-O-Z7Pq-searchField",
7245
+ "focusKeyCmd": "fb-O-Z7Pq-focusKeyCmd",
7246
+ "focusKey": "fb-O-Z7Pq-focusKey"
7238
7247
  };
7239
7248
  })))();
7240
7249
  }
@@ -7246,7 +7255,7 @@ function init_Search() {
7246
7255
  init__storybook_global_react();
7247
7256
  init_components();
7248
7257
  init_types$1();
7249
- init_dist();
7258
+ init_global();
7250
7259
  init_react();
7251
7260
  init_downshift_esm();
7252
7261
  import_fuse = /* @__PURE__ */ __toESM(require_fuse(), 1);
@@ -7257,7 +7266,7 @@ function init_Search() {
7257
7266
  init_LayoutProvider();
7258
7267
  init_Sidebar();
7259
7268
  init_Search_module();
7260
- ({document: document$2} = scope);
7269
+ ({document: document$2} = global);
7261
7270
  DEFAULT_MAX_SEARCH_RESULTS = 50;
7262
7271
  options = {
7263
7272
  shouldSort: true,
@@ -7528,18 +7537,18 @@ function init_SearchResults_module() {
7528
7537
  if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$5}"]`)) {
7529
7538
  const style = document.createElement("style");
7530
7539
  style.setAttribute("data-fb-css", id$5);
7531
- style.textContent = ".fb-ipkuoW-resultsList{margin:0;padding:0;list-style:none}.fb-ipkuoW-resultRow{cursor:pointer;text-align:left;width:100%;color:inherit;font-size:var(--fb-size-s2);background:0 0;border:none;border-radius:4px;justify-content:space-between;align-items:start;gap:6px;min-height:28px;padding:7px 8px;display:flex;&[data-highlighted]{background:var(--fb-background-hoverable)}&:hover,&:focus{background:rgb(from var(--fb-color-secondary) r g b / calc(alpha - .93));outline:none}}.fb-ipkuoW-iconWrapper{margin-top:2px}.fb-ipkuoW-resultRowContent{flex-direction:column;flex:1;display:flex}.fb-ipkuoW-mark{color:var(--fb-color-secondary);background:0 0;@media (forced-colors:active){color:highlighttext;background:highlight}}.fb-ipkuoW-moreWrapper{margin-top:8px}.fb-ipkuoW-recentlyOpenedTitle{font-size:calc(var(--fb-size-s1) - 1px);font-weight:var(--fb-weight-bold);letter-spacing:.16em;text-transform:uppercase;min-height:28px;color:var(--fb-text-muted-color);justify-content:space-between;align-items:center;margin-bottom:4px;display:flex;& .search-result-recentlyOpened-clear{visibility:hidden}&:hover .search-result-recentlyOpened-clear{visibility:visible}}.fb-ipkuoW-title,.fb-ipkuoW-path{grid-auto-columns:auto;grid-auto-flow:column;justify-content:start;display:grid;&>span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}}.fb-ipkuoW-path{font-size:calc(var(--fb-size-s1) - 1px);&>span+span:before{content:\" / \";white-space:pre}}";
7540
+ style.textContent = ".fb-ipkuoW-resultsList{margin:0;padding:0;list-style:none}.fb-ipkuoW-resultRow{cursor:pointer;text-align:left;width:100%;color:inherit;font-size:var(--fb-size-s2);background:0 0;border:none;border-radius:4px;justify-content:space-between;align-items:start;gap:6px;min-height:28px;padding:7px 8px;display:flex;&[data-highlighted]{background:var(--fb-background-hoverable)}&:hover,&:focus{background:var(--fb-background-hoverable);outline:none}}.fb-ipkuoW-iconWrapper{margin-top:2px}.fb-ipkuoW-resultRowContent{flex-direction:column;flex:1;display:flex}.fb-ipkuoW-mark{color:var(--fb-color-default-text);font-weight:var(--fb-weight-bold);background:0 0;@media (forced-colors:active){color:highlighttext;background:highlight}}.fb-ipkuoW-moreWrapper{margin-top:8px}.fb-ipkuoW-recentlyOpenedTitle{font-size:calc(var(--fb-size-s1) - 1px);font-weight:var(--fb-weight-bold);letter-spacing:.16em;text-transform:uppercase;min-height:28px;color:var(--fb-text-muted-color);justify-content:space-between;align-items:center;margin-bottom:4px;display:flex;& .search-result-recentlyOpened-clear{visibility:hidden}&:hover .search-result-recentlyOpened-clear{visibility:visible}}.fb-ipkuoW-title,.fb-ipkuoW-path{grid-auto-columns:auto;grid-auto-flow:column;justify-content:start;display:grid;&>span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}}.fb-ipkuoW-path{font-size:calc(var(--fb-size-s1) - 1px);&>span+span:before{content:\" / \";white-space:pre}}";
7532
7541
  document.head.appendChild(style);
7533
7542
  }
7534
7543
  SearchResults_module_default = {
7535
- "resultRowContent": "fb-ipkuoW-resultRowContent",
7536
7544
  "mark": "fb-ipkuoW-mark",
7537
7545
  "resultsList": "fb-ipkuoW-resultsList",
7538
- "title": "fb-ipkuoW-title",
7539
- "path": "fb-ipkuoW-path",
7540
- "recentlyOpenedTitle": "fb-ipkuoW-recentlyOpenedTitle",
7541
7546
  "iconWrapper": "fb-ipkuoW-iconWrapper",
7547
+ "recentlyOpenedTitle": "fb-ipkuoW-recentlyOpenedTitle",
7542
7548
  "moreWrapper": "fb-ipkuoW-moreWrapper",
7549
+ "title": "fb-ipkuoW-title",
7550
+ "path": "fb-ipkuoW-path",
7551
+ "resultRowContent": "fb-ipkuoW-resultRowContent",
7543
7552
  "resultRow": "fb-ipkuoW-resultRow"
7544
7553
  };
7545
7554
  })))();
@@ -7552,7 +7561,7 @@ function init_SearchResults() {
7552
7561
  init__storybook_global_react();
7553
7562
  init_components();
7554
7563
  init_core_events();
7555
- init_dist();
7564
+ init_global();
7556
7565
  init_react();
7557
7566
  init_clsx();
7558
7567
  init_manager_api();
@@ -7564,7 +7573,7 @@ function init_SearchResults() {
7564
7573
  init_StatusButton();
7565
7574
  init_TreeNode();
7566
7575
  init_SearchResults_module();
7567
- ({document: document$1} = scope);
7576
+ ({document: document$1} = global);
7568
7577
  Highlight = _storybook_global_react_default.memo(function Highlight({ children, match }) {
7569
7578
  if (!match) return children;
7570
7579
  const { value, indices } = match;
@@ -7789,8 +7798,8 @@ function init_ShowChangesButton_module() {
7789
7798
  document.head.appendChild(style);
7790
7799
  }
7791
7800
  ShowChangesButton_module_default = {
7792
- "cta": "fb-qMJFKG-cta",
7793
7801
  "wrapper": "fb-qMJFKG-wrapper",
7802
+ "cta": "fb-qMJFKG-cta",
7794
7803
  "icon": "fb-qMJFKG-icon"
7795
7804
  };
7796
7805
  })))();
@@ -7920,8 +7929,8 @@ function init_Optional_module() {
7920
7929
  document.head.appendChild(style);
7921
7930
  }
7922
7931
  Optional_module_default = {
7923
- "wrapper": "fb-PbES_q-wrapper",
7924
- "content": "fb-PbES_q-content"
7932
+ "content": "fb-PbES_q-content",
7933
+ "wrapper": "fb-PbES_q-wrapper"
7925
7934
  };
7926
7935
  })))();
7927
7936
  }
@@ -8030,15 +8039,15 @@ function init_TestingWidget_module() {
8030
8039
  document.head.appendChild(style);
8031
8040
  }
8032
8041
  TestingWidget_module_default = {
8042
+ "hoverCard": "fb-ox_lkW-hoverCard",
8043
+ "testing-module-collapse-toggle": "fb-ox_lkW-testing-module-collapse-toggle",
8044
+ "action": "fb-ox_lkW-action",
8045
+ "bar": "fb-ox_lkW-bar",
8033
8046
  "statusFilter": "fb-ox_lkW-statusFilter",
8047
+ "filters": "fb-ox_lkW-filters",
8048
+ "content": "fb-ox_lkW-content",
8034
8049
  "testProvider": "fb-ox_lkW-testProvider",
8035
8050
  "collapsible": "fb-ox_lkW-collapsible",
8036
- "testing-module-collapse-toggle": "fb-ox_lkW-testing-module-collapse-toggle",
8037
- "content": "fb-ox_lkW-content",
8038
- "hoverCard": "fb-ox_lkW-hoverCard",
8039
- "filters": "fb-ox_lkW-filters",
8040
- "bar": "fb-ox_lkW-bar",
8041
- "action": "fb-ox_lkW-action",
8042
8051
  "collapseToggle": "fb-ox_lkW-collapseToggle"
8043
8052
  };
8044
8053
  })))();
@@ -8425,7 +8434,7 @@ function init_Sidebar() {
8425
8434
  return (init_Sidebar = __esmMin((() => {
8426
8435
  init__storybook_global_react();
8427
8436
  init_components();
8428
- init_dist();
8437
+ init_global();
8429
8438
  init_manager_api();
8430
8439
  init_layout();
8431
8440
  init_useLandmark();
@@ -8467,7 +8476,7 @@ function init_Sidebar() {
8467
8476
  entries: Object.entries(hash)
8468
8477
  }), [hash]);
8469
8478
  };
8470
- Sidebar$1 = _storybook_global_react_default.memo(function Sidebar({ storyId = null, refId = DEFAULT_REF_ID, anchor, index, indexJson, indexError, allStatuses, previewInitialized, menu, menuHighlighted = false, enableShortcuts = true, isDevelopment = scope.CONFIG_TYPE === "DEVELOPMENT", refs = {}, onMenuClick }) {
8479
+ Sidebar$1 = _storybook_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 }) {
8471
8480
  const selected = useMemo(() => storyId ? {
8472
8481
  storyId,
8473
8482
  refId,
@@ -8500,8 +8509,8 @@ function init_Sidebar() {
8500
8509
  className: "fb-sr-only"
8501
8510
  }, "Forkbook"), /* @__PURE__ */ _storybook_global_react_default.createElement(IconSymbols, null), /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
8502
8511
  vertical: true,
8503
- offset: 3,
8504
- scrollbarSize: 6,
8512
+ offset: 2,
8513
+ scrollbarSize: 3,
8505
8514
  scrollPadding: "4rem"
8506
8515
  }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: Sidebar_module_default.stack }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, /* @__PURE__ */ _storybook_global_react_default.createElement(Heading, {
8507
8516
  className: "sidebar-header",
@@ -8866,7 +8875,7 @@ function init_manager() {
8866
8875
  init_client();
8867
8876
  init_manager_errors$1();
8868
8877
  init_router();
8869
- init_dist();
8878
+ init_global();
8870
8879
  init_react();
8871
8880
  init_index_module();
8872
8881
  init_manager_api();
@@ -8886,7 +8895,7 @@ function init_manager() {
8886
8895
  provider,
8887
8896
  ...locationData,
8888
8897
  navigate,
8889
- docsOptions: scope?.DOCS_OPTIONS || {}
8898
+ docsOptions: global?.DOCS_OPTIONS || {}
8890
8899
  }, (combo) => {
8891
8900
  const { state, api } = combo;
8892
8901
  const setManagerLayoutState = useCallback((sizes) => {