@aussieljk/forkbook 0.0.1-4 → 0.0.1-6

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 (318) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +35 -53
  3. package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-2BMQTRYG.js} +3 -3
  4. package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
  5. package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
  6. package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
  7. package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-6IKB2UHQ.js} +27 -27
  8. package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -0
  9. package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
  10. package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
  11. package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
  12. package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
  13. package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
  14. package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
  15. package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
  16. package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
  17. package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-QAHDGPZ7.js} +3 -3
  18. package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
  19. package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
  20. package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
  21. package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
  22. package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-EBWIOQZN.js} +29 -29
  23. package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-ETBLZ2RH.js} +288 -349
  24. package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-252Y5WHZ.js} +7 -7
  25. package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-25PXULSJ.js} +14 -14
  26. package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
  27. package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-3UWWRDA5.js} +7 -7
  28. package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-4KCQYJT6.js} +7 -7
  29. package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-4MJIPOJ5.js} +6 -6
  30. package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-4WLIN3VZ.js} +8 -8
  31. package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-4XNPO23I.js} +6 -6
  32. package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-5T635FTI.js} +10 -10
  33. package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-5Z6MT4RI.js} +8 -8
  34. package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-644CUCK5.js} +7 -7
  35. package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-7E27CGRU.js} +7 -7
  36. package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-A35J7YYA.js} +6 -6
  37. package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-ALHPFKVB.js} +8 -8
  38. package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-ANDQVXYX.js} +8 -8
  39. package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-AS4SFRCZ.js} +6 -6
  40. package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-BLUMKQQB.js} +6 -6
  41. package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-C5JG7EKF.js} +6 -6
  42. package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-CBUQY454.js} +7 -15
  43. package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-CF7KLGUW.js} +22 -20
  44. package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-CGVPHZVD.js} +8 -8
  45. package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-DABFUVLR.js} +6 -6
  46. package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-DCNZ6SFN.js} +6 -6
  47. package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-DDGW2EBW.js} +29843 -51588
  48. package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-DRLBJM6X.js} +7 -7
  49. package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-E3O7VAPG.js} +10 -10
  50. package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-FIFCNBTL.js} +7 -7
  51. package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-FQWTUSYB.js} +6 -6
  52. package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-G6YNW4FK.js} +7 -7
  53. package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-GDFQQO5U.js} +6 -6
  54. package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-GGTXOH3W.js} +6 -6
  55. package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-GIOREKIG.js} +7 -7
  56. package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-GOFK4EKU.js} +6 -6
  57. package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-GQ3HJNIH.js} +10 -13
  58. package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-GRTI5653.js} +7 -7
  59. package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-HKL3VOYX.js} +6 -6
  60. package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-HUPRQZ3I.js} +7 -7
  61. package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-HWRHYM7Z.js} +6 -6
  62. package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-I7HRDCNY.js} +10 -10
  63. package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-IFPMZ247.js} +6 -6
  64. package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-J6M5CRYZ.js} +8 -8
  65. package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-JPXJI6QR.js} +60 -134
  66. package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-JS2J2SKX.js} +6 -6
  67. package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-JZWF3XLN.js} +6 -6
  68. package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-KF3FT3NI.js} +9 -9
  69. package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
  70. package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-L4JGWK4K.js} +6 -6
  71. package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-LFIFBDMS.js} +6 -6
  72. package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-LWKLJYYQ.js} +6 -6
  73. package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-LXVSVTQ3.js} +6 -6
  74. package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
  75. package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-MFN2XBPL.js} +7 -7
  76. package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-MQFB44YS.js} +7 -7
  77. package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-MZ2GSR3G.js} +23 -51
  78. package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-N7HEOGTM.js} +9 -6
  79. package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NUAQC3XP.js} +16 -13
  80. package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-NX6CSWF3.js} +8 -8
  81. package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-NZ7EQWYA.js} +9 -9
  82. package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-OLGIDCVD.js} +650 -9
  83. package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-P65JVLO3.js} +8 -8
  84. package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-PAN35AYX.js} +7 -7
  85. package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-PLWLCVP2.js} +6 -6
  86. package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-Q4BEWGMK.js} +6 -6
  87. package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-QNUXGVZZ.js} +6 -6
  88. package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-R5DWO2S2.js} +31 -30
  89. package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-SLZV7PTQ.js} +8 -8
  90. package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-TIRP5JQM.js} +11 -10
  91. package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-TMXWDY2O.js} +6 -6
  92. package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-TN3ULFFZ.js} +6 -6
  93. package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-TPSJW4CQ.js} +6 -6
  94. package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-TYBPAV3X.js} +6 -6
  95. package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
  96. package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
  97. package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-VPU4E7DI.js} +25 -8
  98. package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-WIQ6Y3NX.js} +6 -6
  99. package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-WRG3CFGS.js} +6 -6
  100. package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-X3RTVNRN.js} +7 -7
  101. package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
  102. package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-XWGMQW2H.js} +6 -6
  103. package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
  104. package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-YHH57LHY.js} +9 -9
  105. package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-YMZ2SGFK.js} +6 -6
  106. package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-YNENOZRY.js} +7 -7
  107. package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-YPGVYNJB.js} +6 -6
  108. package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-YQDBSAXW.js} +7 -7
  109. package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-Z4NZLBOX.js} +7 -7
  110. package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-ZC3ZZKMS.js} +8 -8
  111. package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-ZCITDAV4.js} +34 -949
  112. package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
  113. package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-ZSH6BUCW.js} +25 -25
  114. package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-ZTFNOXZF.js} +6 -6
  115. package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
  116. package/dist/_node-chunks/dist-NS676VJR.js +16 -0
  117. package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-BUTEKJYV.js} +20 -20
  118. package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-7WXQIHPV.js} +2263 -130
  119. package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-NCD3X2BR.js} +11 -11
  120. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
  121. package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
  122. package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-3QJANDJD.js} +9 -9
  123. package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
  124. package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-4LR5BDR2.js} +9 -9
  125. package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-PWFRGOEV.js} +9 -9
  126. package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-VNNWUW7X.js} +11 -11
  127. package/dist/_node-chunks/{run-S6XSLPEB.js → run-RUAAWEQT.js} +13 -13
  128. package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-YK6ARCWS.js} +17 -17
  129. package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
  130. package/dist/_node-chunks/{setup-35J66GFB.js → setup-4QKCICV6.js} +8 -8
  131. package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-WVFLIXN7.js} +7 -7
  132. package/dist/actions/decorator.js +2 -1
  133. package/dist/actions/index.js +2 -1
  134. package/dist/addon-a11y/index.js +2 -1
  135. package/dist/addon-a11y/manager.js +24 -17
  136. package/dist/addon-a11y/preset.js +7 -7
  137. package/dist/addon-a11y/preview.js +2 -1
  138. package/dist/addon-docs/blocks.js +46 -25
  139. package/dist/addon-docs/manager.js +2 -2
  140. package/dist/addon-docs/preset.js +10 -10
  141. package/dist/addon-links/index.js +3 -2
  142. package/dist/addon-links/preview.d.ts +1 -1
  143. package/dist/addon-links/preview.js +3 -2
  144. package/dist/addon-links/react/index.js +2 -1
  145. package/dist/addon-mcp/preset.js +8 -8
  146. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +17 -45
  147. package/dist/addon-ondevice-actions/index.js +5 -1
  148. package/dist/addon-ondevice-actions/register.js +5 -1
  149. package/dist/addon-pseudo-states/manager.js +2 -2
  150. package/dist/addon-pseudo-states/preview.d.ts +1 -1
  151. package/dist/addon-themes/manager.js +1 -1
  152. package/dist/addon-themes/postinstall.js +7 -7
  153. package/dist/addon-vitest/constants.js +8 -8
  154. package/dist/addon-vitest/manager.js +8 -8
  155. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  156. package/dist/addon-vitest/node/vitest.js +16 -16
  157. package/dist/addon-vitest/postinstall.js +10 -10
  158. package/dist/addon-vitest/preset.js +15 -16
  159. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  160. package/dist/addon-vitest/vitest-plugin/index.js +17 -17
  161. package/dist/babel/index.d.ts +91 -842
  162. package/dist/babel/index.js +13 -19
  163. package/dist/bin/core.js +61 -60
  164. package/dist/bin/dispatcher.js +10 -10
  165. package/dist/bin/loader.js +16 -15
  166. package/dist/builder-vite/index.js +15 -15
  167. package/dist/builder-vite/preset.js +13 -13
  168. package/dist/{chunk-DF6btpT3.d.ts → chunk-BGhyFTJO.d.ts} +2 -2
  169. package/dist/chunk-CV4-Z2pn.d.ts +30 -0
  170. package/dist/{chunk-DvufcbCc.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
  171. package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
  172. package/dist/{chunk-BYnH2sbb.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
  173. package/dist/{chunk-DIz17UEJ.d.ts → chunk-CzmZhVrn.d.ts} +35 -1
  174. package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
  175. package/dist/cli/index.d.ts +13 -866
  176. package/dist/cli/index.js +42 -4952
  177. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  178. package/dist/cli/tools/sdk/child-host.js +17 -17
  179. package/dist/cli/tools/sdk/index.d.ts +1 -1
  180. package/dist/cli/tools/sdk/index.js +18 -18
  181. package/dist/cli-commands/bin/index.js +7 -7
  182. package/dist/client-logger/index.js +3 -1
  183. package/dist/common/index.d.ts +5 -4
  184. package/dist/common/index.js +35 -37
  185. package/dist/components/index.d.ts +14 -231
  186. package/dist/components/index.js +2518 -8365
  187. package/dist/core-events/index.d.ts +4 -3
  188. package/dist/core-events/index.js +3 -1
  189. package/dist/core-server/index.d.ts +2 -2
  190. package/dist/core-server/index.js +450 -147
  191. package/dist/core-server/presets/common-manager.js +96 -894
  192. package/dist/core-server/presets/common-override-preset.js +12 -10
  193. package/dist/core-server/presets/common-preset.js +39 -40
  194. package/dist/create/bin/index.js +7 -7
  195. package/dist/create/index.js +15 -15
  196. package/dist/csf/index.d.ts +2 -2
  197. package/dist/csf/index.js +27 -93
  198. package/dist/csf-tools/index.d.ts +2 -12
  199. package/dist/csf-tools/index.js +14 -14
  200. package/dist/instrumenter/index.js +3 -1
  201. package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-B-IeQLQu.js} +285 -61
  202. package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-B5-0Ccbv.js} +1 -1
  203. package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-B71TiXST.js} +93 -2146
  204. package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
  205. package/dist/manager/_manager-chunks/globals-runtime-BUP5e_t9.js +1396 -0
  206. package/dist/manager/_manager-chunks/globals-runtime-C7mqoHpE.js +2093 -0
  207. package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
  208. package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-CYNosEiD.js} +1 -2
  209. package/dist/manager/_manager-chunks/globals-runtime-C_evJrEn.js +1960 -0
  210. package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-CdgVeAbk.js} +408 -377
  211. package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cqn8KdSZ.js} +4 -4
  212. package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-CrIF09P8.js} +1246 -539
  213. package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-Ct1kY4wb.js} +638 -1731
  214. package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
  215. package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DMBjo1QS.js} +2 -1
  216. package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-DUK6bGcb.js} +52 -25
  217. package/dist/manager/_manager-chunks/globals-runtime-DedfO-DP.js +3414 -0
  218. package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DqhIYwLp.js} +165 -152
  219. package/dist/manager/_manager-chunks/globals-runtime-XSxCU7PR.js +41 -0
  220. package/dist/manager/_manager-chunks/runtime-BR5z0WoJ.js +456 -0
  221. package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-BgYvp1WN.js} +15 -7
  222. package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-CHI-LHF1.js} +3 -3
  223. package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-CUymj6EY.js} +280 -288
  224. package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
  225. package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
  226. package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-D4ZOOIV0.js} +5 -531
  227. package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DER98nV0.js} +3 -19
  228. package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-DrTLBe7a.js} +39 -40
  229. package/dist/manager/_manager-chunks/runtime-MAf7Wpk5.js +692 -0
  230. package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-cVFIMcca.js} +1 -1
  231. package/dist/manager/globals-runtime.js +1 -1
  232. package/dist/manager/globals.d.ts +1 -1
  233. package/dist/manager/globals.js +1 -1
  234. package/dist/manager/runtime.js +1 -1
  235. package/dist/manager-api/index.d.ts +1 -1
  236. package/dist/manager-api/index.js +22 -28
  237. package/dist/manager-errors.d.ts +1 -1
  238. package/dist/mcp/index.js +8 -8
  239. package/dist/mocking-utils/index.js +16 -11
  240. package/dist/nextjs-vite/index.js +3 -2
  241. package/dist/nextjs-vite/node/index.js +7 -7
  242. package/dist/nextjs-vite/preset.js +11 -11
  243. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  244. package/dist/nextjs-vite-plugin/index.d.ts +1 -2
  245. package/dist/nextjs-vite-plugin/index.js +12 -27
  246. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  247. package/dist/node-logger/index.d.ts +65 -72
  248. package/dist/node-logger/index.js +11 -12
  249. package/dist/oxc-parser/index.js +11 -13
  250. package/dist/oxc-parser/worker.js +10 -10
  251. package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
  252. package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
  253. package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
  254. package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
  255. package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
  256. package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
  257. package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
  258. package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
  259. package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
  260. package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
  261. package/dist/preview/runtime.js +1 -1
  262. package/dist/preview-api/index.d.ts +1 -1
  263. package/dist/preview-api/index.js +2 -1
  264. package/dist/preview-errors.d.ts +1 -1
  265. package/dist/react/docgen/docgen-worker.js +11 -12
  266. package/dist/react/entry-preview.js +2 -1
  267. package/dist/react/index.js +6 -4
  268. package/dist/react/preset.js +13 -14
  269. package/dist/react/preview.js +3 -2
  270. package/dist/react-native/bin/get-stories.js +8 -8
  271. package/dist/react-native/index.js +25 -211
  272. package/dist/react-native/metro/node.js +10 -9
  273. package/dist/react-native/metro/withStorybook.js +11 -10
  274. package/dist/react-native/scripts/generate.js +8 -8
  275. package/dist/react-vite/node/index.js +7 -7
  276. package/dist/react-vite/preset.js +7 -7
  277. package/dist/router/index.js +3 -1
  278. package/dist/server-errors.d.ts +1 -1
  279. package/dist/server-errors.js +9 -9
  280. package/dist/shared/open-service/index.d.ts +1 -1
  281. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  282. package/dist/telemetry/index.js +43 -45
  283. package/dist/test/index.js +808 -573
  284. package/dist/theming/create.js +2 -1
  285. package/dist/theming/index.js +22 -1
  286. package/dist/types/index.d.ts +1 -1
  287. package/package.json +17 -45
  288. package/dist/_browser-chunks/WithTooltip-523JD6VH.js +0 -1619
  289. package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
  290. package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
  291. package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
  292. package/dist/_node-chunks/chunk-EGS2SAD2.js +0 -5414
  293. package/dist/_node-chunks/chunk-GKTCJPLL.js +0 -36
  294. package/dist/_node-chunks/chunk-HENM5ZK3.js +0 -1877
  295. package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
  296. package/dist/_node-chunks/chunk-K3I3G4VL.js +0 -4731
  297. package/dist/_node-chunks/chunk-MZMPFII2.js +0 -29
  298. package/dist/_node-chunks/chunk-NYAWUR6L.js +0 -3823
  299. package/dist/_node-chunks/chunk-NYRUWAL3.js +0 -23
  300. package/dist/_node-chunks/chunk-SSZ5REKS.js +0 -3008
  301. package/dist/_node-chunks/chunk-WEW23EEE.js +0 -662
  302. package/dist/_node-chunks/chunk-XWQEWRFD.js +0 -51
  303. package/dist/_node-chunks/dist-CNA633FI.js +0 -16
  304. package/dist/_node-chunks/globby-HRQV5N3V.js +0 -2884
  305. package/dist/_node-chunks/jiti-WE7NHS2Y.js +0 -3848
  306. package/dist/_node-chunks/lib-7MVA6CTW.js +0 -366
  307. package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
  308. package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
  309. package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
  310. package/dist/chunk-BfBzpgct.d.ts +0 -916
  311. package/dist/core-server/presets/common-manager.css +0 -170
  312. package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
  313. package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
  314. package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
  315. package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
  316. package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
  317. package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
  318. package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
