@aussieljk/forkbook 0.0.1-6 → 0.0.1-8

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 (249) hide show
  1. package/assets/create/templates/react-native/index.expo.js +4 -4
  2. package/assets/create/templates/react-native/index.js +5 -5
  3. package/dist/_browser-chunks/{Color-2BMQTRYG.js → Color-ZG7LKYDZ.js} +1 -1
  4. package/dist/_browser-chunks/{WithTooltip-GJACFWKM.js → WithTooltip-YZ36EZ4X.js} +3 -3
  5. package/dist/_browser-chunks/{chunk-X7D777E6.js → chunk-DAUHYZUB.js} +4 -0
  6. package/dist/_browser-chunks/{chunk-6EJEEII7.js → chunk-E47B5255.js} +2 -2
  7. package/dist/_browser-chunks/{chunk-6IKB2UHQ.js → chunk-MZVQEZOB.js} +12 -12
  8. package/dist/_browser-chunks/{chunk-QAHDGPZ7.js → chunk-SK6S7ZXD.js} +1 -1
  9. package/dist/_browser-chunks/{chunk-DPRGR3QP.js → chunk-WVF42CP2.js} +38 -6
  10. package/dist/_node-chunks/{attached-runtime-EBWIOQZN.js → attached-runtime-SRP2RPCT.js} +30 -30
  11. package/dist/_node-chunks/{builder-manager-ETBLZ2RH.js → builder-manager-V7M6SFEM.js} +69 -46
  12. package/dist/_node-chunks/{chunk-GIOREKIG.js → chunk-27KT3BJI.js} +7 -7
  13. package/dist/_node-chunks/{chunk-MQFB44YS.js → chunk-27R37QFW.js} +7 -7
  14. package/dist/_node-chunks/{chunk-4KCQYJT6.js → chunk-2WPUJ7UM.js} +7 -7
  15. package/dist/_node-chunks/{chunk-KWPWQA7G.js → chunk-2ZB3ZVDY.js} +8 -8
  16. package/dist/_node-chunks/{chunk-TPSJW4CQ.js → chunk-3KKSPEAE.js} +6 -6
  17. package/dist/_node-chunks/{chunk-644CUCK5.js → chunk-3KY2GA5X.js} +7 -7
  18. package/dist/_node-chunks/{chunk-25PXULSJ.js → chunk-3NXJBXBF.js} +15 -15
  19. package/dist/_node-chunks/{chunk-5T635FTI.js → chunk-4CPTSXU6.js} +10 -10
  20. package/dist/_node-chunks/{chunk-YQDBSAXW.js → chunk-4QYNOSOA.js} +7 -7
  21. package/dist/_node-chunks/{chunk-WIQ6Y3NX.js → chunk-4T3WPVSQ.js} +6 -6
  22. package/dist/_node-chunks/{chunk-BLUMKQQB.js → chunk-4U5ZQZJ4.js} +6 -6
  23. package/dist/_node-chunks/chunk-4XNKH2BY.js +18 -0
  24. package/dist/_node-chunks/{chunk-4MJIPOJ5.js → chunk-526SOV2Y.js} +6 -6
  25. package/dist/_node-chunks/{chunk-J6M5CRYZ.js → chunk-54WGE5OK.js} +10 -10
  26. package/dist/_node-chunks/{chunk-JPXJI6QR.js → chunk-5BQKMZYJ.js} +27 -32
  27. package/dist/_node-chunks/{chunk-P65JVLO3.js → chunk-62PEOH4P.js} +8 -8
  28. package/dist/_node-chunks/{chunk-R5DWO2S2.js → chunk-6DCYMQX2.js} +29 -29
  29. package/dist/_node-chunks/{chunk-NZ7EQWYA.js → chunk-6DZY675E.js} +9 -9
  30. package/dist/_node-chunks/{chunk-ZC3ZZKMS.js → chunk-6GBMB2E4.js} +8 -8
  31. package/dist/_node-chunks/{chunk-FQWTUSYB.js → chunk-6YDXCU32.js} +6 -6
  32. package/dist/_node-chunks/{chunk-HUPRQZ3I.js → chunk-77YIWZPS.js} +7 -7
  33. package/dist/_node-chunks/{chunk-L4JGWK4K.js → chunk-7GLNBVQO.js} +6 -6
  34. package/dist/_node-chunks/{chunk-CGVPHZVD.js → chunk-7YBOQWWR.js} +8 -8
  35. package/dist/_node-chunks/{chunk-YPGVYNJB.js → chunk-A73YRJPA.js} +7 -7
  36. package/dist/_node-chunks/{chunk-C5JG7EKF.js → chunk-BLAPFOIX.js} +6 -6
  37. package/dist/_node-chunks/{chunk-CBUQY454.js → chunk-BPMXWGDX.js} +6 -6
  38. package/dist/_node-chunks/{chunk-SLZV7PTQ.js → chunk-BY65FGKD.js} +8 -8
  39. package/dist/_node-chunks/{chunk-3UWWRDA5.js → chunk-CHPKBTH7.js} +7 -7
  40. package/dist/_node-chunks/{chunk-GRTI5653.js → chunk-CL4T6DGA.js} +7 -7
  41. package/dist/_node-chunks/{chunk-AS4SFRCZ.js → chunk-CT3L2NXZ.js} +6 -6
  42. package/dist/_node-chunks/{chunk-YHH57LHY.js → chunk-CZDEJ7DD.js} +9 -9
  43. package/dist/_node-chunks/{chunk-TN3ULFFZ.js → chunk-D4IL5V6A.js} +6 -6
  44. package/dist/_node-chunks/{chunk-YNENOZRY.js → chunk-DADJTKJT.js} +7 -7
  45. package/dist/_node-chunks/{chunk-N7HEOGTM.js → chunk-DGA2Q7TE.js} +6 -6
  46. package/dist/_node-chunks/{chunk-I7HRDCNY.js → chunk-DSWCMXKR.js} +10 -10
  47. package/dist/_node-chunks/{chunk-FIFCNBTL.js → chunk-DVSKRIH3.js} +7 -7
  48. package/dist/_node-chunks/{chunk-ANDQVXYX.js → chunk-F2XPZVCK.js} +8 -8
  49. package/dist/_node-chunks/{chunk-E3O7VAPG.js → chunk-G3J2VAY4.js} +10 -10
  50. package/dist/_node-chunks/{chunk-2DBJWMYE.js → chunk-G6UTEYYQ.js} +8 -8
  51. package/dist/_node-chunks/{chunk-ALHPFKVB.js → chunk-GUKZDREX.js} +8 -8
  52. package/dist/_node-chunks/{chunk-TMXWDY2O.js → chunk-GXSB54NU.js} +6 -6
  53. package/dist/_node-chunks/{chunk-CF7KLGUW.js → chunk-HF6FRLS6.js} +125 -144
  54. package/dist/_node-chunks/{chunk-ZSH6BUCW.js → chunk-HNMHTOKI.js} +23 -23
  55. package/dist/_node-chunks/{chunk-IFPMZ247.js → chunk-I26RWAW3.js} +6 -6
  56. package/dist/_node-chunks/{chunk-G6YNW4FK.js → chunk-I5Y7NDAM.js} +7 -7
  57. package/dist/_node-chunks/{chunk-ZNSGFYAT.js → chunk-IAYHJZOR.js} +6 -6
  58. package/dist/_node-chunks/{chunk-MFN2XBPL.js → chunk-ICGRYYV7.js} +7 -7
  59. package/dist/_node-chunks/{chunk-PAN35AYX.js → chunk-IFF53QVX.js} +7 -7
  60. package/dist/_node-chunks/{chunk-Z4NZLBOX.js → chunk-II4SIIJW.js} +7 -7
  61. package/dist/_node-chunks/{chunk-ZCITDAV4.js → chunk-IVU4D6LF.js} +7 -7
  62. package/dist/_node-chunks/{chunk-OLGIDCVD.js → chunk-JB5Q4WGX.js} +7 -7
  63. package/dist/_node-chunks/{chunk-MDW3GSU3.js → chunk-JCLP42A7.js} +7 -7
  64. package/dist/_node-chunks/{chunk-LWKLJYYQ.js → chunk-KQBTXUT5.js} +7 -7
  65. package/dist/_node-chunks/{chunk-4WLIN3VZ.js → chunk-LF7EC235.js} +8 -8
  66. package/dist/_node-chunks/{chunk-DCNZ6SFN.js → chunk-LPLXO4HE.js} +6 -6
  67. package/dist/_node-chunks/{chunk-HKL3VOYX.js → chunk-LSKOVF6F.js} +6 -6
  68. package/dist/_node-chunks/{chunk-YMZ2SGFK.js → chunk-LYMYDMEK.js} +6 -6
  69. package/dist/_node-chunks/{chunk-QNUXGVZZ.js → chunk-M3F5R2JO.js} +6 -6
  70. package/dist/_node-chunks/{chunk-HWRHYM7Z.js → chunk-M74NU6PU.js} +6 -6
  71. package/dist/_node-chunks/{chunk-JZWF3XLN.js → chunk-MGFH4KGP.js} +6 -6
  72. package/dist/_node-chunks/{chunk-TYBPAV3X.js → chunk-NORBEBNM.js} +6 -6
  73. package/dist/_node-chunks/{chunk-4XNPO23I.js → chunk-NV6HM53D.js} +6 -6
  74. package/dist/_node-chunks/{chunk-WRG3CFGS.js → chunk-OFZX45ZR.js} +6 -6
  75. package/dist/_node-chunks/{chunk-A35J7YYA.js → chunk-OZBNKCKM.js} +6 -6
  76. package/dist/_node-chunks/{chunk-Q4BEWGMK.js → chunk-QEDRYWP7.js} +7 -7
  77. package/dist/_node-chunks/{chunk-KF3FT3NI.js → chunk-QQ7GEJNY.js} +9 -9
  78. package/dist/_node-chunks/{chunk-ZTFNOXZF.js → chunk-QQKVXB5Q.js} +6 -6
  79. package/dist/_node-chunks/{chunk-YCXTTQ7K.js → chunk-QVIC3UDL.js} +8 -8
  80. package/dist/_node-chunks/{chunk-252Y5WHZ.js → chunk-RR3WLRNQ.js} +7 -7
  81. package/dist/_node-chunks/chunk-SBNQ6YGM.js +11 -0
  82. package/dist/_node-chunks/{chunk-GGTXOH3W.js → chunk-SNQKCFKN.js} +6 -6
  83. package/dist/_node-chunks/{chunk-PLWLCVP2.js → chunk-T62LXT34.js} +6 -6
  84. package/dist/_node-chunks/{chunk-LXVSVTQ3.js → chunk-TBLZESXE.js} +6 -6
  85. package/dist/_node-chunks/{chunk-MZ2GSR3G.js → chunk-TLB2LNUO.js} +17 -14
  86. package/dist/_node-chunks/{chunk-DRLBJM6X.js → chunk-UBEILYLL.js} +7 -7
  87. package/dist/_node-chunks/{chunk-5Z6MT4RI.js → chunk-UCBUYT7S.js} +7 -7
  88. package/dist/_node-chunks/{chunk-GQ3HJNIH.js → chunk-UEWCGYSE.js} +44 -10
  89. package/dist/_node-chunks/{chunk-GOFK4EKU.js → chunk-VPGX2PAB.js} +6 -6
  90. package/dist/_node-chunks/{chunk-NX6CSWF3.js → chunk-VQ2NW4OR.js} +8 -8
  91. package/dist/_node-chunks/{chunk-XWGMQW2H.js → chunk-VTLGMRU5.js} +6 -6
  92. package/dist/_node-chunks/{chunk-VPU4E7DI.js → chunk-VTVQ5TKB.js} +8 -8
  93. package/dist/_node-chunks/{chunk-LFIFBDMS.js → chunk-VV6CPF3T.js} +6 -6
  94. package/dist/_node-chunks/{chunk-XOGU5PWI.js → chunk-WF7RDUU7.js} +10 -10
  95. package/dist/_node-chunks/{chunk-7E27CGRU.js → chunk-X5IJ42Q2.js} +7 -7
  96. package/dist/_node-chunks/{chunk-GDFQQO5U.js → chunk-XGMO4SW2.js} +8 -8
  97. package/dist/_node-chunks/{chunk-TIRP5JQM.js → chunk-XTCOGCTP.js} +7 -7
  98. package/dist/_node-chunks/{chunk-NUAQC3XP.js → chunk-Y2HWZ262.js} +50 -50
  99. package/dist/_node-chunks/{chunk-X3RTVNRN.js → chunk-YBRV5FIK.js} +7 -7
  100. package/dist/_node-chunks/{chunk-DABFUVLR.js → chunk-YHWOGAFM.js} +6 -6
  101. package/dist/_node-chunks/{chunk-DDGW2EBW.js → chunk-YMVL55QY.js} +9 -9
  102. package/dist/_node-chunks/{chunk-JS2J2SKX.js → chunk-ZKS2H56J.js} +6 -6
  103. package/dist/_node-chunks/dist-GJ53PFWF.js +27 -0
  104. package/dist/_node-chunks/dist-TLMACGH6.js +16 -0
  105. package/dist/_node-chunks/{local-runtime-BUTEKJYV.js → local-runtime-Y6OH2SFM.js} +20 -20
  106. package/dist/_node-chunks/{mdx-plugin-7WXQIHPV.js → mdx-plugin-R6GNGQP2.js} +13 -13
  107. package/dist/_node-chunks/{monorepo-NCD3X2BR.js → monorepo-R2CLQIWG.js} +11 -11
  108. package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js} +11 -11
  109. package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +22 -0
  110. package/dist/_node-chunks/{pattern-copy-play-3QJANDJD.js → pattern-copy-play-5VCD6ED3.js} +11 -11
  111. package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +20 -0
  112. package/dist/_node-chunks/{rehype-external-links-4LR5BDR2.js → rehype-external-links-SKSQEDUP.js} +9 -9
  113. package/dist/_node-chunks/{rehype-slug-PWFRGOEV.js → rehype-slug-27WNXM7U.js} +9 -9
  114. package/dist/_node-chunks/{relaxed-limits-VNNWUW7X.js → relaxed-limits-PDGCGDW4.js} +11 -11
  115. package/dist/_node-chunks/{run-YK6ARCWS.js → run-BD52SWQC.js} +17 -17
  116. package/dist/_node-chunks/{run-RUAAWEQT.js → run-IKBDOUY2.js} +273 -13
  117. package/dist/_node-chunks/session-id-K7PM5ZGL.js +23 -0
  118. package/dist/_node-chunks/{setup-4QKCICV6.js → setup-7ECNMG4A.js} +8 -8
  119. package/dist/_node-chunks/{vitest.config.4.template-WVFLIXN7.js → vitest.config.4.template-J4YODMMP.js} +7 -7
  120. package/dist/addon-a11y/manager.js +6 -6
  121. package/dist/addon-a11y/preset.js +7 -7
  122. package/dist/addon-docs/blocks.js +10 -10
  123. package/dist/addon-docs/manager.js +2 -2
  124. package/dist/addon-docs/preset.js +10 -10
  125. package/dist/addon-links/preview.d.ts +1 -1
  126. package/dist/addon-mcp/preset.js +10 -10
  127. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +11 -8
  128. package/dist/addon-themes/postinstall.js +7 -7
  129. package/dist/addon-vitest/constants.js +8 -8
  130. package/dist/addon-vitest/manager.js +4 -4
  131. package/dist/addon-vitest/node/coverage-reporter.js +8 -8
  132. package/dist/addon-vitest/node/vitest.js +16 -16
  133. package/dist/addon-vitest/postinstall.js +10 -10
  134. package/dist/addon-vitest/preset.js +14 -14
  135. package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
  136. package/dist/addon-vitest/vitest-plugin/index.js +15 -15
  137. package/dist/babel/index.js +11 -11
  138. package/dist/bin/core.js +62 -62
  139. package/dist/bin/dispatcher.js +18 -16
  140. package/dist/bin/loader.js +8 -8
  141. package/dist/builder-vite/index.js +15 -15
  142. package/dist/builder-vite/preset.js +13 -13
  143. package/dist/{chunk-DuDsmeM7.d.ts → chunk-CFk6djyM.d.ts} +4 -4
  144. package/dist/{chunk-CVY28Ngy.d.ts → chunk-CJY2njs4.d.ts} +1 -1
  145. package/dist/{chunk-CzmZhVrn.d.ts → chunk-DktrsDd6.d.ts} +13 -8
  146. package/dist/{chunk-BWzbIWPz.d.ts → chunk-Dw_4ad2Y.d.ts} +5 -5
  147. package/dist/{chunk-ClI-HEh5.d.ts → chunk-pFH9P91a.d.ts} +1 -1
  148. package/dist/cli/index.d.ts +1 -1
  149. package/dist/cli/index.js +22 -22
  150. package/dist/cli/skills/content/index.d.ts +1 -1
  151. package/dist/cli/skills/content/index.js +2 -2
  152. package/dist/cli/tools/sdk/child-host.d.ts +1 -1
  153. package/dist/cli/tools/sdk/child-host.js +17 -17
  154. package/dist/cli/tools/sdk/index.d.ts +1 -1
  155. package/dist/cli/tools/sdk/index.js +18 -18
  156. package/dist/cli-commands/bin/index.js +7 -7
  157. package/dist/common/index.d.ts +14 -27
  158. package/dist/common/index.js +36 -40
  159. package/dist/components/index.js +30 -30
  160. package/dist/core-server/index.d.ts +6 -6
  161. package/dist/core-server/index.js +69 -69
  162. package/dist/core-server/presets/common-manager.js +7 -7
  163. package/dist/core-server/presets/common-override-preset.js +10 -10
  164. package/dist/core-server/presets/common-preset.js +39 -39
  165. package/dist/create/bin/index.js +7 -7
  166. package/dist/create/index.js +15 -15
  167. package/dist/csf-tools/index.d.ts +12 -0
  168. package/dist/csf-tools/index.js +12 -12
  169. package/dist/manager/_manager-chunks/{globals-runtime-BUP5e_t9.js → globals-runtime-4fCHtNC6.js} +1 -1
  170. package/dist/manager/_manager-chunks/{globals-runtime-CdgVeAbk.js → globals-runtime-BKW-4ztO.js} +7 -7
  171. package/dist/manager/_manager-chunks/{globals-runtime-DedfO-DP.js → globals-runtime-BO0pfoqL.js} +4 -4
  172. package/dist/manager/_manager-chunks/{globals-runtime-C7mqoHpE.js → globals-runtime-BZKYJxYC.js} +1 -1
  173. package/dist/manager/_manager-chunks/{globals-runtime-CrIF09P8.js → globals-runtime-Bpc_ftuT.js} +8 -2
  174. package/dist/manager/_manager-chunks/{globals-runtime-B-IeQLQu.js → globals-runtime-CIcNS9TG.js} +12 -12
  175. package/dist/manager/_manager-chunks/{globals-runtime-XSxCU7PR.js → globals-runtime-CTyYXvUm.js} +1 -1
  176. package/dist/manager/_manager-chunks/{globals-runtime-B71TiXST.js → globals-runtime-CoCzM1V_.js} +1 -1
  177. package/dist/manager/_manager-chunks/{globals-runtime-DMBjo1QS.js → globals-runtime-D82vqOGq.js} +2 -2
  178. package/dist/manager/_manager-chunks/{globals-runtime-CYNosEiD.js → globals-runtime-DB8fVA5g.js} +2 -144
  179. package/dist/manager/_manager-chunks/{globals-runtime-CvyFEPIY.js → globals-runtime-DOPUchia.js} +3 -3
  180. package/dist/manager/_manager-chunks/{globals-runtime-DUK6bGcb.js → globals-runtime-DZN_3ZLm.js} +99 -39
  181. package/dist/manager/_manager-chunks/{globals-runtime-C_evJrEn.js → globals-runtime-Dbt08xWQ.js} +1 -1
  182. package/dist/manager/_manager-chunks/{globals-runtime-DqhIYwLp.js → globals-runtime-DgUeynuu.js} +75 -75
  183. package/dist/manager/_manager-chunks/{globals-runtime-B5-0Ccbv.js → globals-runtime-WhJXr5R1.js} +1 -1
  184. package/dist/manager/_manager-chunks/{globals-runtime-Ct1kY4wb.js → globals-runtime-kmPSyf3j.js} +1 -1
  185. package/dist/manager/_manager-chunks/{globals-runtime-Cqn8KdSZ.js → globals-runtime-z143vedu.js} +10 -10
  186. package/dist/manager/_manager-chunks/{runtime-CqItbdKW.js → runtime-5o_11Jae.js} +1 -1
  187. package/dist/manager/_manager-chunks/{runtime-CUymj6EY.js → runtime-B_U-7omv.js} +139 -147
  188. package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
  189. package/dist/manager/_manager-chunks/{runtime-BgYvp1WN.js → runtime-BrlctLSK.js} +82 -301
  190. package/dist/manager/_manager-chunks/{runtime-DrTLBe7a.js → runtime-BrwmuSZ1.js} +46 -22
  191. package/dist/manager/_manager-chunks/runtime-C-s1miBr.js +294 -0
  192. package/dist/manager/_manager-chunks/{runtime-DER98nV0.js → runtime-CHQZzIX6.js} +9 -12
  193. package/dist/manager/_manager-chunks/{runtime-D4ZOOIV0.js → runtime-DEHcqyTM.js} +4 -4
  194. package/dist/manager/_manager-chunks/{runtime-MAf7Wpk5.js → runtime-Dtpc5s3G.js} +501 -43
  195. package/dist/manager/_manager-chunks/{runtime-CHI-LHF1.js → runtime-DuptfEhw.js} +5 -147
  196. package/dist/manager/_manager-chunks/{runtime-CaU1DSEZ.js → runtime-P663lpsR.js} +1 -1
  197. package/dist/manager/globals-runtime.js +1 -1
  198. package/dist/manager/runtime.js +1 -1
  199. package/dist/manager-api/index.d.ts +1 -1
  200. package/dist/manager-api/index.js +2 -2
  201. package/dist/manager-errors.d.ts +1 -1
  202. package/dist/mcp/index.js +8 -8
  203. package/dist/mocking-utils/index.js +9 -9
  204. package/dist/nextjs-vite/index.d.ts +2 -2
  205. package/dist/nextjs-vite/node/index.d.ts +2 -2
  206. package/dist/nextjs-vite/node/index.js +7 -7
  207. package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
  208. package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
  209. package/dist/nextjs-vite/preset.js +92 -13
  210. package/dist/nextjs-vite/vite-plugin/index.js +7 -7
  211. package/dist/nextjs-vite-plugin/index.js +8 -8
  212. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
  213. package/dist/node-logger/index.js +9 -9
  214. package/dist/oxc-parser/index.js +10 -10
  215. package/dist/oxc-parser/worker.js +10 -10
  216. package/dist/preview-api/index.d.ts +1 -1
  217. package/dist/preview-errors.d.ts +1 -1
  218. package/dist/react/docgen/docgen-worker.js +11 -11
  219. package/dist/react/preset.js +13 -13
  220. package/dist/react-native/bin/get-stories.js +12 -12
  221. package/dist/react-native/index.d.ts +8 -8
  222. package/dist/react-native/index.js +3 -3
  223. package/dist/react-native/metro/node.js +10 -10
  224. package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +9 -9
  225. package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +16 -16
  226. package/dist/react-native/scripts/generate.d.ts +1 -1
  227. package/dist/react-native/scripts/generate.js +8 -8
  228. package/dist/react-native/stub.js +1 -1
  229. package/dist/react-vite/index.d.ts +2 -2
  230. package/dist/react-vite/node/index.d.ts +3 -3
  231. package/dist/react-vite/node/index.js +7 -7
  232. package/dist/react-vite/preset.js +7 -7
  233. package/dist/server-errors.d.ts +1 -1
  234. package/dist/server-errors.js +9 -9
  235. package/dist/shared/open-service/index.d.ts +1 -1
  236. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
  237. package/dist/telemetry/index.d.ts +3 -3
  238. package/dist/telemetry/index.js +43 -43
  239. package/dist/types/index.d.ts +2 -2
  240. package/package.json +11 -8
  241. package/dist/_node-chunks/chunk-UUE3PSJB.js +0 -11
  242. package/dist/_node-chunks/chunk-VKNRNBTB.js +0 -18
  243. package/dist/_node-chunks/dist-GGTGKXZA.js +0 -27
  244. package/dist/_node-chunks/dist-NS676VJR.js +0 -16
  245. package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +0 -22
  246. package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +0 -20
  247. package/dist/_node-chunks/session-id-JJYVZAKO.js +0 -23
  248. package/dist/manager/_manager-chunks/runtime-BR5z0WoJ.js +0 -456
  249. package/dist/manager/_manager-chunks/runtime-cVFIMcca.js +0 -22
