@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,14 +1,13 @@
1
1
  import { a as __toESM, n as __esmMin, r as __exportAll } from "./globals-runtime-BdGkqNEt.js";
2
- import { A as unknown, C as object, D as safeInteger, E as record, O as safeParse, S as number, T as pipe, U as dedent, W as init_esm, _ as custom, b as minLength, f as T, g as check, h as array, j as variant, k as string, p as init_dist$1, v as init_dist, w as optional, x as minValue, y as literal } from "./globals-runtime-ALpzCL93.js";
3
- import { $ as once, Q as logger, Y as init_core_events, Z as init_client_logger, c as init_channel_slot, et as Channel, h as NAVIGATE_URL, o as init_channels, s as getChannel } from "./globals-runtime-DMvB3-IM.js";
4
- import { m as scope, p as init_dist$2 } from "./globals-runtime-DCOX9nD5.js";
5
- import { E as parse, S as init_main$1, _ as curriedOpacify$1, b as init_index_browser, c as Link$1, d as Router, g as curriedLighten$1, h as curriedDarken$1, j as require_react, l as init_dist$4, m as useNavigate$1, p as useLocation, s as BrowserRouter, u as MemoryRouter$1, v as init_polished_esm, w as stringify, x as nanoid, y as rgba } from "./globals-runtime-D_YKR9nf.js";
6
- import { C as Assertion, D as use, E as init_chai, K as init_isEqual, M as init_deepsignal_core_module, N as l, O as utils_exports, T as expect$2, X as require_memoizerific, Y as isPlainObject$2, j as g, n as deletedDiff, q as isEqual, r as init_deleted, w as assert } from "./globals-runtime-m07udJ_K.js";
2
+ import { C as pipe, D as string, E as safeParse, H as init_esm, O as unknown, S as optional, T as safeInteger, V as dedent, _ as literal, b as number, d as init_dist$1, g as init_dist, h as custom, k as variant, m as check, p as array, u as T, v as minLength, w as record, x as object, y as minValue } from "./globals-runtime-DB8fVA5g.js";
3
+ import { $ as once, Q as logger, Y as init_core_events, Z as init_client_logger, c as init_channel_slot, et as Channel, h as NAVIGATE_URL, o as init_channels, s as getChannel } from "./globals-runtime-DMq1Phbl.js";
4
+ import { D as init_main$1, E as nanoid, L as require_react, N as require_memoizerific, T as init_index_browser, _ as curriedOpacify$1, c as Link$1, d as Router, g as curriedLighten$1, h as curriedDarken$1, j as parse, k as stringify, l as init_dist$3, m as useNavigate$1, p as useLocation, s as BrowserRouter, u as MemoryRouter$1, v as init_polished_esm, y as rgba } from "./globals-runtime-Bpc_ftuT.js";
5
+ import { C as use, D as l, E as init_deepsignal_core_module, R as init_isEqual, S as init_chai, T as g, V as isPlainObject$2, b as assert, n as deletedDiff, r as init_deleted, w as utils_exports, x as expect$2, y as Assertion, z as isEqual } from "./globals-runtime-kmPSyf3j.js";
7
6
  import { i as j, n as g$1, o as n, r as init_signals_core_module, s as y, t as f } from "./globals-runtime-BMCaBukU.js";
8
- import { a as customMatchers, c as setState, d as isMockFunction, f as mocks, i as JestExtend, l as fn$1, n as JestAsymmetricMatchers, o as getState, p as spyOn$1, r as JestChaiExpect, s as init_dist$5, t as GLOBAL_EXPECT, u as init_dist$6 } from "./globals-runtime-CF4o9_wT.js";
9
- import { a as matchers_exports, i as init_matchers, r as userEvent$1, t as init_esm$1 } from "./globals-runtime-DqNrRmOM.js";
10
- import { r as init_dom_esm, t as dom_esm_exports } from "./globals-runtime-Bon7UvQk.js";
11
- import { C as init_manager_errors, S as UniversalStoreFollowerTimeoutError, _ as StatusTypeIdMismatchError$2, b as OpenServiceStaticSnapshotLoadError, c as init_instrumenter, i as init_manager_api, l as instrument, m as addons, v as init_preview_errors, x as StatusTypeIdMismatchError$1, y as OpenServiceStaticSnapshotInvalidError } from "./globals-runtime-Cr3nYYcT.js";
7
+ import { a as customMatchers, c as setState, d as isMockFunction, f as mocks, i as JestExtend, l as fn$1, n as JestAsymmetricMatchers, o as getState, p as spyOn$1, r as JestChaiExpect, s as init_dist$4, t as GLOBAL_EXPECT, u as init_dist$5 } from "./globals-runtime-D82vqOGq.js";
8
+ import { a as matchers_exports, i as init_matchers, r as init_dom_esm, t as dom_esm_exports } from "./globals-runtime-DOPUchia.js";
9
+ import { r as userEvent$1, t as init_esm$1 } from "./globals-runtime-CoCzM1V_.js";
10
+ import { C as init_manager_errors, S as UniversalStoreFollowerTimeoutError, _ as StatusTypeIdMismatchError$2, b as OpenServiceStaticSnapshotLoadError, c as init_instrumenter, i as init_manager_api, l as instrument, m as addons, v as init_preview_errors, x as StatusTypeIdMismatchError$1, y as OpenServiceStaticSnapshotInvalidError } from "./globals-runtime-CI_p54Ha.js";
12
11
  //#region src/storybook-error.ts
