@aussieljk/forkbook 0.0.1-1 → 0.0.1-10

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 (455) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +35 -53
  3. package/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
  4. package/assets/browser/favicon-wrapper.svg +4 -4
  5. package/assets/browser/favicon.svg +1 -1
  6. package/assets/browser/inter-LICENSE.txt +92 -0
  7. package/assets/browser/inter-variable-italic.woff2 +0 -0
  8. package/assets/browser/inter-variable.woff2 +0 -0
  9. package/assets/browser/mirror-ball.png +0 -0
  10. package/assets/builder-vite/iframe.html +8 -24
  11. package/assets/create/rendererAssets/common/Configure.mdx +100 -100
  12. package/assets/create/rendererAssets/common/button.css +1 -1
  13. package/assets/create/rendererAssets/common/header.css +1 -1
  14. package/assets/create/rendererAssets/common/page.css +2 -2
  15. package/assets/create/templates/react-native/index.expo.js +4 -4
  16. package/assets/create/templates/react-native/index.js +5 -5
  17. package/assets/server/base-preview-body.html +32 -32
  18. package/assets/server/base-preview-head.html +86 -86
  19. package/assets/server/template.ejs +24 -26
  20. package/dist/_browser-chunks/{Color-OEKZ7XSW.js → Color-X63I7FHI.js} +8 -8
  21. package/dist/_browser-chunks/WithTooltip-5S6F2P7L.js +198 -0
  22. package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
  23. package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
  24. package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
  25. package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
  26. package/dist/_browser-chunks/{chunk-VVWPND3J.js → chunk-5Z65SURM.js} +12 -12
  27. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  28. package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-6ELMKWKX.js} +5 -5
  29. package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
  30. package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
  31. package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
  32. package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
  33. package/dist/_browser-chunks/chunk-DNJ3OSLB.js +6021 -0
  34. package/dist/_browser-chunks/{chunk-PP4R7USA.js → chunk-DS2WQZGO.js} +222 -433
  35. package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
  36. package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-EQKMUQF3.js} +5 -4
  37. package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-FRAOQJDI.js} +5 -3
  38. package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
  39. package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-I4ATZPNZ.js} +1 -1
  40. package/dist/_browser-chunks/chunk-IFADVEQE.js +669 -0
  41. package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
  42. package/dist/_browser-chunks/{chunk-73OX2G56.js → chunk-LTCXWKZO.js} +100 -108
  43. package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
  44. package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
  45. package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
  46. package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
  47. package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-NA4ITZTK.js} +127 -105
  48. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  49. package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
  50. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-NTUHL5NS.js} +8 -3
  51. package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-O24AZJZ7.js} +1 -1
  52. package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
  53. package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
  54. package/dist/_browser-chunks/chunk-PZQRXPVR.js +21 -0
  55. package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-TTBPZQ24.js} +282 -127
  56. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  57. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-V5U45XXZ.js} +1 -1
  58. package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
  59. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-XTQCLWVH.js} +325 -1635
  60. package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-ZHKZKFY4.js} +7 -6
  61. package/dist/_node-chunks/{attached-runtime-O4YTVUKE.js → attached-runtime-PDBJ2EGV.js} +30 -30
  62. package/dist/_node-chunks/builder-manager-VLL26RPG.js +1139 -0
  63. package/dist/_node-chunks/{chunk-GP5YLBNS.js → chunk-3CSGIJKG.js} +8 -8
  64. package/dist/_node-chunks/chunk-3W4KR5GX.js +2609 -0
  65. package/dist/_node-chunks/{chunk-SRXCCL2O.js → chunk-5NRWU7S2.js} +7 -7
  66. package/dist/_node-chunks/{chunk-GSWBRZLU.js → chunk-5SMIGUYF.js} +9 -17
  67. package/dist/_node-chunks/{chunk-JVQYQTTM.js → chunk-63LPGIV4.js} +42 -87
  68. package/dist/_node-chunks/{chunk-5RNOGGO6.js → chunk-6DHTL5G2.js} +6 -6
  69. package/dist/_node-chunks/{chunk-RQVK2TOI.js → chunk-6DRVJCYP.js} +14 -13
  70. package/dist/_node-chunks/chunk-7CV4VEA2.js +620 -0
  71. package/dist/_node-chunks/{chunk-ZMEGPR47.js → chunk-7KD5DKGZ.js} +6 -6
  72. package/dist/_node-chunks/{chunk-4PK3LUHM.js → chunk-7O2UIVID.js} +7 -7
  73. package/dist/_node-chunks/{chunk-GT5EHMNM.js → chunk-7OY4VMAT.js} +7 -7
  74. package/dist/_node-chunks/{chunk-YWMICX2T.js → chunk-AAL6X7YG.js} +12 -12
  75. package/dist/_node-chunks/{chunk-XURIZ7IC.js → chunk-ACSO4HQP.js} +8 -8
  76. package/dist/_node-chunks/{chunk-6EJ5NPEM.js → chunk-BDU3ZUMK.js} +7 -7
  77. package/dist/_node-chunks/chunk-BMJPOQ2S.js +11 -0
  78. package/dist/_node-chunks/chunk-BNEC3EBC.js +28 -0
  79. package/dist/_node-chunks/chunk-BPL3ERBH.js +347 -0
  80. package/dist/_node-chunks/{chunk-VXDWOVWD.js → chunk-BXDMSX3D.js} +29843 -51588
  81. package/dist/_node-chunks/chunk-C3PLG47Q.js +25 -0
  82. package/dist/_node-chunks/{chunk-R5FYRP6X.js → chunk-CEDR5CNM.js} +7 -7
  83. package/dist/_node-chunks/{chunk-7TSL7D5D.js → chunk-CKE4R4NL.js} +6 -6
  84. package/dist/_node-chunks/{chunk-5J3O7EDY.js → chunk-CSFNS7HA.js} +6 -6
  85. package/dist/_node-chunks/{chunk-7LLQDMVS.js → chunk-CZ3V3HHK.js} +6 -6
  86. package/dist/_node-chunks/{chunk-G6PUNHCI.js → chunk-DNV3LPV3.js} +6 -6
  87. package/dist/_node-chunks/{chunk-XCGMRAV5.js → chunk-DPILYJH4.js} +7 -7
  88. package/dist/_node-chunks/{chunk-2BJIHWOK.js → chunk-DQ44ZAEM.js} +6 -6
  89. package/dist/_node-chunks/{chunk-URRTQ2QM.js → chunk-DR7NW2MI.js} +8 -8
  90. package/dist/_node-chunks/{chunk-CDRLLNRQ.js → chunk-DRCP3DQF.js} +11 -11
  91. package/dist/_node-chunks/{chunk-5WHA37KG.js → chunk-EBWZKN2I.js} +39 -39
  92. package/dist/_node-chunks/{chunk-AWXGCPW6.js → chunk-ECOW63CV.js} +6 -6
  93. package/dist/_node-chunks/chunk-ENBDAHOV.js +18 -0
  94. package/dist/_node-chunks/{chunk-SVZ6Q3CS.js → chunk-FAEOR2AW.js} +6 -6
  95. package/dist/_node-chunks/{chunk-MDKFZRYG.js → chunk-FERXOKZY.js} +8 -8
  96. package/dist/_node-chunks/chunk-FJFB7TWU.js +495 -0
  97. package/dist/_node-chunks/{chunk-NKAUZU4C.js → chunk-FQGQ5KHN.js} +6 -6
  98. package/dist/_node-chunks/{chunk-CWD5A6NI.js → chunk-FR2ZDWKJ.js} +7 -7
  99. package/dist/_node-chunks/{chunk-JBCKN6P4.js → chunk-FRBE7ES4.js} +6 -6
  100. package/dist/_node-chunks/chunk-FWAF5NBL.js +20 -0
  101. package/dist/_node-chunks/{chunk-IZISFDKM.js → chunk-FXBZWUW3.js} +54 -42
  102. package/dist/_node-chunks/chunk-FZ453CHY.js +25 -0
  103. package/dist/_node-chunks/{chunk-NZ3GOT7V.js → chunk-G2ZUFOHU.js} +6 -6
  104. package/dist/_node-chunks/{chunk-PEIAGMSR.js → chunk-GBVWRZHP.js} +6 -6
  105. package/dist/_node-chunks/{chunk-3CLITGI2.js → chunk-GGE7TBVX.js} +6 -6
  106. package/dist/_node-chunks/{chunk-QMU5ODXZ.js → chunk-GJSYGBI5.js} +7 -7
  107. package/dist/_node-chunks/{chunk-U4GKV7GZ.js → chunk-GKHLTHYM.js} +10 -10
  108. package/dist/_node-chunks/{chunk-I2ANCID7.js → chunk-GQYATLH6.js} +66 -145
  109. package/dist/_node-chunks/{chunk-RJXEPYEN.js → chunk-HCP5DG52.js} +64 -21
  110. package/dist/_node-chunks/chunk-HVOSLI2K.js +20 -0
  111. package/dist/_node-chunks/{chunk-A724RK5H.js → chunk-ID3WA6WR.js} +9 -6
  112. package/dist/_node-chunks/{chunk-IJL5JOLL.js → chunk-IGOX6TUG.js} +7 -7
  113. package/dist/_node-chunks/{chunk-2JSABFAM.js → chunk-IL7YA7QJ.js} +10 -10
  114. package/dist/_node-chunks/{chunk-RHG33T7C.js → chunk-IUPE4SU2.js} +10 -10
  115. package/dist/_node-chunks/{chunk-CXLL2F6O.js → chunk-JVWXCB3L.js} +25 -8
  116. package/dist/_node-chunks/chunk-K4O2ZAMU.js +57 -0
  117. package/dist/_node-chunks/{chunk-XTTAS346.js → chunk-KRWR44KT.js} +6 -6
  118. package/dist/_node-chunks/{chunk-HKUNJELN.js → chunk-KWNBN3DV.js} +8 -8
  119. package/dist/_node-chunks/{chunk-4TV3Z3S3.js → chunk-LG3NMXCM.js} +6 -6
  120. package/dist/_node-chunks/{chunk-CYPPELO4.js → chunk-LH5QBX2U.js} +22 -32
  121. package/dist/_node-chunks/{chunk-XJSYJTBD.js → chunk-LX2XSPPL.js} +7 -7
  122. package/dist/_node-chunks/{chunk-G5OYQQDY.js → chunk-M4QNXI37.js} +6 -6
  123. package/dist/_node-chunks/{chunk-ILWHW4HU.js → chunk-MBPHOLXB.js} +15 -15
  124. package/dist/_node-chunks/{chunk-2UG3IYCC.js → chunk-MIWBXEUH.js} +6 -6
  125. package/dist/_node-chunks/{chunk-HKQEE62W.js → chunk-MKUA4ZCG.js} +8 -8
  126. package/dist/_node-chunks/{chunk-JEC2OK5B.js → chunk-MQC7ZY6L.js} +7 -7
  127. package/dist/_node-chunks/{chunk-NIHZECYO.js → chunk-MRCPS4S3.js} +6 -6
  128. package/dist/_node-chunks/{chunk-2XDUXZGI.js → chunk-MY7UVHPL.js} +8 -8
  129. package/dist/_node-chunks/{chunk-R7CY5LX6.js → chunk-ND323XCC.js} +6 -6
  130. package/dist/_node-chunks/{chunk-5GN5N22E.js → chunk-NGFFEW2B.js} +131 -148
  131. package/dist/_node-chunks/{chunk-ULW4SLMN.js → chunk-OPG46TLN.js} +34 -949
  132. package/dist/_node-chunks/chunk-PEL4YXU6.js +19 -0
  133. package/dist/_node-chunks/{chunk-JE6JEGXA.js → chunk-QFXAGOIO.js} +9 -9
  134. package/dist/_node-chunks/{chunk-GVSFRNWZ.js → chunk-QGC3UWR5.js} +6 -6
  135. package/dist/_node-chunks/{chunk-B6SKX4JF.js → chunk-QGVU7IFS.js} +7 -7
  136. package/dist/_node-chunks/{chunk-Y2GH4XO7.js → chunk-QOFBJXPH.js} +650 -9
  137. package/dist/_node-chunks/chunk-QVLHVO4X.js +532 -0
  138. package/dist/_node-chunks/{chunk-EWXASIWR.js → chunk-R2ZCFA7I.js} +7 -7
  139. package/dist/_node-chunks/{chunk-MJ2UD7FU.js → chunk-RC4HPD5Q.js} +7 -7
  140. package/dist/_node-chunks/{chunk-7DCDBICW.js → chunk-RJXAXHDJ.js} +13 -13
  141. package/dist/_node-chunks/{chunk-2QTI45JU.js → chunk-SGEPJMTU.js} +35 -35
  142. package/dist/_node-chunks/{chunk-KGOAOPKR.js → chunk-SYUOBOB5.js} +6 -6
  143. package/dist/_node-chunks/{chunk-QVMUIU7S.js → chunk-T5VZYRL2.js} +6 -6
  144. package/dist/_node-chunks/chunk-T6IU66AM.js +69 -0
  145. package/dist/_node-chunks/{chunk-6APBQVEX.js → chunk-THDTJJMO.js} +7 -7
  146. package/dist/_node-chunks/{chunk-ASJFOW6O.js → chunk-TNFH4Y4G.js} +8 -8
  147. package/dist/_node-chunks/{chunk-ICADUNQM.js → chunk-TY2ZY7AO.js} +6 -6
  148. package/dist/_node-chunks/{chunk-PBMWZVLD.js → chunk-TZIT6SZP.js} +6 -6
  149. package/dist/_node-chunks/{chunk-US7L4S72.js → chunk-VG2KFIOW.js} +9 -9
  150. package/dist/_node-chunks/{chunk-7BVUZZIY.js → chunk-VSHYJR23.js} +7 -7
  151. package/dist/_node-chunks/{chunk-ILVD64RB.js → chunk-VUMGWJ6Y.js} +8 -8
  152. package/dist/_node-chunks/{chunk-DWE36J35.js → chunk-WVRM6DQU.js} +7 -7
  153. package/dist/_node-chunks/{chunk-AANHLH5M.js → chunk-YU5TVYPS.js} +6 -6
  154. package/dist/_node-chunks/{chunk-BENYUF74.js → chunk-ZBWAA2EY.js} +77 -78
  155. package/dist/_node-chunks/chunk-ZD5TUA6I.js +20 -0
  156. package/dist/_node-chunks/{chunk-AWJOXJAZ.js → chunk-ZFLK7MY5.js} +8 -8
  157. package/dist/_node-chunks/dist-7OJKTBKL.js +27 -0
  158. package/dist/_node-chunks/dist-MWP6WLW4.js +16 -0
  159. package/dist/_node-chunks/{local-runtime-4UNT5EZJ.js → local-runtime-V5YTRN24.js} +20 -20
  160. package/dist/_node-chunks/{mdx-plugin-ZY6XLLA4.js → mdx-plugin-CBOD52VP.js} +2263 -130
  161. package/dist/_node-chunks/{monorepo-B65J4UFS.js → monorepo-GF6H53U4.js} +12 -12
  162. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-45ZTNWJS.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-K4TTV2DQ.js} +12 -12
  163. package/dist/_node-chunks/optimized-tests-KOTSVWTN.js +22 -0
  164. package/dist/_node-chunks/{pattern-copy-play-LOHSM7ID.js → pattern-copy-play-M2QNC4IZ.js} +12 -12
  165. package/dist/_node-chunks/postinstallAddon-WXKJL6DP.js +20 -0
  166. package/dist/_node-chunks/{rehype-external-links-22ZBI6K4.js → rehype-external-links-3IDE4CYH.js} +9 -9
  167. package/dist/_node-chunks/{rehype-slug-ROZVEEFZ.js → rehype-slug-GKB3WS3U.js} +9 -9
  168. package/dist/_node-chunks/{relaxed-limits-EDE2B34G.js → relaxed-limits-C6QU365N.js} +12 -12
  169. package/dist/_node-chunks/{run-372BSBV5.js → run-TMVS3KKA.js} +273 -13
  170. package/dist/_node-chunks/{run-IR3BRDJV.js → run-XWBUPXLN.js} +17 -17
  171. package/dist/_node-chunks/session-id-VMH57SKN.js +23 -0
  172. package/dist/_node-chunks/{setup-6TMCKUTA.js → setup-KEEJK4WI.js} +9 -9
  173. package/dist/_node-chunks/{vitest.config.4.template-QJBEVCKG.js → vitest.config.4.template-74HEE4WJ.js} +9 -9
  174. package/dist/actions/decorator.js +3 -2
  175. package/dist/actions/index.d.ts +1 -1
  176. package/dist/actions/index.js +3 -2
  177. package/dist/addon-a11y/index.d.ts +3 -3
  178. package/dist/addon-a11y/index.js +2 -1
  179. package/dist/addon-a11y/manager.js +40 -37
  180. package/dist/addon-a11y/preset.js +7 -7
  181. package/dist/addon-a11y/preview.js +2 -1
  182. package/dist/addon-docs/blocks.d.ts +20 -1
  183. package/dist/addon-docs/blocks.js +150 -74
  184. package/dist/addon-docs/index.d.ts +19 -19
  185. package/dist/addon-docs/manager.js +6 -6
  186. package/dist/addon-docs/preset.js +10 -10
  187. package/dist/addon-links/index.js +5 -2
  188. package/dist/addon-links/preview.d.ts +1 -1
  189. package/dist/addon-links/preview.js +5 -2
  190. package/dist/addon-links/react/index.js +4 -1
  191. package/dist/addon-mcp/preset.js +29 -21
  192. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +37 -82
  193. package/dist/addon-ondevice-actions/index.js +5 -1
  194. package/dist/addon-ondevice-actions/register.js +5 -1
  195. package/dist/addon-ondevice-controls/index.js +1 -1
  196. package/dist/addon-ondevice-controls/register.js +1 -1
  197. package/dist/addon-pseudo-states/index.d.ts +1 -1
  198. package/dist/addon-pseudo-states/manager.js +2 -2
  199. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  200. package/dist/addon-themes/index.d.ts +1 -1
  201. package/dist/addon-themes/index.js +2 -2
  202. package/dist/addon-themes/manager.js +4 -4
  203. package/dist/addon-themes/postinstall.js +7 -7
  204. package/dist/addon-themes/preview.js +2 -2
  205. package/dist/addon-vitest/constants.js +8 -8
  206. package/dist/addon-vitest/manager.js +21 -21
  207. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  208. package/dist/addon-vitest/node/vitest.js +17 -17
  209. package/dist/addon-vitest/postinstall.js +10 -10
  210. package/dist/addon-vitest/preset.js +15 -16
  211. package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
  212. package/dist/addon-vitest/vitest-plugin/index.js +23 -23
  213. package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
  214. package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
  215. package/dist/babel/index.d.ts +91 -842
  216. package/dist/babel/index.js +13 -19
  217. package/dist/backgrounds/index.d.ts +1 -1
  218. package/dist/bin/core.js +65 -64
  219. package/dist/bin/dispatcher.js +18 -16
  220. package/dist/bin/loader.js +17 -16
  221. package/dist/builder-vite/index.js +17 -17
  222. package/dist/builder-vite/preset.js +13 -13
  223. package/dist/channels/index.js +6 -6
  224. package/dist/{chunk-BTVrWliM.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
  225. package/dist/{chunk-DtHByo32.d.ts → chunk-CFk6djyM.d.ts} +5 -5
  226. package/dist/{chunk-CwQKNaYL.d.ts → chunk-CNqjcOmK.d.ts} +1 -1
  227. package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
  228. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  229. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  230. package/dist/{chunk-DEVFdzxR.d.ts → chunk-D0NUmzXp.d.ts} +1 -1
  231. package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
  232. package/dist/{chunk-Dw1z1Pki.d.ts → chunk-DROZ9oel.d.ts} +50 -314
  233. package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
  234. package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
  235. package/dist/{chunk-C-bavsOH.d.ts → chunk-Dw_4ad2Y.d.ts} +6 -6
  236. package/dist/{chunk-C2p5r3Vt.d.ts → chunk-Fg1Fm__9.d.ts} +119 -29
  237. package/dist/chunk-Susgfkap.d.ts +20 -0
  238. package/dist/cli/index.d.ts +13 -866
  239. package/dist/cli/index.js +44 -4954
  240. package/dist/cli/skills/content/index.d.ts +1 -1
  241. package/dist/cli/skills/content/index.js +2 -2
  242. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  243. package/dist/cli/tools/sdk/child-host.js +17 -17
  244. package/dist/cli/tools/sdk/index.d.ts +1 -1
  245. package/dist/cli/tools/sdk/index.js +18 -18
  246. package/dist/cli-commands/bin/index.js +7 -7
  247. package/dist/client-logger/index.js +3 -1
  248. package/dist/common/index.d.ts +17 -29
  249. package/dist/common/index.js +36 -42
  250. package/dist/components/index.d.ts +41 -238
  251. package/dist/components/index.js +2738 -8515
  252. package/dist/core-events/index.d.ts +4 -3
  253. package/dist/core-events/index.js +3 -1
  254. package/dist/core-server/index.d.ts +6 -6
  255. package/dist/core-server/index.js +661 -249
  256. package/dist/core-server/presets/common-manager.js +603 -1027
  257. package/dist/core-server/presets/common-override-preset.js +12 -10
  258. package/dist/core-server/presets/common-preset.js +55 -48
  259. package/dist/create/bin/index.js +7 -7
  260. package/dist/create/index.js +15 -15
  261. package/dist/csf/index.d.ts +5 -5
  262. package/dist/csf/index.js +55 -120
  263. package/dist/csf-tools/index.d.ts +17 -13
  264. package/dist/csf-tools/index.js +17 -15
  265. package/dist/docs-tools/index.js +2 -2
  266. package/dist/highlight/index.d.ts +1 -1
  267. package/dist/instrumenter/index.js +8 -6
  268. package/dist/manager/_manager-chunks/{globals-runtime-B0I9dSVs.js → globals-runtime-BKQscPdC.js} +824 -727
  269. package/dist/manager/_manager-chunks/globals-runtime-BY3epqww.js +1807 -0
  270. package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
  271. package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-Bs75QQ_I.js} +77 -553
  272. package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-BweHuXkK.js} +2 -1
  273. package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CA8AuIRT.js} +3 -145
  274. package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
  275. package/dist/manager/_manager-chunks/{globals-runtime-CXoVXiJA.js → globals-runtime-CJL1dQtn.js} +324 -118
  276. package/dist/manager/_manager-chunks/{globals-runtime-BQCkfH1B.js → globals-runtime-CfurFwS_.js} +1 -1
  277. package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-CvIgTRVu.js} +10 -10
  278. package/dist/manager/_manager-chunks/{globals-runtime-f5oIrim0.js → globals-runtime-DBba3I9c.js} +394 -189
  279. package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-DvV_TF3-.js} +638 -1731
  280. package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-NwJK8t0T.js} +410 -379
  281. package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-WZKaeKm9.js} +93 -2146
  282. package/dist/manager/_manager-chunks/globals-runtime-wjkxyMn0.js +5283 -0
  283. package/dist/manager/_manager-chunks/runtime-5B2mWjEm.js +294 -0
  284. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
  285. package/dist/manager/_manager-chunks/runtime-B_nqedQW.js +197 -0
  286. package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
  287. package/dist/manager/_manager-chunks/{runtime-DcJBhKG9.js → runtime-Bs3bEhuy.js} +200 -376
  288. package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-CBQsKmch.js} +5 -147
  289. package/dist/manager/_manager-chunks/runtime-DG61zYUm.js +1158 -0
  290. package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-DtCVCy4G.js} +10 -29
  291. package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
  292. package/dist/manager/_manager-chunks/{runtime-Bry1Biu7.js → runtime-eBAgOym6.js} +989 -915
  293. package/dist/manager/_manager-chunks/{runtime-DtyerpFe.js → runtime-j9yqh0tr.js} +124 -80
  294. package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-jj8qYc2n.js} +5 -531
  295. package/dist/manager/globals-runtime.js +1 -1
  296. package/dist/manager/globals.d.ts +12 -12
  297. package/dist/manager/globals.js +12 -12
  298. package/dist/manager/runtime.js +1 -1
  299. package/dist/manager-api/index.d.ts +1 -1
  300. package/dist/manager-api/index.js +72 -82
  301. package/dist/manager-errors.d.ts +1 -1
  302. package/dist/manager-errors.js +2 -2
  303. package/dist/mcp/index.js +8 -8
  304. package/dist/mocking-utils/index.d.ts +2 -2
  305. package/dist/mocking-utils/index.js +22 -17
  306. package/dist/mocking-utils/mocker-runtime.js +2 -2
  307. package/dist/nextjs-vite/index.d.ts +2 -2
  308. package/dist/nextjs-vite/index.js +4 -3
  309. package/dist/nextjs-vite/node/index.d.ts +2 -2
  310. package/dist/nextjs-vite/node/index.js +7 -7
  311. package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
  312. package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
  313. package/dist/nextjs-vite/preset.js +93 -14
  314. package/dist/nextjs-vite/preview.js +1 -1
  315. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  316. package/dist/nextjs-vite-plugin/index.d.ts +2 -3
  317. package/dist/nextjs-vite-plugin/index.js +15 -30
  318. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  319. package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
  320. package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
  321. package/dist/node-logger/index.d.ts +65 -72
  322. package/dist/node-logger/index.js +11 -12
  323. package/dist/oxc-parser/index.js +11 -13
  324. package/dist/oxc-parser/worker.js +10 -10
  325. package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-BJwGQok8.js} +77 -76
  326. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  327. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  328. package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-BZ4pNS3g.js} +2 -2
  329. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  330. package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-BgPhfM5P.js} +54 -8
  331. package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BhSZ1Mwt.js} +335 -137
  332. package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
  333. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  334. package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-CkOhMcXf.js} +8 -8
  335. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  336. package/dist/preview/globals.d.ts +10 -10
  337. package/dist/preview/globals.js +10 -10
  338. package/dist/preview/runtime.js +1 -1
  339. package/dist/preview-api/index.d.ts +1 -1
  340. package/dist/preview-api/index.js +11 -9
  341. package/dist/preview-errors.d.ts +1 -1
  342. package/dist/preview-errors.js +2 -2
  343. package/dist/react/docgen/docgen-worker.js +11 -12
  344. package/dist/react/entry-preview.js +2 -1
  345. package/dist/react/index.d.ts +4 -4
  346. package/dist/react/index.js +6 -4
  347. package/dist/react/preset.js +13 -14
  348. package/dist/react/preview.d.ts +1 -1
  349. package/dist/react/preview.js +3 -2
  350. package/dist/react-native/bin/get-stories.js +12 -12
  351. package/dist/react-native/index.d.ts +11 -11
  352. package/dist/react-native/index.js +46 -231
  353. package/dist/react-native/metro/node.d.ts +2 -2
  354. package/dist/react-native/metro/node.js +10 -9
  355. package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +11 -11
  356. package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +22 -21
  357. package/dist/react-native/scripts/generate.d.ts +1 -1
  358. package/dist/react-native/scripts/generate.js +8 -8
  359. package/dist/react-native/stub.js +1 -1
  360. package/dist/react-native-theming/index.d.ts +2 -58
  361. package/dist/react-native-theming/index.js +63 -2338
  362. package/dist/react-native-ui/index.d.ts +6 -7
  363. package/dist/react-native-ui/index.js +207 -624
  364. package/dist/react-native-ui-common/index.d.ts +2 -3
  365. package/dist/react-vite/index.d.ts +2 -2
  366. package/dist/react-vite/node/index.d.ts +3 -3
  367. package/dist/react-vite/node/index.js +7 -7
  368. package/dist/react-vite/preset.js +7 -7
  369. package/dist/router/index.d.ts +69 -1
  370. package/dist/router/index.js +52 -10
  371. package/dist/server-errors.d.ts +1 -1
  372. package/dist/server-errors.js +9 -9
  373. package/dist/shared/open-service/index.d.ts +1 -1
  374. package/dist/shared/open-service/index.js +2 -2
  375. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  376. package/dist/shared/open-service/toolsets/docs/public.d.ts +21 -21
  377. package/dist/telemetry/index.d.ts +3 -3
  378. package/dist/telemetry/index.js +43 -45
  379. package/dist/test/index.js +810 -575
  380. package/dist/theming/create.js +2 -1
  381. package/dist/theming/index.d.ts +5 -5
  382. package/dist/theming/index.js +41 -16
  383. package/dist/types/index.d.ts +2 -2
  384. package/dist/types/index.js +5 -5
  385. package/dist/viewport/index.d.ts +1 -1
  386. package/package.json +36 -81
  387. package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
  388. package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
  389. package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
  390. package/template/nextjs-vite/cli/js/Page.jsx +2 -2
  391. package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
  392. package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
  393. package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
  394. package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
  395. package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
  396. package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
  397. package/template/react/cli/js/Button.stories.js +6 -6
  398. package/template/react/cli/js/Header.stories.js +2 -2
  399. package/template/react/cli/js/Page.jsx +2 -2
  400. package/template/react/cli/js/Page.stories.js +2 -2
  401. package/template/react/cli/ts/Button.stories.ts +6 -6
  402. package/template/react/cli/ts/Header.stories.ts +2 -2
  403. package/template/react/cli/ts/Page.stories.ts +2 -2
  404. package/template/react/cli/ts/Page.tsx +2 -2
  405. package/template/react-vite/cli/js/Button.stories.js +6 -6
  406. package/template/react-vite/cli/js/Header.stories.js +2 -2
  407. package/template/react-vite/cli/js/Page.jsx +2 -2
  408. package/template/react-vite/cli/js/Page.stories.js +2 -2
  409. package/template/react-vite/cli/ts/Button.stories.ts +6 -6
  410. package/template/react-vite/cli/ts/Header.stories.ts +2 -2
  411. package/template/react-vite/cli/ts/Page.stories.ts +2 -2
  412. package/template/react-vite/cli/ts/Page.tsx +2 -2
  413. package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
  414. package/assets/browser/nunito-sans-bold.woff2 +0 -0
  415. package/assets/browser/nunito-sans-italic.woff2 +0 -0
  416. package/assets/browser/nunito-sans-regular.woff2 +0 -0
  417. package/dist/_browser-chunks/WithTooltip-GZSSFOG3.js +0 -1619
  418. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  419. package/dist/_browser-chunks/chunk-JMC7AIKT.js +0 -108
  420. package/dist/_node-chunks/builder-manager-FPV2L36T.js +0 -1661
  421. package/dist/_node-chunks/chunk-356LV3NX.js +0 -36
  422. package/dist/_node-chunks/chunk-5BTU7UZ5.js +0 -1877
  423. package/dist/_node-chunks/chunk-5J3BMBMY.js +0 -51
  424. package/dist/_node-chunks/chunk-BCRWDMAU.js +0 -11
  425. package/dist/_node-chunks/chunk-BE6ULVPN.js +0 -662
  426. package/dist/_node-chunks/chunk-CSXS6LVI.js +0 -29
  427. package/dist/_node-chunks/chunk-DUOXRUVQ.js +0 -18
  428. package/dist/_node-chunks/chunk-FUYZNTIS.js +0 -23
  429. package/dist/_node-chunks/chunk-M2BRIUUP.js +0 -25
  430. package/dist/_node-chunks/chunk-RJUHZH32.js +0 -20
  431. package/dist/_node-chunks/chunk-TB6Y6NSL.js +0 -3837
  432. package/dist/_node-chunks/chunk-VQEQ7ZLS.js +0 -4731
  433. package/dist/_node-chunks/chunk-WQ7PSP6H.js +0 -19
  434. package/dist/_node-chunks/chunk-WVCU34IS.js +0 -23
  435. package/dist/_node-chunks/chunk-X6OWHTYE.js +0 -20
  436. package/dist/_node-chunks/chunk-Y2DEKWVE.js +0 -3008
  437. package/dist/_node-chunks/chunk-ZBAIFZNB.js +0 -5414
  438. package/dist/_node-chunks/dist-ZGSN23B7.js +0 -16
  439. package/dist/_node-chunks/globby-HWZL7XSQ.js +0 -2884
  440. package/dist/_node-chunks/jiti-GNDCTFYU.js +0 -3848
  441. package/dist/_node-chunks/lib-DI662U2R.js +0 -366
  442. package/dist/_node-chunks/optimized-tests-ZMNICF4R.js +0 -22
  443. package/dist/_node-chunks/postinstallAddon-NT5XE7IT.js +0 -20
  444. package/dist/_node-chunks/session-id-OO2WQF5N.js +0 -23
  445. package/dist/chunk-BfBzpgct.d.ts +0 -916
  446. package/dist/chunk-BxWufQms.d.ts +0 -142
  447. package/dist/core-server/presets/common-manager.css +0 -170
  448. package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
  449. package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
  450. package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
  451. package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +0 -452
  452. package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
  453. package/dist/manager/_manager-chunks/runtime-DpgBAFGf.js +0 -22
  454. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  455. package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