@@ -1,4 +1,5 @@
1
- import { n as __esmMin, r as __exportAll } from "./runtime-EITvVbkG.js";
1
+ import { n as __esmMin, r as __exportAll } from "./runtime-BdGkqNEt.js";
2
+ import { _ as TooltipTrigger, b as init_TooltipRoot, d as TooltipPopup, f as init_TooltipPopup, g as init_TooltipPortal, h as TooltipPortal, m as init_TooltipPositioner, p as TooltipPositioner, v as init_TooltipTrigger, y as TooltipRoot } from "./runtime-CHQZzIX6.js";
2
3
  //#region \0storybook-global:react
3
4
  var _storybook_global_react_exports = /* @__PURE__ */ __exportAll({
4
5
  Children: () => Children,
@@ -40,45 +41,50 @@ var _storybook_global_react_exports = /* @__PURE__ */ __exportAll({
40
41
  version: () => version$1
41
42
  });
42
43
  var Children, Component, Fragment$1, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED$1, act, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, startTransition, unstable_act, useCallback, useContext, useDebugValue, useDeferredValue, useEffect, useId, useImperativeHandle, useInsertionEffect, useLayoutEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore, useTransition, version$1, _storybook_global_react_default;
43
- var init__storybook_global_react = __esmMin((() => {
44
- Children = __REACT__["Children"];
45
- Component = __REACT__["Component"];
46
- Fragment$1 = __REACT__["Fragment"];
47
- Profiler = __REACT__["Profiler"];
48
- PureComponent = __REACT__["PureComponent"];
49
- StrictMode = __REACT__["StrictMode"];
50
- Suspense = __REACT__["Suspense"];
51
- __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED$1 = __REACT__["__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"];
52
- act = __REACT__["act"];
53
- cloneElement = __REACT__["cloneElement"];
54
- createContext = __REACT__["createContext"];
55
- createElement = __REACT__["createElement"];
56
- createFactory = __REACT__["createFactory"];
57
- createRef = __REACT__["createRef"];
58
- forwardRef = __REACT__["forwardRef"];
59
- isValidElement = __REACT__["isValidElement"];
60
- lazy = __REACT__["lazy"];
61
- memo = __REACT__["memo"];
62
- startTransition = __REACT__["startTransition"];
63
- unstable_act = __REACT__["unstable_act"];
64
- useCallback = __REACT__["useCallback"];
65
- useContext = __REACT__["useContext"];
66
- useDebugValue = __REACT__["useDebugValue"];
67
- useDeferredValue = __REACT__["useDeferredValue"];
68
- useEffect = __REACT__["useEffect"];
69
- useId = __REACT__["useId"];
70
- useImperativeHandle = __REACT__["useImperativeHandle"];
71
- useInsertionEffect = __REACT__["useInsertionEffect"];
72
- useLayoutEffect = __REACT__["useLayoutEffect"];
73
- useMemo = __REACT__["useMemo"];
74
- useReducer = __REACT__["useReducer"];
75
- useRef = __REACT__["useRef"];
76
- useState = __REACT__["useState"];
77
- useSyncExternalStore = __REACT__["useSyncExternalStore"];
78
- useTransition = __REACT__["useTransition"];
79
- version$1 = __REACT__["version"];
80
- _storybook_global_react_default = __REACT__;
81
- })), createBrowserChannel;
44
+ function init__storybook_global_react() {
45
+ return (init__storybook_global_react = __esmMin((() => {
46
+ Children = __REACT__["Children"];
47
+ Component = __REACT__["Component"];
48
+ Fragment$1 = __REACT__["Fragment"];
49
+ Profiler = __REACT__["Profiler"];
50
+ PureComponent = __REACT__["PureComponent"];
51
+ StrictMode = __REACT__["StrictMode"];
52
+ Suspense = __REACT__["Suspense"];
53
+ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED$1 = __REACT__["__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED"];
54
+ act = __REACT__["act"];
55
+ cloneElement = __REACT__["cloneElement"];
56
+ createContext = __REACT__["createContext"];
57
+ createElement = __REACT__["createElement"];
58
+ createFactory = __REACT__["createFactory"];
59
+ createRef = __REACT__["createRef"];
60
+ forwardRef = __REACT__["forwardRef"];
61
+ isValidElement = __REACT__["isValidElement"];
62
+ lazy = __REACT__["lazy"];
63
+ memo = __REACT__["memo"];
64
+ startTransition = __REACT__["startTransition"];
65
+ unstable_act = __REACT__["unstable_act"];
66
+ useCallback = __REACT__["useCallback"];
67
+ useContext = __REACT__["useContext"];
68
+ useDebugValue = __REACT__["useDebugValue"];
69
+ useDeferredValue = __REACT__["useDeferredValue"];
70
+ useEffect = __REACT__["useEffect"];
71
+ useId = __REACT__["useId"];
72
+ useImperativeHandle = __REACT__["useImperativeHandle"];
73
+ useInsertionEffect = __REACT__["useInsertionEffect"];
74
+ useLayoutEffect = __REACT__["useLayoutEffect"];
75
+ useMemo = __REACT__["useMemo"];
76
+ useReducer = __REACT__["useReducer"];
77
+ useRef = __REACT__["useRef"];
78
+ useState = __REACT__["useState"];
79
+ useSyncExternalStore = __REACT__["useSyncExternalStore"];
80
+ useTransition = __REACT__["useTransition"];
81
+ version$1 = __REACT__["version"];
82
+ _storybook_global_react_default = __REACT__;
83
+ })))();
84
+ }
85
+ //#endregion
86
+ //#region \0storybook-global:@aussieljk/forkbook/internal/channels
87
+ var createBrowserChannel;
82
88
  function init_channels() {
83
89
  return (init_channels = __esmMin((() => {
84
90
  __FORKBOOK_CHANNELS__["Channel"];
@@ -475,7 +481,7 @@ function init_theming() {
475
481
  }
476
482
  //#endregion
477
483
  //#region \0storybook-global:@aussieljk/forkbook/internal/components
478
- var AbstractToolbar, ActionList, Badge, Button, Card, Collapsible, DocumentWrapper, EmptyTabContent, ErrorFormatter, ForkbookIcon, ForkbookLogo, Form, IconButton, Link$1, Loader, Modal, PopoverProvider, ScrollArea, Select, Separator, Spaced, StatelessTab, StatelessTabList, StatelessTabPanel, StatelessTabsView, TabList, TabPanel, TabsView, ToggleButton, Tooltip, TooltipLinkList, TooltipProvider, Zoom, useCopyButton, useTabsState;
484
+ var AbstractToolbar, ActionList, Badge, Button, Card, Collapsible, DocumentWrapper, EmptyTabContent, ErrorFormatter, ForkbookIcon, ForkbookLogo, Form, IconButton, Link$1, Loader, Modal, PopoverProvider, ScrollArea, Select, Separator, Spaced, StatelessTab, StatelessTabList, StatelessTabPanel, StatelessTabsView, TabList, TabPanel, TabsView, ToggleButton, Tooltip, TooltipLinkList, TooltipProvider$1, Zoom, useCopyButton, useTabsState;
479
485
  function init_components() {
480
486
  return (init_components = __esmMin((() => {
481
487
  __FORKBOOK_COMPONENTS__["A"];
@@ -549,7 +555,7 @@ function init_components() {
549
555
  TooltipLinkList = __FORKBOOK_COMPONENTS__["TooltipLinkList"];
550
556
  __FORKBOOK_COMPONENTS__["TooltipMessage"];
551
557
  __FORKBOOK_COMPONENTS__["TooltipNote"];
552
- TooltipProvider = __FORKBOOK_COMPONENTS__["TooltipProvider"];
558
+ TooltipProvider$1 = __FORKBOOK_COMPONENTS__["TooltipProvider"];
553
559
  __FORKBOOK_COMPONENTS__["UL"];
554
560
  __FORKBOOK_COMPONENTS__["WithTooltip"];
555
561
  __FORKBOOK_COMPONENTS__["WithTooltipPure"];
@@ -584,6 +590,320 @@ function init_client_logger() {
584
590
  })))();
585
591
  }
586
592
  //#endregion
593
+ //#region src/components/components/icon/icon.module.css
594
+ var id$1, icon_module_default;
595
+ function init_icon_module() {
596
+ return (init_icon_module = __esmMin((() => {
597
+ id$1 = "core/src/components/components/icon/icon.module.css";
598
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$1}"]`)) {
599
+ const style = document.createElement("style");
600
+ style.setAttribute("data-fb-css", id$1);
601
+ style.textContent = ".fb-SpsHCG-svg{shape-rendering:inherit;vertical-align:middle;fill:currentColor;display:inline-block;& path{fill:currentColor}}";
602
+ document.head.appendChild(style);
603
+ }
604
+ icon_module_default = { "svg": "fb-SpsHCG-svg" };
605
+ })))();
606
+ }
607
+ //#endregion
608
+ //#region src/components/components/icon/icon.tsx
609
+ var Icons, icons;
610
+ function init_icon() {
611
+ return (init_icon = __esmMin((() => {
612
+ init__storybook_global_react();
613
+ init_client_logger();
614
+ init_react();
615
+ init_icon_module();
616
+ Icons = ({ icon, useSymbol, __suppressDeprecationWarning = false, ...props }) => {
617
+ if (!__suppressDeprecationWarning) deprecate(`Use of the deprecated Icons ${`(${icon})` || ""} component detected. Import an icon from @phosphor-icons/react instead. For more informations, see the migration notes at https://forkbook.ljk.dev/docs/migration#icons-is-deprecated`);
618
+ const Icon = icons[icon];
619
+ if (!Icon) {
620
+ logger.warn(`Use of an unknown prop ${`(${icon})` || ""} in the Icons component. The Icons component is deprecated. Import an icon from @phosphor-icons/react instead. For more informations, see the migration notes at https://forkbook.ljk.dev/docs/migration#icons-is-deprecated`);
621
+ return null;
622
+ }
623
+ return /* @__PURE__ */ _storybook_global_react_default.createElement(Icon, {
624
+ size: 14,
625
+ ...props
626
+ });
627
+ };
628
+ memo(function Symbols({ icons: keys = Object.keys(icons) }) {
629
+ return /* @__PURE__ */ _storybook_global_react_default.createElement("svg", {
630
+ className: icon_module_default.svg,
631
+ viewBox: "0 0 14 14",
632
+ style: {
633
+ position: "absolute",
634
+ width: 0,
635
+ height: 0
636
+ },
637
+ "data-chromatic": "ignore"
638
+ }, keys.map((key) => {
639
+ const Icon = icons[key];
640
+ return /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", {
641
+ id: `icon--${key}`,
642
+ key
643
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement(Icon, { size: 14 }));
644
+ }));
645
+ });
646
+ icons = {
647
+ user: UserIcon,
648
+ useralt: UserCircleIcon,
649
+ useradd: UserPlusIcon,
650
+ users: UsersIcon,
651
+ profile: IdentificationCardIcon,
652
+ facehappy: SmileyIcon,
653
+ faceneutral: SmileyMehIcon,
654
+ facesad: SmileySadIcon,
655
+ accessibility: PersonArmsSpreadIcon,
656
+ accessibilityalt: PersonArmsSpreadIcon,
657
+ accessibilityignored: ProhibitIcon,
658
+ arrowup: CaretUpIcon,
659
+ arrowdown: CaretDownIcon,
660
+ arrowleft: CaretLeftIcon,
661
+ arrowright: CaretRightIcon,
662
+ arrowupalt: ArrowUpIcon,
663
+ arrowdownalt: ArrowDownIcon,
664
+ arrowleftalt: ArrowLeftIcon,
665
+ arrowrightalt: ArrowRightIcon,
666
+ arrowtopleft: ArrowUpLeftIcon,
667
+ arrowtopright: ArrowUpRightIcon,
668
+ arrowbottomleft: ArrowDownLeftIcon,
669
+ arrowbottomright: ArrowDownRightIcon,
670
+ arrowsolidup: CaretUpIcon,
671
+ arrowsoliddown: CaretDownIcon,
672
+ arrowsolidleft: CaretLeftIcon,
673
+ arrowsolidright: CaretRightIcon,
674
+ chevronsmallup: CaretUpIcon,
675
+ chevronsmalldown: CaretDownIcon,
676
+ chevronsmallleft: CaretLeftIcon,
677
+ chevronsmallright: CaretRightIcon,
678
+ expandalt: ArrowsOutSimpleIcon,
679
+ collapse: ArrowsInLineVerticalIcon,
680
+ expand: ArrowsOutLineVerticalIcon,
681
+ unfold: ArrowsOutLineVerticalIcon,
682
+ transfer: ArrowsLeftRightIcon,
683
+ redirect: ArrowBendUpRightIcon,
684
+ jumpto: ArrowSquareInIcon,
685
+ popout: ArrowSquareOutIcon,
686
+ undo: ArrowCounterClockwiseIcon,
687
+ reply: ArrowBendUpLeftIcon,
688
+ sync: ArrowsClockwiseIcon,
689
+ upload: UploadSimpleIcon,
690
+ download: DownloadSimpleIcon,
691
+ save: FloppyDiskIcon,
692
+ back: ArrowCircleLeftIcon,
693
+ proceed: ArrowCircleRightIcon,
694
+ refresh: ArrowClockwiseIcon,
695
+ globe: GlobeIcon,
696
+ compass: CompassIcon,
697
+ direction: SignpostIcon,
698
+ location: CrosshairIcon,
699
+ pin: MapPinIcon,
700
+ time: ClockIcon,
701
+ dashboard: GaugeIcon,
702
+ timer: TimerIcon,
703
+ home: HouseIcon,
704
+ admin: UserGearIcon,
705
+ info: InfoIcon,
706
+ question: QuestionIcon,
707
+ support: LifebuoyIcon,
708
+ bug: BugIcon,
709
+ alert: WarningIcon,
710
+ alertalt: WarningCircleIcon,
711
+ email: EnvelopeSimpleIcon,
712
+ phone: PhoneIcon,
713
+ link: LinkIcon,
714
+ unlink: LinkBreakIcon,
715
+ bell: BellIcon,
716
+ rss: RssIcon,
717
+ sharealt: ShareNetworkIcon,
718
+ share: ExportIcon,
719
+ circle: CircleIcon,
720
+ circlehollow: CircleIcon,
721
+ diamond: DiamondIcon,
722
+ bookmarkhollow: BookmarkSimpleIcon,
723
+ bookmark: BookmarkSimpleIcon,
724
+ hearthollow: HeartIcon,
725
+ heart: HeartIcon,
726
+ starhollow: StarIcon,
727
+ star: StarIcon,
728
+ certificate: CertificateIcon,
729
+ verified: SealCheckIcon,
730
+ thumbsup: ThumbsUpIcon,
731
+ shield: ShieldIcon,
732
+ basket: BasketIcon,
733
+ beaker: FlaskIcon,
734
+ hourglass: HourglassIcon,
735
+ flag: FlagIcon,
736
+ gift: GiftIcon,
737
+ sticker: StickerIcon,
738
+ cloudhollow: CloudIcon,
739
+ cloud: CloudIcon,
740
+ edit: PencilSimpleIcon,
741
+ editor: CodeIcon,
742
+ cog: GearIcon,
743
+ nut: NutIcon,
744
+ wrench: WrenchIcon,
745
+ wand: MagicWandIcon,
746
+ ellipsis: DotsThreeIcon,
747
+ check: CheckIcon,
748
+ checklist: ListChecksIcon,
749
+ form: TextboxIcon,
750
+ batchdeny: XSquareIcon,
751
+ batchaccept: ChecksIcon,
752
+ controls: SlidersHorizontalIcon,
753
+ plus: PlusIcon,
754
+ closeAlt: "CloseAltIcon",
755
+ cross: XIcon,
756
+ trash: TrashIcon,
757
+ pinalt: PushPinIcon,
758
+ unpin: PushPinSlashIcon,
759
+ add: PlusIcon,
760
+ subtract: MinusIcon,
761
+ close: XIcon,
762
+ delete: XCircleIcon,
763
+ passed: CheckCircleIcon,
764
+ changed: PencilSimpleIcon,
765
+ failed: XCircleIcon,
766
+ status: CircleIcon,
767
+ statuspass: CheckCircleIcon,
768
+ statusfail: XCircleIcon,
769
+ statuswarn: WarningCircleIcon,
770
+ statusnew: PlusCircleIcon,
771
+ clear: BackspaceIcon,
772
+ sweep: BroomIcon,
773
+ comment: ChatCenteredIcon,
774
+ commentadd: ChatCenteredTextIcon,
775
+ requestchange: ChatCircleDotsIcon,
776
+ comments: ChatsIcon,
777
+ chat: ChatCircleIcon,
778
+ lock: LockIcon,
779
+ unlock: LockOpenIcon,
780
+ key: KeyIcon,
781
+ command: CommandIcon,
782
+ outbox: TrayArrowUpIcon,
783
+ credit: CreditCardIcon,
784
+ button: CursorClickIcon,
785
+ type: TextTIcon,
786
+ pointerdefault: CursorIcon,
787
+ pointerhand: HandPointingIcon,
788
+ browser: BrowserIcon,
789
+ tablet: DeviceTabletIcon,
790
+ mobile: DeviceMobileIcon,
791
+ watch: WatchIcon,
792
+ sidebar: SidebarIcon,
793
+ sidebaralt: SidebarSimpleIcon,
794
+ sidebaralttoggle: SidebarSimpleIcon,
795
+ sidebartoggle: SidebarIcon,
796
+ bottombar: SquareSplitVerticalIcon,
797
+ bottombartoggle: SquareSplitVerticalIcon,
798
+ cpu: CpuIcon,
799
+ database: DatabaseIcon,
800
+ memory: MemoryIcon,
801
+ structure: TreeStructureIcon,
802
+ box: PackageIcon,
803
+ power: PowerIcon,
804
+ photo: ImageIcon,
805
+ component: SquaresFourIcon,
806
+ grid: GridFourIcon,
807
+ gridalt: GridNineIcon,
808
+ outline: SelectionIcon,
809
+ photodrag: ImageIcon,
810
+ photostabilize: ImageIcon,
811
+ drag: DotsSixVerticalIcon,
812
+ search: MagnifyingGlassIcon,
813
+ zoom: MagnifyingGlassPlusIcon,
814
+ zoomout: MagnifyingGlassMinusIcon,
815
+ zoomreset: ArrowCounterClockwiseIcon,
816
+ eye: EyeIcon,
817
+ eyeclose: EyeSlashIcon,
818
+ lightning: LightningIcon,
819
+ lightningoff: LightningSlashIcon,
820
+ contrast: CircleHalfIcon,
821
+ contrastignored: CircleHalfTiltIcon,
822
+ switchalt: ArrowsLeftRightIcon,
823
+ mirror: FlipHorizontalIcon,
824
+ grow: ArrowsOutIcon,
825
+ paintbrush: PaintBrushIcon,
826
+ paintbrushalt: PaintBrushBroadIcon,
827
+ ruler: RulerIcon,
828
+ stop: StopIcon,
829
+ camera: CameraIcon,
830
+ camerastabilize: CameraIcon,
831
+ video: VideoCameraIcon,
832
+ speaker: SpeakerHighIcon,
833
+ play: PlayIcon,
834
+ playback: SkipBackIcon,
835
+ playnext: SkipForwardIcon,
836
+ playhollow: PlayCircleIcon,
837
+ playallhollow: PlayCircleIcon,
838
+ rewind: RewindIcon,
839
+ fastforward: FastForwardIcon,
840
+ stopalt: StopCircleIcon,
841
+ stopalthollow: StopCircleIcon,
842
+ sidebyside: SquareSplitHorizontalIcon,
843
+ stacked: StackIcon,
844
+ sun: SunIcon,
845
+ moon: MoonIcon,
846
+ book: BookOpenIcon,
847
+ document: FileTextIcon,
848
+ copy: CopyIcon,
849
+ category: TagIcon,
850
+ folder: FolderIcon,
851
+ files: FilesIcon,
852
+ print: PrinterIcon,
853
+ graphline: ChartLineIcon,
854
+ calendar: CalendarBlankIcon,
855
+ graphbar: ChartBarIcon,
856
+ menu: ListIcon,
857
+ menualt: ListIcon,
858
+ filter: FunnelSimpleIcon,
859
+ sortup: SortAscendingIcon,
860
+ sortdown: SortDescendingIcon,
861
+ docchart: ChartBarIcon,
862
+ doclist: ListBulletsIcon,
863
+ markup: CodeIcon,
864
+ bold: TextBIcon,
865
+ italic: TextItalicIcon,
866
+ alignleft: TextAlignLeftIcon,
867
+ alignright: TextAlignRightIcon,
868
+ paperclip: PaperclipIcon,
869
+ listordered: ListNumbersIcon,
870
+ listunordered: ListBulletsIcon,
871
+ paragraph: ParagraphIcon,
872
+ markdown: MarkdownLogoIcon,
873
+ repository: BooksIcon,
874
+ commit: GitCommitIcon,
875
+ branch: GitBranchIcon,
876
+ pullrequest: GitPullRequestIcon,
877
+ merge: GitMergeIcon,
878
+ apple: AppleLogoIcon,
879
+ linux: LinuxLogoIcon,
880
+ ubuntu: LinuxLogoIcon,
881
+ windows: WindowsLogoIcon,
882
+ storybook: BookOpenIcon,
883
+ azuredevops: MicrosoftOutlookLogoIcon,
884
+ bitbucket: GitBranchIcon,
885
+ chrome: GoogleChromeLogoIcon,
886
+ chromatic: CameraIcon,
887
+ componentdriven: PuzzlePieceIcon,
888
+ discord: DiscordLogoIcon,
889
+ facebook: FacebookLogoIcon,
890
+ figma: FigmaLogoIcon,
891
+ gdrive: GoogleDriveLogoIcon,
892
+ github: GithubLogoIcon,
893
+ gitlab: GitlabLogoIcon,
894
+ google: GoogleLogoIcon,
895
+ graphql: GraphIcon,
896
+ linkedin: LinkedinLogoIcon,
897
+ medium: MediumLogoIcon,
898
+ redux: AtomIcon,
899
+ twitter: TwitterLogoIcon,
900
+ x: XLogoIcon,
901
+ youtube: YoutubeLogoIcon,
902
+ vscode: CodeIcon
903
+ };
904
+ })))();
905
+ }
906
+ //#endregion
587
907
  //#region \0storybook-global:react-dom/client
588
908
  var createRoot$1;
589
909
  function init_client() {
@@ -639,6 +959,65 @@ function init_create() {
639
959
  })))();
640
960
  }
641
961
  //#endregion
962
+ //#region src/components/components/shared/trapTabKey.ts
963
+ /**
964
+ * Keeps Tab and Shift+Tab inside a container: from the last tabbable element, Tab goes to the first
965
+ * one, and from the first, Shift+Tab goes to the last one. Call it from a keydown handler.
966
+ */
967
+ function trapTabKey(event, container) {
968
+ if (event.key !== "Tab" || event.defaultPrevented || !container.contains(event.target)) return;
969
+ const tabbables = getTabbables(container);
970
+ const first = tabbables[0];
971
+ const last = tabbables[tabbables.length - 1];
972
+ if (!first) event.preventDefault();
973
+ else if (event.shiftKey && event.target === first) {
974
+ event.preventDefault();
975
+ last.focus();
976
+ } else if (!event.shiftKey && event.target === last) {
977
+ event.preventDefault();
978
+ first.focus();
979
+ }
980
+ }
981
+ var TABBABLE, getTabbables;
982
+ function init_trapTabKey() {
983
+ return (init_trapTabKey = __esmMin((() => {
984
+ TABBABLE = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
985
+ getTabbables = (container) => Array.from(container.querySelectorAll(TABBABLE)).filter((element) => element.getClientRects().length > 0 && !element.hasAttribute("data-base-ui-focus-guard"));
986
+ })))();
987
+ }
988
+ //#endregion
989
+ //#region src/components/components/tooltip/TooltipNote.module.css
990
+ var id, TooltipNote_module_default;
991
+ function init_TooltipNote_module() {
992
+ return (init_TooltipNote_module = __esmMin((() => {
993
+ id = "core/src/components/components/tooltip/TooltipNote.module.css";
994
+ if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
995
+ const style = document.createElement("style");
996
+ style.setAttribute("data-fb-css", id);
997
+ style.textContent = ".fb-owKRYa-note{font-size:10px;line-height:16px;font-family:var(--fb-font-base);font-weight:var(--fb-weight-bold);color:var(--fb-color-lightest);pointer-events:none;z-index:-1;background:#3c3c3ce6;border-radius:4px;gap:6px;padding:4px 6px;display:flex;box-shadow:0 0 5px #0000004d;& code{background:#ffffff1a;border-radius:2px;padding:0 3px}}:where([data-fb-theme=dark]) .fb-owKRYa-note{background:#000000f2}";
998
+ document.head.appendChild(style);
999
+ }
1000
+ TooltipNote_module_default = { "note": "fb-owKRYa-note" };
1001
+ })))();
1002
+ }
1003
+ //#endregion
1004
+ //#region src/components/components/tooltip/TooltipNote.tsx
1005
+ var DEFAULT_MAX_WIDTH, TooltipNote;
1006
+ function init_TooltipNote() {
1007
+ return (init_TooltipNote = __esmMin((() => {
1008
+ init__storybook_global_react();
1009
+ init_TooltipNote_module();
1010
+ DEFAULT_MAX_WIDTH = 260;
1011
+ TooltipNote = ({ note, maxWidth = DEFAULT_MAX_WIDTH, shortcut, ...props }) => {
1012
+ return /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
1013
+ className: TooltipNote_module_default.note,
1014
+ style: { maxWidth },
1015
+ ...props
1016
+ }, note && /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, note), shortcut && /* @__PURE__ */ _storybook_global_react_default.createElement("code", null, shortcut));
1017
+ };
1018
+ })))();
1019
+ }
1020
+ //#endregion
642
1021
  //#region \0storybook-global:react/jsx-runtime
