@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
package/dist/server-errors.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
|
|
@@ -76,9 +76,9 @@ import {
|
|
|
76
76
|
describeUnknownStoryIds,
|
|
77
77
|
formatExecaCommand,
|
|
78
78
|
formatExecaFailureDetails
|
|
79
|
-
} from "./_node-chunks/chunk-
|
|
80
|
-
import "./_node-chunks/chunk-
|
|
81
|
-
import "./_node-chunks/chunk-
|
|
79
|
+
} from "./_node-chunks/chunk-SFPEJYWG.js";
|
|
80
|
+
import "./_node-chunks/chunk-GURMTBQH.js";
|
|
81
|
+
import "./_node-chunks/chunk-CYPEPQSM.js";
|
|
82
82
|
export {
|
|
83
83
|
AddonVitestPostinstallConfigUpdateError,
|
|
84
84
|
AddonVitestPostinstallError,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { B as ServerServiceRegistration, E as LoadStatus, F as QuerySelf, G as ServiceInstanceOf, H as ServiceDescriptor, I as QueryState, J as ServiceState, K as ServiceRegistrationOptions, L as QueryStatus, M as QueryCtx, N as QueryDefinition, O as OperationDescriptor, P as QueryFunctions, R as RuntimeService, T as LoadSelf, U as ServiceId, V as ServiceDefinition, W as ServiceInstance, X as StaticStore, Y as ServiceSummary, _ as AnyServiceDefinition, a as ToolsetDefinition, b as CommandDefinition, c as ToolsetMethodDescription, d as ToolsetOutcome, f as ToolsetTelemetryReport, g as resolveToolsetDescription, h as invokeToolsetMethod, i as ToolsetCtx, j as Query, l as ToolsetMethodReport, m as defineToolset, n as AnyToolsetOutcome, o as ToolsetGetService, p as ToolsetTransport, q as ServiceRegistryApi, r as InvokedToolsetOutcome, s as ToolsetMethod, t as AnyToolsetDefinition, u as ToolsetObjectOutputSchema, v as Command, w as LoadCtx, x as CommandSelf, y as CommandCtx, z as SchemaDescriptor } from "../../chunk-BCoJQE-f.js";
|
|
2
|
-
import { Cc as toMcpToolName, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ns as DocgenPayload, Sc as parseToolsetMethodId, Tc as defineService, V as OpenServiceMissingToolsetError, bc as ToolsetMethodId, cc as getToolset, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, ks as DocgenService, lc as registerToolset, mo as selectStoryDoc, oc as clearToolsetRegistry, po as selectSnippetForStory, sc as getRegisteredToolsets, uc as KnownToolsets, wc as seedQueryState, xc as getToolName } from "../../chunk-
|
|
2
|
+
import { Cc as toMcpToolName, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ns as DocgenPayload, Sc as parseToolsetMethodId, Tc as defineService, V as OpenServiceMissingToolsetError, bc as ToolsetMethodId, cc as getToolset, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, ks as DocgenService, lc as registerToolset, mo as selectStoryDoc, oc as clearToolsetRegistry, po as selectSnippetForStory, sc as getRegisteredToolsets, uc as KnownToolsets, wc as seedQueryState, xc as getToolName } from "../../chunk-DIz17UEJ.js";
|
|
3
3
|
export { type AnyServiceDefinition, type AnyToolsetDefinition, type AnyToolsetOutcome, type Command, type CommandCtx, type CommandDefinition, type CommandSelf, type DocgenPayload, type DocgenService, type InvokedToolsetOutcome, type KnownToolsets, type LoadCtx, type LoadSelf, type LoadStatus, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInvalidToolsetMethodIdError, OpenServiceMissingToolsetError, type OperationDescriptor, type Query, type QueryCtx, type QueryDefinition, type QueryFunctions, type QuerySelf, type QueryState, type QueryStatus, type RuntimeService, type SchemaDescriptor, type ServerServiceRegistration, type ServiceDefinition, type ServiceDescriptor, type ServiceId, type ServiceInstance, type ServiceInstanceOf, type ServiceRegistrationOptions, type ServiceRegistryApi, type ServiceState, type ServiceSummary, type StaticStore, type StoryDocsService, type ToolsetCtx, type ToolsetDefinition, type ToolsetGetService, type ToolsetMethod, type ToolsetMethodDescription, type ToolsetMethodId, type ToolsetMethodReport, type ToolsetObjectOutputSchema, type ToolsetOutcome, type ToolsetTelemetryReport, type ToolsetTransport, clearToolsetRegistry, defineService, defineToolset, getRegisteredToolsets, getToolName, getToolset, invokeToolsetMethod, parseToolsetMethodId, prependImportToSnippet, registerToolset, resolveToolsetDescription, seedQueryState, selectSnippetForStory, selectStoryDoc, selectWarningForStory, toMcpToolName };
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
OpenServiceDuplicateToolsetError,
|
|
27
27
|
OpenServiceInvalidToolsetMethodIdError,
|
|
28
28
|
OpenServiceMissingToolsetError
|
|
29
|
-
} from "../../_browser-chunks/chunk-
|
|
29
|
+
} from "../../_browser-chunks/chunk-76222HQR.js";
|
|
30
30
|
import "../../_browser-chunks/chunk-IE4ULIOQ.js";
|
|
31
|
-
import "../../_browser-chunks/chunk-
|
|
31
|
+
import "../../_browser-chunks/chunk-MJIDTL3X.js";
|
|
32
32
|
import "../../_browser-chunks/chunk-SC67XZST.js";
|
|
33
33
|
import "../../_browser-chunks/chunk-IMSF75WX.js";
|
|
34
34
|
|
|
@@ -1,19 +1,19 @@
|
|
|
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
|
errorToErrorLike
|
|
14
|
-
} from "../../../../../_node-chunks/chunk-
|
|
15
|
-
import "../../../../../_node-chunks/chunk-
|
|
16
|
-
import "../../../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../../../_node-chunks/chunk-W6ZSSLD7.js";
|
|
15
|
+
import "../../../../../_node-chunks/chunk-OGQBLJGR.js";
|
|
16
|
+
import "../../../../../_node-chunks/chunk-CYPEPQSM.js";
|
|
17
17
|
|
|
18
18
|
// src/shared/open-service/services/docgen/worker/docgen-worker.ts
|
|
19
19
|
import { parentPort } from "node:worker_threads";
|
|
@@ -204,7 +204,7 @@ declare function toMcpToolName(method: ToolsetMethodId): string;
|
|
|
204
204
|
/**
|
|
205
205
|
* Renders how a toolset method is spelled for the active transport.
|
|
206
206
|
*
|
|
207
|
-
* Not a composed-
|
|
207
|
+
* Not a composed-Forkbook "ref" (`refs` in `main.js`) — the name is the invokable tool/command
|
|
208
208
|
* string agents see. Descriptions that tell an agent to call another tool must use this rather
|
|
209
209
|
* than hardcoding either spelling.
|
|
210
210
|
*/
|
|
@@ -1028,58 +1028,58 @@ type ConditionalValue = {
|
|
|
1028
1028
|
type Conditional = ConditionalValue & ConditionalTest;
|
|
1029
1029
|
interface ControlBase {
|
|
1030
1030
|
[key: string]: any;
|
|
1031
|
-
/** @see https://
|
|
1031
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#controltype */
|
|
1032
1032
|
type?: ControlType;
|
|
1033
1033
|
disable?: boolean;
|
|
1034
1034
|
}
|
|
1035
1035
|
type Control = ControlType | false | (ControlBase & (ControlBase | {
|
|
1036
|
-
type: 'color'; /** @see https://
|
|
1036
|
+
type: 'color'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlpresetcolors */
|
|
1037
1037
|
presetColors?: string[];
|
|
1038
1038
|
} | {
|
|
1039
|
-
type: 'file'; /** @see https://
|
|
1039
|
+
type: 'file'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlaccept */
|
|
1040
1040
|
accept?: string;
|
|
1041
1041
|
} | {
|
|
1042
|
-
type: 'inline-check' | 'radio' | 'inline-radio' | 'select' | 'multi-select'; /** @see https://
|
|
1042
|
+
type: 'inline-check' | 'radio' | 'inline-radio' | 'select' | 'multi-select'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controllabels */
|
|
1043
1043
|
labels?: {
|
|
1044
1044
|
[options: string]: string;
|
|
1045
1045
|
};
|
|
1046
1046
|
} | {
|
|
1047
|
-
type: 'number' | 'range'; /** @see https://
|
|
1048
|
-
max?: number; /** @see https://
|
|
1049
|
-
min?: number; /** @see https://
|
|
1047
|
+
type: 'number' | 'range'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlmax */
|
|
1048
|
+
max?: number; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlmin */
|
|
1049
|
+
min?: number; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlstep */
|
|
1050
1050
|
step?: number;
|
|
1051
1051
|
}));
|
|
1052
1052
|
interface InputType {
|
|
1053
|
-
/** @see https://
|
|
1053
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#control */
|
|
1054
1054
|
control?: Control;
|
|
1055
|
-
/** @see https://
|
|
1055
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#description */
|
|
1056
1056
|
description?: string;
|
|
1057
|
-
/** @see https://
|
|
1057
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#if */
|
|
1058
1058
|
if?: Conditional;
|
|
1059
|
-
/** @see https://
|
|
1059
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#mapping */
|
|
1060
1060
|
mapping?: {
|
|
1061
1061
|
[key: string]: any;
|
|
1062
1062
|
};
|
|
1063
|
-
/** @see https://
|
|
1063
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#name */
|
|
1064
1064
|
name?: string;
|
|
1065
|
-
/** @see https://
|
|
1065
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#options */
|
|
1066
1066
|
options?: readonly any[];
|
|
1067
|
-
/** @see https://
|
|
1067
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#table */
|
|
1068
1068
|
table?: {
|
|
1069
|
-
[key: string]: unknown; /** @see https://
|
|
1070
|
-
category?: string; /** @see https://
|
|
1069
|
+
[key: string]: unknown; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tablecategory */
|
|
1070
|
+
category?: string; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabledefaultvalue */
|
|
1071
1071
|
defaultValue?: {
|
|
1072
1072
|
summary?: string | undefined;
|
|
1073
1073
|
detail?: string | undefined;
|
|
1074
|
-
}; /** @see https://
|
|
1075
|
-
disable?: boolean; /** @see https://
|
|
1076
|
-
subcategory?: string; /** @see https://
|
|
1074
|
+
}; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabledisable */
|
|
1075
|
+
disable?: boolean; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tablesubcategory */
|
|
1076
|
+
subcategory?: string; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabletype */
|
|
1077
1077
|
type?: {
|
|
1078
1078
|
summary?: string | undefined;
|
|
1079
1079
|
detail?: string | undefined;
|
|
1080
1080
|
};
|
|
1081
1081
|
};
|
|
1082
|
-
/** @see https://
|
|
1082
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#type */
|
|
1083
1083
|
type?: SBType | SBScalarType['name'];
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Removed. Set the story value with `args`, or the docs-table text with `table.defaultValue`.
|
package/dist/telemetry/index.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
|
|
@@ -31,50 +31,50 @@ import {
|
|
|
31
31
|
setTelemetryEnabled,
|
|
32
32
|
telemetry,
|
|
33
33
|
withSpan
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-MMMIVLRV.js";
|
|
35
35
|
import {
|
|
36
36
|
SESSION_TIMEOUT,
|
|
37
37
|
getSessionId
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
40
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-U3ZISTY3.js";
|
|
39
|
+
import "../_node-chunks/chunk-LNOZLCJT.js";
|
|
40
|
+
import "../_node-chunks/chunk-22OJYYPD.js";
|
|
41
41
|
import {
|
|
42
42
|
detectAgent
|
|
43
|
-
} from "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
54
|
-
import "../_node-chunks/chunk-
|
|
55
|
-
import "../_node-chunks/chunk-
|
|
56
|
-
import "../_node-chunks/chunk-
|
|
57
|
-
import "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
61
|
-
import "../_node-chunks/chunk-
|
|
62
|
-
import "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
68
|
-
import "../_node-chunks/chunk-
|
|
69
|
-
import "../_node-chunks/chunk-
|
|
70
|
-
import "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
72
|
-
import "../_node-chunks/chunk-
|
|
73
|
-
import "../_node-chunks/chunk-
|
|
74
|
-
import "../_node-chunks/chunk-
|
|
75
|
-
import "../_node-chunks/chunk-
|
|
76
|
-
import "../_node-chunks/chunk-
|
|
77
|
-
import "../_node-chunks/chunk-
|
|
43
|
+
} from "../_node-chunks/chunk-TM4SF5U2.js";
|
|
44
|
+
import "../_node-chunks/chunk-27HJO5MV.js";
|
|
45
|
+
import "../_node-chunks/chunk-27KGUS37.js";
|
|
46
|
+
import "../_node-chunks/chunk-26MVQWHR.js";
|
|
47
|
+
import "../_node-chunks/chunk-WEQUS77K.js";
|
|
48
|
+
import "../_node-chunks/chunk-TY2RQWQ7.js";
|
|
49
|
+
import "../_node-chunks/chunk-S73KB2DE.js";
|
|
50
|
+
import "../_node-chunks/chunk-NF3GSBMC.js";
|
|
51
|
+
import "../_node-chunks/chunk-ANOZDFMW.js";
|
|
52
|
+
import "../_node-chunks/chunk-SPN2VCN7.js";
|
|
53
|
+
import "../_node-chunks/chunk-PT7NX73C.js";
|
|
54
|
+
import "../_node-chunks/chunk-KGJPHNM7.js";
|
|
55
|
+
import "../_node-chunks/chunk-HG3U5FMZ.js";
|
|
56
|
+
import "../_node-chunks/chunk-HOROZKYE.js";
|
|
57
|
+
import "../_node-chunks/chunk-RNZL535Q.js";
|
|
58
|
+
import "../_node-chunks/chunk-HLT3PHJN.js";
|
|
59
|
+
import "../_node-chunks/chunk-JQDKICKC.js";
|
|
60
|
+
import "../_node-chunks/chunk-HS3YKDIQ.js";
|
|
61
|
+
import "../_node-chunks/chunk-APM5SEWT.js";
|
|
62
|
+
import "../_node-chunks/chunk-JD5NDU6F.js";
|
|
63
|
+
import "../_node-chunks/chunk-US5P4ZWN.js";
|
|
64
|
+
import "../_node-chunks/chunk-YM5GSNOW.js";
|
|
65
|
+
import "../_node-chunks/chunk-MCPP73WS.js";
|
|
66
|
+
import "../_node-chunks/chunk-RGAJGDCU.js";
|
|
67
|
+
import "../_node-chunks/chunk-2OI3EZE2.js";
|
|
68
|
+
import "../_node-chunks/chunk-TZKXP2KS.js";
|
|
69
|
+
import "../_node-chunks/chunk-4ZHC3GG3.js";
|
|
70
|
+
import "../_node-chunks/chunk-J4WM6PLB.js";
|
|
71
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
72
|
+
import "../_node-chunks/chunk-SFPEJYWG.js";
|
|
73
|
+
import "../_node-chunks/chunk-GURMTBQH.js";
|
|
74
|
+
import "../_node-chunks/chunk-OGQBLJGR.js";
|
|
75
|
+
import "../_node-chunks/chunk-I7BJLOF5.js";
|
|
76
|
+
import "../_node-chunks/chunk-4ZGNL77M.js";
|
|
77
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
78
78
|
export {
|
|
79
79
|
ErrorCollector,
|
|
80
80
|
SESSION_TIMEOUT,
|
package/dist/test/index.js
CHANGED
|
@@ -15918,7 +15918,7 @@ var P2 = (e2) => {
|
|
|
15918
15918
|
}, K2 = (e2) => (f3(e2, u2, { value: { reset: () => P2(e2[u2]) } }), e2[u2]), T2 = (e2) => e2[u2] || K2(e2);
|
|
15919
15919
|
|
|
15920
15920
|
// src/test/spy.ts
|
|
15921
|
-
var moduleMockSpies = globalThis.
|
|
15921
|
+
var moduleMockSpies = globalThis.__FORKBOOK_MODULE_MOCK_SPIES__ ??= /* @__PURE__ */ new Set(), listeners = /* @__PURE__ */ new Set();
|
|
15922
15922
|
function onMockCall(callback) {
|
|
15923
15923
|
return listeners.add(callback), () => {
|
|
15924
15924
|
listeners.delete(callback);
|
|
@@ -19226,7 +19226,7 @@ testingLibrary.screen = new Proxy(testingLibrary.screen, {
|
|
|
19226
19226
|
return typeof window < "u" && globalThis.location?.href?.includes("viewMode=docs") && once.warn(dedent`
|
|
19227
19227
|
You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
|
|
19228
19228
|
|
|
19229
|
-
More info: https://
|
|
19229
|
+
More info: https://forkbook.ljk.dev/docs/writing-tests/interaction-testing#querying-the-canvas
|
|
19230
19230
|
`), Reflect.get(target, prop, receiver);
|
|
19231
19231
|
}
|
|
19232
19232
|
});
|
package/dist/theming/create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create,
|
|
3
3
|
themes
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-SZCSXISG.js";
|
|
5
5
|
import "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
6
6
|
import "../_browser-chunks/chunk-LE2LTDW3.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
package/dist/theming/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import React, { ReactNode } from "react";
|
|
|
7
7
|
declare const useTheme: () => StorybookTheme;
|
|
8
8
|
/**
|
|
9
9
|
* Gives the theme to `useTheme` and writes it as CSS variables on a wrapper element, so the CSS
|
|
10
|
-
* below can use `var(--
|
|
10
|
+
* below can use `var(--fb-...)`. The `data-fb-theme` attribute holds the theme base (`light` or
|
|
11
11
|
* `dark`).
|
|
12
12
|
*/
|
|
13
13
|
declare const ThemeProvider: ({
|
|
@@ -21,11 +21,11 @@ declare const ThemeProvider: ({
|
|
|
21
21
|
//#region .dts-emit/code/core/src/theming/css-vars.d.ts
|
|
22
22
|
type CssVars = Record<`--${string}`, string>;
|
|
23
23
|
/**
|
|
24
|
-
* Turns a theme into CSS variables. Component styles read the theme with `var(--
|
|
24
|
+
* Turns a theme into CSS variables. Component styles read the theme with `var(--fb-...)`.
|
|
25
25
|
*
|
|
26
|
-
* The names follow the theme object: `theme.color.defaultText` is `--
|
|
27
|
-
* `theme.typography.size.s2` is `--
|
|
28
|
-
* `--
|
|
26
|
+
* The names follow the theme object: `theme.color.defaultText` is `--fb-color-default-text`,
|
|
27
|
+
* `theme.typography.size.s2` is `--fb-size-s2` and `theme.input.borderRadius` is
|
|
28
|
+
* `--fb-input-border-radius`. Sizes are in pixels.
|
|
29
29
|
*/
|
|
30
30
|
declare const themeToCssVars: (theme: StorybookTheme) => CssVars;
|
|
31
31
|
/** Writes CSS variables as declarations, for use in a style sheet rule. */
|
package/dist/theming/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
themes,
|
|
11
11
|
tokens,
|
|
12
12
|
typography
|
|
13
|
-
} from "../_browser-chunks/chunk-
|
|
13
|
+
} from "../_browser-chunks/chunk-SZCSXISG.js";
|
|
14
14
|
import {
|
|
15
15
|
curriedOpacify$1
|
|
16
16
|
} from "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
@@ -286,7 +286,7 @@ var lightSyntaxColors = {
|
|
|
286
286
|
// src/theming/css-vars.ts
|
|
287
287
|
var kebab = (key) => key.replace(/[A-Z]/g, (char) => `-${char.toLowerCase()}`), px = (value) => typeof value == "number" ? `${value}px` : value, addGroup = (vars, prefix, group, unit = String) => {
|
|
288
288
|
for (let [key, value] of Object.entries(group ?? {}))
|
|
289
|
-
(typeof value == "string" || typeof value == "number") && (vars[`--
|
|
289
|
+
(typeof value == "string" || typeof value == "number") && (vars[`--fb-${prefix}-${kebab(key)}`] = unit(value));
|
|
290
290
|
}, themeToCssVars = (theme) => {
|
|
291
291
|
let vars = {};
|
|
292
292
|
addGroup(vars, "color", theme.color), addGroup(vars, "fg-color", theme.fgColor), addGroup(vars, "bg-color", theme.bgColor), addGroup(vars, "border-color", theme.borderColor), addGroup(vars, "background", theme.background, px), addGroup(vars, "font", theme.typography?.fonts), addGroup(vars, "weight", theme.typography?.weight), addGroup(vars, "size", theme.typography?.size, px), addGroup(vars, "input", theme.input, px), addGroup(vars, "button", theme.button), addGroup(vars, "boolean", theme.boolean), addGroup(vars, "easing", theme.easing), addGroup(vars, "app", {
|
|
@@ -314,7 +314,7 @@ var ThemeContext = createContext(void 0), useTheme = () => useContext(ThemeConte
|
|
|
314
314
|
() => ({ display: "contents", ...themeToCssVars(theme) }),
|
|
315
315
|
[theme]
|
|
316
316
|
);
|
|
317
|
-
return jsx(ThemeContext.Provider, { value: theme, children: jsx("div", { "data-
|
|
317
|
+
return jsx(ThemeContext.Provider, { value: theme, children: jsx("div", { "data-fb-theme": theme.base, style, children }) });
|
|
318
318
|
};
|
|
319
319
|
|
|
320
320
|
// src/theming/global.ts
|
|
@@ -397,24 +397,24 @@ pre {
|
|
|
397
397
|
${resetCss}
|
|
398
398
|
|
|
399
399
|
body {
|
|
400
|
-
font-family: var(--
|
|
400
|
+
font-family: var(--fb-font-base);
|
|
401
401
|
position: fixed;
|
|
402
402
|
width: 100vw;
|
|
403
403
|
height: 100vh;
|
|
404
404
|
overflow: hidden;
|
|
405
|
-
color: var(--
|
|
406
|
-
background: var(--
|
|
405
|
+
color: var(--fb-color-default-text);
|
|
406
|
+
background: var(--fb-background-app);
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
code, pre {
|
|
410
|
-
font-family: var(--
|
|
410
|
+
font-family: var(--fb-font-mono);
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
hr {
|
|
414
|
-
border-top: 1px solid var(--
|
|
414
|
+
border-top: 1px solid var(--fb-color-border);
|
|
415
415
|
}
|
|
416
416
|
|
|
417
|
-
.
|
|
417
|
+
.fb-sr-only, .fb-hidden-until-focus:not(:focus) {
|
|
418
418
|
position: absolute;
|
|
419
419
|
width: 1px;
|
|
420
420
|
height: 1px;
|
|
@@ -427,29 +427,29 @@ hr {
|
|
|
427
427
|
border: 0;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
.
|
|
430
|
+
.fb-hidden-until-focus {
|
|
431
431
|
opacity: 0;
|
|
432
432
|
transition: opacity 150ms ease-out;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
.
|
|
435
|
+
.fb-hidden-until-focus:focus {
|
|
436
436
|
opacity: 1;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
[data-
|
|
439
|
+
[data-fb-landmark] {
|
|
440
440
|
position: relative;
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
-
[data-
|
|
443
|
+
[data-fb-landmark]:focus-visible {
|
|
444
444
|
outline: none;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
-
[data-
|
|
448
|
-
outline: 2px solid var(--
|
|
447
|
+
[data-fb-landmark]:focus-visible::after {
|
|
448
|
+
outline: 2px solid var(--fb-color-primary);
|
|
449
449
|
outline-offset: -2px;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
[data-
|
|
452
|
+
[data-fb-landmark]::after {
|
|
453
453
|
content: '';
|
|
454
454
|
position: absolute;
|
|
455
455
|
inset: 0;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as API_TestEntry, $i as Addon_TypesEnum, $n as ArgsStoryFn, $o as PresetProperty, $r as StrictArgTypes, $s as StoriesSpecifier, Aa as DocsPreparedPayload, Ai as Addon_MakeDecoratorResult, An as BoundStory, Ao as CompatibleString, Ar as SBOtherType, As as DocgenError, At as ComposeStoryFn, Ba as API_FilterFunction, Bi as Addon_StoryFn, Bn as PreparedStory, Bo as CoreConfig, Br as StoryContext, Bs as BaseIndexInput, Ca as API_SetRefData, Ci as Addon_Elements, Cn as ResolvedModuleExportFromType, Co as StoryDocsProviderPreset, Cr as PlayFunction, Ct as StatusValue, Da as API_UI, Di as Addon_Loader, Dn as Builder_EnvsRaw, Do as BuilderResult, Dr as SBEnumType, Dt as Feature, Ea as API_StoryMapper, Ei as Addon_Loadable, En as BuilderStats, Eo as BuilderOptions, Er as SBArrayType, Et as SupportedLanguage, Fa as SetStoriesStoryData, Fi as Addon_RenderOptions, Fn as NamedOrDefaultProjectAnnotations, Fo as CoreCommon_AddonInfo, Fr as StepFunction, Fs as DocgenProviderDescriptor, Ga as API_OptionsData, Gc as Event, Gi as Addon_StorySortOrder, Gn as WebRenderer, Go as LoadedPreset, Gr as StoryFn, Gs as IndexInput, Ha as API_HashEntry, Hi as Addon_StorySortComparatorV7, Hn as RenderContext, Ho as DocsOptions, Hr as StoryContextForLoaders, Hs as DocsIndexEntry, Ia as StoryPreparedPayload, Ic as UseTestProviderStore, Ii as Addon_RequireContext, In as NormalizedComponentAnnotations, Io as CoreCommon_OptionsEntry, Ir as StepLabel, Is as DocgenProviderInput, Ja as API_RefStoryRuntimeData, Ji as Addon_StoryWrapper, Jn as ArgTypes, Jo as ModuleResolveConfig, Jr as StoryKind, Js as IndexedStory, Ka as API_PreparedIndexEntry, Kc as EventInfo, Ki as Addon_StorySortParameter, Kn as AfterEach, Ko as Manifests, Kr as StoryId, Ks as IndexInputStats, La as API_BaseEntry, Li as Addon_StoryApi, Ln as NormalizedProjectAnnotations, Lo as CoreCommon_ResolvedAddonPreset, Lr as StepRunner, Ls as DocgenSubcomponent, Ma as SetGlobalsPayload, Mc as TestProviderState, Mi as Addon_OptionsParameterV7, Mn as ModuleExport, Mo as ComponentSubcomponentManifest, Mr as SBType, Ms as DocgenMiddleware, Mt as PartialArgsStoryFn, Na as SetStoriesPayload, Nc as TestProviderStateByProviderId, Ni as Addon_PageType, Nn as ModuleExports, No as ComponentsManifest, Nr as SBUnionType, Ns as DocgenPayload, Nt as Store_CSFExports, Oa as API_ViewMode, Oi as Addon_LoaderFunction, On as Builder_Unpromise, Oo as CLIBaseOptions, Or as SBIntersectionType, Ot as REVIEW_EVENTS, Pa as SetStoriesStory, Pc as TestProviderStoreById, Pi as Addon_PartialStoryFn, Pn as ModuleImportFn, Po as CoreCommon_AddonEntry, Pr as SeparatorOptions, Ps as DocgenProvider, Pt as StoriesWithPartialProps, Qa as API_StoryEntry, Qi as Addon_Types, Qn as ArgsFromMeta, Qo as PresetConfig, Qr as StorybookTypes, Qs as StoriesEntry, Ra as API_ComponentEntry, Ri as Addon_StoryContext, Rn as NormalizedStoryAnnotations, Ro as CoreCommon_ResolvedAddonVirtual, Rr as StoryAnnotations, Rs as DocgenWorkerModule, Sa as API_RouteOptions, Si as Addon_DecoratorFunction, Sn as ResolvedModuleExport, So as StoryDocsProviderInput, Sr as Path, St as StatusTypeId, Ta as API_StateMerger, Ti as Addon_LoadFn, Tn as StoryRenderOptions, To as BuilderName, Tr as Renderer, Tt as UseStatusStore, Ua as API_IndexHash, Uc as UniversalStore, Ui as Addon_StorySortMethod, Un as RenderToCanvas, Uo as Entry, Ur as StoryContextForRender, Us as DocsIndexInput, Va as API_GroupEntry, Vc as MockUniversalStore, Vi as Addon_StorySortComparator, Vn as ProjectAnnotations, Vo as CsfEnricher, Vr as StoryContextForEnhancers, Vs as DocsAnchor, Wa as API_LeafEntry, Wc as Actor, Wi as Addon_StorySortObjectParameter, Wn as TeardownRenderToCanvas, Wo as LoadOptions, Wr as StoryContextUpdate, Ws as IndexEntry, Xa as API_RootEntry, Xi as Addon_ToolbarConfig, Xn as Args, Xo as PackageJson, Xr as StorybookInternalParameters, Xs as IndexerOptions, Ya as API_ReleaseNotes, Yi as Addon_TestProviderType, Yn as ArgTypesEnhancer, Yo as Options, Yr as StoryName, Ys as Indexer, Za as API_Settings, Zi as Addon_Type, Zn as ArgsEnhancer, Zo as Preset, Zr as StorybookParameters, Zs as NormalizedStoriesSpecifier, _a as API_ProviderData, _i as Addon_ClientApiReturnFn, _o as StoryDoc, _r as LegacyStoryAnnotationsOrFn, _s as TypescriptOptions, _t as Status, aa as IndexEntryLegacy, ac as V3CompatIndexEntry, ai as Addon_AddStoryArgs, ar as CleanupCallback, as as RendererName, ba as API_Refs, bi as Addon_Comparator, bn as DocsRenderFunction, bo as StoryDocsPayload, br as Parameters, bs as SupportedFramework, bt as StatusStoreByTypeId, ca as API_ComposedRefUpdate, ci as Addon_ArgsStoryFn, cr as ComponentTitle, cs as Stats, da as API_LayoutCustomisations, di as Addon_BaseMeta, do as ReviewState, dr as DecoratorFunction, ds as StorybookConfigRaw, ea as Addon_TypesMapping, ec as StoryIndex, ei as StrictArgs, eo as API_UnknownEntries, er as BaseAnnotations, es as PresetPropertyFn, fa as API_LoadedRefData, fi as Addon_BaseStoryFn, fr as GlobalTypes, fs as StorybookFeatures, ga as API_Provider, gi as Addon_ClientApiAddons, gr as LegacyAnnotatedStoryFn, gs as TestBuildFlags, gt as REVIEW_STATUS_TYPE_ID, ha as API_PanelPositions, hi as Addon_ClientApiAddon, hr as InputType, hs as TestBuildConfig, ht as NON_AGGREGATED_STATUS_TYPE_IDS, ia as BaseStory, ic as StoryIndexV3, ii as ViewMode, ir as Canvas, is as Ref, ja as GlobalsUpdatedPayload, jc as TestProviderId, ji as Addon_OptionsParameter, jn as CSFFile, jo as ComponentManifest, jr as SBScalarType, js as DocgenJsDocTags, jt as ComposedStoryFn, ka as FilterFunction, ki as Addon_Loaders, kn as Builder_WithRequiredProperty, ko as CLIOptions, kr as SBObjectType, kt as REVIEW_NAMESPACE, la as API_IframeRenderer, li as Addon_BaseAnnotations, lr as Conditional, ls as StorybookConfig, ma as API_Notification, mi as Addon_BaseType, mr as IncludeExcludeOptions, ms as TagsOptions, mt as CHANGE_DETECTION_STATUS_TYPE_ID, na as Addon_WrapperType, nc as StoryIndexInput, ni as Tag, no as API_Versions, nr as BeforeAll, ns as Presets, oa as API_ActiveTabsType, oi as Addon_Annotations, or as ComponentAnnotations, os as SecurityConfig, pa as API_MatchOptions, pi as Addon_BaseStoryObject, pr as Globals, ps as TagOptions, qa as API_PreparedStoryIndex, qc as StoreOptions, qi as Addon_StorySortParameterV7, qn as AnnotatedStoryFn, qo as Middleware, qr as StoryIdentifier, qs as IndexedCSFFile, ra as Addons_ArgTypes, rc as StoryIndexV2, ri as TestFunction, rr as BeforeEach, rs as PreviewAnnotation, sa as API_ComposedRef, si as Addon_ArgType, sr as ComponentId, ss as ServerApp, ta as Addon_WrapperSettings, tc as StoryIndexEntry, ti as StrictInputType, to as API_Version, tr as BaseProjectAnnotations, ts as PresetValue, ua as API_Layout, ui as Addon_BaseDecorators, uo as ReviewCollection, ur as DecoratorApplicator, us as StorybookConfigOptions, va as API_RefId, vi as Addon_ClientStoryApi, vo as StoryDocsById, vr as LegacyStoryFn, vs as VersionCheck, vt as StatusByTypeId, wa as API_SidebarOptions, wi as Addon_LegacyStoryFn, wn as ResolvedModuleExportType, wo as Builder, wr as PlayFunctionContext, wt as StatusesByStoryIdAndTypeId, xa as API_RenderOptions, xi as Addon_Config, xn as RenderContextCallbacks, xo as StoryDocsProvider, xr as PartialStoryFn, xs as SupportedBuilder, ya as API_RefUrl, yi as Addon_Collection, yn as DocsContextProps, yo as StoryDocsError, yr as LoaderFunction, ys as SupportedRenderer, yt as StatusStore, za as API_DocsEntry, zi as Addon_StoryContextUpdate, zn as PreparedMeta, zo as CoreCommon_StorybookInfo, zr as StoryAnnotationsOrFn, zs as BaseIndexEntry } from "../chunk-
|
|
1
|
+
import { $a as API_TestEntry, $i as Addon_TypesEnum, $n as ArgsStoryFn, $o as PresetProperty, $r as StrictArgTypes, $s as StoriesSpecifier, Aa as DocsPreparedPayload, Ai as Addon_MakeDecoratorResult, An as BoundStory, Ao as CompatibleString, Ar as SBOtherType, As as DocgenError, At as ComposeStoryFn, Ba as API_FilterFunction, Bi as Addon_StoryFn, Bn as PreparedStory, Bo as CoreConfig, Br as StoryContext, Bs as BaseIndexInput, Ca as API_SetRefData, Ci as Addon_Elements, Cn as ResolvedModuleExportFromType, Co as StoryDocsProviderPreset, Cr as PlayFunction, Ct as StatusValue, Da as API_UI, Di as Addon_Loader, Dn as Builder_EnvsRaw, Do as BuilderResult, Dr as SBEnumType, Dt as Feature, Ea as API_StoryMapper, Ei as Addon_Loadable, En as BuilderStats, Eo as BuilderOptions, Er as SBArrayType, Et as SupportedLanguage, Fa as SetStoriesStoryData, Fi as Addon_RenderOptions, Fn as NamedOrDefaultProjectAnnotations, Fo as CoreCommon_AddonInfo, Fr as StepFunction, Fs as DocgenProviderDescriptor, Ga as API_OptionsData, Gc as Event, Gi as Addon_StorySortOrder, Gn as WebRenderer, Go as LoadedPreset, Gr as StoryFn, Gs as IndexInput, Ha as API_HashEntry, Hi as Addon_StorySortComparatorV7, Hn as RenderContext, Ho as DocsOptions, Hr as StoryContextForLoaders, Hs as DocsIndexEntry, Ia as StoryPreparedPayload, Ic as UseTestProviderStore, Ii as Addon_RequireContext, In as NormalizedComponentAnnotations, Io as CoreCommon_OptionsEntry, Ir as StepLabel, Is as DocgenProviderInput, Ja as API_RefStoryRuntimeData, Ji as Addon_StoryWrapper, Jn as ArgTypes, Jo as ModuleResolveConfig, Jr as StoryKind, Js as IndexedStory, Ka as API_PreparedIndexEntry, Kc as EventInfo, Ki as Addon_StorySortParameter, Kn as AfterEach, Ko as Manifests, Kr as StoryId, Ks as IndexInputStats, La as API_BaseEntry, Li as Addon_StoryApi, Ln as NormalizedProjectAnnotations, Lo as CoreCommon_ResolvedAddonPreset, Lr as StepRunner, Ls as DocgenSubcomponent, Ma as SetGlobalsPayload, Mc as TestProviderState, Mi as Addon_OptionsParameterV7, Mn as ModuleExport, Mo as ComponentSubcomponentManifest, Mr as SBType, Ms as DocgenMiddleware, Mt as PartialArgsStoryFn, Na as SetStoriesPayload, Nc as TestProviderStateByProviderId, Ni as Addon_PageType, Nn as ModuleExports, No as ComponentsManifest, Nr as SBUnionType, Ns as DocgenPayload, Nt as Store_CSFExports, Oa as API_ViewMode, Oi as Addon_LoaderFunction, On as Builder_Unpromise, Oo as CLIBaseOptions, Or as SBIntersectionType, Ot as REVIEW_EVENTS, Pa as SetStoriesStory, Pc as TestProviderStoreById, Pi as Addon_PartialStoryFn, Pn as ModuleImportFn, Po as CoreCommon_AddonEntry, Pr as SeparatorOptions, Ps as DocgenProvider, Pt as StoriesWithPartialProps, Qa as API_StoryEntry, Qi as Addon_Types, Qn as ArgsFromMeta, Qo as PresetConfig, Qr as StorybookTypes, Qs as StoriesEntry, Ra as API_ComponentEntry, Ri as Addon_StoryContext, Rn as NormalizedStoryAnnotations, Ro as CoreCommon_ResolvedAddonVirtual, Rr as StoryAnnotations, Rs as DocgenWorkerModule, Sa as API_RouteOptions, Si as Addon_DecoratorFunction, Sn as ResolvedModuleExport, So as StoryDocsProviderInput, Sr as Path, St as StatusTypeId, Ta as API_StateMerger, Ti as Addon_LoadFn, Tn as StoryRenderOptions, To as BuilderName, Tr as Renderer, Tt as UseStatusStore, Ua as API_IndexHash, Uc as UniversalStore, Ui as Addon_StorySortMethod, Un as RenderToCanvas, Uo as Entry, Ur as StoryContextForRender, Us as DocsIndexInput, Va as API_GroupEntry, Vc as MockUniversalStore, Vi as Addon_StorySortComparator, Vn as ProjectAnnotations, Vo as CsfEnricher, Vr as StoryContextForEnhancers, Vs as DocsAnchor, Wa as API_LeafEntry, Wc as Actor, Wi as Addon_StorySortObjectParameter, Wn as TeardownRenderToCanvas, Wo as LoadOptions, Wr as StoryContextUpdate, Ws as IndexEntry, Xa as API_RootEntry, Xi as Addon_ToolbarConfig, Xn as Args, Xo as PackageJson, Xr as StorybookInternalParameters, Xs as IndexerOptions, Ya as API_ReleaseNotes, Yi as Addon_TestProviderType, Yn as ArgTypesEnhancer, Yo as Options, Yr as StoryName, Ys as Indexer, Za as API_Settings, Zi as Addon_Type, Zn as ArgsEnhancer, Zo as Preset, Zr as StorybookParameters, Zs as NormalizedStoriesSpecifier, _a as API_ProviderData, _i as Addon_ClientApiReturnFn, _o as StoryDoc, _r as LegacyStoryAnnotationsOrFn, _s as TypescriptOptions, _t as Status, aa as IndexEntryLegacy, ac as V3CompatIndexEntry, ai as Addon_AddStoryArgs, ar as CleanupCallback, as as RendererName, ba as API_Refs, bi as Addon_Comparator, bn as DocsRenderFunction, bo as StoryDocsPayload, br as Parameters, bs as SupportedFramework, bt as StatusStoreByTypeId, ca as API_ComposedRefUpdate, ci as Addon_ArgsStoryFn, cr as ComponentTitle, cs as Stats, da as API_LayoutCustomisations, di as Addon_BaseMeta, do as ReviewState, dr as DecoratorFunction, ds as StorybookConfigRaw, ea as Addon_TypesMapping, ec as StoryIndex, ei as StrictArgs, eo as API_UnknownEntries, er as BaseAnnotations, es as PresetPropertyFn, fa as API_LoadedRefData, fi as Addon_BaseStoryFn, fr as GlobalTypes, fs as StorybookFeatures, ga as API_Provider, gi as Addon_ClientApiAddons, gr as LegacyAnnotatedStoryFn, gs as TestBuildFlags, gt as REVIEW_STATUS_TYPE_ID, ha as API_PanelPositions, hi as Addon_ClientApiAddon, hr as InputType, hs as TestBuildConfig, ht as NON_AGGREGATED_STATUS_TYPE_IDS, ia as BaseStory, ic as StoryIndexV3, ii as ViewMode, ir as Canvas, is as Ref, ja as GlobalsUpdatedPayload, jc as TestProviderId, ji as Addon_OptionsParameter, jn as CSFFile, jo as ComponentManifest, jr as SBScalarType, js as DocgenJsDocTags, jt as ComposedStoryFn, ka as FilterFunction, ki as Addon_Loaders, kn as Builder_WithRequiredProperty, ko as CLIOptions, kr as SBObjectType, kt as REVIEW_NAMESPACE, la as API_IframeRenderer, li as Addon_BaseAnnotations, lr as Conditional, ls as StorybookConfig, ma as API_Notification, mi as Addon_BaseType, mr as IncludeExcludeOptions, ms as TagsOptions, mt as CHANGE_DETECTION_STATUS_TYPE_ID, na as Addon_WrapperType, nc as StoryIndexInput, ni as Tag, no as API_Versions, nr as BeforeAll, ns as Presets, oa as API_ActiveTabsType, oi as Addon_Annotations, or as ComponentAnnotations, os as SecurityConfig, pa as API_MatchOptions, pi as Addon_BaseStoryObject, pr as Globals, ps as TagOptions, qa as API_PreparedStoryIndex, qc as StoreOptions, qi as Addon_StorySortParameterV7, qn as AnnotatedStoryFn, qo as Middleware, qr as StoryIdentifier, qs as IndexedCSFFile, ra as Addons_ArgTypes, rc as StoryIndexV2, ri as TestFunction, rr as BeforeEach, rs as PreviewAnnotation, sa as API_ComposedRef, si as Addon_ArgType, sr as ComponentId, ss as ServerApp, ta as Addon_WrapperSettings, tc as StoryIndexEntry, ti as StrictInputType, to as API_Version, tr as BaseProjectAnnotations, ts as PresetValue, ua as API_Layout, ui as Addon_BaseDecorators, uo as ReviewCollection, ur as DecoratorApplicator, us as StorybookConfigOptions, va as API_RefId, vi as Addon_ClientStoryApi, vo as StoryDocsById, vr as LegacyStoryFn, vs as VersionCheck, vt as StatusByTypeId, wa as API_SidebarOptions, wi as Addon_LegacyStoryFn, wn as ResolvedModuleExportType, wo as Builder, wr as PlayFunctionContext, wt as StatusesByStoryIdAndTypeId, xa as API_RenderOptions, xi as Addon_Config, xn as RenderContextCallbacks, xo as StoryDocsProvider, xr as PartialStoryFn, xs as SupportedBuilder, ya as API_RefUrl, yi as Addon_Collection, yn as DocsContextProps, yo as StoryDocsError, yr as LoaderFunction, ys as SupportedRenderer, yt as StatusStore, za as API_DocsEntry, zi as Addon_StoryContextUpdate, zn as PreparedMeta, zo as CoreCommon_StorybookInfo, zr as StoryAnnotationsOrFn, zs as BaseIndexEntry } from "../chunk-DIz17UEJ.js";
|
|
2
2
|
export { API_ActiveTabsType, API_BaseEntry, API_ComponentEntry, API_ComposedRef, API_ComposedRefUpdate, API_DocsEntry, API_FilterFunction, API_GroupEntry, API_HashEntry, API_IframeRenderer, API_IndexHash, API_Layout, API_LayoutCustomisations, API_LeafEntry, API_LoadedRefData, API_MatchOptions, API_Notification, API_OptionsData, API_PanelPositions, API_PreparedIndexEntry, API_PreparedStoryIndex, API_Provider, API_ProviderData, API_RefId, API_RefStoryRuntimeData, API_RefUrl, API_Refs, API_ReleaseNotes, API_RenderOptions, API_RootEntry, API_RouteOptions, API_SetRefData, API_Settings, API_SidebarOptions, API_StateMerger, API_StoryEntry, API_StoryMapper, API_TestEntry, API_UI, API_UnknownEntries, API_Version, API_Versions, API_ViewMode, type Actor, Addon_AddStoryArgs, Addon_Annotations, Addon_ArgType, Addon_ArgsStoryFn, Addon_BaseAnnotations, Addon_BaseDecorators, Addon_BaseMeta, Addon_BaseStoryFn, Addon_BaseStoryObject, Addon_BaseType, Addon_ClientApiAddon, Addon_ClientApiAddons, Addon_ClientApiReturnFn, Addon_ClientStoryApi, Addon_Collection, Addon_Comparator, Addon_Config, Addon_DecoratorFunction, Addon_Elements, Addon_LegacyStoryFn, Addon_LoadFn, Addon_Loadable, Addon_Loader, Addon_LoaderFunction, Addon_Loaders, Addon_MakeDecoratorResult, Addon_OptionsParameter, Addon_OptionsParameterV7, Addon_PageType, Addon_PartialStoryFn, Addon_RenderOptions, Addon_RequireContext, Addon_StoryApi, Addon_StoryContext, Addon_StoryContextUpdate, Addon_StoryFn, Addon_StorySortComparator, Addon_StorySortComparatorV7, Addon_StorySortMethod, Addon_StorySortObjectParameter, Addon_StorySortOrder, Addon_StorySortParameter, Addon_StorySortParameterV7, Addon_StoryWrapper, Addon_TestProviderType, Addon_ToolbarConfig, Addon_Type, Addon_Types, Addon_TypesEnum, Addon_TypesMapping, Addon_WrapperSettings, Addon_WrapperType, Addons_ArgTypes, type AfterEach, type AnnotatedStoryFn, type ArgTypes, type ArgTypesEnhancer, type Args, type ArgsEnhancer, type ArgsFromMeta, type ArgsStoryFn, type BaseAnnotations, BaseIndexEntry, BaseIndexInput, type BaseProjectAnnotations, BaseStory, type BeforeAll, type BeforeEach, BoundStory, Builder, BuilderName, BuilderOptions, BuilderResult, BuilderStats, Builder_EnvsRaw, Builder_Unpromise, Builder_WithRequiredProperty, CHANGE_DETECTION_STATUS_TYPE_ID, CLIBaseOptions, CLIOptions, CSFFile, type Canvas, type CleanupCallback, CompatibleString, type ComponentAnnotations, type ComponentId, ComponentManifest, ComponentSubcomponentManifest, type ComponentTitle, ComponentsManifest, ComposeStoryFn, ComposedStoryFn, type Conditional, CoreCommon_AddonEntry, CoreCommon_AddonInfo, CoreCommon_OptionsEntry, CoreCommon_ResolvedAddonPreset, CoreCommon_ResolvedAddonVirtual, CoreCommon_StorybookInfo, CoreConfig, CsfEnricher, type DecoratorApplicator, type DecoratorFunction, type DocgenError, type DocgenJsDocTags, type DocgenMiddleware, type DocgenPayload, type DocgenProvider, type DocgenProviderDescriptor, type DocgenProviderInput, type DocgenSubcomponent, type DocgenWorkerModule, DocsAnchor, DocsContextProps, DocsIndexEntry, DocsIndexInput, DocsOptions, DocsPreparedPayload, DocsRenderFunction, Entry, type Event, type EventInfo, Feature, FilterFunction, type GlobalTypes, type Globals, GlobalsUpdatedPayload, type IncludeExcludeOptions, IndexEntry, IndexEntryLegacy, IndexInput, IndexInputStats, IndexedCSFFile, IndexedStory, Indexer, IndexerOptions, type InputType, type LegacyAnnotatedStoryFn, type LegacyStoryAnnotationsOrFn, type LegacyStoryFn, LoadOptions, LoadedPreset, type LoaderFunction, Manifests, Middleware, type MockUniversalStore, ModuleExport, ModuleExports, ModuleImportFn, ModuleResolveConfig, NON_AGGREGATED_STATUS_TYPE_IDS, NamedOrDefaultProjectAnnotations, NormalizedComponentAnnotations, NormalizedProjectAnnotations, NormalizedStoriesSpecifier, NormalizedStoryAnnotations, Options, PackageJson, type Parameters, PartialArgsStoryFn, type PartialStoryFn, Path, type PlayFunction, type PlayFunctionContext, PreparedMeta, PreparedStory, Preset, PresetConfig, PresetProperty, PresetPropertyFn, PresetValue, Presets, PreviewAnnotation, ProjectAnnotations, REVIEW_EVENTS, REVIEW_NAMESPACE, REVIEW_STATUS_TYPE_ID, Ref, RenderContext, RenderContextCallbacks, RenderToCanvas, type Renderer, RendererName, ResolvedModuleExport, ResolvedModuleExportFromType, ResolvedModuleExportType, type ReviewCollection, type ReviewState, type SBArrayType, type SBEnumType, type SBIntersectionType, type SBObjectType, type SBOtherType, type SBScalarType, type SBType, type SBUnionType, SecurityConfig, type SeparatorOptions, ServerApp, SetGlobalsPayload, SetStoriesPayload, SetStoriesStory, SetStoriesStoryData, Stats, type Status, type StatusByTypeId, type StatusStore, type StatusStoreByTypeId, type StatusTypeId, type StatusValue, type StatusesByStoryIdAndTypeId, type StepFunction, type StepLabel, type StepRunner, type StoreOptions, Store_CSFExports, StoriesEntry, StoriesSpecifier, StoriesWithPartialProps, type StoryAnnotations, type StoryAnnotationsOrFn, type StoryContext, type StoryContextForEnhancers, type StoryContextForLoaders, type StoryContextForRender, type StoryContextUpdate, type StoryDoc, type StoryDocsById, type StoryDocsError, type StoryDocsPayload, type StoryDocsProvider, type StoryDocsProviderInput, type StoryDocsProviderPreset, type StoryFn, type StoryId, type StoryIdentifier, StoryIndex, StoryIndexEntry, StoryIndexInput, StoryIndexV2, StoryIndexV3, type StoryKind, type StoryName, StoryPreparedPayload, StoryRenderOptions, StorybookConfig, StorybookConfigOptions, StorybookConfigRaw, StorybookFeatures, StorybookInternalParameters, StorybookParameters, StorybookTypes, type StrictArgTypes, type StrictArgs, type StrictInputType, SupportedBuilder, SupportedFramework, SupportedLanguage, SupportedRenderer, type Tag, TagOptions, TagsOptions, TeardownRenderToCanvas, TestBuildConfig, TestBuildFlags, type TestFunction, type TestProviderId, type TestProviderState, type TestProviderStateByProviderId, type TestProviderStoreById, TypescriptOptions, type UniversalStore, type UseStatusStore, type UseTestProviderStore, V3CompatIndexEntry, VersionCheck, ViewMode, WebRenderer };
|
package/dist/types/index.js
CHANGED
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
CHANGE_DETECTION_STATUS_TYPE_ID,
|
|
3
3
|
NON_AGGREGATED_STATUS_TYPE_IDS,
|
|
4
4
|
REVIEW_STATUS_TYPE_ID
|
|
5
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
-
import "../_browser-chunks/chunk-
|
|
7
|
-
import "../_browser-chunks/chunk-
|
|
8
|
-
import "../_browser-chunks/chunk-
|
|
9
|
-
import "../_browser-chunks/chunk-
|
|
5
|
+
} from "../_browser-chunks/chunk-DYNTDJ3O.js";
|
|
6
|
+
import "../_browser-chunks/chunk-LYYXDWR2.js";
|
|
7
|
+
import "../_browser-chunks/chunk-76222HQR.js";
|
|
8
|
+
import "../_browser-chunks/chunk-BNP234B4.js";
|
|
9
|
+
import "../_browser-chunks/chunk-MJIDTL3X.js";
|
|
10
10
|
import "../_browser-chunks/chunk-SC67XZST.js";
|
|
11
11
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
12
12
|
|
package/dist/viewport/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ViewportMap, c as ViewportType, i as ViewportGlobals, l as ViewportTypes, n as GlobalStateUpdate, o as ViewportParameters, r as Viewport, s as ViewportStyles, t as GlobalState } from "../chunk-
|
|
1
|
+
import { a as ViewportMap, c as ViewportType, i as ViewportGlobals, l as ViewportTypes, n as GlobalStateUpdate, o as ViewportParameters, r as Viewport, s as ViewportStyles, t as GlobalState } from "../chunk-DgzPaTw9.js";
|
|
2
2
|
|
|
3
3
|
//#region .dts-emit/code/core/src/viewport/constants.d.ts
|
|
4
4
|
declare const ADDON_ID = "@aussieljk/forkbook/viewport";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aussieljk/forkbook",
|
|
3
|
-
"version": "0.0.1-
|
|
3
|
+
"version": "0.0.1-3",
|
|
4
4
|
"description": "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"forkbook",
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
"oxc-resolver": "11.21.2",
|
|
775
775
|
"oxfmt": "^0.70.0",
|
|
776
776
|
"pathe": "^2.0.3",
|
|
777
|
-
"probe-image-size": "^7.
|
|
777
|
+
"probe-image-size": "^7.4.0",
|
|
778
778
|
"recast": "^0.23.5",
|
|
779
779
|
"semver": "^7.7.3",
|
|
780
780
|
"styled-jsx": "5.1.6",
|
|
@@ -2,25 +2,25 @@ import { fn } from '@aussieljk/forkbook/test';
|
|
|
2
2
|
|
|
3
3
|
import { Button } from './Button';
|
|
4
4
|
|
|
5
|
-
// More on how to set up stories at: https://
|
|
5
|
+
// More on how to set up stories at: https://forkbook.ljk.dev/docs/writing-stories#default-export
|
|
6
6
|
export default {
|
|
7
7
|
title: 'Example/Button',
|
|
8
8
|
component: Button,
|
|
9
9
|
parameters: {
|
|
10
|
-
// Optional parameter to center the component in the Canvas. More info: https://
|
|
10
|
+
// Optional parameter to center the component in the Canvas. More info: https://forkbook.ljk.dev/docs/configure/story-layout
|
|
11
11
|
layout: 'centered',
|
|
12
12
|
},
|
|
13
|
-
// This component will have an automatically generated Autodocs entry: https://
|
|
13
|
+
// This component will have an automatically generated Autodocs entry: https://forkbook.ljk.dev/docs/writing-docs/autodocs
|
|
14
14
|
tags: ['autodocs'],
|
|
15
|
-
// More on argTypes: https://
|
|
15
|
+
// More on argTypes: https://forkbook.ljk.dev/docs/api/arg-types
|
|
16
16
|
argTypes: {
|
|
17
17
|
backgroundColor: { control: 'color' },
|
|
18
18
|
},
|
|
19
|
-
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://
|
|
19
|
+
// Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://forkbook.ljk.dev/docs/essentials/actions#story-args
|
|
20
20
|
args: { onClick: fn() },
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
// More on writing stories with args: https://
|
|
23
|
+
// More on writing stories with args: https://forkbook.ljk.dev/docs/writing-stories/args
|
|
24
24
|
export const Primary = {
|
|
25
25
|
args: {
|
|
26
26
|
primary: true,
|