@@ -1,10 +1,24 @@
1
- import { n as __esmMin, o as __toESM } from "./runtime-EITvVbkG.js";
2
- import { $t as CloseIcon, At as shortcutToHumanString, B as Loader, Bn as CHANNEL_CREATED, Gt as CheckIcon, L as Form, Lt as useStorybookApi, Qn as init_channels, Rt as useStorybookState, Sr as useState, Tt as init_manager_api, U as ScrollArea, Vn as CHANNEL_WS_DISCONNECT, Xn as init_core_events, Z as StorybookLogo, Zn as createBrowserChannel, Zt as CircleIcon, _ as Route, _t as Consumer, a as init_types, an as DocumentIcon, bt as eventToShortcut, dn as EyeIcon, er as Component, et as TabsView, fn as FailedIcon, fr as useCallback, gn as HeartIcon, gt as useTheme, hr as useEffect, i as REVIEW_STATUS_TYPE_ID, it as TooltipProvider, j as Button, jt as types, kt as shortcutMatchesShortcut, lr as init__storybook_global_react, m as Location, mn as GithubIcon, mt as init_theming, n as CHANGE_DETECTION_STATUS_TYPE_ID, nr as _storybook_global_react_default, nt as Tooltip, ot as init_components, r as NON_AGGREGATED_STATUS_TYPE_IDS, t as Addon_TypesEnum, tr as Fragment, un as EyeCloseIcon, ut as color, v as init_router, yr as useMemo, yt as addons, z as Link, zn as init_icons, zt as AlertIcon } from "./runtime-Bly6WJLN.js";
3
- import { S as scope, x as init_dist } from "./runtime-eDVAYF7N.js";
4
- import { A as useCopyButton, F as ToolbarManager, I as init_ToolbarManager, L as TOOLBAR_ID, R as init_constants, k as init_useCopyButton } from "./runtime-DcJBhKG9.js";
5
- import { a as curriedTransparentize$1, o as init_polished_esm, s as require_memoizerific } from "./runtime-i-PDAHLR.js";
6
- import { c as clsx, l as init_clsx } from "./runtime-D94Vq3oR.js";
7
- import { c as UseSymbol, d as menuTool, f as UpgradeBlock, i as init_Sidebar, l as init_IconSymbols, n as renderStorybookUI, p as init_UpgradeBlock, t as init_manager, u as init_menu } from "./runtime-Bry1Biu7.js";
1
+ import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
2
+ import { $ as Form, $n as CHANNEL_CREATED, $t as useStorybookApi, A as Route, At as init_theming, Cr as init__storybook_global_react, D as Location, En as GitForkIcon, Er as useCallback, Et as color, Ft as addons, G as Button, Gt as shortcutMatchesShortcut, Ir as useState, It as eventToShortcut, Kn as TriangleAlertIcon, Kt as shortcutToHumanString, Mt as useTheme, N as getBasename, Nr as useMemo, Nt as Consumer, On as HeartIcon, P as init_router, Q as ForkbookLogo, Qn as init__storybook_global_lucide_react, Sn as FileTextIcon, St as init_components, Vt as init_manager_api, Yn as XIcon, a as init_types, at as ScrollArea, bn as EyeIcon, bt as TooltipProvider, dn as CircleIcon, dr as createBrowserChannel, en as useStorybookState, er as CHANNEL_WS_DISCONNECT, fr as init_channels, gr as _storybook_global_react_default, gt as TabsView, hr as Fragment, i as REVIEW_STATUS_TYPE_ID, j as buildManagerHref, kr as useEffect, mr as Component, n as CHANGE_DETECTION_STATUS_TYPE_ID, nt as Loader, on as CheckIcon, pn as CircleXIcon, qt as types, r as NON_AGGREGATED_STATUS_TYPE_IDS, t as Addon_TypesEnum, tt as Link, ur as init_core_events, vt as Tooltip, xn as EyeOffIcon } from "./runtime-DG61zYUm.js";
3
+ import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-Bs3bEhuy.js";
4
+ import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as renderStorybookUI, o as init_Sidebar, s as UseSymbol, t as init_manager, w as init_UpgradeBlock } from "./runtime-eBAgOym6.js";
5
+ import { a as curriedTransparentize$1, o as init_polished_esm, s as require_memoizerific } from "./runtime-CBQsKmch.js";
6
+ import { c as init_clsx, s as clsx } from "./runtime-jj8qYc2n.js";
7
+ //#region src/manager/utils/root-page.ts
8
+ var getRootPage, thumbnailSrc;
9
+ function init_root_page() {
10
+ return (init_root_page = __esmMin((() => {
11
+ init_router();
12
+ init_global();
13
+ init_thumbnails();
14
+ getRootPage = () => global.FORKBOOK_ROOT ?? {
15
+ enabled: false,
16
+ mode: "above"
17
+ };
18
+ thumbnailSrc = (thumbnail, base = getBasename()) => isThumbnailUrl(thumbnail) ? thumbnail : `${base}/${thumbnail.replace(/^\.?\/+/, "")}`;
19
+ })))();
20
+ }
21
+ //#endregion
8
22
  //#region src/manager/utils/tree.ts