643
1022
  var jsx, jsxs;
644
1023
  function init_jsx_runtime() {
@@ -670,6 +1049,85 @@ function init__storybook_global_react_dom() {
670
1049
  })))();
671
1050
  }
672
1051
  //#endregion
1052
+ //#region src/components/components/shared/overlayHelpers.tsx
1053
+ var convertToBaseUiPlacement, PortalContainerContext, Trigger;
1054
+ function init_overlayHelpers() {
1055
+ return (init_overlayHelpers = __esmMin((() => {
1056
+ init__storybook_global_react();
1057
+ convertToBaseUiPlacement = (placement) => {
1058
+ const [side, align = "center"] = placement.split("-");
1059
+ return {
1060
+ side,
1061
+ align
1062
+ };
1063
+ };
1064
+ PortalContainerContext = createContext(void 0);
1065
+ Trigger = forwardRef((props, ref) => /* @__PURE__ */ _storybook_global_react_default.createElement("button", {
1066
+ ...props,
1067
+ ref,
1068
+ style: {
1069
+ width: 120,
1070
+ height: 50,
1071
+ margin: 10
1072
+ }
1073
+ }));
1074
+ Trigger.displayName = "Trigger";
1075
+ })))();
1076
+ }
1077
+ //#endregion
1078
+ //#region src/components/components/shared/PortalTheme.tsx
1079
+ var PortalTheme;
1080
+ function init_PortalTheme() {
1081
+ return (init_PortalTheme = __esmMin((() => {
1082
+ init__storybook_global_react();
1083
+ init_theming();
1084
+ PortalTheme = ({ children }) => /* @__PURE__ */ _storybook_global_react_default.createElement(ThemeProvider, { theme: useTheme() }, children);
1085
+ })))();
1086
+ }
1087
+ //#endregion
1088
+ //#region src/components/components/tooltip/TooltipProvider.tsx
1089
+ var TooltipProvider;
1090
+ function init_TooltipProvider() {
1091
+ return (init_TooltipProvider = __esmMin((() => {
1092
+ init__storybook_global_react();
1093
+ init_client_logger();
1094
+ init_TooltipRoot(), init_TooltipTrigger(), init_TooltipPortal(), init_TooltipPositioner(), init_TooltipPopup();
1095
+ init_overlayHelpers();
1096
+ init_PortalTheme();
1097
+ TooltipProvider = ({ triggerOnFocusOnly = false, placement = "top", offset = 8, tooltip, children, defaultVisible, startOpen, delayShow = 400, delayHide = 200, visible, onVisibleChange }) => {
1098
+ const portalContainer = useContext(PortalContainerContext);
1099
+ const child = _storybook_global_react_default.Children.only(children);
1100
+ const generatedId = useId();
1101
+ const triggerId = child.props.id ?? generatedId;
1102
+ if (startOpen !== void 0) deprecate("The `startOpen` prop is deprecated. Please use `defaultVisible` instead.");
1103
+ const [isOpen, setIsOpen] = useState(defaultVisible ?? startOpen ?? false);
1104
+ const onOpenChange = (open, { reason }) => {
1105
+ if (open && triggerOnFocusOnly && reason === "trigger-hover") return;
1106
+ setIsOpen(open);
1107
+ onVisibleChange?.(open);
1108
+ };
1109
+ return /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipRoot, {
1110
+ open: visible ?? isOpen,
1111
+ onOpenChange,
1112
+ triggerId
1113
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipTrigger, {
1114
+ id: triggerId,
1115
+ delay: delayShow,
1116
+ closeDelay: delayHide,
1117
+ render: child
1118
+ }), /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipPortal, { container: portalContainer }, /* @__PURE__ */ _storybook_global_react_default.createElement(PortalTheme, null, /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipPositioner, {
1119
+ ...convertToBaseUiPlacement(placement),
1120
+ sideOffset: offset,
1121
+ style: { zIndex: 1e5 }
1122
+ }, /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipPopup, {
1123
+ role: "tooltip",
1124
+ "data-testid": "tooltip",
1125
+ style: { outline: "none" }
1126
+ }, tooltip)))));
1127
+ };
1128
+ })))();
1129
+ }
1130
+ //#endregion
673
1131
  //#region \0storybook-global:@aussieljk/forkbook/internal/types
