@aussieljk/forkbook 0.0.1-2 → 0.0.1-3
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/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +1 -1
- package/assets/create/rendererAssets/common/header.css +1 -1
- package/assets/create/rendererAssets/common/page.css +2 -2
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +11 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-PSH7RHPM.js} +5 -5
- package/dist/_browser-chunks/{WithTooltip-XSQFTBMB.js → WithTooltip-JLXUJSYD.js} +3 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-6SHRDXGF.js} +24 -24
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-DCZTO4JJ.js} +68 -76
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-DS2WQZGO.js} +7 -21
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-EE42XVSP.js} +8 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-GU3X2J4S.js} +2 -2
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-K2B36HKM.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-K6GRZSXS.js} +1 -1
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-NMRSYACM.js} +2 -2
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-PPZ2HCWJ.js} +4 -4
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-SZCSXISG.js} +124 -104
- package/dist/_browser-chunks/{chunk-JMC7AIKT.js → chunk-UDQ3XQFC.js} +1 -1
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-ZLWA5RIE.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-KZYKMMDD.js} +29 -29
- package/dist/_node-chunks/{builder-manager-VVHYQXCH.js → builder-manager-337QQEZ6.js} +32 -32
- package/dist/_node-chunks/{chunk-3T4ZSNPH.js → chunk-224FM5GP.js} +8 -8
- package/dist/_node-chunks/chunk-22OJYYPD.js +18 -0
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-26MVQWHR.js} +7 -7
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-27HJO5MV.js} +6 -6
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-27KGUS37.js} +25 -25
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-2D7P5VUJ.js} +30 -30
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-2OI3EZE2.js} +6 -6
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-34YSGPI4.js} +6 -6
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-4RSOZZZV.js} +6 -6
- package/dist/_node-chunks/{chunk-ZMAMXQKP.js → chunk-4ZGNL77M.js} +7 -7
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-4ZHC3GG3.js} +6 -6
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-6RQIIUDQ.js} +9 -9
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-7QGX7Z6B.js} +7 -7
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-7VZYI3NI.js} +7 -7
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-A6EXJJZU.js} +8 -8
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-AJ3YH5VH.js} +8 -8
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-AKBNFQKK.js} +8 -8
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-AKF2FB7S.js} +7 -7
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-ANOZDFMW.js} +13 -13
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-APM5SEWT.js} +12 -12
- package/dist/_node-chunks/{chunk-NPO45IMH.js → chunk-AQSROIPB.js} +6 -6
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-CC4WWASR.js} +8 -8
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-CE66ARL5.js} +9 -9
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-CHOJKLHP.js} +8 -8
- package/dist/_node-chunks/{chunk-QEQLR22M.js → chunk-COJPWKDE.js} +7 -7
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-CVQGQ2MI.js} +7 -7
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-CYPEPQSM.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-D44WSSIU.js} +7 -7
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-DG3DK4ZH.js} +10 -10
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-DI76R3EI.js} +6 -6
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-DSHYY7ZB.js} +14 -14
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-EJ6XL2KN.js} +8 -8
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-EM3MZKXS.js} +7 -7
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-EYKTEH7V.js} +10 -10
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-GTM64XRQ.js} +6 -6
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-GURMTBQH.js} +7 -7
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-HC2QE2VI.js} +6 -6
- package/dist/_node-chunks/{chunk-6LMWA44H.js → chunk-HG3U5FMZ.js} +8 -8
- package/dist/_node-chunks/{chunk-IDEL2J23.js → chunk-HLT3PHJN.js} +6 -6
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-HNCTPOQK.js} +6 -6
- package/dist/_node-chunks/{chunk-TFCEV2XX.js → chunk-HOROZKYE.js} +6 -6
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-HS3YKDIQ.js} +10 -10
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-I7BJLOF5.js} +6 -6
- package/dist/_node-chunks/{chunk-EHUNOMDD.js → chunk-IGAYUOMN.js} +10 -10
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-J4WM6PLB.js} +8 -8
- package/dist/_node-chunks/{chunk-TEQGGSP7.js → chunk-JD5NDU6F.js} +6 -6
- package/dist/_node-chunks/{chunk-BXVYT7SB.js → chunk-JQDKICKC.js} +6 -6
- package/dist/_node-chunks/{chunk-RZMQ7S3L.js → chunk-KGJPHNM7.js} +6 -6
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-KSOJ65P3.js} +6 -6
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-LEUTSNSA.js} +6 -6
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-LJ5HNC36.js} +7 -7
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-LMMUUQFW.js} +8 -8
- package/dist/_node-chunks/{chunk-5DQFEZEA.js → chunk-LNOZLCJT.js} +6 -6
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-MCPP73WS.js} +6 -6
- package/dist/_node-chunks/{chunk-W4OMYLSP.js → chunk-MMMIVLRV.js} +37 -37
- package/dist/_node-chunks/{chunk-JPAZLYJ3.js → chunk-MY7DHPSK.js} +6 -6
- package/dist/_node-chunks/chunk-MZ4CONV4.js +20 -0
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-N4DKR3HN.js} +8 -8
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-NF3GSBMC.js} +8 -8
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-OA6BPTG5.js} +7 -7
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-OGQBLJGR.js} +6 -6
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-OMFATFOJ.js} +7 -7
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-OSE2FYQP.js} +6 -6
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-PRXD2EYH.js} +6 -6
- package/dist/_node-chunks/{chunk-SIEXZVCR.js → chunk-PT7NX73C.js} +6 -6
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-QDZFSC26.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-QTRP6K2A.js} +6 -6
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-R2ZIMVYL.js} +6 -6
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-RGAJGDCU.js} +6 -6
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-RKUAUXH6.js} +6 -6
- package/dist/_node-chunks/{chunk-MK2KYAI6.js → chunk-RNZL535Q.js} +13 -13
- package/dist/_node-chunks/{chunk-GRBLDJCR.js → chunk-S73KB2DE.js} +24 -24
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-SFPEJYWG.js} +22 -32
- package/dist/_node-chunks/{chunk-3BKIBF5S.js → chunk-SPN2VCN7.js} +8 -8
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-SVRE646L.js} +35 -35
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-T5D7JJMY.js} +9 -9
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-TM4SF5U2.js} +7 -7
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-TVYJB2XE.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-TY2RQWQ7.js} +6 -6
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-TZKXP2KS.js} +6 -6
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-U2C4SK3A.js} +6 -6
- package/dist/_node-chunks/{chunk-CQKMLL5J.js → chunk-U3ZISTY3.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-U736OTI6.js} +13 -13
- package/dist/_node-chunks/chunk-U7MSJ3A6.js +11 -0
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-URBTH3SB.js} +6 -6
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-US5P4ZWN.js} +7 -7
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-UWLMMCBV.js} +8 -8
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-V3WMH7C4.js} +7 -7
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-W6ZSSLD7.js} +7 -7
- package/dist/_node-chunks/{chunk-UBOGWBEA.js → chunk-WALLDPES.js} +10 -10
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-WEQUS77K.js} +7 -7
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-WK5562IZ.js} +8 -8
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-XPSQ3CGZ.js} +36 -35
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-YM5GSNOW.js} +6 -6
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-ZZJRM4VQ.js} +7 -7
- package/dist/_node-chunks/dist-PLKLDZ2U.js +16 -0
- package/dist/_node-chunks/{globby-OEMHPBFY.js → globby-7JAOKACZ.js} +10 -10
- package/dist/_node-chunks/{jiti-NFX6UU74.js → jiti-NTDVBCL3.js} +7 -7
- package/dist/_node-chunks/{lib-MDVARD7W.js → lib-GO6OUNCW.js} +7 -7
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-75CNASLU.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-CC54EOSI.js} +14 -14
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-YQLAQDZJ.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SNHO4JTH.js} +12 -12
- package/dist/_node-chunks/optimized-tests-L75JY37J.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-IMDJHSAD.js} +10 -10
- package/dist/_node-chunks/postinstallAddon-PSVXEIZJ.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-EZO7JZTZ.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-MECGIEGM.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-4UOQIT3N.js} +12 -12
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-3YFS3YCP.js} +17 -17
- package/dist/_node-chunks/{run-NL66VTNR.js → run-LTXOQNKP.js} +13 -13
- package/dist/_node-chunks/session-id-PEDFG544.js +23 -0
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-2CNFOQBB.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-MAPM7IJT.js} +9 -9
- package/dist/actions/decorator.js +2 -2
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +2 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +18 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +46 -46
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +5 -5
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +27 -19
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/index.d.ts +1 -1
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +12 -12
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +17 -17
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +12 -12
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +9 -9
- package/dist/builder-vite/index.js +17 -17
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.js +6 -6
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-B2xylxt5.d.ts} +43 -43
- package/dist/{chunk-C-bavsOH.d.ts → chunk-BWzbIWPz.d.ts} +1 -1
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-BYnH2sbb.d.ts} +1 -1
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-BTVrWliM.d.ts → chunk-DF6btpT3.d.ts} +1 -1
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-DIz17UEJ.d.ts} +20 -20
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-DtHByo32.d.ts → chunk-DuDsmeM7.d.ts} +1 -1
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-DvufcbCc.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +26 -26
- 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/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.d.ts +8 -7
- package/dist/components/index.js +223 -228
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +77 -77
- package/dist/core-server/presets/common-manager.js +49 -49
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +44 -44
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +5 -5
- package/dist/csf/index.js +29 -29
- package/dist/csf-tools/index.js +13 -13
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.js +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-C9lYPobZ.js} +408 -429
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-CejY7Ueo.js} +125 -133
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-DGHmnlvz.js} +38 -62
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-DH1Y5Kk_.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-50_aob4S.js} +2 -2
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +998 -0
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-B6gJfDvO.js} +58 -58
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-B9QzcYO3.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-BGvLm94o.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-BzYARKgi.js} +427 -425
- package/dist/manager/_manager-chunks/{runtime-BK0zF7FN.js → runtime-CaVSkVCV.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-CcCplmkX.js} +17 -27
- package/dist/manager/_manager-chunks/{runtime-B1L9TH89.js → runtime-wL4UO7YO.js} +12 -12
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +18 -47
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +2 -2
- package/dist/mocking-utils/index.js +15 -15
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +3 -3
- package/dist/nextjs-vite/node/index.d.ts +1 -1
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -1
- package/dist/nextjs-vite-plugin/index.js +11 -11
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-B3y8ocOg.js} +2 -2
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BoxmlDdB.js} +66 -66
- package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-CijtAN7R.js} +4 -4
- package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-D7B4bVe_.js} +3 -3
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DVM_AHbR.js} +36 -36
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +9 -9
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +3 -3
- package/dist/react/preset.js +14 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +2 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +6 -6
- package/dist/react-native/index.js +21 -20
- package/dist/react-native/metro/node.d.ts +2 -2
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.d.ts +1 -1
- package/dist/react-native/metro/withStorybook.js +16 -16
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native-theming/index.js +57 -62
- package/dist/react-native-ui/index.js +7 -7
- package/dist/react-vite/index.d.ts +1 -1
- package/dist/react-vite/node/index.d.ts +1 -1
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +1 -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/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +21 -21
- package/dist/telemetry/index.js +45 -45
- package/dist/test/index.js +2 -2
- package/dist/theming/create.js +1 -1
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +16 -16
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +2 -2
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +2 -2
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +2 -2
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +2 -2
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +2 -2
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +0 -22
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +0 -20
- package/dist/_node-chunks/session-id-KIIVOQLR.js +0 -23
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-EITvVbkG.js";
|
|
2
|
-
import { d as StorybookError, f as init_storybook_error } from "./runtime-
|
|
2
|
+
import { d as StorybookError, f as init_storybook_error } from "./runtime-CcCplmkX.js";
|
|
3
3
|
//#region src/preview-errors.ts
|
|
4
4
|
var StatusTypeIdMismatchError;
|
|
5
5
|
function init_preview_errors() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-EITvVbkG.js";
|
|
2
|
-
import { Cr as useSyncExternalStore,
|
|
3
|
-
import { c as Icons, l as init_icon } from "./runtime-
|
|
4
|
-
import { i as init_esm, r as dedent } from "./runtime-
|
|
5
|
-
import { d as isEqual, u as init_isEqual } from "./runtime-
|
|
6
|
-
import { a as StatusTypeIdMismatchError$1, o as UniversalStoreFollowerTimeoutError, s as init_manager_errors } from "./runtime-
|
|
7
|
-
import { n as init_preview_errors, t as StatusTypeIdMismatchError$2 } from "./runtime-
|
|
2
|
+
import { Cr as useSyncExternalStore, Et as init_manager_api, Ft as useGlobals, It as useParameter, K as Select, Pt as useGlobalTypes, Rt as useStorybookApi, Sr as useState, fr as useCallback, hr as useEffect, lr as init__storybook_global_react, nr as _storybook_global_react_default, q as Separator, st as init_components, xr as useRef, yr as useMemo } from "./runtime-89Cb0A8U.js";
|
|
3
|
+
import { c as Icons, l as init_icon } from "./runtime-wL4UO7YO.js";
|
|
4
|
+
import { i as init_esm, r as dedent } from "./runtime-BGvLm94o.js";
|
|
5
|
+
import { d as isEqual, u as init_isEqual } from "./runtime-B9QzcYO3.js";
|
|
6
|
+
import { a as StatusTypeIdMismatchError$1, o as UniversalStoreFollowerTimeoutError, s as init_manager_errors } from "./runtime-BzYARKgi.js";
|
|
7
|
+
import { n as init_preview_errors, t as StatusTypeIdMismatchError$2 } from "./runtime-CaVSkVCV.js";
|
|
8
8
|
//#region src/toolbar/utils/normalize-toolbar-arg-type.ts
|
|
9
9
|
var normalizeArgType;
|
|
10
10
|
function init_normalize_toolbar_arg_type() {
|
|
@@ -85,15 +85,15 @@ var id, ToolbarMenuSelect_module_default;
|
|
|
85
85
|
function init_ToolbarMenuSelect_module() {
|
|
86
86
|
return (init_ToolbarMenuSelect_module = __esmMin((() => {
|
|
87
87
|
id = "core/src/toolbar/components/ToolbarMenuSelect.module.css";
|
|
88
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-
|
|
88
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
89
89
|
const style = document.createElement("style");
|
|
90
|
-
style.setAttribute("data-
|
|
91
|
-
style.textContent = ".
|
|
90
|
+
style.setAttribute("data-fb-css", id);
|
|
91
|
+
style.textContent = ".fb-FCSgfW-item{align-items:center;gap:8px;width:100%;display:flex}.fb-FCSgfW-itemMiddle{flex:1}";
|
|
92
92
|
document.head.appendChild(style);
|
|
93
93
|
}
|
|
94
94
|
ToolbarMenuSelect_module_default = {
|
|
95
|
-
"item": "
|
|
96
|
-
"itemMiddle": "
|
|
95
|
+
"item": "fb-FCSgfW-item",
|
|
96
|
+
"itemMiddle": "fb-FCSgfW-itemMiddle"
|
|
97
97
|
};
|
|
98
98
|
})))();
|
|
99
99
|
}
|
|
@@ -722,17 +722,7 @@ function init_story_index_filters() {
|
|
|
722
722
|
//#endregion
|
|
723
723
|
//#region src/storybook-error.ts
|
|
724
724
|
function parseErrorCode({ code, category }) {
|
|
725
|
-
return `
|
|
726
|
-
}
|
|
727
|
-
function appendErrorRef(url) {
|
|
728
|
-
if (/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(url)) return url;
|
|
729
|
-
try {
|
|
730
|
-
const urlObj = new URL(url);
|
|
731
|
-
urlObj.searchParams.set("ref", "error");
|
|
732
|
-
return urlObj.toString();
|
|
733
|
-
} catch {
|
|
734
|
-
return url;
|
|
735
|
-
}
|
|
725
|
+
return `FB_${category}_${String(code).padStart(4, "0")}`;
|
|
736
726
|
}
|
|
737
727
|
var StorybookError;
|
|
738
728
|
function init_storybook_error() {
|
|
@@ -744,7 +734,7 @@ function init_storybook_error() {
|
|
|
744
734
|
category: this.category
|
|
745
735
|
});
|
|
746
736
|
}
|
|
747
|
-
/** Overrides the default `Error.name` property in the format:
|
|
737
|
+
/** Overrides the default `Error.name` property in the format: FB_<CATEGORY>_<CODE>. */
|
|
748
738
|
get name() {
|
|
749
739
|
const errorName = this._name || this.constructor.name;
|
|
750
740
|
return `${this.fullErrorCode} (${errorName})`;
|
|
@@ -769,12 +759,12 @@ function init_storybook_error() {
|
|
|
769
759
|
/** Generates the error message along with additional documentation link (if applicable). */
|
|
770
760
|
static getFullMessage({ documentation, code, category, message }) {
|
|
771
761
|
let page;
|
|
772
|
-
if (documentation === true) page = `https://
|
|
762
|
+
if (documentation === true) page = `https://forkbook.ljk.dev/error/${parseErrorCode({
|
|
773
763
|
code,
|
|
774
764
|
category
|
|
775
|
-
})}
|
|
776
|
-
else if (typeof documentation === "string") page =
|
|
777
|
-
else if (Array.isArray(documentation)) page = `\n${documentation.map((doc) => `\t- ${
|
|
765
|
+
})}`;
|
|
766
|
+
else if (typeof documentation === "string") page = documentation;
|
|
767
|
+
else if (Array.isArray(documentation)) page = `\n${documentation.map((doc) => `\t- ${doc}`).join("\n")}`;
|
|
778
768
|
return `${message}${page != null ? `\n\nMore info: ${page}\n` : ""}`;
|
|
779
769
|
}
|
|
780
770
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-EITvVbkG.js";
|
|
2
|
-
import { E as logger, Rn as icons_exports, Sr as useState, T as init_client_logger, ar as createContext, cr as forwardRef, dr as memo, gr as useId,
|
|
3
|
-
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-
|
|
2
|
+
import { E as logger, Rn as icons_exports, Sr as useState, T as init_client_logger, _t as useTheme, ar as createContext, cr as forwardRef, dr as memo, gr as useId, ht as init_theming, lr as init__storybook_global_react, nr as _storybook_global_react_default, pr as useContext, ut as ThemeProvider, w as deprecate, zn as init_icons } from "./runtime-89Cb0A8U.js";
|
|
3
|
+
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-50_aob4S.js";
|
|
4
4
|
//#region src/components/components/icon/icon.module.css
|
|
5
5
|
var id$1, icon_module_default;
|
|
6
6
|
function init_icon_module() {
|
|
7
7
|
return (init_icon_module = __esmMin((() => {
|
|
8
8
|
id$1 = "core/src/components/components/icon/icon.module.css";
|
|
9
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-
|
|
9
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$1}"]`)) {
|
|
10
10
|
const style = document.createElement("style");
|
|
11
|
-
style.setAttribute("data-
|
|
12
|
-
style.textContent = ".
|
|
11
|
+
style.setAttribute("data-fb-css", id$1);
|
|
12
|
+
style.textContent = ".fb-SpsHCG-svg{shape-rendering:inherit;vertical-align:middle;fill:currentColor;display:inline-block;& path{fill:currentColor}}";
|
|
13
13
|
document.head.appendChild(style);
|
|
14
14
|
}
|
|
15
|
-
icon_module_default = { "svg": "
|
|
15
|
+
icon_module_default = { "svg": "fb-SpsHCG-svg" };
|
|
16
16
|
})))();
|
|
17
17
|
}
|
|
18
18
|
//#endregion
|
|
@@ -26,10 +26,10 @@ function init_icon() {
|
|
|
26
26
|
init_icon_module();
|
|
27
27
|
NEW_ICON_MAP = icons_exports;
|
|
28
28
|
Icons = ({ icon, useSymbol, __suppressDeprecationWarning = false, ...props }) => {
|
|
29
|
-
if (!__suppressDeprecationWarning) deprecate(`Use of the deprecated Icons ${`(${icon})` || ""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://
|
|
29
|
+
if (!__suppressDeprecationWarning) deprecate(`Use of the deprecated Icons ${`(${icon})` || ""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://forkbook.ljk.dev/docs/migration#icons-is-deprecated`);
|
|
30
30
|
const findIcon = icons[icon] || null;
|
|
31
31
|
if (!findIcon) {
|
|
32
|
-
logger.warn(`Use of an unknown prop ${`(${icon})` || ""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://
|
|
32
|
+
logger.warn(`Use of an unknown prop ${`(${icon})` || ""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://forkbook.ljk.dev/docs/migration#icons-is-deprecated`);
|
|
33
33
|
return null;
|
|
34
34
|
}
|
|
35
35
|
const Icon = NEW_ICON_MAP[findIcon];
|
|
@@ -343,13 +343,13 @@ var id, TooltipNote_module_default;
|
|
|
343
343
|
function init_TooltipNote_module() {
|
|
344
344
|
return (init_TooltipNote_module = __esmMin((() => {
|
|
345
345
|
id = "core/src/components/components/tooltip/TooltipNote.module.css";
|
|
346
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-
|
|
346
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
347
347
|
const style = document.createElement("style");
|
|
348
|
-
style.setAttribute("data-
|
|
349
|
-
style.textContent = ".
|
|
348
|
+
style.setAttribute("data-fb-css", id);
|
|
349
|
+
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}";
|
|
350
350
|
document.head.appendChild(style);
|
|
351
351
|
}
|
|
352
|
-
TooltipNote_module_default = { "note": "
|
|
352
|
+
TooltipNote_module_default = { "note": "fb-owKRYa-note" };
|
|
353
353
|
})))();
|
|
354
354
|
}
|
|
355
355
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime-
|
|
1
|
+
import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime-DGHmnlvz.js";
|
|
2
2
|
init_globals_runtime();
|
|
@@ -5,18 +5,18 @@ declare const globalsNameReferenceMap: {
|
|
|
5
5
|
readonly 'react/jsx-dev-runtime': '__REACT_JSX_DEV_RUNTIME__';
|
|
6
6
|
readonly 'react-dom': '__REACT_DOM__';
|
|
7
7
|
readonly 'react-dom/client': '__REACT_DOM_CLIENT__';
|
|
8
|
-
readonly '@storybook/icons': '
|
|
9
|
-
readonly '@aussieljk/forkbook/manager-api': '
|
|
10
|
-
readonly '@aussieljk/forkbook/theming': '
|
|
11
|
-
readonly '@aussieljk/forkbook/theming/create': '
|
|
12
|
-
readonly '@aussieljk/forkbook/test': '
|
|
13
|
-
readonly '@aussieljk/forkbook/internal/channels': '
|
|
14
|
-
readonly '@aussieljk/forkbook/internal/client-logger': '
|
|
15
|
-
readonly '@aussieljk/forkbook/internal/components': '
|
|
16
|
-
readonly '@aussieljk/forkbook/internal/core-events': '
|
|
17
|
-
readonly '@aussieljk/forkbook/internal/manager-errors': '
|
|
18
|
-
readonly '@aussieljk/forkbook/internal/router': '
|
|
19
|
-
readonly '@aussieljk/forkbook/internal/types': '
|
|
8
|
+
readonly '@storybook/icons': '__FORKBOOK_ICONS__';
|
|
9
|
+
readonly '@aussieljk/forkbook/manager-api': '__FORKBOOK_API__';
|
|
10
|
+
readonly '@aussieljk/forkbook/theming': '__FORKBOOK_THEMING__';
|
|
11
|
+
readonly '@aussieljk/forkbook/theming/create': '__FORKBOOK_THEMING_CREATE__';
|
|
12
|
+
readonly '@aussieljk/forkbook/test': '__FORKBOOK_TEST__';
|
|
13
|
+
readonly '@aussieljk/forkbook/internal/channels': '__FORKBOOK_CHANNELS__';
|
|
14
|
+
readonly '@aussieljk/forkbook/internal/client-logger': '__FORKBOOK_CLIENT_LOGGER__';
|
|
15
|
+
readonly '@aussieljk/forkbook/internal/components': '__FORKBOOK_COMPONENTS__';
|
|
16
|
+
readonly '@aussieljk/forkbook/internal/core-events': '__FORKBOOK_CORE_EVENTS__';
|
|
17
|
+
readonly '@aussieljk/forkbook/internal/manager-errors': '__FORKBOOK_CORE_EVENTS_MANAGER_ERRORS__';
|
|
18
|
+
readonly '@aussieljk/forkbook/internal/router': '__FORKBOOK_ROUTER__';
|
|
19
|
+
readonly '@aussieljk/forkbook/internal/types': '__FORKBOOK_TYPES__';
|
|
20
20
|
};
|
|
21
21
|
declare const globalPackages: Array<keyof typeof globalsNameReferenceMap>;
|
|
22
22
|
//#endregion
|
package/dist/manager/globals.js
CHANGED
|
@@ -7,18 +7,18 @@ var globalsNameReferenceMap = {
|
|
|
7
7
|
"react/jsx-dev-runtime": "__REACT_JSX_DEV_RUNTIME__",
|
|
8
8
|
"react-dom": "__REACT_DOM__",
|
|
9
9
|
"react-dom/client": "__REACT_DOM_CLIENT__",
|
|
10
|
-
"@storybook/icons": "
|
|
11
|
-
"@aussieljk/forkbook/manager-api": "
|
|
12
|
-
"@aussieljk/forkbook/theming": "
|
|
13
|
-
"@aussieljk/forkbook/theming/create": "
|
|
14
|
-
"@aussieljk/forkbook/test": "
|
|
15
|
-
"@aussieljk/forkbook/internal/channels": "
|
|
16
|
-
"@aussieljk/forkbook/internal/client-logger": "
|
|
17
|
-
"@aussieljk/forkbook/internal/components": "
|
|
18
|
-
"@aussieljk/forkbook/internal/core-events": "
|
|
19
|
-
"@aussieljk/forkbook/internal/manager-errors": "
|
|
20
|
-
"@aussieljk/forkbook/internal/router": "
|
|
21
|
-
"@aussieljk/forkbook/internal/types": "
|
|
10
|
+
"@storybook/icons": "__FORKBOOK_ICONS__",
|
|
11
|
+
"@aussieljk/forkbook/manager-api": "__FORKBOOK_API__",
|
|
12
|
+
"@aussieljk/forkbook/theming": "__FORKBOOK_THEMING__",
|
|
13
|
+
"@aussieljk/forkbook/theming/create": "__FORKBOOK_THEMING_CREATE__",
|
|
14
|
+
"@aussieljk/forkbook/test": "__FORKBOOK_TEST__",
|
|
15
|
+
"@aussieljk/forkbook/internal/channels": "__FORKBOOK_CHANNELS__",
|
|
16
|
+
"@aussieljk/forkbook/internal/client-logger": "__FORKBOOK_CLIENT_LOGGER__",
|
|
17
|
+
"@aussieljk/forkbook/internal/components": "__FORKBOOK_COMPONENTS__",
|
|
18
|
+
"@aussieljk/forkbook/internal/core-events": "__FORKBOOK_CORE_EVENTS__",
|
|
19
|
+
"@aussieljk/forkbook/internal/manager-errors": "__FORKBOOK_CORE_EVENTS_MANAGER_ERRORS__",
|
|
20
|
+
"@aussieljk/forkbook/internal/router": "__FORKBOOK_ROUTER__",
|
|
21
|
+
"@aussieljk/forkbook/internal/types": "__FORKBOOK_TYPES__"
|
|
22
22
|
}, globalPackages = Object.keys(globalsNameReferenceMap);
|
|
23
23
|
export {
|
|
24
24
|
globalPackages,
|
package/dist/manager/runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as init_runtime } from "./_manager-chunks/runtime-
|
|
1
|
+
import { t as init_runtime } from "./_manager-chunks/runtime-B6gJfDvO.js";
|
|
2
2
|
init_runtime();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $c as API_GroupEntry, Ac as useTestProviderStore, Al as experimental_requestResponse, Bc as useStatusStore, Bl as shortcutMatchesShortcut, Cl as useSharedState, Dc as fullTestProviderStore, Dl as _default, Ec as Tag, El as useStorybookState, Fl as eventMatchesShortcut, Gl as Addon_Type, Hc as useUniversalStore, Hl as shortcutToHumanString, Il as eventToShortcut, Jc as API, Kl as addons, Lc as fullStatusStore, Ll as isShortcutTaken, Ml as KeyboardEventLike, Nl as controlOrMetaKey, Oc as getTestProviderStoreById, Ol as isMacLike, Pl as controlOrMetaSymbol, Qc as API_EventMap, Rc as getStatusStoreByTypeId, Rl as keyToSymbol, Sl as useParameter, Tl as useStorybookApi, Uc as UniversalStore, Ul as Options, Vc as MockUniversalStore, Vl as shortcutToAriaKeyshortcuts, Wl as AddonStore, Xc as API_ComposedRef, Yc as API_ComponentEntry, Zc as API_DocsEntry, _l as useArgTypes, al as API_StoryEntry, ao as useServiceQuery, bl as useGlobalTypes, cl as Listener, dl as ManagerProvider, el as API_HashEntry, fl as ManagerProviderProps, gl as useAddonState, hl as typesX, il as API_RootEntry, io as registerService, jl as API_KeyCollection, kc as universalTestProviderStore, kl as RequestResponseError, ll as ManagerConsumer, ml as combineParameters, nl as API_LeafEntry, ol as ActiveTabs, oo as useServiceCommand, pl as State, rl as API_Refs, ro as getService, sl as Combo, tl as API_IndexHash, ul as ManagerContext, vl as useArgs, wl as useStoryPrepared, xl as useGlobals, yl as useChannel, zc as universalStatusStore, zl as optionOrAltSymbol } from "../chunk-
|
|
1
|
+
import { $c as API_GroupEntry, Ac as useTestProviderStore, Al as experimental_requestResponse, Bc as useStatusStore, Bl as shortcutMatchesShortcut, Cl as useSharedState, Dc as fullTestProviderStore, Dl as _default, Ec as Tag, El as useStorybookState, Fl as eventMatchesShortcut, Gl as Addon_Type, Hc as useUniversalStore, Hl as shortcutToHumanString, Il as eventToShortcut, Jc as API, Kl as addons, Lc as fullStatusStore, Ll as isShortcutTaken, Ml as KeyboardEventLike, Nl as controlOrMetaKey, Oc as getTestProviderStoreById, Ol as isMacLike, Pl as controlOrMetaSymbol, Qc as API_EventMap, Rc as getStatusStoreByTypeId, Rl as keyToSymbol, Sl as useParameter, Tl as useStorybookApi, Uc as UniversalStore, Ul as Options, Vc as MockUniversalStore, Vl as shortcutToAriaKeyshortcuts, Wl as AddonStore, Xc as API_ComposedRef, Yc as API_ComponentEntry, Zc as API_DocsEntry, _l as useArgTypes, al as API_StoryEntry, ao as useServiceQuery, bl as useGlobalTypes, cl as Listener, dl as ManagerProvider, el as API_HashEntry, fl as ManagerProviderProps, gl as useAddonState, hl as typesX, il as API_RootEntry, io as registerService, jl as API_KeyCollection, kc as universalTestProviderStore, kl as RequestResponseError, ll as ManagerConsumer, ml as combineParameters, nl as API_LeafEntry, ol as ActiveTabs, oo as useServiceCommand, pl as State, rl as API_Refs, ro as getService, sl as Combo, tl as API_IndexHash, ul as ManagerContext, vl as useArgs, wl as useStoryPrepared, xl as useGlobals, yl as useChannel, zc as universalStatusStore, zl as optionOrAltSymbol } from "../chunk-DIz17UEJ.js";
|
|
2
2
|
export { API, API_EventMap, type API_KeyCollection, ActiveTabs, type Addon_Type as Addon, type AddonStore, type Listener as ChannelListener, Combo, type API_ComponentEntry as ComponentEntry, type API_ComposedRef as ComposedRef, ManagerConsumer as Consumer, type API_DocsEntry as DocsEntry, type API_GroupEntry as GroupEntry, type API_HashEntry as HashEntry, type API_IndexHash as IndexHash, type API_IndexHash as StoriesHash, KeyboardEventLike, type API_LeafEntry as LeafEntry, ManagerContext, ManagerProviderProps, ManagerProvider as Provider, type API_Refs as Refs, RequestResponseError, type API_RootEntry as RootEntry, State, type Options as StoreOptions, type API_StoryEntry as StoryEntry, Tag, addons, combineParameters, controlOrMetaKey, controlOrMetaSymbol, eventMatchesShortcut, eventToShortcut, MockUniversalStore as experimental_MockUniversalStore, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, experimental_requestResponse, useStatusStore as experimental_useStatusStore, useTestProviderStore as experimental_useTestProviderStore, getService, UniversalStore as internal_UniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, universalStatusStore as internal_universalStatusStore, universalTestProviderStore as internal_universalTestProviderStore, useUniversalStore as internal_useUniversalStore, isMacLike, isShortcutTaken, keyToSymbol, _default as merge, optionOrAltSymbol, registerService, shortcutMatchesShortcut, shortcutToAriaKeyshortcuts, shortcutToHumanString, typesX as types, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useServiceCommand, useServiceQuery, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "../_browser-chunks/chunk-W7NE2JXW.js";
|
|
4
4
|
import {
|
|
5
5
|
UniversalStore
|
|
6
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
+
} from "../_browser-chunks/chunk-5H4KFI44.js";
|
|
7
7
|
import {
|
|
8
8
|
parse,
|
|
9
9
|
stringify as stringify2
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
createStatusStore,
|
|
15
15
|
statusValueShortName,
|
|
16
16
|
toStatusValue
|
|
17
|
-
} from "../_browser-chunks/chunk-
|
|
17
|
+
} from "../_browser-chunks/chunk-DYNTDJ3O.js";
|
|
18
18
|
import {
|
|
19
19
|
dequal,
|
|
20
20
|
getService,
|
|
21
21
|
registerService,
|
|
22
22
|
useServiceCommand,
|
|
23
23
|
useServiceQuery
|
|
24
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
+
} from "../_browser-chunks/chunk-UDQ3XQFC.js";
|
|
25
25
|
import {
|
|
26
26
|
countBy,
|
|
27
27
|
partition
|
|
@@ -29,20 +29,20 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
isReviewManagerRoute
|
|
31
31
|
} from "../_browser-chunks/chunk-YI2IBIQS.js";
|
|
32
|
-
import "../_browser-chunks/chunk-
|
|
32
|
+
import "../_browser-chunks/chunk-LYYXDWR2.js";
|
|
33
33
|
import {
|
|
34
34
|
BUILT_IN_FILTERS,
|
|
35
35
|
Tag,
|
|
36
36
|
USER_TAG_FILTER,
|
|
37
37
|
mockChannel
|
|
38
|
-
} from "../_browser-chunks/chunk-
|
|
39
|
-
import "../_browser-chunks/chunk-
|
|
38
|
+
} from "../_browser-chunks/chunk-3M5T7BW4.js";
|
|
39
|
+
import "../_browser-chunks/chunk-KYSD26D6.js";
|
|
40
40
|
import {
|
|
41
41
|
getChannel,
|
|
42
42
|
setChannel
|
|
43
|
-
} from "../_browser-chunks/chunk-
|
|
43
|
+
} from "../_browser-chunks/chunk-N3NRW5XX.js";
|
|
44
44
|
import "../_browser-chunks/chunk-QC4HFS6K.js";
|
|
45
|
-
import "../_browser-chunks/chunk-
|
|
45
|
+
import "../_browser-chunks/chunk-76222HQR.js";
|
|
46
46
|
import {
|
|
47
47
|
stringify
|
|
48
48
|
} from "../_browser-chunks/chunk-SFVA4SBT.js";
|
|
@@ -63,8 +63,8 @@ import {
|
|
|
63
63
|
import "../_browser-chunks/chunk-NZMVUW5T.js";
|
|
64
64
|
import "../_browser-chunks/chunk-JWSKPMPC.js";
|
|
65
65
|
import "../_browser-chunks/chunk-JPUOQJUI.js";
|
|
66
|
-
import "../_browser-chunks/chunk-
|
|
67
|
-
import "../_browser-chunks/chunk-
|
|
66
|
+
import "../_browser-chunks/chunk-BNP234B4.js";
|
|
67
|
+
import "../_browser-chunks/chunk-MJIDTL3X.js";
|
|
68
68
|
import "../_browser-chunks/chunk-SC67XZST.js";
|
|
69
69
|
import {
|
|
70
70
|
__commonJS,
|
|
@@ -499,7 +499,7 @@ var AddonStore = class {
|
|
|
499
499
|
experimental_getRegisteredAddons(type) {
|
|
500
500
|
return Object.keys(type ? this.getElements(type) : this.loaders);
|
|
501
501
|
}
|
|
502
|
-
}, KEY = "
|
|
502
|
+
}, KEY = "__FORKBOOK_ADDONS_MANAGER";
|
|
503
503
|
function getAddonsStore() {
|
|
504
504
|
return globalThis[KEY] || (globalThis[KEY] = new AddonStore()), globalThis[KEY];
|
|
505
505
|
}
|
|
@@ -2642,7 +2642,7 @@ var { VERSIONCHECK } = global7, getVersionCheckData = (0, import_memoizerific3.d
|
|
|
2642
2642
|
} catch {
|
|
2643
2643
|
return {};
|
|
2644
2644
|
}
|
|
2645
|
-
}),
|
|
2645
|
+
}), init13 = ({ store: store2 }) => {
|
|
2646
2646
|
let { dismissedVersionNotification } = store2.getState(), state = {
|
|
2647
2647
|
versions: {
|
|
2648
2648
|
current: {
|
|
@@ -2664,21 +2664,10 @@ var { VERSIONCHECK } = global7, getVersionCheckData = (0, import_memoizerific3.d
|
|
|
2664
2664
|
} = store2.getState();
|
|
2665
2665
|
return current && semver.prerelease(current.version) && next ? latest && semver.gt(latest.version, next.version) ? latest : next : latest;
|
|
2666
2666
|
},
|
|
2667
|
-
//
|
|
2668
|
-
getDocsUrl: ({ asset, subpath = asset
|
|
2669
|
-
let
|
|
2670
|
-
|
|
2671
|
-
url += `${semver.major(activeVersion)}.${semver.minor(activeVersion)}/`;
|
|
2672
|
-
else if (versioned && activeVersion && latestVersion) {
|
|
2673
|
-
let versionDiff = semver.diff(latestVersion, activeVersion);
|
|
2674
|
-
versionDiff === "patch" || versionDiff === null || (url += `${semver.major(activeVersion)}.${semver.minor(activeVersion)}/`);
|
|
2675
|
-
}
|
|
2676
|
-
let [cleanedSubpath, hash] = subpath?.split("#") || [];
|
|
2677
|
-
if (cleanedSubpath && (url += asset ? cleanedSubpath : `${cleanedSubpath}/`), renderer && typeof global7.FORKBOOK_RENDERER < "u") {
|
|
2678
|
-
let rendererName = global7.FORKBOOK_RENDERER;
|
|
2679
|
-
rendererName && (url += `?renderer=${normalizeRendererName(rendererName)}`);
|
|
2680
|
-
}
|
|
2681
|
-
return ref && (url += `${url.includes("?") ? "&" : "?"}ref=${ref}`), hash && (url += `#${hash}`), url;
|
|
2667
|
+
// The Forkbook docs have one version, so `versioned`, `renderer` and `ref` change nothing.
|
|
2668
|
+
getDocsUrl: ({ asset, subpath = asset }) => {
|
|
2669
|
+
let [path, hash] = subpath?.split("#") || [], url = `https://forkbook.ljk.dev/${asset ? "docs-assets" : "docs"}`;
|
|
2670
|
+
return path && (url += `/${path}`), hash && (url += `#${hash}`), url;
|
|
2682
2671
|
},
|
|
2683
2672
|
versionUpdateAvailable: () => {
|
|
2684
2673
|
let latest = api.getLatestVersion(), current = api.getCurrentVersion();
|
|
@@ -2714,25 +2703,7 @@ import {
|
|
|
2714
2703
|
} from "@aussieljk/forkbook/internal/core-events";
|
|
2715
2704
|
import { global as global8 } from "@storybook/global";
|
|
2716
2705
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
2717
|
-
var WHATS_NEW_NOTIFICATION_ID = "whats-new",
|
|
2718
|
-
"svg",
|
|
2719
|
-
{
|
|
2720
|
-
width: size,
|
|
2721
|
-
height: size,
|
|
2722
|
-
viewBox: "0 0 14 14",
|
|
2723
|
-
fill: "none",
|
|
2724
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2725
|
-
children: jsx2(
|
|
2726
|
-
"path",
|
|
2727
|
-
{
|
|
2728
|
-
fillRule: "evenodd",
|
|
2729
|
-
clipRule: "evenodd",
|
|
2730
|
-
d: "M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",
|
|
2731
|
-
fill: color
|
|
2732
|
-
}
|
|
2733
|
-
)
|
|
2734
|
-
}
|
|
2735
|
-
), init14 = ({ fullAPI, store: store2, provider }) => {
|
|
2706
|
+
var WHATS_NEW_NOTIFICATION_ID = "whats-new", ForkbookIcon = ({ size = 14 }) => jsx2("span", { role: "img", "aria-label": "Forkbook", style: { fontSize: size, lineHeight: 1 }, children: "\u{1FAA9}" }), init14 = ({ fullAPI, store: store2, provider }) => {
|
|
2736
2707
|
let state = {
|
|
2737
2708
|
whatsNewData: void 0
|
|
2738
2709
|
};
|
|
@@ -2779,7 +2750,7 @@ var WHATS_NEW_NOTIFICATION_ID = "whats-new", StorybookIcon = ({ color = "current
|
|
|
2779
2750
|
headline: whatsNewData.title,
|
|
2780
2751
|
subHeadline: "Learn what's new in Forkbook"
|
|
2781
2752
|
},
|
|
2782
|
-
icon: jsx2(
|
|
2753
|
+
icon: jsx2(ForkbookIcon, {}),
|
|
2783
2754
|
onClear({ dismissed }) {
|
|
2784
2755
|
dismissed && setWhatsNewCache({ lastDismissedPost: whatsNewData.url });
|
|
2785
2756
|
}
|
package/dist/manager-errors.d.ts
CHANGED
package/dist/manager-errors.js
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
StatusTypeIdMismatchError,
|
|
7
7
|
UncaughtManagerError,
|
|
8
8
|
UniversalStoreFollowerTimeoutError
|
|
9
|
-
} from "./_browser-chunks/chunk-
|
|
10
|
-
import "./_browser-chunks/chunk-
|
|
9
|
+
} from "./_browser-chunks/chunk-BNP234B4.js";
|
|
10
|
+
import "./_browser-chunks/chunk-MJIDTL3X.js";
|
|
11
11
|
import "./_browser-chunks/chunk-IMSF75WX.js";
|
|
12
12
|
export {
|
|
13
13
|
Category,
|
package/dist/mcp/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.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
|
package_default
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-EJ6XL2KN.js";
|
|
15
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
16
16
|
|
|
17
17
|
// src/mcp/index.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -529,7 +529,7 @@ interface AwaitExpression extends BaseExpression {
|
|
|
529
529
|
//#endregion
|
|
530
530
|
//#region .dts-emit/code/core/src/mocking-utils/automock.d.ts
|
|
531
531
|
type ParseFn = (code: string) => Program;
|
|
532
|
-
declare const
|
|
532
|
+
declare const __FORKBOOK_GLOBAL_THIS_ACCESSOR__ = "__vitest_mocker__";
|
|
533
533
|
declare function getAutomockCode(originalCode: string, isSpy: boolean, parse: ParseFn): MagicString;
|
|
534
534
|
/**
|
|
535
535
|
* Copyright (c) Vitest
|
|
@@ -686,4 +686,4 @@ declare function getMockerRuntime(): string;
|
|
|
686
686
|
//#region ../../node_modules/@vitest/mocker/dist/redirect.d.ts
|
|
687
687
|
declare function findMockRedirect(root: string, mockPath: string, external: string | null): string | null;
|
|
688
688
|
//#endregion
|
|
689
|
-
export { type ArrayExpression, type ArrayPattern, type ArrowFunctionExpression, type AssignmentExpression, type AssignmentOperator, type AssignmentPattern, type AssignmentProperty, type AwaitExpression, type BaseCallExpression, type BaseClass, type BaseDeclaration, type BaseExpression, type BaseForXStatement, type BaseFunction, type BaseModuleDeclaration, type BaseModuleSpecifier, type BaseNode, type BaseNodeWithoutComments, type BasePattern, type BaseStatement, type BigIntLiteral, type BinaryExpression, type BinaryOperator, type BlockStatement, type BreakStatement, type CallExpression, type CatchClause, type ChainElement, type ChainExpression, type Class, type ClassBody, type ClassDeclaration, type ClassExpression, type Comment, type ConditionalExpression, type ContinueStatement, type DebuggerStatement, type Declaration, type Directive, type DoWhileStatement, type EmptyStatement, type ExportAllDeclaration, type ExportDefaultDeclaration, type ExportNamedDeclaration, type ExportSpecifier, type Expression, type ExpressionMap, type ExpressionStatement, type ForInStatement, type ForOfStatement, type ForStatement, type Function, type FunctionDeclaration, type FunctionExpression, type Identifier, type IfStatement, type ImportAttribute, type ImportDeclaration, type ImportDefaultSpecifier, type ImportExpression, type ImportNamespaceSpecifier, type ImportSpecifier, type LabeledStatement, type Literal, type LogicalExpression, type LogicalOperator, type MaybeNamedClassDeclaration, type MaybeNamedFunctionDeclaration, type MemberExpression, type MetaProperty, type MethodDefinition, MockCall, type ModuleDeclaration, type ModuleSpecifier, type NewExpression, Node, type NodeMap, type ObjectExpression, type ObjectPattern, type Pattern, type Position, Positioned, type PrivateIdentifier, type Program, type Property, type PropertyDefinition, type RegExpLiteral, type RestElement, type ReturnStatement, type SequenceExpression, type SimpleCallExpression, type SimpleLiteral, type SourceLocation, type SpreadElement, type Statement, type StaticBlock, type Super, type SwitchCase, type SwitchStatement, type TaggedTemplateExpression, type TemplateElement, type TemplateLiteral, type ThisExpression, type ThrowStatement, type TryStatement, type UnaryExpression, type UnaryOperator, type UpdateExpression, type UpdateOperator, type VariableDeclaration, type VariableDeclarator, type WhileStatement, type WithStatement, type YieldExpression,
|
|
689
|
+
export { type ArrayExpression, type ArrayPattern, type ArrowFunctionExpression, type AssignmentExpression, type AssignmentOperator, type AssignmentPattern, type AssignmentProperty, type AwaitExpression, type BaseCallExpression, type BaseClass, type BaseDeclaration, type BaseExpression, type BaseForXStatement, type BaseFunction, type BaseModuleDeclaration, type BaseModuleSpecifier, type BaseNode, type BaseNodeWithoutComments, type BasePattern, type BaseStatement, type BigIntLiteral, type BinaryExpression, type BinaryOperator, type BlockStatement, type BreakStatement, type CallExpression, type CatchClause, type ChainElement, type ChainExpression, type Class, type ClassBody, type ClassDeclaration, type ClassExpression, type Comment, type ConditionalExpression, type ContinueStatement, type DebuggerStatement, type Declaration, type Directive, type DoWhileStatement, type EmptyStatement, type ExportAllDeclaration, type ExportDefaultDeclaration, type ExportNamedDeclaration, type ExportSpecifier, type Expression, type ExpressionMap, type ExpressionStatement, type ForInStatement, type ForOfStatement, type ForStatement, type Function, type FunctionDeclaration, type FunctionExpression, type Identifier, type IfStatement, type ImportAttribute, type ImportDeclaration, type ImportDefaultSpecifier, type ImportExpression, type ImportNamespaceSpecifier, type ImportSpecifier, type LabeledStatement, type Literal, type LogicalExpression, type LogicalOperator, type MaybeNamedClassDeclaration, type MaybeNamedFunctionDeclaration, type MemberExpression, type MetaProperty, type MethodDefinition, MockCall, type ModuleDeclaration, type ModuleSpecifier, type NewExpression, Node, type NodeMap, type ObjectExpression, type ObjectPattern, type Pattern, type Position, Positioned, type PrivateIdentifier, type Program, type Property, type PropertyDefinition, type RegExpLiteral, type RestElement, type ReturnStatement, type SequenceExpression, type SimpleCallExpression, type SimpleLiteral, type SourceLocation, type SpreadElement, type Statement, type StaticBlock, type Super, type SwitchCase, type SwitchStatement, type TaggedTemplateExpression, type TemplateElement, type TemplateLiteral, type ThisExpression, type ThrowStatement, type TryStatement, type UnaryExpression, type UnaryOperator, type UpdateExpression, type UpdateOperator, type VariableDeclaration, type VariableDeclarator, type WhileStatement, type WithStatement, type YieldExpression, __FORKBOOK_GLOBAL_THIS_ACCESSOR__, automockModule, babelParser, esmWalker, extractMockCalls, findMockRedirect, getArbitraryModuleIdentifier, getAutomockCode, getIsExternal, getMockerRuntime, getRealPath, isExternal, isFunctionNode, isInDestructuringAssignment, isModuleDirectory, isNodeInPattern, isStaticProperty, isStaticPropertyKey, resolveExternalModule, resolveMock, resolveWithExtensions, rewriteSbMockImportCalls, setIsNodeInPattern };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.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
|
walk
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-QTRP6K2A.js";
|
|
15
15
|
import {
|
|
16
16
|
userModuleExtensions
|
|
17
|
-
} from "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
17
|
+
} from "../_node-chunks/chunk-DI76R3EI.js";
|
|
18
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
19
19
|
|
|
20
20
|
// src/mocking-utils/automock.ts
|
|
21
21
|
import MagicString from "magic-string";
|
|
@@ -120,14 +120,14 @@ function getArbitraryModuleIdentifier(node) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/mocking-utils/automock.ts
|
|
123
|
-
var
|
|
123
|
+
var __FORKBOOK_GLOBAL_THIS_ACCESSOR__ = "__vitest_mocker__";
|
|
124
124
|
function getAutomockCode(originalCode, isSpy, parse) {
|
|
125
125
|
return automockModule(originalCode, isSpy ? "autospy" : "automock", parse, {
|
|
126
|
-
globalThisAccessor: JSON.stringify(
|
|
126
|
+
globalThisAccessor: JSON.stringify(__FORKBOOK_GLOBAL_THIS_ACCESSOR__)
|
|
127
127
|
});
|
|
128
128
|
}
|
|
129
129
|
function automockModule(code, mockType, parse, options = {}) {
|
|
130
|
-
let globalThisAccessor = options.globalThisAccessor || JSON.stringify(
|
|
130
|
+
let globalThisAccessor = options.globalThisAccessor || JSON.stringify(__FORKBOOK_GLOBAL_THIS_ACCESSOR__), ast = parse(code), m = new MagicString(code), allSpecifiers = [], importIndex = 0;
|
|
131
131
|
for (let _node of ast.body) {
|
|
132
132
|
if (_node.type === "ExportAllDeclaration")
|
|
133
133
|
throw new Error(
|
|
@@ -193,11 +193,11 @@ const __vitest_current_es_module__ = {
|
|
|
193
193
|
}
|
|
194
194
|
const __vitest_mocked_module__ = globalThis[${globalThisAccessor}].mockObject(__vitest_current_es_module__, "${mockType}")
|
|
195
195
|
`, spyRegistration = `
|
|
196
|
-
if (!globalThis.
|
|
196
|
+
if (!globalThis.__FORKBOOK_MODULE_MOCK_SPIES__) { globalThis.__FORKBOOK_MODULE_MOCK_SPIES__ = new Set(); }
|
|
197
197
|
for (const __vitest_key__ of Object.keys(__vitest_mocked_module__)) {
|
|
198
198
|
const __vitest_val__ = __vitest_mocked_module__[__vitest_key__];
|
|
199
199
|
if (__vitest_val__ && typeof __vitest_val__ === "function" && __vitest_val__._isMockFunction === true) {
|
|
200
|
-
globalThis.
|
|
200
|
+
globalThis.__FORKBOOK_MODULE_MOCK_SPIES__.add(__vitest_val__);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
`, assigning = allSpecifiers.map(({ name }, index) => `const __vitest_mocked_${index}__ = __vitest_mocked_module__["${name}"]`).join(`
|
|
@@ -495,7 +495,7 @@ function isNodeBuiltin(id) {
|
|
|
495
495
|
return prefixedBuiltins.has(id) ? !0 : builtins.has(id.startsWith(NODE_BUILTIN_NAMESPACE) ? id.slice(NODE_BUILTIN_NAMESPACE.length) : id);
|
|
496
496
|
}
|
|
497
497
|
export {
|
|
498
|
-
|
|
498
|
+
__FORKBOOK_GLOBAL_THIS_ACCESSOR__,
|
|
499
499
|
automockModule,
|
|
500
500
|
babelParser,
|
|
501
501
|
esmWalker,
|
|
@@ -1239,7 +1239,7 @@ function registerModuleMocker(interceptor) {
|
|
|
1239
1239
|
return rpc2("invalidate", { ids });
|
|
1240
1240
|
}
|
|
1241
1241
|
},
|
|
1242
|
-
(...args) => globalThis.
|
|
1242
|
+
(...args) => globalThis.__FORKBOOK_MODULE_TEST__.spyOn(...args),
|
|
1243
1243
|
{
|
|
1244
1244
|
root: ""
|
|
1245
1245
|
}
|
|
@@ -1248,7 +1248,7 @@ function registerModuleMocker(interceptor) {
|
|
|
1248
1248
|
globalThisKey: "__vitest_mocker__"
|
|
1249
1249
|
});
|
|
1250
1250
|
}
|
|
1251
|
-
globalThis.
|
|
1251
|
+
globalThis.__FORKBOOK_MOCKER__ = registerModuleMocker(() => new ModuleMockerInterceptor());
|
|
1252
1252
|
export {
|
|
1253
1253
|
ModuleMockerInterceptor
|
|
1254
1254
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as StorybookConfig, n as NextJsParameters, r as NextJsTypes, t as FrameworkOptions } from "../chunk-
|
|
1
|
+
import { i as StorybookConfig, n as NextJsParameters, r as NextJsTypes, t as FrameworkOptions } from "../chunk-DuDsmeM7.js";
|
|
2
2
|
import { AddonTypes, InferTypes, PreviewAddonEntry } from "@aussieljk/forkbook/internal/csf";
|
|
3
3
|
import { Args as Args$1, ComposedStoryFn, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, ProjectAnnotations as ProjectAnnotations$1, Store_CSFExports, StoriesWithPartialProps, StoryAnnotationsOrFn } from "@aussieljk/forkbook/internal/types";
|
|
4
4
|
import { Meta as Meta$1, ReactPreview, ReactRenderer, ReactTypes } from "@aussieljk/forkbook/react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
preview_exports
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-7DQREF4S.js";
|
|
4
4
|
import {
|
|
5
5
|
INTERNAL_DEFAULT_PROJECT_ANNOTATIONS
|
|
6
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
+
} from "../_browser-chunks/chunk-K2B36HKM.js";
|
|
7
7
|
import "../_browser-chunks/chunk-GNZY6LOW.js";
|
|
8
|
-
import "../_browser-chunks/chunk-
|
|
8
|
+
import "../_browser-chunks/chunk-K6GRZSXS.js";
|
|
9
9
|
import "../_browser-chunks/chunk-WHQRNHXD.js";
|
|
10
10
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
11
11
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-CYPEPQSM.js";
|
|
13
13
|
|
|
14
14
|
// src/nextjs-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|