@aussieljk/forkbook 0.0.1-5 → 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.
- package/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2BMQTRYG.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-GJACFWKM.js +196 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/chunk-6EJEEII7.js +1149 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-6IKB2UHQ.js} +10 -10
- package/dist/_browser-chunks/chunk-DPRGR3QP.js +5995 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-QAHDGPZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-X7D777E6.js} +547 -1622
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-EBWIOQZN.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-ETBLZ2RH.js} +130 -146
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-252Y5WHZ.js} +7 -7
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-25PXULSJ.js} +14 -14
- package/dist/_node-chunks/chunk-2DBJWMYE.js +495 -0
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-3UWWRDA5.js} +7 -7
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-4KCQYJT6.js} +7 -7
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-4MJIPOJ5.js} +6 -6
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-4WLIN3VZ.js} +8 -8
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-4XNPO23I.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-5T635FTI.js} +10 -10
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-5Z6MT4RI.js} +8 -8
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-644CUCK5.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-7E27CGRU.js} +7 -7
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-A35J7YYA.js} +6 -6
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ALHPFKVB.js} +8 -8
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-ANDQVXYX.js} +8 -8
- package/dist/_node-chunks/{chunk-UW35FCXF.js → chunk-AS4SFRCZ.js} +6 -6
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BLUMKQQB.js} +6 -6
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-C5JG7EKF.js} +6 -6
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-CBUQY454.js} +7 -15
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-CF7KLGUW.js} +22 -20
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-CGVPHZVD.js} +8 -8
- package/dist/_node-chunks/{chunk-MCZZMBPA.js → chunk-DABFUVLR.js} +6 -6
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-DCNZ6SFN.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-DDGW2EBW.js} +29843 -51588
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-DRLBJM6X.js} +7 -7
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-E3O7VAPG.js} +10 -10
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-FIFCNBTL.js} +7 -7
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-FQWTUSYB.js} +6 -6
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-G6YNW4FK.js} +7 -7
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-GDFQQO5U.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-GGTXOH3W.js} +6 -6
- package/dist/_node-chunks/{chunk-ZZNBVMBU.js → chunk-GIOREKIG.js} +7 -7
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-GOFK4EKU.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-GQ3HJNIH.js} +10 -13
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-GRTI5653.js} +7 -7
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-HKL3VOYX.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-HUPRQZ3I.js} +7 -7
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-HWRHYM7Z.js} +6 -6
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-I7HRDCNY.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-IFPMZ247.js} +6 -6
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-J6M5CRYZ.js} +8 -8
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-JPXJI6QR.js} +60 -134
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JS2J2SKX.js} +6 -6
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-JZWF3XLN.js} +6 -6
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-KF3FT3NI.js} +9 -9
- package/dist/_node-chunks/chunk-KWPWQA7G.js +2609 -0
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-L4JGWK4K.js} +6 -6
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-LFIFBDMS.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-LWKLJYYQ.js} +6 -6
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-LXVSVTQ3.js} +6 -6
- package/dist/_node-chunks/chunk-MDW3GSU3.js +69 -0
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-MFN2XBPL.js} +7 -7
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-MQFB44YS.js} +7 -7
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-MZ2GSR3G.js} +22 -50
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-N7HEOGTM.js} +9 -6
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-NUAQC3XP.js} +16 -13
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-NX6CSWF3.js} +8 -8
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-NZ7EQWYA.js} +9 -9
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-OLGIDCVD.js} +650 -9
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-P65JVLO3.js} +8 -8
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-PAN35AYX.js} +7 -7
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-PLWLCVP2.js} +6 -6
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-Q4BEWGMK.js} +6 -6
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-QNUXGVZZ.js} +6 -6
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-R5DWO2S2.js} +31 -30
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-SLZV7PTQ.js} +8 -8
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-TIRP5JQM.js} +11 -10
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-TMXWDY2O.js} +6 -6
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-TN3ULFFZ.js} +6 -6
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-TPSJW4CQ.js} +6 -6
- package/dist/_node-chunks/{chunk-6QQTZT3Z.js → chunk-TYBPAV3X.js} +6 -6
- package/dist/_node-chunks/chunk-UUE3PSJB.js +11 -0
- package/dist/_node-chunks/chunk-VKNRNBTB.js +18 -0
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-VPU4E7DI.js} +25 -8
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-WIQ6Y3NX.js} +6 -6
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-WRG3CFGS.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-X3RTVNRN.js} +7 -7
- package/dist/_node-chunks/chunk-XOGU5PWI.js +347 -0
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-XWGMQW2H.js} +6 -6
- package/dist/_node-chunks/chunk-YCXTTQ7K.js +620 -0
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-YHH57LHY.js} +9 -9
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-YMZ2SGFK.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-YNENOZRY.js} +7 -7
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-YPGVYNJB.js} +6 -6
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-YQDBSAXW.js} +7 -7
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-Z4NZLBOX.js} +7 -7
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-ZC3ZZKMS.js} +8 -8
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-ZCITDAV4.js} +34 -949
- package/dist/_node-chunks/chunk-ZNSGFYAT.js +25 -0
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-ZSH6BUCW.js} +25 -25
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-ZTFNOXZF.js} +6 -6
- package/dist/_node-chunks/dist-GGTGKXZA.js +27 -0
- package/dist/_node-chunks/dist-NS676VJR.js +16 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-BUTEKJYV.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-7WXQIHPV.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-NCD3X2BR.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js} +11 -11
- package/dist/_node-chunks/optimized-tests-ITVOHEOA.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-3QJANDJD.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-LEUHOKX6.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-4LR5BDR2.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-PWFRGOEV.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-VNNWUW7X.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-RUAAWEQT.js} +13 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-YK6ARCWS.js} +17 -17
- package/dist/_node-chunks/session-id-JJYVZAKO.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-4QKCICV6.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-WVFLIXN7.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +7 -6
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +29 -15
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +16 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +3 -3
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-CVY28Ngy.d.ts} +1 -1
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-ClI-HEh5.d.ts} +1 -1
- package/dist/{chunk-DpljNJTz.d.ts → chunk-CzmZhVrn.d.ts} +34 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2514 -8361
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +60 -864
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +2 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-B-IeQLQu.js} +57 -58
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-B5-0Ccbv.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-B71TiXST.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-BUP5e_t9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-C7mqoHpE.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-CYNosEiD.js} +1 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-C_evJrEn.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-CdgVeAbk.js} +408 -377
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-Cqn8KdSZ.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-CrIF09P8.js} +1246 -539
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-Ct1kY4wb.js} +637 -1730
- package/dist/manager/_manager-chunks/globals-runtime-CvyFEPIY.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-DMBjo1QS.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-DUK6bGcb.js} +51 -24
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-DedfO-DP.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DqhIYwLp.js} +148 -136
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-XSxCU7PR.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DFhLVh8q.js → runtime-BR5z0WoJ.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-BgYvp1WN.js} +15 -7
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-CHI-LHF1.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-CUymj6EY.js} +176 -159
- package/dist/manager/_manager-chunks/runtime-CaU1DSEZ.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-CqItbdKW.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-D4ZOOIV0.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DER98nV0.js} +3 -19
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-DrTLBe7a.js} +29 -30
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-MAf7Wpk5.js} +3 -2
- package/dist/manager/_manager-chunks/{runtime-CuJiHYCp.js → runtime-cVFIMcca.js} +1 -1
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +20 -26
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -1
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +16 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
package/dist/babel/index.js
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
|
-
BabelFileClass,
|
|
14
13
|
babelParse,
|
|
15
14
|
babelParseExpression,
|
|
16
15
|
babelPrint,
|
|
17
16
|
canUpdateVitestConfigFile,
|
|
18
|
-
|
|
17
|
+
createBabelFile,
|
|
19
18
|
generate,
|
|
20
19
|
getConfigObjectFromMergeArg,
|
|
21
20
|
getEffectiveMergeConfigCall,
|
|
22
21
|
getTargetConfigObject,
|
|
23
|
-
import_core,
|
|
24
22
|
isDefineConfigLike,
|
|
25
23
|
isImportedDefineConfigLikeIdentifier,
|
|
26
24
|
parser,
|
|
@@ -30,20 +28,17 @@ import {
|
|
|
30
28
|
traverse,
|
|
31
29
|
types,
|
|
32
30
|
unwrapTSExpression
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
34
|
-
import "../_node-chunks/chunk-
|
|
35
|
-
import "../_node-chunks/chunk-
|
|
36
|
-
import "../_node-chunks/chunk-
|
|
37
|
-
import "../_node-chunks/chunk-
|
|
38
|
-
import "../_node-chunks/chunk-TZ2TZW2K.js";
|
|
39
|
-
var export_transformSync = import_core.transformSync;
|
|
31
|
+
} from "../_node-chunks/chunk-DDGW2EBW.js";
|
|
32
|
+
import "../_node-chunks/chunk-ANDQVXYX.js";
|
|
33
|
+
import "../_node-chunks/chunk-4KCQYJT6.js";
|
|
34
|
+
import "../_node-chunks/chunk-MQFB44YS.js";
|
|
35
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
40
36
|
export {
|
|
41
|
-
BabelFileClass,
|
|
42
37
|
babelParse,
|
|
43
38
|
babelParseExpression,
|
|
44
39
|
babelPrint,
|
|
45
40
|
canUpdateVitestConfigFile,
|
|
46
|
-
|
|
41
|
+
createBabelFile,
|
|
47
42
|
generate,
|
|
48
43
|
getConfigObjectFromMergeArg,
|
|
49
44
|
getEffectiveMergeConfigCall,
|
|
@@ -54,7 +49,6 @@ export {
|
|
|
54
49
|
parserOptions,
|
|
55
50
|
recast,
|
|
56
51
|
resolveExpression,
|
|
57
|
-
export_transformSync as transformSync,
|
|
58
52
|
traverse,
|
|
59
53
|
types,
|
|
60
54
|
unwrapTSExpression
|
package/dist/bin/core.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,101 +12,102 @@ var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
readRegistry,
|
|
14
14
|
selectInstances
|
|
15
|
-
} from "../_node-chunks/chunk-
|
|
15
|
+
} from "../_node-chunks/chunk-4WLIN3VZ.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveStorybookConfigDir
|
|
18
|
-
} from "../_node-chunks/chunk-
|
|
18
|
+
} from "../_node-chunks/chunk-YPGVYNJB.js";
|
|
19
19
|
import {
|
|
20
20
|
instructions
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-SLZV7PTQ.js";
|
|
22
22
|
import {
|
|
23
23
|
isReactProject
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
26
|
-
import "../_node-chunks/chunk-
|
|
27
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-J6M5CRYZ.js";
|
|
25
|
+
import "../_node-chunks/chunk-QNUXGVZZ.js";
|
|
26
|
+
import "../_node-chunks/chunk-XWGMQW2H.js";
|
|
27
|
+
import "../_node-chunks/chunk-UUE3PSJB.js";
|
|
28
28
|
import {
|
|
29
29
|
createTools,
|
|
30
30
|
reportToolsCommandEvent,
|
|
31
31
|
sanitizeNamePart,
|
|
32
32
|
toCatalogEntry
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-25PXULSJ.js";
|
|
34
34
|
import {
|
|
35
35
|
formatMultiInstanceNotice
|
|
36
|
-
} from "../_node-chunks/chunk-
|
|
36
|
+
} from "../_node-chunks/chunk-GDFQQO5U.js";
|
|
37
37
|
import {
|
|
38
38
|
ToolsRuntimeError,
|
|
39
39
|
attachGateReasonFromError,
|
|
40
40
|
isAttachGateError
|
|
41
|
-
} from "../_node-chunks/chunk-
|
|
41
|
+
} from "../_node-chunks/chunk-HUPRQZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
detectLanguage,
|
|
44
44
|
getStorybookData
|
|
45
|
-
} from "../_node-chunks/chunk-
|
|
45
|
+
} from "../_node-chunks/chunk-4XNPO23I.js";
|
|
46
46
|
import {
|
|
47
47
|
isClaudePreviewLaunch,
|
|
48
48
|
resolveSkillInputs
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-E3O7VAPG.js";
|
|
50
|
+
import "../_node-chunks/chunk-TYBPAV3X.js";
|
|
51
51
|
import {
|
|
52
52
|
frameworkToRendererMap
|
|
53
|
-
} from "../_node-chunks/chunk-
|
|
53
|
+
} from "../_node-chunks/chunk-GGTXOH3W.js";
|
|
54
54
|
import {
|
|
55
55
|
getMonorepoType
|
|
56
|
-
} from "../_node-chunks/chunk-
|
|
56
|
+
} from "../_node-chunks/chunk-WRG3CFGS.js";
|
|
57
57
|
import {
|
|
58
58
|
version
|
|
59
|
-
} from "../_node-chunks/chunk-
|
|
59
|
+
} from "../_node-chunks/chunk-VKNRNBTB.js";
|
|
60
60
|
import {
|
|
61
61
|
detectAgent
|
|
62
|
-
} from "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
62
|
+
} from "../_node-chunks/chunk-GIOREKIG.js";
|
|
63
|
+
import "../_node-chunks/chunk-4MJIPOJ5.js";
|
|
64
|
+
import "../_node-chunks/chunk-P65JVLO3.js";
|
|
65
|
+
import "../_node-chunks/chunk-CF7KLGUW.js";
|
|
66
|
+
import "../_node-chunks/chunk-Q4BEWGMK.js";
|
|
67
|
+
import "../_node-chunks/chunk-GQ3HJNIH.js";
|
|
68
68
|
import {
|
|
69
69
|
globalSettings
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-MDW3GSU3.js";
|
|
71
|
+
import "../_node-chunks/chunk-LXVSVTQ3.js";
|
|
72
72
|
import {
|
|
73
73
|
leven
|
|
74
|
-
} from "../_node-chunks/chunk-
|
|
74
|
+
} from "../_node-chunks/chunk-HWRHYM7Z.js";
|
|
75
75
|
import {
|
|
76
76
|
getRegisteredToolsets
|
|
77
|
-
} from "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
77
|
+
} from "../_node-chunks/chunk-CGVPHZVD.js";
|
|
78
|
+
import "../_node-chunks/chunk-Z4NZLBOX.js";
|
|
79
79
|
import {
|
|
80
80
|
getToolName,
|
|
81
81
|
parseToolsetMethodId,
|
|
82
82
|
toCliMethodName
|
|
83
|
-
} from "../_node-chunks/chunk-
|
|
83
|
+
} from "../_node-chunks/chunk-MFN2XBPL.js";
|
|
84
84
|
import {
|
|
85
85
|
escapeRegExp
|
|
86
|
-
} from "../_node-chunks/chunk-
|
|
86
|
+
} from "../_node-chunks/chunk-DABFUVLR.js";
|
|
87
87
|
import {
|
|
88
88
|
getService
|
|
89
|
-
} from "../_node-chunks/chunk-
|
|
90
|
-
import "../_node-chunks/chunk-
|
|
91
|
-
import "../_node-chunks/chunk-
|
|
92
|
-
import "../_node-chunks/chunk-
|
|
93
|
-
import "../_node-chunks/chunk-
|
|
94
|
-
import "../_node-chunks/chunk-
|
|
95
|
-
import "../_node-chunks/chunk-
|
|
96
|
-
import "../_node-chunks/chunk-
|
|
97
|
-
import "../_node-chunks/chunk-
|
|
98
|
-
import "../_node-chunks/chunk-
|
|
99
|
-
import "../_node-chunks/chunk-
|
|
100
|
-
import "../_node-chunks/chunk-
|
|
101
|
-
import "../_node-chunks/chunk-
|
|
89
|
+
} from "../_node-chunks/chunk-XOGU5PWI.js";
|
|
90
|
+
import "../_node-chunks/chunk-5T635FTI.js";
|
|
91
|
+
import "../_node-chunks/chunk-L4JGWK4K.js";
|
|
92
|
+
import "../_node-chunks/chunk-X3RTVNRN.js";
|
|
93
|
+
import "../_node-chunks/chunk-LFIFBDMS.js";
|
|
94
|
+
import "../_node-chunks/chunk-FQWTUSYB.js";
|
|
95
|
+
import "../_node-chunks/chunk-TMXWDY2O.js";
|
|
96
|
+
import "../_node-chunks/chunk-JS2J2SKX.js";
|
|
97
|
+
import "../_node-chunks/chunk-BLUMKQQB.js";
|
|
98
|
+
import "../_node-chunks/chunk-WIQ6Y3NX.js";
|
|
99
|
+
import "../_node-chunks/chunk-DRLBJM6X.js";
|
|
100
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
101
|
+
import "../_node-chunks/chunk-NX6CSWF3.js";
|
|
102
102
|
import {
|
|
103
103
|
require_picocolors
|
|
104
|
-
} from "../_node-chunks/chunk-
|
|
105
|
-
import "../_node-chunks/chunk-
|
|
106
|
-
import "../_node-chunks/chunk-
|
|
104
|
+
} from "../_node-chunks/chunk-MQFB44YS.js";
|
|
105
|
+
import "../_node-chunks/chunk-AS4SFRCZ.js";
|
|
106
|
+
import "../_node-chunks/chunk-YCXTTQ7K.js";
|
|
107
|
+
import "../_node-chunks/chunk-ZCITDAV4.js";
|
|
107
108
|
import {
|
|
108
109
|
__toESM
|
|
109
|
-
} from "../_node-chunks/chunk-
|
|
110
|
+
} from "../_node-chunks/chunk-A35J7YYA.js";
|
|
110
111
|
|
|
111
112
|
// src/bin/core.ts
|
|
112
113
|
import {
|
|
@@ -151,12 +152,12 @@ function getProjectOverview(projectInfo) {
|
|
|
151
152
|
var DEFAULT_PROMPT_NAME = "optimized-tests", CURRENTLY_USED_PROMPT = {
|
|
152
153
|
[DEFAULT_PROMPT_NAME]: instructions
|
|
153
154
|
}, FORMERLY_USED_PROMPTS = {
|
|
154
|
-
monorepo: async () => (await import("../_node-chunks/monorepo-
|
|
155
|
-
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-
|
|
156
|
-
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-
|
|
157
|
-
setup: async () => (await import("../_node-chunks/setup-
|
|
158
|
-
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-
|
|
159
|
-
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-
|
|
155
|
+
monorepo: async () => (await import("../_node-chunks/monorepo-NCD3X2BR.js")).instructions,
|
|
156
|
+
"optimized-tests": async () => (await import("../_node-chunks/optimized-tests-ITVOHEOA.js")).instructions,
|
|
157
|
+
"relaxed-limits": async () => (await import("../_node-chunks/relaxed-limits-VNNWUW7X.js")).instructions,
|
|
158
|
+
setup: async () => (await import("../_node-chunks/setup-4QKCICV6.js")).instructions,
|
|
159
|
+
"pattern-copy-play": async () => (await import("../_node-chunks/pattern-copy-play-3QJANDJD.js")).instructions,
|
|
160
|
+
"monorepo-optimized-tests-relaxed-limits-no-story-deletion": async () => (await import("../_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-SD3B272K.js")).instructions
|
|
160
161
|
}, PROMPT_NAMES = [
|
|
161
162
|
...Object.keys(CURRENTLY_USED_PROMPT),
|
|
162
163
|
...Object.keys(FORMERLY_USED_PROMPTS)
|
|
@@ -1532,10 +1533,10 @@ var buildIndex = async (cliOptions) => {
|
|
|
1532
1533
|
// src/cli/dev.ts
|
|
1533
1534
|
import { cache as cache4, defaultConfigDir as defaultConfigDir3 } from "@aussieljk/forkbook/internal/common";
|
|
1534
1535
|
import { buildDevStandalone, withTelemetry as withTelemetry5 } from "@aussieljk/forkbook/internal/core-server";
|
|
1535
|
-
import { logger as logger2
|
|
1536
|
+
import { logger as logger2 } from "@aussieljk/forkbook/internal/node-logger";
|
|
1536
1537
|
import { dedent as dedent2 } from "ts-dedent";
|
|
1537
1538
|
function printError(error) {
|
|
1538
|
-
|
|
1539
|
+
error instanceof Error ? error.error ? logger2.error(error.error) : error.stats && error.stats.compilation.errors ? error.stats.compilation.errors.forEach((e) => logger2.log(e)) : logger2.error(error) : error.compilation?.errors && error.compilation.errors.forEach((e) => logger2.log(e)), logger2.warn(
|
|
1539
1540
|
error.close ? dedent2`
|
|
1540
1541
|
FATAL broken build!, will close the process,
|
|
1541
1542
|
Fix the error below and restart storybook.
|
package/dist/bin/dispatcher.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,12 +13,12 @@ var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
|
13
13
|
import {
|
|
14
14
|
MIN_SUPPORTED_NODE_DESCRIPTION,
|
|
15
15
|
isNodeVersionSupported
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-GOFK4EKU.js";
|
|
17
17
|
import {
|
|
18
18
|
resolvePackageDir
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-DRLBJM6X.js";
|
|
20
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
21
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
22
22
|
|
|
23
23
|
// src/bin/dispatcher.ts
|
|
24
24
|
import Module from "node:module";
|
package/dist/bin/loader.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
NODE_TARGET
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-ZNSGFYAT.js";
|
|
15
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
16
16
|
|
|
17
17
|
// src/bin/loader.ts
|
|
18
18
|
import { readFileSync, readdirSync } from "node:fs";
|
|
19
19
|
import * as path from "node:path";
|
|
20
20
|
import { fileURLToPath } from "node:url";
|
|
21
21
|
import { deprecate } from "@aussieljk/forkbook/internal/node-logger";
|
|
22
|
-
import { transformSync } from "
|
|
22
|
+
import { transformSync } from "rolldown/utils";
|
|
23
23
|
import { dedent } from "ts-dedent";
|
|
24
24
|
var supportedExtensions = [
|
|
25
25
|
".js",
|
|
@@ -92,12 +92,13 @@ function addExtensionsToRelativeImports(source, filePath) {
|
|
|
92
92
|
var load = (url, context, nextLoad) => {
|
|
93
93
|
let urlWithoutQuery = url.split("?")[0];
|
|
94
94
|
if (urlWithoutQuery.endsWith(".ts") || urlWithoutQuery.endsWith(".tsx") || urlWithoutQuery.endsWith(".mts") || urlWithoutQuery.endsWith(".cts") || urlWithoutQuery.endsWith(".mtsx") || urlWithoutQuery.endsWith(".ctsx")) {
|
|
95
|
-
let filePath = fileURLToPath(url), rawSource = readFileSync(filePath, "utf-8"), transformedSource = transformSync(rawSource, {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
let filePath = fileURLToPath(url), rawSource = readFileSync(filePath, "utf-8"), transformedSource = transformSync(filePath, rawSource, { target: NODE_TARGET });
|
|
96
|
+
if (transformedSource.errors.length)
|
|
97
|
+
throw new Error(
|
|
98
|
+
`Could not transform ${filePath}:
|
|
99
|
+
${transformedSource.errors.map((error) => error.message).join(`
|
|
100
|
+
`)}`
|
|
101
|
+
);
|
|
101
102
|
return {
|
|
102
103
|
format: "module",
|
|
103
104
|
shortCircuit: !0,
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
withoutVitePlugins
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-JZWF3XLN.js";
|
|
15
15
|
import {
|
|
16
16
|
commonConfig
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-KF3FT3NI.js";
|
|
18
|
+
import "../_node-chunks/chunk-GRTI5653.js";
|
|
19
|
+
import "../_node-chunks/chunk-BLUMKQQB.js";
|
|
20
|
+
import "../_node-chunks/chunk-DRLBJM6X.js";
|
|
21
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
22
22
|
import {
|
|
23
23
|
require_picocolors
|
|
24
|
-
} from "../_node-chunks/chunk-
|
|
25
|
-
import "../_node-chunks/chunk-
|
|
24
|
+
} from "../_node-chunks/chunk-MQFB44YS.js";
|
|
25
|
+
import "../_node-chunks/chunk-AS4SFRCZ.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-A35J7YYA.js";
|
|
29
29
|
|
|
30
30
|
// src/builder-vite/index.ts
|
|
31
31
|
import { readFile } from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_7qov04rgzsv from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_7qov04rgzsv from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_7qov04rgzsv from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_7qov04rgzsv.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_7qov04rgzsv.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_7qov04rgzsv.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
optimizeViteDeps,
|
|
14
14
|
staticDirs,
|
|
15
15
|
viteCorePlugins
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-KF3FT3NI.js";
|
|
17
|
+
import "../_node-chunks/chunk-GRTI5653.js";
|
|
18
|
+
import "../_node-chunks/chunk-BLUMKQQB.js";
|
|
19
|
+
import "../_node-chunks/chunk-DRLBJM6X.js";
|
|
20
|
+
import "../_node-chunks/chunk-TPSJW4CQ.js";
|
|
21
|
+
import "../_node-chunks/chunk-AS4SFRCZ.js";
|
|
22
|
+
import "../_node-chunks/chunk-A35J7YYA.js";
|
|
23
23
|
export {
|
|
24
24
|
optimizeViteDeps,
|
|
25
25
|
staticDirs,
|
|
@@ -10,7 +10,7 @@ import { Args as Args$1, ComponentAnnotations, ComposedStoryFn, DecoratorFunctio
|
|
|
10
10
|
* Helper function to include/exclude an arg based on the value of other other args aka "conditional
|
|
11
11
|
* args"
|
|
12
12
|
*/
|
|
13
|
-
declare const includeConditionalArg: (argType: InputType, args: Args$2, globals: Globals$2) =>
|
|
13
|
+
declare const includeConditionalArg: (argType: InputType, args: Args$2, globals: Globals$2) => boolean;
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region .dts-emit/code/core/src/csf/csf-factories.d.ts
|
|
16
16
|
interface Preview$1<TRenderer extends Renderer$1 = Renderer$1> {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Readable } from "node:stream";
|
|
2
|
+
import { StdioOptions } from "node:child_process";
|
|
3
|
+
|
|
4
|
+
//#region ../../node_modules/tinyexec/dist/main.d.mts
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/main.d.ts
|
|
7
|
+
interface Output {
|
|
8
|
+
stderr: string;
|
|
9
|
+
stdout: string;
|
|
10
|
+
exitCode: number | undefined;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region .dts-emit/code/core/src/common/utils/exec.d.ts
|
|
14
|
+
type ExecOptions = {
|
|
15
|
+
cwd?: string; /** Added to the environment of this process. */
|
|
16
|
+
env?: Record<string, string | undefined>;
|
|
17
|
+
stdio?: StdioOptions;
|
|
18
|
+
signal?: AbortSignal; /** Stops the command after this many milliseconds. */
|
|
19
|
+
timeout?: number;
|
|
20
|
+
shell?: boolean;
|
|
21
|
+
};
|
|
22
|
+
type ExecOutput = Output;
|
|
23
|
+
/** A running command. Await it for its output; it rejects with an `ExecError`. */
|
|
24
|
+
type ExecProcess = Promise<ExecOutput> & {
|
|
25
|
+
stdout: Readable | null;
|
|
26
|
+
stderr: Readable | null;
|
|
27
|
+
kill: () => boolean;
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { ExecProcess as n, ExecOptions as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ToolsetGetService, r as InvokedToolsetOutcome, t as AnyToolsetDefinition } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-
|
|
2
|
+
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-CzmZhVrn.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region .dts-emit/code/core/src/cli/tools/instances/types.d.ts
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { n as
|
|
1
|
+
import { n as ExecProcess, t as ExecOptions } from "./chunk-CV4-Z2pn.js";
|
|
2
2
|
import { PackageJson as PackageJson$1 } from "@aussieljk/forkbook/internal/types";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/common/utils/command.d.ts
|
|
5
|
-
type ExecuteCommandOptions =
|
|
5
|
+
type ExecuteCommandOptions = ExecOptions & {
|
|
6
6
|
command: string;
|
|
7
7
|
args?: string[];
|
|
8
|
-
cwd?: string;
|
|
9
8
|
ignoreError?: boolean;
|
|
10
|
-
env?: Record<string, string>;
|
|
11
|
-
signal?: AbortSignal;
|
|
9
|
+
env?: Record<string, string | undefined>;
|
|
12
10
|
};
|
|
13
|
-
declare function executeCommand(options: ExecuteCommandOptions):
|
|
11
|
+
declare function executeCommand(options: ExecuteCommandOptions): ExecProcess;
|
|
14
12
|
declare function executeCommandSync(options: ExecuteCommandOptions): string;
|
|
15
13
|
declare function executeNodeCommand({
|
|
16
14
|
scriptPath,
|
|
@@ -19,8 +17,8 @@ declare function executeNodeCommand({
|
|
|
19
17
|
}: {
|
|
20
18
|
scriptPath: string;
|
|
21
19
|
args?: string[];
|
|
22
|
-
options?:
|
|
23
|
-
}):
|
|
20
|
+
options?: Omit<ExecOptions, 'stdio'>;
|
|
21
|
+
}): import("child_process").ChildProcess;
|
|
24
22
|
//#endregion
|
|
25
23
|
//#region .dts-emit/code/core/src/common/js-package-manager/PackageJson.d.ts
|
|
26
24
|
type PackageJsonWithDepsAndDevDeps = PackageJson$1 & Required<Pick<PackageJson$1, 'dependencies' | 'devDependencies'>>;
|
|
@@ -162,7 +160,7 @@ declare abstract class JsPackageManager {
|
|
|
162
160
|
type: 'dependencies' | 'devDependencies';
|
|
163
161
|
writeOutputToFile?: boolean;
|
|
164
162
|
packageJsonInfo?: PackageJsonInfo;
|
|
165
|
-
}, dependencies: string[]): Promise<void |
|
|
163
|
+
}, dependencies: string[]): Promise<void | ExecProcess>;
|
|
166
164
|
/**
|
|
167
165
|
* Removing dependencies from the package.json file, which is found first starting from the
|
|
168
166
|
* instance root. The method does not run a package manager install like `npm install`.
|
|
@@ -246,8 +244,8 @@ declare abstract class JsPackageManager {
|
|
|
246
244
|
addPackageResolutions(versions: Record<string, string>): void;
|
|
247
245
|
protected abstract runInstall(options?: {
|
|
248
246
|
force?: boolean;
|
|
249
|
-
}):
|
|
250
|
-
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean, writeOutputToFile?: boolean):
|
|
247
|
+
}): ExecProcess;
|
|
248
|
+
protected abstract runAddDeps(dependencies: string[], installAsDevDependencies: boolean, writeOutputToFile?: boolean): ExecProcess;
|
|
251
249
|
protected abstract getResolutions(packageJson: PackageJson$1, versions: Record<string, string>): Record<string, any>;
|
|
252
250
|
/**
|
|
253
251
|
* Get the latest or all versions of the input package available on npmjs.com
|
|
@@ -257,11 +255,11 @@ declare abstract class JsPackageManager {
|
|
|
257
255
|
*/
|
|
258
256
|
protected abstract runGetVersions<T extends boolean>(packageName: string, fetchAllVersions: T): Promise<T extends true ? string[] : string>;
|
|
259
257
|
abstract getRegistryURL(): Promise<string | undefined>;
|
|
260
|
-
abstract runInternalCommand(command: string, args: string[], cwd?: string, stdio?: 'inherit' | 'pipe' | 'ignore'):
|
|
258
|
+
abstract runInternalCommand(command: string, args: string[], cwd?: string, stdio?: 'inherit' | 'pipe' | 'ignore'): ExecProcess;
|
|
261
259
|
abstract runPackageCommand(options: Omit<ExecuteCommandOptions, 'command'> & {
|
|
262
260
|
args: string[];
|
|
263
261
|
useRemotePkg?: boolean;
|
|
264
|
-
}):
|
|
262
|
+
}): ExecProcess;
|
|
265
263
|
abstract findInstallations(pattern?: string[]): Promise<InstallationMetadata | undefined>;
|
|
266
264
|
abstract findInstallations(pattern?: string[], options?: {
|
|
267
265
|
depth: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as Queries, K as ServiceRegistrationOptions, S as Commands, V as ServiceDefinition, W as ServiceInstance, q as ServiceRegistryApi } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-
|
|
2
|
+
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-CzmZhVrn.js";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/shared/open-service/server.d.ts
|
|
5
5
|
declare const getService: TypedGetService<ServerCoreServices>;
|
|
@@ -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;
|