@@ -2,7 +2,7 @@ import { A as Queries, C as GetServiceOptions, D as MatchingOutputSchemas, G as
2
2
  import { a as RenderData } from "./chunk-DoIGKY33.js";
3
3
  import { s as ThemeVars$1 } from "./chunk-BGkgZp-H.js";
4
4
  import { p as Channel$1 } from "./chunk-BXLImeLy.js";
5
- import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-B2xylxt5.js";
5
+ import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-DROZ9oel.js";
6
6
  import { t as Options$3 } from "./chunk-C6PAgHLT.js";
7
7
  import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-Bpi2tz-6.js";
8
8
  import { AfterEach as AfterEach$1, AnnotatedStoryFn as AnnotatedStoryFn$1, ArgTypes as ArgTypes$2, ArgTypesEnhancer, Args, Args as Args$2, ArgsEnhancer, ArgsFromMeta as ArgsFromMeta$1, ArgsStoryFn as ArgsStoryFn$1, BaseAnnotations as BaseAnnotations$1, BeforeAll, BeforeEach, Canvas as Canvas$1, CleanupCallback, CleanupCallback as CleanupCallback$1, ComponentAnnotations as ComponentAnnotations$1, ComponentId, ComponentTitle as ComponentTitle$1, Conditional as Conditional$1, DecoratorApplicator as DecoratorApplicator$1, DecoratorFunction as DecoratorFunction$2, GlobalTypes as GlobalTypes$1, Globals, Globals as Globals$2, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn as LegacyStoryAnnotationsOrFn$1, LegacyStoryFn as LegacyStoryFn$1, LoaderFunction as LoaderFunction$1, Meta, Parameters as Parameters$2, PartialStoryFn as PartialStoryFn$1, PlayFunction, PlayFunctionContext, ProjectAnnotations, ProjectAnnotations as BaseProjectAnnotations, Renderer, Renderer as Renderer$2, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType as SBType$1, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner as StepRunner$1, Story, StoryAnnotations as StoryAnnotations$1, StoryAnnotationsOrFn as StoryAnnotationsOrFn$1, StoryContext, StoryContext as StoryContext$2, StoryContextForEnhancers as StoryContextForEnhancers$1, StoryContextForLoaders, StoryContextForRender, StoryContextUpdate as StoryContextUpdate$1, StoryFn, StoryId, StoryId as StoryId$2, StoryIdentifier, StoryKind as StoryKind$1, StoryName as StoryName$1, StrictArgTypes, StrictArgTypes as StrictArgTypes$2, StrictArgs as StrictArgs$1, StrictInputType, Tag, Tag as Tag$2, TestFunction as TestFunction$1, ViewMode, toId } from "@aussieljk/forkbook/internal/csf";
@@ -10900,6 +10900,10 @@ type API_PanelPositions$1 = 'bottom' | 'right';
10900
10900
  type API_ActiveTabsType = 'sidebar' | 'canvas' | 'addons';
10901
10901
  interface API_SidebarOptions$1<API = any> {
10902
10902
  showRoots?: boolean;
10903
+ /** Show the type icon (group, component, docs, story) before each sidebar item. Default: false. */
10904
+ showIcons?: boolean;
10905
+ /** Expand every group and component in the sidebar when Forkbook opens. Default: true. */
10906
+ expandAll?: boolean;
10903
10907
  filters?: Record<string, API_FilterFunction$1>;
10904
10908
  collapsedRoots?: string[];
10905
10909
  renderAriaLabel?: (item: API_HashEntry$1, api: API, context?: {
@@ -12035,6 +12039,34 @@ interface SelectionStore {
12035
12039
  setQueryParams(queryParams: Record<PropertyKey, unknown>): void;
12036
12040
  }
12037
12041
  //#endregion
12042
+ //#region .dts-emit/code/core/src/preview-api/modules/preview-web/InfiniteDocs.d.ts
12043
+ /**
12044
+ * Infinite scroll for docs pages. When the reader gets near the end of a docs page, the next docs
12045
+ * entry (in sidebar order) renders below it. The page at the top of the view is sent to the
12046
+ * manager with `DOCS_PAGE_IN_VIEW`, so the sidebar and the URL follow it without a new render.
12047
+ *
12048
+ * On by default. The `docs.infiniteScroll: false` parameter turns it off.
12049
+ */
12050
+ declare class InfiniteDocs<TRenderer extends Renderer$1> {
12051
+ private channel;
12052
+ private store;
12053
+ private renderStoryToElement;
12054
+ private callbacks;
12055
+ private renders;
12056
+ private container?;
12057
+ private sentinelObserver?;
12058
+ private pageObserver?;
12059
+ private lastId?;
12060
+ private inViewId?;
12061
+ private loading;
12062
+ constructor(channel: Channel, store: StoryStore<TRenderer>, renderStoryToElement: DocsContextProps$1<TRenderer>['renderStoryToElement'], callbacks: (id: StoryId$1) => RenderContextCallbacks<TRenderer>);
12063
+ /** Starts after the main docs page `entry` rendered into `docsRoot`. */
12064
+ start(entry: IndexEntry, docsRoot: HTMLElement): void;
12065
+ private loadNext;
12066
+ /** Removes the pages below the main page. */
12067
+ stop(): void;
12068
+ }
12069
+ //#endregion
12038
12070
  //#region .dts-emit/code/core/src/preview-api/modules/preview-web/View.d.ts
12039
12071
  interface View<TStorybookRoot> {
12040
12072
  prepareForStory(story: PreparedStory<any>, options?: {
@@ -12070,6 +12102,8 @@ declare class PreviewWithSelection<TRenderer extends Renderer$1> extends Preview
12070
12102
  view: View<TRenderer['canvasElement']>;
12071
12103
  currentSelection?: Selection;
12072
12104
  currentRender?: PossibleRender<TRenderer>;
12105
+ /** The docs pages below the selected docs page (`docs.infiniteScroll`). */
12106
+ infiniteDocs?: InfiniteDocs<TRenderer>;
12073
12107
  constructor(importFn: ModuleImportFn, getProjectAnnotations: () => MaybePromise<ProjectAnnotations$1<TRenderer>>, selectionStore: SelectionStore, view: View<TRenderer['canvasElement']>);
12074
12108
  setupListeners(): void;
12075
12109
  onNavigateUrl(url: string): void;
@@ -3,278 +3,10 @@ import { t as Simplify } from "./chunk-FjDVzZTj.js";
3
3
  import { r as BackgroundTypes } from "./chunk-Dm-iHJ-s.js";
4
4
  import { i as HighlightTypes } from "./chunk-DDd8BhTY.js";
5
5
  import { l as ViewportTypes } from "./chunk-DgzPaTw9.js";
6
- import React, { ComponentProps } from "react";
7
6
  import { StorybookTypes } from "@aussieljk/forkbook/internal/types";
8
7
  import { BoundFunctions, queries } from "@testing-library/dom";
9
8
  import { userEvent } from "@testing-library/user-event";
10
9
 
11
- //#region .dts-emit/code/core/src/components/components/icon/icon.d.ts
12
- type IconType = keyof typeof icons;
13
- interface IconsProps extends ComponentProps<'svg'> {
14
- icon: IconType;
15
- useSymbol?: boolean;
16
- onClick?: () => void;
17
- __suppressDeprecationWarning?: boolean;
18
- }
19
- declare const icons: {
20
- readonly user: 'UserIcon';
21
- readonly useralt: 'UserAltIcon';
22
- readonly useradd: 'UserAddIcon';
23
- readonly users: 'UsersIcon';
24
- readonly profile: 'ProfileIcon';
25
- readonly facehappy: 'FaceHappyIcon';
26
- readonly faceneutral: 'FaceNeutralIcon';
27
- readonly facesad: 'FaceSadIcon';
28
- readonly accessibility: 'AccessibilityIcon';
29
- readonly accessibilityalt: 'AccessibilityAltIcon';
30
- readonly accessibilityignored: 'AccessibilityIgnoredIcon';
31
- readonly arrowup: 'ChevronUpIcon';
32
- readonly arrowdown: 'ChevronDownIcon';
33
- readonly arrowleft: 'ChevronLeftIcon';
34
- readonly arrowright: 'ChevronRightIcon';
35
- readonly arrowupalt: 'ArrowUpIcon';
36
- readonly arrowdownalt: 'ArrowDownIcon';
37
- readonly arrowleftalt: 'ArrowLeftIcon';
38
- readonly arrowrightalt: 'ArrowRightIcon';
39
- readonly arrowtopleft: 'ArrowTopLeftIcon';
40
- readonly arrowtopright: 'ArrowTopRightIcon';
41
- readonly arrowbottomleft: 'ArrowBottomLeftIcon';
42
- readonly arrowbottomright: 'ArrowBottomRightIcon';
43
- readonly arrowsolidup: 'ArrowSolidUpIcon';
44
- readonly arrowsoliddown: 'ArrowSolidDownIcon';
45
- readonly arrowsolidleft: 'ArrowSolidLeftIcon';
46
- readonly arrowsolidright: 'ArrowSolidRightIcon';
47
- readonly chevronsmallup: 'ChevronSmallUpIcon';
48
- readonly chevronsmalldown: 'ChevronSmallDownIcon';
49
- readonly chevronsmallleft: 'ChevronSmallLeftIcon';
50
- readonly chevronsmallright: 'ChevronSmallRightIcon';
51
- readonly expandalt: 'ExpandAltIcon';
52
- readonly collapse: 'CollapseIcon';
53
- readonly expand: 'ExpandIcon';
54
- readonly unfold: 'UnfoldIcon';
55
- readonly transfer: 'TransferIcon';
56
- readonly redirect: 'RedirectIcon';
57
- readonly jumpto: 'JumpToIcon';
58
- readonly popout: 'PopOutIcon';
59
- readonly undo: 'UndoIcon';
60
- readonly reply: 'ReplyIcon';
61
- readonly sync: 'SyncIcon';
62
- readonly upload: 'UploadIcon';
63
- readonly download: 'DownloadIcon';
64
- readonly save: 'SaveIcon';
65
- readonly back: 'BackIcon';
66
- readonly proceed: 'ProceedIcon';
67
- readonly refresh: 'RefreshIcon';
68
- readonly globe: 'GlobeIcon';
69
- readonly compass: 'CompassIcon';
70
- readonly direction: 'DirectionIcon';
71
- readonly location: 'LocationIcon';
72
- readonly pin: 'PinIcon';
73
- readonly time: 'TimeIcon';
74
- readonly dashboard: 'DashboardIcon';
75
- readonly timer: 'TimerIcon';
76
- readonly home: 'HomeIcon';
77
- readonly admin: 'AdminIcon';
78
- readonly info: 'InfoIcon';
79
- readonly question: 'QuestionIcon';
80
- readonly support: 'SupportIcon';
81
- readonly bug: 'BugIcon';
82
- readonly alert: 'AlertIcon';
83
- readonly alertalt: 'AlertAltIcon';
84
- readonly email: 'EmailIcon';
85
- readonly phone: 'PhoneIcon';
86
- readonly link: 'LinkIcon';
87
- readonly unlink: 'LinkBrokenIcon';
88
- readonly bell: 'BellIcon';
89
- readonly rss: 'RSSIcon';
90
- readonly sharealt: 'ShareAltIcon';
91
- readonly share: 'ShareIcon';
92
- readonly circle: 'CircleIcon';
93
- readonly circlehollow: 'CircleHollowIcon';
94
- readonly diamond: 'DiamondIcon';
95
- readonly bookmarkhollow: 'BookmarkHollowIcon';
96
- readonly bookmark: 'BookmarkIcon';
97
- readonly hearthollow: 'HeartHollowIcon';
98
- readonly heart: 'HeartIcon';
99
- readonly starhollow: 'StarHollowIcon';
100
- readonly star: 'StarIcon';
101
- readonly certificate: 'CertificateIcon';
102
- readonly verified: 'VerifiedIcon';
103
- readonly thumbsup: 'ThumbsUpIcon';
104
- readonly shield: 'ShieldIcon';
105
- readonly basket: 'BasketIcon';
106
- readonly beaker: 'BeakerIcon';
107
- readonly hourglass: 'HourglassIcon';
108
- readonly flag: 'FlagIcon';
109
- readonly gift: 'GiftIcon';
110
- readonly sticker: 'StickerIcon';
111
- readonly cloudhollow: 'CloudHollowIcon';
112
- readonly cloud: 'CloudIcon';
113
- readonly edit: 'EditIcon';
114
- readonly editor: 'EditorIcon';
115
- readonly cog: 'CogIcon';
116
- readonly nut: 'NutIcon';
117
- readonly wrench: 'WrenchIcon';
118
- readonly wand: 'WandIcon';
119
- readonly ellipsis: 'EllipsisIcon';
120
- readonly check: 'CheckIcon';
121
- readonly checklist: 'ChecklistIcon';
122
- readonly form: 'FormIcon';
123
- readonly batchdeny: 'BatchDenyIcon';
124
- readonly batchaccept: 'BatchAcceptIcon';
125
- readonly controls: 'ControlsIcon';
126
- readonly plus: 'PlusIcon';
127
- readonly closeAlt: 'CloseAltIcon';
128
- readonly cross: 'CrossIcon';
129
- readonly trash: 'TrashIcon';
130
- readonly pinalt: 'PinAltIcon';
131
- readonly unpin: 'UnpinIcon';
132
- readonly add: 'AddIcon';
133
- readonly subtract: 'SubtractIcon';
134
- readonly close: 'CloseIcon';
135
- readonly delete: 'DeleteIcon';
136
- readonly passed: 'PassedIcon';
137
- readonly changed: 'ChangedIcon';
138
- readonly failed: 'FailedIcon';
139
- readonly status: 'StatusIcon';
140
- readonly statuspass: 'StatusPassIcon';
141
- readonly statusfail: 'StatusFailIcon';
142
- readonly statuswarn: 'StatusWarnIcon';
143
- readonly statusnew: 'StatusAddIcon';
144
- readonly clear: 'ClearIcon';
145
- readonly sweep: 'SweepIcon';
146
- readonly comment: 'CommentIcon';
147
- readonly commentadd: 'CommentAddIcon';
148
- readonly requestchange: 'RequestChangeIcon';
149
- readonly comments: 'CommentsIcon';
150
- readonly chat: 'ChatIcon';
151
- readonly lock: 'LockIcon';
152
- readonly unlock: 'UnlockIcon';
153
- readonly key: 'KeyIcon';
154
- readonly command: 'CommandIcon';
155
- readonly outbox: 'OutboxIcon';
156
- readonly credit: 'CreditIcon';
157
- readonly button: 'ButtonIcon';
158
- readonly type: 'TypeIcon';
159
- readonly pointerdefault: 'PointerDefaultIcon';
160
- readonly pointerhand: 'PointerHandIcon';
161
- readonly browser: 'BrowserIcon';
162
- readonly tablet: 'TabletIcon';
163
- readonly mobile: 'MobileIcon';
164
- readonly watch: 'WatchIcon';
165
- readonly sidebar: 'SidebarIcon';
166
- readonly sidebaralt: 'SidebarAltIcon';
167
- readonly sidebaralttoggle: 'SidebarAltToggleIcon';
168
- readonly sidebartoggle: 'SidebarToggleIcon';
169
- readonly bottombar: 'BottomBarIcon';
170
- readonly bottombartoggle: 'BottomBarToggleIcon';
171
- readonly cpu: 'CPUIcon';
172
- readonly database: 'DatabaseIcon';
173
- readonly memory: 'MemoryIcon';
174
- readonly structure: 'StructureIcon';
175
- readonly box: 'BoxIcon';
176
- readonly power: 'PowerIcon';
177
- readonly photo: 'PhotoIcon';
178
- readonly component: 'ComponentIcon';
179
- readonly grid: 'GridIcon';
180
- readonly gridalt: 'GridAltIcon';
181
- readonly outline: 'OutlineIcon';
182
- readonly photodrag: 'PhotoDragIcon';
183
- readonly photostabilize: 'PhotoStabilizeIcon';
184
- readonly drag: 'DragIcon';
185
- readonly search: 'SearchIcon';
186
- readonly zoom: 'ZoomIcon';
187
- readonly zoomout: 'ZoomOutIcon';
188
- readonly zoomreset: 'ZoomResetIcon';
189
- readonly eye: 'EyeIcon';
190
- readonly eyeclose: 'EyeCloseIcon';
191
- readonly lightning: 'LightningIcon';
192
- readonly lightningoff: 'LightningOffIcon';
193
- readonly contrast: 'ContrastIcon';
194
- readonly contrastignored: 'ContrastIgnoredIcon';
195
- readonly switchalt: 'SwitchAltIcon';
196
- readonly mirror: 'MirrorIcon';
197
- readonly grow: 'GrowIcon';
198
- readonly paintbrush: 'PaintBrushIcon';
199
- readonly paintbrushalt: 'PaintBrushAltIcon';
200
- readonly ruler: 'RulerIcon';
201
- readonly stop: 'StopIcon';
202
- readonly camera: 'CameraIcon';
203
- readonly camerastabilize: 'CameraStabilizeIcon';
204
- readonly video: 'VideoIcon';
205
- readonly speaker: 'SpeakerIcon';
206
- readonly play: 'PlayIcon';
207
- readonly playback: 'PlayBackIcon';
208
- readonly playnext: 'PlayNextIcon';
209
- readonly playhollow: 'PlayHollowIcon';
210
- readonly playallhollow: 'PlayAllHollowIcon';
211
- readonly rewind: 'RewindIcon';
212
- readonly fastforward: 'FastForwardIcon';
213
- readonly stopalt: 'StopAltIcon';
214
- readonly stopalthollow: 'StopAltHollowIcon';
215
- readonly sidebyside: 'SideBySideIcon';
216
- readonly stacked: 'StackedIcon';
217
- readonly sun: 'SunIcon';
218
- readonly moon: 'MoonIcon';
219
- readonly book: 'BookIcon';
220
- readonly document: 'DocumentIcon';
221
- readonly copy: 'CopyIcon';
222
- readonly category: 'CategoryIcon';
223
- readonly folder: 'FolderIcon';
224
- readonly files: 'FilesIcon';
225
- readonly print: 'PrintIcon';
226
- readonly graphline: 'GraphLineIcon';
227
- readonly calendar: 'CalendarIcon';
228
- readonly graphbar: 'GraphBarIcon';
229
- readonly menu: 'MenuIcon';
230
- readonly menualt: 'MenuIcon';
231
- readonly filter: 'FilterIcon';
232
- readonly sortup: 'SortUpIcon';
233
- readonly sortdown: 'SortDownIcon';
234
- readonly docchart: 'DocChartIcon';
235
- readonly doclist: 'DocListIcon';
236
- readonly markup: 'MarkupIcon';
237
- readonly bold: 'BoldIcon';
238
- readonly italic: 'ItalicIcon';
239
- readonly alignleft: 'AlignLeftIcon';
240
- readonly alignright: 'AlignRightIcon';
241
- readonly paperclip: 'PaperClipIcon';
242
- readonly listordered: 'ListOrderedIcon';
243
- readonly listunordered: 'ListUnorderedIcon';
244
- readonly paragraph: 'ParagraphIcon';
245
- readonly markdown: 'MarkdownIcon';
246
- readonly repository: 'RepoIcon';
247
- readonly commit: 'CommitIcon';
248
- readonly branch: 'BranchIcon';
249
- readonly pullrequest: 'PullRequestIcon';
250
- readonly merge: 'MergeIcon';
251
- readonly apple: 'AppleIcon';
252
- readonly linux: 'LinuxIcon';
253
- readonly ubuntu: 'UbuntuIcon';
254
- readonly windows: 'WindowsIcon';
255
- readonly storybook: 'StorybookIcon';
256
- readonly azuredevops: 'AzureDevOpsIcon';
257
- readonly bitbucket: 'BitbucketIcon';
258
- readonly chrome: 'ChromeIcon';
259
- readonly chromatic: 'ChromaticIcon';
260
- readonly componentdriven: 'ComponentDrivenIcon';
261
- readonly discord: 'DiscordIcon';
262
- readonly facebook: 'FacebookIcon';
263
- readonly figma: 'FigmaIcon';
264
- readonly gdrive: 'GDriveIcon';
265
- readonly github: 'GithubIcon';
266
- readonly gitlab: 'GitlabIcon';
267
- readonly google: 'GoogleIcon';
268
- readonly graphql: 'GraphqlIcon';
269
- readonly linkedin: 'LinkedinIcon';
270
- readonly medium: 'MediumIcon';
271
- readonly redux: 'ReduxIcon';
272
- readonly twitter: 'TwitterIcon';
273
- readonly x: 'XIcon';
274
- readonly youtube: 'YoutubeIcon';
275
- readonly vscode: 'VSCodeIcon';
276
- };
277
- //#endregion
278
10
  //#region .dts-emit/code/core/src/toolbar/types.d.ts
279
11
  type ToolbarShortcutType = 'next' | 'previous' | 'reset';
280
12
  type ToolbarItemType = 'item' | 'reset';
@@ -285,7 +17,8 @@ interface ToolbarShortcutConfig {
285
17
  type ToolbarShortcuts = Record<ToolbarShortcutType, ToolbarShortcutConfig>;
286
18
  interface ToolbarItem {
287
19
  value?: string;
288
- icon?: IconsProps['icon'];
20
+ /** The name of an icon, for example `'circlehollow'` (see the `icons` map in icon.tsx) */
21
+ icon?: string;
289
22
  right?: string;
290
23
  title?: string;
291
24
  hideIcon?: boolean;
@@ -294,8 +27,11 @@ interface ToolbarItem {
294
27
  interface NormalizedToolbarConfig {
295
28
  /** The label to show for this toolbar item */
296
29
  title?: string;
297
- /** Choose an icon to show for this toolbar item */
298
- icon?: IconsProps['icon'];
30
+ /**
31
+ * Choose an icon to show for this toolbar item, by name. The type is `string`, not the list of
32
+ * names, so the public types do not depend on the icon package.
33
+ */
34
+ icon?: string;
299
35
  /** Set to true to prevent default update of icon to match any present selected items icon */
300
36
  preventDynamicIcon?: boolean;
301
37
  items: ToolbarItem[];