@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
|
@@ -222,6 +222,7 @@ import { addons as managerAddons } from "@aussieljk/forkbook/manager-api";
|
|
|
222
222
|
import { FullUI as DeviceUI } from "@aussieljk/forkbook/react-native-ui";
|
|
223
223
|
|
|
224
224
|
// src/react-native/patchChannelForRN.ts
|
|
225
|
+
import { EVENT_ID } from "@aussieljk/forkbook/actions";
|
|
225
226
|
function snapshotValue(value, depth = 0) {
|
|
226
227
|
if (depth > 3) return "[...]";
|
|
227
228
|
if (value == null) return value;
|
|
@@ -250,7 +251,7 @@ function patchChannelForRN(channel) {
|
|
|
250
251
|
};
|
|
251
252
|
let originalEmit = channel.emit.bind(channel);
|
|
252
253
|
channel.emit = (eventName, ...args) => {
|
|
253
|
-
if (eventName ===
|
|
254
|
+
if (eventName === EVENT_ID) {
|
|
254
255
|
let actionDisplay = args[0];
|
|
255
256
|
actionDisplay?.data?.args != null && (actionDisplay.data.args = sanitizeActionArgs(actionDisplay.data.args));
|
|
256
257
|
}
|
|
@@ -947,10 +948,10 @@ var Text2 = styled.Text(({ theme: theme3 }) => ({
|
|
|
947
948
|
}, StoryView_default = React3.memo(StoryView);
|
|
948
949
|
|
|
949
950
|
// src/react-native/constants.ts
|
|
950
|
-
var
|
|
951
|
+
var RN_FORKBOOK_STORAGE_KEY = "lastOpenedStory", RN_FORKBOOK_EVENTS = {
|
|
951
952
|
RN_GET_INDEX: "RN_GET_INDEX",
|
|
952
953
|
RN_GET_INDEX_RESPONSE: "RN_GET_INDEX_RESPONSE"
|
|
953
|
-
},
|
|
954
|
+
}, FORKBOOK_STORY_ID_PARAM = "FORKBOOK_STORY_ID";
|
|
954
955
|
|
|
955
956
|
// src/react-native/View.tsx
|
|
956
957
|
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
@@ -990,15 +991,15 @@ var View3 = class {
|
|
|
990
991
|
if (shouldPersistSelection)
|
|
991
992
|
try {
|
|
992
993
|
let value = this._asyncStorageStoryId;
|
|
993
|
-
return !value && this._storage != null && (value = await this._storage.getItem(
|
|
994
|
+
return !value && this._storage != null && (value = await this._storage.getItem(RN_FORKBOOK_STORAGE_KEY), value || (await new Promise((resolve) => setTimeout(resolve, 100)), value = await this._storage.getItem(RN_FORKBOOK_STORAGE_KEY)), this._asyncStorageStoryId = value), { storySpecifier: (value && this._storyIdExists(value) ? value : void 0) ?? "*", viewMode: "story" };
|
|
994
995
|
} catch (e) {
|
|
995
996
|
console.warn("storybook-log: error reading from async storage", e);
|
|
996
997
|
}
|
|
997
998
|
return { storySpecifier: "*", viewMode: "story" };
|
|
998
999
|
};
|
|
999
|
-
this._getHost = (params = {}) => params.host ? params.host : globalThis.
|
|
1000
|
-
this.__getPort = (params = {}) => params.port ? params.port : globalThis.
|
|
1001
|
-
this._isSecureConnection = (params = {}) => typeof params.secured == "boolean" ? params.secured : globalThis.
|
|
1000
|
+
this._getHost = (params = {}) => params.host ? params.host : globalThis.FORKBOOK_WEBSOCKET?.host ? globalThis.FORKBOOK_WEBSOCKET.host : Platform.OS === "android" ? "10.0.2.2" : "localhost";
|
|
1001
|
+
this.__getPort = (params = {}) => params.port ? params.port : globalThis.FORKBOOK_WEBSOCKET?.port ? globalThis.FORKBOOK_WEBSOCKET.port : 7007;
|
|
1002
|
+
this._isSecureConnection = (params = {}) => typeof params.secured == "boolean" ? params.secured : globalThis.FORKBOOK_WEBSOCKET?.secured ?? !1;
|
|
1002
1003
|
this._getServerChannel = (params = {}) => {
|
|
1003
1004
|
let host = this._getHost(params), port = `:${this.__getPort(params)}`, query = params.query || "", url = `${this._isSecureConnection(params) ? "wss" : "ws"}://${host}${port}/${query}`, channel = new Channel({
|
|
1004
1005
|
async: !0,
|
|
@@ -1022,7 +1023,7 @@ var View3 = class {
|
|
|
1022
1023
|
};
|
|
1023
1024
|
this.getStorybookUI = (params = {}) => {
|
|
1024
1025
|
let {
|
|
1025
|
-
enableWebsockets = !!globalThis.
|
|
1026
|
+
enableWebsockets = !!globalThis.FORKBOOK_WEBSOCKET,
|
|
1026
1027
|
CustomUIComponent,
|
|
1027
1028
|
hasStoryWrapper: storyViewWrapper = !0
|
|
1028
1029
|
} = params, storage = params.storage ?? {
|
|
@@ -1038,13 +1039,13 @@ var View3 = class {
|
|
|
1038
1039
|
let channel = this._getServerChannel(params);
|
|
1039
1040
|
managerAddons.setChannel(channel), previewAddons.setChannel(channel), this._channel = channel, this._preview.channel = channel, this._preview.setupListeners(), channel.emit(CHANNEL_CREATED), this._preview.ready().then(() => this._preview.onStoryIndexChanged());
|
|
1040
1041
|
}
|
|
1041
|
-
this._channel.on(
|
|
1042
|
-
this._channel.emit(
|
|
1042
|
+
this._channel.on(RN_FORKBOOK_EVENTS.RN_GET_INDEX, () => {
|
|
1043
|
+
this._channel.emit(RN_FORKBOOK_EVENTS.RN_GET_INDEX_RESPONSE, { index: this._storyIndex });
|
|
1043
1044
|
}), managerAddons.loadAddons({
|
|
1044
1045
|
store: () => ({
|
|
1045
1046
|
fromId: (id) => {
|
|
1046
1047
|
if (!this._ready)
|
|
1047
|
-
throw new Error("
|
|
1048
|
+
throw new Error("Forkbook is not ready yet");
|
|
1048
1049
|
return this._preview.getStoryContext(this._idToPrepared[id]);
|
|
1049
1050
|
},
|
|
1050
1051
|
getSelection: () => this._preview.currentSelection,
|
|
@@ -1060,7 +1061,7 @@ var View3 = class {
|
|
|
1060
1061
|
useEffect2(() => {
|
|
1061
1062
|
let listener = Linking.addEventListener("url", ({ url }) => {
|
|
1062
1063
|
if (typeof url == "string") {
|
|
1063
|
-
let storyId = new URL(url).searchParams.get(
|
|
1064
|
+
let storyId = new URL(url).searchParams.get(FORKBOOK_STORY_ID_PARAM), hasStoryId = storyId && typeof storyId == "string", storyExists = hasStoryId && self2._storyIdExists(storyId);
|
|
1064
1065
|
storyExists && self2._ready && (console.log(`STORYBOOK: Linking event received, navigating to story: ${storyId}`), self2._channel.emit(SET_CURRENT_STORY, { storyId })), hasStoryId && !storyExists && console.log(
|
|
1065
1066
|
`STORYBOOK: Linking event received, but story does not exist: ${storyId}`
|
|
1066
1067
|
);
|
|
@@ -1073,7 +1074,7 @@ var View3 = class {
|
|
|
1073
1074
|
self2.createPreparedStoryMapping().then(
|
|
1074
1075
|
() => Linking.getInitialURL().then((url) => {
|
|
1075
1076
|
if (url && typeof url == "string") {
|
|
1076
|
-
let storyId = new URL(url).searchParams.get(
|
|
1077
|
+
let storyId = new URL(url).searchParams.get(FORKBOOK_STORY_ID_PARAM), hasStoryId = typeof storyId == "string", storyExists = hasStoryId && self2._storyIdExists(storyId);
|
|
1077
1078
|
if (hasStoryId && !storyExists && console.log(
|
|
1078
1079
|
`STORYBOOK: Initial Linking event received, but story does not exist: ${storyId}`
|
|
1079
1080
|
), storyExists)
|
|
@@ -1106,7 +1107,7 @@ var View3 = class {
|
|
|
1106
1107
|
`), shouldPersistSelection && self2._storage && self2._ready)
|
|
1107
1108
|
try {
|
|
1108
1109
|
self2._asyncStorageStoryId = newStory.id;
|
|
1109
|
-
let ret = self2._storage.setItem(
|
|
1110
|
+
let ret = self2._storage.setItem(RN_FORKBOOK_STORAGE_KEY, newStory.id);
|
|
1110
1111
|
ret && typeof ret.then == "function" && ret.catch((e) => {
|
|
1111
1112
|
console.warn("storybook-log: error writing to async storage", e);
|
|
1112
1113
|
});
|
|
@@ -1341,7 +1342,7 @@ var PressableSwatch = styled2.TouchableOpacity(({ theme: theme3 }) => ({
|
|
|
1341
1342
|
), Swatch_default = Swatch;
|
|
1342
1343
|
|
|
1343
1344
|
// src/react-native/backgrounds/constants.ts
|
|
1344
|
-
var PARAM_KEY = "backgrounds", ADDON_ID = "
|
|
1345
|
+
var PARAM_KEY = "backgrounds", ADDON_ID = "forkbook-addon-background", PANEL_ID = `${ADDON_ID}/background-panel`;
|
|
1345
1346
|
|
|
1346
1347
|
// src/react-native/backgrounds/BackgroundPanel.tsx
|
|
1347
1348
|
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1458,7 +1459,7 @@ var ReactNativePreview = class extends PreviewWithSelection2 {
|
|
|
1458
1459
|
return this.renderSelectionQueue = run.catch(() => {
|
|
1459
1460
|
}), run;
|
|
1460
1461
|
}
|
|
1461
|
-
//
|
|
1462
|
+
// Forkbook tears down a story that is still rendering (e.g. its loaders are running) by waiting briefly and then
|
|
1462
1463
|
// reloading the page, which restarts the app in Expo and never resolves elsewhere in React Native. Abort the render
|
|
1463
1464
|
// instead: once its loaders finish it sees the abort and doesn't draw.
|
|
1464
1465
|
async teardownRender(...[render, options]) {
|
|
@@ -1516,7 +1517,7 @@ function start({
|
|
|
1516
1517
|
);
|
|
1517
1518
|
if (view = new View3(preview, channel, options), global) {
|
|
1518
1519
|
let storybookGlobal = global;
|
|
1519
|
-
storybookGlobal.
|
|
1520
|
+
storybookGlobal.__FORKBOOK_ADDONS_CHANNEL__ = channel, storybookGlobal.__FORKBOOK_PREVIEW__ = preview;
|
|
1520
1521
|
}
|
|
1521
1522
|
return view._storyIndex = index, preview.getStoryIndexFromServer = async () => view._storyIndex, view;
|
|
1522
1523
|
}
|
|
@@ -1535,9 +1536,9 @@ function updateView(viewInstance, annotations, normalizedStories, options) {
|
|
|
1535
1536
|
});
|
|
1536
1537
|
}
|
|
1537
1538
|
export {
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1539
|
+
FORKBOOK_STORY_ID_PARAM,
|
|
1540
|
+
RN_FORKBOOK_EVENTS,
|
|
1541
|
+
RN_FORKBOOK_STORAGE_KEY,
|
|
1541
1542
|
darkTheme2 as darkTheme,
|
|
1542
1543
|
getProjectAnnotations,
|
|
1543
1544
|
prepareStories,
|
|
@@ -21,7 +21,7 @@ interface ChannelServerOptions {
|
|
|
21
21
|
*/
|
|
22
22
|
host?: string;
|
|
23
23
|
/**
|
|
24
|
-
* The path to the
|
|
24
|
+
* The path to the Forkbook config folder.
|
|
25
25
|
*/
|
|
26
26
|
configPath: string;
|
|
27
27
|
/**
|
|
@@ -56,7 +56,7 @@ interface ChannelServerOptions {
|
|
|
56
56
|
* @param options - Configuration options for the channel server.
|
|
57
57
|
* @param options.port - The port to listen on.
|
|
58
58
|
* @param options.host - The host to bind to.
|
|
59
|
-
* @param options.configPath - The path to the
|
|
59
|
+
* @param options.configPath - The path to the Forkbook config folder.
|
|
60
60
|
* @param options.websockets - Whether to enable WebSocket server support.
|
|
61
61
|
* @param options.secured - Whether to use HTTPS/WSS for the channel server.
|
|
62
62
|
* @param options.ssl - TLS credentials used when `secured` is true.
|
|
@@ -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
|
|
@@ -12,9 +12,9 @@ var require = CJS_COMPAT_NODE_MODULE_ro17f80mg6k.createRequire(import.meta.url);
|
|
|
12
12
|
import {
|
|
13
13
|
buildIndex,
|
|
14
14
|
createChannelServer
|
|
15
|
-
} from "../../_node-chunks/chunk-
|
|
16
|
-
import "../../_node-chunks/chunk-
|
|
17
|
-
import "../../_node-chunks/chunk-
|
|
15
|
+
} from "../../_node-chunks/chunk-B5VFV3ZW.js";
|
|
16
|
+
import "../../_node-chunks/chunk-K3I3G4VL.js";
|
|
17
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
18
18
|
export {
|
|
19
19
|
buildIndex,
|
|
20
20
|
createChannelServer
|
|
@@ -2260,7 +2260,7 @@ interface WithStorybookOptions {
|
|
|
2260
2260
|
* const { withStorybook } = require('@aussieljk/forkbook/react-native/metro/withStorybook');
|
|
2261
2261
|
*
|
|
2262
2262
|
* module.exports = withStorybook(getDefaultConfig(__dirname), {
|
|
2263
|
-
* enabled: process.env.
|
|
2263
|
+
* enabled: process.env.EXPO_PUBLIC_FORKBOOK_ENABLED === 'true',
|
|
2264
2264
|
* });
|
|
2265
2265
|
* ```
|
|
2266
2266
|
*/
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
createChannelServer
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-B5VFV3ZW.js";
|
|
15
15
|
import {
|
|
16
16
|
generate
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
19
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-UAALLQAQ.js";
|
|
18
|
+
import "../../_node-chunks/chunk-K3I3G4VL.js";
|
|
19
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
20
20
|
|
|
21
21
|
// src/react-native/metro/withStorybook.ts
|
|
22
22
|
import { createRequire } from "node:module";
|
|
@@ -42,12 +42,12 @@ function envVariableToNumber(value, defaultValue) {
|
|
|
42
42
|
}
|
|
43
43
|
function loadWebsocketEnvOverrides(websockets) {
|
|
44
44
|
let envHost = envVariableToString(
|
|
45
|
-
process.env.
|
|
45
|
+
process.env.FORKBOOK_WS_HOST,
|
|
46
46
|
websockets === "auto" ? void 0 : websockets?.host ?? void 0
|
|
47
47
|
), envPort = envVariableToNumber(
|
|
48
|
-
process.env.
|
|
48
|
+
process.env.FORKBOOK_WS_PORT,
|
|
49
49
|
websockets === "auto" ? 7007 : websockets?.port ?? 7007
|
|
50
|
-
), envSecured = envVariableToBoolean(process.env.
|
|
50
|
+
), envSecured = envVariableToBoolean(process.env.FORKBOOK_WS_SECURED);
|
|
51
51
|
if (websockets === void 0 && !envHost)
|
|
52
52
|
return {
|
|
53
53
|
host: void 0,
|
|
@@ -68,7 +68,7 @@ function withStorybook(config, options = {}) {
|
|
|
68
68
|
enabled = !0,
|
|
69
69
|
docTools = !0,
|
|
70
70
|
liteMode = !1
|
|
71
|
-
} = options, server = envVariableToBoolean(process.env.
|
|
71
|
+
} = options, server = envVariableToBoolean(process.env.FORKBOOK_SERVER, !0);
|
|
72
72
|
if (!enabled)
|
|
73
73
|
return {
|
|
74
74
|
...config,
|
|
@@ -85,8 +85,8 @@ function withStorybook(config, options = {}) {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
if (websockets != null || process.env.
|
|
89
|
-
let resolvedWs = loadWebsocketEnvOverrides(websockets), auto = websockets === "auto" && !process.env.
|
|
88
|
+
if (websockets != null || process.env.FORKBOOK_WS_HOST) {
|
|
89
|
+
let resolvedWs = loadWebsocketEnvOverrides(websockets), auto = websockets === "auto" && !process.env.FORKBOOK_WS_HOST, port = resolvedWs.port ?? 7007, secured = resolvedWs.secured;
|
|
90
90
|
server && createChannelServer({
|
|
91
91
|
port,
|
|
92
92
|
host: auto ? void 0 : resolvedWs.host,
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
generate
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
15
|
-
import "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-UAALLQAQ.js";
|
|
15
|
+
import "../../_node-chunks/chunk-WS367FSJ.js";
|
|
16
16
|
export {
|
|
17
17
|
generate
|
|
18
18
|
};
|
|
@@ -1,64 +1,8 @@
|
|
|
1
|
-
import { a as Theme$1, c as withTheme, i as StyledComponent, n as CreateStyledComponent, o as ThemeProvider, r as ReactNativeStyleType, s as useTheme, t as CreateStyled$1 } from "../chunk-BxWufQms.js";
|
|
2
1
|
import { ReactElement } from "react";
|
|
3
|
-
import * as RN from "react-native";
|
|
4
2
|
import { ImageProps, ImageSourcePropType, TextStyle } from "react-native";
|
|
3
|
+
import styled, { StyledComponent } from "@emotion/native";
|
|
4
|
+
import { ThemeProvider, useTheme, withTheme } from "@emotion/react";
|
|
5
5
|
|
|
6
|
-
//#region ../../node_modules/@emotion/native/dist/declarations/types/index.d.ts
|
|
7
|
-
type ReactNative = typeof RN;
|
|
8
|
-
// those 2 are just copies of the `BaseCreateStyled` with supplied `C` type argument
|
|
9
|
-
type HostClassComponent<C extends React.ComponentClass<any>> = CreateStyledComponent<React.ComponentProps<C> & {
|
|
10
|
-
theme?: Theme$1;
|
|
11
|
-
as?: React.ElementType;
|
|
12
|
-
}, {}, {
|
|
13
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
14
|
-
}, ReactNativeStyleType<React.ComponentProps<C>>>;
|
|
15
|
-
type HostFunctionComponent<C extends React.FunctionComponent<any>> = CreateStyledComponent<React.ComponentProps<C> & {
|
|
16
|
-
theme?: Theme$1;
|
|
17
|
-
as?: React.ElementType;
|
|
18
|
-
}, {}, {}, ReactNativeStyleType<React.ComponentProps<C>>>;
|
|
19
|
-
interface StyledComponents {
|
|
20
|
-
ActivityIndicator: HostClassComponent<ReactNative['ActivityIndicator']>;
|
|
21
|
-
Button: HostClassComponent<ReactNative['Button']>;
|
|
22
|
-
DatePickerIOS: HostClassComponent<ReactNative['DatePickerIOS']>;
|
|
23
|
-
DrawerLayoutAndroid: HostClassComponent<ReactNative['DrawerLayoutAndroid']>;
|
|
24
|
-
FlatList: HostClassComponent<ReactNative['FlatList']>;
|
|
25
|
-
Image: HostClassComponent<ReactNative['Image']>;
|
|
26
|
-
ImageBackground: HostClassComponent<ReactNative['ImageBackground']>;
|
|
27
|
-
KeyboardAvoidingView: HostClassComponent<ReactNative['KeyboardAvoidingView']>;
|
|
28
|
-
ListView: HostClassComponent<ReactNative['ListView']>;
|
|
29
|
-
Modal: HostClassComponent<ReactNative['Modal']>;
|
|
30
|
-
NavigatorIOS: HostClassComponent<ReactNative['NavigatorIOS']>;
|
|
31
|
-
Picker: HostClassComponent<ReactNative['Picker']>;
|
|
32
|
-
PickerIOS: HostClassComponent<ReactNative['PickerIOS']>;
|
|
33
|
-
Pressable: HostFunctionComponent<ReactNative['Pressable']>;
|
|
34
|
-
ProgressBarAndroid: HostClassComponent<ReactNative['ProgressBarAndroid']>;
|
|
35
|
-
ProgressViewIOS: HostClassComponent<ReactNative['ProgressViewIOS']>;
|
|
36
|
-
RecyclerViewBackedScrollView: HostClassComponent<ReactNative['RecyclerViewBackedScrollView']>;
|
|
37
|
-
RefreshControl: HostClassComponent<ReactNative['RefreshControl']>;
|
|
38
|
-
SafeAreaView: HostClassComponent<ReactNative['SafeAreaView']>;
|
|
39
|
-
ScrollView: HostClassComponent<ReactNative['ScrollView']>;
|
|
40
|
-
SectionList: HostClassComponent<ReactNative['SectionList']>;
|
|
41
|
-
SegmentedControlIOS: HostClassComponent<ReactNative['SegmentedControlIOS']>;
|
|
42
|
-
Slider: HostClassComponent<ReactNative['Slider']>;
|
|
43
|
-
SnapshotViewIOS: HostClassComponent<ReactNative['SnapshotViewIOS']>;
|
|
44
|
-
StatusBar: HostClassComponent<ReactNative['StatusBar']>;
|
|
45
|
-
SwipeableListView: HostClassComponent<ReactNative['SwipeableListView']>;
|
|
46
|
-
Switch: HostClassComponent<ReactNative['Switch']>;
|
|
47
|
-
SwitchIOS: HostClassComponent<ReactNative['SwitchIOS']>;
|
|
48
|
-
TabBarIOS: HostClassComponent<ReactNative['TabBarIOS']>;
|
|
49
|
-
Text: HostClassComponent<ReactNative['Text']>;
|
|
50
|
-
TextInput: HostClassComponent<ReactNative['TextInput']>;
|
|
51
|
-
ToolbarAndroid: HostClassComponent<ReactNative['ToolbarAndroid']>;
|
|
52
|
-
TouchableHighlight: HostClassComponent<ReactNative['TouchableHighlight']>;
|
|
53
|
-
TouchableNativeFeedback: HostClassComponent<ReactNative['TouchableNativeFeedback']>;
|
|
54
|
-
TouchableOpacity: HostClassComponent<ReactNative['TouchableOpacity']>;
|
|
55
|
-
TouchableWithoutFeedback: HostClassComponent<ReactNative['TouchableWithoutFeedback']>;
|
|
56
|
-
View: HostClassComponent<ReactNative['View']>;
|
|
57
|
-
ViewPagerAndroid: HostClassComponent<ReactNative['ViewPagerAndroid']>;
|
|
58
|
-
}
|
|
59
|
-
interface CreateStyled extends CreateStyled$1, StyledComponents {}
|
|
60
|
-
declare const styled: CreateStyled;
|
|
61
|
-
//#endregion
|
|
62
6
|
//#region .dts-emit/code/core/src/react-native-theming/web-theme.d.ts
|
|
63
7
|
declare const color: {
|
|
64
8
|
primary: string;
|