@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,4 +1,3 @@
|
|
|
1
|
-
import { a as Theme, i as StyledComponent } from "../chunk-BxWufQms.js";
|
|
2
1
|
import { Args, StoryContext } from "@aussieljk/forkbook/internal/csf";
|
|
3
2
|
import React, { FC, ReactNode, Ref } from "react";
|
|
4
3
|
import { API_IndexHash, API_LoadedRefData } from "@aussieljk/forkbook/internal/types";
|
|
@@ -47,26 +46,26 @@ interface NodeProps$1 {
|
|
|
47
46
|
status: State['status'][keyof State['status']];
|
|
48
47
|
}
|
|
49
48
|
declare const Node: React.NamedExoticComponent<NodeProps$1>;
|
|
50
|
-
declare const LeafNodeStyleWrapper: StyledComponent<Omit<import("react-native").ViewProps, "ref"> & {
|
|
49
|
+
declare const LeafNodeStyleWrapper: import("@emotion/native").StyledComponent<Omit<import("react-native").ViewProps, "ref"> & {
|
|
51
50
|
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
52
51
|
} & {
|
|
53
|
-
theme?: Theme;
|
|
52
|
+
theme?: import("@emotion/react").Theme;
|
|
54
53
|
as?: React.ElementType;
|
|
55
54
|
}, {}, {
|
|
56
55
|
ref?: React.Ref<any> | undefined;
|
|
57
56
|
}>;
|
|
58
|
-
declare const RootNode: StyledComponent<Omit<import("react-native").ViewProps, "ref"> & {
|
|
57
|
+
declare const RootNode: import("@emotion/native").StyledComponent<Omit<import("react-native").ViewProps, "ref"> & {
|
|
59
58
|
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
60
59
|
} & {
|
|
61
|
-
theme?: Theme;
|
|
60
|
+
theme?: import("@emotion/react").Theme;
|
|
62
61
|
as?: React.ElementType;
|
|
63
62
|
}, {}, {
|
|
64
63
|
ref?: React.Ref<any> | undefined;
|
|
65
64
|
}>;
|
|
66
|
-
declare const RootNodeText: StyledComponent<Omit<import("react-native").TextProps, "ref"> & {
|
|
65
|
+
declare const RootNodeText: import("@emotion/native").StyledComponent<Omit<import("react-native").TextProps, "ref"> & {
|
|
67
66
|
ref?: React.Ref<import("react-native").TextInstance> | undefined;
|
|
68
67
|
} & {
|
|
69
|
-
theme?: Theme;
|
|
68
|
+
theme?: import("@emotion/react").Theme;
|
|
70
69
|
as?: React.ElementType;
|
|
71
70
|
}, {}, {
|
|
72
71
|
ref?: React.Ref<any> | undefined;
|
|
@@ -28,7 +28,7 @@ function symbolIcon(name, size, defaultColor) {
|
|
|
28
28
|
);
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
var text = (theme) => theme.color.defaultText, SearchIcon = symbolIcon("magnifyingglass", 14, (theme) => theme.color.dark), CloseIcon = symbolIcon("xmark.circle", 14, text), MenuIcon = symbolIcon("line.3.horizontal", 14, text), FullscreenIcon = symbolIcon("arrow.up.left.and.arrow.down.right", 14, text), CloseFullscreenIcon = symbolIcon("arrow.down.right.and.arrow.up.left", 14, text), BottomBarToggleIcon = symbolIcon("rectangle.bottomthird.inset.filled", 14, text), ExpandAllIcon = symbolIcon("rectangle.expand.vertical", 14, text), CollapseAllIcon = symbolIcon("rectangle.compress.vertical", 14, text), ComponentIcon = symbolIcon("square.grid.2x2", 12, () => "#
|
|
31
|
+
var text = (theme) => theme.color.defaultText, SearchIcon = symbolIcon("magnifyingglass", 14, (theme) => theme.color.dark), CloseIcon = symbolIcon("xmark.circle", 14, text), MenuIcon = symbolIcon("line.3.horizontal", 14, text), FullscreenIcon = symbolIcon("arrow.up.left.and.arrow.down.right", 14, text), CloseFullscreenIcon = symbolIcon("arrow.down.right.and.arrow.up.left", 14, text), BottomBarToggleIcon = symbolIcon("rectangle.bottomthird.inset.filled", 14, text), ExpandAllIcon = symbolIcon("rectangle.expand.vertical", 14, text), CollapseAllIcon = symbolIcon("rectangle.compress.vertical", 14, text), ComponentIcon = symbolIcon("square.grid.2x2", 12, () => "#007AFF"), GroupIcon = symbolIcon("folder", 14, () => "#6F2CAC"), StoryIcon = symbolIcon("bookmark", 12, () => "#37D5D3"), Chevron = symbolIcon("chevron.right", 8, (theme) => theme.textMutedColor), CollapseIconWrapper = styled.View(({ isExpanded }) => ({
|
|
32
32
|
width: 8,
|
|
33
33
|
height: 8,
|
|
34
34
|
justifyContent: "center",
|
|
@@ -1113,7 +1113,7 @@ var snapPoints2 = ["50%", "75%"], MobileMenuDrawer = memo(
|
|
|
1113
1113
|
})
|
|
1114
1114
|
);
|
|
1115
1115
|
|
|
1116
|
-
// src/react-native-ui/
|
|
1116
|
+
// src/react-native-ui/ForkbookLogo.tsx
|
|
1117
1117
|
import { isValidElement, useEffect as useEffect2, useMemo as useMemo8 } from "react";
|
|
1118
1118
|
import { Image, Linking, Text as Text3, TouchableOpacity } from "react-native";
|
|
1119
1119
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
@@ -1126,7 +1126,7 @@ var WIDTH = 125, HEIGHT = 25, NoBrandLogo = ({ theme }) => jsx12(
|
|
|
1126
1126
|
fontSize: theme.typography.size.m1,
|
|
1127
1127
|
fontWeight: "bold"
|
|
1128
1128
|
},
|
|
1129
|
-
children: "Forkbook"
|
|
1129
|
+
children: "\u{1FAA9} Forkbook"
|
|
1130
1130
|
}
|
|
1131
1131
|
);
|
|
1132
1132
|
function isElement(value) {
|
|
@@ -1136,7 +1136,7 @@ var BrandLogo = ({ theme }) => {
|
|
|
1136
1136
|
let brand = theme.brand ?? {}, imageHasNoWidthOrHeight = typeof brand.image == "object" && typeof brand.image == "object" && brand.image !== null && "uri" in brand.image && (!("height" in brand.image) || !("width" in brand.image));
|
|
1137
1137
|
if (useEffect2(() => {
|
|
1138
1138
|
imageHasNoWidthOrHeight && console.warn(
|
|
1139
|
-
`
|
|
1139
|
+
`Forkbook: When using a remote image as the brand logo, you must also set the width and height.
|
|
1140
1140
|
For example: brand: { image: { uri: 'https://sb.com/img.png', height: 25, width: 25}}`
|
|
1141
1141
|
);
|
|
1142
1142
|
}, [imageHasNoWidthOrHeight]), !brand.image)
|
|
@@ -1176,7 +1176,7 @@ For example: brand: { image: { uri: 'https://sb.com/img.png', height: 25, width
|
|
|
1176
1176
|
children: title
|
|
1177
1177
|
}
|
|
1178
1178
|
) : title;
|
|
1179
|
-
},
|
|
1179
|
+
}, ForkbookLogo = ({ theme }) => {
|
|
1180
1180
|
let image = useMemo8(() => theme.brand?.image, [theme.brand?.image]), title = useMemo8(() => theme.brand?.title, [theme.brand?.title]);
|
|
1181
1181
|
return image ? jsx12(BrandLogo, { theme }) : title ? jsx12(BrandTitle, { theme }) : jsx12(NoBrandLogo, { theme });
|
|
1182
1182
|
};
|
|
@@ -1316,7 +1316,7 @@ var desktopLogoContainer = {
|
|
|
1316
1316
|
contentContainerStyle: desktopScrollViewContentContainerStyle,
|
|
1317
1317
|
children: [
|
|
1318
1318
|
jsxs7(View6, { style: desktopLogoContainer, children: [
|
|
1319
|
-
jsx13(
|
|
1319
|
+
jsx13(ForkbookLogo, { theme }),
|
|
1320
1320
|
jsx13(IconButton4, { onPress: () => setDesktopSidebarOpen(!1), Icon: MenuIcon })
|
|
1321
1321
|
] }),
|
|
1322
1322
|
jsx13(
|
|
@@ -1390,7 +1390,7 @@ var desktopLogoContainer = {
|
|
|
1390
1390
|
)
|
|
1391
1391
|
] }) }) : null,
|
|
1392
1392
|
isDesktop ? null : jsx13(SelectedNodeProvider, { children: jsxs7(MobileMenuDrawer, { ref: mobileMenuDrawerRef, children: [
|
|
1393
|
-
jsx13(View6, { style: mobileMenuDrawerContentStyle, children: jsx13(
|
|
1393
|
+
jsx13(View6, { style: mobileMenuDrawerContentStyle, children: jsx13(ForkbookLogo, { theme }) }),
|
|
1394
1394
|
jsx13(
|
|
1395
1395
|
Sidebar,
|
|
1396
1396
|
{
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { a as Theme$1, i as StyledComponent } from "../chunk-BxWufQms.js";
|
|
2
1
|
import { Args, StoryContext } from "@aussieljk/forkbook/internal/csf";
|
|
3
2
|
import { DependencyList, Dispatch, FC, PropsWithChildren, ReactElement, ReactNode, SetStateAction, SyntheticEvent } from "react";
|
|
4
3
|
import { API_IndexHash, API_PreparedStoryIndex, API_Provider, DocsOptions, StatusValue, StatusesByStoryIdAndTypeId, StoryIndexV2, StoryIndexV3 } from "@aussieljk/forkbook/internal/types";
|
|
@@ -22,10 +21,10 @@ interface ButtonProps extends TouchableOpacityProps {
|
|
|
22
21
|
}) => ReactElement;
|
|
23
22
|
}
|
|
24
23
|
declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<any>>;
|
|
25
|
-
declare const ButtonText: StyledComponent<Omit<import("react-native").TextProps, "ref"> & {
|
|
24
|
+
declare const ButtonText: import("@emotion/native").StyledComponent<Omit<import("react-native").TextProps, "ref"> & {
|
|
26
25
|
ref?: React.Ref<import("react-native").TextInstance> | undefined;
|
|
27
26
|
} & {
|
|
28
|
-
theme?: Theme
|
|
27
|
+
theme?: import("@emotion/react").Theme;
|
|
29
28
|
as?: React.ElementType;
|
|
30
29
|
} & {
|
|
31
30
|
variant: ButtonProps['variant'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as StorybookConfig, t as FrameworkOptions } from "../chunk-
|
|
1
|
+
import { n as StorybookConfig, t as FrameworkOptions } from "../chunk-BWzbIWPz.js";
|
|
2
2
|
import { __definePreview as definePreview } from "@aussieljk/forkbook/react";
|
|
3
3
|
export * from "@aussieljk/forkbook/react";
|
|
4
4
|
export { FrameworkOptions, StorybookConfig, definePreview };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../../_node-chunks/chunk-
|
|
12
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/node/index.ts
|
|
15
15
|
function defineMain(config) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
13
13
|
|
|
14
14
|
// src/react-vite/preset.ts
|
|
15
15
|
var core = {
|
package/dist/router/index.js
CHANGED
|
@@ -79,7 +79,7 @@ var splitPathRegex = /\/([^/]+)\/(?:(.*)_)?([^/]+)?/, parsePath = (0, import_mem
|
|
|
79
79
|
let object = Object.entries(update).reduce((acc, [key, value]) => validateArgs(key, value) ? Object.assign(acc, { [key]: value }) : (once.warn(dedent`
|
|
80
80
|
Omitted potentially unsafe URL args.
|
|
81
81
|
|
|
82
|
-
More info: https://
|
|
82
|
+
More info: https://forkbook.ljk.dev/docs/writing-stories/args#setting-args-through-the-url
|
|
83
83
|
`), acc), {});
|
|
84
84
|
return stringify(encodeSpecialValues(object), {
|
|
85
85
|
delimiter: ";",
|
package/dist/server-errors.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PackageInstallDependencyConflictError, A as OpenServiceDocgenMissingComponentError, B as OpenServiceMissingServiceError, C as NoFreePortError, D as OpenServiceAsyncRecipeError, E as NxProjectDetectedError, F as OpenServiceInvalidStaticPathError, G as OpenServiceRemoteCommandDisconnectedError, H as OpenServiceModuleGraphUnavailableError, I as OpenServiceInvalidToolsetMethodIdError, J as OpenServiceTestRunTimeoutError, K as OpenServiceRemoteCommandUnhandledError, L as OpenServiceLoadedDrainExceededError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, O as OpenServiceAsyncSchemaError, P as OpenServiceInternalServiceError, Q as OpenServiceValidationError, R as OpenServiceMissingChannelError, S as MissingFrameworkFieldError, T as NoStatsForViteDevError, U as OpenServiceOperationNameCollisionError, V as OpenServiceMissingToolsetError, W as OpenServiceRemoteCommandConfigDriftError, X as OpenServiceUnimplementedOperationError, Y as OpenServiceToolsetOutputMismatchError, Z as OpenServiceUnknownStoryIdsError, _ as InvalidStoriesEntryError, a as Category, at as PnpmNoTtyModulesDirError, b as MinimumReleaseAgeHandledError, c as CriticalPresetLoadError, ct as StorybookDevServerDisconnectedError, d as FindPackageVersionsError, dt as formatExecaCommand, et as PackageInstallFailedError, f as GenerateNewProjectOnInitError, ft as formatExecaFailureDetails, g as InvalidFrameworkNameError, h as IncompatiblePostCssConfigError, i as AddonVitestPostinstallWorkspaceUpdateError, it as PnpmIgnoredBuildsError, j as OpenServiceDuplicateRegistrationError, k as OpenServiceCyclicStateError, l as ExecaCommandErrorData, lt as ViteModuleGraphSubscriptionError, m as GoogleFontsLoadingError, n as AddonVitestPostinstallError, nt as PackageManagerBinaryNotFoundError, o as ConflictingStaticDirConfigError, ot as SavingGlobalSettingsFileError, p as GoogleFontsDownloadError, pt as StorybookError, q as OpenServiceServicesAppliedTwiceError, r as AddonVitestPostinstallPrerequisiteCheckError, rt as PlaywrightInstallFailedError, s as CouldNotEvaluateFrameworkError, st as StatusTypeIdMismatchError, t as AddonVitestPostinstallConfigUpdateError, tt as PackageInstallMissingManifestError, u as ExecaCommandFailedError, ut as describeUnknownStoryIds, v as MainFileEvaluationError, w as NoMatchingExportError, x as MissingBuilderError, y as MainFileMissingError, z as OpenServiceMissingOriginError } from "./chunk-
|
|
1
|
+
import { $ as PackageInstallDependencyConflictError, A as OpenServiceDocgenMissingComponentError, B as OpenServiceMissingServiceError, C as NoFreePortError, D as OpenServiceAsyncRecipeError, E as NxProjectDetectedError, F as OpenServiceInvalidStaticPathError, G as OpenServiceRemoteCommandDisconnectedError, H as OpenServiceModuleGraphUnavailableError, I as OpenServiceInvalidToolsetMethodIdError, J as OpenServiceTestRunTimeoutError, K as OpenServiceRemoteCommandUnhandledError, L as OpenServiceLoadedDrainExceededError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, O as OpenServiceAsyncSchemaError, P as OpenServiceInternalServiceError, Q as OpenServiceValidationError, R as OpenServiceMissingChannelError, S as MissingFrameworkFieldError, T as NoStatsForViteDevError, U as OpenServiceOperationNameCollisionError, V as OpenServiceMissingToolsetError, W as OpenServiceRemoteCommandConfigDriftError, X as OpenServiceUnimplementedOperationError, Y as OpenServiceToolsetOutputMismatchError, Z as OpenServiceUnknownStoryIdsError, _ as InvalidStoriesEntryError, a as Category, at as PnpmNoTtyModulesDirError, b as MinimumReleaseAgeHandledError, c as CriticalPresetLoadError, ct as StorybookDevServerDisconnectedError, d as FindPackageVersionsError, dt as formatExecaCommand, et as PackageInstallFailedError, f as GenerateNewProjectOnInitError, ft as formatExecaFailureDetails, g as InvalidFrameworkNameError, h as IncompatiblePostCssConfigError, i as AddonVitestPostinstallWorkspaceUpdateError, it as PnpmIgnoredBuildsError, j as OpenServiceDuplicateRegistrationError, k as OpenServiceCyclicStateError, l as ExecaCommandErrorData, lt as ViteModuleGraphSubscriptionError, m as GoogleFontsLoadingError, n as AddonVitestPostinstallError, nt as PackageManagerBinaryNotFoundError, o as ConflictingStaticDirConfigError, ot as SavingGlobalSettingsFileError, p as GoogleFontsDownloadError, pt as StorybookError, q as OpenServiceServicesAppliedTwiceError, r as AddonVitestPostinstallPrerequisiteCheckError, rt as PlaywrightInstallFailedError, s as CouldNotEvaluateFrameworkError, st as StatusTypeIdMismatchError, t as AddonVitestPostinstallConfigUpdateError, tt as PackageInstallMissingManifestError, u as ExecaCommandFailedError, ut as describeUnknownStoryIds, v as MainFileEvaluationError, w as NoMatchingExportError, x as MissingBuilderError, y as MainFileMissingError, z as OpenServiceMissingOriginError } from "./chunk-DIz17UEJ.js";
|
|
2
2
|
export { AddonVitestPostinstallConfigUpdateError, AddonVitestPostinstallError, AddonVitestPostinstallPrerequisiteCheckError, AddonVitestPostinstallWorkspaceUpdateError, Category, ConflictingStaticDirConfigError, CouldNotEvaluateFrameworkError, CriticalPresetLoadError, ExecaCommandErrorData, ExecaCommandFailedError, FindPackageVersionsError, GenerateNewProjectOnInitError, GoogleFontsDownloadError, GoogleFontsLoadingError, IncompatiblePostCssConfigError, InvalidFrameworkNameError, InvalidStoriesEntryError, MainFileEvaluationError, MainFileMissingError, MinimumReleaseAgeHandledError, MissingBuilderError, MissingFrameworkFieldError, NoFreePortError, NoMatchingExportError, NoStatsForViteDevError, NxProjectDetectedError, OpenServiceAsyncRecipeError, OpenServiceAsyncSchemaError, OpenServiceCyclicStateError, OpenServiceDocgenMissingComponentError, OpenServiceDuplicateRegistrationError, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInternalServiceError, OpenServiceInvalidStaticPathError, OpenServiceInvalidToolsetMethodIdError, OpenServiceLoadedDrainExceededError, OpenServiceMissingChannelError, OpenServiceMissingOriginError, OpenServiceMissingServiceError, OpenServiceMissingToolsetError, OpenServiceModuleGraphUnavailableError, OpenServiceOperationNameCollisionError, OpenServiceRemoteCommandConfigDriftError, OpenServiceRemoteCommandDisconnectedError, OpenServiceRemoteCommandUnhandledError, OpenServiceServicesAppliedTwiceError, OpenServiceTestRunTimeoutError, OpenServiceToolsetOutputMismatchError, OpenServiceUnimplementedOperationError, OpenServiceUnknownStoryIdsError, OpenServiceValidationError, PackageInstallDependencyConflictError, PackageInstallFailedError, PackageInstallMissingManifestError, PackageManagerBinaryNotFoundError, PlaywrightInstallFailedError, PnpmIgnoredBuildsError, PnpmNoTtyModulesDirError, SavingGlobalSettingsFileError, StatusTypeIdMismatchError, StorybookDevServerDisconnectedError, StorybookError, ViteModuleGraphSubscriptionError, describeUnknownStoryIds, formatExecaCommand, formatExecaFailureDetails };
|
package/dist/server-errors.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -76,9 +76,9 @@ import {
|
|
|
76
76
|
describeUnknownStoryIds,
|
|
77
77
|
formatExecaCommand,
|
|
78
78
|
formatExecaFailureDetails
|
|
79
|
-
} from "./_node-chunks/chunk-
|
|
80
|
-
import "./_node-chunks/chunk-
|
|
81
|
-
import "./_node-chunks/chunk-
|
|
79
|
+
} from "./_node-chunks/chunk-BOUA7OB7.js";
|
|
80
|
+
import "./_node-chunks/chunk-ESZVID7Q.js";
|
|
81
|
+
import "./_node-chunks/chunk-WS367FSJ.js";
|
|
82
82
|
export {
|
|
83
83
|
AddonVitestPostinstallConfigUpdateError,
|
|
84
84
|
AddonVitestPostinstallError,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { B as ServerServiceRegistration, E as LoadStatus, F as QuerySelf, G as ServiceInstanceOf, H as ServiceDescriptor, I as QueryState, J as ServiceState, K as ServiceRegistrationOptions, L as QueryStatus, M as QueryCtx, N as QueryDefinition, O as OperationDescriptor, P as QueryFunctions, R as RuntimeService, T as LoadSelf, U as ServiceId, V as ServiceDefinition, W as ServiceInstance, X as StaticStore, Y as ServiceSummary, _ as AnyServiceDefinition, a as ToolsetDefinition, b as CommandDefinition, c as ToolsetMethodDescription, d as ToolsetOutcome, f as ToolsetTelemetryReport, g as resolveToolsetDescription, h as invokeToolsetMethod, i as ToolsetCtx, j as Query, l as ToolsetMethodReport, m as defineToolset, n as AnyToolsetOutcome, o as ToolsetGetService, p as ToolsetTransport, q as ServiceRegistryApi, r as InvokedToolsetOutcome, s as ToolsetMethod, t as AnyToolsetDefinition, u as ToolsetObjectOutputSchema, v as Command, w as LoadCtx, x as CommandSelf, y as CommandCtx, z as SchemaDescriptor } from "../../chunk-BCoJQE-f.js";
|
|
2
|
-
import { Cc as toMcpToolName, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ns as DocgenPayload, Sc as parseToolsetMethodId, Tc as defineService, V as OpenServiceMissingToolsetError, bc as ToolsetMethodId, cc as getToolset, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, ks as DocgenService, lc as registerToolset, mo as selectStoryDoc, oc as clearToolsetRegistry, po as selectSnippetForStory, sc as getRegisteredToolsets, uc as KnownToolsets, wc as seedQueryState, xc as getToolName } from "../../chunk-
|
|
2
|
+
import { Cc as toMcpToolName, I as OpenServiceInvalidToolsetMethodIdError, M as OpenServiceDuplicateToolNameError, N as OpenServiceDuplicateToolsetError, Ns as DocgenPayload, Sc as parseToolsetMethodId, Tc as defineService, V as OpenServiceMissingToolsetError, bc as ToolsetMethodId, cc as getToolset, fo as prependImportToSnippet, go as StoryDocsService, ho as selectWarningForStory, ks as DocgenService, lc as registerToolset, mo as selectStoryDoc, oc as clearToolsetRegistry, po as selectSnippetForStory, sc as getRegisteredToolsets, uc as KnownToolsets, wc as seedQueryState, xc as getToolName } from "../../chunk-DIz17UEJ.js";
|
|
3
3
|
export { type AnyServiceDefinition, type AnyToolsetDefinition, type AnyToolsetOutcome, type Command, type CommandCtx, type CommandDefinition, type CommandSelf, type DocgenPayload, type DocgenService, type InvokedToolsetOutcome, type KnownToolsets, type LoadCtx, type LoadSelf, type LoadStatus, OpenServiceDuplicateToolNameError, OpenServiceDuplicateToolsetError, OpenServiceInvalidToolsetMethodIdError, OpenServiceMissingToolsetError, type OperationDescriptor, type Query, type QueryCtx, type QueryDefinition, type QueryFunctions, type QuerySelf, type QueryState, type QueryStatus, type RuntimeService, type SchemaDescriptor, type ServerServiceRegistration, type ServiceDefinition, type ServiceDescriptor, type ServiceId, type ServiceInstance, type ServiceInstanceOf, type ServiceRegistrationOptions, type ServiceRegistryApi, type ServiceState, type ServiceSummary, type StaticStore, type StoryDocsService, type ToolsetCtx, type ToolsetDefinition, type ToolsetGetService, type ToolsetMethod, type ToolsetMethodDescription, type ToolsetMethodId, type ToolsetMethodReport, type ToolsetObjectOutputSchema, type ToolsetOutcome, type ToolsetTelemetryReport, type ToolsetTransport, clearToolsetRegistry, defineService, defineToolset, getRegisteredToolsets, getToolName, getToolset, invokeToolsetMethod, parseToolsetMethodId, prependImportToSnippet, registerToolset, resolveToolsetDescription, seedQueryState, selectSnippetForStory, selectStoryDoc, selectWarningForStory, toMcpToolName };
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
OpenServiceDuplicateToolsetError,
|
|
27
27
|
OpenServiceInvalidToolsetMethodIdError,
|
|
28
28
|
OpenServiceMissingToolsetError
|
|
29
|
-
} from "../../_browser-chunks/chunk-
|
|
29
|
+
} from "../../_browser-chunks/chunk-76222HQR.js";
|
|
30
30
|
import "../../_browser-chunks/chunk-IE4ULIOQ.js";
|
|
31
|
-
import "../../_browser-chunks/chunk-
|
|
31
|
+
import "../../_browser-chunks/chunk-MJIDTL3X.js";
|
|
32
32
|
import "../../_browser-chunks/chunk-SC67XZST.js";
|
|
33
33
|
import "../../_browser-chunks/chunk-IMSF75WX.js";
|
|
34
34
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
errorToErrorLike
|
|
14
|
-
} from "../../../../../_node-chunks/chunk-
|
|
15
|
-
import "../../../../../_node-chunks/chunk-
|
|
16
|
-
import "../../../../../_node-chunks/chunk-
|
|
14
|
+
} from "../../../../../_node-chunks/chunk-JEEXR245.js";
|
|
15
|
+
import "../../../../../_node-chunks/chunk-GZBUCUF7.js";
|
|
16
|
+
import "../../../../../_node-chunks/chunk-WS367FSJ.js";
|
|
17
17
|
|
|
18
18
|
// src/shared/open-service/services/docgen/worker/docgen-worker.ts
|
|
19
19
|
import { parentPort } from "node:worker_threads";
|
|
@@ -204,7 +204,7 @@ declare function toMcpToolName(method: ToolsetMethodId): string;
|
|
|
204
204
|
/**
|
|
205
205
|
* Renders how a toolset method is spelled for the active transport.
|
|
206
206
|
*
|
|
207
|
-
* Not a composed-
|
|
207
|
+
* Not a composed-Forkbook "ref" (`refs` in `main.js`) — the name is the invokable tool/command
|
|
208
208
|
* string agents see. Descriptions that tell an agent to call another tool must use this rather
|
|
209
209
|
* than hardcoding either spelling.
|
|
210
210
|
*/
|
|
@@ -1028,58 +1028,58 @@ type ConditionalValue = {
|
|
|
1028
1028
|
type Conditional = ConditionalValue & ConditionalTest;
|
|
1029
1029
|
interface ControlBase {
|
|
1030
1030
|
[key: string]: any;
|
|
1031
|
-
/** @see https://
|
|
1031
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#controltype */
|
|
1032
1032
|
type?: ControlType;
|
|
1033
1033
|
disable?: boolean;
|
|
1034
1034
|
}
|
|
1035
1035
|
type Control = ControlType | false | (ControlBase & (ControlBase | {
|
|
1036
|
-
type: 'color'; /** @see https://
|
|
1036
|
+
type: 'color'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlpresetcolors */
|
|
1037
1037
|
presetColors?: string[];
|
|
1038
1038
|
} | {
|
|
1039
|
-
type: 'file'; /** @see https://
|
|
1039
|
+
type: 'file'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlaccept */
|
|
1040
1040
|
accept?: string;
|
|
1041
1041
|
} | {
|
|
1042
|
-
type: 'inline-check' | 'radio' | 'inline-radio' | 'select' | 'multi-select'; /** @see https://
|
|
1042
|
+
type: 'inline-check' | 'radio' | 'inline-radio' | 'select' | 'multi-select'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controllabels */
|
|
1043
1043
|
labels?: {
|
|
1044
1044
|
[options: string]: string;
|
|
1045
1045
|
};
|
|
1046
1046
|
} | {
|
|
1047
|
-
type: 'number' | 'range'; /** @see https://
|
|
1048
|
-
max?: number; /** @see https://
|
|
1049
|
-
min?: number; /** @see https://
|
|
1047
|
+
type: 'number' | 'range'; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlmax */
|
|
1048
|
+
max?: number; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlmin */
|
|
1049
|
+
min?: number; /** @see https://forkbook.ljk.dev/docs/api/arg-types#controlstep */
|
|
1050
1050
|
step?: number;
|
|
1051
1051
|
}));
|
|
1052
1052
|
interface InputType {
|
|
1053
|
-
/** @see https://
|
|
1053
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#control */
|
|
1054
1054
|
control?: Control;
|
|
1055
|
-
/** @see https://
|
|
1055
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#description */
|
|
1056
1056
|
description?: string;
|
|
1057
|
-
/** @see https://
|
|
1057
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#if */
|
|
1058
1058
|
if?: Conditional;
|
|
1059
|
-
/** @see https://
|
|
1059
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#mapping */
|
|
1060
1060
|
mapping?: {
|
|
1061
1061
|
[key: string]: any;
|
|
1062
1062
|
};
|
|
1063
|
-
/** @see https://
|
|
1063
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#name */
|
|
1064
1064
|
name?: string;
|
|
1065
|
-
/** @see https://
|
|
1065
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#options */
|
|
1066
1066
|
options?: readonly any[];
|
|
1067
|
-
/** @see https://
|
|
1067
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#table */
|
|
1068
1068
|
table?: {
|
|
1069
|
-
[key: string]: unknown; /** @see https://
|
|
1070
|
-
category?: string; /** @see https://
|
|
1069
|
+
[key: string]: unknown; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tablecategory */
|
|
1070
|
+
category?: string; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabledefaultvalue */
|
|
1071
1071
|
defaultValue?: {
|
|
1072
1072
|
summary?: string | undefined;
|
|
1073
1073
|
detail?: string | undefined;
|
|
1074
|
-
}; /** @see https://
|
|
1075
|
-
disable?: boolean; /** @see https://
|
|
1076
|
-
subcategory?: string; /** @see https://
|
|
1074
|
+
}; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabledisable */
|
|
1075
|
+
disable?: boolean; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tablesubcategory */
|
|
1076
|
+
subcategory?: string; /** @see https://forkbook.ljk.dev/docs/api/arg-types#tabletype */
|
|
1077
1077
|
type?: {
|
|
1078
1078
|
summary?: string | undefined;
|
|
1079
1079
|
detail?: string | undefined;
|
|
1080
1080
|
};
|
|
1081
1081
|
};
|
|
1082
|
-
/** @see https://
|
|
1082
|
+
/** @see https://forkbook.ljk.dev/docs/api/arg-types#type */
|
|
1083
1083
|
type?: SBType | SBScalarType['name'];
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Removed. Set the story value with `args`, or the docs-table text with `table.defaultValue`.
|
package/dist/telemetry/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_ubhjlnocuxr from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_ubhjlnocuxr from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_ubhjlnocuxr from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_ubhjlnocuxr.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_ubhjlnocuxr.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_ubhjlnocuxr.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -31,50 +31,50 @@ import {
|
|
|
31
31
|
setTelemetryEnabled,
|
|
32
32
|
telemetry,
|
|
33
33
|
withSpan
|
|
34
|
-
} from "../_node-chunks/chunk-
|
|
34
|
+
} from "../_node-chunks/chunk-XD5SYXAU.js";
|
|
35
35
|
import {
|
|
36
36
|
SESSION_TIMEOUT,
|
|
37
37
|
getSessionId
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
40
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-IR34HUSL.js";
|
|
39
|
+
import "../_node-chunks/chunk-DD2S4BFV.js";
|
|
40
|
+
import "../_node-chunks/chunk-7XCEKQGV.js";
|
|
41
41
|
import {
|
|
42
42
|
detectAgent
|
|
43
|
-
} from "../_node-chunks/chunk-
|
|
44
|
-
import "../_node-chunks/chunk-
|
|
45
|
-
import "../_node-chunks/chunk-
|
|
46
|
-
import "../_node-chunks/chunk-
|
|
47
|
-
import "../_node-chunks/chunk-
|
|
48
|
-
import "../_node-chunks/chunk-
|
|
49
|
-
import "../_node-chunks/chunk-
|
|
50
|
-
import "../_node-chunks/chunk-
|
|
51
|
-
import "../_node-chunks/chunk-
|
|
52
|
-
import "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
54
|
-
import "../_node-chunks/chunk-
|
|
55
|
-
import "../_node-chunks/chunk-
|
|
56
|
-
import "../_node-chunks/chunk-
|
|
57
|
-
import "../_node-chunks/chunk-
|
|
58
|
-
import "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
61
|
-
import "../_node-chunks/chunk-
|
|
62
|
-
import "../_node-chunks/chunk-
|
|
63
|
-
import "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
67
|
-
import "../_node-chunks/chunk-
|
|
68
|
-
import "../_node-chunks/chunk-
|
|
69
|
-
import "../_node-chunks/chunk-
|
|
70
|
-
import "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
72
|
-
import "../_node-chunks/chunk-
|
|
73
|
-
import "../_node-chunks/chunk-
|
|
74
|
-
import "../_node-chunks/chunk-
|
|
75
|
-
import "../_node-chunks/chunk-
|
|
76
|
-
import "../_node-chunks/chunk-
|
|
77
|
-
import "../_node-chunks/chunk-
|
|
43
|
+
} from "../_node-chunks/chunk-PDCSUZ4L.js";
|
|
44
|
+
import "../_node-chunks/chunk-X3E55W5S.js";
|
|
45
|
+
import "../_node-chunks/chunk-IBO346NQ.js";
|
|
46
|
+
import "../_node-chunks/chunk-4GD7MMLJ.js";
|
|
47
|
+
import "../_node-chunks/chunk-2APY2YSW.js";
|
|
48
|
+
import "../_node-chunks/chunk-V2JDVM46.js";
|
|
49
|
+
import "../_node-chunks/chunk-4LPAWP5S.js";
|
|
50
|
+
import "../_node-chunks/chunk-A4YELYR3.js";
|
|
51
|
+
import "../_node-chunks/chunk-INEYTOWF.js";
|
|
52
|
+
import "../_node-chunks/chunk-SSZ5REKS.js";
|
|
53
|
+
import "../_node-chunks/chunk-XWQEWRFD.js";
|
|
54
|
+
import "../_node-chunks/chunk-AFKKN27O.js";
|
|
55
|
+
import "../_node-chunks/chunk-NYAWUR6L.js";
|
|
56
|
+
import "../_node-chunks/chunk-QU5ANYM7.js";
|
|
57
|
+
import "../_node-chunks/chunk-EGS2SAD2.js";
|
|
58
|
+
import "../_node-chunks/chunk-NYRUWAL3.js";
|
|
59
|
+
import "../_node-chunks/chunk-GKTCJPLL.js";
|
|
60
|
+
import "../_node-chunks/chunk-QDLR4JF5.js";
|
|
61
|
+
import "../_node-chunks/chunk-NHIRHARE.js";
|
|
62
|
+
import "../_node-chunks/chunk-OIIORQX5.js";
|
|
63
|
+
import "../_node-chunks/chunk-FAZ3MUOI.js";
|
|
64
|
+
import "../_node-chunks/chunk-MRZD5SBV.js";
|
|
65
|
+
import "../_node-chunks/chunk-UMZSNFWM.js";
|
|
66
|
+
import "../_node-chunks/chunk-TLVEPWBN.js";
|
|
67
|
+
import "../_node-chunks/chunk-STRSG3GT.js";
|
|
68
|
+
import "../_node-chunks/chunk-XBXGLD3K.js";
|
|
69
|
+
import "../_node-chunks/chunk-FJDJE7XC.js";
|
|
70
|
+
import "../_node-chunks/chunk-OS5LQEC6.js";
|
|
71
|
+
import "../_node-chunks/chunk-5ZLOPVTG.js";
|
|
72
|
+
import "../_node-chunks/chunk-BOUA7OB7.js";
|
|
73
|
+
import "../_node-chunks/chunk-ESZVID7Q.js";
|
|
74
|
+
import "../_node-chunks/chunk-GZBUCUF7.js";
|
|
75
|
+
import "../_node-chunks/chunk-HUFAUSEX.js";
|
|
76
|
+
import "../_node-chunks/chunk-K3I3G4VL.js";
|
|
77
|
+
import "../_node-chunks/chunk-WS367FSJ.js";
|
|
78
78
|
export {
|
|
79
79
|
ErrorCollector,
|
|
80
80
|
SESSION_TIMEOUT,
|
package/dist/test/index.js
CHANGED
|
@@ -15918,7 +15918,7 @@ var P2 = (e2) => {
|
|
|
15918
15918
|
}, K2 = (e2) => (f3(e2, u2, { value: { reset: () => P2(e2[u2]) } }), e2[u2]), T2 = (e2) => e2[u2] || K2(e2);
|
|
15919
15919
|
|
|
15920
15920
|
// src/test/spy.ts
|
|
15921
|
-
var moduleMockSpies = globalThis.
|
|
15921
|
+
var moduleMockSpies = globalThis.__FORKBOOK_MODULE_MOCK_SPIES__ ??= /* @__PURE__ */ new Set(), listeners = /* @__PURE__ */ new Set();
|
|
15922
15922
|
function onMockCall(callback) {
|
|
15923
15923
|
return listeners.add(callback), () => {
|
|
15924
15924
|
listeners.delete(callback);
|
|
@@ -19226,7 +19226,7 @@ testingLibrary.screen = new Proxy(testingLibrary.screen, {
|
|
|
19226
19226
|
return typeof window < "u" && globalThis.location?.href?.includes("viewMode=docs") && once.warn(dedent`
|
|
19227
19227
|
You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
|
|
19228
19228
|
|
|
19229
|
-
More info: https://
|
|
19229
|
+
More info: https://forkbook.ljk.dev/docs/writing-tests/interaction-testing#querying-the-canvas
|
|
19230
19230
|
`), Reflect.get(target, prop, receiver);
|
|
19231
19231
|
}
|
|
19232
19232
|
});
|
package/dist/theming/create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create,
|
|
3
3
|
themes
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-SZCSXISG.js";
|
|
5
5
|
import "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
6
6
|
import "../_browser-chunks/chunk-LE2LTDW3.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
package/dist/theming/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import React, { ReactNode } from "react";
|
|
|
7
7
|
declare const useTheme: () => StorybookTheme;
|
|
8
8
|
/**
|
|
9
9
|
* Gives the theme to `useTheme` and writes it as CSS variables on a wrapper element, so the CSS
|
|
10
|
-
* below can use `var(--
|
|
10
|
+
* below can use `var(--fb-...)`. The `data-fb-theme` attribute holds the theme base (`light` or
|
|
11
11
|
* `dark`).
|
|
12
12
|
*/
|
|
13
13
|
declare const ThemeProvider: ({
|
|
@@ -21,11 +21,11 @@ declare const ThemeProvider: ({
|
|
|
21
21
|
//#region .dts-emit/code/core/src/theming/css-vars.d.ts
|
|
22
22
|
type CssVars = Record<`--${string}`, string>;
|
|
23
23
|
/**
|
|
24
|
-
* Turns a theme into CSS variables. Component styles read the theme with `var(--
|
|
24
|
+
* Turns a theme into CSS variables. Component styles read the theme with `var(--fb-...)`.
|
|
25
25
|
*
|
|
26
|
-
* The names follow the theme object: `theme.color.defaultText` is `--
|
|
27
|
-
* `theme.typography.size.s2` is `--
|
|
28
|
-
* `--
|
|
26
|
+
* The names follow the theme object: `theme.color.defaultText` is `--fb-color-default-text`,
|
|
27
|
+
* `theme.typography.size.s2` is `--fb-size-s2` and `theme.input.borderRadius` is
|
|
28
|
+
* `--fb-input-border-radius`. Sizes are in pixels.
|
|
29
29
|
*/
|
|
30
30
|
declare const themeToCssVars: (theme: StorybookTheme) => CssVars;
|
|
31
31
|
/** Writes CSS variables as declarations, for use in a style sheet rule. */
|