13
12
  function parseErrorCode({ code, category }) {
14
13
  return `FB_${category}_${String(code).padStart(4, "0")}`;
@@ -490,6 +489,14 @@ function init_universal_store() {
490
489
  })))();
491
490
  }
492
491
  //#endregion
492
+ //#region src/shared/global.ts
493
+ var global;
494
+ function init_global() {
495
+ return (init_global = __esmMin((() => {
496
+ global = globalThis;
497
+ })))();
498
+ }
499
+ //#endregion
493
500
  //#region src/shared/utils/local-hosts.ts
494
501
  var LOOPBACK_HOSTNAMES, matchesHostname;
495
502
  function init_local_hosts() {
@@ -556,12 +563,12 @@ function init_announce() {
556
563
  //#endregion
557
564
  //#region src/shared/useCopyButton.ts
558
565
  function useCopyButton({ children = "Copy", childrenOnCopy = "Copied!", content, onCopy, ariaLabel = false, ariaLabelOnCopy = false, duration = 3e3 }) {
559
- const [copied, setCopied] = (0, import_react$5.useState)(false);
560
- const timerRef = (0, import_react$5.useRef)(null);
561
- (0, import_react$5.useEffect)(() => () => {
566
+ const [copied, setCopied] = (0, import_react$6.useState)(false);
567
+ const timerRef = (0, import_react$6.useRef)(null);
568
+ (0, import_react$6.useEffect)(() => () => {
562
569
  if (timerRef.current) clearTimeout(timerRef.current);
563
570
  }, []);
564
- const handleClick = (0, import_react$5.useCallback)((e) => {
571
+ const handleClick = (0, import_react$6.useCallback)((e) => {
565
572
  if (timerRef.current) clearTimeout(timerRef.current);
566
573
  const announcement = typeof ariaLabelOnCopy === "string" ? ariaLabelOnCopy : "Copied to clipboard";
567
574
  navigator.clipboard?.writeText(content).then(() => {
@@ -582,7 +589,7 @@ function useCopyButton({ children = "Copy", childrenOnCopy = "Copied!", content,
582
589
  ]);
583
590
  return {
584
591
  children: copied ? childrenOnCopy : children,
585
- buttonProps: (0, import_react$5.useMemo)(() => ({
592
+ buttonProps: (0, import_react$6.useMemo)(() => ({
586
593
  onClick: handleClick,
587
594
  ariaLabel: copied ? ariaLabelOnCopy : ariaLabel
588
595
  }), [
@@ -593,10 +600,10 @@ function useCopyButton({ children = "Copy", childrenOnCopy = "Copied!", content,
593
600
  ])
594
601
  };
595
602
  }
596
- var import_react$5;
603
+ var import_react$6;
597
604
  function init_useCopyButton() {
598
605
  return (init_useCopyButton = __esmMin((() => {
599
- import_react$5 = require_react();
606
+ import_react$6 = require_react();
600
607
  init_announce();
601
608
  })))();
602
609
  }
@@ -3573,7 +3580,7 @@ var expect$1;
3573
3580
  function init_expect() {
3574
3581
  return (init_expect = __esmMin((() => {
3575
3582
  init_matchers();
3576
- init_dist$5();
3583
+ init_dist$4();
3577
3584
  init_chai();
3578
3585
  expect$1 = createExpect();
3579
3586
  // @vitest/expect expects this to be set
@@ -3643,7 +3650,7 @@ function mocked(item, _options = {}) {
3643
3650
  var moduleMockSpies, listeners, spyOn;
3644
3651
  function init_spy() {
3645
3652
  return (init_spy = __esmMin((() => {
3646
- init_dist$6();
3653
+ init_dist$5();
3647
3654
  init_dist$1();
3648
3655
  moduleMockSpies = globalThis.__FORKBOOK_MODULE_MOCK_SPIES__ ??= /* @__PURE__ */ new Set();
3649
3656
  listeners = /* @__PURE__ */ new Set();
@@ -3846,7 +3853,7 @@ function init_base() {
3846
3853
  content: color.lightest,
3847
3854
  preview: color.lightest,
3848
3855
  gridCellSize: 10,
3849
- hoverable: "#E5F1FF",
3856
+ hoverable: "#E5E5EA",
3850
3857
  positive: "#EAF9EE",
3851
3858
  warning: "#FFF4E5",
3852
3859
  negative: "#FFEBEA",
@@ -3978,7 +3985,7 @@ function init_dark() {
3978
3985
  colorSecondary: "#0A84FF",
3979
3986
  appBg: "#000000",
3980
3987
  appContentBg: "#1C1C1E",
3981
- appHoverBg: "#0B2D52",
3988
+ appHoverBg: "#2C2C2E",
3982
3989
  appPreviewBg: color.lightest,
3983
3990
  appBorderColor: border,
3984
3991
  appBorderRadius: 4,
@@ -3988,7 +3995,7 @@ function init_dark() {
3988
3995
  textInverseColor: "#1C1C1E",
3989
3996
  textMutedColor: "#98989F",
3990
3997
  barTextColor: "#98989F",
3991
- barHoverColor: "#409CFF",
3998
+ barHoverColor: "#F2F2F7",
3992
3999
  barSelectedColor: "#0A84FF",
3993
4000
  barBg: "#1C1C1E",
3994
4001
  buttonBg: "#2C2C2E",
@@ -4024,7 +4031,7 @@ function init_light() {
4024
4031
  textInverseColor: color.lightest,
4025
4032
  textMutedColor: color.dark,
4026
4033
  barTextColor: color.dark,
4027
- barHoverColor: "#0062CC",
4034
+ barHoverColor: color.darkest,
4028
4035
  barSelectedColor: color.secondary,
4029
4036
  barBg: color.lightest,
4030
4037
  buttonBg: background.app,
@@ -4044,9 +4051,9 @@ var globalWindow, isColorString, isValidColorForPolished, applyPolished, colorFa
4044
4051
  function init_utils() {
4045
4052
  return (init_utils = __esmMin((() => {
4046
4053
  init_client_logger();
4047
- init_dist$2();
4054
+ init_global();
4048
4055
  init_polished_esm();
4049
- ({window: globalWindow} = scope);
4056
+ ({window: globalWindow} = global);
4050
4057
  isColorString = (color) => {
4051
4058
  if (typeof color !== "string") {
4052
4059
  logger.warn(`Color passed to theme object should be a string. Instead ${color}(${typeof color}) was passed.`);
@@ -4259,7 +4266,7 @@ function init_utils$1() {
4259
4266
  //#endregion
4260
4267
  //#region src/router/router.tsx
4261
4268
  function Match({ children, path: targetPath, startsWith = false }) {
4262
- return /* @__PURE__ */ import_react$4.default.createElement(Location, null, ({ path: urlPath, ...rest }) => children({
4269
+ return /* @__PURE__ */ import_react$5.default.createElement(Location, null, ({ path: urlPath, ...rest }) => children({
4263
4270
  match: getMatch(urlPath, targetPath, startsWith),
4264
4271
  ...rest
4265
4272
  }));
@@ -4268,22 +4275,22 @@ function Route(input) {
4268
4275
  const { children, ...rest } = input;
4269
4276
  if (rest.startsWith === void 0) rest.startsWith = false;
4270
4277
  const matchProps = rest;
4271
- return /* @__PURE__ */ import_react$4.default.createElement(Match, matchProps, ({ match }) => match ? children : null);
4278
+ return /* @__PURE__ */ import_react$5.default.createElement(Match, matchProps, ({ match }) => match ? children : null);
4272
4279
  }
4273
- var import_react$4, document$1, getBase, useNavigate, Link, Location, LocationProvider, BaseLocationProvider, MemoryRouter;
4280
+ var import_react$5, document$1, getBase, useNavigate, Link, Location, LocationProvider, BaseLocationProvider, MemoryRouter;
4274
4281
  function init_router() {
4275
4282
  return (init_router = __esmMin((() => {
4276
- import_react$4 = /* @__PURE__ */ __toESM(require_react(), 1);
4277
- init_dist$2();
4278
- init_dist$4();
4283
+ import_react$5 = /* @__PURE__ */ __toESM(require_react(), 1);
4284
+ init_global();
4285
+ init_dist$3();
4279
4286
  init_core_events();
4280
4287
  init_manager_api();
4281
4288
  init_utils$1();
4282
- ({document: document$1} = scope);
4289
+ ({document: document$1} = global);
4283
4290
  getBase = () => `${document$1.location.pathname}?`;
4284
4291
  useNavigate = () => {
4285
4292
  const navigate = useNavigate$1();
4286
- return (0, import_react$4.useCallback)((to, { plain, ...options } = {}) => {
4293
+ return (0, import_react$5.useCallback)((to, { plain, ...options } = {}) => {
4287
4294
  if (typeof to === "string" && to.startsWith("#")) return navigate(`${document$1.location.search}${to === "#" ? "" : to}`, options);
4288
4295
  if (typeof to === "string") {
4289
4296
  const target = plain ? to : `?path=${to}`;
@@ -4297,7 +4304,7 @@ function init_router() {
4297
4304
  if (typeof to === "number") return navigate(to);
4298
4305
  }, []);
4299
4306
  };
4300
- Link = ({ to, children, ...rest }) => /* @__PURE__ */ import_react$4.default.createElement(Link$1, {
4307
+ Link = ({ to, children, ...rest }) => /* @__PURE__ */ import_react$5.default.createElement(Link$1, {
4301
4308
  to: `${getBase()}path=${to}`,
4302
4309
  ...rest
4303
4310
  }, children);
@@ -4306,7 +4313,7 @@ function init_router() {
4306
4313
  const location = useLocation();
4307
4314
  const { path = "", singleStory } = queryFromLocation(location);
4308
4315
  const { viewMode, storyId, refId } = parsePath(path);
4309
- return /* @__PURE__ */ import_react$4.default.createElement(import_react$4.default.Fragment, null, children({
4316
+ return /* @__PURE__ */ import_react$5.default.createElement(import_react$5.default.Fragment, null, children({
4310
4317
  path: path || "/",
4311
4318
  location,
4312
4319
  viewMode,
@@ -4350,14 +4357,14 @@ function init_router$1() {
4350
4357
  }
4351
4358
  //#endregion
4352
4359
  //#region src/shared/universal-store/use-universal-store-manager.ts
4353
- var import_react$3, useUniversalStore;
4360
+ var import_react$4, useUniversalStore;
4354
4361
  function init_use_universal_store_manager() {
4355
4362
  return (init_use_universal_store_manager = __esmMin((() => {
4356
- import_react$3 = /* @__PURE__ */ __toESM(require_react(), 1);
4363
+ import_react$4 = /* @__PURE__ */ __toESM(require_react(), 1);
4357
4364
  init_isEqual();
4358
4365
  useUniversalStore = (universalStore, selector) => {
4359
- const snapshotRef = import_react$3.useRef(selector ? selector(universalStore.getState()) : universalStore.getState());
4360
- const subscribe = import_react$3.useCallback((listener) => universalStore.onStateChange((state, previousState) => {
4366
+ const snapshotRef = import_react$4.useRef(selector ? selector(universalStore.getState()) : universalStore.getState());
4367
+ const subscribe = import_react$4.useCallback((listener) => universalStore.onStateChange((state, previousState) => {
4361
4368
  if (!selector) {
4362
4369
  snapshotRef.current = state;
4363
4370
  listener();
@@ -4370,14 +4377,14 @@ function init_use_universal_store_manager() {
4370
4377
  listener();
4371
4378
  }
4372
4379
  }), [universalStore, selector]);
4373
- const getSnapshot = import_react$3.useCallback(() => {
4380
+ const getSnapshot = import_react$4.useCallback(() => {
4374
4381
  const currentState = universalStore.getState();
4375
4382
  const selectedState = selector ? selector(currentState) : currentState;
4376
4383
  if (isEqual(selectedState, snapshotRef.current)) return snapshotRef.current;
4377
4384
  snapshotRef.current = selectedState;
4378
4385
  return snapshotRef.current;
4379
4386
  }, [universalStore, selector]);
4380
- return [import_react$3.useSyncExternalStore(subscribe, getSnapshot), universalStore.setState];
4387
+ return [import_react$4.useSyncExternalStore(subscribe, getSnapshot), universalStore.setState];
4381
4388
  };
4382
4389
  })))();
4383
4390
  }
@@ -4520,19 +4527,19 @@ function init_test_provider_store() {
4520
4527
  * ```
4521
4528
  */
4522
4529
  function useServiceCommand(service, commandName) {
4523
- return import_react$2.useMemo(() => service.commands[commandName], [service, commandName]);
4530
+ return import_react$3.useMemo(() => service.commands[commandName], [service, commandName]);
4524
4531
  }
4525
- var import_react$2;
4532
+ var import_react$3;
4526
4533
  function init_use_service_command() {
4527
4534
  return (init_use_service_command = __esmMin((() => {
4528
- import_react$2 = /* @__PURE__ */ __toESM(require_react(), 1);
4535
+ import_react$3 = /* @__PURE__ */ __toESM(require_react(), 1);
4529
4536
  })))();
4530
4537
  }
4531
4538
  //#endregion
4532
4539
  //#region src/shared/open-service/use-service-query.ts
4533
4540
  function useServiceQuery(query, input, selector) {
4534
- const subscriptionKeyRef = import_react$1.useRef(null);
4535
- const snapshotRef = import_react$1.useRef(void 0);
4541
+ const subscriptionKeyRef = import_react$2.useRef(null);
4542
+ const snapshotRef = import_react$2.useRef(void 0);
4536
4543
  if (subscriptionKeyRef.current === null || subscriptionKeyRef.current.query !== query || !isEqual(subscriptionKeyRef.current.input, input) || subscriptionKeyRef.current.selector !== selector) {
4537
4544
  subscriptionKeyRef.current = {
4538
4545
  query,
@@ -4542,7 +4549,7 @@ function useServiceQuery(query, input, selector) {
4542
4549
  snapshotRef.current = selector ? seedQueryState(query, input, selector) : seedQueryState(query, input);
4543
4550
  }
4544
4551
  const subscriptionKey = subscriptionKeyRef.current;
4545
- const subscribe = import_react$1.useCallback((listener) => {
4552
+ const subscribe = import_react$2.useCallback((listener) => {
4546
4553
  const { query: q, input: i, selector: s } = subscriptionKey;
4547
4554
  const onQueryState = (queryState) => {
4548
4555
  snapshotRef.current = queryState;
@@ -4550,15 +4557,15 @@ function useServiceQuery(query, input, selector) {
4550
4557
  };
4551
4558
  return s ? q.subscribe(i, s, onQueryState) : q.subscribe(i, onQueryState);
4552
4559
  }, [subscriptionKey]);
4553
- const getSnapshot = import_react$1.useCallback(() => {
4560
+ const getSnapshot = import_react$2.useCallback(() => {
4554
4561
  return snapshotRef.current;
4555
4562
  }, []);
4556
- return import_react$1.useSyncExternalStore(subscribe, getSnapshot);
4563
+ return import_react$2.useSyncExternalStore(subscribe, getSnapshot);
4557
4564
  }
4558
- var import_react$1;
4565
+ var import_react$2;
4559
4566
  function init_use_service_query() {
4560
4567
  return (init_use_service_query = __esmMin((() => {
4561
- import_react$1 = /* @__PURE__ */ __toESM(require_react(), 1);
4568
+ import_react$2 = /* @__PURE__ */ __toESM(require_react(), 1);
4562
4569
  init_isEqual();
4563
4570
  })))();
4564
4571
  }
@@ -4588,6 +4595,66 @@ function init_manager() {
4588
4595
  })))();
4589
4596
  }
4590
4597
  //#endregion
4598
+ //#region src/shared/use-sync-external-store/shim.ts
4599
+ function init_shim() {
4600
+ return (init_shim = __esmMin((() => {})))();
4601
+ }
4602
+ //#endregion
4603
+ //#region src/shared/use-sync-external-store/with-selector.ts
4604
+ function useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
4605
+ const instRef = (0, import_react$1.useRef)(null);
4606
+ if (instRef.current === null) instRef.current = {
4607
+ hasValue: false,
4608
+ value: null
4609
+ };
4610
+ const inst = instRef.current;
4611
+ const [getSelection, getServerSelection] = (0, import_react$1.useMemo)(() => {
4612
+ let hasMemo = false;
4613
+ let memoizedSnapshot;
4614
+ let memoizedSelection;
4615
+ const memoizedSelector = (nextSnapshot) => {
4616
+ if (!hasMemo) {
4617
+ hasMemo = true;
4618
+ memoizedSnapshot = nextSnapshot;
4619
+ const nextSelection = selector(nextSnapshot);
4620
+ if (isEqual !== void 0 && inst.hasValue) {
4621
+ const currentSelection = inst.value;
4622
+ if (isEqual(currentSelection, nextSelection)) return memoizedSelection = currentSelection;
4623
+ }
4624
+ return memoizedSelection = nextSelection;
4625
+ }
4626
+ const currentSelection = memoizedSelection;
4627
+ if (Object.is(memoizedSnapshot, nextSnapshot)) return currentSelection;
4628
+ const nextSelection = selector(nextSnapshot);
4629
+ if (isEqual !== void 0 && isEqual(currentSelection, nextSelection)) {
4630
+ memoizedSnapshot = nextSnapshot;
4631
+ return currentSelection;
4632
+ }
4633
+ memoizedSnapshot = nextSnapshot;
4634
+ return memoizedSelection = nextSelection;
4635
+ };
4636
+ return [() => memoizedSelector(getSnapshot()), getServerSnapshot == null ? void 0 : () => memoizedSelector(getServerSnapshot())];
4637
+ }, [
4638
+ getSnapshot,
4639
+ getServerSnapshot,
4640
+ selector,
4641
+ isEqual
4642
+ ]);
4643
+ const value = (0, import_react$1.useSyncExternalStore)(subscribe, getSelection, getServerSelection);
4644
+ (0, import_react$1.useEffect)(() => {
4645
+ inst.hasValue = true;
4646
+ inst.value = value;
4647
+ }, [value]);
4648
+ (0, import_react$1.useDebugValue)(value);
4649
+ return value;
4650
+ }
4651
+ var import_react$1;
4652
+ function init_with_selector() {
4653
+ return (init_with_selector = __esmMin((() => {
4654
+ import_react$1 = require_react();
4655
+ })))();
4656
+ }
4657
+ //#endregion
4591
4658
  //#region src/theming/modules/syntax.ts
4592
4659
  var chromeDark, chromeLight, create;
4593
4660
  function init_syntax() {
@@ -4895,8 +4962,8 @@ function init_ThemeProvider() {
4895
4962
  //#endregion
4896
4963
  //#region src/theming/global.ts
4897
4964
  var resetCss, globalCss;
4898
- function init_global() {
4899
- return (init_global = __esmMin((() => {
4965
+ function init_global$1() {
4966
+ return (init_global$1 = __esmMin((() => {
4900
4967
  init_base();
4901
4968
  resetCss = `
4902
4969
  body {
@@ -4913,6 +4980,26 @@ body {
4913
4980
  box-sizing: border-box;
4914
4981
  }
4915
4982
 
4983
+ /* Thin, neutral scrollbars everywhere (panels, docs, code blocks). */
4984
+ * {
4985
+ scrollbar-width: thin;
4986
+ scrollbar-color: rgb(120 120 128 / 0.45) transparent;
4987
+ }
4988
+
4989
+ ::-webkit-scrollbar {
4990
+ width: 5px;
4991
+ height: 5px;
4992
+ }
4993
+
4994
+ ::-webkit-scrollbar-track {
4995
+ background: transparent;
4996
+ }
4997
+
4998
+ ::-webkit-scrollbar-thumb {
4999
+ background: rgb(120 120 128 / 0.45);
5000
+ border-radius: 5px;
5001
+ }
5002
+
4916
5003
  h1, h2, h3, h4, h5, h6 {
4917
5004
  font-weight: ${typography.weight.regular};
4918
5005
  margin: 0;
@@ -5083,7 +5170,7 @@ function init_theming() {
5083
5170
  init_base();
5084
5171
  init_ThemeProvider();
5085
5172
  init_css_vars();
5086
- init_global();
5173
+ init_global$1();
5087
5174
  init_create();
5088
5175
  init_convert();
5089
5176
  init_ensure();
@@ -5091,4 +5178,4 @@ function init_theming() {
5091
5178
  })))();
5092
5179
  }
5093
5180
  //#endregion
5094
- export { clearAnnouncer as $, create_exports as A, init_events as B, router_exports as C, init_routes as D, queryFromLocation as E, Tag as F, countStatusesByValue as G, NON_AGGREGATED_STATUS_TYPE_IDS as H, USER_TAG_FILTER as I, statusValueShortName as J, createStatusStore as K, init_tags as L, init_test as M, test_exports as N, isReviewManagerRoute as O, BUILT_IN_FILTERS as P, announce as Q, REVIEW_EVENTS as R, init_router$1 as S, init_utils$1 as T, REVIEW_STATUS_TYPE_ID as U, CHANGE_DETECTION_STATUS_TYPE_ID as V, UNIVERSAL_STATUS_STORE_OPTIONS as W, init_useCopyButton as X, toStatusValue as Y, useCopyButton as Z, init_test_provider_store as _, useTheme as a, UniversalStore as at, init_use_universal_store_manager as b, getService as c, init_storybook_error as ct, init_use_service_query as d, destroyAnnouncer as et, useServiceQuery as f, createTestProviderStore as g, UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS as h, init_ThemeProvider as i, matchesHostname as it, init_create as j, create$1 as k, init_manager as l, useServiceCommand as m, theming_exports as n, LOOPBACK_HOSTNAMES as nt, init_css_vars as o, init_universal_store as ot, init_use_service_command as p, init_status_store as q, ThemeProvider as r, init_local_hosts as rt, themeToCssVars as s, StorybookError as st, init_theming as t, init_announce as tt, registerService as u, MockUniversalStore as v, buildArgsParam as w, useUniversalStore as x, init_mock as y, REVIEW_NAMESPACE as z };
5181
+ export { init_useCopyButton as $, init_routes as A, init_tags as B, init_use_universal_store_manager as C, buildArgsParam as D, router_exports as E, init_test as F, NON_AGGREGATED_STATUS_TYPE_IDS as G, REVIEW_NAMESPACE as H, test_exports as I, countStatusesByValue as J, REVIEW_STATUS_TYPE_ID as K, BUILT_IN_FILTERS as L, create$1 as M, create_exports as N, init_utils$1 as O, init_create as P, toStatusValue as Q, Tag as R, init_mock as S, init_router$1 as T, init_events as U, REVIEW_EVENTS as V, CHANGE_DETECTION_STATUS_TYPE_ID as W, init_status_store as X, createStatusStore as Y, statusValueShortName as Z, useServiceCommand as _, useTheme as a, LOOPBACK_HOSTNAMES as at, init_test_provider_store as b, init_with_selector as c, global as ct, getService as d, init_universal_store as dt, useCopyButton as et, init_manager as f, StorybookError as ft, init_use_service_command as g, useServiceQuery as h, init_ThemeProvider as i, init_announce as it, isReviewManagerRoute as j, queryFromLocation as k, useSyncExternalStoreWithSelector as l, init_global as lt, init_use_service_query as m, theming_exports as n, clearAnnouncer as nt, init_css_vars as o, init_local_hosts as ot, registerService as p, init_storybook_error as pt, UNIVERSAL_STATUS_STORE_OPTIONS as q, ThemeProvider as r, destroyAnnouncer as rt, themeToCssVars as s, matchesHostname as st, init_theming as t, announce as tt, init_shim as u, UniversalStore as ut, UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS as v, useUniversalStore as w, MockUniversalStore as x, createTestProviderStore as y, USER_TAG_FILTER as z };
@@ -1,5 +1,6 @@
1
1
  import { n as __esmMin } from "./globals-runtime-BdGkqNEt.js";
2
- import { A as inspect$2, D as use, E as init_chai, O as utils_exports, k as init_lib } from "./globals-runtime-m07udJ_K.js";
2
+ import { C as init_lib, w as inspect$2 } from "./globals-runtime-Bpc_ftuT.js";
3
+ import { C as use, S as init_chai, w as utils_exports } from "./globals-runtime-kmPSyf3j.js";
3
4
  //#region ../../node_modules/@vitest/pretty-format/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
4
5
  function a$3(n) {
5
6
  return String(n);
@@ -1,6 +1,5 @@
1
1
  import { a as __toESM$1, n as __esmMin, r as __exportAll, t as __commonJSMin } from "./globals-runtime-BdGkqNEt.js";
2
- import { j as require_react } from "./globals-runtime-D_YKR9nf.js";
3
- import { S as require_min_indent, x as require_indent_string } from "./globals-runtime-m07udJ_K.js";
2
+ import { L as require_react, S as require_min_indent, x as require_indent_string } from "./globals-runtime-Bpc_ftuT.js";
4
3
  //#region ../../node_modules/ts-dedent/esm/index.js
5
4
  function dedent(templ) {
6
5
  var values = [];
@@ -7454,148 +7453,6 @@ var require_store2 = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) =>
7454
7453
  })(this$1, this$1 && this$1.define);
7455
7454
  }));
7456
7455
  //#endregion
7457
- //#region ../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
7458
- /**
7459
- * @license React
7460
- * use-sync-external-store-shim.production.js
7461
- *
7462
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7463
- *
7464
- * This source code is licensed under the MIT license found in the
7465
- * LICENSE file in the root directory of this source tree.
7466
- */
7467
- var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
7468
- var React = require_react();
7469
- function is(x, y) {
7470
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
7471
- }
7472
- var objectIs = "function" === typeof Object.is ? Object.is : is;
7473
- var useState = React.useState;
7474
- var useEffect = React.useEffect;
7475
- var useLayoutEffect = React.useLayoutEffect;
7476
- var useDebugValue = React.useDebugValue;
7477
- function useSyncExternalStore$2(subscribe, getSnapshot) {
7478
- var value = getSnapshot(), _useState = useState({ inst: {
7479
- value,
7480
- getSnapshot
7481
- } }), inst = _useState[0].inst, forceUpdate = _useState[1];
7482
- useLayoutEffect(function() {
7483
- inst.value = value;
7484
- inst.getSnapshot = getSnapshot;
7485
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
7486
- }, [
7487
- subscribe,
7488
- value,
7489
- getSnapshot
7490
- ]);
7491
- useEffect(function() {
7492
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
7493
- return subscribe(function() {
7494
- checkIfSnapshotChanged(inst) && forceUpdate({ inst });
7495
- });
7496
- }, [subscribe]);
7497
- useDebugValue(value);
7498
- return value;
7499
- }
7500
- function checkIfSnapshotChanged(inst) {
7501
- var latestGetSnapshot = inst.getSnapshot;
7502
- inst = inst.value;
7503
- try {
7504
- var nextValue = latestGetSnapshot();
7505
- return !objectIs(inst, nextValue);
7506
- } catch (error) {
7507
- return !0;
7508
- }
7509
- }
7510
- function useSyncExternalStore$1(subscribe, getSnapshot) {
7511
- return getSnapshot();
7512
- }
7513
- var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
7514
- exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
7515
- }));
7516
- //#endregion
7517
- //#region ../../node_modules/use-sync-external-store/shim/index.js
7518
- var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7519
- module.exports = require_use_sync_external_store_shim_production();
7520
- }));
7521
- //#endregion
7522
- //#region ../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
7523
- /**
7524
- * @license React
7525
- * use-sync-external-store-shim/with-selector.production.js
7526
- *
7527
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7528
- *
7529
- * This source code is licensed under the MIT license found in the
7530
- * LICENSE file in the root directory of this source tree.
7531
- */
7532
- var require_with_selector_production = /* @__PURE__ */ __commonJSMin(((exports) => {
7533
- var React = require_react();
7534
- var shim = require_shim();
7535
- function is(x, y) {
7536
- return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
7537
- }
7538
- var objectIs = "function" === typeof Object.is ? Object.is : is;
7539
- var useSyncExternalStore = shim.useSyncExternalStore;
7540
- var useRef = React.useRef;
7541
- var useEffect = React.useEffect;
7542
- var useMemo = React.useMemo;
7543
- var useDebugValue = React.useDebugValue;
7544
- exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
7545
- var instRef = useRef(null);
7546
- if (null === instRef.current) {
7547
- var inst = {
7548
- hasValue: !1,
7549
- value: null
7550
- };
7551
- instRef.current = inst;
7552
- } else inst = instRef.current;
7553
- instRef = useMemo(function() {
7554
- function memoizedSelector(nextSnapshot) {
7555
- if (!hasMemo) {
7556
- hasMemo = !0;
7557
- memoizedSnapshot = nextSnapshot;
7558
- nextSnapshot = selector(nextSnapshot);
7559
- if (void 0 !== isEqual && inst.hasValue) {
7560
- var currentSelection = inst.value;
7561
- if (isEqual(currentSelection, nextSnapshot)) return memoizedSelection = currentSelection;
7562
- }
7563
- return memoizedSelection = nextSnapshot;
7564
- }
7565
- currentSelection = memoizedSelection;
7566
- if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
7567
- var nextSelection = selector(nextSnapshot);
7568
- if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) return memoizedSnapshot = nextSnapshot, currentSelection;
7569
- memoizedSnapshot = nextSnapshot;
7570
- return memoizedSelection = nextSelection;
7571
- }
7572
- var hasMemo = !1, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
7573
- return [function() {
7574
- return memoizedSelector(getSnapshot());
7575
- }, null === maybeGetServerSnapshot ? void 0 : function() {
7576
- return memoizedSelector(maybeGetServerSnapshot());
7577
- }];
7578
- }, [
7579
- getSnapshot,
7580
- getServerSnapshot,
7581
- selector,
7582
- isEqual
7583
- ]);
7584
- var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
7585
- useEffect(function() {
7586
- inst.hasValue = !0;
7587
- inst.value = value;
7588
- }, [value]);
7589
- useDebugValue(value);
7590
- return value;
7591
- };
7592
- }));
7593
- //#endregion
7594
- //#region ../../node_modules/use-sync-external-store/shim/with-selector.js
7595
- var require_with_selector = /* @__PURE__ */ __commonJSMin(((exports, module) => {
7596
- module.exports = require_with_selector_production();
7597
- }));
7598
- //#endregion
7599
7456
  //#region ../../node_modules/use-resize-observer/dist/bundle.esm.js
7600
7457
  function useResolvedElement(subscriber, refOrElement) {
7601
7458
  var lastReportRef = (0, import_react$3.useRef)(null);
@@ -7756,4 +7613,4 @@ function init_use_composed_ref_esm() {
7756
7613
  })))();
7757
7614
  }
7758
7615
  //#endregion
7759
- export { unknown as A, isJSON as B, object as C, safeInteger as D, record as E, init_lib as F, stringify as H, require_scheduler as I, init_tiny_invariant as L, init_lang as M, lang as N, safeParse as O, highlight as P, invariant as R, number as S, pipe as T, dedent as U, parse$1 as V, init_esm as W, custom as _, init_bundle_esm as a, minLength as b, require_shim as c, require_toggle_selection as d, T as f, check as g, array as h, useLatest as i, variant as j, string as k, require_store2 as l, require_redent as m, useComposedRef as n, useResizeObserver as o, init_dist$2 as p, init_use_latest_esm as r, require_with_selector as s, init_use_composed_ref_esm as t, require_semver as u, init_dist$1 as v, optional as w, minValue as x, literal as y, init_dist as z };
7616
+ export { init_lang as A, stringify as B, pipe as C, string as D, safeParse as E, init_tiny_invariant as F, init_esm as H, invariant as I, init_dist as L, highlight as M, init_lib as N, unknown as O, require_scheduler as P, isJSON as R, optional as S, safeInteger as T, dedent as V, literal as _, init_bundle_esm as a, number as b, require_semver as c, init_dist$2 as d, require_redent as f, init_dist$1 as g, custom as h, useLatest as i, lang as j, variant as k, require_toggle_selection as l, check as m, useComposedRef as n, useResizeObserver as o, array as p, init_use_latest_esm as r, require_store2 as s, init_use_composed_ref_esm as t, T as u, minLength as v, record as w, object as x, minValue as y, parse$1 as z };