@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,12 +1,12 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { at as init_dist, ct as stringify, it as invariant, lt as dedent, ot as isJSON, rt as init_tiny_invariant, st as parse, ut as init_esm } from "./runtime-BZSnICCg.js";
|
|
3
|
-
import { n as init_storybook_error, t as StorybookError } from "./runtime-
|
|
4
|
-
import { A as matchesHostname, M as init_universal_store, O as LOOPBACK_HOSTNAMES, f as init_preview$7, h as preview_default$6, j as UniversalStore, k as init_local_hosts, m as init_preview$6, p as preview_default$7 } from "./runtime-
|
|
3
|
+
import { n as init_storybook_error, t as StorybookError } from "./runtime-BsMjBzuq.js";
|
|
4
|
+
import { A as matchesHostname, M as init_universal_store, O as LOOPBACK_HOSTNAMES, f as init_preview$7, h as preview_default$6, j as UniversalStore, k as init_local_hosts, m as init_preview$6, p as preview_default$7 } from "./runtime-CijtAN7R.js";
|
|
5
5
|
import { f as require_tiny_isequal, h as scope, m as init_dist$1 } from "./runtime-BTPtVY1p.js";
|
|
6
|
-
import { c as useMemo, d as ImplicitActionsDuringRendering, f as InvalidChannelPageError, l as addons$1, p as init_preview_errors, r as init_preview_api$1, s as useEffect } from "./runtime-
|
|
7
|
-
import { o as init_preview$8, s as preview_default$8 } from "./runtime-
|
|
6
|
+
import { c as useMemo, d as ImplicitActionsDuringRendering, f as InvalidChannelPageError, l as addons$1, p as init_preview_errors, r as init_preview_api$1, s as useEffect } from "./runtime-BoxmlDdB.js";
|
|
7
|
+
import { o as init_preview$8, s as preview_default$8 } from "./runtime-B3y8ocOg.js";
|
|
8
8
|
import { h as processError, m as init_error } from "./runtime-q3wt0e_N.js";
|
|
9
|
-
import { n as preview_default$9, o as onMockCall, r as init_test, t as init_preview$9 } from "./runtime-
|
|
9
|
+
import { n as preview_default$9, o as onMockCall, r as init_test, t as init_preview$9 } from "./runtime-D7B4bVe_.js";
|
|
10
10
|
//#region src/manager-errors.ts
|
|
11
11
|
var UniversalStoreFollowerTimeoutError, OpenServiceStaticSnapshotLoadError, OpenServiceStaticSnapshotInvalidError;
|
|
12
12
|
function init_manager_errors() {
|
|
@@ -616,8 +616,8 @@ function init_postmessage() {
|
|
|
616
616
|
const { data } = rawEvent;
|
|
617
617
|
const { key, event, refId } = typeof data === "string" && isJSON(data) ? parse(data, CHANNEL_OPTIONS$1) : data;
|
|
618
618
|
if (key === "storybook-channel") {
|
|
619
|
-
const pageString = this.config.page === "manager" ? `<span style="color: #37D5D3; background: black"> manager </span>` : `<span style="color: #
|
|
620
|
-
const eventString = Object.values(core_events_exports).includes(event.type) ? `<span style="color: #
|
|
619
|
+
const pageString = this.config.page === "manager" ? `<span style="color: #37D5D3; background: black"> manager </span>` : `<span style="color: #007AFF; background: black"> preview </span>`;
|
|
620
|
+
const eventString = Object.values(core_events_exports).includes(event.type) ? `<span style="color: #007AFF">${event.type}</span>` : `<span style="color: #FFAE00">${event.type}</span>`;
|
|
621
621
|
if (refId) event.refId = refId;
|
|
622
622
|
event.source = this.config.page === "preview" ? rawEvent.origin : getEventSourceUrl(rawEvent, refId);
|
|
623
623
|
if (!event.source) {
|
|
@@ -713,7 +713,7 @@ function init_websocket() {
|
|
|
713
713
|
//#endregion
|
|
714
714
|
//#region src/channels/channel-slot.ts
|
|
715
715
|
function syncGlobalSlot(next) {
|
|
716
|
-
globalThis.
|
|
716
|
+
globalThis.__FORKBOOK_ADDONS_CHANNEL__ = next;
|
|
717
717
|
}
|
|
718
718
|
/**
|
|
719
719
|
* Returns the installed addons channel, or `null` before one exists.
|
|
@@ -723,7 +723,7 @@ function syncGlobalSlot(next) {
|
|
|
723
723
|
* `setChannel` from whichever copy installed the live websocket channel.
|
|
724
724
|
*/
|
|
725
725
|
function getChannel() {
|
|
726
|
-
const fromGlobal = globalThis.
|
|
726
|
+
const fromGlobal = globalThis.__FORKBOOK_ADDONS_CHANNEL__;
|
|
727
727
|
if (fromGlobal) channel = fromGlobal;
|
|
728
728
|
return channel ?? null;
|
|
729
729
|
}
|
|
@@ -832,7 +832,7 @@ function init_constants() {
|
|
|
832
832
|
PANEL_ID = `${ADDON_ID$2}/panel`;
|
|
833
833
|
EVENT_ID = `${ADDON_ID$2}/action-event`;
|
|
834
834
|
CLEAR_ID = `${ADDON_ID$2}/action-clear`;
|
|
835
|
-
CYCLIC_KEY = "$
|
|
835
|
+
CYCLIC_KEY = "$___forkbook.isCyclic";
|
|
836
836
|
})))();
|
|
837
837
|
}
|
|
838
838
|
//#endregion
|
|
@@ -994,7 +994,7 @@ function init_EVENTS() {
|
|
|
994
994
|
var addons;
|
|
995
995
|
function init_preview_api() {
|
|
996
996
|
return (init_preview_api = __esmMin((() => {
|
|
997
|
-
addons = globalThis.
|
|
997
|
+
addons = globalThis.__FORKBOOK_ADDONS_PREVIEW;
|
|
998
998
|
})))();
|
|
999
999
|
}
|
|
1000
1000
|
//#endregion
|
|
@@ -1012,8 +1012,8 @@ function instrument(obj, options = {}) {
|
|
|
1012
1012
|
if (scope.window?.location?.search?.includes("instrument=true")) forceInstrument = true;
|
|
1013
1013
|
else if (scope.window?.location?.search?.includes("instrument=false")) skipInstrument = true;
|
|
1014
1014
|
if (scope.window?.parent === scope.window && !forceInstrument || skipInstrument) return obj;
|
|
1015
|
-
if (scope.window && !scope.window.
|
|
1016
|
-
return (scope.window?.
|
|
1015
|
+
if (scope.window && !scope.window.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__) scope.window.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ = new Instrumenter();
|
|
1016
|
+
return (scope.window?.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(obj, options);
|
|
1017
1017
|
} catch (e) {
|
|
1018
1018
|
once.warn(e);
|
|
1019
1019
|
return obj;
|
|
@@ -1091,14 +1091,14 @@ function init_instrumenter() {
|
|
|
1091
1091
|
this.state = {};
|
|
1092
1092
|
this.loadParentWindowState = () => {
|
|
1093
1093
|
try {
|
|
1094
|
-
this.state = scope.window?.parent?.
|
|
1094
|
+
this.state = scope.window?.parent?.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ || {};
|
|
1095
1095
|
} catch {
|
|
1096
1096
|
this.detached = true;
|
|
1097
1097
|
}
|
|
1098
1098
|
};
|
|
1099
1099
|
this.updateParentWindowState = () => {
|
|
1100
1100
|
try {
|
|
1101
|
-
scope.window.parent.
|
|
1101
|
+
scope.window.parent.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__ = this.state;
|
|
1102
1102
|
} catch {
|
|
1103
1103
|
this.detached = true;
|
|
1104
1104
|
}
|
|
@@ -1335,7 +1335,7 @@ function init_instrumenter() {
|
|
|
1335
1335
|
}, mutate ? obj : construct(obj));
|
|
1336
1336
|
}
|
|
1337
1337
|
track(method, fn, object, args, options) {
|
|
1338
|
-
const storyId = args?.[0]?.__storyId__ || scope.
|
|
1338
|
+
const storyId = args?.[0]?.__storyId__ || scope.__FORKBOOK_PREVIEW__?.selectionStore?.selection?.storyId;
|
|
1339
1339
|
const { cursor, ancestors } = this.getState(storyId);
|
|
1340
1340
|
this.setState(storyId, { cursor: cursor + 1 });
|
|
1341
1341
|
const id = `${ancestors.slice(-1)[0] || storyId} [${cursor}] ${method}`;
|
|
@@ -1715,8 +1715,8 @@ function init_decorator() {
|
|
|
1715
1715
|
const value = typeof item === "string" ? item : item?.value || "transparent";
|
|
1716
1716
|
const showGrid = typeof data === "string" ? false : data.grid || false;
|
|
1717
1717
|
const shownBackground = !!item && !disable;
|
|
1718
|
-
const backgroundSelector = viewMode === "docs" ? `#anchor--${id} .docs-story, #anchor--primary--${id} .docs-story` : ".
|
|
1719
|
-
const gridSelector = viewMode === "docs" ? `#anchor--${id} .docs-story, #anchor--primary--${id} .docs-story` : ".
|
|
1718
|
+
const backgroundSelector = viewMode === "docs" ? `#anchor--${id} .docs-story, #anchor--primary--${id} .docs-story` : ".fb-show-main";
|
|
1719
|
+
const gridSelector = viewMode === "docs" ? `#anchor--${id} .docs-story, #anchor--primary--${id} .docs-story` : ".fb-show-main";
|
|
1720
1720
|
const isLayoutPadded = parameters.layout === void 0 || parameters.layout === "padded";
|
|
1721
1721
|
const defaultOffset = viewMode === "docs" ? 20 : isLayoutPadded ? 16 : 0;
|
|
1722
1722
|
const { cellAmount, cellSize, opacity, offsetX = defaultOffset, offsetY = defaultOffset } = grid;
|
|
@@ -1920,7 +1920,7 @@ function init_utils$1() {
|
|
|
1920
1920
|
const { menu, ...rest } = options;
|
|
1921
1921
|
return {
|
|
1922
1922
|
priority: 0,
|
|
1923
|
-
styles: { outline: "2px dashed #
|
|
1923
|
+
styles: { outline: "2px dashed #007aff" },
|
|
1924
1924
|
...rest,
|
|
1925
1925
|
menu: Array.isArray(menu) ? menu.every(Array.isArray) ? menu : [menu] : void 0
|
|
1926
1926
|
};
|
|
@@ -1973,7 +1973,7 @@ function init_utils$1() {
|
|
|
1973
1973
|
for (const highlight of highlights) {
|
|
1974
1974
|
const { priority = 0 } = highlight;
|
|
1975
1975
|
for (const selector of highlight.selectors) {
|
|
1976
|
-
const elements = [...document.querySelectorAll(`:is(${selector}):not([id^="storybook-"], [id^="storybook-"] *, [class^="
|
|
1976
|
+
const elements = [...document.querySelectorAll(`:is(${selector}):not([id^="storybook-"], [id^="storybook-"] *, [class^="fb-"], [class^="fb-"] *)`), ...root?.querySelectorAll(selector) || []];
|
|
1977
1977
|
for (const element of elements) {
|
|
1978
1978
|
const existing = map.get(element);
|
|
1979
1979
|
if (!existing || existing.priority <= priority) map.set(element, {
|
|
@@ -2070,8 +2070,8 @@ function init_useHighlights() {
|
|
|
2070
2070
|
rootId = "storybook-highlights-root";
|
|
2071
2071
|
storybookRootId = "storybook-root";
|
|
2072
2072
|
useHighlights = (channel) => {
|
|
2073
|
-
if (globalThis.
|
|
2074
|
-
globalThis.
|
|
2073
|
+
if (globalThis.__FORKBOOK_HIGHLIGHT_INITIALIZED) return;
|
|
2074
|
+
globalThis.__FORKBOOK_HIGHLIGHT_INITIALIZED = true;
|
|
2075
2075
|
const { document } = globalThis;
|
|
2076
2076
|
const highlights = useStore([]);
|
|
2077
2077
|
const elements = useStore(/* @__PURE__ */ new Map());
|
|
@@ -2305,7 +2305,7 @@ function init_useHighlights() {
|
|
|
2305
2305
|
padding: 0px;
|
|
2306
2306
|
margin: 15px 0 0 0;
|
|
2307
2307
|
transform: translateX(-50%);
|
|
2308
|
-
font-family: "
|
|
2308
|
+
font-family: "Inter Variable", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
2309
2309
|
font-size: 12px;
|
|
2310
2310
|
background: white;
|
|
2311
2311
|
border: none;
|
|
@@ -2345,11 +2345,11 @@ function init_useHighlights() {
|
|
|
2345
2345
|
font-size: inherit;
|
|
2346
2346
|
}
|
|
2347
2347
|
#${menuId} button:focus-visible {
|
|
2348
|
-
outline-color: #
|
|
2348
|
+
outline-color: #007AFF;
|
|
2349
2349
|
}
|
|
2350
2350
|
#${menuId} button:hover {
|
|
2351
|
-
background: rgba(
|
|
2352
|
-
color: #
|
|
2351
|
+
background: rgba(0, 122, 255, 0.07);
|
|
2352
|
+
color: #007AFF;
|
|
2353
2353
|
cursor: pointer;
|
|
2354
2354
|
}
|
|
2355
2355
|
#${menuId} li code {
|
|
@@ -2365,7 +2365,7 @@ function init_useHighlights() {
|
|
|
2365
2365
|
color: #73828C;
|
|
2366
2366
|
}
|
|
2367
2367
|
#${menuId} li > button:hover svg, #${menuId} li > button:focus-visible svg {
|
|
2368
|
-
color: #
|
|
2368
|
+
color: #007AFF;
|
|
2369
2369
|
}
|
|
2370
2370
|
#${menuId} .element-list li svg {
|
|
2371
2371
|
display: none;
|
|
@@ -2498,17 +2498,17 @@ function init_useHighlights() {
|
|
|
2498
2498
|
priority: 1e3,
|
|
2499
2499
|
selectors: [target],
|
|
2500
2500
|
styles: {
|
|
2501
|
-
outline: "2px solid #
|
|
2501
|
+
outline: "2px solid #007AFF",
|
|
2502
2502
|
outlineOffset: "-1px",
|
|
2503
2503
|
animation: `${keyframeName} 3s linear forwards`
|
|
2504
2504
|
},
|
|
2505
2505
|
keyframes: `@keyframes ${keyframeName} {
|
|
2506
|
-
0% { outline: 2px solid #
|
|
2507
|
-
20% { outline: 2px solid #
|
|
2508
|
-
40% { outline: 2px solid #
|
|
2509
|
-
60% { outline: 2px solid #
|
|
2510
|
-
80% { outline: 2px solid #
|
|
2511
|
-
100% { outline: 2px solid #
|
|
2506
|
+
0% { outline: 2px solid #007AFF; }
|
|
2507
|
+
20% { outline: 2px solid #007AFF00; }
|
|
2508
|
+
40% { outline: 2px solid #007AFF; }
|
|
2509
|
+
60% { outline: 2px solid #007AFF00; }
|
|
2510
|
+
80% { outline: 2px solid #007AFF; }
|
|
2511
|
+
100% { outline: 2px solid #007AFF00; }
|
|
2512
2512
|
}`
|
|
2513
2513
|
}]);
|
|
2514
2514
|
removeTimeout = setTimeout(() => removeHighlight(id), 3500);
|
|
@@ -3597,7 +3597,7 @@ function init_withOutline() {
|
|
|
3597
3597
|
const isActive = !context.parameters?.["outline"]?.disable && [true, "true"].includes(globals["outline"]);
|
|
3598
3598
|
const isInDocs = context.viewMode === "docs";
|
|
3599
3599
|
const outlineStyles = useMemo(() => {
|
|
3600
|
-
return outlineCSS(isInDocs ? `[data-story-block="true"]` : ".
|
|
3600
|
+
return outlineCSS(isInDocs ? `[data-story-block="true"]` : ".fb-show-main");
|
|
3601
3601
|
}, [context]);
|
|
3602
3602
|
useEffect(() => {
|
|
3603
3603
|
const selectorId = isInDocs ? `addon-outline-docs-${context.id}` : `addon-outline`;
|
|
@@ -3752,7 +3752,7 @@ function action(name, options = {}) {
|
|
|
3752
3752
|
};
|
|
3753
3753
|
const handler = function actionHandler(...args) {
|
|
3754
3754
|
if (options.implicit) {
|
|
3755
|
-
const storyRenderer = ("
|
|
3755
|
+
const storyRenderer = ("__FORKBOOK_PREVIEW__" in scope ? scope.__FORKBOOK_PREVIEW__ : void 0)?.storyRenders.find((render) => render.phase === "playing" || render.phase === "rendering");
|
|
3756
3756
|
if (storyRenderer) {
|
|
3757
3757
|
const deprecated = !globalThis?.FEATURES?.disallowImplicitActionsInRenderV8;
|
|
3758
3758
|
const error = new ImplicitActionsDuringRendering({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
//#region .dts-emit/code/core/src/preview/globals/globals.d.ts
|
|
2
2
|
declare const globalsNameReferenceMap: {
|
|
3
|
-
readonly '@storybook/global': '
|
|
4
|
-
readonly '@aussieljk/forkbook/test': '
|
|
5
|
-
readonly '@aussieljk/forkbook/actions': '
|
|
6
|
-
readonly '@aussieljk/forkbook/preview-api': '
|
|
7
|
-
readonly '@aussieljk/forkbook/internal/channels': '
|
|
8
|
-
readonly '@aussieljk/forkbook/internal/client-logger': '
|
|
9
|
-
readonly '@aussieljk/forkbook/internal/core-events': '
|
|
10
|
-
readonly '@aussieljk/forkbook/internal/preview-errors': '
|
|
11
|
-
readonly '@aussieljk/forkbook/internal/types': '
|
|
12
|
-
readonly '@aussieljk/forkbook/internal/preview-api': '
|
|
3
|
+
readonly '@storybook/global': '__FORKBOOK_MODULE_GLOBAL__';
|
|
4
|
+
readonly '@aussieljk/forkbook/test': '__FORKBOOK_MODULE_TEST__';
|
|
5
|
+
readonly '@aussieljk/forkbook/actions': '__FORKBOOK_MODULE_ACTIONS__';
|
|
6
|
+
readonly '@aussieljk/forkbook/preview-api': '__FORKBOOK_MODULE_PREVIEW_API__';
|
|
7
|
+
readonly '@aussieljk/forkbook/internal/channels': '__FORKBOOK_MODULE_CHANNELS__';
|
|
8
|
+
readonly '@aussieljk/forkbook/internal/client-logger': '__FORKBOOK_MODULE_CLIENT_LOGGER__';
|
|
9
|
+
readonly '@aussieljk/forkbook/internal/core-events': '__FORKBOOK_MODULE_CORE_EVENTS__';
|
|
10
|
+
readonly '@aussieljk/forkbook/internal/preview-errors': '__FORKBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__';
|
|
11
|
+
readonly '@aussieljk/forkbook/internal/types': '__FORKBOOK_MODULE_TYPES__';
|
|
12
|
+
readonly '@aussieljk/forkbook/internal/preview-api': '__FORKBOOK_MODULE_PREVIEW_API__';
|
|
13
13
|
};
|
|
14
14
|
declare const globalPackages: Array<keyof typeof globalsNameReferenceMap>;
|
|
15
15
|
//#endregion
|
package/dist/preview/globals.js
CHANGED
|
@@ -2,17 +2,17 @@ import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
|
2
2
|
|
|
3
3
|
// src/preview/globals/globals.ts
|
|
4
4
|
var globalsNameReferenceMap = {
|
|
5
|
-
"@storybook/global": "
|
|
6
|
-
"@aussieljk/forkbook/test": "
|
|
7
|
-
"@aussieljk/forkbook/actions": "
|
|
8
|
-
"@aussieljk/forkbook/preview-api": "
|
|
9
|
-
"@aussieljk/forkbook/internal/channels": "
|
|
10
|
-
"@aussieljk/forkbook/internal/client-logger": "
|
|
11
|
-
"@aussieljk/forkbook/internal/core-events": "
|
|
12
|
-
"@aussieljk/forkbook/internal/preview-errors": "
|
|
13
|
-
"@aussieljk/forkbook/internal/types": "
|
|
5
|
+
"@storybook/global": "__FORKBOOK_MODULE_GLOBAL__",
|
|
6
|
+
"@aussieljk/forkbook/test": "__FORKBOOK_MODULE_TEST__",
|
|
7
|
+
"@aussieljk/forkbook/actions": "__FORKBOOK_MODULE_ACTIONS__",
|
|
8
|
+
"@aussieljk/forkbook/preview-api": "__FORKBOOK_MODULE_PREVIEW_API__",
|
|
9
|
+
"@aussieljk/forkbook/internal/channels": "__FORKBOOK_MODULE_CHANNELS__",
|
|
10
|
+
"@aussieljk/forkbook/internal/client-logger": "__FORKBOOK_MODULE_CLIENT_LOGGER__",
|
|
11
|
+
"@aussieljk/forkbook/internal/core-events": "__FORKBOOK_MODULE_CORE_EVENTS__",
|
|
12
|
+
"@aussieljk/forkbook/internal/preview-errors": "__FORKBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__",
|
|
13
|
+
"@aussieljk/forkbook/internal/types": "__FORKBOOK_MODULE_TYPES__",
|
|
14
14
|
// @deprecated TODO: Remove in 9.1 or some point in the future, I guess
|
|
15
|
-
"@aussieljk/forkbook/internal/preview-api": "
|
|
15
|
+
"@aussieljk/forkbook/internal/preview-api": "__FORKBOOK_MODULE_PREVIEW_API__"
|
|
16
16
|
}, globalPackages = Object.keys(globalsNameReferenceMap);
|
|
17
17
|
export {
|
|
18
18
|
globalPackages,
|
package/dist/preview/runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $t as combineArgs, Bt as simulateDOMContentLoaded, Ec as Tag, Ft as getService, Gt as PreviewWithSelection, Ht as WebView, It as registerService, Jt as Preview, Kt as View, Lt as pauseAnimations, Qt as userOrAutoTitleFromSpecifier, Rt as waitForAnimations, Ut as UrlStore, Vt as simulatePageLoad, Wt as PreviewWeb, Xt as sortStoriesV7, Yt as DocsContext, Zt as userOrAutoTitle, _n as makeDecorator, an as filterArgTypes, cn as composeStories, dn as setProjectAnnotations, en as decorateStory, fn as composeStepRunners, gn as normalizeStory, hn as normalizeProjectAnnotations, in as PropDescriptor, ln as composeStory, mn as normalizeArrays, nn as sanitizeStoryContextUpdate, on as combineParameters, pn as composeConfigs, qt as SelectionStore, rn as inferControls, sn as getCsfFactoryAnnotations, tn as defaultDecorateStory, un as setDefaultProjectAnnotations, vn as addons, zt as emitTransformCode } from "../chunk-
|
|
1
|
+
import { $t as combineArgs, Bt as simulateDOMContentLoaded, Ec as Tag, Ft as getService, Gt as PreviewWithSelection, Ht as WebView, It as registerService, Jt as Preview, Kt as View, Lt as pauseAnimations, Qt as userOrAutoTitleFromSpecifier, Rt as waitForAnimations, Ut as UrlStore, Vt as simulatePageLoad, Wt as PreviewWeb, Xt as sortStoriesV7, Yt as DocsContext, Zt as userOrAutoTitle, _n as makeDecorator, an as filterArgTypes, cn as composeStories, dn as setProjectAnnotations, en as decorateStory, fn as composeStepRunners, gn as normalizeStory, hn as normalizeProjectAnnotations, in as PropDescriptor, ln as composeStory, mn as normalizeArrays, nn as sanitizeStoryContextUpdate, on as combineParameters, pn as composeConfigs, qt as SelectionStore, rn as inferControls, sn as getCsfFactoryAnnotations, tn as defaultDecorateStory, un as setDefaultProjectAnnotations, vn as addons, zt as emitTransformCode } from "../chunk-DIz17UEJ.js";
|
|
2
2
|
import { c as ensureChannel, f as setChannel, l as getChannel, s as clearChannel, u as installNoopChannel } from "../chunk-BXLImeLy.js";
|
|
3
3
|
import { C as useStoryContext, S as useState, _ as useGlobals, a as StoryStore, b as useReducer, c as prepareMeta, d as HooksContext, f as applyHooks, g as useEffect, h as useChannel, l as prepareStory, m as useCallback, o as Report, p as useArgs, s as ReporterAPI, v as useMemo, x as useRef, y as useParameter } from "../chunk-Bpi2tz-6.js";
|
|
4
4
|
export { DocsContext, HooksContext, Preview, PreviewWeb, PreviewWithSelection, type PropDescriptor, type Report, ReporterAPI, type SelectionStore, StoryStore, Tag, UrlStore, type View, WebView, addons, applyHooks, clearChannel, combineArgs, combineParameters, composeConfigs, composeStepRunners, composeStories, composeStory, decorateStory, defaultDecorateStory, emitTransformCode, ensureChannel, filterArgTypes, getChannel, getCsfFactoryAnnotations, getService, inferControls, installNoopChannel, makeDecorator, normalizeArrays, normalizeProjectAnnotations, normalizeStory, pauseAnimations, prepareMeta, prepareStory, registerService, sanitizeStoryContextUpdate, setChannel, setDefaultProjectAnnotations, setProjectAnnotations, simulateDOMContentLoaded, simulatePageLoad, sortStoriesV7, useArgs, useCallback, useChannel, useEffect, useGlobals, useMemo, useParameter, useReducer, useRef, useState, useStoryContext, userOrAutoTitle, userOrAutoTitleFromSpecifier, waitForAnimations };
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
useStoryContext,
|
|
47
47
|
userOrAutoTitle,
|
|
48
48
|
userOrAutoTitleFromSpecifier
|
|
49
|
-
} from "../_browser-chunks/chunk-
|
|
49
|
+
} from "../_browser-chunks/chunk-6SHRDXGF.js";
|
|
50
50
|
import "../_browser-chunks/chunk-IWQGIXJS.js";
|
|
51
51
|
import "../_browser-chunks/chunk-FENFYI4X.js";
|
|
52
52
|
import {
|
|
@@ -55,25 +55,25 @@ import {
|
|
|
55
55
|
} from "../_browser-chunks/chunk-WZ7KR7SH.js";
|
|
56
56
|
import {
|
|
57
57
|
Tag
|
|
58
|
-
} from "../_browser-chunks/chunk-
|
|
59
|
-
import "../_browser-chunks/chunk-
|
|
58
|
+
} from "../_browser-chunks/chunk-3M5T7BW4.js";
|
|
59
|
+
import "../_browser-chunks/chunk-KYSD26D6.js";
|
|
60
60
|
import {
|
|
61
61
|
clearChannel,
|
|
62
62
|
ensureChannel,
|
|
63
63
|
getChannel,
|
|
64
64
|
installNoopChannel,
|
|
65
65
|
setChannel
|
|
66
|
-
} from "../_browser-chunks/chunk-
|
|
66
|
+
} from "../_browser-chunks/chunk-N3NRW5XX.js";
|
|
67
67
|
import "../_browser-chunks/chunk-QC4HFS6K.js";
|
|
68
|
-
import "../_browser-chunks/chunk-
|
|
68
|
+
import "../_browser-chunks/chunk-76222HQR.js";
|
|
69
69
|
import "../_browser-chunks/chunk-SFVA4SBT.js";
|
|
70
70
|
import "../_browser-chunks/chunk-DRQKCCAG.js";
|
|
71
|
-
import "../_browser-chunks/chunk-
|
|
71
|
+
import "../_browser-chunks/chunk-3HM3VWJS.js";
|
|
72
72
|
import {
|
|
73
73
|
combineParameters,
|
|
74
74
|
filterArgTypes,
|
|
75
75
|
inferControls
|
|
76
|
-
} from "../_browser-chunks/chunk-
|
|
76
|
+
} from "../_browser-chunks/chunk-GRO2ZYEJ.js";
|
|
77
77
|
import "../_browser-chunks/chunk-2JDQ35OA.js";
|
|
78
78
|
import "../_browser-chunks/chunk-IE4ULIOQ.js";
|
|
79
79
|
import "../_browser-chunks/chunk-B4AUNNU4.js";
|
|
@@ -81,8 +81,8 @@ import "../_browser-chunks/chunk-NZMVUW5T.js";
|
|
|
81
81
|
import "../_browser-chunks/chunk-JWSKPMPC.js";
|
|
82
82
|
import "../_browser-chunks/chunk-JPUOQJUI.js";
|
|
83
83
|
import "../_browser-chunks/chunk-QDXFODK4.js";
|
|
84
|
-
import "../_browser-chunks/chunk-
|
|
85
|
-
import "../_browser-chunks/chunk-
|
|
84
|
+
import "../_browser-chunks/chunk-BNP234B4.js";
|
|
85
|
+
import "../_browser-chunks/chunk-MJIDTL3X.js";
|
|
86
86
|
import "../_browser-chunks/chunk-SC67XZST.js";
|
|
87
87
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
88
88
|
export {
|
package/dist/preview-errors.d.ts
CHANGED
package/dist/preview-errors.js
CHANGED
|
@@ -24,8 +24,8 @@ import {
|
|
|
24
24
|
StoryStoreAccessedBeforeInitializationError,
|
|
25
25
|
UnknownArgTypesError,
|
|
26
26
|
UnsupportedViewportDimensionError
|
|
27
|
-
} from "./_browser-chunks/chunk-
|
|
28
|
-
import "./_browser-chunks/chunk-
|
|
27
|
+
} from "./_browser-chunks/chunk-LYYXDWR2.js";
|
|
28
|
+
import "./_browser-chunks/chunk-MJIDTL3X.js";
|
|
29
29
|
import "./_browser-chunks/chunk-IMSF75WX.js";
|
|
30
30
|
export {
|
|
31
31
|
ArgTypesRemovedFromStoryContextError,
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
|
@@ -12,12 +12,12 @@ var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
ComponentMetaManager,
|
|
14
14
|
buildDocgenPayload
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
20
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-EYKTEH7V.js";
|
|
16
|
+
import "../../_node-chunks/chunk-224FM5GP.js";
|
|
17
|
+
import "../../_node-chunks/chunk-OMFATFOJ.js";
|
|
18
|
+
import "../../_node-chunks/chunk-D44WSSIU.js";
|
|
19
|
+
import "../../_node-chunks/chunk-TZKXP2KS.js";
|
|
20
|
+
import "../../_node-chunks/chunk-CYPEPQSM.js";
|
|
21
21
|
|
|
22
22
|
// src/react/docgen/docgen-worker.ts
|
|
23
23
|
import { createLazyDocgenMiddleware } from "@aussieljk/forkbook/internal/common";
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as SetOptional } from "../chunk-pcFXCimE.js";
|
|
2
2
|
import { t as Simplify } from "../chunk-FjDVzZTj.js";
|
|
3
|
-
import { a as ReactRenderer, i as __definePreview, n as ReactPreview, o as ReactTypes, r as ReactStory, t as ReactMeta } from "../chunk-
|
|
3
|
+
import { a as ReactRenderer, i as __definePreview, n as ReactPreview, o as ReactTypes, r as ReactStory, t as ReactMeta } from "../chunk-CT2iXaHz.js";
|
|
4
4
|
import { ComponentProps, ComponentType } from "react";
|
|
5
5
|
import { AnnotatedStoryFn, ArgTypes, Args, Args as Args$1, ArgsFromMeta, ArgsStoryFn, ComponentAnnotations, ComposedStoryFn, DecoratorFunction, LoaderFunction, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, Parameters, ProjectAnnotations, Store_CSFExports, StoriesWithPartialProps, StoryAnnotations, StoryAnnotationsOrFn, StoryContext as StoryContext$1, StrictArgs, StrictArgs as StrictArgs$1 } from "@aussieljk/forkbook/internal/types";
|
|
6
6
|
|
|
@@ -8,19 +8,19 @@ import { AnnotatedStoryFn, ArgTypes, Args, Args as Args$1, ArgsFromMeta, ArgsSto
|
|
|
8
8
|
/**
|
|
9
9
|
* Metadata to configure the stories for a component.
|
|
10
10
|
*
|
|
11
|
-
* @see [Default export](https://
|
|
11
|
+
* @see [Default export](https://forkbook.ljk.dev/docs/api/csf#default-export)
|
|
12
12
|
*/
|
|
13
13
|
type Meta<TCmpOrArgs = Args$1> = [TCmpOrArgs] extends [ComponentType<any>] ? ComponentAnnotations<ReactRenderer, ComponentProps<TCmpOrArgs>> : ComponentAnnotations<ReactRenderer, TCmpOrArgs>;
|
|
14
14
|
/**
|
|
15
15
|
* Story function that represents a CSFv2 component example.
|
|
16
16
|
*
|
|
17
|
-
* @see [Named Story exports](https://
|
|
17
|
+
* @see [Named Story exports](https://forkbook.ljk.dev/docs/api/csf#named-story-exports)
|
|
18
18
|
*/
|
|
19
19
|
type StoryFn<TCmpOrArgs = Args$1> = [TCmpOrArgs] extends [ComponentType<any>] ? AnnotatedStoryFn<ReactRenderer, ComponentProps<TCmpOrArgs>> : AnnotatedStoryFn<ReactRenderer, TCmpOrArgs>;
|
|
20
20
|
/**
|
|
21
21
|
* Story object that represents a CSFv3 component example.
|
|
22
22
|
*
|
|
23
|
-
* @see [Named Story exports](https://
|
|
23
|
+
* @see [Named Story exports](https://forkbook.ljk.dev/docs/api/csf#named-story-exports)
|
|
24
24
|
*/
|
|
25
25
|
type StoryObj<TMetaOrCmpOrArgs = Args$1> = [TMetaOrCmpOrArgs] extends [{
|
|
26
26
|
render?: ArgsStoryFn<ReactRenderer, any>;
|
package/dist/react/index.js
CHANGED
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
composeStories,
|
|
4
4
|
composeStory,
|
|
5
5
|
setProjectAnnotations
|
|
6
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
+
} from "../_browser-chunks/chunk-K2B36HKM.js";
|
|
7
7
|
import {
|
|
8
8
|
__definePreview
|
|
9
|
-
} from "../_browser-chunks/chunk-
|
|
9
|
+
} from "../_browser-chunks/chunk-ZLWA5RIE.js";
|
|
10
10
|
import "../_browser-chunks/chunk-5WMXI5GW.js";
|
|
11
11
|
import "../_browser-chunks/chunk-GNZY6LOW.js";
|
|
12
|
-
import "../_browser-chunks/chunk-
|
|
12
|
+
import "../_browser-chunks/chunk-K6GRZSXS.js";
|
|
13
13
|
import "../_browser-chunks/chunk-WHQRNHXD.js";
|
|
14
14
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
15
15
|
|
package/dist/react/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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
|
|
@@ -17,16 +17,16 @@ import {
|
|
|
17
17
|
getCodeSnippet,
|
|
18
18
|
invalidateCache,
|
|
19
19
|
resolveStoryFileComponents
|
|
20
|
-
} from "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
23
|
-
import "../_node-chunks/chunk-
|
|
24
|
-
import "../_node-chunks/chunk-
|
|
20
|
+
} from "../_node-chunks/chunk-EYKTEH7V.js";
|
|
21
|
+
import "../_node-chunks/chunk-224FM5GP.js";
|
|
22
|
+
import "../_node-chunks/chunk-OMFATFOJ.js";
|
|
23
|
+
import "../_node-chunks/chunk-D44WSSIU.js";
|
|
24
|
+
import "../_node-chunks/chunk-TZKXP2KS.js";
|
|
25
25
|
import {
|
|
26
26
|
resolvePackageDir
|
|
27
|
-
} from "../_node-chunks/chunk-
|
|
28
|
-
import "../_node-chunks/chunk-
|
|
29
|
-
import "../_node-chunks/chunk-
|
|
27
|
+
} from "../_node-chunks/chunk-J4WM6PLB.js";
|
|
28
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
29
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
30
30
|
|
|
31
31
|
// src/react/preset.ts
|
|
32
32
|
import path3, { join as join2 } from "node:path";
|
package/dist/react/preview.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as __definePreview, n as ReactPreview, r as ReactStory, t as ReactMeta } from "../chunk-
|
|
1
|
+
import { i as __definePreview, n as ReactPreview, r as ReactStory, t as ReactMeta } from "../chunk-CT2iXaHz.js";
|
|
2
2
|
export { ReactMeta, ReactPreview, ReactStory, __definePreview };
|
package/dist/react/preview.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__definePreview
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-ZLWA5RIE.js";
|
|
4
4
|
import "../_browser-chunks/chunk-5WMXI5GW.js";
|
|
5
5
|
import "../_browser-chunks/chunk-GNZY6LOW.js";
|
|
6
|
-
import "../_browser-chunks/chunk-
|
|
6
|
+
import "../_browser-chunks/chunk-K6GRZSXS.js";
|
|
7
7
|
import "../_browser-chunks/chunk-WHQRNHXD.js";
|
|
8
8
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
9
9
|
export {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
12
12
|
// ------------------------------------------------------------
|
|
13
13
|
import {
|
|
14
14
|
generate
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-6RQIIUDQ.js";
|
|
16
|
+
import "../../_node-chunks/chunk-CYPEPQSM.js";
|
|
17
17
|
|
|
18
18
|
// src/react-native/bin/get-stories.ts
|
|
19
19
|
import { program } from "commander";
|
|
@@ -35,7 +35,7 @@ type Params = {
|
|
|
35
35
|
hasStoryWrapper?: boolean;
|
|
36
36
|
/**
|
|
37
37
|
* Enable websockets for the storybook server to remotely control the storybook
|
|
38
|
-
* default: automatically enabled when a websocket config is injected via storybook.requires (i.e. when
|
|
38
|
+
* default: automatically enabled when a websocket config is injected via storybook.requires (i.e. when FORKBOOK_WS_HOST is set), otherwise false
|
|
39
39
|
*/
|
|
40
40
|
enableWebsockets?: boolean;
|
|
41
41
|
query?: string; /** The host for the websocket server. default: localhost */
|
|
@@ -127,12 +127,12 @@ declare function start({
|
|
|
127
127
|
declare function updateView(viewInstance: View, annotations: ModuleExports[], normalizedStories: StoryEntry[], options?: ReactNativeOptions): void;
|
|
128
128
|
//#endregion
|
|
129
129
|
//#region .dts-emit/code/core/src/react-native/constants.d.ts
|
|
130
|
-
declare const
|
|
131
|
-
declare const
|
|
130
|
+
declare const RN_FORKBOOK_STORAGE_KEY = "lastOpenedStory";
|
|
131
|
+
declare const RN_FORKBOOK_EVENTS: {
|
|
132
132
|
RN_GET_INDEX: string;
|
|
133
133
|
RN_GET_INDEX_RESPONSE: string;
|
|
134
134
|
};
|
|
135
|
-
declare const
|
|
135
|
+
declare const FORKBOOK_STORY_ID_PARAM = "FORKBOOK_STORY_ID";
|
|
136
136
|
//#endregion
|
|
137
137
|
//#region .dts-emit/code/core/src/react-native/config.d.ts
|
|
138
138
|
type Features = {
|
|
@@ -148,7 +148,7 @@ interface StorybookConfig {
|
|
|
148
148
|
addons?: Addon[];
|
|
149
149
|
/**
|
|
150
150
|
* Addons loaded only at runtime on the device and merged into
|
|
151
|
-
* `storybook.requires`. Not evaluated as presets by
|
|
151
|
+
* `storybook.requires`. Not evaluated as presets by Forkbook, which
|
|
152
152
|
* avoids failures during server-side operations like `extract`.
|
|
153
153
|
*/
|
|
154
154
|
deviceAddons?: Addon[];
|
|
@@ -157,4 +157,4 @@ interface StorybookConfig {
|
|
|
157
157
|
framework?: '@aussieljk/forkbook/react-native' | '@storybook/react-native';
|
|
158
158
|
}
|
|
159
159
|
//#endregion
|
|
160
|
-
export { type Addon, type ArgTypes, type Args, type Decorator, type Features, type InitialSelection, type Loader, type Meta, type Parameters, type Params, type Preview,
|
|
160
|
+
export { type Addon, type ArgTypes, type Args, type Decorator, FORKBOOK_STORY_ID_PARAM, type Features, type InitialSelection, type Loader, type Meta, type Parameters, type Params, type Preview, RN_FORKBOOK_EVENTS, RN_FORKBOOK_STORAGE_KEY, type Storage, type StoryFn, type StoryObj, type StorybookConfig, type Theme, type ThemePartial, type View, darkTheme, getProjectAnnotations, prepareStories, start, theme, updateView };
|