674
1132
  var Addon_TypesEnum, CHANGE_DETECTION_STATUS_TYPE_ID, NON_AGGREGATED_STATUS_TYPE_IDS, REVIEW_STATUS_TYPE_ID;
675
1133
  function init_types() {
@@ -689,4 +1147,4 @@ function init_types() {
689
1147
  })))();
690
1148
  }
691
1149
  //#endregion
692
- export { TabList as $, Children as $a, SquareSplitHorizontalIcon as $i, DiamondIcon as $n, ListIcon as $r, ArrowSquareOutIcon as $t, Badge as A, WatchIcon as Aa, PushPinIcon as Ai, ChatCircleDotsIcon as An, GoogleDriveLogoIcon as Ar, shortcutMatchesShortcut as At, IconButton as B, CHANNEL_WS_DISCONNECT as Ba, ShieldIcon as Bi, CloudIcon as Bn, IdentificationCardIcon as Br, AppleLogoIcon as Bt, init_client as C, UserGearIcon as Ca, PlayCircleIcon as Ci, CaretRightIcon as Cn, useSyncExternalStore as Co, GitCommitIcon as Cr, experimental_useStatusStore as Ct, once as D, VideoCameraIcon as Da, PowerIcon as Di, ChartLineIcon as Dn, GitlabLogoIcon as Dr, internal_fullStatusStore as Dt, logger as E, UsersIcon as Ea, PlusIcon as Ei, ChartBarIcon as En, GithubLogoIcon as Er, init_manager_api as Et, EmptyTabContent as F, XLogoIcon as Fa, RssIcon as Fi, ChecksIcon as Fn, HandPointingIcon as Fr, useGlobals as Ft, ScrollArea as G, SET_CURRENT_STORY as Ga, SkipForwardIcon as Gi, CpuIcon as Gn, LightningIcon as Gr, ArrowClockwiseIcon as Gt, Loader as H, FORCE_REMOUNT as Ha, SidebarSimpleIcon as Hi, CommandIcon as Hn, InfoIcon as Hr, ArrowBendUpRightIcon as Ht, ErrorFormatter as I, XSquareIcon as Ia, RulerIcon as Ii, CircleHalfIcon as In, HeartIcon as Ir, useParameter as It, Spaced as J, STORIES_EXPAND_ALL as Ja, SmileyMehIcon as Ji, CursorClickIcon as Jn, LinkIcon as Jr, ArrowDownLeftIcon as Jt, Select as K, SHARE_ISOLATE_MODE as Ka, SlidersHorizontalIcon as Ki, CreditCardIcon as Kn, LightningSlashIcon as Kr, ArrowCounterClockwiseIcon as Kt, ForkbookIcon as L, YoutubeLogoIcon as La, SealCheckIcon as Li, CircleHalfTiltIcon as Ln, HourglassIcon as Lr, useServiceQuery as Lt, Card as M, WrenchIcon as Ma, PuzzlePieceIcon as Mi, ChatsIcon as Mn, GraphIcon as Mr, types as Mt, Collapsible as N, XCircleIcon as Na, QuestionIcon as Ni, CheckCircleIcon as Nn, GridFourIcon as Nr, useChannel as Nt, AbstractToolbar as O, WarningCircleIcon as Oa, PrinterIcon as Oi, ChatCenteredIcon as On, GlobeIcon as Or, internal_fullTestProviderStore as Ot, DocumentWrapper as P, XIcon as Pa, RewindIcon as Pi, CheckIcon as Pn, GridNineIcon as Pr, useGlobalTypes as Pt, StatelessTabsView as Q, init_channels as Qa, SpeakerHighIcon as Qi, DeviceTabletIcon as Qn, ListChecksIcon as Qr, ArrowSquareInIcon as Qt, ForkbookLogo as R, init_react as Ra, SelectionIcon as Ri, CircleIcon as Rn, HouseIcon as Rr, useStorybookApi as Rt, createRoot$1 as S, UserCircleIcon as Sa, PhoneIcon as Si, CaretLeftIcon as Sn, useState as So, GitBranchIcon as Sr, experimental_getStatusStore as St, init_client_logger as T, UserPlusIcon as Ta, PlusCircleIcon as Ti, CertificateIcon as Tn, GitPullRequestIcon as Tr, getService as Tt, Modal as U, PRELOAD_ENTRIES as Ua, SignpostIcon as Ui, CompassIcon as Un, KeyIcon as Ur, ArrowCircleLeftIcon as Ut, Link$1 as V, DOCS_PAGE_IN_VIEW as Va, SidebarIcon as Vi, CodeIcon as Vn, ImageIcon as Vr, ArrowBendUpLeftIcon as Vt, PopoverProvider as W, PREVIEW_BUILDER_PROGRESS as Wa, SkipBackIcon as Wi, CopyIcon as Wn, LifebuoyIcon as Wr, ArrowCircleRightIcon as Wt, StatelessTabList as X, init_core_events as Xa, SortAscendingIcon as Xi, DatabaseIcon as Xn, LinuxLogoIcon as Xr, ArrowLeftIcon as Xt, StatelessTab as Y, core_events_default as Ya, SmileySadIcon as Yi, CursorIcon as Yn, LinkedinLogoIcon as Yr, ArrowDownRightIcon as Yt, StatelessTabPanel as Z, createBrowserChannel as Za, SortDescendingIcon as Zi, DeviceMobileIcon as Zn, ListBulletsIcon as Zr, ArrowRightIcon as Zt, Route as _, TrashIcon as _a, PaintBrushIcon as _i, BrowserIcon as _n, useImperativeHandle as _o, FolderIcon as _r, useTheme as _t, init_types as a, StopCircleIcon as aa, MagnifyingGlassMinusIcon as ai, ArrowsLeftRightIcon as an, createContext as ao, ExportIcon as ar, TooltipProvider as at, ProviderDoesNotExtendBaseProviderError as b, TwitterLogoIcon as ba, PencilSimpleIcon as bi, CameraIcon as bn, useReducer as bo, GearIcon as br, addons as bt, init__storybook_global_react_dom as c, TagIcon as ca, MarkdownLogoIcon as ci, ArrowsOutSimpleIcon as cn, forwardRef as co, FacebookLogoIcon as cr, useCopyButton as ct, jsxs as d, TextBIcon as da, MicrosoftOutlookLogoIcon as di, BasketIcon as dn, memo as do, FileTextIcon as dr, color as dt, SquareSplitVerticalIcon as ea, ListNumbersIcon as ei, ArrowUpIcon as en, Component as eo, DiscordLogoIcon as er, TabPanel as et, init_create as f, TextItalicIcon as fa, MinusIcon as fi, BellIcon as fn, useCallback as fo, FilesIcon as fr, cssVarsToString as ft, Match as g, TimerIcon as ga, PaintBrushBroadIcon as gi, BroomIcon as gn, useId as go, FloppyDiskIcon as gr, themeToCssVars as gt, LocationProvider as h, ThumbsUpIcon as ha, PackageIcon as hi, BooksIcon as hn, useEffect as ho, FlipHorizontalIcon as hr, init_theming as ht, REVIEW_STATUS_TYPE_ID as i, StickerIcon as ia, MagnifyingGlassIcon as ii, ArrowsInLineVerticalIcon as in, cloneElement as io, EnvelopeSimpleIcon as ir, TooltipLinkList as it, Button as j, WindowsLogoIcon as ja, PushPinSlashIcon as ji, ChatCircleIcon as jn, GoogleLogoIcon as jr, shortcutToHumanString as jt, ActionList as k, WarningIcon as ka, ProhibitIcon as ki, ChatCenteredTextIcon as kn, GoogleChromeLogoIcon as kr, merge as kt, init_jsx_runtime as l, TextAlignLeftIcon as la, MediumLogoIcon as li, AtomIcon as ln, init__storybook_global_react as lo, FastForwardIcon as lr, useTabsState as lt, Location as m, TextboxIcon as ma, NutIcon as mi, BookmarkSimpleIcon as mn, useDebugValue as mo, FlaskIcon as mr, globalCss as mt, CHANGE_DETECTION_STATUS_TYPE_ID as n, StackIcon as na, LockOpenIcon as ni, ArrowUpRightIcon as nn, _storybook_global_react_default as no, DotsThreeIcon as nr, ToggleButton as nt, createPortal as o, StopIcon as oa, MagnifyingGlassPlusIcon as oi, ArrowsOutIcon as on, createElement as oo, EyeIcon as or, Zoom as ot, Link as p, TextTIcon as pa, MoonIcon as pi, BookOpenIcon as pn, useContext as po, FlagIcon as pr, ensure as pt, Separator as q, STORIES_COLLAPSE_ALL as qa, SmileyIcon as qi, CrosshairIcon as qn, LinkBreakIcon as qr, ArrowDownIcon as qt, NON_AGGREGATED_STATUS_TYPE_IDS as r, StarIcon as ra, MagicWandIcon as ri, ArrowsClockwiseIcon as rn, _storybook_global_react_exports as ro, DownloadSimpleIcon as rr, Tooltip as rt, flushSync as s, SunIcon as sa, MapPinIcon as si, ArrowsOutLineVerticalIcon as sn, createRef as so, EyeSlashIcon as sr, init_components as st, Addon_TypesEnum as t, SquaresFourIcon as ta, LockIcon as ti, ArrowUpLeftIcon as tn, Fragment$1 as to, DotsSixVerticalIcon as tr, TabsView as tt, jsx as u, TextAlignRightIcon as ua, MemoryIcon as ui, BackspaceIcon as un, isValidElement as uo, FigmaLogoIcon as ur, ThemeProvider as ut, init_router as v, TrayArrowUpIcon as va, PaperclipIcon as vi, BugIcon as vn, useLayoutEffect as vo, FunnelSimpleIcon as vr, Consumer as vt, deprecate as w, UserIcon as wa, PlayIcon as wi, CaretUpIcon as wn, version$1 as wo, GitMergeIcon as wr, experimental_useTestProviderStore as wt, init_manager_errors as x, UploadSimpleIcon as xa, PersonArmsSpreadIcon as xi, CaretDownIcon as xn, useRef as xo, GiftIcon as xr, eventToShortcut as xt, useNavigate as y, TreeStructureIcon as ya, ParagraphIcon as yi, CalendarBlankIcon as yn, useMemo as yo, GaugeIcon as yr, Provider as yt, Form as z, CHANNEL_CREATED as za, ShareNetworkIcon as zi, ClockIcon as zn, IconContext as zr, useStorybookState as zt };
1150
+ export { ScrollArea as $, STORIES_EXPAND_ALL as $n, ArrowsLeftRightIcon as $t, init_client as A, LockIcon as An, experimental_getStatusStore as At, Card as B, WarningIcon as Bn, types as Bt, Match as C, GithubLogoIcon as Cn, useLayoutEffect as Cr, init_theming as Ct, ProviderDoesNotExtendBaseProviderError as D, InfoIcon as Dn, useState as Dr, Provider as Dt, useNavigate as E, IconContext as En, useRef as Er, Consumer as Et, once as F, ShareNetworkIcon as Fn, internal_fullStatusStore as Ft, ForkbookIcon as G, CHANNEL_WS_DISCONNECT as Gn, useServiceQuery as Gt, DocumentWrapper as H, XIcon as Hn, useGlobalTypes as Ht, AbstractToolbar as I, SidebarSimpleIcon as In, internal_fullTestProviderStore as It, IconButton as J, PRELOAD_ENTRIES as Jn, ArrowCounterClockwiseIcon as Jt, ForkbookLogo as K, DOCS_PAGE_IN_VIEW as Kn, useStorybookApi as Kt, ActionList as L, SquareSplitVerticalIcon as Ln, merge as Lt, init_icon as M, MagnifyingGlassIcon as Mn, experimental_useTestProviderStore as Mt, init_client_logger as N, MagnifyingGlassPlusIcon as Nn, getService as Nt, init_manager_errors as O, LightningIcon as On, useSyncExternalStore as Or, addons as Ot, logger as P, PlayCircleIcon as Pn, init_manager_api as Pt, PopoverProvider as Q, STORIES_COLLAPSE_ALL as Qn, ArrowsInLineVerticalIcon as Qt, Badge as R, SquaresFourIcon as Rn, shortcutMatchesShortcut as Rt, LocationProvider as S, GearIcon as Sn, useImperativeHandle as Sr, globalCss as St, init_router as T, HeartIcon as Tn, useReducer as Tr, useTheme as Tt, EmptyTabContent as U, init_react as Un, useGlobals as Ut, Collapsible as V, XCircleIcon as Vn, useChannel as Vt, ErrorFormatter as W, CHANNEL_CREATED as Wn, useParameter as Wt, Loader as X, SET_CURRENT_STORY as Xn, ArrowSquareOutIcon as Xt, Link$1 as Y, PREVIEW_BUILDER_PROGRESS as Yn, ArrowLeftIcon as Yt, Modal as Z, SHARE_ISOLATE_MODE as Zn, ArrowsClockwiseIcon as Zt, init_trapTabKey as _, EyeSlashIcon as _n, useCallback as _r, useTabsState as _t, init_types as a, CaretLeftIcon as an, Component as ar, StatelessTabPanel as at, Link as b, FolderIcon as bn, useEffect as br, cssVarsToString as bt, createPortal as c, CheckIcon as cn, _storybook_global_react_exports as cr, TabPanel as ct, init_jsx_runtime as d, ClockIcon as dn, createElement as dr, Tooltip as dt, ArrowsOutLineVerticalIcon as en, core_events_default as er, Select as et, jsx as f, CodeIcon as fn, createRef as fr, TooltipLinkList as ft, getTabbables as g, EyeIcon as gn, memo as gr, useCopyButton as gt, init_TooltipNote as h, DotsThreeIcon as hn, isValidElement as hr, init_components as ht, REVIEW_STATUS_TYPE_ID as i, CaretDownIcon as in, Children as ir, StatelessTabList as it, Icons as j, MagicWandIcon as jn, experimental_useStatusStore as jt, createRoot$1 as k, ListIcon as kn, version$1 as kr, eventToShortcut as kt, flushSync as l, ChecksIcon as ln, cloneElement as lr, TabsView as lt, TooltipNote as m, CopyIcon as mn, init__storybook_global_react as mr, Zoom as mt, CHANGE_DETECTION_STATUS_TYPE_ID as n, BookmarkSimpleIcon as nn, createBrowserChannel as nr, Spaced as nt, TooltipProvider as o, CaretRightIcon as on, Fragment$1 as or, StatelessTabsView as ot, jsxs as p, CommandIcon as pn, forwardRef as pr, TooltipProvider$1 as pt, Form as q, FORCE_REMOUNT as qn, useStorybookState as qt, NON_AGGREGATED_STATUS_TYPE_IDS as r, BroomIcon as rn, init_channels as rr, StatelessTab as rt, init_TooltipProvider as s, CaretUpIcon as sn, _storybook_global_react_default as sr, TabList as st, Addon_TypesEnum as t, ArrowsOutSimpleIcon as tn, init_core_events as tr, Separator as tt, init__storybook_global_react_dom as u, CircleIcon as un, createContext as ur, ToggleButton as ut, trapTabKey as v, FileTextIcon as vn, useContext as vr, ThemeProvider as vt, Route as w, GlobeIcon as wn, useMemo as wr, themeToCssVars as wt, Location as x, FunnelSimpleIcon as xn, useId as xr, ensure as xt, init_create as y, FlaskIcon as yn, useDebugValue as yr, color as yt, Button as z, TrashIcon as zn, shortcutToHumanString as zt };