@aussieljk/forkbook 0.0.1-2 → 0.0.1-21
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/LICENSE +1 -1
- package/README.md +35 -53
- 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 +7 -7
- package/assets/create/rendererAssets/common/header.css +6 -6
- package/assets/create/rendererAssets/common/page.css +12 -12
- package/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +31 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-7FO5YFB5.js} +8 -8
- package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
- package/dist/_browser-chunks/WithTooltip-QWFSUQZP.js +199 -0
- package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-2WZWS7GJ.js} +5 -5
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-3QNZOMD7.js} +8 -3
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-3QPZOXB7.js} +6 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-4BOJAE7P.js} +14 -10
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-5Z3MWCFR.js} +12 -12
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-6SL45YM3.js} +15 -18
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-AN2LJG5I.js} +1 -1
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-BLCZ3C5M.js} +48 -83
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-BSYOFSF6.js} +770 -720
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-DHTLVXAL.js} +38 -45
- package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-DISGPOF4.js} +54 -51
- package/dist/_browser-chunks/chunk-DNJ3OSLB.js +6021 -0
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-E6QKKKLO.js} +21 -6
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-EBSOKHFG.js} +10 -4
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-ECMVTOVD.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-ENHFQXYS.js} +9 -7
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-EW2M3URL.js} +91 -84
- package/dist/_browser-chunks/chunk-FAOLWWRN.js +20 -0
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-FCULT3AE.js} +3 -3
- package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
- package/dist/_browser-chunks/chunk-HZFHNYRC.js +53 -0
- package/dist/_browser-chunks/chunk-IFADVEQE.js +669 -0
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-KQJ4T6JL.js} +31 -25
- 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-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-NA4ITZTK.js} +127 -105
- package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-NK5SGJNG.js} +22 -17
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/chunk-PFYL47RM.js +45 -0
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-PQRPDA4U.js} +5 -5
- package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
- package/dist/_browser-chunks/chunk-PZQRXPVR.js +21 -0
- package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-QFO2B4X2.js} +31 -28
- package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/chunk-XSVERCGB.js +91 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-XTQCLWVH.js} +325 -1635
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-YJO5BK52.js} +7 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-ZF37BMDS.js} +6 -2
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-ZIZCGWCG.js} +348 -170
- package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
- package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-UC2CB4GH.js} +37 -35
- package/dist/_node-chunks/builder-manager-S5UUKVOR.js +1174 -0
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-3335ZZIO.js} +6 -6
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-3D6N6P2R.js} +283 -306
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-3ER54PQM.js} +8 -8
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-3H5C52QU.js} +6 -6
- package/dist/_node-chunks/chunk-3UI3TQ7R.js +28 -0
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-4C3ACAHV.js} +6 -6
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-4UTCKJEQ.js} +7 -7
- package/dist/_node-chunks/chunk-53A5CYDK.js +572 -0
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-53PSBDRK.js} +140 -118
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-54MO4QLB.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-5CJMRQZ6.js} +6 -6
- package/dist/_node-chunks/chunk-5HOM7B4V.js +20 -0
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-5QG6AXK4.js} +7 -7
- package/dist/_node-chunks/chunk-67XVZZUO.js +405 -0
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-6HQJJDLH.js} +6 -6
- package/dist/_node-chunks/chunk-6IPHWCFI.js +29 -0
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-6XYOFBRD.js} +98 -129
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-7IAYDGYH.js} +6 -6
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-7P67PUU2.js} +7 -7
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-AAK5BBF2.js} +7 -7
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-BGUVBOOU.js} +10 -10
- package/dist/_node-chunks/chunk-BNGBOASQ.js +25 -0
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-BWZWCVVH.js} +9 -9
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-C6HQ6WLU.js} +8 -8
- package/dist/_node-chunks/chunk-CJHRH777.js +20 -0
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-COEW4ORP.js} +6 -6
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-CVHDAEDZ.js} +7 -7
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-CXGOQNGI.js} +7 -7
- package/dist/_node-chunks/chunk-D4XTQWRM.js +11 -0
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-D5V6CZ6U.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-DCTXJ4TT.js} +14 -16
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-DP6WFY3D.js} +7 -7
- package/dist/_node-chunks/chunk-E23GDXG6.js +271 -0
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-E3ZFMURC.js} +8 -8
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-E6O3NA44.js} +7 -7
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-ECS3WDOU.js} +8 -8
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-FB5YJWOH.js} +6 -6
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-FCK5FM6D.js} +7 -7
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-FJUGPEJK.js} +6 -6
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-FPYXI76E.js} +75 -75
- package/dist/_node-chunks/chunk-GEWVOY3F.js +62 -0
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-GHZ44BFB.js} +14 -13
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-GJMFISS3.js} +8 -8
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-GK2Y2RFX.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-GP6YBA2R.js} +6 -6
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-GQUFGJ4D.js} +6 -6
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-H4CRQDTK.js} +6 -6
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-HCDG54OG.js} +7 -7
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-HGJMP4EI.js} +506 -494
- package/dist/_node-chunks/chunk-HSX6BDBA.js +18 -0
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-IPFPWMT5.js} +1320 -437
- package/dist/_node-chunks/chunk-KRIOC4WF.js +281 -0
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-KUL2MJ6N.js} +6 -6
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-LUR6QTYB.js} +10 -10
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-LYS7TI35.js} +368 -321
- package/dist/_node-chunks/chunk-MDTXL6SN.js +2613 -0
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-MIIPXT4S.js} +9 -9
- package/dist/_node-chunks/chunk-MLWGAA2I.js +138 -0
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-MWUGCUB5.js} +52 -22
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-MX5MVLEK.js} +6 -6
- package/dist/_node-chunks/chunk-N44UIGCO.js +47 -0
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-NP2JHOFY.js} +37 -31
- package/dist/_node-chunks/chunk-OMNGOPNG.js +52 -0
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-OO2GTHUF.js} +9 -17
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-PC57BIYZ.js} +8 -8
- package/dist/_node-chunks/chunk-PHWMAF5C.js +49 -0
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-PLIQQETC.js} +7 -7
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-QMYCIS2U.js} +6 -6
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-QZIDK3GX.js} +89 -71
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-ROJ6RSIJ.js} +7 -7
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-S2NB6QEG.js} +542 -1049
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-S6VCOSQS.js} +6 -6
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-SEVOOOB2.js} +474 -479
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-SFT6ZAVN.js} +6 -6
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-SXBUK4F6.js} +7 -7
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-TGF6Q66I.js} +15 -9
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-TGFHWGGT.js} +9 -6
- package/dist/_node-chunks/chunk-TTLSBLPQ.js +620 -0
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-UUAEW2AR.js} +6 -6
- package/dist/_node-chunks/chunk-VQHM66NL.js +534 -0
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-VSTTY3TM.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-XDBSAFUB.js} +650 -9
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-XTQQGAUZ.js} +7 -7
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-YMJVSFJT.js} +6 -6
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-YXEKWVJQ.js} +7 -7
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-Z6CUUWJO.js} +34 -949
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-ZAIGR7EV.js} +64 -17
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-ZCFXEFR6.js} +33 -41
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-ZHUBOYOD.js} +6 -6
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-ZHUBTBP2.js} +25 -8
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-ZSTIFZHY.js} +21 -25
- package/dist/_node-chunks/dist-TRTHRODT.js +16 -0
- package/dist/_node-chunks/dist-XPLJ5T4W.js +27 -0
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-AC7MOWYK.js} +21 -22
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-ZW26VGEP.js} +2263 -130
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-T2KZK62Q.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-2CWUUF6H.js} +12 -12
- package/dist/_node-chunks/optimized-tests-4AK3PFSX.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-CMRGEXHM.js} +12 -12
- package/dist/_node-chunks/postinstallAddon-OUQENFYO.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-LHOAIJ2E.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-K54MMYY6.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-TTL4PWH7.js} +12 -12
- package/dist/_node-chunks/{run-NL66VTNR.js → run-6DXBB5F7.js} +294 -30
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-BMTV5ZAO.js} +18 -18
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-FDPYW25Y.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-2TCFWAAI.js} +9 -9
- package/dist/actions/decorator.js +18 -22
- package/dist/actions/index.d.ts +4 -4
- package/dist/actions/index.js +3 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +3 -2
- package/dist/addon-a11y/manager.js +41 -38
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.d.ts +8 -2
- package/dist/addon-a11y/preview.js +3 -2
- package/dist/addon-comments/manager.js +353 -0
- package/dist/addon-comments/preset.js +80 -0
- package/dist/addon-comments/preview.js +101 -0
- package/dist/addon-docs/blocks.d.ts +123 -85
- package/dist/addon-docs/blocks.js +159 -85
- package/dist/addon-docs/index.d.ts +21 -21
- package/dist/addon-docs/index.js +3 -3
- package/dist/addon-docs/manager.js +6 -6
- package/dist/addon-docs/preset.js +12 -12
- package/dist/addon-docs/preview.d.ts +3 -1
- package/dist/addon-docs/preview.js +1 -1
- package/dist/addon-links/index.d.ts +2 -1
- package/dist/addon-links/index.js +5 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +5 -2
- package/dist/addon-links/react/index.js +4 -1
- package/dist/addon-mcp/preset.js +203 -84
- package/dist/addon-mcp/preview.js +1 -1
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +71 -71
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- 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/index.js +1 -1
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.js +1 -1
- package/dist/addon-themes/index.d.ts +7 -6
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +4 -4
- 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 +32 -23
- package/dist/addon-vitest/node/coverage-reporter.js +11 -11
- package/dist/addon-vitest/node/vitest.js +37 -37
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +26 -26
- package/dist/addon-vitest/vitest-plugin/global-setup.js +23 -23
- package/dist/addon-vitest/vitest-plugin/index.js +83 -73
- 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.d.ts +241 -995
- package/dist/babel/index.js +30583 -38
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +122 -110
- package/dist/bin/dispatcher.js +18 -16
- package/dist/bin/loader.js +17 -16
- package/dist/builder-next/index.d.ts +59 -0
- package/dist/builder-next/index.js +201 -0
- package/dist/builder-vite/index.d.ts +8 -3
- package/dist/builder-vite/index.js +80 -25
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +3 -2
- package/dist/channels/index.js +97 -24
- package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-B53gRJBs.d.ts} +838 -703
- package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
- package/dist/chunk-BcYKnZln.d.ts +10 -0
- package/dist/{chunk-Bpi2tz-6.d.ts → chunk-BspNQvZn.d.ts} +21 -23
- package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
- package/dist/chunk-CFhJCPSB.d.ts +48 -0
- package/dist/{chunk-DtHByo32.d.ts → chunk-CFk6djyM.d.ts} +5 -5
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-CMx6bGAU.d.ts} +2 -2
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-CRmUwbkb.d.ts} +4 -4
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
- package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-DNCU78oW.d.ts} +160 -323
- package/dist/chunk-DVIvUVkS.d.ts +195 -0
- 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-C-bavsOH.d.ts → chunk-Dw_4ad2Y.d.ts} +6 -6
- package/dist/chunk-Susgfkap.d.ts +20 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-bhl-7rRD.d.ts} +40 -15
- package/dist/{chunk-BXLImeLy.d.ts → chunk-r-Vjut9o.d.ts} +52 -11
- package/dist/cli/index.d.ts +15 -904
- package/dist/cli/index.js +49 -5209
- package/dist/cli/skills/content/index.d.ts +3 -3
- package/dist/cli/skills/content/index.js +3 -3
- 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 +4 -4
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.d.ts +20 -21
- package/dist/client-logger/index.js +5 -2
- package/dist/common/index.d.ts +32 -44
- package/dist/common/index.js +89 -98
- package/dist/components/index.d.ts +86 -272
- package/dist/components/index.js +2759 -8547
- package/dist/core-events/index.d.ts +16 -7
- package/dist/core-events/index.js +5 -5
- package/dist/core-server/index.d.ts +95 -26
- package/dist/core-server/index.js +1675 -408
- package/dist/core-server/presets/common-manager.js +837 -1335
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +100 -282
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/csf-utils.d.ts +1 -1
- package/dist/csf/index.d.ts +6 -6
- package/dist/csf/index.js +90 -159
- package/dist/csf-tools/index.d.ts +66 -54
- package/dist/csf-tools/index.js +19 -17
- package/dist/docs-tools/index.d.ts +332 -16
- package/dist/docs-tools/index.js +3 -3
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.d.ts +5 -5
- package/dist/instrumenter/index.js +31 -19
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-B4NRbNSS.js} +638 -1731
- package/dist/{preview/_chunks/runtime-CqHxptiK.js → manager/_manager-chunks/globals-runtime-BC43T1rL.js} +3413 -173
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-BJ6EZqH7.js} +1035 -623
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-BfXaq_CP.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-BkSn_Jpe.js} +411 -379
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-BnQ7i5wq.js} +232 -370
- package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
- package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/globals-runtime-CS41oTca.js +1808 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-Cisw9IIE.js} +11 -11
- package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-DCmvKMN5.js} +2 -1
- package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-DpvE_zRs.js} +1013 -782
- package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
- package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
- package/dist/manager/_manager-chunks/globals-runtime-oRjPg2jY.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-wV08sCKl.js} +715 -620
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-4OQZWibO.js} +1717 -1536
- package/dist/manager/_manager-chunks/runtime-BYxbyNm0.js +201 -0
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/runtime-CM4Z8aKR.js +735 -0
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-Cjo1UL1u.js} +57 -76
- package/dist/manager/_manager-chunks/runtime-Cx1-wr6J.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-Cxe_uJRb.js} +220 -406
- package/dist/manager/_manager-chunks/runtime-D702FFTO.js +551 -0
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-DnWFp6Zw.js} +8 -534
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-DoYPE6g6.js} +232 -158
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-sppa-0ll.js} +741 -698
- 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 +538 -528
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.d.ts +10 -10
- package/dist/mcp/index.js +11 -11
- package/dist/mocking-utils/index.d.ts +7 -5
- package/dist/mocking-utils/index.js +34 -34
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/next/index.d.ts +231 -0
- package/dist/next/index.js +398 -0
- package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
- package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
- package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
- package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
- package/dist/nextjs-vite/index.d.ts +4 -4
- package/dist/nextjs-vite/index.js +10 -5
- package/dist/nextjs-vite/node/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +117 -15
- package/dist/nextjs-vite/preview.d.ts +2 -1
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
- package/dist/nextjs-vite/vite-plugin/index.js +9 -9
- package/dist/nextjs-vite-plugin/index.d.ts +2 -3
- package/dist/nextjs-vite-plugin/index.js +24 -49
- 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/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
- package/dist/node-logger/index.d.ts +89 -90
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +15 -14
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/{manager/_manager-chunks/globals-runtime-8HkdnU2F.js → preview/_chunks/runtime-BYRCSYBN.js} +4440 -179
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-Bvh_rfnQ.js} +29 -64
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-Cbq5WjbL.js} +772 -418
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-D2MPrqbU.js} +2 -2
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DDEUZops.js} +453 -161
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-DS0s7U3c.js} +482 -334
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-DsjyhLpG.js} +397 -176
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-Dwi6NFcX.js} +3 -3
- 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 +3 -3
- package/dist/preview-api/index.js +12 -10
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview-argtypes.js +1 -1
- package/dist/react/entry-preview-docs.js +1 -1
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.d.ts +9 -11
- package/dist/react/index.js +8 -6
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +5 -4
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +48 -47
- package/dist/react-native/index.js +64 -249
- package/dist/react-native/metro/node.d.ts +3 -3
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +18 -18
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +27 -26
- package/dist/react-native/preview.js +4 -1
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-theming/index.d.ts +2 -58
- package/dist/react-native-theming/index.js +63 -2338
- package/dist/react-native-ui/index.d.ts +14 -14
- package/dist/react-native-ui/index.js +8 -15
- package/dist/react-native-ui-common/index.d.ts +32 -12
- package/dist/react-native-ui-common/index.js +26 -31
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.d.ts +3 -1
- package/dist/react-vite/preset.js +16 -9
- package/dist/router/index.d.ts +80 -3
- package/dist/router/index.js +66 -12
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +3 -3
- 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 +28 -28
- package/dist/telemetry/index.d.ts +38 -274
- package/dist/telemetry/index.js +11 -68
- package/dist/test/index.d.ts +2 -2
- package/dist/test/index.js +765 -511
- package/dist/theming/create.d.ts +1 -1
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.d.ts +6 -6
- package/dist/theming/index.js +41 -16
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +69 -69
- package/skills/setup/SKILL.md +14 -0
- package/skills/stories/SKILL.md +21 -0
- package/skills/write-story/SKILL.md +14 -0
- package/template/nextjs-vite/cli/js/Button.jsx +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.jsx +1 -1
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +3 -3
- 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/Button.tsx +2 -2
- 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/Header.tsx +1 -1
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +3 -3
- package/template/react/cli/js/Button.jsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.jsx +1 -1
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +3 -3
- 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/Button.tsx +2 -2
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Header.tsx +1 -1
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +3 -3
- package/template/react-vite/cli/js/Button.jsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.jsx +1 -1
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +3 -3
- 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/Button.tsx +2 -2
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Header.tsx +1 -1
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +3 -3
- 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/_browser-chunks/WithTooltip-XSQFTBMB.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-JMC7AIKT.js +0 -108
- package/dist/_node-chunks/builder-manager-VVHYQXCH.js +0 -1661
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-3BKIBF5S.js +0 -3008
- package/dist/_node-chunks/chunk-3T4ZSNPH.js +0 -662
- package/dist/_node-chunks/chunk-5DQFEZEA.js +0 -40
- package/dist/_node-chunks/chunk-6LMWA44H.js +0 -3837
- package/dist/_node-chunks/chunk-BXVYT7SB.js +0 -36
- package/dist/_node-chunks/chunk-CQKMLL5J.js +0 -33
- package/dist/_node-chunks/chunk-EHUNOMDD.js +0 -52345
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-GRBLDJCR.js +0 -989
- package/dist/_node-chunks/chunk-IDEL2J23.js +0 -23
- package/dist/_node-chunks/chunk-JPAZLYJ3.js +0 -29
- package/dist/_node-chunks/chunk-MK2KYAI6.js +0 -5414
- package/dist/_node-chunks/chunk-NPO45IMH.js +0 -33
- package/dist/_node-chunks/chunk-QEQLR22M.js +0 -1877
- package/dist/_node-chunks/chunk-RZMQ7S3L.js +0 -92
- package/dist/_node-chunks/chunk-SIEXZVCR.js +0 -51
- package/dist/_node-chunks/chunk-TEQGGSP7.js +0 -33
- package/dist/_node-chunks/chunk-TFCEV2XX.js +0 -155
- package/dist/_node-chunks/chunk-UBOGWBEA.js +0 -148
- package/dist/_node-chunks/chunk-W4OMYLSP.js +0 -1297
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/chunk-ZMAMXQKP.js +0 -4731
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/globby-OEMHPBFY.js +0 -2884
- package/dist/_node-chunks/jiti-NFX6UU74.js +0 -3848
- package/dist/_node-chunks/lib-MDVARD7W.js +0 -366
- 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/chunk-BTVrWliM.d.ts +0 -115
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/chunk-BxWufQms.d.ts +0 -142
- package/dist/chunk-DaVb55-_.d.ts +0 -124
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/globals-runtime-ZHrQFa3-.js +0 -10463
- package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +0 -452
- package/dist/manager/_manager-chunks/runtime-BK0zF7FN.js +0 -22
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
- package/dist/manager/_manager-chunks/runtime-DMig8mT7.js +0 -77
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-BwSxqk3t.js +0 -63
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
- package/dist/preview/_chunks/runtime-DuHdxMFA.js +0 -387
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-
|
|
1
|
+
import { a as RenderData } from "./chunk-BLZXEm1K.js";
|
|
2
|
+
import { s as ThemeVars$1 } from "./chunk-D3uSIa6H.js";
|
|
3
|
+
import { h as Channel$1 } from "./chunk-r-Vjut9o.js";
|
|
4
|
+
import { A as OperationInputSchemas, C as Commands, F as QueryFunctions, G as ServiceInstance, H as ServiceDefinition, J as ServiceRegistryApi, K as ServiceInstanceOf, L as QueryState, M as Query, O as MatchingOutputSchemas, P as QueryDefinition, Q as StandardSchemaV1, W as ServiceId, Y as ServiceState, a as ToolsetCtx, f as ToolsetOutcome, j as Queries, o as ToolsetDefinition, q as ServiceRegistrationOptions, t as AnyToolsetDefinition, v as AnyServiceDefinition, w as GetServiceOptions, x as CommandDefinition, z as RuntimeService } from "./chunk-BtKww7r1.js";
|
|
5
|
+
import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-DNCU78oW.js";
|
|
6
6
|
import { t as Options$3 } from "./chunk-C6PAgHLT.js";
|
|
7
|
-
import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-
|
|
7
|
+
import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-BspNQvZn.js";
|
|
8
8
|
import { AfterEach as AfterEach$1, AnnotatedStoryFn as AnnotatedStoryFn$1, ArgTypes as ArgTypes$2, ArgTypesEnhancer, Args, Args as Args$2, ArgsEnhancer, ArgsFromMeta as ArgsFromMeta$1, ArgsStoryFn as ArgsStoryFn$1, BaseAnnotations as BaseAnnotations$1, BeforeAll, BeforeEach, Canvas as Canvas$1, CleanupCallback, CleanupCallback as CleanupCallback$1, ComponentAnnotations as ComponentAnnotations$1, ComponentId, ComponentTitle as ComponentTitle$1, Conditional as Conditional$1, DecoratorApplicator as DecoratorApplicator$1, DecoratorFunction as DecoratorFunction$2, GlobalTypes as GlobalTypes$1, Globals, Globals as Globals$2, IncludeExcludeOptions, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn as LegacyStoryAnnotationsOrFn$1, LegacyStoryFn as LegacyStoryFn$1, LoaderFunction as LoaderFunction$1, Meta, Parameters as Parameters$2, PartialStoryFn as PartialStoryFn$1, PlayFunction, PlayFunctionContext, ProjectAnnotations, ProjectAnnotations as BaseProjectAnnotations, Renderer, Renderer as Renderer$2, SBArrayType, SBEnumType, SBIntersectionType, SBObjectType, SBOtherType, SBScalarType, SBType as SBType$1, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner as StepRunner$1, Story, StoryAnnotations as StoryAnnotations$1, StoryAnnotationsOrFn as StoryAnnotationsOrFn$1, StoryContext, StoryContext as StoryContext$2, StoryContextForEnhancers as StoryContextForEnhancers$1, StoryContextForLoaders, StoryContextForRender, StoryContextUpdate as StoryContextUpdate$1, StoryFn, StoryId, StoryId as StoryId$2, StoryIdentifier, StoryKind as StoryKind$1, StoryName as StoryName$1, StrictArgTypes, StrictArgTypes as StrictArgTypes$2, StrictArgs as StrictArgs$1, StrictInputType, Tag, Tag as Tag$2, TestFunction as TestFunction$1, ViewMode, toId } from "@aussieljk/forkbook/internal/csf";
|
|
9
|
-
import React$1, { Component, FC, PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
9
|
+
import React$1, { Component, DependencyList, FC, PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
10
10
|
import { Channel, ChannelLike, Listener, Listener as Listener$2 } from "@aussieljk/forkbook/internal/channels";
|
|
11
11
|
import { NavigateOptions, RouterData } from "@aussieljk/forkbook/internal/router";
|
|
12
12
|
import { API_ComponentEntry as API_ComponentEntry$1, API_ComposedRef, API_ComposedRef as API_ComposedRef$2, API_ComposedRefUpdate, API_DocsEntry, API_DocsEntry as API_DocsEntry$2, API_FilterFunction, API_GroupEntry as API_GroupEntry$1, API_HashEntry, API_HashEntry as API_HashEntry$2, API_IframeRenderer, API_IndexHash, API_IndexHash as API_IndexHash$2, API_Layout, API_LayoutCustomisations, API_LeafEntry, API_LeafEntry as API_LeafEntry$2, API_LoadedRefData, API_Notification, API_OptionsData, API_PanelPositions, API_PreparedStoryIndex, API_Provider, API_ProviderData, API_Refs, API_Refs as API_Refs$2, API_RootEntry as API_RootEntry$1, API_SetRefData, API_Settings, API_SidebarOptions, API_StateMerger, API_StoryEntry, API_StoryEntry as API_StoryEntry$2, API_TestEntry, API_UI, API_UnknownEntries, API_Version, API_Versions, API_ViewMode, Addon_BaseType, Addon_Collection, Addon_Config, Addon_PageType, Addon_StorySortParameterV7, Addon_StoryWrapper, Addon_TestProviderType, Addon_Type as Addon_Type$1, Addon_Types, Addon_TypesEnum, Addon_TypesEnum as Addon_TypesEnum$2, Addon_TypesMapping, Addon_WrapperType, ArgTypes as ArgTypes$1, Args as Args$1, CSFFile, ComponentAnnotations, ComposeStoryFn, ComposedStoryFn, DecoratorFunction as DecoratorFunction$1, DocsContextProps as DocsContextProps$1, GlobalTypes, Globals as Globals$1, IndexEntry, LegacyStoryAnnotationsOrFn, LegacyStoryFn, ModuleExport, ModuleExports, ModuleImportFn, ModuleResolveConfig as ModuleResolveConfig$1, NamedOrDefaultProjectAnnotations, NormalizedComponentAnnotations, NormalizedProjectAnnotations, NormalizedStoriesSpecifier, NormalizedStoryAnnotations, Parameters as Parameters$1, PartialStoryFn, Path, PreparedStory, ProjectAnnotations as ProjectAnnotations$1, RenderContextCallbacks, RenderToCanvas, Renderer as Renderer$1, ResolvedModuleExportFromType, ResolvedModuleExportType, StatusByTypeId, StatusValue, StepRunner, Store_CSFExports, StoryAnnotationsOrFn, StoryContext as StoryContext$1, StoryContextForEnhancers, StoryContextUpdate, StoryId as StoryId$1, StoryIndex, StoryName, StoryRenderOptions, StrictArgTypes as StrictArgTypes$1, Tag as Tag$1, TagsOptions, ViewMode as ViewMode$1 } from "@aussieljk/forkbook/internal/types";
|
|
@@ -15,25 +15,288 @@ import { ArgTypesRequestPayload, OpenInEditorResponsePayload, RequestData, Whats
|
|
|
15
15
|
import * as v from "valibot";
|
|
16
16
|
import { ImportEdge } from "@aussieljk/forkbook/internal/oxc-parser";
|
|
17
17
|
import { FileSystemCache } from "@aussieljk/forkbook/internal/common";
|
|
18
|
-
import { StoryIndexGenerator } from "@aussieljk/forkbook/internal/core-server";
|
|
19
18
|
import { CsfFile } from "@aussieljk/forkbook/internal/csf-tools";
|
|
20
19
|
import { LogLevel } from "@aussieljk/forkbook/internal/node-logger";
|
|
21
20
|
import { IncomingMessage, Server, ServerResponse } from "http";
|
|
22
21
|
import { Server as Server$1 } from "net";
|
|
23
22
|
|
|
24
|
-
//#region .dts-emit/code/core/src/
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
//#region .dts-emit/code/core/src/storybook-error.d.ts
|
|
24
|
+
declare abstract class StorybookError extends Error {
|
|
25
|
+
private _name;
|
|
26
|
+
/** Category of the error. Used to classify the type of error, e.g., 'PREVIEW_API'. */
|
|
27
|
+
readonly category: string;
|
|
28
|
+
/** Code representing the error. Used to uniquely identify the error, e.g., 1. */
|
|
29
|
+
readonly code: number;
|
|
30
|
+
/**
|
|
31
|
+
* Data associated with the error. Used to provide additional information in the error message or
|
|
32
|
+
* to be passed to telemetry.
|
|
33
|
+
*/
|
|
34
|
+
readonly data: {};
|
|
35
|
+
/**
|
|
36
|
+
* Specifies the documentation for the error.
|
|
37
|
+
*
|
|
38
|
+
* - If `true`, links to a documentation page on the Forkbook website (make sure it exists before
|
|
39
|
+
* enabling) – This is not implemented yet.
|
|
40
|
+
* - If a string, uses the provided URL for documentation (external or FAQ links).
|
|
41
|
+
* - If `false` (default), no documentation link is added.
|
|
42
|
+
*/
|
|
43
|
+
readonly documentation: boolean | string | string[];
|
|
44
|
+
/** Flag used to easily determine if the error originates from Forkbook. */
|
|
45
|
+
readonly fromStorybook: true;
|
|
46
|
+
/**
|
|
47
|
+
* Marks an error whose message is written for the agent that triggered the call and names its
|
|
48
|
+
* own recovery. Adapters surface such errors verbatim instead of wrapping them as unexpected
|
|
49
|
+
* failures. A property rather than a class list, so the trait travels with the instance across
|
|
50
|
+
* bundle copies where `instanceof` would misclassify.
|
|
51
|
+
*/
|
|
52
|
+
readonly agentFacing: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Flag used to determine if the error is handled by us and should therefore not be shown to the
|
|
55
|
+
* user.
|
|
56
|
+
*/
|
|
57
|
+
isHandledError: boolean;
|
|
58
|
+
get fullErrorCode(): `FB_${string}_${string}`;
|
|
59
|
+
/** Overrides the default `Error.name` property in the format: FB_<CATEGORY>_<CODE>. */
|
|
60
|
+
get name(): string;
|
|
61
|
+
set name(name: string);
|
|
62
|
+
/**
|
|
63
|
+
* A collection of sub errors which relate to a parent error.
|
|
64
|
+
*
|
|
65
|
+
* Sub-errors are used to represent multiple related errors that occurred together. When a
|
|
66
|
+
* StorybookError with sub-errors is sent to telemetry, both the parent error and each sub-error
|
|
67
|
+
* are sent as separate telemetry events. This allows for better error tracking and debugging.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
*
|
|
71
|
+
* ```ts
|
|
72
|
+
* const error1 = new SomeError();
|
|
73
|
+
* const error2 = new AnotherError();
|
|
74
|
+
* const parentError = new ParentError({
|
|
75
|
+
* // ... other props
|
|
76
|
+
* subErrors: [error1, error2],
|
|
77
|
+
* });
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
subErrors: StorybookError[];
|
|
81
|
+
constructor(props: {
|
|
82
|
+
category: string;
|
|
83
|
+
code: number;
|
|
84
|
+
message: string;
|
|
85
|
+
cause?: unknown;
|
|
86
|
+
documentation?: boolean | string | string[];
|
|
87
|
+
isHandledError?: boolean; /** See {@link StorybookError.agentFacing}. Defaults to false. */
|
|
88
|
+
agentFacing?: boolean;
|
|
89
|
+
name: string;
|
|
90
|
+
/**
|
|
91
|
+
* Optional array of sub-errors that are related to this error. When this error is sent to
|
|
92
|
+
* telemetry, each sub-error will be sent as a separate event.
|
|
93
|
+
*/
|
|
94
|
+
subErrors?: StorybookError[];
|
|
95
|
+
});
|
|
96
|
+
/** Generates the error message along with additional documentation link (if applicable). */
|
|
97
|
+
static getFullMessage({
|
|
98
|
+
documentation,
|
|
99
|
+
code,
|
|
100
|
+
category,
|
|
101
|
+
message
|
|
102
|
+
}: ConstructorParameters<typeof StorybookError>[0]): string;
|
|
103
|
+
}
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region .dts-emit/code/core/src/errors/server/category.d.ts
|
|
27
106
|
/**
|
|
28
|
-
*
|
|
107
|
+
* If you can't find a suitable category for your error, create one based on the package name/file
|
|
108
|
+
* path of which the error is thrown. For instance: If it's from `@storybook/node-logger`, then
|
|
109
|
+
* NODE-LOGGER If it's from a package that is too broad, e.g. @aussieljk/forkbook/internal/cli-commands in the init command,
|
|
110
|
+
* then use a combination like CLI_INIT
|
|
29
111
|
*/
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
112
|
+
declare enum Category {
|
|
113
|
+
CLI = "CLI",
|
|
114
|
+
CLI_INIT = "CLI_INIT",
|
|
115
|
+
CLI_ADD = "CLI_ADD",
|
|
116
|
+
CODEMOD = "CODEMOD",
|
|
117
|
+
CORE_SERVER = "CORE-SERVER",
|
|
118
|
+
CSF_PLUGIN = "CSF-PLUGIN",
|
|
119
|
+
CSF_TOOLS = "CSF-TOOLS",
|
|
120
|
+
CORE_COMMON = "CORE-COMMON",
|
|
121
|
+
NODE_LOGGER = "NODE-LOGGER",
|
|
122
|
+
TELEMETRY = "TELEMETRY",
|
|
123
|
+
BUILDER_MANAGER = "BUILDER-MANAGER",
|
|
124
|
+
BUILDER_VITE = "BUILDER-VITE",
|
|
125
|
+
SOURCE_LOADER = "SOURCE-LOADER",
|
|
126
|
+
POSTINSTALL = "POSTINSTALL",
|
|
127
|
+
DOCS_TOOLS = "DOCS-TOOLS",
|
|
128
|
+
FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS",
|
|
129
|
+
FRAMEWORK_REACT_VITE = "FRAMEWORK_REACT-VITE"
|
|
130
|
+
}
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region .dts-emit/code/core/src/errors/server/cli.d.ts
|
|
133
|
+
declare class GenerateNewProjectOnInitError extends StorybookError {
|
|
134
|
+
data: {
|
|
135
|
+
error: unknown | Error;
|
|
136
|
+
packageManager: string;
|
|
137
|
+
projectType: string;
|
|
138
|
+
};
|
|
139
|
+
constructor(data: {
|
|
140
|
+
error: unknown | Error;
|
|
141
|
+
packageManager: string;
|
|
142
|
+
projectType: string;
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
type MinimumReleaseAgeHandledErrorData = {
|
|
146
|
+
message: string;
|
|
147
|
+
cause?: unknown;
|
|
148
|
+
} | {
|
|
149
|
+
packageManagerName: string;
|
|
150
|
+
minimumReleaseAgeConfigName: string;
|
|
151
|
+
minimumReleaseAgeConfigDocs: string;
|
|
152
|
+
minimumReleaseAgeExclusionsConfigName?: string;
|
|
153
|
+
minimumReleaseAgeExclusionsConfigDocs?: string;
|
|
154
|
+
failedPackage?: string | null;
|
|
155
|
+
cause?: unknown;
|
|
36
156
|
};
|
|
157
|
+
declare class MinimumReleaseAgeHandledError extends StorybookError {
|
|
158
|
+
data: MinimumReleaseAgeHandledErrorData;
|
|
159
|
+
constructor(data: MinimumReleaseAgeHandledErrorData);
|
|
160
|
+
}
|
|
161
|
+
declare class AddonVitestPostinstallPrerequisiteCheckError extends StorybookError {
|
|
162
|
+
data: {
|
|
163
|
+
reasons: string[];
|
|
164
|
+
};
|
|
165
|
+
constructor(data: {
|
|
166
|
+
reasons: string[];
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
declare class AddonVitestPostinstallWorkspaceUpdateError extends StorybookError {
|
|
170
|
+
data: {
|
|
171
|
+
filePath: string;
|
|
172
|
+
};
|
|
173
|
+
constructor(data: {
|
|
174
|
+
filePath: string;
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
declare class AddonVitestPostinstallConfigUpdateError extends StorybookError {
|
|
178
|
+
data: {
|
|
179
|
+
filePath: string;
|
|
180
|
+
};
|
|
181
|
+
constructor(data: {
|
|
182
|
+
filePath: string;
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
declare class AddonVitestPostinstallError extends StorybookError {
|
|
186
|
+
data: {
|
|
187
|
+
errors: StorybookError[];
|
|
188
|
+
};
|
|
189
|
+
constructor(data: {
|
|
190
|
+
errors: StorybookError[];
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
//#endregion
|
|
194
|
+
//#region .dts-emit/code/core/src/errors/server/config.d.ts
|
|
195
|
+
declare class NxProjectDetectedError extends StorybookError {
|
|
196
|
+
constructor();
|
|
197
|
+
}
|
|
198
|
+
declare class MissingFrameworkFieldError extends StorybookError {
|
|
199
|
+
constructor();
|
|
200
|
+
}
|
|
201
|
+
declare class InvalidFrameworkNameError extends StorybookError {
|
|
202
|
+
data: {
|
|
203
|
+
frameworkName: string;
|
|
204
|
+
};
|
|
205
|
+
constructor(data: {
|
|
206
|
+
frameworkName: string;
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
declare class CouldNotEvaluateFrameworkError extends StorybookError {
|
|
210
|
+
data: {
|
|
211
|
+
frameworkName: string;
|
|
212
|
+
};
|
|
213
|
+
constructor(data: {
|
|
214
|
+
frameworkName: string;
|
|
215
|
+
});
|
|
216
|
+
}
|
|
217
|
+
declare class ConflictingStaticDirConfigError extends StorybookError {
|
|
218
|
+
constructor();
|
|
219
|
+
}
|
|
220
|
+
declare class InvalidStoriesEntryError extends StorybookError {
|
|
221
|
+
constructor();
|
|
222
|
+
}
|
|
223
|
+
declare class CriticalPresetLoadError extends StorybookError {
|
|
224
|
+
data: {
|
|
225
|
+
error: Error;
|
|
226
|
+
presetName: string;
|
|
227
|
+
};
|
|
228
|
+
constructor(data: {
|
|
229
|
+
error: Error;
|
|
230
|
+
presetName: string;
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
declare class MissingBuilderError extends StorybookError {
|
|
234
|
+
constructor();
|
|
235
|
+
}
|
|
236
|
+
declare class NoMatchingExportError extends StorybookError {
|
|
237
|
+
data: {
|
|
238
|
+
error: unknown | Error;
|
|
239
|
+
};
|
|
240
|
+
constructor(data: {
|
|
241
|
+
error: unknown | Error;
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
declare class MainFileMissingError extends StorybookError {
|
|
245
|
+
data: {
|
|
246
|
+
location: string;
|
|
247
|
+
source?: 'storybook' | 'vitest';
|
|
248
|
+
};
|
|
249
|
+
constructor(data: {
|
|
250
|
+
location: string;
|
|
251
|
+
source?: 'storybook' | 'vitest';
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
declare class MainFileEvaluationError extends StorybookError {
|
|
255
|
+
data: {
|
|
256
|
+
location: string;
|
|
257
|
+
error: Error;
|
|
258
|
+
};
|
|
259
|
+
constructor(data: {
|
|
260
|
+
location: string;
|
|
261
|
+
error: Error;
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
//#endregion
|
|
265
|
+
//#region .dts-emit/code/core/src/errors/server/builder.d.ts
|
|
266
|
+
declare class GoogleFontsDownloadError extends StorybookError {
|
|
267
|
+
data: {
|
|
268
|
+
fontFamily: string;
|
|
269
|
+
url: string;
|
|
270
|
+
};
|
|
271
|
+
constructor(data: {
|
|
272
|
+
fontFamily: string;
|
|
273
|
+
url: string;
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
declare class GoogleFontsLoadingError extends StorybookError {
|
|
277
|
+
data: {
|
|
278
|
+
error: unknown | Error;
|
|
279
|
+
url: string;
|
|
280
|
+
};
|
|
281
|
+
constructor(data: {
|
|
282
|
+
error: unknown | Error;
|
|
283
|
+
url: string;
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
declare class NoStatsForViteDevError extends StorybookError {
|
|
287
|
+
constructor();
|
|
288
|
+
}
|
|
289
|
+
declare class ViteModuleGraphSubscriptionError extends StorybookError {
|
|
290
|
+
constructor();
|
|
291
|
+
}
|
|
292
|
+
declare class IncompatiblePostCssConfigError extends StorybookError {
|
|
293
|
+
data: {
|
|
294
|
+
error: Error;
|
|
295
|
+
};
|
|
296
|
+
constructor(data: {
|
|
297
|
+
error: Error;
|
|
298
|
+
});
|
|
299
|
+
}
|
|
37
300
|
//#endregion
|
|
38
301
|
//#region .dts-emit/code/core/src/manager-api/lib/addons.d.ts
|
|
39
302
|
declare class AddonStore$1 {
|
|
@@ -48,7 +311,7 @@ declare class AddonStore$1 {
|
|
|
48
311
|
ready: () => Promise<Channel>;
|
|
49
312
|
hasChannel: () => boolean;
|
|
50
313
|
setChannel: (channel: Channel) => void;
|
|
51
|
-
getElements<T extends Addon_Types | Addon_TypesEnum$2.experimental_PAGE | Addon_TypesEnum$2.experimental_TEST_PROVIDER>(type: T): Addon_Collection<Addon_TypesMapping[T]
|
|
314
|
+
getElements<T extends Addon_Types | Addon_TypesEnum$2.experimental_PAGE | Addon_TypesEnum$2.experimental_TEST_PROVIDER>(type: T): Addon_Collection<Addon_TypesMapping[T]>;
|
|
52
315
|
/**
|
|
53
316
|
* Adds an addon to the addon store.
|
|
54
317
|
*
|
|
@@ -67,14 +330,14 @@ declare class AddonStore$1 {
|
|
|
67
330
|
* @returns {void}
|
|
68
331
|
*/
|
|
69
332
|
register: (id: string, callback: (api: API) => void) => void;
|
|
70
|
-
loadAddons: (api:
|
|
333
|
+
loadAddons: (api: API) => void;
|
|
71
334
|
experimental_getRegisteredAddons<T extends Addon_Types | Addon_TypesEnum$2.experimental_PAGE | Addon_TypesEnum$2.experimental_TEST_PROVIDER>(type?: T): string[];
|
|
72
335
|
}
|
|
73
336
|
declare const addons$1: AddonStore$1;
|
|
74
337
|
//#endregion
|
|
75
338
|
//#region .dts-emit/code/core/src/manager-api/store.d.ts
|
|
76
339
|
type GetState = () => State;
|
|
77
|
-
type SetState = (
|
|
340
|
+
type SetState = (patch: Partial<State> | ((state: State) => Partial<State>), callback: (state: State) => void) => void;
|
|
78
341
|
interface Upstream {
|
|
79
342
|
/**
|
|
80
343
|
* Whether to allow persistence of state to local/sessionStorage. This is used to disable
|
|
@@ -111,7 +374,8 @@ declare class Store {
|
|
|
111
374
|
}
|
|
112
375
|
//#endregion
|
|
113
376
|
//#region .dts-emit/code/core/src/manager-api/lib/types.d.ts
|
|
114
|
-
|
|
377
|
+
/** `Options` are extra init options that only tests pass, for example `runCheck` for refs. */
|
|
378
|
+
type ModuleFn<APIType = unknown, StateType = unknown, Options = object> = (m: ModuleArgs, options?: Options) => {
|
|
115
379
|
init?: () => void | Promise<void>;
|
|
116
380
|
api: APIType;
|
|
117
381
|
state: StateType;
|
|
@@ -124,6 +388,11 @@ type ModuleArgs = RouterData & API_ProviderData<API> & {
|
|
|
124
388
|
};
|
|
125
389
|
//#endregion
|
|
126
390
|
//#region .dts-emit/code/core/src/manager-api/modules/addons.d.ts
|
|
391
|
+
interface SubState$10 {
|
|
392
|
+
selectedPanel: string | undefined;
|
|
393
|
+
/** The state of each addon, by addon ID. */
|
|
394
|
+
addons: Record<string, unknown>;
|
|
395
|
+
}
|
|
127
396
|
interface SubAPI$13 {
|
|
128
397
|
/**
|
|
129
398
|
* Returns a collection of elements of a specific type.
|
|
@@ -132,7 +401,7 @@ interface SubAPI$13 {
|
|
|
132
401
|
* @param {Addon_Types | Addon_TypesEnum.experimental_PAGE} type - The type of the elements to
|
|
133
402
|
* retrieve.
|
|
134
403
|
* @returns {Addon_Collection<T>} - A collection of elements of the specified type.
|
|
135
|
-
* @protected This is used internally in
|
|
404
|
+
* @protected This is used internally in the Forkbook manager.
|
|
136
405
|
*/
|
|
137
406
|
getElements: <T extends Addon_Types | Addon_TypesEnum.experimental_PAGE | Addon_TypesEnum.experimental_TEST_PROVIDER>(type: T) => Addon_Collection<Addon_TypesMapping[T]>;
|
|
138
407
|
/**
|
|
@@ -144,7 +413,7 @@ interface SubAPI$13 {
|
|
|
144
413
|
*
|
|
145
414
|
* @returns {string} - The ID of the currently selected panel.
|
|
146
415
|
*/
|
|
147
|
-
getSelectedPanel: () => string;
|
|
416
|
+
getSelectedPanel: () => string | undefined;
|
|
148
417
|
/**
|
|
149
418
|
* Sets the currently selected panel via it's ID.
|
|
150
419
|
*
|
|
@@ -208,7 +477,7 @@ interface SubAPI$12 {
|
|
|
208
477
|
* `@aussieljk/forkbook/internal/core-events`.
|
|
209
478
|
* @param args - The arguments to pass to the event listener.
|
|
210
479
|
*/
|
|
211
|
-
emit: (type: string, ...args:
|
|
480
|
+
emit: (type: string, ...args: unknown[]) => void;
|
|
212
481
|
/**
|
|
213
482
|
* Adds a one-time listener to the channel for the given event type.
|
|
214
483
|
*
|
|
@@ -275,6 +544,14 @@ interface SubState$8 {
|
|
|
275
544
|
* entirely (review routes), otherwise it is 'shown' or 'hidden' based on the layout state.
|
|
276
545
|
*/
|
|
277
546
|
type NavAvailability = 'shown' | 'hidden' | 'unavailable';
|
|
547
|
+
/** The UI options that `setOptions` applies: the `options` parameter or the initial options. */
|
|
548
|
+
interface LayoutOptions {
|
|
549
|
+
layout?: Partial<API_Layout>;
|
|
550
|
+
ui?: Partial<API_UI>;
|
|
551
|
+
selectedPanel?: string;
|
|
552
|
+
theme?: Partial<ThemeVars>;
|
|
553
|
+
[key: string]: unknown;
|
|
554
|
+
}
|
|
278
555
|
interface SubAPI$10 {
|
|
279
556
|
/**
|
|
280
557
|
* Toggles the fullscreen mode of the Forkbook UI.
|
|
@@ -325,7 +602,7 @@ interface SubAPI$10 {
|
|
|
325
602
|
*
|
|
326
603
|
* @param options - An object containing the options to set.
|
|
327
604
|
*/
|
|
328
|
-
setOptions: (options:
|
|
605
|
+
setOptions: (options: LayoutOptions | undefined) => void;
|
|
329
606
|
/** Sets the sizes of the resizable elements in the layout. */
|
|
330
607
|
setSizes: (options: Partial<Pick<API_Layout, 'navSize' | 'bottomPanelHeight' | 'rightPanelWidth'>>) => void;
|
|
331
608
|
/** GetIsFullscreen - Returns the current fullscreen mode of the Forkbook UI. */
|
|
@@ -423,7 +700,7 @@ interface SubAPI$6 {
|
|
|
423
700
|
* @param {string} source - The source/URL of the composed ref.
|
|
424
701
|
* @returns {API_ComposedRef} - The composed ref object.
|
|
425
702
|
*/
|
|
426
|
-
findRef: (source: string) => API_ComposedRef;
|
|
703
|
+
findRef: (source: string) => API_ComposedRef | undefined;
|
|
427
704
|
/**
|
|
428
705
|
* Sets a composed ref by its ID and data.
|
|
429
706
|
*
|
|
@@ -471,7 +748,7 @@ interface SubAPI$6 {
|
|
|
471
748
|
//#region .dts-emit/code/core/src/manager-api/modules/settings.d.ts
|
|
472
749
|
interface SubAPI$5 {
|
|
473
750
|
storeSelection: () => void;
|
|
474
|
-
retrieveSelection: () => StoryId$1;
|
|
751
|
+
retrieveSelection: () => StoryId$1 | null;
|
|
475
752
|
/**
|
|
476
753
|
* Changes the active settings tab.
|
|
477
754
|
*
|
|
@@ -620,13 +897,13 @@ interface API_AddonShortcut {
|
|
|
620
897
|
defaultShortcut: API_KeyCollection;
|
|
621
898
|
actionName: string;
|
|
622
899
|
showInMenu?: boolean;
|
|
623
|
-
action: (...args:
|
|
900
|
+
action: (...args: never[]) => unknown;
|
|
624
901
|
}
|
|
625
902
|
type API_AddonShortcuts = Record<string, API_AddonShortcut>;
|
|
626
903
|
type API_AddonShortcutLabels = Record<string, string>;
|
|
627
904
|
type API_AddonShortcutDefaults = Record<string, API_KeyCollection>;
|
|
628
905
|
//#endregion
|
|
629
|
-
//#region .dts-emit/code/core/src/manager-api/modules/stories.d.ts
|
|
906
|
+
//#region .dts-emit/code/core/src/manager-api/modules/stories-types.d.ts
|
|
630
907
|
type Direction = -1 | 1;
|
|
631
908
|
type ParameterName = string;
|
|
632
909
|
type StoryUpdate = Partial<Pick<API_StoryEntry, 'prepared' | 'parameters' | 'initialArgs' | 'argTypes' | 'args'>>;
|
|
@@ -643,6 +920,8 @@ interface SubState$3 extends API_LoadedRefData {
|
|
|
643
920
|
excludedTagFilters: Tag$1[];
|
|
644
921
|
includedStatusFilters: StatusValue[];
|
|
645
922
|
excludedStatusFilters: StatusValue[];
|
|
923
|
+
/** Whether the manager has applied the options of the first prepared story. */
|
|
924
|
+
hasCalledSetOptions: boolean;
|
|
646
925
|
}
|
|
647
926
|
interface SubAPI$3 {
|
|
648
927
|
/**
|
|
@@ -744,13 +1023,13 @@ interface SubAPI$3 {
|
|
|
744
1023
|
* retrieve parameters for, or an object containing the story ID and ref ID.
|
|
745
1024
|
* @param {ParameterName} [parameterName] - The name of the parameter to retrieve. If not
|
|
746
1025
|
* provided, returns all parameters.
|
|
747
|
-
* @returns {
|
|
1026
|
+
* @returns {unknown} The parameters, or the named parameter, for the given story ID and
|
|
748
1027
|
* optional ref ID.
|
|
749
1028
|
*/
|
|
750
1029
|
getParameters: (storyId: StoryId$1 | {
|
|
751
1030
|
storyId: StoryId$1;
|
|
752
1031
|
refId: string;
|
|
753
|
-
}, parameterName?: ParameterName) =>
|
|
1032
|
+
}, parameterName?: ParameterName) => unknown;
|
|
754
1033
|
/**
|
|
755
1034
|
* Returns the current value of the specified parameter for the currently selected story.
|
|
756
1035
|
*
|
|
@@ -811,9 +1090,9 @@ interface SubAPI$3 {
|
|
|
811
1090
|
* @param {API_IndexHash} index - The story index to search for the sibling in.
|
|
812
1091
|
* @param {Direction} direction - The direction to search for the sibling in.
|
|
813
1092
|
* @param {boolean} toSiblingGroup - When true, skips over leafs within the same group.
|
|
814
|
-
* @returns {StoryId} The ID of the sibling story, or
|
|
1093
|
+
* @returns {StoryId | undefined} The ID of the sibling story, or undefined if there is none.
|
|
815
1094
|
*/
|
|
816
|
-
findSiblingStoryId(storyId: StoryId$1, index: API_IndexHash, direction: Direction, toSiblingGroup: boolean): StoryId$1;
|
|
1095
|
+
findSiblingStoryId(storyId: StoryId$1, index: API_IndexHash, direction: Direction, toSiblingGroup: boolean): StoryId$1 | undefined;
|
|
817
1096
|
/**
|
|
818
1097
|
* Fetches the story index from the server.
|
|
819
1098
|
*
|
|
@@ -933,7 +1212,7 @@ interface SubAPI$2 {
|
|
|
933
1212
|
* @param {boolean} [options.inheritGlobals] - Inherit globals from the current URL. Defaults to
|
|
934
1213
|
* true.
|
|
935
1214
|
* @param {QueryParams} [options.queryParams] - Query params to add to the URL.
|
|
936
|
-
* @param {string} [options.refId] - ID of the ref to get the URL for (for composed
|
|
1215
|
+
* @param {string} [options.refId] - ID of the ref to get the URL for (for composed Forkbooks)
|
|
937
1216
|
* @param {string} [options.viewMode] - The view mode to use, defaults to 'story'.
|
|
938
1217
|
* @param {boolean} [options.embed] - Append `embed=true` so the preview broadcasts
|
|
939
1218
|
* content dimensions to an embedding parent via `iframe.resize` postMessage. Affects
|
|
@@ -971,7 +1250,6 @@ interface SubAPI$2 {
|
|
|
971
1250
|
* path: string;
|
|
972
1251
|
* viewMode?: string;
|
|
973
1252
|
* storyId?: string;
|
|
974
|
-
* url: string;
|
|
975
1253
|
* }}
|
|
976
1254
|
* An object containing the current state of the URL.
|
|
977
1255
|
*/
|
|
@@ -981,7 +1259,6 @@ interface SubAPI$2 {
|
|
|
981
1259
|
hash: string;
|
|
982
1260
|
viewMode?: string;
|
|
983
1261
|
storyId?: string;
|
|
984
|
-
url: string;
|
|
985
1262
|
};
|
|
986
1263
|
/**
|
|
987
1264
|
* Set the query parameters for the current URL.
|
|
@@ -1056,17 +1333,17 @@ type SubAPI = {
|
|
|
1056
1333
|
};
|
|
1057
1334
|
//#endregion
|
|
1058
1335
|
//#region .dts-emit/code/core/src/manager-api/lib/request-response.d.ts
|
|
1059
|
-
declare class RequestResponseError<Payload extends Record<string,
|
|
1336
|
+
declare class RequestResponseError<Payload extends Record<string, unknown> | void> extends Error {
|
|
1060
1337
|
payload: Payload | undefined;
|
|
1061
1338
|
constructor(message: string, payload?: Payload);
|
|
1062
1339
|
}
|
|
1063
|
-
declare const experimental_requestResponse: <RequestPayload, ResponsePayload = void, ErrorPayload extends Record<string,
|
|
1340
|
+
declare const experimental_requestResponse: <RequestPayload, ResponsePayload = void, ErrorPayload extends Record<string, unknown> | void = void>(channel: Channel, requestEvent: string, responseEvent: string, payload: RequestPayload, timeout?: number) => Promise<ResponsePayload>;
|
|
1064
1341
|
//#endregion
|
|
1065
1342
|
//#region .dts-emit/code/core/src/manager-api/lib/platform.d.ts
|
|
1066
1343
|
declare const isMacLike: () => boolean;
|
|
1067
1344
|
//#endregion
|
|
1068
1345
|
//#region .dts-emit/code/core/src/manager-api/lib/merge.d.ts
|
|
1069
|
-
declare function _default<TObj
|
|
1346
|
+
declare function _default<TObj extends object>(a: TObj, ...b: Partial<TObj>[]): TObj;
|
|
1070
1347
|
//#endregion
|
|
1071
1348
|
//#region .dts-emit/code/core/src/manager-api/root.d.ts
|
|
1072
1349
|
declare const ActiveTabs: {
|
|
@@ -1078,11 +1355,8 @@ declare const ManagerContext: React$1.Context<{
|
|
|
1078
1355
|
api: API;
|
|
1079
1356
|
state: State;
|
|
1080
1357
|
}>;
|
|
1081
|
-
type State = SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData
|
|
1082
|
-
type API = SubAPI$13 & SubAPI$12 & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$11 & SubAPI$10 & SubAPI$9 & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & SubAPI$8 &
|
|
1083
|
-
interface Other {
|
|
1084
|
-
[key: string]: any;
|
|
1085
|
-
}
|
|
1358
|
+
type State = SubState$10 & SubState$8 & SubState$3 & SubState$6 & SubState$7 & SubState$1 & SubState$2 & SubState$4 & SubState$5 & SubState$9 & SubState & RouterData & API_OptionsData;
|
|
1359
|
+
type API = SubAPI$13 & SubAPI$12 & SubAPI$7 & SubAPI$3 & SubAPI$6 & SubAPI$11 & SubAPI$10 & SubAPI$9 & SubAPI$4 & SubAPI$5 & SubAPI$1 & SubAPI$2 & SubAPI & SubAPI$8 & Pick<RouterData, 'navigate'>;
|
|
1086
1360
|
interface Combo {
|
|
1087
1361
|
api: API;
|
|
1088
1362
|
state: State;
|
|
@@ -1116,7 +1390,7 @@ declare function useStorybookApi(): API;
|
|
|
1116
1390
|
interface API_EventMap {
|
|
1117
1391
|
[eventId: string]: Listener$2;
|
|
1118
1392
|
}
|
|
1119
|
-
declare const useChannel: (eventMap: API_EventMap, deps?:
|
|
1393
|
+
declare const useChannel: (eventMap: API_EventMap, deps?: DependencyList) => (type: string, ...args: unknown[]) => void;
|
|
1120
1394
|
declare function useStoryPrepared(storyId?: StoryId$1): boolean;
|
|
1121
1395
|
declare function useParameter<S>(parameterKey: string, defaultValue?: S): S;
|
|
1122
1396
|
declare function useSharedState<S>(stateId: string, defaultState?: S): [S, (newStateOrMerger: S | API_StateMerger<S>, options?: Options$2) => void];
|
|
@@ -1143,7 +1417,7 @@ type EventInfo = {
|
|
|
1143
1417
|
type Listener$1<TEvent> = (event: TEvent, eventInfo: EventInfo) => void;
|
|
1144
1418
|
type BaseEvent = {
|
|
1145
1419
|
type: string;
|
|
1146
|
-
payload?:
|
|
1420
|
+
payload?: unknown;
|
|
1147
1421
|
};
|
|
1148
1422
|
interface SetStateEvent<TState> extends BaseEvent {
|
|
1149
1423
|
type: typeof UniversalStore.InternalEventType.SET_STATE;
|
|
@@ -1237,13 +1511,7 @@ type EnvironmentOverrides = {
|
|
|
1237
1511
|
* @throws {Error} If a follower is created with initial state
|
|
1238
1512
|
* @throws {Error} If a follower cannot find its leader within 1 second
|
|
1239
1513
|
*/
|
|
1240
|
-
declare class UniversalStore<State, CustomEvent extends {
|
|
1241
|
-
type: string;
|
|
1242
|
-
payload?: any;
|
|
1243
|
-
} = {
|
|
1244
|
-
type: string;
|
|
1245
|
-
payload?: any;
|
|
1246
|
-
}> {
|
|
1514
|
+
declare class UniversalStore<State, CustomEvent extends BaseEvent = BaseEvent> {
|
|
1247
1515
|
/**
|
|
1248
1516
|
* Defines the possible actor types in the store system
|
|
1249
1517
|
*
|
|
@@ -1330,13 +1598,7 @@ declare class UniversalStore<State, CustomEvent extends {
|
|
|
1330
1598
|
private actorType;
|
|
1331
1599
|
protected constructor(options: StoreOptions<State>, environmentOverrides?: EnvironmentOverrides);
|
|
1332
1600
|
/** Creates a new instance of UniversalStore */
|
|
1333
|
-
static create<State = any, CustomEvent extends
|
|
1334
|
-
type: string;
|
|
1335
|
-
payload?: any;
|
|
1336
|
-
} = {
|
|
1337
|
-
type: string;
|
|
1338
|
-
payload?: any;
|
|
1339
|
-
}>(options: StoreOptions<State>): UniversalStore<State, CustomEvent>;
|
|
1601
|
+
static create<State = any, CustomEvent extends BaseEvent = BaseEvent>(options: StoreOptions<State>): UniversalStore<State, CustomEvent>;
|
|
1340
1602
|
/** Gets the current state */
|
|
1341
1603
|
getState: () => State;
|
|
1342
1604
|
/**
|
|
@@ -1382,11 +1644,15 @@ declare class UniversalStore<State, CustomEvent extends {
|
|
|
1382
1644
|
* `@aussieljk/forkbook/preview-api` instead.
|
|
1383
1645
|
*/
|
|
1384
1646
|
declare const useUniversalStore: {
|
|
1385
|
-
<TUniversalStore extends UniversalStore<TState, any>, TState = (TUniversalStore extends UniversalStore<infer S,
|
|
1386
|
-
<TUniversalStore extends UniversalStore<any, any>, TSelectedState, TState = (TUniversalStore extends UniversalStore<infer S,
|
|
1647
|
+
<TUniversalStore extends UniversalStore<TState, any>, TState = (TUniversalStore extends UniversalStore<infer S, infer _CustomEvent> ? S : never)>(universalStore: TUniversalStore): [TState, TUniversalStore['setState']];
|
|
1648
|
+
<TUniversalStore extends UniversalStore<any, any>, TSelectedState, TState = (TUniversalStore extends UniversalStore<infer S, infer _CustomEvent> ? S : never)>(universalStore: TUniversalStore, selector: (state: TState) => TSelectedState): [TSelectedState, TUniversalStore['setState']];
|
|
1387
1649
|
};
|
|
1388
1650
|
//#endregion
|
|
1389
1651
|
//#region .dts-emit/code/core/src/shared/universal-store/mock.d.ts
|
|
1652
|
+
/** The spy factory of a test library, such as `vi` from Vitest or `@aussieljk/forkbook/test`. */
|
|
1653
|
+
type TestUtils = {
|
|
1654
|
+
fn: (implementation: (...args: never[]) => unknown) => unknown;
|
|
1655
|
+
};
|
|
1390
1656
|
/**
|
|
1391
1657
|
* A mock universal store that can be used when testing code that relies on a universal store. It
|
|
1392
1658
|
* functions exactly like a normal universal store, with a few exceptions:
|
|
@@ -1419,23 +1685,11 @@ declare const useUniversalStore: {
|
|
|
1419
1685
|
* }
|
|
1420
1686
|
* ```
|
|
1421
1687
|
*/
|
|
1422
|
-
declare class MockUniversalStore<State, CustomEvent extends {
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
} = {
|
|
1426
|
-
type: string;
|
|
1427
|
-
payload?: any;
|
|
1428
|
-
}> extends UniversalStore<State, CustomEvent> {
|
|
1429
|
-
private testUtils;
|
|
1430
|
-
constructor(options: StoreOptions<State>, testUtils?: any);
|
|
1688
|
+
declare class MockUniversalStore<State, CustomEvent extends BaseEvent = BaseEvent> extends UniversalStore<State, CustomEvent> {
|
|
1689
|
+
private testUtils?;
|
|
1690
|
+
constructor(options: StoreOptions<State>, testUtils?: TestUtils);
|
|
1431
1691
|
/** Create a mock universal store. This is just an alias for the constructor */
|
|
1432
|
-
static create<State = any, CustomEvent extends
|
|
1433
|
-
type: string;
|
|
1434
|
-
payload?: any;
|
|
1435
|
-
} = {
|
|
1436
|
-
type: string;
|
|
1437
|
-
payload?: any;
|
|
1438
|
-
}>(options: StoreOptions<State>, testUtils?: any): MockUniversalStore<State, CustomEvent>;
|
|
1692
|
+
static create<State = any, CustomEvent extends BaseEvent = BaseEvent>(options: StoreOptions<State>, testUtils?: TestUtils): MockUniversalStore<State, CustomEvent>;
|
|
1439
1693
|
unsubscribeAll(): void;
|
|
1440
1694
|
}
|
|
1441
1695
|
//#endregion
|
|
@@ -1828,7 +2082,7 @@ declare function toMcpToolName(method: ToolsetMethodId): string;
|
|
|
1828
2082
|
/**
|
|
1829
2083
|
* Renders how a toolset method is spelled for the active transport.
|
|
1830
2084
|
*
|
|
1831
|
-
* Not a composed-
|
|
2085
|
+
* Not a composed-Forkbook "ref" (`refs` in `main.js`) — the name is the invokable tool/command
|
|
1832
2086
|
* string agents see. Descriptions that tell an agent to call another tool must use this rather
|
|
1833
2087
|
* than hardcoding either spelling.
|
|
1834
2088
|
*/
|
|
@@ -2108,7 +2362,7 @@ type DocsSource = {
|
|
|
2108
2362
|
//#endregion
|
|
2109
2363
|
//#region .dts-emit/code/core/src/shared/open-service/toolsets/docs/definition.d.ts
|
|
2110
2364
|
/**
|
|
2111
|
-
* Which
|
|
2365
|
+
* Which Forkbooks these tools serve — exactly one of the two.
|
|
2112
2366
|
*
|
|
2113
2367
|
* Modelled as an exclusive union so neither "no access at all" nor "both, one silently winning" can
|
|
2114
2368
|
* be constructed: a composition takes a `storybookId` on every lookup and a single Forkbook must
|
|
@@ -2118,7 +2372,7 @@ type CreateDocsToolsetOptions = {
|
|
|
2118
2372
|
/** Reads the one Forkbook these tools serve. */docsAccess: DocsAccess;
|
|
2119
2373
|
sources?: never;
|
|
2120
2374
|
} | {
|
|
2121
|
-
/** The composed
|
|
2375
|
+
/** The composed Forkbooks these tools serve; ids are only unique within a source. */sources: DocsSource[];
|
|
2122
2376
|
docsAccess?: never;
|
|
2123
2377
|
};
|
|
2124
2378
|
type DocsListOutput = {
|
|
@@ -2246,11 +2500,12 @@ declare const previewOutputSchema: v.ObjectSchema<{
|
|
|
2246
2500
|
readonly title: v.StringSchema<undefined>;
|
|
2247
2501
|
readonly name: v.StringSchema<undefined>;
|
|
2248
2502
|
readonly previewUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Direct URL to open the story preview.">]>;
|
|
2503
|
+
readonly iframeUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "URL of the story preview frame without the manager.">]>;
|
|
2249
2504
|
}, undefined>, v.ObjectSchema<{
|
|
2250
2505
|
readonly input: v.UnionSchema<[v.ObjectSchema<{
|
|
2251
2506
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2252
2507
|
[x: string]: any;
|
|
2253
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2508
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2254
2509
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2255
2510
|
[x: string]: any;
|
|
2256
2511
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2260,7 +2515,7 @@ declare const previewOutputSchema: v.ObjectSchema<{
|
|
|
2260
2515
|
}, undefined>, v.ObjectSchema<{
|
|
2261
2516
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2262
2517
|
[x: string]: any;
|
|
2263
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2518
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2264
2519
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2265
2520
|
[x: string]: any;
|
|
2266
2521
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2351,7 +2606,7 @@ declare function createStoriesToolset({
|
|
|
2351
2606
|
readonly stories: v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
2352
2607
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2353
2608
|
[x: string]: any;
|
|
2354
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2609
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2355
2610
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2356
2611
|
[x: string]: any;
|
|
2357
2612
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2361,7 +2616,7 @@ declare function createStoriesToolset({
|
|
|
2361
2616
|
}, undefined>, v.ObjectSchema<{
|
|
2362
2617
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2363
2618
|
[x: string]: any;
|
|
2364
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2619
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2365
2620
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2366
2621
|
[x: string]: any;
|
|
2367
2622
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2393,11 +2648,12 @@ Use IDs discovered from ${string} (withStoryIds=true) or ${string}.`>]>;
|
|
|
2393
2648
|
readonly title: v.StringSchema<undefined>;
|
|
2394
2649
|
readonly name: v.StringSchema<undefined>;
|
|
2395
2650
|
readonly previewUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "Direct URL to open the story preview.">]>;
|
|
2651
|
+
readonly iframeUrl: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.DescriptionAction<string, "URL of the story preview frame without the manager.">]>;
|
|
2396
2652
|
}, undefined>, v.ObjectSchema<{
|
|
2397
2653
|
readonly input: v.UnionSchema<[v.ObjectSchema<{
|
|
2398
2654
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2399
2655
|
[x: string]: any;
|
|
2400
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2656
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2401
2657
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2402
2658
|
[x: string]: any;
|
|
2403
2659
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -2407,7 +2663,7 @@ Use IDs discovered from ${string} (withStoryIds=true) or ${string}.`>]>;
|
|
|
2407
2663
|
}, undefined>, v.ObjectSchema<{
|
|
2408
2664
|
readonly props: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2409
2665
|
[x: string]: any;
|
|
2410
|
-
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-
|
|
2666
|
+
} | undefined, "Optional custom props to pass to the story for rendering. Use this when you don't want to render the default story,\nbut you want to customize some args or other props.\nYou can look up the component's documentation using the get-forkbook-story-instructions tool to see what props are available.">]>;
|
|
2411
2667
|
readonly globals: v.SchemaWithPipe<readonly [v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.AnySchema, undefined>, undefined>, v.DescriptionAction<{
|
|
2412
2668
|
[x: string]: any;
|
|
2413
2669
|
} | undefined, "Optional Forkbook globals to set for the story preview. Globals are used for things like theme, locale, viewport, and other cross-cutting concerns.\nCommon globals include 'theme' (e.g., 'dark', 'light'), 'locale' (e.g., 'en', 'fr'), and 'backgrounds' (e.g., { value: '#000' }).">]>;
|
|
@@ -3147,6 +3403,11 @@ interface BaseIndexEntry {
|
|
|
3147
3403
|
title: ComponentTitle$1;
|
|
3148
3404
|
tags?: Tag$2[];
|
|
3149
3405
|
importPath: Path$1;
|
|
3406
|
+
/**
|
|
3407
|
+
* The `parameters.thumbnail` of the story, or of its meta. A URL, or a path from the Forkbook
|
|
3408
|
+
* root (`thumbnails/...`) for a local file.
|
|
3409
|
+
*/
|
|
3410
|
+
thumbnail?: string;
|
|
3150
3411
|
}
|
|
3151
3412
|
type StoryIndexEntry$1 = BaseIndexEntry & {
|
|
3152
3413
|
type: 'story';
|
|
@@ -3196,7 +3457,8 @@ type BaseIndexInput = {
|
|
|
3196
3457
|
* matched.
|
|
3197
3458
|
*/
|
|
3198
3459
|
metaId?: MetaId; /** Tags for filtering entries in Forkbook and its tools. */
|
|
3199
|
-
tags?: Tag$2[];
|
|
3460
|
+
tags?: Tag$2[]; /** The `parameters.thumbnail` of the story or meta, as written in the file. */
|
|
3461
|
+
thumbnail?: string;
|
|
3200
3462
|
/**
|
|
3201
3463
|
* The id of the entry, auto-generated from {@link title}/{@link metaId} and {@link exportName} if
|
|
3202
3464
|
* unspecified. If specified, the story in the CSF file _must_ have a matching id set at
|
|
@@ -3234,9 +3496,18 @@ interface StoryIndexV3$1 {
|
|
|
3234
3496
|
v: number;
|
|
3235
3497
|
stories: Record<StoryId$2, V3CompatIndexEntry>;
|
|
3236
3498
|
}
|
|
3499
|
+
/** A story file that failed to index. The dev server lists these next to the entries it could index. */
|
|
3500
|
+
interface StoryIndexFileError {
|
|
3501
|
+
/** The first import path of the error, the file to show to the user. */
|
|
3502
|
+
importPath: Path$1;
|
|
3503
|
+
importPaths: Path$1[];
|
|
3504
|
+
message: string;
|
|
3505
|
+
}
|
|
3237
3506
|
interface StoryIndex$1 {
|
|
3238
3507
|
v: number;
|
|
3239
3508
|
entries: Record<StoryId$2, IndexEntry$1>;
|
|
3509
|
+
/** Story files that failed to index. Only the dev server sets this. */
|
|
3510
|
+
errors?: StoryIndexFileError[];
|
|
3240
3511
|
}
|
|
3241
3512
|
//#endregion
|
|
3242
3513
|
//#region .dts-emit/code/core/src/shared/open-service/services/docgen/types.d.ts
|
|
@@ -4006,6 +4277,122 @@ declare enum SupportedRenderer$1 {
|
|
|
4006
4277
|
REACT_NATIVE = "react-native"
|
|
4007
4278
|
}
|
|
4008
4279
|
//#endregion
|
|
4280
|
+
//#region .dts-emit/code/core/src/types/modules/api-stories.d.ts
|
|
4281
|
+
interface API_BaseEntry {
|
|
4282
|
+
id: StoryId$2;
|
|
4283
|
+
depth: number;
|
|
4284
|
+
name: string;
|
|
4285
|
+
tags: Tag$2[];
|
|
4286
|
+
refId?: string;
|
|
4287
|
+
renderAriaLabel?: API_SidebarOptions['renderAriaLabel'];
|
|
4288
|
+
renderLabel?: API_SidebarOptions['renderLabel'];
|
|
4289
|
+
}
|
|
4290
|
+
interface API_RootEntry extends API_BaseEntry {
|
|
4291
|
+
type: 'root';
|
|
4292
|
+
startCollapsed?: boolean;
|
|
4293
|
+
children: StoryId$2[];
|
|
4294
|
+
}
|
|
4295
|
+
interface API_GroupEntry extends API_BaseEntry {
|
|
4296
|
+
type: 'group';
|
|
4297
|
+
parent?: StoryId$2;
|
|
4298
|
+
children: StoryId$2[];
|
|
4299
|
+
}
|
|
4300
|
+
interface API_ComponentEntry extends API_BaseEntry {
|
|
4301
|
+
type: 'component';
|
|
4302
|
+
parent?: StoryId$2;
|
|
4303
|
+
children: StoryId$2[];
|
|
4304
|
+
importPath?: Path$1;
|
|
4305
|
+
}
|
|
4306
|
+
interface API_DocsEntry$1 extends API_BaseEntry {
|
|
4307
|
+
type: 'docs';
|
|
4308
|
+
parent: StoryId$2;
|
|
4309
|
+
title: ComponentTitle$1;
|
|
4310
|
+
importPath: Path$1;
|
|
4311
|
+
prepared: boolean;
|
|
4312
|
+
parameters?: {
|
|
4313
|
+
[parameterName: string]: unknown;
|
|
4314
|
+
};
|
|
4315
|
+
anchors?: DocsAnchor$1[];
|
|
4316
|
+
}
|
|
4317
|
+
interface API_StoryEntry$1 extends API_BaseEntry {
|
|
4318
|
+
type: 'story';
|
|
4319
|
+
subtype: 'story';
|
|
4320
|
+
parent: StoryId$2;
|
|
4321
|
+
title: ComponentTitle$1;
|
|
4322
|
+
importPath: Path$1;
|
|
4323
|
+
exportName: string;
|
|
4324
|
+
prepared: boolean;
|
|
4325
|
+
parameters?: {
|
|
4326
|
+
[parameterName: string]: unknown;
|
|
4327
|
+
};
|
|
4328
|
+
args?: Args$2;
|
|
4329
|
+
argTypes?: ArgTypes$2;
|
|
4330
|
+
initialArgs?: Args$2;
|
|
4331
|
+
children?: StoryId$2[];
|
|
4332
|
+
}
|
|
4333
|
+
interface API_TestEntry$1 extends Omit<API_StoryEntry$1, 'subtype' | 'children' | 'parent'> {
|
|
4334
|
+
parent: StoryId$2;
|
|
4335
|
+
subtype: 'test';
|
|
4336
|
+
}
|
|
4337
|
+
type API_LeafEntry$1 = API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
|
|
4338
|
+
/**
|
|
4339
|
+
* Runtime enrichment for a composed ref's stories/docs, keyed by entry id. These fields come from
|
|
4340
|
+
* the ref preview's STORY_PREPARED / DOCS_PREPARED events and are not part of the ref's static story
|
|
4341
|
+
* index, so they are cached per ref and re-applied whenever the ref index is (re)built.
|
|
4342
|
+
*/
|
|
4343
|
+
type API_RefStoryRuntimeData = Record<StoryId$2, Partial<Pick<API_StoryEntry$1, 'prepared' | 'parameters' | 'args' | 'argTypes' | 'initialArgs'>>>;
|
|
4344
|
+
type API_HashEntry$1 = API_RootEntry | API_GroupEntry | API_ComponentEntry | API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
|
|
4345
|
+
/**
|
|
4346
|
+
* The `IndexHash` is our manager-side representation of the `StoryIndex`. We create entries in the
|
|
4347
|
+
* hash not only for each story or docs entry, but also for each "group" of the component (split on
|
|
4348
|
+
* '/'), as that's how things are manipulated in parts of the manager (i.e. in search).
|
|
4349
|
+
*/
|
|
4350
|
+
interface API_IndexHash$1 {
|
|
4351
|
+
[id: string]: API_HashEntry$1;
|
|
4352
|
+
}
|
|
4353
|
+
type API_PreparedIndexEntry = IndexEntry$1 & {
|
|
4354
|
+
parameters?: Parameters$2;
|
|
4355
|
+
argTypes?: ArgTypes$2;
|
|
4356
|
+
args?: Args$2;
|
|
4357
|
+
initialArgs?: Args$2;
|
|
4358
|
+
};
|
|
4359
|
+
interface API_PreparedStoryIndex$1 {
|
|
4360
|
+
v: number;
|
|
4361
|
+
entries: Record<StoryId$2, API_PreparedIndexEntry>;
|
|
4362
|
+
}
|
|
4363
|
+
type API_OptionsData$1 = {
|
|
4364
|
+
docsOptions: DocsOptions$1;
|
|
4365
|
+
};
|
|
4366
|
+
interface API_ReleaseNotes {
|
|
4367
|
+
success?: boolean;
|
|
4368
|
+
currentVersion?: string;
|
|
4369
|
+
showOnFirstLaunch?: boolean;
|
|
4370
|
+
}
|
|
4371
|
+
interface API_Settings$1 {
|
|
4372
|
+
/** The last story that the manager showed, or `null` before it showed one. */
|
|
4373
|
+
lastTrackedStoryId: string | null;
|
|
4374
|
+
}
|
|
4375
|
+
interface API_Version$1 {
|
|
4376
|
+
version: string;
|
|
4377
|
+
info?: {
|
|
4378
|
+
plain: string;
|
|
4379
|
+
};
|
|
4380
|
+
[key: string]: unknown;
|
|
4381
|
+
}
|
|
4382
|
+
interface API_UnknownEntries$1 {
|
|
4383
|
+
[key: string]: {
|
|
4384
|
+
[key: string]: unknown;
|
|
4385
|
+
};
|
|
4386
|
+
}
|
|
4387
|
+
interface API_Versions$2 {
|
|
4388
|
+
latest?: API_Version$1;
|
|
4389
|
+
next?: API_Version$1;
|
|
4390
|
+
current?: API_Version$1;
|
|
4391
|
+
}
|
|
4392
|
+
type API_FilterFunction$1 = (item: API_PreparedIndexEntry & {
|
|
4393
|
+
statuses: StatusByTypeId;
|
|
4394
|
+
}) => boolean;
|
|
4395
|
+
//#endregion
|
|
4009
4396
|
//#region .dts-emit/code/core/src/types/modules/core-common.d.ts
|
|
4010
4397
|
/** ⚠️ This file contains internal WIP types they MUST NOT be exported outside this package for now! */
|
|
4011
4398
|
type BuilderName = string;
|
|
@@ -4013,18 +4400,31 @@ type RendererName = string;
|
|
|
4013
4400
|
interface CoreConfig$1 {
|
|
4014
4401
|
builder?: BuilderName | {
|
|
4015
4402
|
name: BuilderName;
|
|
4016
|
-
options?: Record<string,
|
|
4403
|
+
options?: Record<string, unknown>;
|
|
4017
4404
|
};
|
|
4018
4405
|
renderer?: RendererName;
|
|
4019
4406
|
channelOptions?: Partial<Options$3> & {
|
|
4020
4407
|
wsToken?: string;
|
|
4408
|
+
basePath?: string;
|
|
4021
4409
|
};
|
|
4022
|
-
/**
|
|
4023
|
-
|
|
4410
|
+
/**
|
|
4411
|
+
* The URL path that Forkbook mounts everything under (manager, index.json, manifests, statics and
|
|
4412
|
+
* the channel at `<basePath>/fb-channel`). The `--base-path` CLI flag has priority.
|
|
4413
|
+
*
|
|
4414
|
+
* @default '/_forkbook'
|
|
4415
|
+
*/
|
|
4416
|
+
basePath?: string;
|
|
4417
|
+
/**
|
|
4418
|
+
* When true, `forkbook build` writes the static build to `public<basePath>` (for example
|
|
4419
|
+
* `public/_forkbook`), so the host app serves it at the base path. An `--output-dir` has priority.
|
|
4420
|
+
*
|
|
4421
|
+
* @default false
|
|
4422
|
+
*/
|
|
4423
|
+
buildToPublic?: boolean;
|
|
4024
4424
|
/**
|
|
4025
4425
|
* Disables Forkbook telemetry
|
|
4026
4426
|
*
|
|
4027
|
-
* @see https://
|
|
4427
|
+
* @see https://forkbook.ljk.dev/telemetry
|
|
4028
4428
|
*/
|
|
4029
4429
|
disableTelemetry?: boolean;
|
|
4030
4430
|
/** Disables notifications for Forkbook updates. */
|
|
@@ -4032,7 +4432,7 @@ interface CoreConfig$1 {
|
|
|
4032
4432
|
/**
|
|
4033
4433
|
* Enable crash reports to be sent to Forkbook telemetry
|
|
4034
4434
|
*
|
|
4035
|
-
* @see https://
|
|
4435
|
+
* @see https://forkbook.ljk.dev/telemetry
|
|
4036
4436
|
*/
|
|
4037
4437
|
enableCrashReports?: boolean;
|
|
4038
4438
|
/**
|
|
@@ -4058,32 +4458,33 @@ interface DirectoryMapping {
|
|
|
4058
4458
|
to: string;
|
|
4059
4459
|
}
|
|
4060
4460
|
interface Presets$1 {
|
|
4061
|
-
apply(extension: 'typescript', config: TypescriptOptions
|
|
4062
|
-
apply(extension: 'framework', config?: {}, args?:
|
|
4063
|
-
apply(extension: 'babel', config?: {}, args?:
|
|
4064
|
-
apply(extension: 'swc', config?: {}, args?:
|
|
4065
|
-
apply(extension: 'entries', config?: [], args?:
|
|
4066
|
-
apply(extension: 'env', config?: {}, args?:
|
|
4067
|
-
apply(extension: 'stories', config?: [], args?:
|
|
4068
|
-
apply(extension: 'managerEntries', config: [], args?:
|
|
4069
|
-
apply(extension: 'refs', config?: [], args?:
|
|
4070
|
-
apply(extension: 'core', config?: StorybookConfigRaw$1['core'], args?:
|
|
4071
|
-
apply(extension: 'docs', config?: StorybookConfigRaw$1['docs'], args?:
|
|
4072
|
-
apply(extension: 'features', config?: StorybookConfigRaw$1['features'], args?:
|
|
4073
|
-
apply(extension: 'typescript', config?: StorybookConfigRaw$1['typescript'], args?:
|
|
4074
|
-
apply(extension: 'build', config?: StorybookConfigRaw$1['build'], args?:
|
|
4075
|
-
apply(extension: 'staticDirs', config?: StorybookConfigRaw$1['staticDirs'], args?:
|
|
4076
|
-
apply(extension: 'services', config?: StorybookConfigRaw$1['services'], args?:
|
|
4077
|
-
apply(extension: 'experimental_docgenProvider', config: DocgenProviderDescriptor[], args?:
|
|
4078
|
-
apply(extension: 'experimental_storyDocsProvider', config: StoryDocsProvider, args?:
|
|
4461
|
+
apply(extension: 'typescript', config: TypescriptOptions, args?: Options$1): Promise<TypescriptOptions>;
|
|
4462
|
+
apply(extension: 'framework', config?: {}, args?: unknown): Promise<Preset>;
|
|
4463
|
+
apply(extension: 'babel', config?: {}, args?: unknown): Promise<unknown>;
|
|
4464
|
+
apply(extension: 'swc', config?: {}, args?: unknown): Promise<unknown>;
|
|
4465
|
+
apply(extension: 'entries', config?: [], args?: unknown): Promise<unknown>;
|
|
4466
|
+
apply(extension: 'env', config?: {}, args?: unknown): Promise<Record<string, string>>;
|
|
4467
|
+
apply(extension: 'stories', config?: [], args?: unknown): Promise<StoriesEntry$1[]>;
|
|
4468
|
+
apply(extension: 'managerEntries', config: [], args?: unknown): Promise<string[]>;
|
|
4469
|
+
apply(extension: 'refs', config?: [], args?: unknown): Promise<StorybookConfigRaw$1['refs']>;
|
|
4470
|
+
apply(extension: 'core', config?: StorybookConfigRaw$1['core'], args?: unknown): Promise<NonNullable<StorybookConfigRaw$1['core']>>;
|
|
4471
|
+
apply(extension: 'docs', config?: StorybookConfigRaw$1['docs'], args?: unknown): Promise<NonNullable<StorybookConfigRaw$1['docs']>>;
|
|
4472
|
+
apply(extension: 'features', config?: StorybookConfigRaw$1['features'], args?: unknown): Promise<NonNullable<StorybookConfigRaw$1['features']>>;
|
|
4473
|
+
apply(extension: 'typescript', config?: StorybookConfigRaw$1['typescript'], args?: unknown): Promise<NonNullable<StorybookConfigRaw$1['typescript']>>;
|
|
4474
|
+
apply(extension: 'build', config?: StorybookConfigRaw$1['build'], args?: unknown): Promise<NonNullable<StorybookConfigRaw$1['build']>>;
|
|
4475
|
+
apply(extension: 'staticDirs', config?: StorybookConfigRaw$1['staticDirs'], args?: unknown): Promise<StorybookConfigRaw$1['staticDirs']>;
|
|
4476
|
+
apply(extension: 'services', config?: StorybookConfigRaw$1['services'], args?: unknown): Promise<void>;
|
|
4477
|
+
apply(extension: 'experimental_docgenProvider', config: DocgenProviderDescriptor[], args?: unknown): Promise<DocgenProviderDescriptor[]>;
|
|
4478
|
+
apply(extension: 'experimental_storyDocsProvider', config: StoryDocsProvider, args?: unknown): Promise<StoryDocsProvider>;
|
|
4079
4479
|
/** The second and third parameter are not needed. And make type inference easier. */
|
|
4080
4480
|
apply<T extends keyof StorybookConfigRaw$1>(extension: T): Promise<StorybookConfigRaw$1[T]>;
|
|
4081
4481
|
apply<T>(extension: string, config?: T, args?: unknown): Promise<T>;
|
|
4082
4482
|
}
|
|
4083
4483
|
interface LoadedPreset$1 {
|
|
4084
4484
|
name: string;
|
|
4085
|
-
preset
|
|
4086
|
-
|
|
4485
|
+
/** The preset's exports, other than `addons` and `presets`. */
|
|
4486
|
+
preset: Record<string, unknown>;
|
|
4487
|
+
options: Record<string, unknown>;
|
|
4087
4488
|
}
|
|
4088
4489
|
type PresetConfig$1 = string | {
|
|
4089
4490
|
name: string;
|
|
@@ -4092,16 +4493,16 @@ type PresetConfig$1 = string | {
|
|
|
4092
4493
|
interface Ref$2 {
|
|
4093
4494
|
id: string;
|
|
4094
4495
|
url: string;
|
|
4095
|
-
title
|
|
4096
|
-
version
|
|
4496
|
+
title?: string;
|
|
4497
|
+
version?: string;
|
|
4097
4498
|
type?: string;
|
|
4098
4499
|
disable?: boolean;
|
|
4099
4500
|
}
|
|
4100
4501
|
interface VersionCheck {
|
|
4101
4502
|
success: boolean;
|
|
4102
4503
|
cached: boolean;
|
|
4103
|
-
data?:
|
|
4104
|
-
error?:
|
|
4504
|
+
data?: API_Versions$2;
|
|
4505
|
+
error?: unknown;
|
|
4105
4506
|
time: number;
|
|
4106
4507
|
}
|
|
4107
4508
|
interface Stats {
|
|
@@ -4135,7 +4536,21 @@ interface ModuleResolveConfig {
|
|
|
4135
4536
|
/** Conditions for package `exports` resolution. */
|
|
4136
4537
|
conditions?: string[];
|
|
4137
4538
|
}
|
|
4138
|
-
|
|
4539
|
+
/**
|
|
4540
|
+
* A `package.json`. It has the known fields of type-fest's `PackageJson` and the fields Forkbook
|
|
4541
|
+
* reads, but not type-fest's `JsonObject` index signature, because type-fest's own `overrides`
|
|
4542
|
+
* type does not fit that signature.
|
|
4543
|
+
*/
|
|
4544
|
+
type PackageJson$2 = PackageJson$3.NodeJsStandard & PackageJson$3.PackageJsonStandard & PackageJson$3.NonStandardEntryPoints & PackageJson$3.TypeScriptConfiguration & PackageJson$3.YarnConfiguration & PackageJson$3.JSPMConfiguration & {
|
|
4545
|
+
/** The legacy ESLint config. */eslintConfig?: {
|
|
4546
|
+
extends?: string | string[];
|
|
4547
|
+
[key: string]: unknown;
|
|
4548
|
+
}; /** The Forkbook that the package ships for composition. */
|
|
4549
|
+
storybook?: {
|
|
4550
|
+
url?: string;
|
|
4551
|
+
title?: string;
|
|
4552
|
+
};
|
|
4553
|
+
} & Record<string, unknown>;
|
|
4139
4554
|
interface LoadOptions$1 {
|
|
4140
4555
|
packageJson?: PackageJson$2;
|
|
4141
4556
|
outputDir?: string;
|
|
@@ -4171,6 +4586,10 @@ interface CLIOptions$1 extends CLIBaseOptions {
|
|
|
4171
4586
|
statsJson?: string | boolean;
|
|
4172
4587
|
outputDir?: string;
|
|
4173
4588
|
previewOnly?: boolean;
|
|
4589
|
+
/** See `CoreConfig.basePath`. After the config loads, this is the normalised base path. */
|
|
4590
|
+
basePath?: string;
|
|
4591
|
+
/** See `CoreConfig.buildToPublic`. */
|
|
4592
|
+
buildToPublic?: boolean;
|
|
4174
4593
|
}
|
|
4175
4594
|
interface BuilderOptions$1 {
|
|
4176
4595
|
configType?: 'DEVELOPMENT' | 'PRODUCTION';
|
|
@@ -4191,20 +4610,20 @@ interface StorybookConfigOptions {
|
|
|
4191
4610
|
type Options$1 = LoadOptions$1 & StorybookConfigOptions & CLIOptions$1 & BuilderOptions$1 & {
|
|
4192
4611
|
build?: TestBuildConfig;
|
|
4193
4612
|
};
|
|
4194
|
-
type Middleware<T extends IncomingMessage = IncomingMessage> = (req: T & IncomingMessage, res: ServerResponse, next: (err?: string | Error) => Promise<void> | void) => Promise<void> | void;
|
|
4613
|
+
type Middleware$1<T extends IncomingMessage = IncomingMessage> = (req: T & IncomingMessage, res: ServerResponse, next: (err?: string | Error) => Promise<void> | void) => Promise<void> | void;
|
|
4195
4614
|
interface ServerApp<T extends IncomingMessage = IncomingMessage> {
|
|
4196
4615
|
server: Server$1;
|
|
4197
|
-
use(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4198
|
-
use(...handlers: Middleware<T>[]): this;
|
|
4199
|
-
get(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4200
|
-
post(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4201
|
-
put(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4202
|
-
patch(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4203
|
-
delete(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4204
|
-
head(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4205
|
-
options(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4206
|
-
connect(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4207
|
-
trace(pattern: RegExp | string, ...handlers: Middleware<T>[]): this;
|
|
4616
|
+
use(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4617
|
+
use(...handlers: Middleware$1<T>[]): this;
|
|
4618
|
+
get(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4619
|
+
post(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4620
|
+
put(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4621
|
+
patch(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4622
|
+
delete(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4623
|
+
head(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4624
|
+
options(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4625
|
+
connect(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4626
|
+
trace(pattern: RegExp | string, ...handlers: Middleware$1<T>[]): this;
|
|
4208
4627
|
}
|
|
4209
4628
|
interface Builder$1<Config, BuilderStats extends Stats = Stats> {
|
|
4210
4629
|
getConfig: (options: Options$1) => Promise<Config>;
|
|
@@ -4238,7 +4657,7 @@ interface Builder$1<Config, BuilderStats extends Stats = Stats> {
|
|
|
4238
4657
|
changeDetectionAdapter?(options?: Options$1): ChangeDetectionAdapter;
|
|
4239
4658
|
}
|
|
4240
4659
|
/** Options for TypeScript usage within Forkbook. */
|
|
4241
|
-
interface TypescriptOptions
|
|
4660
|
+
interface TypescriptOptions {
|
|
4242
4661
|
/**
|
|
4243
4662
|
* Enables type checking within Forkbook.
|
|
4244
4663
|
*
|
|
@@ -4254,7 +4673,7 @@ interface TypescriptOptions$1 {
|
|
|
4254
4673
|
}
|
|
4255
4674
|
type Preset = string | {
|
|
4256
4675
|
name: string;
|
|
4257
|
-
options?:
|
|
4676
|
+
options?: Record<string, unknown>;
|
|
4258
4677
|
};
|
|
4259
4678
|
/** An additional script that gets injected into the preview or the manager, */
|
|
4260
4679
|
type Entry = string;
|
|
@@ -4446,7 +4865,7 @@ interface StorybookFeatures {
|
|
|
4446
4865
|
/**
|
|
4447
4866
|
* @temporary This feature flag is a migration assistant, and is scheduled to be removed.
|
|
4448
4867
|
*
|
|
4449
|
-
* Set NODE_ENV to development in built
|
|
4868
|
+
* Set NODE_ENV to development in built Forkbooks for better testability and debuggability
|
|
4450
4869
|
*/
|
|
4451
4870
|
developmentModeForBuild?: boolean;
|
|
4452
4871
|
/**
|
|
@@ -4483,7 +4902,7 @@ interface StorybookFeatures {
|
|
|
4483
4902
|
/**
|
|
4484
4903
|
* Keep Vite from merging the pre-split preview runtime back into one output chunk.
|
|
4485
4904
|
*
|
|
4486
|
-
* Webpack always serves the chunked `dist/preview` at `/
|
|
4905
|
+
* Webpack always serves the chunked `dist/preview` at `/fb-preview`. This flag only
|
|
4487
4906
|
* affects the Vite production build: Rolldown `maxSize` on Vite 8, and on Vite 5–7
|
|
4488
4907
|
* Rollup pins each pre-split preview module to its own chunk.
|
|
4489
4908
|
*
|
|
@@ -4497,10 +4916,10 @@ interface SecurityConfig {
|
|
|
4497
4916
|
* In dev mode, the manager and preview can only be embedded by a website running on localhost.
|
|
4498
4917
|
* This prevents attacks that hijack a local Forkbook embedded in an iframe from a malicious domain.
|
|
4499
4918
|
*
|
|
4500
|
-
* If you need remote
|
|
4919
|
+
* If you need remote Forkbooks to compose this Forkbook while it is running in dev mode,
|
|
4501
4920
|
* you may set `insecureRemoteIframeEmbed` to `true`.
|
|
4502
4921
|
*
|
|
4503
|
-
* Built
|
|
4922
|
+
* Built Forkbooks can still be embedded and composed without restrictions, and don't need
|
|
4504
4923
|
* this flag.
|
|
4505
4924
|
*
|
|
4506
4925
|
* @default false
|
|
@@ -4511,7 +4930,7 @@ interface SecurityConfig {
|
|
|
4511
4930
|
* only accepts messages from its own preview iframes. In dev mode, a preview only accepts
|
|
4512
4931
|
* messages from a manager on localhost, and both send messages only to the expected origin.
|
|
4513
4932
|
*
|
|
4514
|
-
* If you need remote
|
|
4933
|
+
* If you need remote Forkbooks to compose this Forkbook while it is running in dev mode,
|
|
4515
4934
|
* you may set `insecureIframeMessaging` to `true`.
|
|
4516
4935
|
*
|
|
4517
4936
|
* Built previews accept messages from any origin, so composing a built Forkbook doesn't need
|
|
@@ -4521,6 +4940,34 @@ interface SecurityConfig {
|
|
|
4521
4940
|
*/
|
|
4522
4941
|
insecureIframeMessaging?: boolean;
|
|
4523
4942
|
}
|
|
4943
|
+
/** The options for the start page at `/`. See `root` in the main config. */
|
|
4944
|
+
type RootPageOptions = false | {
|
|
4945
|
+
/** An MDX file for the start page, relative to the config folder. */mdx?: string;
|
|
4946
|
+
/**
|
|
4947
|
+
* `above` (default): the MDX shows above the grid of components. `replace`: only the MDX
|
|
4948
|
+
* shows.
|
|
4949
|
+
*/
|
|
4950
|
+
mode?: 'above' | 'replace';
|
|
4951
|
+
};
|
|
4952
|
+
/** A change to one file of the story index. */
|
|
4953
|
+
interface StoryIndexInvalidationEvent {
|
|
4954
|
+
importPath: string;
|
|
4955
|
+
/** The file was not in the index before. */
|
|
4956
|
+
added: boolean;
|
|
4957
|
+
/** The file was in the index and is now removed. */
|
|
4958
|
+
removed: boolean;
|
|
4959
|
+
}
|
|
4960
|
+
type StoryIndexInvalidationListener = (event?: StoryIndexInvalidationEvent) => void;
|
|
4961
|
+
/**
|
|
4962
|
+
* The parts of the story index generator (the `storyIndexGenerator` preset) that presets and
|
|
4963
|
+
* builders use. The `StoryIndexGenerator` class in `core-server` implements it.
|
|
4964
|
+
*/
|
|
4965
|
+
interface StoryIndexGeneratorApi$1 {
|
|
4966
|
+
getIndex(): Promise<StoryIndex$1>;
|
|
4967
|
+
invalidate(importPath: string, removed: boolean): void;
|
|
4968
|
+
invalidateAll(): void;
|
|
4969
|
+
onInvalidated(listener: StoryIndexInvalidationListener): () => void;
|
|
4970
|
+
}
|
|
4524
4971
|
interface StorybookConfigRaw$1 {
|
|
4525
4972
|
/**
|
|
4526
4973
|
* Sets the addons you want to use with Forkbook.
|
|
@@ -4546,12 +4993,12 @@ interface StorybookConfigRaw$1 {
|
|
|
4546
4993
|
build?: TestBuildConfig;
|
|
4547
4994
|
stories: StoriesEntry$1[];
|
|
4548
4995
|
framework?: Preset;
|
|
4549
|
-
typescript?: Partial<TypescriptOptions
|
|
4996
|
+
typescript?: Partial<TypescriptOptions>;
|
|
4550
4997
|
refs?: CoreCommon_StorybookRefs;
|
|
4551
|
-
babel?:
|
|
4552
|
-
swc?:
|
|
4998
|
+
babel?: unknown;
|
|
4999
|
+
swc?: unknown;
|
|
4553
5000
|
env?: Record<string, string>;
|
|
4554
|
-
babelDefault?:
|
|
5001
|
+
babelDefault?: unknown;
|
|
4555
5002
|
previewAnnotations?: Entry[];
|
|
4556
5003
|
experimental_indexers?: Indexer$1[];
|
|
4557
5004
|
/**
|
|
@@ -4566,7 +5013,7 @@ interface StorybookConfigRaw$1 {
|
|
|
4566
5013
|
* @experimental Subject to change before stable release.
|
|
4567
5014
|
*/
|
|
4568
5015
|
experimental_importParsers?: ImportParser[] | ((existing: ImportParser[]) => ImportParser[] | Promise<ImportParser[]>);
|
|
4569
|
-
storyIndexGenerator?:
|
|
5016
|
+
storyIndexGenerator?: StoryIndexGeneratorApi$1;
|
|
4570
5017
|
experimental_devServer?: ServerApp;
|
|
4571
5018
|
docs?: DocsOptions$1;
|
|
4572
5019
|
previewHead?: string;
|
|
@@ -4574,13 +5021,14 @@ interface StorybookConfigRaw$1 {
|
|
|
4574
5021
|
previewMainTemplate?: string;
|
|
4575
5022
|
managerHead?: string;
|
|
4576
5023
|
tags?: TagsOptions$1;
|
|
5024
|
+
root?: RootPageOptions;
|
|
4577
5025
|
services?: void;
|
|
4578
5026
|
}
|
|
4579
5027
|
/**
|
|
4580
5028
|
* The interface for Forkbook configuration in `main.ts` files. This interface is public All values
|
|
4581
5029
|
* should be wrapped with `PresetValue<>`, though there are a few exceptions: `addons`, `framework`
|
|
4582
5030
|
*/
|
|
4583
|
-
interface
|
|
5031
|
+
interface ForkbookConfig$1 {
|
|
4584
5032
|
/**
|
|
4585
5033
|
* Sets the addons you want to use with Forkbook.
|
|
4586
5034
|
*
|
|
@@ -4669,6 +5117,21 @@ interface StorybookConfig$1 {
|
|
|
4669
5117
|
managerHead?: PresetValue<StorybookConfigRaw$1['managerHead']>;
|
|
4670
5118
|
/** Configure non-standard tag behaviors */
|
|
4671
5119
|
tags?: PresetValue<StorybookConfigRaw$1['tags']>;
|
|
5120
|
+
/**
|
|
5121
|
+
* The start page at `/`. By default it shows a grid of cards, one for each component.
|
|
5122
|
+
*
|
|
5123
|
+
* - `false`: no start page. `/` opens the first story.
|
|
5124
|
+
* - `{ mdx }`: an MDX file (relative to the config folder) that shows above the grid.
|
|
5125
|
+
* - `{ mdx, mode: 'replace' }`: the MDX file is the full page. Put `<StoryGrid />` from
|
|
5126
|
+
* `@aussieljk/forkbook/addon-docs/blocks` in the MDX to show the grid.
|
|
5127
|
+
*
|
|
5128
|
+
* @example
|
|
5129
|
+
*
|
|
5130
|
+
* ```ts
|
|
5131
|
+
* root: { mdx: './Home.mdx', mode: 'above' };
|
|
5132
|
+
* ```
|
|
5133
|
+
*/
|
|
5134
|
+
root?: PresetValue<StorybookConfigRaw$1['root']>;
|
|
4672
5135
|
/** Run open-service registration side effects for the server environment. */
|
|
4673
5136
|
services?: PresetValue<StorybookConfigRaw$1['services']>;
|
|
4674
5137
|
/**
|
|
@@ -4702,7 +5165,7 @@ interface CoreCommon_ResolvedAddonVirtual$1 {
|
|
|
4702
5165
|
previewAnnotations?: PreviewAnnotation[];
|
|
4703
5166
|
presets?: (string | {
|
|
4704
5167
|
name: string;
|
|
4705
|
-
options?:
|
|
5168
|
+
options?: unknown;
|
|
4706
5169
|
})[];
|
|
4707
5170
|
}
|
|
4708
5171
|
type CoreCommon_OptionsEntry = {
|
|
@@ -10596,7 +11059,7 @@ interface TypedGetService<TMap> {
|
|
|
10596
11059
|
* The reference is stable as long as `service` and `commandName` do not change, so it is
|
|
10597
11060
|
* safe to pass to child components or include in effect dependency arrays.
|
|
10598
11061
|
*/
|
|
10599
|
-
type CommandFn<TCommands, TKey extends keyof TCommands> = TCommands[TKey] extends ((...args:
|
|
11062
|
+
type CommandFn<TCommands, TKey extends keyof TCommands> = TCommands[TKey] extends ((...args: never[]) => unknown) ? TCommands[TKey] : never;
|
|
10600
11063
|
/**
|
|
10601
11064
|
* Returns a stable reference to the named service command.
|
|
10602
11065
|
*
|
|
@@ -10608,164 +11071,49 @@ type CommandFn<TCommands, TKey extends keyof TCommands> = TCommands[TKey] extend
|
|
|
10608
11071
|
* const assignField = useServiceCommand(service, 'assignRecordField');
|
|
10609
11072
|
*
|
|
10610
11073
|
* return (
|
|
10611
|
-
* <button onClick={() => assignField({ entryId: 'a', fieldKey: 'x', fieldValue: 'y' })}>
|
|
10612
|
-
* Update
|
|
10613
|
-
* </button>
|
|
10614
|
-
* );
|
|
10615
|
-
* ```
|
|
10616
|
-
*/
|
|
10617
|
-
declare function useServiceCommand<TInstance extends {
|
|
10618
|
-
commands: Record<string, (input:
|
|
10619
|
-
}, TKey extends keyof TInstance['commands'] & string>(service: TInstance, commandName: TKey): CommandFn<TInstance['commands'], TKey>;
|
|
10620
|
-
//#endregion
|
|
10621
|
-
//#region .dts-emit/code/core/src/shared/open-service/use-service-query.d.ts
|
|
10622
|
-
/**
|
|
10623
|
-
* Subscribe to a service query and receive reactive {@link QueryState} updates in a React component.
|
|
10624
|
-
*
|
|
10625
|
-
* Pass the query directly (e.g. `myService.queries.thing`) so its input/output types infer per
|
|
10626
|
-
* query. The service must exist: if it may be absent (e.g. behind a feature flag), guard at a parent
|
|
10627
|
-
* and conditionally render the component that calls this hook.
|
|
10628
|
-
*
|
|
10629
|
-
* A void-input query needs no input argument. As soon as a selector is involved the input is
|
|
10630
|
-
* positional, so a void-input query passes `undefined` explicitly:
|
|
10631
|
-
* `useServiceQuery(query, undefined, selector)`.
|
|
10632
|
-
*
|
|
10633
|
-
* @example
|
|
10634
|
-
* ```tsx
|
|
10635
|
-
* const { data, isInitialLoading, isError } = useServiceQuery(recordService.queries.recordFields, {
|
|
10636
|
-
* entryId: 'a',
|
|
10637
|
-
* });
|
|
10638
|
-
* ```
|
|
10639
|
-
*/
|
|
10640
|
-
declare function useServiceQuery<TOutput>(query: Query<void, TOutput>): QueryState<TOutput>;
|
|
10641
|
-
declare function useServiceQuery<TInput, TOutput>(query: Query<TInput, TOutput>, input: TInput): QueryState<TOutput>;
|
|
10642
|
-
declare function useServiceQuery<TInput, TOutput, TSelected>(query: Query<TInput, TOutput>, input: TInput, selector: (value: TOutput) => TSelected): QueryState<TSelected>;
|
|
10643
|
-
//#endregion
|
|
10644
|
-
//#region .dts-emit/code/core/src/shared/open-service/manager.d.ts
|
|
10645
|
-
declare const getService$1: TypedGetService<ManagerCoreServices>;
|
|
10646
|
-
/**
|
|
10647
|
-
* Registers a service in the manager and returns its runtime surface.
|
|
10648
|
-
*
|
|
10649
|
-
* The manager is a relay hub: it bridges the dev server and the preview iframes. The channel is read
|
|
10650
|
-
* via `getChannel()` from `@aussieljk/forkbook/internal/channels`, which the manager runtime installs before any
|
|
10651
|
-
* `addons.register` callback runs, so no manual channel setup is needed.
|
|
10652
|
-
*/
|
|
10653
|
-
declare function registerService$1<TState, TQueries extends Queries<TState>, TCommands extends Commands<TState>>(definition: ServiceDefinition<TState, TQueries, TCommands>, registration?: ServiceRegistrationOptions<TState, TQueries, TCommands>): ServiceInstance<TState, TQueries, TCommands> & ServiceRegistryApi;
|
|
10654
|
-
//#endregion
|
|
10655
|
-
//#region .dts-emit/code/core/src/types/modules/api-stories.d.ts
|
|
10656
|
-
interface API_BaseEntry {
|
|
10657
|
-
id: StoryId$2;
|
|
10658
|
-
depth: number;
|
|
10659
|
-
name: string;
|
|
10660
|
-
tags: Tag$2[];
|
|
10661
|
-
refId?: string;
|
|
10662
|
-
renderAriaLabel?: API_SidebarOptions['renderAriaLabel'];
|
|
10663
|
-
renderLabel?: API_SidebarOptions['renderLabel'];
|
|
10664
|
-
}
|
|
10665
|
-
interface API_RootEntry extends API_BaseEntry {
|
|
10666
|
-
type: 'root';
|
|
10667
|
-
startCollapsed?: boolean;
|
|
10668
|
-
children: StoryId$2[];
|
|
10669
|
-
}
|
|
10670
|
-
interface API_GroupEntry extends API_BaseEntry {
|
|
10671
|
-
type: 'group';
|
|
10672
|
-
parent?: StoryId$2;
|
|
10673
|
-
children: StoryId$2[];
|
|
10674
|
-
}
|
|
10675
|
-
interface API_ComponentEntry extends API_BaseEntry {
|
|
10676
|
-
type: 'component';
|
|
10677
|
-
parent?: StoryId$2;
|
|
10678
|
-
children: StoryId$2[];
|
|
10679
|
-
importPath?: Path$1;
|
|
10680
|
-
}
|
|
10681
|
-
interface API_DocsEntry$1 extends API_BaseEntry {
|
|
10682
|
-
type: 'docs';
|
|
10683
|
-
parent: StoryId$2;
|
|
10684
|
-
title: ComponentTitle$1;
|
|
10685
|
-
importPath: Path$1;
|
|
10686
|
-
prepared: boolean;
|
|
10687
|
-
parameters?: {
|
|
10688
|
-
[parameterName: string]: any;
|
|
10689
|
-
};
|
|
10690
|
-
anchors?: DocsAnchor$1[];
|
|
10691
|
-
}
|
|
10692
|
-
interface API_StoryEntry$1 extends API_BaseEntry {
|
|
10693
|
-
type: 'story';
|
|
10694
|
-
subtype: 'story';
|
|
10695
|
-
parent: StoryId$2;
|
|
10696
|
-
title: ComponentTitle$1;
|
|
10697
|
-
importPath: Path$1;
|
|
10698
|
-
exportName: string;
|
|
10699
|
-
prepared: boolean;
|
|
10700
|
-
parameters?: {
|
|
10701
|
-
[parameterName: string]: any;
|
|
10702
|
-
};
|
|
10703
|
-
args?: Args$2;
|
|
10704
|
-
argTypes?: ArgTypes$2;
|
|
10705
|
-
initialArgs?: Args$2;
|
|
10706
|
-
children?: StoryId$2[];
|
|
10707
|
-
}
|
|
10708
|
-
interface API_TestEntry$1 extends Omit<API_StoryEntry$1, 'subtype' | 'children' | 'parent'> {
|
|
10709
|
-
parent: StoryId$2;
|
|
10710
|
-
subtype: 'test';
|
|
10711
|
-
}
|
|
10712
|
-
type API_LeafEntry$1 = API_DocsEntry$1 | API_StoryEntry$1 | API_TestEntry$1;
|
|
11074
|
+
* <button onClick={() => assignField({ entryId: 'a', fieldKey: 'x', fieldValue: 'y' })}>
|
|
11075
|
+
* Update
|
|
11076
|
+
* </button>
|
|
11077
|
+
* );
|
|
11078
|
+
* ```
|
|
11079
|
+
*/
|
|
11080
|
+
declare function useServiceCommand<TInstance extends {
|
|
11081
|
+
commands: Record<string, (input: never) => Promise<unknown>>;
|
|
11082
|
+
}, TKey extends keyof TInstance['commands'] & string>(service: TInstance, commandName: TKey): CommandFn<TInstance['commands'], TKey>;
|
|
11083
|
+
//#endregion
|
|
11084
|
+
//#region .dts-emit/code/core/src/shared/open-service/use-service-query.d.ts
|
|
10713
11085
|
/**
|
|
10714
|
-
*
|
|
10715
|
-
*
|
|
10716
|
-
*
|
|
11086
|
+
* Subscribe to a service query and receive reactive {@link QueryState} updates in a React component.
|
|
11087
|
+
*
|
|
11088
|
+
* Pass the query directly (e.g. `myService.queries.thing`) so its input/output types infer per
|
|
11089
|
+
* query. The service must exist: if it may be absent (e.g. behind a feature flag), guard at a parent
|
|
11090
|
+
* and conditionally render the component that calls this hook.
|
|
11091
|
+
*
|
|
11092
|
+
* A void-input query needs no input argument. As soon as a selector is involved the input is
|
|
11093
|
+
* positional, so a void-input query passes `undefined` explicitly:
|
|
11094
|
+
* `useServiceQuery(query, undefined, selector)`.
|
|
11095
|
+
*
|
|
11096
|
+
* @example
|
|
11097
|
+
* ```tsx
|
|
11098
|
+
* const { data, isInitialLoading, isError } = useServiceQuery(recordService.queries.recordFields, {
|
|
11099
|
+
* entryId: 'a',
|
|
11100
|
+
* });
|
|
11101
|
+
* ```
|
|
10717
11102
|
*/
|
|
10718
|
-
|
|
10719
|
-
|
|
11103
|
+
declare function useServiceQuery<TOutput>(query: Query<void, TOutput>): QueryState<TOutput>;
|
|
11104
|
+
declare function useServiceQuery<TInput, TOutput>(query: Query<TInput, TOutput>, input: TInput): QueryState<TOutput>;
|
|
11105
|
+
declare function useServiceQuery<TInput, TOutput, TSelected>(query: Query<TInput, TOutput>, input: TInput, selector: (value: TOutput) => TSelected): QueryState<TSelected>;
|
|
11106
|
+
//#endregion
|
|
11107
|
+
//#region .dts-emit/code/core/src/shared/open-service/manager.d.ts
|
|
11108
|
+
declare const getService$1: TypedGetService<ManagerCoreServices>;
|
|
10720
11109
|
/**
|
|
10721
|
-
*
|
|
10722
|
-
*
|
|
10723
|
-
*
|
|
11110
|
+
* Registers a service in the manager and returns its runtime surface.
|
|
11111
|
+
*
|
|
11112
|
+
* The manager is a relay hub: it bridges the dev server and the preview iframes. The channel is read
|
|
11113
|
+
* via `getChannel()` from `@aussieljk/forkbook/internal/channels`, which the manager runtime installs before any
|
|
11114
|
+
* `addons.register` callback runs, so no manual channel setup is needed.
|
|
10724
11115
|
*/
|
|
10725
|
-
|
|
10726
|
-
[id: string]: API_HashEntry$1;
|
|
10727
|
-
}
|
|
10728
|
-
type API_PreparedIndexEntry = IndexEntry$1 & {
|
|
10729
|
-
parameters?: Parameters$2;
|
|
10730
|
-
argTypes?: ArgTypes$2;
|
|
10731
|
-
args?: Args$2;
|
|
10732
|
-
initialArgs?: Args$2;
|
|
10733
|
-
};
|
|
10734
|
-
interface API_PreparedStoryIndex$1 {
|
|
10735
|
-
v: number;
|
|
10736
|
-
entries: Record<StoryId$2, API_PreparedIndexEntry>;
|
|
10737
|
-
}
|
|
10738
|
-
type API_OptionsData$1 = {
|
|
10739
|
-
docsOptions: DocsOptions$1;
|
|
10740
|
-
};
|
|
10741
|
-
interface API_ReleaseNotes {
|
|
10742
|
-
success?: boolean;
|
|
10743
|
-
currentVersion?: string;
|
|
10744
|
-
showOnFirstLaunch?: boolean;
|
|
10745
|
-
}
|
|
10746
|
-
interface API_Settings$1 {
|
|
10747
|
-
lastTrackedStoryId: string;
|
|
10748
|
-
}
|
|
10749
|
-
interface API_Version$1 {
|
|
10750
|
-
version: string;
|
|
10751
|
-
info?: {
|
|
10752
|
-
plain: string;
|
|
10753
|
-
};
|
|
10754
|
-
[key: string]: any;
|
|
10755
|
-
}
|
|
10756
|
-
interface API_UnknownEntries$1 {
|
|
10757
|
-
[key: string]: {
|
|
10758
|
-
[key: string]: any;
|
|
10759
|
-
};
|
|
10760
|
-
}
|
|
10761
|
-
interface API_Versions$2 {
|
|
10762
|
-
latest?: API_Version$1;
|
|
10763
|
-
next?: API_Version$1;
|
|
10764
|
-
current?: API_Version$1;
|
|
10765
|
-
}
|
|
10766
|
-
type API_FilterFunction$1 = (item: API_PreparedIndexEntry & {
|
|
10767
|
-
statuses: StatusByTypeId;
|
|
10768
|
-
}) => boolean;
|
|
11116
|
+
declare function registerService$1<TState, TQueries extends Queries<TState>, TCommands extends Commands<TState>>(definition: ServiceDefinition<TState, TQueries, TCommands>, registration?: ServiceRegistrationOptions<TState, TQueries, TCommands>): ServiceInstance<TState, TQueries, TCommands> & ServiceRegistryApi;
|
|
10769
11117
|
//#endregion
|
|
10770
11118
|
//#region .dts-emit/code/core/src/types/modules/channelApi.d.ts
|
|
10771
11119
|
interface SetStoriesStory {
|
|
@@ -10777,11 +11125,11 @@ interface SetStoriesStory {
|
|
|
10777
11125
|
parameters: {
|
|
10778
11126
|
fileName: string;
|
|
10779
11127
|
options: {
|
|
10780
|
-
[optionName: string]:
|
|
11128
|
+
[optionName: string]: unknown;
|
|
10781
11129
|
};
|
|
10782
11130
|
docsOnly?: boolean;
|
|
10783
11131
|
viewMode?: API_ViewMode$1;
|
|
10784
|
-
[parameterName: string]:
|
|
11132
|
+
[parameterName: string]: unknown;
|
|
10785
11133
|
};
|
|
10786
11134
|
argTypes?: ArgTypes$2;
|
|
10787
11135
|
args?: Args$2;
|
|
@@ -10850,16 +11198,14 @@ interface API_Provider$1<API> {
|
|
|
10850
11198
|
channel?: Channel$1;
|
|
10851
11199
|
renderPreview?: API_IframeRenderer$1;
|
|
10852
11200
|
handleAPI(api: API): void;
|
|
10853
|
-
|
|
11201
|
+
getElements<T extends Addon_Types$1 | Addon_TypesEnum$1.experimental_PAGE | Addon_TypesEnum$1.experimental_TEST_PROVIDER>(type: T): Addon_Collection$1<Addon_TypesMapping$1[T]>;
|
|
11202
|
+
getConfig(): Addon_Config$1 & {
|
|
10854
11203
|
sidebar?: API_SidebarOptions$1<API>;
|
|
10855
|
-
theme?: ThemeVars$1;
|
|
10856
11204
|
selectedPanel?: string;
|
|
10857
|
-
|
|
10858
|
-
[k: string]: any;
|
|
11205
|
+
storyMapper?: API_StoryMapper;
|
|
10859
11206
|
};
|
|
10860
|
-
[key: string]: any;
|
|
10861
11207
|
}
|
|
10862
|
-
type API_IframeRenderer$1 = (storyId: string, viewMode: API_ViewMode$1, id: string, baseUrl: string, scale: number, queryParams: Record<string,
|
|
11208
|
+
type API_IframeRenderer$1 = (storyId: string, viewMode: API_ViewMode$1, id: string, baseUrl: string, scale: number, queryParams: Record<string, unknown>) => ReactElement | null;
|
|
10863
11209
|
type FilterFunction = (entry: API_PreparedIndexEntry, excluded?: boolean) => boolean;
|
|
10864
11210
|
interface API_Layout$1 {
|
|
10865
11211
|
initialActive: API_ActiveTabsType;
|
|
@@ -10898,18 +11244,27 @@ interface API_UI$1 {
|
|
|
10898
11244
|
}
|
|
10899
11245
|
type API_PanelPositions$1 = 'bottom' | 'right';
|
|
10900
11246
|
type API_ActiveTabsType = 'sidebar' | 'canvas' | 'addons';
|
|
10901
|
-
interface API_SidebarOptions$1<API =
|
|
11247
|
+
interface API_SidebarOptions$1<API$1 = API> {
|
|
10902
11248
|
showRoots?: boolean;
|
|
11249
|
+
/**
|
|
11250
|
+
* Do not make folders from the `/` in a title. Each component is a top level item, named by its
|
|
11251
|
+
* full title. Default: false.
|
|
11252
|
+
*/
|
|
11253
|
+
flat?: boolean;
|
|
11254
|
+
/** Show the type icon (group, component, docs, story) before each sidebar item. Default: false. */
|
|
11255
|
+
showIcons?: boolean;
|
|
11256
|
+
/** Expand every group and component in the sidebar when Forkbook opens. Default: true. */
|
|
11257
|
+
expandAll?: boolean;
|
|
10903
11258
|
filters?: Record<string, API_FilterFunction$1>;
|
|
10904
11259
|
collapsedRoots?: string[];
|
|
10905
|
-
renderAriaLabel?: (item: API_HashEntry$1, api: API, context?: {
|
|
11260
|
+
renderAriaLabel?: (item: API_HashEntry$1, api: API$1, context?: {
|
|
10906
11261
|
isMobile: boolean;
|
|
10907
11262
|
location: 'sidebar' | 'bottom-bar';
|
|
10908
11263
|
}) => string;
|
|
10909
|
-
renderLabel?: (item: API_HashEntry$1, api: API, context?: {
|
|
11264
|
+
renderLabel?: (item: API_HashEntry$1, api: API$1, context?: {
|
|
10910
11265
|
isMobile: boolean;
|
|
10911
11266
|
location: 'sidebar' | 'bottom-bar';
|
|
10912
|
-
}) =>
|
|
11267
|
+
}) => unknown;
|
|
10913
11268
|
}
|
|
10914
11269
|
interface OnClearOptions {
|
|
10915
11270
|
/** `true` when the user manually dismissed the notification. */
|
|
@@ -10925,7 +11280,7 @@ interface API_Notification$1 {
|
|
|
10925
11280
|
id: string;
|
|
10926
11281
|
content: {
|
|
10927
11282
|
headline: string;
|
|
10928
|
-
subHeadline?:
|
|
11283
|
+
subHeadline?: React.ReactNode;
|
|
10929
11284
|
};
|
|
10930
11285
|
duration?: number;
|
|
10931
11286
|
link?: string;
|
|
@@ -10984,7 +11339,7 @@ interface Addon_StorySortObjectParameter {
|
|
|
10984
11339
|
locales?: string;
|
|
10985
11340
|
includeNames?: boolean;
|
|
10986
11341
|
}
|
|
10987
|
-
type IndexEntryLegacy = [StoryId$2,
|
|
11342
|
+
type IndexEntryLegacy = [StoryId$2, unknown, Parameters$2, Parameters$2];
|
|
10988
11343
|
type Addon_StorySortComparator = Addon_Comparator<IndexEntryLegacy>;
|
|
10989
11344
|
type Addon_StorySortParameter = Addon_StorySortComparator | Addon_StorySortObjectParameter;
|
|
10990
11345
|
type Addon_StorySortComparatorV7 = Addon_Comparator<IndexEntry$1>;
|
|
@@ -10994,21 +11349,21 @@ interface Addon_OptionsParameter extends Object {
|
|
|
10994
11349
|
base: string;
|
|
10995
11350
|
brandTitle?: string;
|
|
10996
11351
|
};
|
|
10997
|
-
[key: string]:
|
|
11352
|
+
[key: string]: unknown;
|
|
10998
11353
|
}
|
|
10999
11354
|
interface Addon_OptionsParameterV7 extends Object {
|
|
11000
11355
|
theme?: {
|
|
11001
11356
|
base: string;
|
|
11002
11357
|
brandTitle?: string;
|
|
11003
11358
|
};
|
|
11004
|
-
[key: string]:
|
|
11359
|
+
[key: string]: unknown;
|
|
11005
11360
|
}
|
|
11006
11361
|
type Addon_StoryContext<TRenderer extends Renderer$2 = Renderer$2> = StoryContextForRender<TRenderer>;
|
|
11007
11362
|
type Addon_StoryContextUpdate = Partial<Addon_StoryContext>;
|
|
11008
11363
|
interface Addon_ReturnTypeFramework<ReturnType> extends Renderer$2 {
|
|
11009
|
-
component:
|
|
11364
|
+
component: unknown;
|
|
11010
11365
|
storyResult: ReturnType;
|
|
11011
|
-
canvasElement:
|
|
11366
|
+
canvasElement: unknown;
|
|
11012
11367
|
}
|
|
11013
11368
|
type Addon_PartialStoryFn<ReturnType = unknown> = PartialStoryFn$1<Addon_ReturnTypeFramework<ReturnType>>;
|
|
11014
11369
|
type Addon_LegacyStoryFn<ReturnType = unknown> = LegacyStoryFn$1<Addon_ReturnTypeFramework<ReturnType>>;
|
|
@@ -11019,56 +11374,33 @@ type Addon_LoaderFunction = LoaderFunction$1<Addon_ReturnTypeFramework<unknown>>
|
|
|
11019
11374
|
interface Addon_WrapperSettings {
|
|
11020
11375
|
options: object;
|
|
11021
11376
|
parameters: {
|
|
11022
|
-
[key: string]:
|
|
11377
|
+
[key: string]: unknown;
|
|
11023
11378
|
};
|
|
11024
11379
|
}
|
|
11025
|
-
type Addon_StoryWrapper$1 = (storyFn: Addon_LegacyStoryFn, context: Addon_StoryContext, settings: Addon_WrapperSettings) =>
|
|
11380
|
+
type Addon_StoryWrapper$1 = (storyFn: Addon_LegacyStoryFn, context: Addon_StoryContext, settings: Addon_WrapperSettings) => unknown;
|
|
11026
11381
|
type Addon_MakeDecoratorResult$1 = (...args: any) => any;
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
kind: StoryKind$1;
|
|
11030
|
-
name: StoryName$1;
|
|
11031
|
-
storyFn: Addon_StoryFn<StoryFnReturnType>;
|
|
11032
|
-
parameters: Parameters$2;
|
|
11033
|
-
}
|
|
11034
|
-
type Addon_ClientApiAddon<StoryFnReturnType = unknown> = Addon_Type & {
|
|
11035
|
-
apply: (a: Addon_StoryApi<StoryFnReturnType>, b: any[]) => any;
|
|
11036
|
-
};
|
|
11037
|
-
interface Addon_ClientApiAddons<StoryFnReturnType> {
|
|
11038
|
-
[key: string]: Addon_ClientApiAddon<StoryFnReturnType>;
|
|
11039
|
-
}
|
|
11040
|
-
type Addon_ClientApiReturnFn<StoryFnReturnType = unknown> = (...args: any[]) => Addon_StoryApi<StoryFnReturnType>;
|
|
11041
|
-
interface Addon_StoryApi<StoryFnReturnType = unknown> {
|
|
11042
|
-
kind: StoryKind$1;
|
|
11043
|
-
add: (storyName: StoryName$1, storyFn: Addon_StoryFn<StoryFnReturnType>, parameters?: Parameters$2) => Addon_StoryApi<StoryFnReturnType>;
|
|
11044
|
-
addDecorator: (decorator: Addon_DecoratorFunction$1<StoryFnReturnType>) => Addon_StoryApi<StoryFnReturnType>;
|
|
11045
|
-
addLoader: (decorator: Addon_LoaderFunction) => Addon_StoryApi<StoryFnReturnType>;
|
|
11046
|
-
addParameters: (parameters: Parameters$2) => Addon_StoryApi<StoryFnReturnType>;
|
|
11047
|
-
[k: string]: string | Addon_ClientApiReturnFn<StoryFnReturnType>;
|
|
11048
|
-
}
|
|
11049
|
-
interface Addon_ClientStoryApi<StoryFnReturnType = unknown> {}
|
|
11050
|
-
type Addon_LoadFn = () => any;
|
|
11051
|
-
type Addon_RequireContext = any;
|
|
11382
|
+
type Addon_LoadFn = () => unknown;
|
|
11383
|
+
type Addon_RequireContext = unknown;
|
|
11052
11384
|
type Addon_Loadable = Addon_RequireContext | [Addon_RequireContext] | Addon_LoadFn;
|
|
11053
11385
|
type Addon_BaseDecorators<StoryFnReturnType> = Array<(story: () => StoryFnReturnType, context: Addon_StoryContext) => StoryFnReturnType>;
|
|
11054
11386
|
interface Addon_BaseAnnotations<TArgs, StoryFnReturnType, TRenderer extends Renderer$2 = Renderer$2> {
|
|
11055
11387
|
/**
|
|
11056
11388
|
* Dynamic data that are provided (and possibly updated by) Forkbook and its addons.
|
|
11057
11389
|
*
|
|
11058
|
-
* @see [Arg story inputs](https://
|
|
11390
|
+
* @see [Arg story inputs](https://forkbook.ljk.dev/docs/api/csf#args-story-inputs)
|
|
11059
11391
|
*/
|
|
11060
11392
|
args?: Partial<TArgs>;
|
|
11061
11393
|
/**
|
|
11062
11394
|
* ArgTypes encode basic metadata for args, such as `name` and `description`. These get
|
|
11063
11395
|
* automatically filled in by Forkbook Docs.
|
|
11064
11396
|
*
|
|
11065
|
-
* @see [Arg types](https://
|
|
11397
|
+
* @see [Arg types](https://forkbook.ljk.dev/docs/api/arg-types)
|
|
11066
11398
|
*/
|
|
11067
11399
|
argTypes?: Addons_ArgTypes<TArgs>;
|
|
11068
11400
|
/**
|
|
11069
11401
|
* Custom metadata for a story.
|
|
11070
11402
|
*
|
|
11071
|
-
* @see [Parameters](https://
|
|
11403
|
+
* @see [Parameters](https://forkbook.ljk.dev/docs/writing-stories/parameters)
|
|
11072
11404
|
*/
|
|
11073
11405
|
parameters?: Parameters$2;
|
|
11074
11406
|
/**
|
|
@@ -11076,7 +11408,7 @@ interface Addon_BaseAnnotations<TArgs, StoryFnReturnType, TRenderer extends Rend
|
|
|
11076
11408
|
*
|
|
11077
11409
|
* Decorators defined in Meta will be applied to every story variation.
|
|
11078
11410
|
*
|
|
11079
|
-
* @see [Decorators](https://
|
|
11411
|
+
* @see [Decorators](https://forkbook.ljk.dev/docs/writing-stories/decorators)
|
|
11080
11412
|
*/
|
|
11081
11413
|
decorators?: Addon_BaseDecorators<StoryFnReturnType>;
|
|
11082
11414
|
/**
|
|
@@ -11099,7 +11431,7 @@ interface Addon_Annotations<TArgs, StoryFnReturnType> extends Addon_BaseAnnotati
|
|
|
11099
11431
|
* includeStories: /.*Story$/;
|
|
11100
11432
|
* ```
|
|
11101
11433
|
*
|
|
11102
|
-
* @see [Non-story exports](https://
|
|
11434
|
+
* @see [Non-story exports](https://forkbook.ljk.dev/docs/api/csf#non-story-exports)
|
|
11103
11435
|
*/
|
|
11104
11436
|
includeStories?: string[] | RegExp;
|
|
11105
11437
|
/**
|
|
@@ -11113,7 +11445,7 @@ interface Addon_Annotations<TArgs, StoryFnReturnType> extends Addon_BaseAnnotati
|
|
|
11113
11445
|
* excludeStories: /.*Data$/;
|
|
11114
11446
|
* ```
|
|
11115
11447
|
*
|
|
11116
|
-
* @see [Non-story exports](https://
|
|
11448
|
+
* @see [Non-story exports](https://forkbook.ljk.dev/docs/api/csf#non-story-exports)
|
|
11117
11449
|
*/
|
|
11118
11450
|
excludeStories?: string[] | RegExp;
|
|
11119
11451
|
}
|
|
@@ -11131,7 +11463,7 @@ interface Addon_BaseMeta<ComponentType> {
|
|
|
11131
11463
|
* export default { title: 'Design System/Atoms/Button' };
|
|
11132
11464
|
* ```
|
|
11133
11465
|
*
|
|
11134
|
-
* @see [Story Hierarchy](https://
|
|
11466
|
+
* @see [Story Hierarchy](https://forkbook.ljk.dev/docs/writing-stories/naming-components-and-hierarchy)
|
|
11135
11467
|
*/
|
|
11136
11468
|
title?: string;
|
|
11137
11469
|
/**
|
|
@@ -11141,7 +11473,7 @@ interface Addon_BaseMeta<ComponentType> {
|
|
|
11141
11473
|
* Forkbook will prioritize the id over the title for ID generation, if provided, and will
|
|
11142
11474
|
* prioritize the story.storyName over the export key for display.
|
|
11143
11475
|
*
|
|
11144
|
-
* @see [Sidebar and URLs](https://
|
|
11476
|
+
* @see [Sidebar and URLs](https://forkbook.ljk.dev/docs/configure/user-interface/sidebar-and-urls#permalink-to-stories)
|
|
11145
11477
|
*/
|
|
11146
11478
|
id?: string;
|
|
11147
11479
|
/**
|
|
@@ -11220,7 +11552,7 @@ interface Addon_BaseType$1 {
|
|
|
11220
11552
|
/** @unstable */
|
|
11221
11553
|
paramKey?: string;
|
|
11222
11554
|
/** @unstable */
|
|
11223
|
-
disabled?: boolean | ((parameters: API_StoryEntry$1['parameters']) => boolean);
|
|
11555
|
+
disabled?: boolean | ((parameters: API_StoryEntry$1['parameters'], story?: API_StoryEntry$1) => boolean);
|
|
11224
11556
|
}
|
|
11225
11557
|
interface Addon_PageType$1 {
|
|
11226
11558
|
type: Addon_TypesEnum$1.experimental_PAGE;
|
|
@@ -11308,7 +11640,7 @@ interface Addon_Config$1 {
|
|
|
11308
11640
|
};
|
|
11309
11641
|
sidebar?: API_SidebarOptions$1;
|
|
11310
11642
|
ui?: Partial<API_UI$1>;
|
|
11311
|
-
[key: string]:
|
|
11643
|
+
[key: string]: unknown;
|
|
11312
11644
|
}
|
|
11313
11645
|
declare enum Addon_TypesEnum$1 {
|
|
11314
11646
|
/** This adds panels to the addons side panel. */
|
|
@@ -11318,7 +11650,7 @@ declare enum Addon_TypesEnum$1 {
|
|
|
11318
11650
|
/** This adds items in the toolbar above the canvas - on the right side. */
|
|
11319
11651
|
TOOLEXTRA = "toolextra",
|
|
11320
11652
|
/**
|
|
11321
|
-
* This adds wrapper components around the canvas/iframe component
|
|
11653
|
+
* This adds wrapper components around the canvas/iframe component Forkbook renders.
|
|
11322
11654
|
*
|
|
11323
11655
|
* @unstable this API is not stable yet, and is likely to change in 8.0.
|
|
11324
11656
|
*/
|
|
@@ -11448,10 +11780,10 @@ declare type RenderContext<TRenderer extends Renderer$2 = Renderer$2> = StoryIde
|
|
|
11448
11780
|
//#endregion
|
|
11449
11781
|
//#region .dts-emit/code/core/src/types/modules/builder.d.ts
|
|
11450
11782
|
interface BuilderStats {
|
|
11451
|
-
toJson: () =>
|
|
11783
|
+
toJson: () => unknown;
|
|
11452
11784
|
}
|
|
11453
11785
|
type Builder_WithRequiredProperty<Type, Key extends keyof Type> = Type & { [Property in Key]-?: Type[Property] };
|
|
11454
|
-
type Builder_Unpromise<T extends Promise<
|
|
11786
|
+
type Builder_Unpromise<T extends Promise<unknown>> = T extends Promise<infer U> ? U : never;
|
|
11455
11787
|
type Builder_EnvsRaw = Record<string, string>;
|
|
11456
11788
|
//#endregion
|
|
11457
11789
|
//#region .dts-emit/code/core/src/types/modules/docs.d.ts
|
|
@@ -11644,8 +11976,8 @@ declare function composeStepRunners<TRenderer extends Renderer$1>(stepRunners: S
|
|
|
11644
11976
|
declare global {
|
|
11645
11977
|
var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
|
|
11646
11978
|
var defaultProjectAnnotations: ProjectAnnotations$1<any>;
|
|
11647
|
-
var
|
|
11648
|
-
var
|
|
11979
|
+
var __FORKBOOK_ADDON_VITEST_PROJECT_ANNOTATIONS_APPLIED__: boolean | undefined;
|
|
11980
|
+
var __FORKBOOK_SET_PROJECT_ANNOTATIONS_CALLED__: boolean | undefined;
|
|
11649
11981
|
}
|
|
11650
11982
|
declare function setDefaultProjectAnnotations<TRenderer extends Renderer$1 = Renderer$1>(_defaultProjectAnnotations: ProjectAnnotations$1<TRenderer>): void;
|
|
11651
11983
|
declare function setProjectAnnotations<TRenderer extends Renderer$1 = Renderer$1>(projectAnnotations: NamedOrDefaultProjectAnnotations<TRenderer> | NamedOrDefaultProjectAnnotations<TRenderer>[]): NormalizedProjectAnnotations<TRenderer>;
|
|
@@ -11677,7 +12009,7 @@ declare const combineParameters: (...parameterSets: (Parameters$1 | undefined)[]
|
|
|
11677
12009
|
//#endregion
|
|
11678
12010
|
//#region .dts-emit/code/core/src/preview-api/modules/store/filterArgTypes.d.ts
|
|
11679
12011
|
type PropDescriptor = string[] | RegExp;
|
|
11680
|
-
declare const filterArgTypes: (argTypes: StrictArgTypes$1, include?: PropDescriptor, exclude?: PropDescriptor) =>
|
|
12012
|
+
declare const filterArgTypes: (argTypes: StrictArgTypes$1, include?: PropDescriptor, exclude?: PropDescriptor) => StrictArgTypes$1<import("@aussieljk/forkbook/internal/types").Args>;
|
|
11681
12013
|
//#endregion
|
|
11682
12014
|
//#region .dts-emit/code/core/src/preview-api/modules/store/inferControls.d.ts
|
|
11683
12015
|
/** The fields {@link inferControls} reads; the full enhancer context is structurally assignable. */
|
|
@@ -11710,7 +12042,7 @@ declare function sanitizeStoryContextUpdate({
|
|
|
11710
12042
|
declare function defaultDecorateStory<TRenderer extends Renderer$1>(storyFn: LegacyStoryFn<TRenderer>, decorators: DecoratorFunction$1<TRenderer>[]): LegacyStoryFn<TRenderer>;
|
|
11711
12043
|
//#endregion
|
|
11712
12044
|
//#region .dts-emit/code/core/src/preview-api/modules/store/args.d.ts
|
|
11713
|
-
declare const combineArgs: (value:
|
|
12045
|
+
declare const combineArgs: (value: Args$1, update: Args$1) => Args$1;
|
|
11714
12046
|
//#endregion
|
|
11715
12047
|
//#region .dts-emit/code/core/src/shared/story-index/autoTitle.d.ts
|
|
11716
12048
|
declare const userOrAutoTitleFromSpecifier: (fileName: string | number, entry: NormalizedStoriesSpecifier, userTitle?: string) => string | undefined;
|
|
@@ -11902,6 +12234,11 @@ declare class Preview$1<TRenderer extends Renderer$1> {
|
|
|
11902
12234
|
get storyStore(): StoryStore<TRenderer>;
|
|
11903
12235
|
protected initialize(): Promise<void>;
|
|
11904
12236
|
ready(): Promise<void>;
|
|
12237
|
+
/**
|
|
12238
|
+
* Uses another channel, for example the WebSocket channel of a React Native view. Call
|
|
12239
|
+
* `setupListeners()` after it, so that the preview listens on the new channel.
|
|
12240
|
+
*/
|
|
12241
|
+
setChannel(channel: Channel): void;
|
|
11905
12242
|
setupListeners(): void;
|
|
11906
12243
|
getProjectAnnotationsOrRenderError(): Promise<ProjectAnnotations$1<TRenderer>>;
|
|
11907
12244
|
initializeWithProjectAnnotations(projectAnnotations: ProjectAnnotations$1<TRenderer>): Promise<void>;
|
|
@@ -12035,14 +12372,57 @@ interface SelectionStore {
|
|
|
12035
12372
|
setQueryParams(queryParams: Record<PropertyKey, unknown>): void;
|
|
12036
12373
|
}
|
|
12037
12374
|
//#endregion
|
|
12375
|
+
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/AllStories.d.ts
|
|
12376
|
+
type RenderStoryToElement<TRenderer extends Renderer$1> = (story: PreparedStory<TRenderer>, element: TRenderer['canvasElement'], callbacks: RenderContextCallbacks<TRenderer>, options: StoryRenderOptions) => () => Promise<void>;
|
|
12377
|
+
/**
|
|
12378
|
+
* Renders every story of the index into one element, grouped by component. The manager shows this
|
|
12379
|
+
* page on `/all` in "one frame" mode, so it needs one preview, not one preview for each story.
|
|
12380
|
+
*/
|
|
12381
|
+
declare class AllStories<TRenderer extends Renderer$1> {
|
|
12382
|
+
private store;
|
|
12383
|
+
private renderStoryToElement;
|
|
12384
|
+
private teardowns;
|
|
12385
|
+
constructor(store: StoryStore<TRenderer>, renderStoryToElement: RenderStoryToElement<TRenderer>);
|
|
12386
|
+
render(root: HTMLElement): Promise<void>;
|
|
12387
|
+
stop(): Promise<void>;
|
|
12388
|
+
}
|
|
12389
|
+
//#endregion
|
|
12390
|
+
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/InfiniteDocs.d.ts
|
|
12391
|
+
/**
|
|
12392
|
+
* Infinite scroll for docs pages. When the reader gets near the end of a docs page, the next docs
|
|
12393
|
+
* entry (in sidebar order) renders below it. The page at the top of the view is sent to the
|
|
12394
|
+
* manager with `DOCS_PAGE_IN_VIEW`, so the sidebar and the URL follow it without a new render.
|
|
12395
|
+
*
|
|
12396
|
+
* On by default. The `docs.infiniteScroll: false` parameter turns it off.
|
|
12397
|
+
*/
|
|
12398
|
+
declare class InfiniteDocs<TRenderer extends Renderer$1> {
|
|
12399
|
+
private channel;
|
|
12400
|
+
private store;
|
|
12401
|
+
private renderStoryToElement;
|
|
12402
|
+
private callbacks;
|
|
12403
|
+
private renders;
|
|
12404
|
+
private container?;
|
|
12405
|
+
private sentinelObserver?;
|
|
12406
|
+
private pageObserver?;
|
|
12407
|
+
private lastId?;
|
|
12408
|
+
private inViewId?;
|
|
12409
|
+
private loading;
|
|
12410
|
+
constructor(channel: Channel, store: StoryStore<TRenderer>, renderStoryToElement: DocsContextProps$1<TRenderer>['renderStoryToElement'], callbacks: (id: StoryId$1) => RenderContextCallbacks<TRenderer>);
|
|
12411
|
+
/** Starts after the main docs page `entry` rendered into `docsRoot`. */
|
|
12412
|
+
start(entry: IndexEntry, docsRoot: HTMLElement): void;
|
|
12413
|
+
private loadNext;
|
|
12414
|
+
/** Removes the pages below the main page. */
|
|
12415
|
+
stop(): void;
|
|
12416
|
+
}
|
|
12417
|
+
//#endregion
|
|
12038
12418
|
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/View.d.ts
|
|
12039
|
-
interface View<
|
|
12040
|
-
prepareForStory(story: PreparedStory
|
|
12419
|
+
interface View<TRoot> {
|
|
12420
|
+
prepareForStory(story: Pick<PreparedStory, 'parameters'>, options?: {
|
|
12041
12421
|
scrollReset?: boolean;
|
|
12042
|
-
}):
|
|
12422
|
+
}): TRoot;
|
|
12043
12423
|
prepareForDocs(options?: {
|
|
12044
12424
|
scrollReset?: boolean;
|
|
12045
|
-
}):
|
|
12425
|
+
}): TRoot;
|
|
12046
12426
|
showErrorDisplay(err: {
|
|
12047
12427
|
message?: string;
|
|
12048
12428
|
stack?: string;
|
|
@@ -12070,12 +12450,17 @@ declare class PreviewWithSelection<TRenderer extends Renderer$1> extends Preview
|
|
|
12070
12450
|
view: View<TRenderer['canvasElement']>;
|
|
12071
12451
|
currentSelection?: Selection;
|
|
12072
12452
|
currentRender?: PossibleRender<TRenderer>;
|
|
12453
|
+
/** The docs pages below the selected docs page (`docs.infiniteScroll`). */
|
|
12454
|
+
infiniteDocs?: InfiniteDocs<TRenderer>;
|
|
12455
|
+
allStories?: AllStories<TRenderer>;
|
|
12073
12456
|
constructor(importFn: ModuleImportFn, getProjectAnnotations: () => MaybePromise<ProjectAnnotations$1<TRenderer>>, selectionStore: SelectionStore, view: View<TRenderer['canvasElement']>);
|
|
12074
12457
|
setupListeners(): void;
|
|
12075
12458
|
onNavigateUrl(url: string): void;
|
|
12076
12459
|
setInitialGlobals(): Promise<void>;
|
|
12077
12460
|
initializeWithStoryIndex(storyIndex: StoryIndex): Promise<void>;
|
|
12078
12461
|
selectSpecifiedStory(): Promise<void>;
|
|
12462
|
+
/** Renders all stories in one page (`iframe.html?allStories=true`). */
|
|
12463
|
+
renderAllStories(): Promise<void>;
|
|
12079
12464
|
onGetProjectAnnotationsChanged({
|
|
12080
12465
|
getProjectAnnotations
|
|
12081
12466
|
}: {
|
|
@@ -12093,7 +12478,7 @@ declare class PreviewWithSelection<TRenderer extends Renderer$1> extends Preview
|
|
|
12093
12478
|
storyId: StoryId$1;
|
|
12094
12479
|
viewMode?: ViewMode$1;
|
|
12095
12480
|
}): Promise<void>;
|
|
12096
|
-
onUpdateQueryParams(queryParams:
|
|
12481
|
+
onUpdateQueryParams(queryParams: Record<PropertyKey, unknown>): void;
|
|
12097
12482
|
onUpdateGlobals({
|
|
12098
12483
|
globals
|
|
12099
12484
|
}: {
|
|
@@ -12134,6 +12519,8 @@ declare class PreviewWithSelection<TRenderer extends Renderer$1> extends Preview
|
|
|
12134
12519
|
};
|
|
12135
12520
|
renderPreviewEntryError(reason: string, err: Error): void;
|
|
12136
12521
|
renderMissingStory(): void;
|
|
12522
|
+
/** The story file of a story, so an error can say which file to fix. */
|
|
12523
|
+
importPathOf(storySpecifier: StorySpecifier): string | undefined;
|
|
12137
12524
|
renderStoryLoadingException(storySpecifier: StorySpecifier, err: Error): void;
|
|
12138
12525
|
renderException(storyId: StoryId$1, error: Error): void;
|
|
12139
12526
|
renderError(storyId: StoryId$1, {
|
|
@@ -12170,9 +12557,9 @@ declare enum Mode {
|
|
|
12170
12557
|
ERROR = "ERROR"
|
|
12171
12558
|
}
|
|
12172
12559
|
declare const layoutClassMap: {
|
|
12173
|
-
readonly centered: '
|
|
12174
|
-
readonly fullscreen: '
|
|
12175
|
-
readonly padded: '
|
|
12560
|
+
readonly centered: 'fb-main-centered';
|
|
12561
|
+
readonly fullscreen: 'fb-main-fullscreen';
|
|
12562
|
+
readonly padded: 'fb-main-padded';
|
|
12176
12563
|
};
|
|
12177
12564
|
type Layout = keyof typeof layoutClassMap | 'none';
|
|
12178
12565
|
declare class WebView implements View<HTMLElement> {
|
|
@@ -12180,7 +12567,7 @@ declare class WebView implements View<HTMLElement> {
|
|
|
12180
12567
|
private testing;
|
|
12181
12568
|
private preparingTimeout?;
|
|
12182
12569
|
constructor();
|
|
12183
|
-
prepareForStory(story: PreparedStory
|
|
12570
|
+
prepareForStory(story: Pick<PreparedStory, 'parameters'>, {
|
|
12184
12571
|
scrollReset
|
|
12185
12572
|
}?: {
|
|
12186
12573
|
scrollReset?: boolean;
|
|
@@ -12226,10 +12613,10 @@ declare class WebView implements View<HTMLElement> {
|
|
|
12226
12613
|
//#endregion
|
|
12227
12614
|
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/simulate-pageload.d.ts
|
|
12228
12615
|
declare function simulateDOMContentLoaded(): void;
|
|
12229
|
-
declare function simulatePageLoad($container:
|
|
12616
|
+
declare function simulatePageLoad($container: ParentNode): void;
|
|
12230
12617
|
//#endregion
|
|
12231
12618
|
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/emitTransformCode.d.ts
|
|
12232
|
-
type ReducedStoryContext = Omit<StoryContext<
|
|
12619
|
+
type ReducedStoryContext = Omit<StoryContext<Renderer, Args>, 'abortSignal' | 'canvasElement' | 'step' | 'context'>;
|
|
12233
12620
|
declare function emitTransformCode(source: string | undefined, context: ReducedStoryContext, warning?: string): Promise<void>;
|
|
12234
12621
|
//#endregion
|
|
12235
12622
|
//#region .dts-emit/code/core/src/preview-api/modules/preview-web/render/animation-utils.d.ts
|
|
@@ -12320,175 +12707,94 @@ type StatusesByStoryIdAndTypeId$1 = Record<StoryId$2, StatusByTypeId$1>;
|
|
|
12320
12707
|
interface Status$1 {
|
|
12321
12708
|
value: StatusValue$1;
|
|
12322
12709
|
typeId: StatusTypeId;
|
|
12323
|
-
storyId: StoryId$2;
|
|
12324
|
-
title: string;
|
|
12325
|
-
description: string;
|
|
12326
|
-
data?:
|
|
12327
|
-
sidebarContextMenu?: boolean;
|
|
12328
|
-
}
|
|
12329
|
-
declare const CHANGE_DETECTION_STATUS_TYPE_ID = "@aussieljk/forkbook/change-detection";
|
|
12330
|
-
declare const REVIEW_STATUS_TYPE_ID = "@aussieljk/forkbook/review";
|
|
12331
|
-
/**
|
|
12332
|
-
* Status types that are quality/meta signals rather than test results, so they're excluded from the
|
|
12333
|
-
* aggregated test status that surfaces a story's most critical result. Both are excluded by the same
|
|
12334
|
-
* mechanism wherever that aggregate is computed.
|
|
12335
|
-
*/
|
|
12336
|
-
declare const NON_AGGREGATED_STATUS_TYPE_IDS: string[];
|
|
12337
|
-
declare const StatusStoreEventType: {
|
|
12338
|
-
readonly SELECT: 'select';
|
|
12339
|
-
};
|
|
12340
|
-
type StatusStoreEvent = {
|
|
12341
|
-
type: typeof StatusStoreEventType.SELECT;
|
|
12342
|
-
payload: Status$1[];
|
|
12343
|
-
};
|
|
12344
|
-
type StatusStore = {
|
|
12345
|
-
getAll: () => StatusesByStoryIdAndTypeId$1;
|
|
12346
|
-
set: (statuses: Status$1[]) => void;
|
|
12347
|
-
onAllStatusChange: (listener: (statuses: StatusesByStoryIdAndTypeId$1, previousStatuses: StatusesByStoryIdAndTypeId$1) => void) => () => void;
|
|
12348
|
-
onSelect: (listener: (selectedStatuses: Status$1[]) => void) => () => void;
|
|
12349
|
-
unset: (storyIds?: StoryId$2[]) => void;
|
|
12350
|
-
};
|
|
12351
|
-
type StatusStoreByTypeId$1 = StatusStore & {
|
|
12352
|
-
typeId: StatusTypeId;
|
|
12353
|
-
};
|
|
12354
|
-
type UseStatusStore = <T = StatusesByStoryIdAndTypeId$1>(selector?: (statuses: StatusesByStoryIdAndTypeId$1) => T) => T;
|
|
12355
|
-
//#endregion
|
|
12356
|
-
//#region .dts-emit/code/core/src/storybook-error.d.ts
|
|
12357
|
-
declare abstract class StorybookError extends Error {
|
|
12358
|
-
private _name;
|
|
12359
|
-
/** Category of the error. Used to classify the type of error, e.g., 'PREVIEW_API'. */
|
|
12360
|
-
readonly category: string;
|
|
12361
|
-
/** Code representing the error. Used to uniquely identify the error, e.g., 1. */
|
|
12362
|
-
readonly code: number;
|
|
12363
|
-
/**
|
|
12364
|
-
* Data associated with the error. Used to provide additional information in the error message or
|
|
12365
|
-
* to be passed to telemetry.
|
|
12366
|
-
*/
|
|
12367
|
-
readonly data: {};
|
|
12368
|
-
/**
|
|
12369
|
-
* Specifies the documentation for the error.
|
|
12370
|
-
*
|
|
12371
|
-
* - If `true`, links to a documentation page on the Forkbook website (make sure it exists before
|
|
12372
|
-
* enabling) – This is not implemented yet.
|
|
12373
|
-
* - If a string, uses the provided URL for documentation (external or FAQ links).
|
|
12374
|
-
* - If `false` (default), no documentation link is added.
|
|
12375
|
-
*/
|
|
12376
|
-
readonly documentation: boolean | string | string[];
|
|
12377
|
-
/** Flag used to easily determine if the error originates from Forkbook. */
|
|
12378
|
-
readonly fromStorybook: true;
|
|
12379
|
-
/**
|
|
12380
|
-
* Marks an error whose message is written for the agent that triggered the call and names its
|
|
12381
|
-
* own recovery. Adapters surface such errors verbatim instead of wrapping them as unexpected
|
|
12382
|
-
* failures. A property rather than a class list, so the trait travels with the instance across
|
|
12383
|
-
* bundle copies where `instanceof` would misclassify.
|
|
12384
|
-
*/
|
|
12385
|
-
readonly agentFacing: boolean;
|
|
12386
|
-
/**
|
|
12387
|
-
* Flag used to determine if the error is handled by us and should therefore not be shown to the
|
|
12388
|
-
* user.
|
|
12389
|
-
*/
|
|
12390
|
-
isHandledError: boolean;
|
|
12391
|
-
get fullErrorCode(): `SB_${string}_${string}`;
|
|
12392
|
-
/** Overrides the default `Error.name` property in the format: SB_<CATEGORY>_<CODE>. */
|
|
12393
|
-
get name(): string;
|
|
12394
|
-
set name(name: string);
|
|
12395
|
-
/**
|
|
12396
|
-
* A collection of sub errors which relate to a parent error.
|
|
12397
|
-
*
|
|
12398
|
-
* Sub-errors are used to represent multiple related errors that occurred together. When a
|
|
12399
|
-
* StorybookError with sub-errors is sent to telemetry, both the parent error and each sub-error
|
|
12400
|
-
* are sent as separate telemetry events. This allows for better error tracking and debugging.
|
|
12401
|
-
*
|
|
12402
|
-
* @example
|
|
12403
|
-
*
|
|
12404
|
-
* ```ts
|
|
12405
|
-
* const error1 = new SomeError();
|
|
12406
|
-
* const error2 = new AnotherError();
|
|
12407
|
-
* const parentError = new ParentError({
|
|
12408
|
-
* // ... other props
|
|
12409
|
-
* subErrors: [error1, error2],
|
|
12410
|
-
* });
|
|
12411
|
-
* ```
|
|
12412
|
-
*/
|
|
12413
|
-
subErrors: StorybookError[];
|
|
12414
|
-
constructor(props: {
|
|
12415
|
-
category: string;
|
|
12416
|
-
code: number;
|
|
12417
|
-
message: string;
|
|
12418
|
-
cause?: unknown;
|
|
12419
|
-
documentation?: boolean | string | string[];
|
|
12420
|
-
isHandledError?: boolean; /** See {@link StorybookError.agentFacing}. Defaults to false. */
|
|
12421
|
-
agentFacing?: boolean;
|
|
12422
|
-
name: string;
|
|
12423
|
-
/**
|
|
12424
|
-
* Optional array of sub-errors that are related to this error. When this error is sent to
|
|
12425
|
-
* telemetry, each sub-error will be sent as a separate event.
|
|
12426
|
-
*/
|
|
12427
|
-
subErrors?: StorybookError[];
|
|
12428
|
-
});
|
|
12429
|
-
/** Generates the error message along with additional documentation link (if applicable). */
|
|
12430
|
-
static getFullMessage({
|
|
12431
|
-
documentation,
|
|
12432
|
-
code,
|
|
12433
|
-
category,
|
|
12434
|
-
message
|
|
12435
|
-
}: ConstructorParameters<typeof StorybookError>[0]): string;
|
|
12436
|
-
}
|
|
12437
|
-
//#endregion
|
|
12438
|
-
//#region .dts-emit/code/core/src/server-errors.d.ts
|
|
12439
|
-
/**
|
|
12440
|
-
* If you can't find a suitable category for your error, create one based on the package name/file
|
|
12441
|
-
* path of which the error is thrown. For instance: If it's from `@storybook/node-logger`, then
|
|
12442
|
-
* NODE-LOGGER If it's from a package that is too broad, e.g. @aussieljk/forkbook/internal/cli-commands in the init command,
|
|
12443
|
-
* then use a combination like CLI_INIT
|
|
12444
|
-
*/
|
|
12445
|
-
declare enum Category {
|
|
12446
|
-
CLI = "CLI",
|
|
12447
|
-
CLI_INIT = "CLI_INIT",
|
|
12448
|
-
CLI_ADD = "CLI_ADD",
|
|
12449
|
-
CODEMOD = "CODEMOD",
|
|
12450
|
-
CORE_SERVER = "CORE-SERVER",
|
|
12451
|
-
CSF_PLUGIN = "CSF-PLUGIN",
|
|
12452
|
-
CSF_TOOLS = "CSF-TOOLS",
|
|
12453
|
-
CORE_COMMON = "CORE-COMMON",
|
|
12454
|
-
NODE_LOGGER = "NODE-LOGGER",
|
|
12455
|
-
TELEMETRY = "TELEMETRY",
|
|
12456
|
-
BUILDER_MANAGER = "BUILDER-MANAGER",
|
|
12457
|
-
BUILDER_VITE = "BUILDER-VITE",
|
|
12458
|
-
SOURCE_LOADER = "SOURCE-LOADER",
|
|
12459
|
-
POSTINSTALL = "POSTINSTALL",
|
|
12460
|
-
DOCS_TOOLS = "DOCS-TOOLS",
|
|
12461
|
-
FRAMEWORK_NEXTJS = "FRAMEWORK_NEXTJS",
|
|
12462
|
-
FRAMEWORK_REACT_VITE = "FRAMEWORK_REACT-VITE"
|
|
12463
|
-
}
|
|
12464
|
-
declare class NxProjectDetectedError extends StorybookError {
|
|
12465
|
-
constructor();
|
|
12466
|
-
}
|
|
12467
|
-
declare class MissingFrameworkFieldError extends StorybookError {
|
|
12468
|
-
constructor();
|
|
12710
|
+
storyId: StoryId$2;
|
|
12711
|
+
title: string;
|
|
12712
|
+
description: string;
|
|
12713
|
+
data?: unknown;
|
|
12714
|
+
sidebarContextMenu?: boolean;
|
|
12469
12715
|
}
|
|
12470
|
-
declare
|
|
12716
|
+
declare const CHANGE_DETECTION_STATUS_TYPE_ID = "@aussieljk/forkbook/change-detection";
|
|
12717
|
+
declare const REVIEW_STATUS_TYPE_ID = "@aussieljk/forkbook/review";
|
|
12718
|
+
/**
|
|
12719
|
+
* Status types that are quality/meta signals rather than test results, so they're excluded from the
|
|
12720
|
+
* aggregated test status that surfaces a story's most critical result. Both are excluded by the same
|
|
12721
|
+
* mechanism wherever that aggregate is computed.
|
|
12722
|
+
*/
|
|
12723
|
+
declare const NON_AGGREGATED_STATUS_TYPE_IDS: string[];
|
|
12724
|
+
declare const StatusStoreEventType: {
|
|
12725
|
+
readonly SELECT: 'select';
|
|
12726
|
+
};
|
|
12727
|
+
type StatusStoreEvent = {
|
|
12728
|
+
type: typeof StatusStoreEventType.SELECT;
|
|
12729
|
+
payload: Status$1[];
|
|
12730
|
+
};
|
|
12731
|
+
type StatusStore = {
|
|
12732
|
+
getAll: () => StatusesByStoryIdAndTypeId$1;
|
|
12733
|
+
set: (statuses: Status$1[]) => void;
|
|
12734
|
+
onAllStatusChange: (listener: (statuses: StatusesByStoryIdAndTypeId$1, previousStatuses: StatusesByStoryIdAndTypeId$1) => void) => () => void;
|
|
12735
|
+
onSelect: (listener: (selectedStatuses: Status$1[]) => void) => () => void;
|
|
12736
|
+
unset: (storyIds?: StoryId$2[]) => void;
|
|
12737
|
+
};
|
|
12738
|
+
type StatusStoreByTypeId$1 = StatusStore & {
|
|
12739
|
+
typeId: StatusTypeId;
|
|
12740
|
+
};
|
|
12741
|
+
type UseStatusStore = <T = StatusesByStoryIdAndTypeId$1>(selector?: (statuses: StatusesByStoryIdAndTypeId$1) => T) => T;
|
|
12742
|
+
//#endregion
|
|
12743
|
+
//#region .dts-emit/code/core/src/errors/server/dev-server.d.ts
|
|
12744
|
+
declare class StatusTypeIdMismatchError extends StorybookError {
|
|
12471
12745
|
data: {
|
|
12472
|
-
|
|
12746
|
+
status: Status$1;
|
|
12747
|
+
typeId: StatusTypeId;
|
|
12473
12748
|
};
|
|
12474
12749
|
constructor(data: {
|
|
12475
|
-
|
|
12750
|
+
status: Status$1;
|
|
12751
|
+
typeId: StatusTypeId;
|
|
12476
12752
|
});
|
|
12477
12753
|
}
|
|
12478
|
-
declare class
|
|
12754
|
+
declare class NoFreePortError extends StorybookError {
|
|
12479
12755
|
data: {
|
|
12480
|
-
|
|
12756
|
+
requestedPort?: number;
|
|
12481
12757
|
};
|
|
12482
12758
|
constructor(data: {
|
|
12483
|
-
|
|
12759
|
+
requestedPort?: number;
|
|
12484
12760
|
});
|
|
12485
12761
|
}
|
|
12486
|
-
declare class
|
|
12487
|
-
|
|
12762
|
+
declare class StorybookDevServerDisconnectedError extends StorybookError {
|
|
12763
|
+
data: {
|
|
12764
|
+
code?: number;
|
|
12765
|
+
reason?: string;
|
|
12766
|
+
};
|
|
12767
|
+
constructor(data?: {
|
|
12768
|
+
code?: number;
|
|
12769
|
+
reason?: string;
|
|
12770
|
+
});
|
|
12488
12771
|
}
|
|
12489
|
-
declare class
|
|
12490
|
-
|
|
12772
|
+
declare class SavingGlobalSettingsFileError extends StorybookError {
|
|
12773
|
+
data: {
|
|
12774
|
+
filePath: string;
|
|
12775
|
+
error: Error | unknown;
|
|
12776
|
+
};
|
|
12777
|
+
constructor(data: {
|
|
12778
|
+
filePath: string;
|
|
12779
|
+
error: Error | unknown;
|
|
12780
|
+
});
|
|
12491
12781
|
}
|
|
12782
|
+
//#endregion
|
|
12783
|
+
//#region .dts-emit/code/core/src/shared/open-service/errors.d.ts
|
|
12784
|
+
/** Identifies which operation surface produced a validation failure. */
|
|
12785
|
+
type OperationKind = 'query' | 'command';
|
|
12786
|
+
/**
|
|
12787
|
+
* Describes the operation and validation phase associated with a schema failure.
|
|
12788
|
+
*/
|
|
12789
|
+
type ValidationMeta = {
|
|
12790
|
+
kind: OperationKind;
|
|
12791
|
+
serviceId: ServiceId;
|
|
12792
|
+
name: string;
|
|
12793
|
+
phase: 'input' | 'output';
|
|
12794
|
+
issues: ReadonlyArray<StandardSchemaV1.Issue>;
|
|
12795
|
+
};
|
|
12796
|
+
//#endregion
|
|
12797
|
+
//#region .dts-emit/code/core/src/errors/server/open-service.d.ts
|
|
12492
12798
|
declare class OpenServiceValidationError extends StorybookError {
|
|
12493
12799
|
data: ValidationMeta;
|
|
12494
12800
|
constructor(data: ValidationMeta);
|
|
@@ -12738,161 +13044,8 @@ declare class OpenServiceDuplicateToolNameError extends StorybookError {
|
|
|
12738
13044
|
transport: 'mcp' | 'cli';
|
|
12739
13045
|
});
|
|
12740
13046
|
}
|
|
12741
|
-
|
|
12742
|
-
|
|
12743
|
-
error: Error;
|
|
12744
|
-
presetName: string;
|
|
12745
|
-
};
|
|
12746
|
-
constructor(data: {
|
|
12747
|
-
error: Error;
|
|
12748
|
-
presetName: string;
|
|
12749
|
-
});
|
|
12750
|
-
}
|
|
12751
|
-
declare class MissingBuilderError extends StorybookError {
|
|
12752
|
-
constructor();
|
|
12753
|
-
}
|
|
12754
|
-
declare class GoogleFontsDownloadError extends StorybookError {
|
|
12755
|
-
data: {
|
|
12756
|
-
fontFamily: string;
|
|
12757
|
-
url: string;
|
|
12758
|
-
};
|
|
12759
|
-
constructor(data: {
|
|
12760
|
-
fontFamily: string;
|
|
12761
|
-
url: string;
|
|
12762
|
-
});
|
|
12763
|
-
}
|
|
12764
|
-
declare class GoogleFontsLoadingError extends StorybookError {
|
|
12765
|
-
data: {
|
|
12766
|
-
error: unknown | Error;
|
|
12767
|
-
url: string;
|
|
12768
|
-
};
|
|
12769
|
-
constructor(data: {
|
|
12770
|
-
error: unknown | Error;
|
|
12771
|
-
url: string;
|
|
12772
|
-
});
|
|
12773
|
-
}
|
|
12774
|
-
declare class NoMatchingExportError extends StorybookError {
|
|
12775
|
-
data: {
|
|
12776
|
-
error: unknown | Error;
|
|
12777
|
-
};
|
|
12778
|
-
constructor(data: {
|
|
12779
|
-
error: unknown | Error;
|
|
12780
|
-
});
|
|
12781
|
-
}
|
|
12782
|
-
declare class MainFileMissingError extends StorybookError {
|
|
12783
|
-
data: {
|
|
12784
|
-
location: string;
|
|
12785
|
-
source?: 'storybook' | 'vitest';
|
|
12786
|
-
};
|
|
12787
|
-
constructor(data: {
|
|
12788
|
-
location: string;
|
|
12789
|
-
source?: 'storybook' | 'vitest';
|
|
12790
|
-
});
|
|
12791
|
-
}
|
|
12792
|
-
declare class MainFileEvaluationError extends StorybookError {
|
|
12793
|
-
data: {
|
|
12794
|
-
location: string;
|
|
12795
|
-
error: Error;
|
|
12796
|
-
};
|
|
12797
|
-
constructor(data: {
|
|
12798
|
-
location: string;
|
|
12799
|
-
error: Error;
|
|
12800
|
-
});
|
|
12801
|
-
}
|
|
12802
|
-
declare class StatusTypeIdMismatchError extends StorybookError {
|
|
12803
|
-
data: {
|
|
12804
|
-
status: Status$1;
|
|
12805
|
-
typeId: StatusTypeId;
|
|
12806
|
-
};
|
|
12807
|
-
constructor(data: {
|
|
12808
|
-
status: Status$1;
|
|
12809
|
-
typeId: StatusTypeId;
|
|
12810
|
-
});
|
|
12811
|
-
}
|
|
12812
|
-
declare class NoFreePortError extends StorybookError {
|
|
12813
|
-
data: {
|
|
12814
|
-
requestedPort?: number;
|
|
12815
|
-
};
|
|
12816
|
-
constructor(data: {
|
|
12817
|
-
requestedPort?: number;
|
|
12818
|
-
});
|
|
12819
|
-
}
|
|
12820
|
-
declare class StorybookDevServerDisconnectedError extends StorybookError {
|
|
12821
|
-
data: {
|
|
12822
|
-
code?: number;
|
|
12823
|
-
reason?: string;
|
|
12824
|
-
};
|
|
12825
|
-
constructor(data?: {
|
|
12826
|
-
code?: number;
|
|
12827
|
-
reason?: string;
|
|
12828
|
-
});
|
|
12829
|
-
}
|
|
12830
|
-
declare class GenerateNewProjectOnInitError extends StorybookError {
|
|
12831
|
-
data: {
|
|
12832
|
-
error: unknown | Error;
|
|
12833
|
-
packageManager: string;
|
|
12834
|
-
projectType: string;
|
|
12835
|
-
};
|
|
12836
|
-
constructor(data: {
|
|
12837
|
-
error: unknown | Error;
|
|
12838
|
-
packageManager: string;
|
|
12839
|
-
projectType: string;
|
|
12840
|
-
});
|
|
12841
|
-
}
|
|
12842
|
-
type MinimumReleaseAgeHandledErrorData = {
|
|
12843
|
-
message: string;
|
|
12844
|
-
cause?: unknown;
|
|
12845
|
-
} | {
|
|
12846
|
-
packageManagerName: string;
|
|
12847
|
-
minimumReleaseAgeConfigName: string;
|
|
12848
|
-
minimumReleaseAgeConfigDocs: string;
|
|
12849
|
-
minimumReleaseAgeExclusionsConfigName?: string;
|
|
12850
|
-
minimumReleaseAgeExclusionsConfigDocs?: string;
|
|
12851
|
-
failedPackage?: string | null;
|
|
12852
|
-
cause?: unknown;
|
|
12853
|
-
};
|
|
12854
|
-
declare class MinimumReleaseAgeHandledError extends StorybookError {
|
|
12855
|
-
data: MinimumReleaseAgeHandledErrorData;
|
|
12856
|
-
constructor(data: MinimumReleaseAgeHandledErrorData);
|
|
12857
|
-
}
|
|
12858
|
-
declare class AddonVitestPostinstallPrerequisiteCheckError extends StorybookError {
|
|
12859
|
-
data: {
|
|
12860
|
-
reasons: string[];
|
|
12861
|
-
};
|
|
12862
|
-
constructor(data: {
|
|
12863
|
-
reasons: string[];
|
|
12864
|
-
});
|
|
12865
|
-
}
|
|
12866
|
-
declare class AddonVitestPostinstallWorkspaceUpdateError extends StorybookError {
|
|
12867
|
-
data: {
|
|
12868
|
-
filePath: string;
|
|
12869
|
-
};
|
|
12870
|
-
constructor(data: {
|
|
12871
|
-
filePath: string;
|
|
12872
|
-
});
|
|
12873
|
-
}
|
|
12874
|
-
declare class AddonVitestPostinstallConfigUpdateError extends StorybookError {
|
|
12875
|
-
data: {
|
|
12876
|
-
filePath: string;
|
|
12877
|
-
};
|
|
12878
|
-
constructor(data: {
|
|
12879
|
-
filePath: string;
|
|
12880
|
-
});
|
|
12881
|
-
}
|
|
12882
|
-
declare class AddonVitestPostinstallError extends StorybookError {
|
|
12883
|
-
data: {
|
|
12884
|
-
errors: StorybookError[];
|
|
12885
|
-
};
|
|
12886
|
-
constructor(data: {
|
|
12887
|
-
errors: StorybookError[];
|
|
12888
|
-
});
|
|
12889
|
-
}
|
|
12890
|
-
declare class NoStatsForViteDevError extends StorybookError {
|
|
12891
|
-
constructor();
|
|
12892
|
-
}
|
|
12893
|
-
declare class ViteModuleGraphSubscriptionError extends StorybookError {
|
|
12894
|
-
constructor();
|
|
12895
|
-
}
|
|
13047
|
+
//#endregion
|
|
13048
|
+
//#region .dts-emit/code/core/src/errors/server/package-manager.d.ts
|
|
12896
13049
|
declare class FindPackageVersionsError extends StorybookError {
|
|
12897
13050
|
data: {
|
|
12898
13051
|
error: Error | unknown;
|
|
@@ -12905,24 +13058,6 @@ declare class FindPackageVersionsError extends StorybookError {
|
|
|
12905
13058
|
packageManager: string;
|
|
12906
13059
|
});
|
|
12907
13060
|
}
|
|
12908
|
-
declare class IncompatiblePostCssConfigError extends StorybookError {
|
|
12909
|
-
data: {
|
|
12910
|
-
error: Error;
|
|
12911
|
-
};
|
|
12912
|
-
constructor(data: {
|
|
12913
|
-
error: Error;
|
|
12914
|
-
});
|
|
12915
|
-
}
|
|
12916
|
-
declare class SavingGlobalSettingsFileError extends StorybookError {
|
|
12917
|
-
data: {
|
|
12918
|
-
filePath: string;
|
|
12919
|
-
error: Error | unknown;
|
|
12920
|
-
};
|
|
12921
|
-
constructor(data: {
|
|
12922
|
-
filePath: string;
|
|
12923
|
-
error: Error | unknown;
|
|
12924
|
-
});
|
|
12925
|
-
}
|
|
12926
13061
|
type ExecaCommandErrorData = {
|
|
12927
13062
|
command: string;
|
|
12928
13063
|
args: string[];
|
|
@@ -12998,4 +13133,4 @@ declare class PlaywrightInstallFailedError extends StorybookError {
|
|
|
12998
13133
|
});
|
|
12999
13134
|
}
|
|
13000
13135
|
//#endregion
|
|
13001
|
-
export { PackageInstallDependencyConflictError as $, API_TestEntry$1 as $a, API_GroupEntry$1 as $c, Addon_TypesEnum$1 as $i, ArgsStoryFn$1 as $n, PresetProperty$1 as $o, StrictArgTypes$2 as $r, StoriesSpecifier as $s, combineArgs as $t, OpenServiceDocgenMissingComponentError as A, DocsPreparedPayload as Aa, useTestProviderStore as Ac, Addon_MakeDecoratorResult$1 as Ai, experimental_requestResponse as Al, BoundStory as An, CompatibleString$1 as Ao, SBOtherType as Ar, DocgenError as As, ComposeStoryFn$1 as At, OpenServiceMissingServiceError as B, API_FilterFunction$1 as Ba, useStatusStore as Bc, Addon_StoryFn as Bi, shortcutMatchesShortcut as Bl, PreparedStory$1 as Bn, CoreConfig$1 as Bo, StoryContext$2 as Br, BaseIndexInput as Bs, simulateDOMContentLoaded as Bt, NoFreePortError as C, API_SetRefData$1 as Ca, toMcpToolName as Cc, Addon_Elements as Ci, useSharedState as Cl, ResolvedModuleExportFromType$1 as Cn, StoryDocsProviderPreset as Co, PlayFunction as Cr, ImportParser as Cs, StatusValue$1 as Ct, OpenServiceAsyncRecipeError as D, API_UI$1 as Da, fullTestProviderStore as Dc, Addon_Loader as Di, _default as Dl, Builder_EnvsRaw as Dn, BuilderResult as Do, SBEnumType as Dr, FileChangeEvent as Ds, Feature$1 as Dt, NxProjectDetectedError as E, API_StoryMapper as Ea, Tag$4 as Ec, Addon_Loadable as Ei, useStorybookState as El, BuilderStats as En, BuilderOptions$1 as Eo, SBArrayType as Er, ChangeDetectionAdapter as Es, SupportedLanguage$1 as Et, OpenServiceInvalidStaticPathError as F, SetStoriesStoryData as Fa, TestProviderStoreEvent as Fc, Addon_RenderOptions$1 as Fi, eventMatchesShortcut as Fl, NamedOrDefaultProjectAnnotations$1 as Fn, CoreCommon_AddonInfo$1 as Fo, StepFunction as Fr, DocgenProviderDescriptor as Fs, getService as Ft, OpenServiceRemoteCommandDisconnectedError as G, API_OptionsData$1 as Ga, Event as Gc, Addon_StorySortOrder as Gi, Addon_Type$1 as Gl, WebRenderer$1 as Gn, LoadedPreset$1 as Go, StoryFn as Gr, IndexInput$1 as Gs, PreviewWithSelection as Gt, OpenServiceModuleGraphUnavailableError as H, API_HashEntry$1 as Ha, useUniversalStore as Hc, Addon_StorySortComparatorV7 as Hi, shortcutToHumanString as Hl, RenderContext as Hn, DocsOptions$1 as Ho, StoryContextForLoaders as Hr, DocsIndexEntry$1 as Hs, WebView as Ht, OpenServiceInvalidToolsetMethodIdError as I, StoryPreparedPayload as Ia, UseTestProviderStore as Ic, Addon_RequireContext as Ii, eventToShortcut as Il, NormalizedComponentAnnotations$1 as In, CoreCommon_OptionsEntry as Io, StepLabel as Ir, DocgenProviderInput as Is, registerService as It, OpenServiceTestRunTimeoutError as J, API_RefStoryRuntimeData as Ja, API as Jc, Addon_StoryWrapper$1 as Ji, ArgTypes$2 as Jn, ModuleResolveConfig as Jo, StoryKind$1 as Jr, IndexedStory as Js, Preview$1 as Jt, OpenServiceRemoteCommandUnhandledError as K, API_PreparedIndexEntry as Ka, EventInfo as Kc, Addon_StorySortParameter as Ki, addons$1 as Kl, AfterEach$1 as Kn, Manifests$1 as Ko, StoryId$2 as Kr, IndexInputStats$1 as Ks, View as Kt, OpenServiceLoadedDrainExceededError as L, API_BaseEntry as La, fullStatusStore as Lc, Addon_StoryApi as Li, isShortcutTaken as Ll, NormalizedProjectAnnotations$1 as Ln, CoreCommon_ResolvedAddonPreset$1 as Lo, StepRunner$1 as Lr, DocgenSubcomponent as Ls, pauseAnimations as Lt, OpenServiceDuplicateToolNameError as M, SetGlobalsPayload as Ma, TestProviderState as Mc, Addon_OptionsParameterV7 as Mi, KeyboardEventLike as Ml, ModuleExport$1 as Mn, ComponentSubcomponentManifest as Mo, SBType$1 as Mr, DocgenMiddleware as Ms, PartialArgsStoryFn as Mt, OpenServiceDuplicateToolsetError as N, SetStoriesPayload as Na, TestProviderStateByProviderId as Nc, Addon_PageType$1 as Ni, controlOrMetaKey as Nl, ModuleExports$1 as Nn, ComponentsManifest as No, SBUnionType as Nr, DocgenPayload$1 as Ns, Store_CSFExports$1 as Nt, OpenServiceAsyncSchemaError as O, API_ViewMode$1 as Oa, getTestProviderStoreById as Oc, Addon_LoaderFunction as Oi, isMacLike as Ol, Builder_Unpromise as On, CLIBaseOptions as Oo, SBIntersectionType as Or, ModuleResolveConfig$1 as Os, REVIEW_EVENTS as Ot, OpenServiceInternalServiceError as P, SetStoriesStory as Pa, TestProviderStoreById as Pc, Addon_PartialStoryFn as Pi, controlOrMetaSymbol as Pl, ModuleImportFn$1 as Pn, CoreCommon_AddonEntry as Po, SeparatorOptions as Pr, DocgenProvider as Ps, StoriesWithPartialProps$1 as Pt, OpenServiceValidationError as Q, API_StoryEntry$1 as Qa, API_EventMap as Qc, Addon_Types$1 as Qi, ArgsFromMeta$1 as Qn, PresetConfig$1 as Qo, StorybookTypes$1 as Qr, StoriesEntry$1 as Qs, userOrAutoTitleFromSpecifier as Qt, OpenServiceMissingChannelError as R, API_ComponentEntry as Ra, getStatusStoreByTypeId as Rc, Addon_StoryContext as Ri, keyToSymbol as Rl, NormalizedStoryAnnotations$1 as Rn, CoreCommon_ResolvedAddonVirtual$1 as Ro, StoryAnnotations$1 as Rr, DocgenWorkerModule as Rs, waitForAnimations as Rt, MissingFrameworkFieldError as S, API_RouteOptions as Sa, parseToolsetMethodId as Sc, Addon_DecoratorFunction$1 as Si, useParameter as Sl, ResolvedModuleExport as Sn, StoryDocsProviderInput as So, Path$1 as Sr, ImportEdge as Ss, StatusTypeId as St, NoStatsForViteDevError as T, API_StateMerger$1 as Ta, defineService as Tc, Addon_LoadFn as Ti, useStorybookApi as Tl, StoryRenderOptions$1 as Tn, BuilderName as To, Renderer$2 as Tr, ParseFileArgs as Ts, UseStatusStore as Tt, OpenServiceOperationNameCollisionError as U, API_IndexHash$1 as Ua, UniversalStore as Uc, Addon_StorySortMethod as Ui, Options$2 as Ul, RenderToCanvas$1 as Un, Entry as Uo, StoryContextForRender as Ur, DocsIndexInput as Us, UrlStore as Ut, OpenServiceMissingToolsetError as V, API_GroupEntry as Va, MockUniversalStore as Vc, Addon_StorySortComparator as Vi, shortcutToAriaKeyshortcuts as Vl, ProjectAnnotations$2 as Vn, CsfEnricher$1 as Vo, StoryContextForEnhancers$1 as Vr, DocsAnchor$1 as Vs, simulatePageLoad as Vt, OpenServiceRemoteCommandConfigDriftError as W, API_LeafEntry$1 as Wa, Actor as Wc, Addon_StorySortObjectParameter as Wi, AddonStore$1 as Wl, TeardownRenderToCanvas as Wn, LoadOptions$1 as Wo, StoryContextUpdate$1 as Wr, IndexEntry$1 as Ws, PreviewWeb as Wt, OpenServiceUnimplementedOperationError as X, API_RootEntry as Xa, API_ComposedRef$2 as Xc, Addon_ToolbarConfig as Xi, Args$2 as Xn, PackageJson$2 as Xo, StorybookInternalParameters as Xr, IndexerOptions as Xs, sortStoriesV7 as Xt, OpenServiceToolsetOutputMismatchError as Y, API_ReleaseNotes as Ya, API_ComponentEntry$1 as Yc, Addon_TestProviderType$1 as Yi, ArgTypesEnhancer as Yn, Options$1 as Yo, StoryName$1 as Yr, Indexer$1 as Ys, DocsContext as Yt, OpenServiceUnknownStoryIdsError as Z, API_Settings$1 as Za, API_DocsEntry$2 as Zc, Addon_Type as Zi, ArgsEnhancer as Zn, Preset as Zo, StorybookParameters as Zr, NormalizedStoriesSpecifier$1 as Zs, userOrAutoTitle as Zt, InvalidStoriesEntryError as _, API_ProviderData$1 as _a, DocsAccess as _c, Addon_ClientApiReturnFn as _i, useArgTypes as _l, makeDecorator as _n, StoryDoc as _o, LegacyStoryAnnotationsOrFn$1 as _r, TypescriptOptions$1 as _s, Status$1 as _t, Category as a, IndexEntryLegacy as aa, V3CompatIndexEntry as ac, Addon_AddStoryArgs as ai, API_StoryEntry$2 as al, filterArgTypes as an, useServiceQuery as ao, CleanupCallback$1 as ar, RendererName as as, PnpmNoTtyModulesDirError as at, MinimumReleaseAgeHandledError as b, API_Refs$1 as ba, ToolsetMethodId as bc, Addon_Comparator as bi, useGlobalTypes as bl, DocsRenderFunction$1 as bn, StoryDocsPayload as bo, Parameters$2 as br, SupportedFramework$1 as bs, StatusStoreByTypeId$1 as bt, CriticalPresetLoadError as c, API_ComposedRefUpdate$1 as ca, getToolset as cc, Addon_ArgsStoryFn as ci, Listener$2 as cl, composeStories as cn, TypedGetService as co, ComponentTitle$1 as cr, Stats as cs, StorybookDevServerDisconnectedError as ct, FindPackageVersionsError as d, API_LayoutCustomisations$1 as da, PreviewStoriesOutput as dc, Addon_BaseMeta as di, ManagerProvider as dl, setProjectAnnotations as dn, ReviewState as do, DecoratorFunction$2 as dr, StorybookConfigRaw$1 as ds, formatExecaCommand as dt, Addon_TypesMapping$1 as ea, StoryIndex$1 as ec, StrictArgs$1 as ei, API_HashEntry$2 as el, decorateStory as en, API_UnknownEntries$1 as eo, BaseAnnotations$1 as er, PresetPropertyFn as es, PackageInstallFailedError as et, GenerateNewProjectOnInitError as f, API_LoadedRefData$1 as fa, StoryIndexAccess as fc, Addon_BaseStoryFn as fi, ManagerProviderProps as fl, composeStepRunners as fn, prependImportToSnippet as fo, GlobalTypes$1 as fr, StorybookFeatures as fs, formatExecaFailureDetails as ft, InvalidFrameworkNameError as g, API_Provider$1 as ga, SourceWithUrl as gc, Addon_ClientApiAddons as gi, useAddonState as gl, normalizeStory as gn, StoryDocsService as go, LegacyAnnotatedStoryFn as gr, TestBuildFlags as gs, REVIEW_STATUS_TYPE_ID as gt, IncompatiblePostCssConfigError as h, API_PanelPositions$1 as ha, createDocsToolset as hc, Addon_ClientApiAddon as hi, typesX as hl, normalizeProjectAnnotations as hn, selectWarningForStory as ho, InputType as hr, TestBuildConfig as hs, NON_AGGREGATED_STATUS_TYPE_IDS as ht, AddonVitestPostinstallWorkspaceUpdateError as i, BaseStory as ia, StoryIndexV3$1 as ic, ViewMode$2 as ii, API_RootEntry$1 as il, PropDescriptor as in, registerService$1 as io, Canvas$1 as ir, Ref$2 as is, PnpmIgnoredBuildsError as it, OpenServiceDuplicateRegistrationError as j, GlobalsUpdatedPayload as ja, TestProviderId as jc, Addon_OptionsParameter as ji, API_KeyCollection as jl, CSFFile$1 as jn, ComponentManifest as jo, SBScalarType as jr, DocgenJsDocTags as js, ComposedStoryFn$1 as jt, OpenServiceCyclicStateError as k, FilterFunction as ka, universalTestProviderStore as kc, Addon_Loaders as ki, RequestResponseError as kl, Builder_WithRequiredProperty as kn, CLIOptions$1 as ko, SBObjectType as kr, DocgenService as ks, REVIEW_NAMESPACE as kt, ExecaCommandErrorData as l, API_IframeRenderer$1 as la, registerToolset as lc, Addon_BaseAnnotations as li, ManagerConsumer as ll, composeStory as ln, ModuleGraphServiceState as lo, Conditional$1 as lr, StorybookConfig$1 as ls, ViteModuleGraphSubscriptionError as lt, GoogleFontsLoadingError as m, API_Notification$1 as ma, reviewToolset as mc, Addon_BaseType$1 as mi, combineParameters$1 as ml, normalizeArrays as mn, selectStoryDoc as mo, IncludeExcludeOptions as mr, TagsOptions$1 as ms, CHANGE_DETECTION_STATUS_TYPE_ID as mt, AddonVitestPostinstallError as n, Addon_WrapperType$1 as na, StoryIndexInput as nc, Tag$2 as ni, API_LeafEntry$2 as nl, sanitizeStoryContextUpdate as nn, API_Versions$2 as no, BeforeAll as nr, Presets$1 as ns, PackageManagerBinaryNotFoundError as nt, ConflictingStaticDirConfigError as o, API_ActiveTabsType as oa, clearToolsetRegistry as oc, Addon_Annotations as oi, ActiveTabs as ol, combineParameters as on, useServiceCommand as oo, ComponentAnnotations$1 as or, SecurityConfig as os, SavingGlobalSettingsFileError as ot, GoogleFontsDownloadError as p, API_MatchOptions as pa, createStoriesToolset as pc, Addon_BaseStoryObject as pi, State as pl, composeConfigs as pn, selectSnippetForStory as po, Globals$2 as pr, TagOptions as ps, StorybookError as pt, OpenServiceServicesAppliedTwiceError as q, API_PreparedStoryIndex$1 as qa, StoreOptions as qc, Addon_StorySortParameterV7$1 as qi, AnnotatedStoryFn$1 as qn, Middleware as qo, StoryIdentifier as qr, IndexedCSFFile$1 as qs, SelectionStore as qt, AddonVitestPostinstallPrerequisiteCheckError as r, Addons_ArgTypes as ra, StoryIndexV2$1 as rc, TestFunction$1 as ri, API_Refs$2 as rl, inferControls as rn, getService$1 as ro, BeforeEach as rr, PreviewAnnotation as rs, PlaywrightInstallFailedError as rt, CouldNotEvaluateFrameworkError as s, API_ComposedRef$1 as sa, getRegisteredToolsets as sc, Addon_ArgType as si, Combo as sl, getCsfFactoryAnnotations as sn, ServerCoreServices as so, ComponentId as sr, ServerApp as ss, StatusTypeIdMismatchError as st, AddonVitestPostinstallConfigUpdateError as t, Addon_WrapperSettings as ta, StoryIndexEntry$1 as tc, StrictInputType as ti, API_IndexHash$2 as tl, defaultDecorateStory as tn, API_Version$1 as to, BaseProjectAnnotations as tr, PresetValue as ts, PackageInstallMissingManifestError as tt, ExecaCommandFailedError as u, API_Layout$1 as ua, KnownToolsets as uc, Addon_BaseDecorators as ui, ManagerContext as ul, setDefaultProjectAnnotations as un, ReviewCollection as uo, DecoratorApplicator$1 as ur, StorybookConfigOptions as us, describeUnknownStoryIds as ut, MainFileEvaluationError as v, API_RefId as va, ResolvedDocsEntry as vc, Addon_ClientStoryApi as vi, useArgs as vl, addons as vn, StoryDocsById as vo, LegacyStoryFn$1 as vr, VersionCheck as vs, StatusByTypeId$1 as vt, NoMatchingExportError as w, API_SidebarOptions$1 as wa, seedQueryState as wc, Addon_LegacyStoryFn as wi, useStoryPrepared as wl, ResolvedModuleExportType$1 as wn, Builder$1 as wo, PlayFunctionContext as wr, ImportParserContext as ws, StatusesByStoryIdAndTypeId$1 as wt, MissingBuilderError as x, API_RenderOptions as xa, getToolName as xc, Addon_Config$1 as xi, useGlobals as xl, RenderContextCallbacks$1 as xn, StoryDocsProvider as xo, PartialStoryFn$1 as xr, SupportedBuilder$1 as xs, StatusStoreEvent as xt, MainFileMissingError as y, API_RefUrl as ya, emptyManifests as yc, Addon_Collection$1 as yi, useChannel as yl, DocsContextProps$2 as yn, StoryDocsError as yo, LoaderFunction$1 as yr, SupportedRenderer$1 as ys, StatusStore as yt, OpenServiceMissingOriginError as z, API_DocsEntry$1 as za, universalStatusStore as zc, Addon_StoryContextUpdate as zi, optionOrAltSymbol as zl, PreparedMeta$1 as zn, CoreCommon_StorybookInfo$1 as zo, StoryAnnotationsOrFn$1 as zr, BaseIndexEntry as zs, emitTransformCode as zt };
|
|
13136
|
+
export { StatusValue$1 as $, ModuleResolveConfig as $a, useStoryPrepared as $c, FilterFunction as $i, PlayFunction as $n, ParseFileArgs as $o, Addon_LoaderFunction as $r, seedQueryState as $s, ResolvedModuleExportFromType$1 as $t, OpenServiceRemoteCommandConfigDriftError as A, BuilderOptions$1 as Aa, API_IndexHash$2 as Ac, API_ActiveTabsType as Ai, InvalidFrameworkNameError as Al, BaseAnnotations$1 as An, API_FilterFunction$1 as Ao, StrictArgs$1 as Ar, StoryIndexFileError as As, decorateStory as At, NoFreePortError as B, CoreCommon_OptionsEntry as Ba, ManagerProvider as Bc, API_Provider$1 as Bi, AddonVitestPostinstallPrerequisiteCheckError as Bl, DecoratorApplicator$1 as Bn, API_RootEntry as Bo, Addon_BaseMeta as Br, PreviewStoriesOutput as Bs, setDefaultProjectAnnotations as Bt, OpenServiceLoadedDrainExceededError as C, StoryDocsError as Ca, API as Cc, Addon_TypesEnum$1 as Ci, GoogleFontsLoadingError as Cl, AnnotatedStoryFn$1 as Cn, TestBuildConfig as Co, StoryIdentifier as Cr, Indexer$1 as Cs, SelectionStore as Ct, OpenServiceMissingToolsetError as D, StoryDocsProviderPreset as Da, API_EventMap as Dc, Addons_ArgTypes as Di, ConflictingStaticDirConfigError as Dl, ArgsEnhancer as Dn, API_BaseEntry as Do, StorybookParameters as Dr, StoriesSpecifier as Ds, userOrAutoTitle as Dt, OpenServiceMissingServiceError as E, StoryDocsProviderInput as Ea, API_DocsEntry$2 as Ec, Addon_WrapperType$1 as Ei, ViteModuleGraphSubscriptionError as El, Args$2 as En, VersionCheck as Eo, StorybookInternalParameters as Er, StoriesEntry$1 as Es, sortStoriesV7 as Et, OpenServiceToolsetOutputMismatchError as F, ComponentManifest as Fa, ActiveTabs as Fc, API_LayoutCustomisations$1 as Fi, MissingFrameworkFieldError as Fl, CleanupCallback$1 as Fn, API_OptionsData$1 as Fo, Addon_Annotations as Fr, clearToolsetRegistry as Fs, filterArgTypes as Ft, NON_AGGREGATED_STATUS_TYPE_IDS as G, CsfEnricher$1 as Ga, useAddonState as Gc, API_RenderOptions as Gi, StorybookError as Gl, InputType as Gn, API_Version$1 as Go, Addon_Comparator as Gr, SourceWithUrl as Gs, normalizeProjectAnnotations as Gt, StatusTypeIdMismatchError as H, CoreCommon_ResolvedAddonVirtual$1 as Ha, State as Hc, API_RefId as Hi, GenerateNewProjectOnInitError as Hl, GlobalTypes$1 as Hn, API_StoryEntry$1 as Ho, Addon_BaseStoryObject as Hr, createStoriesToolset as Hs, composeStepRunners as Ht, OpenServiceUnimplementedOperationError as I, ComponentSubcomponentManifest as Ia, Combo as Ic, API_LoadedRefData$1 as Ii, NoMatchingExportError as Il, ComponentAnnotations$1 as In, API_PreparedIndexEntry as Io, Addon_ArgType as Ir, getRegisteredToolsets as Is, combineParameters as It, StatusByTypeId$1 as J, ForkbookConfig$1 as Ja, useChannel as Jc, API_SidebarOptions$1 as Ji, LegacyStoryFn$1 as Jn, SupportedFramework$1 as Jo, Addon_Elements as Jr, emptyManifests as Js, addons as Jt, REVIEW_STATUS_TYPE_ID as K, DocsOptions$1 as Ka, useArgTypes as Kc, API_RouteOptions as Ki, LegacyAnnotatedStoryFn as Kn, API_Versions$2 as Ko, Addon_Config$1 as Kr, DocsAccess as Ks, normalizeStory as Kt, OpenServiceUnknownStoryIdsError as L, ComponentsManifest as La, Listener$2 as Lc, API_MatchOptions as Li, NxProjectDetectedError as Ll, ComponentId as Ln, API_PreparedStoryIndex$1 as Lo, Addon_ArgsStoryFn as Lr, getToolset as Ls, getCsfFactoryAnnotations as Lt, OpenServiceRemoteCommandUnhandledError as M, CLIBaseOptions as Ma, API_Refs$2 as Mc, API_ComposedRefUpdate$1 as Mi, MainFileEvaluationError as Ml, BeforeAll as Mn, API_HashEntry$1 as Mo, Tag$2 as Mr, StoryIndexV2$1 as Ms, sanitizeStoryContextUpdate as Mt, OpenServiceServicesAppliedTwiceError as N, CLIOptions$1 as Na, API_RootEntry$1 as Nc, API_IframeRenderer$1 as Ni, MainFileMissingError as Nl, BeforeEach as Nn, API_IndexHash$1 as No, TestFunction$1 as Nr, StoryIndexV3$1 as Ns, inferControls as Nt, OpenServiceModuleGraphUnavailableError as O, Builder$1 as Oa, API_GroupEntry$1 as Oc, BaseStory as Oi, CouldNotEvaluateFrameworkError as Ol, ArgsFromMeta$1 as On, API_ComponentEntry as Oo, StorybookTypes$1 as Or, StoryIndex$1 as Os, userOrAutoTitleFromSpecifier as Ot, OpenServiceTestRunTimeoutError as P, CompatibleString$1 as Pa, API_StoryEntry$2 as Pc, API_Layout$1 as Pi, MissingBuilderError as Pl, Canvas$1 as Pn, API_LeafEntry$1 as Po, ViewMode$2 as Pr, V3CompatIndexEntry as Ps, PropDescriptor as Pt, StatusTypeId as Q, Middleware$1 as Qa, useSharedState as Qc, API_ViewMode$1 as Qi, Path$1 as Qn, ImportParserContext as Qo, Addon_Loader as Qr, toMcpToolName as Qs, ResolvedModuleExport as Qt, OpenServiceValidationError as R, CoreCommon_AddonEntry as Ra, ManagerConsumer as Rc, API_Notification$1 as Ri, AddonVitestPostinstallConfigUpdateError as Rl, ComponentTitle$1 as Rn, API_RefStoryRuntimeData as Ro, Addon_BaseAnnotations as Rr, registerToolset as Rs, composeStories as Rt, OpenServiceInvalidToolsetMethodIdError as S, StoryDocsById as Sa, StoreOptions as Sc, Addon_Types$1 as Si, GoogleFontsDownloadError as Sl, AfterEach$1 as Sn, TagsOptions$1 as So, StoryId$2 as Sr, IndexedStory as Ss, View as St, OpenServiceMissingOriginError as T, StoryDocsProvider as Ta, API_ComposedRef$2 as Tc, Addon_WrapperSettings as Ti, NoStatsForViteDevError as Tl, ArgTypesEnhancer as Tn, TypescriptOptions as To, StoryName$1 as Tr, NormalizedStoriesSpecifier$1 as Ts, DocsContext as Tt, StorybookDevServerDisconnectedError as U, CoreCommon_StorybookInfo$1 as Ua, combineParameters$1 as Uc, API_RefUrl as Ui, MinimumReleaseAgeHandledError as Ul, Globals$2 as Un, API_TestEntry$1 as Uo, Addon_BaseType$1 as Ur, reviewToolset as Us, composeConfigs as Ut, SavingGlobalSettingsFileError as V, CoreCommon_ResolvedAddonPreset$1 as Va, ManagerProviderProps as Vc, API_ProviderData$1 as Vi, AddonVitestPostinstallWorkspaceUpdateError as Vl, DecoratorFunction$2 as Vn, API_Settings$1 as Vo, Addon_BaseStoryFn as Vr, StoryIndexAccess as Vs, setProjectAnnotations as Vt, CHANGE_DETECTION_STATUS_TYPE_ID as W, CoreConfig$1 as Wa, typesX as Wc, API_Refs$1 as Wi, Category as Wl, IncludeExcludeOptions as Wn, API_UnknownEntries$1 as Wo, Addon_Collection$1 as Wr, createDocsToolset as Ws, normalizeArrays as Wt, StatusStoreByTypeId$1 as X, LoadedPreset$1 as Xa, useGlobals as Xc, API_StoryMapper as Xi, Parameters$2 as Xn, ImportEdge as Xo, Addon_LoadFn as Xr, getToolName as Xs, DocsRenderFunction$1 as Xt, StatusStore as Y, LoadOptions$1 as Ya, useGlobalTypes as Yc, API_StateMerger$1 as Yi, LoaderFunction$1 as Yn, SupportedBuilder$1 as Yo, Addon_LegacyStoryFn as Yr, ToolsetMethodId as Ys, DocsContextProps$2 as Yt, StatusStoreEvent as Z, Manifests$1 as Za, useParameter as Zc, API_UI$1 as Zi, PartialStoryFn$1 as Zn, ImportParser as Zo, Addon_Loadable as Zr, parseToolsetMethodId as Zs, RenderContextCallbacks$1 as Zt, OpenServiceDuplicateRegistrationError as _, selectSnippetForStory as _a, useUniversalStore as _c, Addon_StorySortParameterV7$1 as _i, shortcutToHumanString as _l, ProjectAnnotations$2 as _n, StoryIndexInvalidationListener as _o, StoryContextForEnhancers$1 as _r, DocsIndexInput as _s, simulatePageLoad as _t, PackageInstallFailedError as a, SetStoriesStoryData as aa, useTestProviderStore as ac, Addon_PartialStoryFn as ai, experimental_requestResponse as al, Builder_WithRequiredProperty as an, PresetPropertyFn as ao, SBObjectType as ar, DocgenJsDocTags as as, REVIEW_NAMESPACE as at, OpenServiceInternalServiceError as b, StoryDocsService as ba, Event as bc, Addon_ToolbarConfig as bi, Addon_Type$1 as bl, TeardownRenderToCanvas as bn, StorybookFeatures as bo, StoryContextUpdate$1 as br, IndexInputStats$1 as bs, PreviewWeb as bt, PlaywrightInstallFailedError as c, registerService$1 as ca, TestProviderStateByProviderId as cc, Addon_StoryContext as ci, controlOrMetaKey as cl, ModuleExport$1 as cn, PreviewAnnotation as co, SBType$1 as cr, DocgenProvider as cs, PartialArgsStoryFn as ct, formatExecaCommand as d, ServerCoreServices as da, UseTestProviderStore as dc, Addon_StorySortComparator as di, eventToShortcut as dl, NamedOrDefaultProjectAnnotations$1 as dn, RootPageOptions as do, StepFunction as dr, DocgenSubcomponent as ds, getService as dt, DocsPreparedPayload as ea, defineService as ec, Addon_Loaders as ei, useStorybookApi as el, ResolvedModuleExportType$1 as en, Options$1 as eo, PlayFunctionContext as er, ChangeDetectionAdapter as es, StatusesByStoryIdAndTypeId$1 as et, formatExecaFailureDetails as f, TypedGetService as fa, fullStatusStore as fc, Addon_StorySortComparatorV7 as fi, isShortcutTaken as fl, NormalizedComponentAnnotations$1 as fn, SecurityConfig as fo, StepLabel as fr, DocgenWorkerModule as fs, registerService as ft, OpenServiceDocgenMissingComponentError as g, prependImportToSnippet as ga, MockUniversalStore as gc, Addon_StorySortParameter as gi, shortcutToAriaKeyshortcuts as gl, PreparedStory$1 as gn, StoryIndexInvalidationEvent as go, StoryContext$2 as gr, DocsIndexEntry$1 as gs, simulateDOMContentLoaded as gt, OpenServiceCyclicStateError as h, ReviewState as ha, useStatusStore as hc, Addon_StorySortOrder as hi, shortcutMatchesShortcut as hl, PreparedMeta$1 as hn, StoryIndexGeneratorApi$1 as ho, StoryAnnotationsOrFn$1 as hr, DocsAnchor$1 as hs, emitTransformCode as ht, PackageInstallDependencyConflictError as i, SetStoriesStory as ia, universalTestProviderStore as ic, Addon_PageType$1 as ii, RequestResponseError as il, Builder_Unpromise as in, PresetProperty$1 as io, SBIntersectionType as ir, DocgenError as is, REVIEW_EVENTS as it, OpenServiceRemoteCommandDisconnectedError as j, BuilderResult as ja, API_LeafEntry$2 as jc, API_ComposedRef$1 as ji, InvalidStoriesEntryError as jl, BaseProjectAnnotations as jn, API_GroupEntry as jo, StrictInputType as jr, StoryIndexInput as js, defaultDecorateStory as jt, OpenServiceOperationNameCollisionError as k, BuilderName as ka, API_HashEntry$2 as kc, IndexEntryLegacy as ki, CriticalPresetLoadError as kl, ArgsStoryFn$1 as kn, API_DocsEntry$1 as ko, StrictArgTypes$2 as kr, StoryIndexEntry$1 as ks, combineArgs as kt, PnpmIgnoredBuildsError as l, useServiceQuery as la, TestProviderStoreById as lc, Addon_StoryContextUpdate as li, controlOrMetaSymbol as ll, ModuleExports$1 as ln, Ref$2 as lo, SBUnionType as lr, DocgenProviderDescriptor as ls, Store_CSFExports$1 as lt, OpenServiceAsyncSchemaError as m, ReviewCollection as ma, universalStatusStore as mc, Addon_StorySortObjectParameter as mi, optionOrAltSymbol as ml, NormalizedStoryAnnotations$1 as mn, Stats as mo, StoryAnnotations$1 as mr, BaseIndexInput as ms, waitForAnimations as mt, ExecaCommandFailedError as n, SetGlobalsPayload as na, fullTestProviderStore as nc, Addon_OptionsParameter as ni, _default as nl, BuilderStats as nn, Preset as no, SBArrayType as nr, ModuleResolveConfig$1 as ns, SupportedLanguage$1 as nt, PackageInstallMissingManifestError as o, StoryPreparedPayload as oa, TestProviderId as oc, Addon_RenderOptions$1 as oi, API_KeyCollection as ol, BoundStory as on, PresetValue as oo, SBOtherType as or, DocgenMiddleware as os, ComposeStoryFn$1 as ot, OpenServiceAsyncRecipeError as p, ModuleGraphServiceState as pa, getStatusStoreByTypeId as pc, Addon_StorySortMethod as pi, keyToSymbol as pl, NormalizedProjectAnnotations$1 as pn, ServerApp as po, StepRunner$1 as pr, BaseIndexEntry as ps, pauseAnimations as pt, Status$1 as q, Entry as qa, useArgs as qc, API_SetRefData$1 as qi, LegacyStoryAnnotationsOrFn$1 as qn, SupportedRenderer$1 as qo, Addon_DecoratorFunction$1 as qr, ResolvedDocsEntry as qs, makeDecorator as qt, FindPackageVersionsError as r, SetStoriesPayload as ra, getTestProviderStoreById as rc, Addon_OptionsParameterV7 as ri, isMacLike as rl, Builder_EnvsRaw as rn, PresetConfig$1 as ro, SBEnumType as rr, DocgenService as rs, Feature$1 as rt, PackageManagerBinaryNotFoundError as s, getService$1 as sa, TestProviderState as sc, Addon_RequireContext as si, KeyboardEventLike as sl, CSFFile$1 as sn, Presets$1 as so, SBScalarType as sr, DocgenPayload$1 as ss, ComposedStoryFn$1 as st, ExecaCommandErrorData as t, GlobalsUpdatedPayload as ta, Tag$4 as tc, Addon_MakeDecoratorResult$1 as ti, useStorybookState as tl, StoryRenderOptions$1 as tn, PackageJson$2 as to, Renderer$2 as tr, FileChangeEvent as ts, UseStatusStore as tt, PnpmNoTtyModulesDirError as u, useServiceCommand as ua, TestProviderStoreEvent as uc, Addon_StoryFn as ui, eventMatchesShortcut as ul, ModuleImportFn$1 as un, RendererName as uo, SeparatorOptions as ur, DocgenProviderInput as us, StoriesWithPartialProps$1 as ut, OpenServiceDuplicateToolNameError as v, selectStoryDoc as va, UniversalStore as vc, Addon_StoryWrapper$1 as vi, Options$2 as vl, RenderContext as vn, StorybookConfigOptions as vo, StoryContextForLoaders as vr, IndexEntry$1 as vs, WebView as vt, OpenServiceMissingChannelError as w, StoryDocsPayload as wa, API_ComponentEntry$1 as wc, Addon_TypesMapping$1 as wi, IncompatiblePostCssConfigError as wl, ArgTypes$2 as wn, TestBuildFlags as wo, StoryKind$1 as wr, IndexerOptions as ws, Preview$1 as wt, OpenServiceInvalidStaticPathError as x, StoryDoc as xa, EventInfo as xc, Addon_Type as xi, addons$1 as xl, WebRenderer$1 as xn, TagOptions as xo, StoryFn as xr, IndexedCSFFile$1 as xs, PreviewWithSelection as xt, OpenServiceDuplicateToolsetError as y, selectWarningForStory as ya, Actor as yc, Addon_TestProviderType$1 as yi, AddonStore$1 as yl, RenderToCanvas$1 as yn, StorybookConfigRaw$1 as yo, StoryContextForRender as yr, IndexInput$1 as ys, UrlStore as yt, describeUnknownStoryIds as z, CoreCommon_AddonInfo$1 as za, ManagerContext as zc, API_PanelPositions$1 as zi, AddonVitestPostinstallError as zl, Conditional$1 as zn, API_ReleaseNotes as zo, Addon_BaseDecorators as zr, KnownToolsets as zs, composeStory as zt };
|