9
23
  function getPath(item, ref) {
10
24
  const parent = item.type !== "root" && item.parent ? ref.index[item.parent] : null;
@@ -17,16 +31,17 @@ function cycle(array, index, delta) {
17
31
  if (next >= array.length) next -= array.length;
18
32
  return next;
19
33
  }
20
- var import_memoizerific$1, document$3, globalWindow, createId, getLink, get, getParent, getParents, getAncestorIds, getDescendantIds, searchItem, scrollIntoView, getStateType, isAncestor, removeNoiseFromName, isStoryHoistable;
34
+ var import_memoizerific$1, document$3, globalWindow, createId, getLink, get, getParent, getParents, getAncestorIds, getDescendantIds, searchItem, scrollIntoView, getStateType, isAncestor, removeNoiseFromName, isStoryHoistable, getHoistedComponents;
21
35
  function init_tree() {
22
36
  return (init_tree = __esmMin((() => {
23
- init_dist();
37
+ init_global();
24
38
  import_memoizerific$1 = /* @__PURE__ */ __toESM(require_memoizerific(), 1);
39
+ init_router();
25
40
  init_Sidebar();
26
- ({document: document$3, window: globalWindow} = scope);
41
+ ({document: document$3, window: globalWindow} = global);
27
42
  createId = (itemId, refId) => !refId || refId === "storybook_internal" ? itemId : `${refId}_${itemId}`;
28
43
  getLink = (item, refId) => {
29
- return `${document$3.location.pathname}?path=/${item.type}/${createId(item.id, refId)}`;
44
+ return buildManagerHref(`${getBasename()}/`, `/${item.type}/${createId(item.id, refId)}`);
30
45
  };
31
46
  get = (0, import_memoizerific$1.default)(1e3)((id, dataset) => dataset[id]);
32
47
  getParent = (0, import_memoizerific$1.default)(1e3)((id, dataset) => {
@@ -77,6 +92,30 @@ function init_tree() {
77
92
  };
78
93
  removeNoiseFromName = (storyName) => storyName.replaceAll(/(\s|-|_)/gi, "");
79
94
  isStoryHoistable = (storyName, componentName) => removeNoiseFromName(storyName) === removeNoiseFromName(componentName);
95
+ getHoistedComponents = (data) => {
96
+ const hoisted = {};
97
+ const hiddenIds = [];
98
+ Object.values(data).forEach((entry) => {
99
+ if (entry.type !== "component") return;
100
+ const children = (entry.children ?? []).map((id) => data[id]).filter(Boolean);
101
+ const stories = children.filter((child) => child.type === "story");
102
+ const docs = children.filter((child) => child.type === "docs");
103
+ if (children.length === 1 && docs.length === 1) {
104
+ hoisted[entry.id] = docs[0].id;
105
+ return;
106
+ }
107
+ const [story] = stories;
108
+ const autodocs = docs.filter((child) => child.tags?.includes("autodocs"));
109
+ if (stories.length === 1 && story.type === "story" && story.subtype === "story" && docs.length === autodocs.length && children.length === 1 + docs.length && docs.length <= 1 && isStoryHoistable(story.name, entry.name)) {
110
+ hoisted[entry.id] = story.id;
111
+ hiddenIds.push(...docs.map((child) => child.id));
112
+ }
113
+ });
114
+ return {
115
+ hoisted,
116
+ hiddenIds
117
+ };
118
+ };
80
119
  })))();
81
120
  }
82
121
  //#endregion
@@ -85,15 +124,15 @@ var id$5, status_module_default;
85
124
  function init_status_module() {
86
125
  return (init_status_module = __esmMin((() => {
87
126
  id$5 = "core/src/manager/utils/status.module.css";
88
- if (typeof document !== "undefined" && !document.querySelector(`style[data-sb-css="${id$5}"]`)) {
127
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$5}"]`)) {
89
128
  const style = document.createElement("style");
90
- style.setAttribute("data-sb-css", id$5);
91
- style.textContent = ".sb-HwMO1a-loadingIcon.sb-HwMO1a-loadingIcon.sb-HwMO1a-loadingIcon{width:6px;height:6px}.sb-HwMO1a-loadingIcon{animation:1.5s ease-in-out infinite sb-HwMO1a-glow}@keyframes sb-HwMO1a-glow{0%,to{opacity:1}50%{opacity:.4}}";
129
+ style.setAttribute("data-fb-css", id$5);
130
+ style.textContent = ".fb-HwMO1a-loadingIcon.fb-HwMO1a-loadingIcon.fb-HwMO1a-loadingIcon{width:6px;height:6px}.fb-HwMO1a-loadingIcon{animation:1.5s ease-in-out infinite fb-HwMO1a-glow}@keyframes fb-HwMO1a-glow{0%,to{opacity:1}50%{opacity:.4}}";
92
131
  document.head.appendChild(style);
93
132
  }
94
133
  status_module_default = {
95
- "loadingIcon": "sb-HwMO1a-loadingIcon",
96
- "glow": "sb-HwMO1a-glow"
134
+ "loadingIcon": "fb-HwMO1a-loadingIcon",
135
+ "glow": "fb-HwMO1a-glow"
97
136
  };
98
137
  })))();
99
138
  }
@@ -174,7 +213,7 @@ function init_status() {
174
213
  return (init_status = __esmMin((() => {
175
214
  init__storybook_global_react();
176
215
  init_types();
177
- init_icons();
216
+ init__storybook_global_lucide_react();
178
217
  import_memoizerific = /* @__PURE__ */ __toESM(require_memoizerific(), 1);
179
218
  init_polished_esm();
180
219
  init_IconSymbols();
@@ -346,18 +385,18 @@ var id$4, About_module_default;
346
385
  function init_About_module() {
347
386
  return (init_About_module = __esmMin((() => {
348
387
  id$4 = "core/src/manager/settings/About.module.css";
349
- if (typeof document !== "undefined" && !document.querySelector(`style[data-sb-css="${id$4}"]`)) {
388
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$4}"]`)) {
350
389
  const style = document.createElement("style");
351
- style.setAttribute("data-sb-css", id$4);
352
- style.textContent = ".sb-v5QLGG-container{flex-direction:column;align-items:center;margin-top:40px;display:flex}.sb-v5QLGG-header{align-items:center;margin-bottom:32px;display:flex;&>svg{width:auto;height:48px;margin-right:8px}}.sb-v5QLGG-footer{color:var(--sb-color-dark);font-weight:var(--sb-weight-regular);font-size:var(--sb-size-s2);flex-direction:column;align-items:center;margin-bottom:24px;display:flex}.sb-v5QLGG-actions{flex-direction:row;align-items:center;gap:16px;margin-top:24px;margin-bottom:24px;display:flex}.sb-v5QLGG-link.sb-v5QLGG-link{font-weight:var(--sb-weight-bold);color:var(--sb-color-dark)}.sb-v5QLGG-link:hover{color:var(--sb-color-darkest)}:where([data-sb-theme=dark]){& .sb-v5QLGG-footer{color:var(--sb-color-lightest)}& .sb-v5QLGG-link.sb-v5QLGG-link{color:var(--sb-color-light)}& .sb-v5QLGG-link:hover{color:var(--sb-color-lightest)}}";
390
+ style.setAttribute("data-fb-css", id$4);
391
+ style.textContent = ".fb-v5QLGG-container{flex-direction:column;align-items:center;margin-top:40px;display:flex}.fb-v5QLGG-header{align-items:center;margin-bottom:32px;display:flex;&>svg{width:auto;height:48px;margin-right:8px}}.fb-v5QLGG-footer{color:var(--fb-color-dark);font-weight:var(--fb-weight-regular);font-size:var(--fb-size-s2);flex-direction:column;align-items:center;margin-bottom:24px;display:flex}.fb-v5QLGG-actions{flex-direction:row;align-items:center;gap:16px;margin-top:24px;margin-bottom:24px;display:flex}.fb-v5QLGG-link.fb-v5QLGG-link{font-weight:var(--fb-weight-bold);color:var(--fb-color-dark)}.fb-v5QLGG-link:hover{color:var(--fb-color-darkest)}:where([data-fb-theme=dark]){& .fb-v5QLGG-footer{color:var(--fb-color-lightest)}& .fb-v5QLGG-link.fb-v5QLGG-link{color:var(--fb-color-light)}& .fb-v5QLGG-link:hover{color:var(--fb-color-lightest)}}";
353
392
  document.head.appendChild(style);
354
393
  }
355
394
  About_module_default = {
356
- "container": "sb-v5QLGG-container",
357
- "footer": "sb-v5QLGG-footer",
358
- "link": "sb-v5QLGG-link",
359
- "header": "sb-v5QLGG-header",
360
- "actions": "sb-v5QLGG-actions"
395
+ "header": "fb-v5QLGG-header",
396
+ "link": "fb-v5QLGG-link",
397
+ "footer": "fb-v5QLGG-footer",
398
+ "container": "fb-v5QLGG-container",
399
+ "actions": "fb-v5QLGG-actions"
361
400
  };
362
401
  })))();
363
402
  }
@@ -368,17 +407,17 @@ function init_About() {
368
407
  return (init_About = __esmMin((() => {
369
408
  init__storybook_global_react();
370
409
  init_components();
371
- init_icons();
410
+ init__storybook_global_lucide_react();
372
411
  init_UpgradeBlock();
373
412
  init_About_module();
374
413
  AboutScreen = ({ onNavigateToWhatsNew }) => {
375
- return /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: About_module_default.container }, /* @__PURE__ */ _storybook_global_react_default.createElement("header", { className: About_module_default.header }, /* @__PURE__ */ _storybook_global_react_default.createElement(StorybookLogo, { alt: "Forkbook" })), /* @__PURE__ */ _storybook_global_react_default.createElement(UpgradeBlock, { onNavigateToWhatsNew }), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: About_module_default.footer }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: About_module_default.actions }, /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
414
+ return /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: About_module_default.container }, /* @__PURE__ */ _storybook_global_react_default.createElement("header", { className: About_module_default.header }, /* @__PURE__ */ _storybook_global_react_default.createElement(ForkbookLogo, { alt: "Forkbook" })), /* @__PURE__ */ _storybook_global_react_default.createElement(UpgradeBlock, { onNavigateToWhatsNew }), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: About_module_default.footer }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: About_module_default.actions }, /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
376
415
  ariaLabel: false,
377
416
  asChild: true
378
- }, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: "https://github.com/storybookjs/storybook" }, /* @__PURE__ */ _storybook_global_react_default.createElement(GithubIcon, null), "GitHub")), /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
417
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: "https://github.com/aussieljk/forkbook" }, /* @__PURE__ */ _storybook_global_react_default.createElement(GitForkIcon, null), "GitHub")), /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
379
418
  ariaLabel: false,
