@aussieljk/forkbook 0.0.1-1 → 0.0.1-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +1 -1
- package/assets/create/rendererAssets/common/header.css +1 -1
- package/assets/create/rendererAssets/common/page.css +2 -2
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +11 -26
- package/dist/_browser-chunks/{Color-OEKZ7XSW.js → Color-PSH7RHPM.js} +5 -5
- package/dist/_browser-chunks/{WithTooltip-GZSSFOG3.js → WithTooltip-JLXUJSYD.js} +3 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-6SHRDXGF.js} +24 -24
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-73OX2G56.js → chunk-DCZTO4JJ.js} +68 -76
- package/dist/_browser-chunks/{chunk-PP4R7USA.js → chunk-DS2WQZGO.js} +222 -433
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
- package/dist/_browser-chunks/{chunk-VVWPND3J.js → chunk-EE42XVSP.js} +8 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-GU3X2J4S.js} +2 -2
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-K2B36HKM.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-K6GRZSXS.js} +1 -1
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-NMRSYACM.js} +2 -2
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-PPZ2HCWJ.js} +4 -4
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-SZCSXISG.js} +124 -104
- package/dist/_browser-chunks/{chunk-JMC7AIKT.js → chunk-UDQ3XQFC.js} +1 -1
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-ZLWA5RIE.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-O4YTVUKE.js → attached-runtime-KZYKMMDD.js} +29 -29
- package/dist/_node-chunks/{builder-manager-FPV2L36T.js → builder-manager-337QQEZ6.js} +32 -32
- package/dist/_node-chunks/{chunk-BE6ULVPN.js → chunk-224FM5GP.js} +8 -8
- package/dist/_node-chunks/chunk-22OJYYPD.js +18 -0
- package/dist/_node-chunks/{chunk-JEC2OK5B.js → chunk-26MVQWHR.js} +7 -7
- package/dist/_node-chunks/{chunk-NIHZECYO.js → chunk-27HJO5MV.js} +6 -6
- package/dist/_node-chunks/{chunk-I2ANCID7.js → chunk-27KGUS37.js} +25 -25
- package/dist/_node-chunks/{chunk-IZISFDKM.js → chunk-2D7P5VUJ.js} +30 -30
- package/dist/_node-chunks/{chunk-KGOAOPKR.js → chunk-2OI3EZE2.js} +6 -6
- package/dist/_node-chunks/{chunk-7LLQDMVS.js → chunk-34YSGPI4.js} +6 -6
- package/dist/_node-chunks/{chunk-4TV3Z3S3.js → chunk-4RSOZZZV.js} +6 -6
- package/dist/_node-chunks/{chunk-VQEQ7ZLS.js → chunk-4ZGNL77M.js} +7 -7
- package/dist/_node-chunks/{chunk-7TSL7D5D.js → chunk-4ZHC3GG3.js} +6 -6
- package/dist/_node-chunks/{chunk-CDRLLNRQ.js → chunk-6RQIIUDQ.js} +9 -9
- package/dist/_node-chunks/{chunk-6APBQVEX.js → chunk-7QGX7Z6B.js} +7 -7
- package/dist/_node-chunks/{chunk-IJL5JOLL.js → chunk-7VZYI3NI.js} +7 -7
- package/dist/_node-chunks/{chunk-2XDUXZGI.js → chunk-A6EXJJZU.js} +8 -8
- package/dist/_node-chunks/{chunk-HKQEE62W.js → chunk-AJ3YH5VH.js} +8 -8
- package/dist/_node-chunks/{chunk-RHG33T7C.js → chunk-AKBNFQKK.js} +8 -8
- package/dist/_node-chunks/{chunk-CWD5A6NI.js → chunk-AKF2FB7S.js} +7 -7
- package/dist/_node-chunks/{chunk-RJXEPYEN.js → chunk-ANOZDFMW.js} +13 -13
- package/dist/_node-chunks/{chunk-YWMICX2T.js → chunk-APM5SEWT.js} +12 -12
- package/dist/_node-chunks/{chunk-R7CY5LX6.js → chunk-AQSROIPB.js} +6 -6
- package/dist/_node-chunks/{chunk-MDKFZRYG.js → chunk-CC4WWASR.js} +8 -8
- package/dist/_node-chunks/{chunk-JE6JEGXA.js → chunk-CE66ARL5.js} +9 -9
- package/dist/_node-chunks/{chunk-GP5YLBNS.js → chunk-CHOJKLHP.js} +8 -8
- package/dist/_node-chunks/{chunk-5BTU7UZ5.js → chunk-COJPWKDE.js} +7 -7
- package/dist/_node-chunks/{chunk-GT5EHMNM.js → chunk-CVQGQ2MI.js} +7 -7
- package/dist/_node-chunks/{chunk-NKAUZU4C.js → chunk-CYPEPQSM.js} +6 -6
- package/dist/_node-chunks/{chunk-Y2GH4XO7.js → chunk-D44WSSIU.js} +7 -7
- package/dist/_node-chunks/{chunk-RQVK2TOI.js → chunk-DG3DK4ZH.js} +10 -10
- package/dist/_node-chunks/{chunk-QVMUIU7S.js → chunk-DI76R3EI.js} +6 -6
- package/dist/_node-chunks/{chunk-ILWHW4HU.js → chunk-DSHYY7ZB.js} +14 -14
- package/dist/_node-chunks/{chunk-JVQYQTTM.js → chunk-EJ6XL2KN.js} +19 -40
- package/dist/_node-chunks/{chunk-AWJOXJAZ.js → chunk-EM3MZKXS.js} +7 -7
- package/dist/_node-chunks/{chunk-U4GKV7GZ.js → chunk-EYKTEH7V.js} +10 -10
- package/dist/_node-chunks/{chunk-5J3O7EDY.js → chunk-GTM64XRQ.js} +6 -6
- package/dist/_node-chunks/{chunk-4PK3LUHM.js → chunk-GURMTBQH.js} +7 -7
- package/dist/_node-chunks/{chunk-MJ2UD7FU.js → chunk-HC2QE2VI.js} +6 -6
- package/dist/_node-chunks/{chunk-TB6Y6NSL.js → chunk-HG3U5FMZ.js} +8 -8
- package/dist/_node-chunks/{chunk-FUYZNTIS.js → chunk-HLT3PHJN.js} +6 -6
- package/dist/_node-chunks/{chunk-PBMWZVLD.js → chunk-HNCTPOQK.js} +6 -6
- package/dist/_node-chunks/{chunk-ICADUNQM.js → chunk-HOROZKYE.js} +6 -6
- package/dist/_node-chunks/{chunk-ULW4SLMN.js → chunk-HS3YKDIQ.js} +10 -10
- package/dist/_node-chunks/{chunk-RJUHZH32.js → chunk-I7BJLOF5.js} +6 -6
- package/dist/_node-chunks/{chunk-VXDWOVWD.js → chunk-IGAYUOMN.js} +10 -10
- package/dist/_node-chunks/{chunk-ILVD64RB.js → chunk-J4WM6PLB.js} +8 -8
- package/dist/_node-chunks/{chunk-G6PUNHCI.js → chunk-JD5NDU6F.js} +6 -6
- package/dist/_node-chunks/{chunk-356LV3NX.js → chunk-JQDKICKC.js} +6 -6
- package/dist/_node-chunks/{chunk-AWXGCPW6.js → chunk-KGJPHNM7.js} +6 -6
- package/dist/_node-chunks/{chunk-A724RK5H.js → chunk-KSOJ65P3.js} +6 -6
- package/dist/_node-chunks/{chunk-3CLITGI2.js → chunk-LEUTSNSA.js} +6 -6
- package/dist/_node-chunks/{chunk-R5FYRP6X.js → chunk-LJ5HNC36.js} +7 -7
- package/dist/_node-chunks/{chunk-ASJFOW6O.js → chunk-LMMUUQFW.js} +8 -8
- package/dist/_node-chunks/{chunk-SVZ6Q3CS.js → chunk-LNOZLCJT.js} +6 -6
- package/dist/_node-chunks/{chunk-ZMEGPR47.js → chunk-MCPP73WS.js} +6 -6
- package/dist/_node-chunks/{chunk-5WHA37KG.js → chunk-MMMIVLRV.js} +37 -37
- package/dist/_node-chunks/{chunk-CSXS6LVI.js → chunk-MY7DHPSK.js} +6 -6
- package/dist/_node-chunks/chunk-MZ4CONV4.js +20 -0
- package/dist/_node-chunks/{chunk-HKUNJELN.js → chunk-N4DKR3HN.js} +8 -8
- package/dist/_node-chunks/{chunk-XURIZ7IC.js → chunk-NF3GSBMC.js} +8 -8
- package/dist/_node-chunks/{chunk-QMU5ODXZ.js → chunk-OA6BPTG5.js} +7 -7
- package/dist/_node-chunks/{chunk-2BJIHWOK.js → chunk-OGQBLJGR.js} +6 -6
- package/dist/_node-chunks/{chunk-DWE36J35.js → chunk-OMFATFOJ.js} +7 -7
- package/dist/_node-chunks/{chunk-AANHLH5M.js → chunk-OSE2FYQP.js} +6 -6
- package/dist/_node-chunks/{chunk-X6OWHTYE.js → chunk-PRXD2EYH.js} +6 -6
- package/dist/_node-chunks/{chunk-5J3BMBMY.js → chunk-PT7NX73C.js} +6 -6
- package/dist/_node-chunks/{chunk-URRTQ2QM.js → chunk-QDZFSC26.js} +6 -6
- package/dist/_node-chunks/{chunk-GVSFRNWZ.js → chunk-QTRP6K2A.js} +6 -6
- package/dist/_node-chunks/{chunk-PEIAGMSR.js → chunk-R2ZIMVYL.js} +6 -6
- package/dist/_node-chunks/{chunk-2UG3IYCC.js → chunk-RGAJGDCU.js} +6 -6
- package/dist/_node-chunks/{chunk-JBCKN6P4.js → chunk-RKUAUXH6.js} +6 -6
- package/dist/_node-chunks/{chunk-ZBAIFZNB.js → chunk-RNZL535Q.js} +13 -13
- package/dist/_node-chunks/{chunk-5GN5N22E.js → chunk-S73KB2DE.js} +24 -24
- package/dist/_node-chunks/{chunk-CYPPELO4.js → chunk-SFPEJYWG.js} +22 -32
- package/dist/_node-chunks/{chunk-Y2DEKWVE.js → chunk-SPN2VCN7.js} +8 -8
- package/dist/_node-chunks/{chunk-2QTI45JU.js → chunk-SVRE646L.js} +35 -35
- package/dist/_node-chunks/{chunk-US7L4S72.js → chunk-T5D7JJMY.js} +9 -9
- package/dist/_node-chunks/{chunk-M2BRIUUP.js → chunk-TM4SF5U2.js} +7 -7
- package/dist/_node-chunks/{chunk-XJSYJTBD.js → chunk-TVYJB2XE.js} +7 -7
- package/dist/_node-chunks/{chunk-5RNOGGO6.js → chunk-TY2RQWQ7.js} +6 -6
- package/dist/_node-chunks/{chunk-NZ3GOT7V.js → chunk-TZKXP2KS.js} +6 -6
- package/dist/_node-chunks/{chunk-WQ7PSP6H.js → chunk-U2C4SK3A.js} +6 -6
- package/dist/_node-chunks/{chunk-XCGMRAV5.js → chunk-U3ZISTY3.js} +7 -7
- package/dist/_node-chunks/{chunk-7DCDBICW.js → chunk-U736OTI6.js} +13 -13
- package/dist/_node-chunks/chunk-U7MSJ3A6.js +11 -0
- package/dist/_node-chunks/{chunk-G5OYQQDY.js → chunk-URBTH3SB.js} +6 -6
- package/dist/_node-chunks/{chunk-SRXCCL2O.js → chunk-US5P4ZWN.js} +7 -7
- package/dist/_node-chunks/{chunk-CXLL2F6O.js → chunk-UWLMMCBV.js} +8 -8
- package/dist/_node-chunks/{chunk-B6SKX4JF.js → chunk-V3WMH7C4.js} +7 -7
- package/dist/_node-chunks/{chunk-EWXASIWR.js → chunk-W6ZSSLD7.js} +7 -7
- package/dist/_node-chunks/{chunk-2JSABFAM.js → chunk-WALLDPES.js} +10 -10
- package/dist/_node-chunks/{chunk-7BVUZZIY.js → chunk-WEQUS77K.js} +7 -7
- package/dist/_node-chunks/{chunk-GSWBRZLU.js → chunk-WK5562IZ.js} +8 -8
- package/dist/_node-chunks/{chunk-BENYUF74.js → chunk-XPSQ3CGZ.js} +38 -42
- package/dist/_node-chunks/{chunk-XTTAS346.js → chunk-YM5GSNOW.js} +6 -6
- package/dist/_node-chunks/{chunk-6EJ5NPEM.js → chunk-ZZJRM4VQ.js} +7 -7
- package/dist/_node-chunks/dist-PLKLDZ2U.js +16 -0
- package/dist/_node-chunks/{globby-HWZL7XSQ.js → globby-7JAOKACZ.js} +10 -10
- package/dist/_node-chunks/{jiti-GNDCTFYU.js → jiti-NTDVBCL3.js} +7 -7
- package/dist/_node-chunks/{lib-DI662U2R.js → lib-GO6OUNCW.js} +7 -7
- package/dist/_node-chunks/{local-runtime-4UNT5EZJ.js → local-runtime-75CNASLU.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-ZY6XLLA4.js → mdx-plugin-CC54EOSI.js} +14 -14
- package/dist/_node-chunks/{monorepo-B65J4UFS.js → monorepo-YQLAQDZJ.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-45ZTNWJS.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SNHO4JTH.js} +12 -12
- package/dist/_node-chunks/optimized-tests-L75JY37J.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-LOHSM7ID.js → pattern-copy-play-IMDJHSAD.js} +10 -10
- package/dist/_node-chunks/postinstallAddon-PSVXEIZJ.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-22ZBI6K4.js → rehype-external-links-EZO7JZTZ.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-ROZVEEFZ.js → rehype-slug-MECGIEGM.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-EDE2B34G.js → relaxed-limits-4UOQIT3N.js} +12 -12
- package/dist/_node-chunks/{run-IR3BRDJV.js → run-3YFS3YCP.js} +17 -17
- package/dist/_node-chunks/{run-372BSBV5.js → run-LTXOQNKP.js} +13 -13
- package/dist/_node-chunks/session-id-PEDFG544.js +23 -0
- package/dist/_node-chunks/{setup-6TMCKUTA.js → setup-2CNFOQBB.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-QJBEVCKG.js → vitest.config.4.template-MAPM7IJT.js} +9 -9
- package/dist/actions/decorator.js +2 -2
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +2 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +18 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +46 -46
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +5 -5
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +27 -19
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +13 -34
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/index.d.ts +1 -1
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +12 -12
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +17 -17
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +12 -12
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +9 -9
- package/dist/builder-vite/index.js +17 -17
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.js +6 -6
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-B2xylxt5.d.ts} +43 -43
- package/dist/{chunk-C-bavsOH.d.ts → chunk-BWzbIWPz.d.ts} +1 -1
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-BYnH2sbb.d.ts} +1 -1
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-BTVrWliM.d.ts → chunk-DF6btpT3.d.ts} +1 -1
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-DIz17UEJ.d.ts} +20 -20
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-DtHByo32.d.ts → chunk-DuDsmeM7.d.ts} +1 -1
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-DvufcbCc.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.d.ts +8 -7
- package/dist/components/index.js +223 -228
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +77 -77
- package/dist/core-server/presets/common-manager.js +49 -49
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +44 -44
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +5 -5
- package/dist/csf/index.js +29 -29
- package/dist/csf-tools/index.js +13 -13
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.js +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-B0I9dSVs.js → globals-runtime-C9lYPobZ.js} +408 -429
- package/dist/manager/_manager-chunks/{globals-runtime-f5oIrim0.js → globals-runtime-CejY7Ueo.js} +125 -133
- package/dist/manager/_manager-chunks/{globals-runtime-CXoVXiJA.js → globals-runtime-DGHmnlvz.js} +38 -62
- package/dist/manager/_manager-chunks/{globals-runtime-BQCkfH1B.js → globals-runtime-DH1Y5Kk_.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-50_aob4S.js} +2 -2
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +998 -0
- package/dist/manager/_manager-chunks/{runtime-DtyerpFe.js → runtime-B6gJfDvO.js} +58 -58
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-B9QzcYO3.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-BGvLm94o.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-Bry1Biu7.js → runtime-BzYARKgi.js} +427 -425
- package/dist/manager/_manager-chunks/{runtime-DpgBAFGf.js → runtime-CaVSkVCV.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DcJBhKG9.js → runtime-CcCplmkX.js} +17 -27
- package/dist/manager/_manager-chunks/{runtime-B1L9TH89.js → runtime-wL4UO7YO.js} +12 -12
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +18 -47
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +2 -2
- package/dist/mocking-utils/index.js +15 -15
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +3 -3
- package/dist/nextjs-vite/node/index.d.ts +1 -1
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -1
- package/dist/nextjs-vite-plugin/index.js +11 -11
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-CxZK_Ln3.js → runtime-B3y8ocOg.js} +2 -2
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BoxmlDdB.js} +66 -66
- package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-CijtAN7R.js} +4 -4
- package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-D7B4bVe_.js} +3 -3
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DVM_AHbR.js} +36 -36
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +9 -9
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +3 -3
- package/dist/react/preset.js +14 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +2 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +6 -6
- package/dist/react-native/index.js +21 -20
- package/dist/react-native/metro/node.d.ts +2 -2
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.d.ts +2 -2
- package/dist/react-native/metro/withStorybook.js +16 -16
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native-theming/index.js +57 -62
- package/dist/react-native-ui/index.js +207 -624
- 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 +10 -31
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +2 -2
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +2 -2
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +2 -2
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +2 -2
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_node-chunks/chunk-BCRWDMAU.js +0 -11
- package/dist/_node-chunks/chunk-DUOXRUVQ.js +0 -18
- package/dist/_node-chunks/chunk-WVCU34IS.js +0 -23
- package/dist/_node-chunks/dist-ZGSN23B7.js +0 -16
- package/dist/_node-chunks/optimized-tests-ZMNICF4R.js +0 -22
- package/dist/_node-chunks/postinstallAddon-NT5XE7IT.js +0 -20
- package/dist/_node-chunks/session-id-OO2WQF5N.js +0 -23
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
package/dist/addon-mcp/preset.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
package_default
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-EJ6XL2KN.js";
|
|
15
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
16
16
|
|
|
17
17
|
// src/addon-mcp/mcp-handler.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -717,11 +717,19 @@ var template_default = `<!doctype html>
|
|
|
717
717
|
<head>
|
|
718
718
|
<style>
|
|
719
719
|
@font-face {
|
|
720
|
-
font-family: '
|
|
720
|
+
font-family: 'Inter Variable';
|
|
721
721
|
font-style: normal;
|
|
722
|
-
font-weight:
|
|
722
|
+
font-weight: 100 900;
|
|
723
723
|
font-display: swap;
|
|
724
|
-
src: url('./
|
|
724
|
+
src: url('./fb-common-assets/inter-variable.woff2') format('woff2');
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
@font-face {
|
|
728
|
+
font-family: 'Inter Variable';
|
|
729
|
+
font-style: italic;
|
|
730
|
+
font-weight: 100 900;
|
|
731
|
+
font-display: swap;
|
|
732
|
+
src: url('./fb-common-assets/inter-variable-italic.woff2') format('woff2');
|
|
725
733
|
}
|
|
726
734
|
|
|
727
735
|
* {
|
|
@@ -734,7 +742,7 @@ var template_default = `<!doctype html>
|
|
|
734
742
|
body {
|
|
735
743
|
height: 100%;
|
|
736
744
|
font-family:
|
|
737
|
-
'
|
|
745
|
+
'Inter Variable',
|
|
738
746
|
-apple-system,
|
|
739
747
|
BlinkMacSystemFont,
|
|
740
748
|
'Segoe UI',
|
|
@@ -769,7 +777,7 @@ var template_default = `<!doctype html>
|
|
|
769
777
|
}
|
|
770
778
|
|
|
771
779
|
a {
|
|
772
|
-
color: #
|
|
780
|
+
color: #007aff;
|
|
773
781
|
}
|
|
774
782
|
|
|
775
783
|
.container {
|
|
@@ -903,7 +911,7 @@ var template_default = `<!doctype html>
|
|
|
903
911
|
See how to connect to it from your coding agent in the
|
|
904
912
|
<a
|
|
905
913
|
target="_blank"
|
|
906
|
-
href="https://
|
|
914
|
+
href="https://forkbook.ljk.dev/docs/ai/mcp/overview#3-add-the-mcp-server-to-your-agent"
|
|
907
915
|
>agent connection setup guide</a
|
|
908
916
|
>.
|
|
909
917
|
</p>
|
|
@@ -1312,17 +1320,17 @@ var previewAnnotations = async (existingAnnotations = []) => [...existingAnnotat
|
|
|
1312
1320
|
let docsNotice = "";
|
|
1313
1321
|
docsHasManifests ? docsFeatureEnabled || (docsNotice = `<div class="toolset-notice">
|
|
1314
1322
|
This toolset requires enabling the component manifest feature.
|
|
1315
|
-
<a target="_blank" href="https://
|
|
1323
|
+
<a target="_blank" href="https://forkbook.ljk.dev/docs/ai/mcp/overview">Learn how to enable it</a>
|
|
1316
1324
|
</div>`) : docsNotice = docsFeatureEnabled ? `<div class="toolset-notice">
|
|
1317
1325
|
This toolset requires a components manifest, which your framework does not generate.
|
|
1318
|
-
<a target="_blank" href="https://
|
|
1326
|
+
<a target="_blank" href="https://forkbook.ljk.dev/docs/ai/mcp/overview#framework-support">See which frameworks are supported</a>
|
|
1319
1327
|
</div>` : `<div class="toolset-notice">
|
|
1320
1328
|
This toolset requires a components manifest, which is generated by the React frameworks. Enable the <code>componentsManifest</code> feature.
|
|
1321
|
-
<a target="_blank" href="https://
|
|
1329
|
+
<a target="_blank" href="https://forkbook.ljk.dev/docs/ai/mcp/overview#framework-support">Learn how to enable it</a>
|
|
1322
1330
|
</div>`;
|
|
1323
1331
|
let testNoticeLines = [
|
|
1324
|
-
!testSupported && 'This toolset requires Forkbook 10.3.0+ with <code>@aussieljk/forkbook/addon-vitest</code>. <a target="_blank" href="https://
|
|
1325
|
-
!a11yEnabled2 && 'Add <code>@aussieljk/forkbook/addon-a11y</code> for accessibility testing. <a target="_blank" href="https://
|
|
1332
|
+
!testSupported && 'This toolset requires Forkbook 10.3.0+ with <code>@aussieljk/forkbook/addon-vitest</code>. <a target="_blank" href="https://forkbook.ljk.dev/docs/writing-tests/integrations/vitest-addon#install-and-set-up">Learn how to set it up</a>',
|
|
1333
|
+
!a11yEnabled2 && 'Add <code>@aussieljk/forkbook/addon-a11y</code> for accessibility testing. <a target="_blank" href="https://forkbook.ljk.dev/docs/writing-tests/accessibility-testing">Learn more</a>'
|
|
1326
1334
|
].filter(Boolean), testNotice = testNoticeLines.length ? `<div class="toolset-notice">${testNoticeLines.join("<br>")}</div>` : "", a11yBadge = a11yEnabled2 ? ' <span class="toolset-status enabled">+ accessibility</span>' : "", devNoticeLines = isDevEnabled ? [
|
|
1327
1335
|
!moduleGraphSupported && "<code>stories-find-by-component</code> requires a dev server with a builder that supports the module graph (Vite)."
|
|
1328
1336
|
].filter(Boolean) : ["The <code>dev</code> toolset is disabled via addon options."], devNotice = devNoticeLines.length ? `<div class="toolset-notice">${devNoticeLines.join("<br>")}</div>` : "", html = template_default.replaceAll("{{DEV_STATUS}}", isDevEnabled ? "enabled" : "disabled").replaceAll(
|
|
@@ -4,7 +4,7 @@ var MCP_APP_PARAM = "mcp-app", MCP_APP_SIZE_CHANGED_EVENT = "storybook-mcp:size-
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@aussieljk/forkbook",
|
|
7
|
-
version: "0.0.1-
|
|
7
|
+
version: "0.0.1-3",
|
|
8
8
|
description: "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
|
|
9
9
|
keywords: [
|
|
10
10
|
"forkbook",
|
|
@@ -739,9 +739,9 @@ var package_default = {
|
|
|
739
739
|
}
|
|
740
740
|
},
|
|
741
741
|
bin: {
|
|
742
|
-
forkbook: "
|
|
743
|
-
"sb-rn-get-stories": "
|
|
744
|
-
storybook: "
|
|
742
|
+
forkbook: "dist/bin/dispatcher.js",
|
|
743
|
+
"sb-rn-get-stories": "dist/react-native/bin/get-stories.js",
|
|
744
|
+
storybook: "dist/bin/dispatcher.js"
|
|
745
745
|
},
|
|
746
746
|
files: [
|
|
747
747
|
"dist/**/*",
|
|
@@ -778,7 +778,7 @@ var package_default = {
|
|
|
778
778
|
"oxc-resolver": "11.21.2",
|
|
779
779
|
oxfmt: "^0.70.0",
|
|
780
780
|
pathe: "^2.0.3",
|
|
781
|
-
"probe-image-size": "^7.
|
|
781
|
+
"probe-image-size": "^7.4.0",
|
|
782
782
|
recast: "^0.23.5",
|
|
783
783
|
semver: "^7.7.3",
|
|
784
784
|
"styled-jsx": "5.1.6",
|
|
@@ -804,8 +804,8 @@ var package_default = {
|
|
|
804
804
|
"@discoveryjs/json-ext": "^0.5.3",
|
|
805
805
|
"@emotion/native": "^11.11.0",
|
|
806
806
|
"@emotion/react": "^11.14.0",
|
|
807
|
+
"@expo/ui": "58.0.13",
|
|
807
808
|
"@fal-works/esbuild-plugin-global-externals": "^2.1.2",
|
|
808
|
-
"@gorhom/bottom-sheet": "5.2.14",
|
|
809
809
|
"@gorhom/portal": "1.0.14",
|
|
810
810
|
"@happy-dom/global-registrator": "^20.0.11",
|
|
811
811
|
"@mdx-js/mdx": "^3.0.0",
|
|
@@ -821,8 +821,6 @@ var package_default = {
|
|
|
821
821
|
"@opentelemetry/sdk-trace-base": "2.12.0",
|
|
822
822
|
"@polka/compression": "^1.0.0-next.28",
|
|
823
823
|
"@preact/signals-core": "^1.14.2",
|
|
824
|
-
"@react-native-community/datetimepicker": "9.2.1",
|
|
825
|
-
"@react-native-community/slider": "5.2.1",
|
|
826
824
|
"@rolldown/pluginutils": "1.0.0-beta.18",
|
|
827
825
|
"@standard-schema/spec": "^1.1.0",
|
|
828
826
|
"@testing-library/react": "^14.0.0",
|
|
@@ -883,6 +881,7 @@ var package_default = {
|
|
|
883
881
|
escodegen: "^2.1.0",
|
|
884
882
|
execa: "^9.6.1",
|
|
885
883
|
"expect-type": "^0.15.0",
|
|
884
|
+
"expo-symbols": "58.0.4",
|
|
886
885
|
exsolve: "^1.0.7",
|
|
887
886
|
"extend-to-be-announced": "^2.0.0",
|
|
888
887
|
"fast-deep-equal": "^3.1.3",
|
|
@@ -936,11 +935,7 @@ var package_default = {
|
|
|
936
935
|
"react-helmet-async": "^1.3.0",
|
|
937
936
|
"react-inspector": "^6.0.0",
|
|
938
937
|
"react-native": "0.88.0-rc.3",
|
|
939
|
-
"react-native-gesture-handler": "3.2.1",
|
|
940
|
-
"react-native-reanimated": "4.7.0",
|
|
941
938
|
"react-native-safe-area-context": "5.9.1",
|
|
942
|
-
"react-native-svg": "15.15.5",
|
|
943
|
-
"react-native-worklets": "0.13.0",
|
|
944
939
|
"react-resize-detector": "^7.1.2",
|
|
945
940
|
"react-router-dom": "6.15.0",
|
|
946
941
|
"react-textarea-autosize": "^8.3.0",
|
|
@@ -980,7 +975,7 @@ var package_default = {
|
|
|
980
975
|
zod: "^3.25.76"
|
|
981
976
|
},
|
|
982
977
|
peerDependencies: {
|
|
983
|
-
"@
|
|
978
|
+
"@expo/ui": ">=55",
|
|
984
979
|
"@opentelemetry/api": "^1.9.1",
|
|
985
980
|
"@opentelemetry/context-async-hooks": "^2.12.0",
|
|
986
981
|
"@opentelemetry/exporter-logs-otlp-http": "^0.223.0",
|
|
@@ -988,26 +983,22 @@ var package_default = {
|
|
|
988
983
|
"@opentelemetry/resources": "^2.12.0",
|
|
989
984
|
"@opentelemetry/sdk-logs": "^0.223.0",
|
|
990
985
|
"@opentelemetry/sdk-trace-base": "^2.12.0",
|
|
991
|
-
"@react-native-community/datetimepicker": "*",
|
|
992
|
-
"@react-native-community/slider": "*",
|
|
993
986
|
"@types/react": "^18.0.0 || ^19.0.0",
|
|
994
987
|
"@types/react-dom": "^18.0.0 || ^19.0.0",
|
|
995
988
|
"@vitest/browser": "^4.0.0 || ^5.0.0",
|
|
996
989
|
"@vitest/browser-playwright": "^4.0.0 || ^5.0.0",
|
|
990
|
+
"expo-symbols": ">=55",
|
|
997
991
|
next: "^15.0.0 || ^16.0.0",
|
|
998
992
|
react: "^18.0.0 || ^19.0.0",
|
|
999
993
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
1000
994
|
"react-native": ">=0.79.0",
|
|
1001
|
-
"react-native-gesture-handler": ">=2",
|
|
1002
|
-
"react-native-reanimated": ">=4",
|
|
1003
995
|
"react-native-safe-area-context": ">=5",
|
|
1004
|
-
"react-native-svg": ">=14",
|
|
1005
996
|
vite: "^8.0.0",
|
|
1006
997
|
"vite-plus": "^0.1.15 || ^0.2.0 || ^0.3.0",
|
|
1007
998
|
vitest: "^4.0.0 || ^5.0.0"
|
|
1008
999
|
},
|
|
1009
1000
|
peerDependenciesMeta: {
|
|
1010
|
-
"@
|
|
1001
|
+
"@expo/ui": {
|
|
1011
1002
|
optional: !0
|
|
1012
1003
|
},
|
|
1013
1004
|
"@opentelemetry/api": {
|
|
@@ -1031,12 +1022,6 @@ var package_default = {
|
|
|
1031
1022
|
"@opentelemetry/sdk-trace-base": {
|
|
1032
1023
|
optional: !0
|
|
1033
1024
|
},
|
|
1034
|
-
"@react-native-community/datetimepicker": {
|
|
1035
|
-
optional: !0
|
|
1036
|
-
},
|
|
1037
|
-
"@react-native-community/slider": {
|
|
1038
|
-
optional: !0
|
|
1039
|
-
},
|
|
1040
1025
|
"@types/react": {
|
|
1041
1026
|
optional: !0
|
|
1042
1027
|
},
|
|
@@ -1049,24 +1034,18 @@ var package_default = {
|
|
|
1049
1034
|
"@vitest/browser-playwright": {
|
|
1050
1035
|
optional: !0
|
|
1051
1036
|
},
|
|
1052
|
-
|
|
1053
|
-
optional: !0
|
|
1054
|
-
},
|
|
1055
|
-
"react-native": {
|
|
1037
|
+
"expo-symbols": {
|
|
1056
1038
|
optional: !0
|
|
1057
1039
|
},
|
|
1058
|
-
|
|
1040
|
+
next: {
|
|
1059
1041
|
optional: !0
|
|
1060
1042
|
},
|
|
1061
|
-
"react-native
|
|
1043
|
+
"react-native": {
|
|
1062
1044
|
optional: !0
|
|
1063
1045
|
},
|
|
1064
1046
|
"react-native-safe-area-context": {
|
|
1065
1047
|
optional: !0
|
|
1066
1048
|
},
|
|
1067
|
-
"react-native-svg": {
|
|
1068
|
-
optional: !0
|
|
1069
|
-
},
|
|
1070
1049
|
"vite-plus": {
|
|
1071
1050
|
optional: !0
|
|
1072
1051
|
},
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ADDON_ID,
|
|
3
3
|
PARAM_KEY,
|
|
4
4
|
register
|
|
5
|
-
} from "../_browser-chunks/chunk-
|
|
5
|
+
} from "../_browser-chunks/chunk-DS2WQZGO.js";
|
|
6
6
|
import "../_browser-chunks/chunk-UMDO3KB7.js";
|
|
7
7
|
import "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
8
8
|
import "../_browser-chunks/chunk-LE2LTDW3.js";
|
|
@@ -5,7 +5,7 @@ interface ThemesParameters {
|
|
|
5
5
|
/**
|
|
6
6
|
* Themes configuration
|
|
7
7
|
*
|
|
8
|
-
* @see https://
|
|
8
|
+
* @see https://forkbook.ljk.dev/docs/essentials/themes
|
|
9
9
|
*/
|
|
10
10
|
themes?: {
|
|
11
11
|
/** Remove the addon panel and disable the addon's behavior */disable?: boolean; /** Which theme to override for the story */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
preview_exports
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-ONTSNQON.js";
|
|
4
4
|
import {
|
|
5
5
|
GLOBAL_KEY,
|
|
6
6
|
PARAM_KEY,
|
|
7
7
|
THEMING_EVENTS
|
|
8
|
-
} from "../_browser-chunks/chunk-
|
|
8
|
+
} from "../_browser-chunks/chunk-4KIQBRD2.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "../_browser-chunks/chunk-IMSF75WX.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
13
13
|
|
|
14
14
|
// src/addon-themes/postinstall.ts
|
|
15
15
|
import { PackageManagerName } from "@aussieljk/forkbook/internal/common";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
initialGlobals
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
-
import "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-ONTSNQON.js";
|
|
4
|
+
import "../_browser-chunks/chunk-4KIQBRD2.js";
|
|
5
5
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
6
6
|
export {
|
|
7
7
|
initialGlobals
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
TRIGGER_TEST_RUN_RESPONSE,
|
|
36
36
|
TUTORIAL_VIDEO_LINK,
|
|
37
37
|
storeOptions
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-OSE2FYQP.js";
|
|
39
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
40
40
|
export {
|
|
41
41
|
ADDON_ID as A11Y_ADDON_ID,
|
|
42
42
|
PANEL_ID2 as A11Y_PANEL_ID,
|
|
@@ -50,11 +50,11 @@ import { useStorybookApi } from "@aussieljk/forkbook/manager-api";
|
|
|
50
50
|
|
|
51
51
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-vitest/components/GlobalErrorModal.module.css
|
|
52
52
|
var id = "core/src/addon-vitest/components/GlobalErrorModal.module.css";
|
|
53
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
53
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
54
54
|
let style = document.createElement("style");
|
|
55
|
-
style.setAttribute("data-
|
|
55
|
+
style.setAttribute("data-fb-css", id), style.textContent = ".fb-NOTFvq-bar{justify-content:space-between;align-items:center;padding:6px 6px 6px 20px;display:flex}.fb-NOTFvq-actionBar{justify-content:space-between;align-items:center;display:flex}.fb-NOTFvq-title{font-size:var(--fb-size-s2);font-weight:var(--fb-weight-bold)}.fb-NOTFvq-stackTrace{white-space:pre-wrap;word-wrap:break-word;user-select:text;max-height:60vh;font-family:var(--fb-font-mono);border-top:1px solid var(--fb-app-border-color);border-radius:0;margin:0;padding:20px;font-size:12px;overflow:auto}.fb-NOTFvq-troubleshootLink{color:var(--fb-color-default-text)}", document.head.appendChild(style);
|
|
56
56
|
}
|
|
57
|
-
var GlobalErrorModal_default = {
|
|
57
|
+
var GlobalErrorModal_default = { actionBar: "fb-NOTFvq-actionBar", stackTrace: "fb-NOTFvq-stackTrace", title: "fb-NOTFvq-title", bar: "fb-NOTFvq-bar", troubleshootLink: "fb-NOTFvq-troubleshootLink" };
|
|
58
58
|
|
|
59
59
|
// src/addon-vitest/components/GlobalErrorModal.tsx
|
|
60
60
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -245,11 +245,11 @@ var RelativeTime = ({ timestamp }) => {
|
|
|
245
245
|
|
|
246
246
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-vitest/components/Description.module.css
|
|
247
247
|
var id2 = "core/src/addon-vitest/components/Description.module.css";
|
|
248
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
248
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"]`)) {
|
|
249
249
|
let style = document.createElement("style");
|
|
250
|
-
style.setAttribute("data-
|
|
250
|
+
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-eMLqba-wrapper{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fb-size-s1);color:var(--fb-text-muted-color);overflow:hidden}.fb-eMLqba-positiveText{color:var(--fb-color-positive-text)}", document.head.appendChild(style);
|
|
251
251
|
}
|
|
252
|
-
var Description_default = {
|
|
252
|
+
var Description_default = { wrapper: "fb-eMLqba-wrapper", positiveText: "fb-eMLqba-positiveText" };
|
|
253
253
|
|
|
254
254
|
// src/addon-vitest/components/Description.tsx
|
|
255
255
|
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -284,11 +284,11 @@ function Description({
|
|
|
284
284
|
|
|
285
285
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-vitest/components/TestStatusIcon.module.css
|
|
286
286
|
var id3 = "core/src/addon-vitest/components/TestStatusIcon.module.css";
|
|
287
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
287
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"]`)) {
|
|
288
288
|
let style = document.createElement("style");
|
|
289
|
-
style.setAttribute("data-
|
|
289
|
+
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-Aohifa-icon{--status-color:var(--fb-text-muted-color);--status-background:rgb(from var(--status-color) r g b / .4);background:var(--status-color);border-radius:50%;width:6px;height:6px;margin:4px;&[data-percentage]{background:conic-gradient(var(--status-color) var(--percentage), var(--status-background) calc(var(--percentage) + 1%));width:12px;height:12px;margin:1px}&[data-running]{animation:1.5s ease-in-out infinite fb-Aohifa-glow}&[data-status=positive]{--status-color:var(--fb-color-positive)}&[data-status=warning]{--status-color:var(--fb-color-gold)}&[data-status=negative]{--status-color:var(--fb-color-negative)}&[data-status=critical]{--status-color:var(--fb-color-default-text)}}@keyframes fb-Aohifa-glow{0%,to{opacity:1}50%{opacity:.4}}", document.head.appendChild(style);
|
|
290
290
|
}
|
|
291
|
-
var TestStatusIcon_default = { icon: "
|
|
291
|
+
var TestStatusIcon_default = { icon: "fb-Aohifa-icon", glow: "fb-Aohifa-glow" };
|
|
292
292
|
|
|
293
293
|
// src/addon-vitest/components/TestStatusIcon.tsx
|
|
294
294
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
@@ -313,11 +313,11 @@ var TestStatusIcon = ({
|
|
|
313
313
|
|
|
314
314
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-vitest/components/TestProviderRender.module.css
|
|
315
315
|
var id4 = "core/src/addon-vitest/components/TestProviderRender.module.css";
|
|
316
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
316
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"]`)) {
|
|
317
317
|
let style = document.createElement("style");
|
|
318
|
-
style.setAttribute("data-
|
|
318
|
+
style.setAttribute("data-fb-css", id4), style.textContent = ".fb-wwCQYa-container{flex-direction:column;padding-bottom:1px;display:flex;&[data-in-context-menu]{padding-bottom:0}}.fb-wwCQYa-heading{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.fb-wwCQYa-info{flex-direction:column;min-width:0;margin-left:8px;display:flex}.fb-wwCQYa-title{font-size:var(--fb-size-s1);color:var(--fb-color-default-text);font-weight:400;&[data-crashed]{color:var(--fb-color-negative-text);font-weight:700}}.fb-wwCQYa-actions{gap:4px;display:flex}.fb-wwCQYa-actionList{padding:0}.fb-wwCQYa-muted{color:var(--fb-text-muted-color)}.fb-wwCQYa-progress{margin:4px}.fb-wwCQYa-stopIcon{width:10px}", document.head.appendChild(style);
|
|
319
319
|
}
|
|
320
|
-
var TestProviderRender_default = {
|
|
320
|
+
var TestProviderRender_default = { container: "fb-wwCQYa-container", actionList: "fb-wwCQYa-actionList", heading: "fb-wwCQYa-heading", title: "fb-wwCQYa-title", info: "fb-wwCQYa-info", actions: "fb-wwCQYa-actions", progress: "fb-wwCQYa-progress", muted: "fb-wwCQYa-muted", stopIcon: "fb-wwCQYa-stopIcon" };
|
|
321
321
|
|
|
322
322
|
// src/addon-vitest/components/TestProviderRender.tsx
|
|
323
323
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
require_supports_color
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-CVQGQ2MI.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-CYPEPQSM.js";
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/make-dir/index.js
|
|
22
22
|
var require_make_dir = __commonJS({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -12,7 +12,7 @@ var require = CJS_COMPAT_NODE_MODULE_5ewvyy4zw6m.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
errorToErrorLike,
|
|
14
14
|
log
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-T5D7JJMY.js";
|
|
16
16
|
import {
|
|
17
17
|
ADDON_ID2 as ADDON_ID,
|
|
18
18
|
COVERAGE_DIRECTORY,
|
|
@@ -21,24 +21,24 @@ import {
|
|
|
21
21
|
STATUS_TYPE_ID_COMPONENT_TEST,
|
|
22
22
|
STORY_INDEX_CHANNEL_EVENT_NAME,
|
|
23
23
|
storeOptions
|
|
24
|
-
} from "../../_node-chunks/chunk-
|
|
24
|
+
} from "../../_node-chunks/chunk-OSE2FYQP.js";
|
|
25
25
|
import {
|
|
26
26
|
throttle
|
|
27
|
-
} from "../../_node-chunks/chunk-
|
|
27
|
+
} from "../../_node-chunks/chunk-7VZYI3NI.js";
|
|
28
28
|
import {
|
|
29
29
|
escapeRegExp
|
|
30
|
-
} from "../../_node-chunks/chunk-
|
|
31
|
-
import "../../_node-chunks/chunk-
|
|
32
|
-
import "../../_node-chunks/chunk-
|
|
30
|
+
} from "../../_node-chunks/chunk-PRXD2EYH.js";
|
|
31
|
+
import "../../_node-chunks/chunk-YM5GSNOW.js";
|
|
32
|
+
import "../../_node-chunks/chunk-RGAJGDCU.js";
|
|
33
33
|
import {
|
|
34
34
|
any,
|
|
35
35
|
up
|
|
36
|
-
} from "../../_node-chunks/chunk-
|
|
37
|
-
import "../../_node-chunks/chunk-
|
|
36
|
+
} from "../../_node-chunks/chunk-TZKXP2KS.js";
|
|
37
|
+
import "../../_node-chunks/chunk-GURMTBQH.js";
|
|
38
38
|
import {
|
|
39
39
|
slash
|
|
40
|
-
} from "../../_node-chunks/chunk-
|
|
41
|
-
import "../../_node-chunks/chunk-
|
|
40
|
+
} from "../../_node-chunks/chunk-I7BJLOF5.js";
|
|
41
|
+
import "../../_node-chunks/chunk-CYPEPQSM.js";
|
|
42
42
|
|
|
43
43
|
// src/addon-vitest/node/vitest.ts
|
|
44
44
|
import process2 from "node:process";
|
|
@@ -382,7 +382,7 @@ Please install the @vitest/${isIstanbul ? "coverage-istanbul" : "coverage-v8"} p
|
|
|
382
382
|
}), this.registerVitestConfigListener();
|
|
383
383
|
}
|
|
384
384
|
isStorybookProject(project) {
|
|
385
|
-
return !!project.config.env?.
|
|
385
|
+
return !!project.config.env?.__FORKBOOK_URL__;
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
getTemplateConfigDir,
|
|
14
14
|
isConfigAlreadySetup,
|
|
15
15
|
postInstall
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-U736OTI6.js";
|
|
17
|
+
import "../_node-chunks/chunk-OSE2FYQP.js";
|
|
18
|
+
import "../_node-chunks/chunk-TZKXP2KS.js";
|
|
19
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
20
20
|
export {
|
|
21
21
|
postInstall as default,
|
|
22
22
|
getTemplateConfigDir,
|