@aussieljk/forkbook 0.0.1-2 → 0.0.1-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +1 -1
- package/assets/create/rendererAssets/common/header.css +1 -1
- package/assets/create/rendererAssets/common/page.css +2 -2
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +11 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-KRDPNBZS.js} +6 -6
- package/dist/_browser-chunks/{WithTooltip-XSQFTBMB.js → WithTooltip-523JD6VH.js} +4 -4
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-6ELMKWKX.js} +5 -5
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-6SHRDXGF.js} +24 -24
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-BZGX2THJ.js} +10 -10
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-DS2WQZGO.js} +7 -21
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-GU3X2J4S.js} +2 -2
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-K2B36HKM.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-K6GRZSXS.js} +1 -1
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-LXQPPHMD.js} +85 -93
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-NMRSYACM.js} +2 -2
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-SZCSXISG.js} +124 -104
- package/dist/_browser-chunks/{chunk-JMC7AIKT.js → chunk-UDQ3XQFC.js} +1 -1
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-ZLWA5RIE.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-CYMSKF3A.js} +29 -29
- package/dist/_node-chunks/{builder-manager-VVHYQXCH.js → builder-manager-RMLSIO45.js} +32 -32
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-2APY2YSW.js} +7 -7
- package/dist/_node-chunks/{chunk-NPO45IMH.js → chunk-2IJCISIB.js} +6 -6
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-2NWHHNNI.js} +6 -6
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-2QWFS23O.js} +7 -7
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-3XDIBUGD.js} +12 -11
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-4GD7MMLJ.js} +7 -7
- package/dist/_node-chunks/{chunk-GRBLDJCR.js → chunk-4LPAWP5S.js} +24 -24
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-5TPSYG4L.js} +8 -8
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-5ZLOPVTG.js} +6 -6
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-653BSJIX.js} +6 -6
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-6Y6RBJD7.js} +8 -8
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-74IEHSIR.js} +8 -8
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-7JA2DMCJ.js} +6 -6
- package/dist/_node-chunks/chunk-7XCEKQGV.js +18 -0
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-7XCJ7RAJ.js} +7 -7
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-A2UMIN5B.js} +7 -7
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-A4YELYR3.js} +8 -8
- package/dist/_node-chunks/{chunk-RZMQ7S3L.js → chunk-AFKKN27O.js} +6 -6
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-AU3SF2WM.js} +6 -6
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-AY6B2C46.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-B3LK7C7B.js} +13 -13
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-B5VFV3ZW.js} +10 -10
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-BOUA7OB7.js} +22 -32
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-CGWACHNW.js} +6 -6
- package/dist/_node-chunks/{chunk-5DQFEZEA.js → chunk-DD2S4BFV.js} +6 -6
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-DIUBMAMV.js} +8 -8
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-DVLFCSDG.js} +7 -7
- package/dist/_node-chunks/{chunk-MK2KYAI6.js → chunk-EGS2SAD2.js} +13 -13
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-ESZVID7Q.js} +7 -7
- package/dist/_node-chunks/{chunk-EHUNOMDD.js → chunk-F2N6BJRH.js} +10 -10
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-FAZ3MUOI.js} +7 -7
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-FJDJE7XC.js} +6 -6
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-FNGLVURC.js} +6 -6
- package/dist/_node-chunks/{chunk-UBOGWBEA.js → chunk-GEMKJCEE.js} +10 -10
- package/dist/_node-chunks/{chunk-BXVYT7SB.js → chunk-GKTCJPLL.js} +6 -6
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-GZBUCUF7.js} +6 -6
- package/dist/_node-chunks/{chunk-QEQLR22M.js → chunk-HENM5ZK3.js} +7 -7
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-HP5UY6OY.js} +6 -6
- package/dist/_node-chunks/chunk-HQM4ISVU.js +11 -0
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-HUFAUSEX.js} +6 -6
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-IBO346NQ.js} +25 -25
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-ILFIERUB.js} +8 -8
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-INEYTOWF.js} +13 -13
- package/dist/_node-chunks/{chunk-CQKMLL5J.js → chunk-IR34HUSL.js} +7 -7
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-J3M3X7GO.js} +6 -6
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-JEEXR245.js} +7 -7
- package/dist/_node-chunks/{chunk-ZMAMXQKP.js → chunk-K3I3G4VL.js} +7 -7
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-KINEBDMM.js} +35 -35
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-KN2S7JF2.js} +6 -6
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-KXDJ77EW.js} +7 -7
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-KZBZYQTZ.js} +9 -9
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-LGUMVMBA.js} +6 -6
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-M2UZP5GC.js} +7 -7
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-MOITZTEA.js} +8 -8
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-MRZD5SBV.js} +6 -6
- package/dist/_node-chunks/{chunk-JPAZLYJ3.js → chunk-MZMPFII2.js} +6 -6
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-NAYTBC72.js} +8 -8
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-NHIRHARE.js} +12 -12
- package/dist/_node-chunks/{chunk-6LMWA44H.js → chunk-NYAWUR6L.js} +11 -25
- package/dist/_node-chunks/{chunk-IDEL2J23.js → chunk-NYRUWAL3.js} +6 -6
- package/dist/_node-chunks/{chunk-TEQGGSP7.js → chunk-OIIORQX5.js} +6 -6
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-OQ4NCWE4.js} +7 -7
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-OS5LQEC6.js} +8 -8
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-P6QAFJ5M.js} +8 -8
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-PDCSUZ4L.js} +7 -7
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-POXTROIX.js} +6 -6
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-QDLR4JF5.js} +10 -10
- package/dist/_node-chunks/{chunk-TFCEV2XX.js → chunk-QU5ANYM7.js} +6 -6
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-RMLENEZC.js} +9 -9
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-RNF3Z4ZJ.js} +6 -6
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-SBQT3LMM.js} +10 -10
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-SQMCVWOR.js} +8 -8
- package/dist/_node-chunks/{chunk-3BKIBF5S.js → chunk-SSZ5REKS.js} +8 -8
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-STRSG3GT.js} +6 -6
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-TLVEPWBN.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-U5QMVW3H.js} +7 -7
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-UAALLQAQ.js} +9 -9
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-UIFLXDUL.js} +36 -35
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-UMZSNFWM.js} +6 -6
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-UXW4I2CN.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-V2JDVM46.js} +6 -6
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-VPOJCHKM.js} +14 -14
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-WBTLBIED.js} +6 -6
- package/dist/_node-chunks/{chunk-3T4ZSNPH.js → chunk-WEW23EEE.js} +8 -8
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-WHZWLJGO.js} +30 -30
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-WS367FSJ.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-X2KWNNFB.js} +6 -6
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-X3E55W5S.js} +6 -6
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-XBXGLD3K.js} +6 -6
- package/dist/_node-chunks/{chunk-W4OMYLSP.js → chunk-XD5SYXAU.js} +37 -37
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-XH6TDVML.js} +6 -6
- package/dist/_node-chunks/{chunk-SIEXZVCR.js → chunk-XWQEWRFD.js} +6 -6
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-YGXJOSRU.js} +7 -7
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-YU2WFBFL.js} +7 -7
- package/dist/_node-chunks/chunk-YYIZ2PC4.js +20 -0
- package/dist/_node-chunks/dist-CNA633FI.js +16 -0
- package/dist/_node-chunks/{globby-OEMHPBFY.js → globby-HRQV5N3V.js} +10 -10
- package/dist/_node-chunks/{jiti-NFX6UU74.js → jiti-WE7NHS2Y.js} +7 -7
- package/dist/_node-chunks/{lib-MDVARD7W.js → lib-7MVA6CTW.js} +7 -7
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-KTI3DH6X.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-2E3SW5TL.js} +14 -14
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-MWAMFHKY.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-MGORG6W7.js} +12 -12
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-QTQOY7E7.js} +10 -10
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-T7DZNKMB.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-CSHI5WYI.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-RAZD36YR.js} +12 -12
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-KJ3Z2TTY.js} +17 -17
- package/dist/_node-chunks/{run-NL66VTNR.js → run-S6XSLPEB.js} +13 -13
- package/dist/_node-chunks/session-id-GM226DGP.js +23 -0
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-35J66GFB.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-Z7OCRDKD.js} +9 -9
- package/dist/actions/decorator.js +2 -2
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +2 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +24 -24
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +56 -56
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +6 -6
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +27 -19
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +6 -5
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/index.d.ts +1 -1
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +16 -16
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +17 -17
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +12 -12
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +9 -9
- package/dist/builder-vite/index.js +17 -17
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.js +6 -6
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-B2xylxt5.d.ts} +43 -43
- package/dist/{chunk-C-bavsOH.d.ts → chunk-BWzbIWPz.d.ts} +1 -1
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-BYnH2sbb.d.ts} +1 -1
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-BTVrWliM.d.ts → chunk-DF6btpT3.d.ts} +1 -1
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-DIz17UEJ.d.ts} +20 -20
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-DtHByo32.d.ts → chunk-DuDsmeM7.d.ts} +1 -1
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-DvufcbCc.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.d.ts +8 -7
- package/dist/components/index.js +287 -292
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +77 -77
- package/dist/core-server/presets/common-manager.js +61 -61
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +44 -44
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +5 -5
- package/dist/csf/index.js +29 -29
- package/dist/csf-tools/index.js +13 -13
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.js +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-C9P2ZbMM.js} +125 -133
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-DuLFjsF4.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-dKGpUUSb.js} +38 -62
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-q5R9dawi.js} +408 -429
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-50_aob4S.js} +2 -2
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +998 -0
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-B9QzcYO3.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-BGvLm94o.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-BdLdsHca.js} +427 -425
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-CE2sHVqs.js} +58 -58
- package/dist/manager/_manager-chunks/{runtime-BK0zF7FN.js → runtime-CKP1i0--.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-DdCaBowH.js} +17 -27
- package/dist/manager/_manager-chunks/{runtime-B1L9TH89.js → runtime-wL4UO7YO.js} +12 -12
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +18 -47
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +2 -2
- package/dist/mocking-utils/index.js +15 -15
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +3 -3
- package/dist/nextjs-vite/node/index.d.ts +1 -1
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -1
- package/dist/nextjs-vite-plugin/index.js +11 -11
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-B3y8ocOg.js} +2 -2
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BoxmlDdB.js} +66 -66
- package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-CijtAN7R.js} +4 -4
- package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-D7B4bVe_.js} +3 -3
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DVM_AHbR.js} +36 -36
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +9 -9
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +3 -3
- package/dist/react/preset.js +14 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +2 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +6 -6
- package/dist/react-native/index.js +21 -20
- package/dist/react-native/metro/node.d.ts +2 -2
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.d.ts +1 -1
- package/dist/react-native/metro/withStorybook.js +16 -16
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native-theming/index.d.ts +2 -58
- package/dist/react-native-theming/index.js +63 -2338
- package/dist/react-native-ui/index.d.ts +6 -7
- package/dist/react-native-ui/index.js +7 -7
- package/dist/react-native-ui-common/index.d.ts +2 -3
- package/dist/react-vite/index.d.ts +1 -1
- package/dist/react-vite/node/index.d.ts +1 -1
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +1 -1
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +21 -21
- package/dist/telemetry/index.js +45 -45
- package/dist/test/index.js +2 -2
- package/dist/theming/create.js +1 -1
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +16 -16
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +6 -5
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +2 -2
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +2 -2
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +2 -2
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +2 -2
- package/LICENSE +0 -22
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +0 -22
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +0 -20
- package/dist/_node-chunks/session-id-KIIVOQLR.js +0 -23
- package/dist/chunk-BxWufQms.d.ts +0 -142
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as UnionToIntersection, t as OmitIndexSignature } from "./chunk-DaVb55-_.js";
|
|
2
2
|
import { t as Simplify } from "./chunk-FjDVzZTj.js";
|
|
3
|
-
import { r as BackgroundTypes } from "./chunk-
|
|
4
|
-
import { i as HighlightTypes } from "./chunk-
|
|
5
|
-
import { l as ViewportTypes } from "./chunk-
|
|
3
|
+
import { r as BackgroundTypes } from "./chunk-Dm-iHJ-s.js";
|
|
4
|
+
import { i as HighlightTypes } from "./chunk-DDd8BhTY.js";
|
|
5
|
+
import { l as ViewportTypes } from "./chunk-DgzPaTw9.js";
|
|
6
6
|
import React, { ComponentProps } from "react";
|
|
7
7
|
import { StorybookTypes } from "@aussieljk/forkbook/internal/types";
|
|
8
8
|
import { BoundFunctions, queries } from "@testing-library/dom";
|
|
@@ -363,7 +363,7 @@ interface ActionsParameters {
|
|
|
363
363
|
/**
|
|
364
364
|
* Actions configuration
|
|
365
365
|
*
|
|
366
|
-
* @see https://
|
|
366
|
+
* @see https://forkbook.ljk.dev/docs/essentials/actions#parameters
|
|
367
367
|
*/
|
|
368
368
|
actions?: {
|
|
369
369
|
/**
|
|
@@ -384,7 +384,7 @@ interface ActionsParameters {
|
|
|
384
384
|
* feature for the entire Forkbook, you can set the option in your `main.js|ts` configuration
|
|
385
385
|
* file.
|
|
386
386
|
*
|
|
387
|
-
* @see https://
|
|
387
|
+
* @see https://forkbook.ljk.dev/docs/essentials/actions#disable
|
|
388
388
|
*/
|
|
389
389
|
disable?: boolean;
|
|
390
390
|
/**
|
|
@@ -414,7 +414,7 @@ interface ControlsParameters {
|
|
|
414
414
|
/**
|
|
415
415
|
* Controls configuration
|
|
416
416
|
*
|
|
417
|
-
* @see https://
|
|
417
|
+
* @see https://forkbook.ljk.dev/docs/essentials/controls#parameters-1
|
|
418
418
|
*/
|
|
419
419
|
controls?: {
|
|
420
420
|
/**
|
|
@@ -422,7 +422,7 @@ interface ControlsParameters {
|
|
|
422
422
|
* feature for the entire Forkbook, you can set the option in your `main.js|ts` configuration
|
|
423
423
|
* file.
|
|
424
424
|
*
|
|
425
|
-
* @see https://
|
|
425
|
+
* @see https://forkbook.ljk.dev/docs/essentials/controls#disable
|
|
426
426
|
*/
|
|
427
427
|
disable?: boolean; /** Disable the ability to create or edit stories from the Controls panel */
|
|
428
428
|
disableSaveFromUI?: boolean; /** Exclude specific properties from the Controls panel */
|
|
@@ -436,7 +436,7 @@ interface ControlsParameters {
|
|
|
436
436
|
/**
|
|
437
437
|
* Custom control type matchers
|
|
438
438
|
*
|
|
439
|
-
* @see https://
|
|
439
|
+
* @see https://forkbook.ljk.dev/docs/essentials/controls#custom-control-type-matchers
|
|
440
440
|
*/
|
|
441
441
|
matchers?: {
|
|
442
442
|
date?: RegExp;
|
|
@@ -445,7 +445,7 @@ interface ControlsParameters {
|
|
|
445
445
|
/**
|
|
446
446
|
* Preset color swatches for the color picker control
|
|
447
447
|
*
|
|
448
|
-
* @example PresetColors: [{ color: '#
|
|
448
|
+
* @example PresetColors: [{ color: '#007aff', title: 'System blue' }, 'rgba(0, 159, 183, 1)',
|
|
449
449
|
* '#fe4a49']
|
|
450
450
|
*/
|
|
451
451
|
presetColors?: Array<string | {
|
|
@@ -464,14 +464,14 @@ interface MeasureParameters {
|
|
|
464
464
|
/**
|
|
465
465
|
* Measure configuration
|
|
466
466
|
*
|
|
467
|
-
* @see https://
|
|
467
|
+
* @see https://forkbook.ljk.dev/docs/essentials/measure-and-outline#parameters
|
|
468
468
|
*/
|
|
469
469
|
measure?: {
|
|
470
470
|
/**
|
|
471
471
|
* Removes the tool and disables the feature's behavior. If you wish to turn off this feature
|
|
472
472
|
* for the entire Forkbook, you can set the option in your `main.js|ts` configuration file.
|
|
473
473
|
*
|
|
474
|
-
* @see https://
|
|
474
|
+
* @see https://forkbook.ljk.dev/docs/essentials/measure-and-outline#disable
|
|
475
475
|
*/
|
|
476
476
|
disable?: boolean;
|
|
477
477
|
};
|
|
@@ -485,14 +485,14 @@ interface OutlineParameters {
|
|
|
485
485
|
/**
|
|
486
486
|
* Outline configuration
|
|
487
487
|
*
|
|
488
|
-
* @see https://
|
|
488
|
+
* @see https://forkbook.ljk.dev/docs/essentials/measure-and-outline#parameters
|
|
489
489
|
*/
|
|
490
490
|
outline?: {
|
|
491
491
|
/**
|
|
492
492
|
* Removes the tool and disables the feature's behavior. If you wish to turn off this feature
|
|
493
493
|
* for the entire Forkbook, you can set the option in your `main.js|ts` configuration file.
|
|
494
494
|
*
|
|
495
|
-
* @see https://
|
|
495
|
+
* @see https://forkbook.ljk.dev/docs/essentials/measure-and-outline#disable
|
|
496
496
|
*/
|
|
497
497
|
disable?: boolean;
|
|
498
498
|
};
|
|
@@ -563,7 +563,7 @@ type ConditionalValue = {
|
|
|
563
563
|
type Conditional$1 = ConditionalValue & ConditionalTest;
|
|
564
564
|
interface ControlBase {
|
|
565
565
|
[key: string]: any;
|
|
566
|
-
/** @see https://
|
|
566
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#controltype */
|
|
567
567
|
type?: ControlType;
|
|
568
568
|
disable?: boolean;
|
|
569
569
|
}
|
|
@@ -578,53 +578,53 @@ interface ReportingAPI {
|
|
|
578
578
|
addReport: (report: Report) => void;
|
|
579
579
|
}
|
|
580
580
|
type Control = ControlType | false | (ControlBase & (ControlBase | {
|
|
581
|
-
type: 'color'; /** @see https://
|
|
581
|
+
type: 'color'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlpresetcolors */
|
|
582
582
|
presetColors?: string[];
|
|
583
583
|
} | {
|
|
584
|
-
type: 'file'; /** @see https://
|
|
584
|
+
type: 'file'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlaccept */
|
|
585
585
|
accept?: string;
|
|
586
586
|
} | {
|
|
587
|
-
type: 'inline-check' | 'radio' | 'inline-radio' | 'select' | 'multi-select'; /** @see https://
|
|
587
|
+
type: 'inline-check' | 'radio' | 'inline-radio' | 'select' | 'multi-select'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controllabels */
|
|
588
588
|
labels?: {
|
|
589
589
|
[options: string]: string;
|
|
590
590
|
};
|
|
591
591
|
} | {
|
|
592
|
-
type: 'number' | 'range'; /** @see https://
|
|
593
|
-
max?: number; /** @see https://
|
|
594
|
-
min?: number; /** @see https://
|
|
592
|
+
type: 'number' | 'range'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlmax */
|
|
593
|
+
max?: number; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlmin */
|
|
594
|
+
min?: number; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlstep */
|
|
595
595
|
step?: number;
|
|
596
596
|
}));
|
|
597
597
|
interface InputType {
|
|
598
|
-
/** @see https://
|
|
598
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#control */
|
|
599
599
|
control?: Control;
|
|
600
|
-
/** @see https://
|
|
600
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#description */
|
|
601
601
|
description?: string;
|
|
602
|
-
/** @see https://
|
|
602
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#if */
|
|
603
603
|
if?: Conditional$1;
|
|
604
|
-
/** @see https://
|
|
604
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#mapping */
|
|
605
605
|
mapping?: {
|
|
606
606
|
[key: string]: any;
|
|
607
607
|
};
|
|
608
|
-
/** @see https://
|
|
608
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#name */
|
|
609
609
|
name?: string;
|
|
610
|
-
/** @see https://
|
|
610
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#options */
|
|
611
611
|
options?: readonly any[];
|
|
612
|
-
/** @see https://
|
|
612
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#table */
|
|
613
613
|
table?: {
|
|
614
|
-
[key: string]: unknown; /** @see https://
|
|
615
|
-
category?: string; /** @see https://
|
|
614
|
+
[key: string]: unknown; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tablecategory */
|
|
615
|
+
category?: string; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabledefaultvalue */
|
|
616
616
|
defaultValue?: {
|
|
617
617
|
summary?: string | undefined;
|
|
618
618
|
detail?: string | undefined;
|
|
619
|
-
}; /** @see https://
|
|
620
|
-
disable?: boolean; /** @see https://
|
|
621
|
-
subcategory?: string; /** @see https://
|
|
619
|
+
}; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabledisable */
|
|
620
|
+
disable?: boolean; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tablesubcategory */
|
|
621
|
+
subcategory?: string; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabletype */
|
|
622
622
|
type?: {
|
|
623
623
|
summary?: string | undefined;
|
|
624
624
|
detail?: string | undefined;
|
|
625
625
|
};
|
|
626
626
|
};
|
|
627
|
-
/** @see https://
|
|
627
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#type */
|
|
628
628
|
type?: SBType$1 | SBScalarType['name'];
|
|
629
629
|
/**
|
|
630
630
|
* Removed. Set the story value with `args`, or the docs-table text with `table.defaultValue`.
|
|
@@ -643,7 +643,7 @@ interface Args$2 {
|
|
|
643
643
|
interface StrictArgs$1 {
|
|
644
644
|
[name: string]: unknown;
|
|
645
645
|
}
|
|
646
|
-
/** @see https://
|
|
646
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#argtypes */
|
|
647
647
|
type ArgTypes$2<TArgs = Args$2> = { [name in keyof TArgs]: InputType };
|
|
648
648
|
type StrictArgTypes$2<TArgs = Args$2> = { [name in keyof TArgs]: StrictInputType };
|
|
649
649
|
interface Globals$2 {
|
|
@@ -763,32 +763,32 @@ interface BaseAnnotations$1<TRenderer extends Renderer$2 = Renderer$2, TArgs = A
|
|
|
763
763
|
*
|
|
764
764
|
* Decorators defined in Meta will be applied to every story variation.
|
|
765
765
|
*
|
|
766
|
-
* @see [Decorators](https://
|
|
766
|
+
* @see [Decorators](https://forkbook.ljk.dev/docs/writing-stories/decorators)
|
|
767
767
|
*/
|
|
768
768
|
decorators?: DecoratorFunction$2<TRenderer, Simplify<TArgs>>[] | DecoratorFunction$2<TRenderer, Simplify<TArgs>>;
|
|
769
769
|
/**
|
|
770
770
|
* Custom metadata for a story.
|
|
771
771
|
*
|
|
772
|
-
* @see [Parameters](https://
|
|
772
|
+
* @see [Parameters](https://forkbook.ljk.dev/docs/writing-stories/parameters)
|
|
773
773
|
*/
|
|
774
774
|
parameters?: Parameters$1 & (TRenderer['csf4'] extends true ? CoreTypes['parameters'] & TRenderer['parameters'] : unknown);
|
|
775
775
|
/**
|
|
776
776
|
* Dynamic data that are provided (and possibly updated by) Forkbook and its addons.
|
|
777
777
|
*
|
|
778
|
-
* @see [Args](https://
|
|
778
|
+
* @see [Args](https://forkbook.ljk.dev/docs/writing-stories/args)
|
|
779
779
|
*/
|
|
780
780
|
args?: Partial<TArgs>;
|
|
781
781
|
/**
|
|
782
782
|
* ArgTypes encode basic metadata for args, such as `name` and `description`. These get
|
|
783
783
|
* automatically filled in by Forkbook Docs.
|
|
784
784
|
*
|
|
785
|
-
* @see [ArgTypes](https://
|
|
785
|
+
* @see [ArgTypes](https://forkbook.ljk.dev/docs/api/arg-types)
|
|
786
786
|
*/
|
|
787
787
|
argTypes?: Partial<ArgTypes$2<TArgs>>;
|
|
788
788
|
/**
|
|
789
789
|
* Asynchronous functions which provide data for a story.
|
|
790
790
|
*
|
|
791
|
-
* @see [Loaders](https://
|
|
791
|
+
* @see [Loaders](https://forkbook.ljk.dev/docs/writing-stories/loaders)
|
|
792
792
|
*/
|
|
793
793
|
loaders?: LoaderFunction$1<TRenderer, TArgs>[] | LoaderFunction$1<TRenderer, TArgs>;
|
|
794
794
|
/**
|
|
@@ -852,7 +852,7 @@ interface ComponentAnnotations$1<TRenderer extends Renderer$2 = Renderer$2, TArg
|
|
|
852
852
|
*
|
|
853
853
|
* @example Export default { ... title: 'Design System/Atoms/Button' }
|
|
854
854
|
*
|
|
855
|
-
* @see [Story Hierarchy](https://
|
|
855
|
+
* @see [Story Hierarchy](https://forkbook.ljk.dev/docs/writing-stories/naming-components-and-hierarchy#structure-and-hierarchy)
|
|
856
856
|
*/
|
|
857
857
|
title?: ComponentTitle$1;
|
|
858
858
|
/**
|
|
@@ -860,7 +860,7 @@ interface ComponentAnnotations$1<TRenderer extends Renderer$2 = Renderer$2, TArg
|
|
|
860
860
|
*
|
|
861
861
|
* By default is inferred from sanitizing the title
|
|
862
862
|
*
|
|
863
|
-
* @see [Permalink to stories](https://
|
|
863
|
+
* @see [Permalink to stories](https://forkbook.ljk.dev/docs/configure/sidebar-and-urls#permalink-to-stories)
|
|
864
864
|
*/
|
|
865
865
|
id?: ComponentId;
|
|
866
866
|
/**
|
|
@@ -869,7 +869,7 @@ interface ComponentAnnotations$1<TRenderer extends Renderer$2 = Renderer$2, TArg
|
|
|
869
869
|
*
|
|
870
870
|
* @example IncludeStories: ['SimpleStory', 'ComplexStory'] includeStories: /.*Story$/
|
|
871
871
|
*
|
|
872
|
-
* @see [Non-story exports](https://
|
|
872
|
+
* @see [Non-story exports](https://forkbook.ljk.dev/docs/api/csf#non-story-exports)
|
|
873
873
|
*/
|
|
874
874
|
includeStories?: StoryDescriptor;
|
|
875
875
|
/**
|
|
@@ -878,7 +878,7 @@ interface ComponentAnnotations$1<TRenderer extends Renderer$2 = Renderer$2, TArg
|
|
|
878
878
|
*
|
|
879
879
|
* @example ExcludeStories: ['simpleData', 'complexData'] excludeStories: /.*Data$/
|
|
880
880
|
*
|
|
881
|
-
* @see [Non-story exports](https://
|
|
881
|
+
* @see [Non-story exports](https://forkbook.ljk.dev/docs/api/csf#non-story-exports)
|
|
882
882
|
*/
|
|
883
883
|
excludeStories?: StoryDescriptor;
|
|
884
884
|
/**
|
|
@@ -23,7 +23,7 @@ type StorybookConfigFramework = {
|
|
|
23
23
|
/**
|
|
24
24
|
* Enable the experimental `.test` function in CSF Next
|
|
25
25
|
*
|
|
26
|
-
* @see https://
|
|
26
|
+
* @see https://forkbook.ljk.dev/docs/api/main-config/main-config-features#experimentaltestsyntax
|
|
27
27
|
*/
|
|
28
28
|
experimentalTestSyntax?: boolean;
|
|
29
29
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as Queries, K as ServiceRegistrationOptions, S as Commands, V as ServiceDefinition, W as ServiceInstance, q as ServiceRegistryApi } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-
|
|
2
|
+
import { co as TypedGetService, so as ServerCoreServices } from "./chunk-DIz17UEJ.js";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/shared/open-service/server.d.ts
|
|
5
5
|
declare const getService: TypedGetService<ServerCoreServices>;
|
|
@@ -16,7 +16,7 @@ interface ReactParameters {
|
|
|
16
16
|
/**
|
|
17
17
|
* Whether to enable React Server Components
|
|
18
18
|
*
|
|
19
|
-
* @see https://
|
|
19
|
+
* @see https://forkbook.ljk.dev/docs/get-started/frameworks/nextjs#react-server-components-rsc
|
|
20
20
|
*/
|
|
21
21
|
rsc?: boolean; /** Options passed to React root creation */
|
|
22
22
|
rootOptions?: RootOptions;
|
|
@@ -15,14 +15,14 @@ interface HighlightParameters {
|
|
|
15
15
|
/**
|
|
16
16
|
* Highlight configuration
|
|
17
17
|
*
|
|
18
|
-
* @see https://
|
|
18
|
+
* @see https://forkbook.ljk.dev/docs/essentials/highlight#parameters
|
|
19
19
|
*/
|
|
20
20
|
highlight?: {
|
|
21
21
|
/**
|
|
22
22
|
* Removes the tool and disables the feature's behavior. If you wish to turn off this feature
|
|
23
23
|
* for the entire Forkbook, you can set the option in your `main.js|ts` configuration file.
|
|
24
24
|
*
|
|
25
|
-
* @see https://
|
|
25
|
+
* @see https://forkbook.ljk.dev/docs/essentials/highlight#disable
|
|
26
26
|
*/
|
|
27
27
|
disable?: boolean;
|
|
28
28
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as UnionToIntersection, t as OmitIndexSignature } from "./chunk-DaVb55-_.js";
|
|
2
2
|
import { t as SetOptional } from "./chunk-pcFXCimE.js";
|
|
3
3
|
import { t as Simplify } from "./chunk-FjDVzZTj.js";
|
|
4
|
-
import { C as Globals$2, s as Args$2, w as InputType } from "./chunk-
|
|
4
|
+
import { C as Globals$2, s as Args$2, w as InputType } from "./chunk-B2xylxt5.js";
|
|
5
5
|
import { AddonTypes, StoryContext } from "@aussieljk/forkbook/internal/csf";
|
|
6
6
|
import { Args as Args$1, ComponentAnnotations, ComposedStoryFn, DecoratorFunction as DecoratorFunction$1, NormalizedProjectAnnotations, ProjectAnnotations as ProjectAnnotations$1, Renderer as Renderer$1, StoryAnnotations, TestFunction } from "@aussieljk/forkbook/internal/types";
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import { A as Queries, C as GetServiceOptions, D as MatchingOutputSchemas, G as
|
|
|
2
2
|
import { a as RenderData } from "./chunk-DoIGKY33.js";
|
|
3
3
|
import { s as ThemeVars$1 } from "./chunk-BGkgZp-H.js";
|
|
4
4
|
import { p as Channel$1 } from "./chunk-BXLImeLy.js";
|
|
5
|
-
import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-
|
|
5
|
+
import { X as StrictArgTypes$3, s as Args$3 } from "./chunk-B2xylxt5.js";
|
|
6
6
|
import { t as Options$3 } from "./chunk-C6PAgHLT.js";
|
|
7
7
|
import { a as StoryStore, i as RenderType, n as StoryRender, r as Render, s as ReporterAPI, u as StorySpecifier } from "./chunk-Bpi2tz-6.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";
|
|
@@ -1828,7 +1828,7 @@ declare function toMcpToolName(method: ToolsetMethodId): string;
|
|
|
1828
1828
|
/**
|
|
1829
1829
|
* Renders how a toolset method is spelled for the active transport.
|
|
1830
1830
|
*
|
|
1831
|
-
* Not a composed-
|
|
1831
|
+
* Not a composed-Forkbook "ref" (`refs` in `main.js`) — the name is the invokable tool/command
|
|
1832
1832
|
* string agents see. Descriptions that tell an agent to call another tool must use this rather
|
|
1833
1833
|
* than hardcoding either spelling.
|
|
1834
1834
|
*/
|
|
@@ -4024,7 +4024,7 @@ interface CoreConfig$1 {
|
|
|
4024
4024
|
/**
|
|
4025
4025
|
* Disables Forkbook telemetry
|
|
4026
4026
|
*
|
|
4027
|
-
* @see https://
|
|
4027
|
+
* @see https://forkbook.ljk.dev/telemetry
|
|
4028
4028
|
*/
|
|
4029
4029
|
disableTelemetry?: boolean;
|
|
4030
4030
|
/** Disables notifications for Forkbook updates. */
|
|
@@ -4032,7 +4032,7 @@ interface CoreConfig$1 {
|
|
|
4032
4032
|
/**
|
|
4033
4033
|
* Enable crash reports to be sent to Forkbook telemetry
|
|
4034
4034
|
*
|
|
4035
|
-
* @see https://
|
|
4035
|
+
* @see https://forkbook.ljk.dev/telemetry
|
|
4036
4036
|
*/
|
|
4037
4037
|
enableCrashReports?: boolean;
|
|
4038
4038
|
/**
|
|
@@ -4483,7 +4483,7 @@ interface StorybookFeatures {
|
|
|
4483
4483
|
/**
|
|
4484
4484
|
* Keep Vite from merging the pre-split preview runtime back into one output chunk.
|
|
4485
4485
|
*
|
|
4486
|
-
* Webpack always serves the chunked `dist/preview` at `/
|
|
4486
|
+
* Webpack always serves the chunked `dist/preview` at `/fb-preview`. This flag only
|
|
4487
4487
|
* affects the Vite production build: Rolldown `maxSize` on Vite 8, and on Vite 5–7
|
|
4488
4488
|
* Rollup pins each pre-split preview module to its own chunk.
|
|
4489
4489
|
*
|
|
@@ -11055,20 +11055,20 @@ interface Addon_BaseAnnotations<TArgs, StoryFnReturnType, TRenderer extends Rend
|
|
|
11055
11055
|
/**
|
|
11056
11056
|
* Dynamic data that are provided (and possibly updated by) Forkbook and its addons.
|
|
11057
11057
|
*
|
|
11058
|
-
* @see [Arg story inputs](https://
|
|
11058
|
+
* @see [Arg story inputs](https://forkbook.ljk.dev/docs/api/csf#args-story-inputs)
|
|
11059
11059
|
*/
|
|
11060
11060
|
args?: Partial<TArgs>;
|
|
11061
11061
|
/**
|
|
11062
11062
|
* ArgTypes encode basic metadata for args, such as `name` and `description`. These get
|
|
11063
11063
|
* automatically filled in by Forkbook Docs.
|
|
11064
11064
|
*
|
|
11065
|
-
* @see [Arg types](https://
|
|
11065
|
+
* @see [Arg types](https://forkbook.ljk.dev/docs/api/arg-types)
|
|
11066
11066
|
*/
|
|
11067
11067
|
argTypes?: Addons_ArgTypes<TArgs>;
|
|
11068
11068
|
/**
|
|
11069
11069
|
* Custom metadata for a story.
|
|
11070
11070
|
*
|
|
11071
|
-
* @see [Parameters](https://
|
|
11071
|
+
* @see [Parameters](https://forkbook.ljk.dev/docs/writing-stories/parameters)
|
|
11072
11072
|
*/
|
|
11073
11073
|
parameters?: Parameters$2;
|
|
11074
11074
|
/**
|
|
@@ -11076,7 +11076,7 @@ interface Addon_BaseAnnotations<TArgs, StoryFnReturnType, TRenderer extends Rend
|
|
|
11076
11076
|
*
|
|
11077
11077
|
* Decorators defined in Meta will be applied to every story variation.
|
|
11078
11078
|
*
|
|
11079
|
-
* @see [Decorators](https://
|
|
11079
|
+
* @see [Decorators](https://forkbook.ljk.dev/docs/writing-stories/decorators)
|
|
11080
11080
|
*/
|
|
11081
11081
|
decorators?: Addon_BaseDecorators<StoryFnReturnType>;
|
|
11082
11082
|
/**
|
|
@@ -11099,7 +11099,7 @@ interface Addon_Annotations<TArgs, StoryFnReturnType> extends Addon_BaseAnnotati
|
|
|
11099
11099
|
* includeStories: /.*Story$/;
|
|
11100
11100
|
* ```
|
|
11101
11101
|
*
|
|
11102
|
-
* @see [Non-story exports](https://
|
|
11102
|
+
* @see [Non-story exports](https://forkbook.ljk.dev/docs/api/csf#non-story-exports)
|
|
11103
11103
|
*/
|
|
11104
11104
|
includeStories?: string[] | RegExp;
|
|
11105
11105
|
/**
|
|
@@ -11113,7 +11113,7 @@ interface Addon_Annotations<TArgs, StoryFnReturnType> extends Addon_BaseAnnotati
|
|
|
11113
11113
|
* excludeStories: /.*Data$/;
|
|
11114
11114
|
* ```
|
|
11115
11115
|
*
|
|
11116
|
-
* @see [Non-story exports](https://
|
|
11116
|
+
* @see [Non-story exports](https://forkbook.ljk.dev/docs/api/csf#non-story-exports)
|
|
11117
11117
|
*/
|
|
11118
11118
|
excludeStories?: string[] | RegExp;
|
|
11119
11119
|
}
|
|
@@ -11131,7 +11131,7 @@ interface Addon_BaseMeta<ComponentType> {
|
|
|
11131
11131
|
* export default { title: 'Design System/Atoms/Button' };
|
|
11132
11132
|
* ```
|
|
11133
11133
|
*
|
|
11134
|
-
* @see [Story Hierarchy](https://
|
|
11134
|
+
* @see [Story Hierarchy](https://forkbook.ljk.dev/docs/writing-stories/naming-components-and-hierarchy)
|
|
11135
11135
|
*/
|
|
11136
11136
|
title?: string;
|
|
11137
11137
|
/**
|
|
@@ -11141,7 +11141,7 @@ interface Addon_BaseMeta<ComponentType> {
|
|
|
11141
11141
|
* Forkbook will prioritize the id over the title for ID generation, if provided, and will
|
|
11142
11142
|
* prioritize the story.storyName over the export key for display.
|
|
11143
11143
|
*
|
|
11144
|
-
* @see [Sidebar and URLs](https://
|
|
11144
|
+
* @see [Sidebar and URLs](https://forkbook.ljk.dev/docs/configure/user-interface/sidebar-and-urls#permalink-to-stories)
|
|
11145
11145
|
*/
|
|
11146
11146
|
id?: string;
|
|
11147
11147
|
/**
|
|
@@ -11644,8 +11644,8 @@ declare function composeStepRunners<TRenderer extends Renderer$1>(stepRunners: S
|
|
|
11644
11644
|
declare global {
|
|
11645
11645
|
var globalProjectAnnotations: NormalizedProjectAnnotations<any>;
|
|
11646
11646
|
var defaultProjectAnnotations: ProjectAnnotations$1<any>;
|
|
11647
|
-
var
|
|
11648
|
-
var
|
|
11647
|
+
var __FORKBOOK_ADDON_VITEST_PROJECT_ANNOTATIONS_APPLIED__: boolean | undefined;
|
|
11648
|
+
var __FORKBOOK_SET_PROJECT_ANNOTATIONS_CALLED__: boolean | undefined;
|
|
11649
11649
|
}
|
|
11650
11650
|
declare function setDefaultProjectAnnotations<TRenderer extends Renderer$1 = Renderer$1>(_defaultProjectAnnotations: ProjectAnnotations$1<TRenderer>): void;
|
|
11651
11651
|
declare function setProjectAnnotations<TRenderer extends Renderer$1 = Renderer$1>(projectAnnotations: NamedOrDefaultProjectAnnotations<TRenderer> | NamedOrDefaultProjectAnnotations<TRenderer>[]): NormalizedProjectAnnotations<TRenderer>;
|
|
@@ -12170,9 +12170,9 @@ declare enum Mode {
|
|
|
12170
12170
|
ERROR = "ERROR"
|
|
12171
12171
|
}
|
|
12172
12172
|
declare const layoutClassMap: {
|
|
12173
|
-
readonly centered: '
|
|
12174
|
-
readonly fullscreen: '
|
|
12175
|
-
readonly padded: '
|
|
12173
|
+
readonly centered: 'fb-main-centered';
|
|
12174
|
+
readonly fullscreen: 'fb-main-fullscreen';
|
|
12175
|
+
readonly padded: 'fb-main-padded';
|
|
12176
12176
|
};
|
|
12177
12177
|
type Layout = keyof typeof layoutClassMap | 'none';
|
|
12178
12178
|
declare class WebView implements View<HTMLElement> {
|
|
@@ -12388,8 +12388,8 @@ declare abstract class StorybookError extends Error {
|
|
|
12388
12388
|
* user.
|
|
12389
12389
|
*/
|
|
12390
12390
|
isHandledError: boolean;
|
|
12391
|
-
get fullErrorCode(): `
|
|
12392
|
-
/** Overrides the default `Error.name` property in the format:
|
|
12391
|
+
get fullErrorCode(): `FB_${string}_${string}`;
|
|
12392
|
+
/** Overrides the default `Error.name` property in the format: FB_<CATEGORY>_<CODE>. */
|
|
12393
12393
|
get name(): string;
|
|
12394
12394
|
set name(name: string);
|
|
12395
12395
|
/**
|
|
@@ -28,14 +28,14 @@ interface ViewportParameters {
|
|
|
28
28
|
/**
|
|
29
29
|
* Viewport configuration
|
|
30
30
|
*
|
|
31
|
-
* @see https://
|
|
31
|
+
* @see https://forkbook.ljk.dev/docs/essentials/viewport#parameters
|
|
32
32
|
*/
|
|
33
33
|
viewport?: {
|
|
34
34
|
/**
|
|
35
35
|
* Removes the tool and disables the feature's behavior. If you wish to turn off this feature
|
|
36
36
|
* for the entire Forkbook, you can set the option in your `main.js|ts` configuration file.
|
|
37
37
|
*
|
|
38
|
-
* @see https://
|
|
38
|
+
* @see https://forkbook.ljk.dev/docs/essentials/viewport#disable
|
|
39
39
|
*/
|
|
40
40
|
disable?: boolean;
|
|
41
41
|
/**
|
|
@@ -49,7 +49,7 @@ interface ViewportGlobals {
|
|
|
49
49
|
/**
|
|
50
50
|
* Viewport configuration
|
|
51
51
|
*
|
|
52
|
-
* @see https://
|
|
52
|
+
* @see https://forkbook.ljk.dev/docs/essentials/viewport#globals
|
|
53
53
|
*/
|
|
54
54
|
viewport?: GlobalState | GlobalState['value'];
|
|
55
55
|
}
|
|
@@ -28,7 +28,7 @@ interface BackgroundsParameters {
|
|
|
28
28
|
/**
|
|
29
29
|
* Backgrounds configuration
|
|
30
30
|
*
|
|
31
|
-
* @see https://
|
|
31
|
+
* @see https://forkbook.ljk.dev/docs/essentials/backgrounds#parameters
|
|
32
32
|
*/
|
|
33
33
|
backgrounds?: {
|
|
34
34
|
/** Default background color */default?: string;
|
|
@@ -36,7 +36,7 @@ interface BackgroundsParameters {
|
|
|
36
36
|
* Removes the tool and disables the feature's behavior. If you wish to turn off this feature
|
|
37
37
|
* for the entire Forkbook, you can set the option in your `main.js|ts` configuration file.
|
|
38
38
|
*
|
|
39
|
-
* @see https://
|
|
39
|
+
* @see https://forkbook.ljk.dev/docs/essentials/backgrounds#disable
|
|
40
40
|
*/
|
|
41
41
|
disable?: boolean; /** Configuration for the background grid */
|
|
42
42
|
grid?: GridConfig; /** Available background colors */
|
|
@@ -47,7 +47,7 @@ interface BackgroundsGlobals {
|
|
|
47
47
|
/**
|
|
48
48
|
* Backgrounds configuration
|
|
49
49
|
*
|
|
50
|
-
* @see https://
|
|
50
|
+
* @see https://forkbook.ljk.dev/docs/essentials/backgrounds#globals
|
|
51
51
|
*/
|
|
52
52
|
[PARAM_KEY]?: GlobalState | GlobalState['value'];
|
|
53
53
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ToolsetGetService, r as InvokedToolsetOutcome, t as AnyToolsetDefinition } from "./chunk-BCoJQE-f.js";
|
|
2
|
-
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-
|
|
2
|
+
import { bc as ToolsetMethodId, pt as StorybookError } from "./chunk-DIz17UEJ.js";
|
|
3
3
|
import * as v from "valibot";
|
|
4
4
|
|
|
5
5
|
//#region .dts-emit/code/core/src/cli/tools/instances/types.d.ts
|
package/dist/cli/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bs as SupportedFramework$1, ds as StorybookConfigRaw$1, xs as SupportedBuilder$1, ys as SupportedRenderer$1 } from "../chunk-
|
|
1
|
+
import { bs as SupportedFramework$1, ds as StorybookConfigRaw$1, xs as SupportedBuilder$1, ys as SupportedRenderer$1 } from "../chunk-DIz17UEJ.js";
|
|
2
2
|
import { t as JsPackageManager$1 } from "../chunk-B2t1tGRh.js";
|
|
3
3
|
import { Feature, SupportedBuilder, SupportedFramework, SupportedLanguage, SupportedRenderer } from "@aussieljk/forkbook/internal/types";
|
|
4
4
|
import { JsPackageManager, PackageJson as PackageJson$1, PackageManagerName } from "@aussieljk/forkbook/internal/common";
|