380
419
  asChild: true
381
- }, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: "https://storybook.js.org/docs?ref=ui" }, /* @__PURE__ */ _storybook_global_react_default.createElement(DocumentIcon, { style: {
420
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: "https://forkbook.ljk.dev/docs" }, /* @__PURE__ */ _storybook_global_react_default.createElement(FileTextIcon, { style: {
382
421
  display: "inline",
383
422
  marginRight: 5
384
423
  } }), "Documentation"))), /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, "Open source software maintained by", " ", /* @__PURE__ */ _storybook_global_react_default.createElement(Link, {
@@ -386,7 +425,7 @@ function init_About() {
386
425
  href: "https://www.chromatic.com/"
387
426
  }, "Chromatic"), " ", "and the", " ", /* @__PURE__ */ _storybook_global_react_default.createElement(Link, {
388
427
  className: About_module_default.link,
389
- href: "https://github.com/storybookjs/storybook/graphs/contributors"
428
+ href: "https://github.com/aussieljk/forkbook/graphs/contributors"
390
429
  }, "Forkbook Community"))));
391
430
  };
392
431
  })))();
@@ -428,13 +467,13 @@ var id$3, SettingsFooter_module_default;
428
467
  function init_SettingsFooter_module() {
429
468
  return (init_SettingsFooter_module = __esmMin((() => {
430
469
  id$3 = "core/src/manager/settings/SettingsFooter.module.css";
431
- if (typeof document !== "undefined" && !document.querySelector(`style[data-sb-css="${id$3}"]`)) {
470
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$3}"]`)) {
432
471
  const style = document.createElement("style");
433
- style.setAttribute("data-sb-css", id$3);
434
- style.textContent = ".sb-17hQlG-footer{border-top:1px solid var(--sb-app-border-color);font-weight:var(--sb-weight-bold);margin-top:20px;padding-top:20px;display:flex;&>*+*{margin-left:20px}}";
472
+ style.setAttribute("data-fb-css", id$3);
473
+ style.textContent = ".fb-17hQlG-footer{border-top:1px solid var(--fb-app-border-color);font-weight:var(--fb-weight-bold);margin-top:20px;padding-top:20px;display:flex;&>*+*{margin-left:20px}}";
435
474
  document.head.appendChild(style);
436
475
  }
437
- SettingsFooter_module_default = { "footer": "sb-17hQlG-footer" };
476
+ SettingsFooter_module_default = { "footer": "fb-17hQlG-footer" };
438
477
  })))();
439
478
  }
440
479
  //#endregion
@@ -451,17 +490,17 @@ function init_SettingsFooter() {
451
490
  ...props
452
491
  }, /* @__PURE__ */ _storybook_global_react_default.createElement(Link, {
453
492
  secondary: true,
454
- href: "https://storybook.js.org?ref=ui",
493
+ href: "https://forkbook.ljk.dev",
455
494
  cancel: false,
456
495
  target: "_blank"
457
496
  }, "Docs"), /* @__PURE__ */ _storybook_global_react_default.createElement(Link, {
458
497
  secondary: true,
459
- href: "https://github.com/storybookjs/storybook",
498
+ href: "https://github.com/aussieljk/forkbook",
460
499
  cancel: false,
461
500
  target: "_blank"
462
501
  }, "GitHub"), /* @__PURE__ */ _storybook_global_react_default.createElement(Link, {
463
502
  secondary: true,
464
- href: "https://storybook.js.org/community?ref=ui#support",
503
+ href: "https://forkbook.ljk.dev/community#support",
465
504
  cancel: false,
466
505
  target: "_blank"
467
506
  }, "Support"));
@@ -473,24 +512,24 @@ var id$2, shortcuts_module_default;
473
512
  function init_shortcuts_module() {
474
513
  return (init_shortcuts_module = __esmMin((() => {
475
514
  id$2 = "core/src/manager/settings/shortcuts.module.css";
476
- if (typeof document !== "undefined" && !document.querySelector(`style[data-sb-css="${id$2}"]`)) {
515
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$2}"]`)) {
477
516
  const style = document.createElement("style");
478
- style.setAttribute("data-sb-css", id$2);
479
- style.textContent = ".sb-5Bi54W-header{font-size:var(--sb-size-m3);font-weight:var(--sb-weight-bold);align-items:center;margin-bottom:20px;display:flex}.sb-5Bi54W-headerItem{font-weight:var(--sb-weight-bold)}.sb-5Bi54W-gridHeaderRow{grid-template-columns:1fr 1fr 12px;align-self:flex-end;margin:10px 0;display:grid;&>:last-of-type{grid-area:1/2/auto/2;justify-self:flex-end}}.sb-5Bi54W-row{border-top:1px solid var(--sb-app-border-color);grid-template-columns:1fr 1fr 0;padding:6px 0;display:grid}.sb-5Bi54W-gridWrapper{grid-template-columns:1fr;grid-auto-rows:minmax(auto,auto);margin-bottom:20px;display:grid}.sb-5Bi54W-description{align-self:center}.sb-5Bi54W-textInput{text-align:center;flex-direction:column;justify-self:flex-end;width:80px;padding-left:4px;padding-right:4px;display:flex;&[data-valid=error]{animation:.7s ease-out sb-5Bi54W-jiggle}}.sb-5Bi54W-successIcon{opacity:0;align-self:center;width:14px;height:14px;margin-left:10px;display:flex;&[data-valid=valid]{opacity:1;color:var(--sb-color-positive);animation:2s forwards sb-5Bi54W-fade}}.sb-5Bi54W-container{font-size:var(--sb-size-s2);max-width:600px;margin:0 auto;padding:3rem 20px}@keyframes sb-5Bi54W-fade{0%,to{opacity:0}50%{opacity:1}}@keyframes sb-5Bi54W-jiggle{0%,to{transform:translate(0,0)}12.5%,62.5%{transform:translate(-4px)}37.5%,87.5%{transform:translate(4px)}}";
517
+ style.setAttribute("data-fb-css", id$2);
518
+ style.textContent = ".fb-5Bi54W-header{font-size:var(--fb-size-m3);font-weight:var(--fb-weight-bold);align-items:center;margin-bottom:20px;display:flex}.fb-5Bi54W-headerItem{font-weight:var(--fb-weight-bold)}.fb-5Bi54W-gridHeaderRow{grid-template-columns:1fr 1fr 12px;align-self:flex-end;margin:10px 0;display:grid;&>:last-of-type{grid-area:1/2/auto/2;justify-self:flex-end}}.fb-5Bi54W-row{border-top:1px solid var(--fb-app-border-color);grid-template-columns:1fr 1fr 0;padding:6px 0;display:grid}.fb-5Bi54W-gridWrapper{grid-template-columns:1fr;grid-auto-rows:minmax(auto,auto);margin-bottom:20px;display:grid}.fb-5Bi54W-description{align-self:center}.fb-5Bi54W-textInput{text-align:center;flex-direction:column;justify-self:flex-end;width:80px;padding-left:4px;padding-right:4px;display:flex;&[data-valid=error]{animation:.7s ease-out fb-5Bi54W-jiggle}}.fb-5Bi54W-successIcon{opacity:0;align-self:center;width:14px;height:14px;margin-left:10px;display:flex;&[data-valid=valid]{opacity:1;color:var(--fb-color-positive);animation:2s forwards fb-5Bi54W-fade}}.fb-5Bi54W-container{font-size:var(--fb-size-s2);max-width:600px;margin:0 auto;padding:3rem 20px}@keyframes fb-5Bi54W-fade{0%,to{opacity:0}50%{opacity:1}}@keyframes fb-5Bi54W-jiggle{0%,to{transform:translate(0,0)}12.5%,62.5%{transform:translate(-4px)}37.5%,87.5%{transform:translate(4px)}}";
480
519
  document.head.appendChild(style);
481
520
  }
482
521
  shortcuts_module_default = {
483
- "row": "sb-5Bi54W-row",
484
- "fade": "sb-5Bi54W-fade",
485
- "container": "sb-5Bi54W-container",
486
- "jiggle": "sb-5Bi54W-jiggle",
487
- "description": "sb-5Bi54W-description",
488
- "gridHeaderRow": "sb-5Bi54W-gridHeaderRow",
489
- "textInput": "sb-5Bi54W-textInput",
490
- "header": "sb-5Bi54W-header",
491
- "headerItem": "sb-5Bi54W-headerItem",
492
- "successIcon": "sb-5Bi54W-successIcon",
493
- "gridWrapper": "sb-5Bi54W-gridWrapper"
522
+ "gridWrapper": "fb-5Bi54W-gridWrapper",
523
+ "description": "fb-5Bi54W-description",
524
+ "gridHeaderRow": "fb-5Bi54W-gridHeaderRow",
525
+ "headerItem": "fb-5Bi54W-headerItem",
526
+ "row": "fb-5Bi54W-row",
527
+ "successIcon": "fb-5Bi54W-successIcon",
528
+ "textInput": "fb-5Bi54W-textInput",
529
+ "header": "fb-5Bi54W-header",
530
+ "container": "fb-5Bi54W-container",
531
+ "fade": "fb-5Bi54W-fade",
532
+ "jiggle": "fb-5Bi54W-jiggle"
494
533
  };
495
534
  })))();
496
535
  }
@@ -510,7 +549,7 @@ function init_shortcuts() {
510
549
  return (init_shortcuts = __esmMin((() => {
511
550
  init__storybook_global_react();
512
551
  init_components();
513
- init_icons();
552
+ init__storybook_global_lucide_react();
514
553
  init_manager_api();
515
554
  init_clsx();
516
555
  init_SettingsFooter();
@@ -686,19 +725,19 @@ var id$1, whats_new_module_default;
686
725
  function init_whats_new_module() {
687
726
  return (init_whats_new_module = __esmMin((() => {
688
727
  id$1 = "core/src/manager/settings/whats_new.module.css";
689
- if (typeof document !== "undefined" && !document.querySelector(`style[data-sb-css="${id$1}"]`)) {
728
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$1}"]`)) {
690
729
  const style = document.createElement("style");
691
- style.setAttribute("data-sb-css", id$1);
692
- style.textContent = ".sb-wRVF8a-centered{text-align:center;width:100%;position:absolute;top:50%;transform:translateY(-50%)}.sb-wRVF8a-loaderWrapper{height:32px;position:relative}.sb-wRVF8a-message{color:var(--sb-text-muted-color);max-width:295px;font-size:var(--sb-size-s1);margin:0 auto;padding-top:12px;line-height:16px}.sb-wRVF8a-footer{background:var(--sb-background-bar);width:100%;height:40px;font-size:var(--sb-size-s2);border-top:1px solid var(--sb-color-border);justify-content:space-between;align-items:center;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.sb-wRVF8a-iframe{visibility:hidden;background:#fff;border:0;width:100%;height:calc(100% - 40px);margin:0;padding:0;position:absolute;inset:0;&[data-loaded]{visibility:visible}}.sb-wRVF8a-alertIcon{color:var(--sb-text-muted-color);width:32px;height:32px;margin:0 auto}";
730
+ style.setAttribute("data-fb-css", id$1);
731
+ style.textContent = ".fb-wRVF8a-centered{text-align:center;width:100%;position:absolute;top:50%;transform:translateY(-50%)}.fb-wRVF8a-loaderWrapper{height:32px;position:relative}.fb-wRVF8a-message{color:var(--fb-text-muted-color);max-width:295px;font-size:var(--fb-size-s1);margin:0 auto;padding-top:12px;line-height:16px}.fb-wRVF8a-footer{background:var(--fb-background-bar);width:100%;height:40px;font-size:var(--fb-size-s2);border-top:1px solid var(--fb-color-border);justify-content:space-between;align-items:center;padding:0 10px 0 15px;display:flex;position:absolute;bottom:0}.fb-wRVF8a-iframe{visibility:hidden;background:#fff;border:0;width:100%;height:calc(100% - 40px);margin:0;padding:0;position:absolute;inset:0;&[data-loaded]{visibility:visible}}.fb-wRVF8a-alertIcon{color:var(--fb-text-muted-color);width:32px;height:32px;margin:0 auto}";
693
732
  document.head.appendChild(style);
694
733
  }
695
734
  whats_new_module_default = {
696
- "message": "sb-wRVF8a-message",
697
- "centered": "sb-wRVF8a-centered",
698
- "loaderWrapper": "sb-wRVF8a-loaderWrapper",
699
- "alertIcon": "sb-wRVF8a-alertIcon",
700
- "footer": "sb-wRVF8a-footer",
701
- "iframe": "sb-wRVF8a-iframe"
735
+ "centered": "fb-wRVF8a-centered",
736
+ "message": "fb-wRVF8a-message",
737
+ "iframe": "fb-wRVF8a-iframe",
738
+ "loaderWrapper": "fb-wRVF8a-loaderWrapper",
739
+ "footer": "fb-wRVF8a-footer",
740
+ "alertIcon": "fb-wRVF8a-alertIcon"
702
741
  };
703
742
  })))();
704
743
  }
@@ -709,8 +748,8 @@ function init_whats_new() {
709
748
  return (init_whats_new = __esmMin((() => {
710
749
  init__storybook_global_react();
711
750
  init_components();
712
- init_dist();
713
- init_icons();
751
+ init_global();
752
+ init__storybook_global_lucide_react();
714
753
  init_manager_api();
715
754
  init_theming();
716
755
  init_useCopyButton();
@@ -734,7 +773,7 @@ function init_whats_new() {
734
773
  size: "small",
735
774
  variant: "ghost",
736
775
  onClick: onToggleNotifications
737
- }, /* @__PURE__ */ _storybook_global_react_default.createElement(EyeCloseIcon, null), "Hide notifications") : /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
776
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement(EyeOffIcon, null), "Hide notifications") : /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
738
777
  ariaLabel: false,
739
778
  size: "small",
740
779
  variant: "ghost",
@@ -742,7 +781,7 @@ function init_whats_new() {
742
781
  }, /* @__PURE__ */ _storybook_global_react_default.createElement(EyeIcon, null), "Show notifications"));
743
782
  };
744
783
  WhatsNewLoader = () => /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.centered }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.loaderWrapper }, /* @__PURE__ */ _storybook_global_react_default.createElement(Loader, null)), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.message }, "Loading..."));
745
- MaxWaitTimeMessaging = () => /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.centered }, /* @__PURE__ */ _storybook_global_react_default.createElement(AlertIcon, { className: whats_new_module_default.alertIcon }), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.message }, "The page couldn't be loaded. Check your internet connection and try again."));
784
+ MaxWaitTimeMessaging = () => /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.centered }, /* @__PURE__ */ _storybook_global_react_default.createElement(TriangleAlertIcon, { className: whats_new_module_default.alertIcon }), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: whats_new_module_default.message }, "The page couldn't be loaded. Check your internet connection and try again."));
746
785
  PureWhatsNewScreen = ({ didHitMaxWaitTime, isLoaded, onLoad, url, copyContent, onToggleNotifications, isNotificationsEnabled }) => /* @__PURE__ */ _storybook_global_react_default.createElement(Fragment, null, !isLoaded && !didHitMaxWaitTime && /* @__PURE__ */ _storybook_global_react_default.createElement(WhatsNewLoader, null), didHitMaxWaitTime ? /* @__PURE__ */ _storybook_global_react_default.createElement(MaxWaitTimeMessaging, null) : /* @__PURE__ */ _storybook_global_react_default.createElement(_storybook_global_react_default.Fragment, null, /* @__PURE__ */ _storybook_global_react_default.createElement("iframe", {
747
786
  className: whats_new_module_default.iframe,
748
787
  "data-loaded": isLoaded || void 0,
@@ -778,7 +817,7 @@ function init_whats_new() {
778
817
  copyContent: whatsNewData.blogUrl ?? whatsNewData.url,
779
818
  onToggleNotifications: () => {
780
819
  if (isNotificationsEnabled) {
781
- if (scope.confirm("All update notifications will no longer be shown. Are you sure?")) api.toggleWhatsNewNotifications();
820
+ if (global.confirm("All update notifications will no longer be shown. Are you sure?")) api.toggleWhatsNewNotifications();
782
821
  } else api.toggleWhatsNewNotifications();
783
822
  }
784
823
  });
@@ -803,15 +842,15 @@ var id, index_module_default;
803
842
  function init_index_module() {
804
843
  return (init_index_module = __esmMin((() => {
805
844
  id = "core/src/manager/settings/index.module.css";
806
- if (typeof document !== "undefined" && !document.querySelector(`style[data-sb-css="${id}"]`)) {
845
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
807
846
  const style = document.createElement("style");
808
- style.setAttribute("data-sb-css", id);
809
- style.textContent = ".sb-eGKmTG-content{background:var(--sb-background-content)}.sb-eGKmTG-sidebarToggle.sb-eGKmTG-sidebarToggle:has(*){order:0;align-items:center;gap:6px;margin-left:10px;margin-right:6px;display:flex}";
847
+ style.setAttribute("data-fb-css", id);
848
+ style.textContent = ".fb-eGKmTG-content{background:var(--fb-background-content)}.fb-eGKmTG-sidebarToggle.fb-eGKmTG-sidebarToggle:has(*){order:0;align-items:center;gap:6px;margin-left:10px;margin-right:6px;display:flex}";
810
849
  document.head.appendChild(style);
811
850
  }
812
851
  index_module_default = {
813
- "content": "sb-eGKmTG-content",
814
- "sidebarToggle": "sb-eGKmTG-sidebarToggle"
852
+ "content": "fb-eGKmTG-content",
853
+ "sidebarToggle": "fb-eGKmTG-sidebarToggle"
815
854
  };
816
855
  })))();
817
856
  }
@@ -824,8 +863,8 @@ function init_settings() {
824
863
  init_components();
825
864
  init_router();
826
865
  init_types();
827
- init_dist();
828
- init_icons();
866
+ init_global();
867
+ init__storybook_global_lucide_react();
829
868
  init_manager_api();
830
869
  init_menu();
831
870
  init_keybinding();
@@ -833,7 +872,7 @@ function init_settings() {
833
872
  init_ShortcutsPage();
834
873
  init_whats_new_page();
835
874
  init_index_module();
836
- ({document: document$2} = scope);
875
+ ({document: document$2} = global);
837
876
  RouteWrapper = ({ children, path }) => {
838
877
  return /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
839
878
  className: index_module_default.content,
@@ -885,7 +924,7 @@ function init_settings() {
885
924
  return onClose();
886
925
  },
887
926
  ariaLabel: "Close settings page"
888
- }, /* @__PURE__ */ _storybook_global_react_default.createElement(CloseIcon, null))),
927
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement(XIcon, null))),
889
928
  selected,
890
929
  onSelectionChange: changeTab
891
930
  });
@@ -922,13 +961,14 @@ function init_runtime() {
922
961
  init__storybook_global_react();
923
962
  init_channels();
924
963
  init_core_events();
925
- init_dist();
926
- init_icons();
964
+ init_global();
965
+ init__storybook_global_lucide_react();
927
966
  init_manager_api();
928
967
  init_theming();
929
968
  init_ToolbarManager();
930
969
  init_constants();
931
970
  init_manager();
971
+ init_root_page();
932
972
  init_provider();
933
973
  WS_DISCONNECTED_NOTIFICATION_ID = "CORE/WS_DISCONNECTED";
934
974
  addons.register(TOOLBAR_ID, () => addons.add(TOOLBAR_ID, {
@@ -936,6 +976,10 @@ function init_runtime() {
936
976
  type: types.TOOL,
937
977
  render: () => /* @__PURE__ */ _storybook_global_react_default.createElement(ToolbarManager, null)
938
978
  }));
979
+ addons.register("forkbook/root-page", (api) => {
980
+ const { mdxImportPath } = getRootPage();
981
+ if (mdxImportPath) api.setFilter("forkbook-root-mdx", (entry) => entry.importPath !== mdxImportPath);
982
+ });
939
983
  channel = createBrowserChannel({ page: "manager" });
940
984
  addons.setChannel(channel);
941
985
  channel.emit(CHANNEL_CREATED);
@@ -962,13 +1006,13 @@ function init_runtime() {
962
1006
  headline: "Connection lost",
963
1007
  subHeadline: "Please restart your Forkbook server and reload the page"
964
1008
  },
965
- icon: /* @__PURE__ */ _storybook_global_react_default.createElement(FailedIcon, { color: color.negative }),
1009
+ icon: /* @__PURE__ */ _storybook_global_react_default.createElement(CircleXIcon, { color: color.negative }),
966
1010
  link: void 0
967
1011
  });
968
1012
  });
969
1013
  }
970
1014
  };
971
- ({document: document$1} = scope);
1015
+ ({document: document$1} = global);
972
1016
  rootEl = document$1.getElementById("root");
973
1017
  setTimeout(() => {
974
1018
  renderStorybookUI(rootEl, new ReactProvider());
@@ -976,4 +1020,4 @@ function init_runtime() {
976
1020
  })))();
977
1021
  }
978
1022
  //#endregion
979
- export { getStateType as C, scrollIntoView as D, isStoryHoistable as E, searchItem as O, getLink as S, isAncestor as T, statusPriority as _, init_provider as a, getAncestorIds as b, matchesModifiers as c, getGroupStatus as d, getMostCriticalStatusValue as f, shouldShowChangeStatus as g, init_status as h, Provider as i, getChangeDetectionStatus as l, getStatus as m, init_settings as n, init_keybinding as o, getSidebarVisibleStatus as p, settingsPageAddon as r, matchesKeyCode as s, init_runtime as t, getGroupDualStatus as u, createId as v, init_tree as w, getDescendantIds as x, cycle as y };
1023
+ export { init_root_page as A, getLink as C, scrollIntoView as D, isAncestor as E, searchItem as O, getHoistedComponents as S, init_tree as T, statusPriority as _, init_provider as a, getAncestorIds as b, matchesModifiers as c, getGroupStatus as d, getMostCriticalStatusValue as f, shouldShowChangeStatus as g, init_status as h, Provider as i, thumbnailSrc as j, getRootPage as k, getChangeDetectionStatus as l, getStatus as m, init_settings as n, init_keybinding as o, getSidebarVisibleStatus as p, settingsPageAddon as r, matchesKeyCode as s, init_runtime as t, getGroupDualStatus as u, createId as v, getStateType as w, getDescendantIds as x, cycle as y };