@aussieljk/forkbook 0.0.1-5 → 0.0.1-7
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/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
- package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
- package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
- package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
- package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
- package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
- package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
- package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
- package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
- package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
- package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
- package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
- package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
- package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +6 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +28 -14
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +2 -2
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +16 -11
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- 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/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2512 -8359
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +62 -866
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +14 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
- package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
- package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +93 -14
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +3 -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/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +21 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.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
|
slash
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-ZSGOW4WQ.js";
|
|
15
15
|
import {
|
|
16
16
|
glob
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-RKKMQA6N.js";
|
|
18
|
+
import "../../_node-chunks/chunk-CDFQORVD.js";
|
|
19
|
+
import "../../_node-chunks/chunk-NLPC2DDQ.js";
|
|
19
20
|
|
|
20
21
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
22
|
import { isAbsolute, join, relative } from "node:path";
|
|
@@ -32,7 +33,8 @@ async function removeMDXEntries(entries, options) {
|
|
|
32
33
|
return {
|
|
33
34
|
files: (await glob(slash(absolutePattern), {
|
|
34
35
|
...commonGlobOptions(absolutePattern),
|
|
35
|
-
|
|
36
|
+
expandDirectories: !1,
|
|
37
|
+
followSymbolicLinks: !0
|
|
36
38
|
})).map((f) => relative(absoluteDirectory, f)),
|
|
37
39
|
directory,
|
|
38
40
|
titlePrefix
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.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
|
getAiSetupRunId
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-G2AANC4A.js";
|
|
15
15
|
import {
|
|
16
16
|
REVIEW_EVENTS
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-64JPAW3T.js";
|
|
18
18
|
import {
|
|
19
19
|
GitDiffProvider,
|
|
20
20
|
applyServicesPresetOnce,
|
|
@@ -41,65 +41,64 @@ import {
|
|
|
41
41
|
sendTelemetryError,
|
|
42
42
|
sourceUrlManifestProvider,
|
|
43
43
|
storyDocsQueryStaticPath
|
|
44
|
-
} from "../../_node-chunks/chunk-
|
|
45
|
-
import "../../_node-chunks/chunk-
|
|
46
|
-
import "../../_node-chunks/chunk-
|
|
47
|
-
import "../../_node-chunks/chunk-
|
|
48
|
-
import "../../_node-chunks/chunk-
|
|
44
|
+
} from "../../_node-chunks/chunk-UAG3XK32.js";
|
|
45
|
+
import "../../_node-chunks/chunk-5PYQ573S.js";
|
|
46
|
+
import "../../_node-chunks/chunk-I535GEPH.js";
|
|
47
|
+
import "../../_node-chunks/chunk-NSZGBFPR.js";
|
|
48
|
+
import "../../_node-chunks/chunk-QSP42ZBM.js";
|
|
49
49
|
import {
|
|
50
50
|
registerToolset
|
|
51
|
-
} from "../../_node-chunks/chunk-
|
|
52
|
-
import "../../_node-chunks/chunk-
|
|
53
|
-
import "../../_node-chunks/chunk-
|
|
54
|
-
import "../../_node-chunks/chunk-
|
|
51
|
+
} from "../../_node-chunks/chunk-Q6QRFKHB.js";
|
|
52
|
+
import "../../_node-chunks/chunk-JMS4H7QB.js";
|
|
53
|
+
import "../../_node-chunks/chunk-NUYBFTOU.js";
|
|
54
|
+
import "../../_node-chunks/chunk-KWER36VB.js";
|
|
55
55
|
import {
|
|
56
56
|
getComponentIdFromEntry,
|
|
57
57
|
getStoryImportPathFromEntry,
|
|
58
58
|
isEligibleStoryEntry,
|
|
59
59
|
selectComponentEntriesByComponentId
|
|
60
|
-
} from "../../_node-chunks/chunk-
|
|
61
|
-
import "../../_node-chunks/chunk-MMFUHYSU.js";
|
|
62
|
-
import "../../_node-chunks/chunk-WMBMSNB7.js";
|
|
60
|
+
} from "../../_node-chunks/chunk-6CB3XSQ2.js";
|
|
63
61
|
import {
|
|
64
62
|
getService,
|
|
65
63
|
registerService
|
|
66
|
-
} from "../../_node-chunks/chunk-
|
|
67
|
-
import "../../_node-chunks/chunk-
|
|
68
|
-
import "../../_node-chunks/chunk-
|
|
69
|
-
import "../../_node-chunks/chunk-
|
|
70
|
-
import "../../_node-chunks/chunk-
|
|
71
|
-
import "../../_node-chunks/chunk-
|
|
72
|
-
import "../../_node-chunks/chunk-
|
|
73
|
-
import "../../_node-chunks/chunk-
|
|
74
|
-
import "../../_node-chunks/chunk-
|
|
75
|
-
import "../../_node-chunks/chunk-
|
|
76
|
-
import "../../_node-chunks/chunk-
|
|
64
|
+
} from "../../_node-chunks/chunk-7PMQPS5E.js";
|
|
65
|
+
import "../../_node-chunks/chunk-U3E7E4Q2.js";
|
|
66
|
+
import "../../_node-chunks/chunk-MF3AT3JQ.js";
|
|
67
|
+
import "../../_node-chunks/chunk-CBBFNVFZ.js";
|
|
68
|
+
import "../../_node-chunks/chunk-6K3ZE4HN.js";
|
|
69
|
+
import "../../_node-chunks/chunk-BQC6WCUS.js";
|
|
70
|
+
import "../../_node-chunks/chunk-LJTP5PAJ.js";
|
|
71
|
+
import "../../_node-chunks/chunk-JQICISDD.js";
|
|
72
|
+
import "../../_node-chunks/chunk-MRWBN46D.js";
|
|
73
|
+
import "../../_node-chunks/chunk-OGJ7LDX3.js";
|
|
74
|
+
import "../../_node-chunks/chunk-BRHJ4P3A.js";
|
|
77
75
|
import {
|
|
78
76
|
invariant
|
|
79
|
-
} from "../../_node-chunks/chunk-
|
|
77
|
+
} from "../../_node-chunks/chunk-M7ZVSBNU.js";
|
|
80
78
|
import {
|
|
81
79
|
importMetaResolve,
|
|
82
80
|
resolvePackageDir
|
|
83
|
-
} from "../../_node-chunks/chunk-
|
|
84
|
-
import "../../_node-chunks/chunk-
|
|
81
|
+
} from "../../_node-chunks/chunk-SWHTDOB4.js";
|
|
82
|
+
import "../../_node-chunks/chunk-3ZCGT6VF.js";
|
|
85
83
|
import {
|
|
86
84
|
OpenServiceDocgenMissingComponentError,
|
|
87
85
|
OpenServiceServicesAppliedTwiceError,
|
|
88
86
|
OpenServiceUnknownStoryIdsError
|
|
89
|
-
} from "../../_node-chunks/chunk-
|
|
87
|
+
} from "../../_node-chunks/chunk-OWT6AVWK.js";
|
|
90
88
|
import {
|
|
91
89
|
require_picocolors
|
|
92
|
-
} from "../../_node-chunks/chunk-
|
|
90
|
+
} from "../../_node-chunks/chunk-K5RUOW42.js";
|
|
93
91
|
import {
|
|
94
92
|
toStoryIndexPath
|
|
95
|
-
} from "../../_node-chunks/chunk-
|
|
96
|
-
import "../../_node-chunks/chunk-
|
|
97
|
-
import "../../_node-chunks/chunk-
|
|
93
|
+
} from "../../_node-chunks/chunk-P3GOMPP3.js";
|
|
94
|
+
import "../../_node-chunks/chunk-JED5F3H2.js";
|
|
95
|
+
import "../../_node-chunks/chunk-RKKMQA6N.js";
|
|
96
|
+
import "../../_node-chunks/chunk-CDFQORVD.js";
|
|
98
97
|
import {
|
|
99
98
|
__commonJS,
|
|
100
99
|
__require,
|
|
101
100
|
__toESM
|
|
102
|
-
} from "../../_node-chunks/chunk-
|
|
101
|
+
} from "../../_node-chunks/chunk-NLPC2DDQ.js";
|
|
103
102
|
|
|
104
103
|
// ../../node_modules/shell-quote/quote.js
|
|
105
104
|
var require_quote = __commonJS({
|
package/dist/create/bin/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
3
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
4
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
5
5
|
|
|
6
|
-
var __filename =
|
|
7
|
-
var __dirname =
|
|
8
|
-
var require =
|
|
6
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
7
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
8
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
9
9
|
|
|
10
10
|
// ------------------------------------------------------------
|
|
11
11
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -20,4 +20,4 @@ if (!isNodeVersionSupported(process.versions.node)) {
|
|
|
20
20
|
You are currently running Node.js ${process.version}.`
|
|
21
21
|
), logger.outro(""), process.exit(1);
|
|
22
22
|
}
|
|
23
|
-
await import("../../_node-chunks/run-
|
|
23
|
+
await import("../../_node-chunks/run-SYLR25HA.js");
|
package/dist/create/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.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
|
doInitiate
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
17
|
-
import "../_node-chunks/chunk-
|
|
18
|
-
import "../_node-chunks/chunk-
|
|
19
|
-
import "../_node-chunks/chunk-
|
|
20
|
-
import "../_node-chunks/chunk-
|
|
21
|
-
import "../_node-chunks/chunk-
|
|
22
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-YZWUD7I5.js";
|
|
15
|
+
import "../_node-chunks/chunk-JTLOSDYL.js";
|
|
16
|
+
import "../_node-chunks/chunk-F3SAYS4R.js";
|
|
17
|
+
import "../_node-chunks/chunk-CENNLCU7.js";
|
|
18
|
+
import "../_node-chunks/chunk-BRHJ4P3A.js";
|
|
19
|
+
import "../_node-chunks/chunk-M7ZVSBNU.js";
|
|
20
|
+
import "../_node-chunks/chunk-SWHTDOB4.js";
|
|
21
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
22
|
+
import "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
23
23
|
export {
|
|
24
24
|
doInitiate as initiate
|
|
25
25
|
};
|
package/dist/csf/index.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { i as BackgroundsGlobals, r as BackgroundTypes } from "../chunk-Dm-iHJ-s
|
|
|
3
3
|
import { i as HighlightTypes } from "../chunk-DDd8BhTY.js";
|
|
4
4
|
import { i as ViewportGlobals, l as ViewportTypes } from "../chunk-DgzPaTw9.js";
|
|
5
5
|
import { a as toId, c as isExportStory, i as sanitize, l as storyNameFromExport, n as combineTags, o as toTestId, r as parseKind, s as IncludeExcludeOptions, t as SeparatorOptions } from "../chunk-Dr3R0DXk.js";
|
|
6
|
-
import { _ as isStory, a as Preview, c as Story, d as WithRenderArgs, f as definePreview, g as isPreview, h as isMeta, i as MetaTypes, l as StoryArgs, m as getStoryChildren, n as Meta, o as PreviewAddon, p as definePreviewAddon, r as MetaInput, s as PreviewAddonEntry, t as InferTypes, u as TypedMetaArgKeys, v as includeConditionalArg } from "../chunk-
|
|
6
|
+
import { _ as isStory, a as Preview, c as Story, d as WithRenderArgs, f as definePreview, g as isPreview, h as isMeta, i as MetaTypes, l as StoryArgs, m as getStoryChildren, n as Meta, o as PreviewAddon, p as definePreviewAddon, r as MetaInput, s as PreviewAddonEntry, t as InferTypes, u as TypedMetaArgKeys, v as includeConditionalArg } from "../chunk-BGhyFTJO.js";
|
|
7
7
|
export { type ActionsTypes, AddonTypes, AfterEach, AnnotatedStoryFn, AnyFramework, ArgTypes, ArgTypesEnhancer, Args, ArgsEnhancer, ArgsFromMeta, ArgsStoryFn, type BackgroundTypes, type BackgroundsGlobals, BaseAnnotations, BeforeAll, BeforeEach, Canvas, CleanupCallback, ComponentAnnotations, ComponentId, ComponentTitle, Conditional, type ControlsTypes, CoreTypes, DecoratorApplicator, DecoratorFunction, GlobalTypes, Globals, type HighlightTypes, type IncludeExcludeOptions, InferTypes, InputType, LegacyAnnotatedStoryFn, LegacyStoryAnnotationsOrFn, LegacyStoryFn, LoaderFunction, type MeasureTypes, Meta, MetaInput, MetaTypes, type OutlineTypes, Parameters, PartialStoryFn, PlayFunction, PlayFunctionContext, Preview, PreviewAddon, PreviewAddonEntry, ProjectAnnotations, Renderer, SBArrayType, SBEnumType, SBIntersectionType, SBLiteralType, SBNodeType, SBObjectType, SBOtherType, SBScalarType, SBTupleType, SBType, SBUnionType, SeparatorOptions, StepFunction, StepLabel, StepRunner, Story, StoryAnnotations, StoryAnnotationsOrFn, StoryArgs, StoryContext, StoryContextForEnhancers, StoryContextForLoaders, StoryContextForRender, StoryContextUpdate, StoryFn, StoryId, StoryIdentifier, StoryKind, StoryName, StrictArgTypes, StrictArgs, StrictInputType, StrictParameters, Tag, TestFunction, type TestTypes, TypedMetaArgKeys, ViewMode, type ViewportGlobals, type ViewportTypes, WithRenderArgs, combineTags, definePreview, definePreviewAddon, getCoreAnnotations, getStoryChildren, hasCoreAnnotations, includeConditionalArg, isExportStory, isMeta, isPreview, isStory, markAsComposedWithCoreAnnotations, parseKind, sanitize, storyNameFromExport, toId, toTestId };
|
package/dist/csf/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
normalizeArrays,
|
|
24
24
|
normalizeProjectAnnotations,
|
|
25
25
|
registerService
|
|
26
|
-
} from "../_browser-chunks/chunk-
|
|
26
|
+
} from "../_browser-chunks/chunk-IJYLSHY7.js";
|
|
27
27
|
import {
|
|
28
28
|
invariant
|
|
29
29
|
} from "../_browser-chunks/chunk-IWQGIXJS.js";
|
|
@@ -46,7 +46,9 @@ import {
|
|
|
46
46
|
} from "../_browser-chunks/chunk-GRO2ZYEJ.js";
|
|
47
47
|
import "../_browser-chunks/chunk-2JDQ35OA.js";
|
|
48
48
|
import "../_browser-chunks/chunk-IE4ULIOQ.js";
|
|
49
|
-
import
|
|
49
|
+
import {
|
|
50
|
+
isEqual
|
|
51
|
+
} from "../_browser-chunks/chunk-B4AUNNU4.js";
|
|
50
52
|
import "../_browser-chunks/chunk-NZMVUW5T.js";
|
|
51
53
|
import "../_browser-chunks/chunk-JWSKPMPC.js";
|
|
52
54
|
import "../_browser-chunks/chunk-JPUOQJUI.js";
|
|
@@ -68,90 +70,28 @@ import {
|
|
|
68
70
|
import "../_browser-chunks/chunk-ECQ75MKQ.js";
|
|
69
71
|
import {
|
|
70
72
|
action
|
|
71
|
-
} from "../_browser-chunks/chunk-
|
|
73
|
+
} from "../_browser-chunks/chunk-FRAOQJDI.js";
|
|
72
74
|
import "../_browser-chunks/chunk-N5WQGLI7.js";
|
|
75
|
+
import {
|
|
76
|
+
global
|
|
77
|
+
} from "../_browser-chunks/chunk-6AKCRYVX.js";
|
|
73
78
|
import {
|
|
74
79
|
DEFAULT_BACKGROUNDS,
|
|
75
80
|
PARAM_KEY as PARAM_KEY2
|
|
76
81
|
} from "../_browser-chunks/chunk-LAWXTSXK.js";
|
|
77
82
|
import {
|
|
78
|
-
|
|
79
|
-
__export,
|
|
80
|
-
__toESM
|
|
83
|
+
__export
|
|
81
84
|
} from "../_browser-chunks/chunk-IMSF75WX.js";
|
|
82
85
|
|
|
83
|
-
// ../../node_modules/@ngard/tiny-isequal/index.js
|
|
84
|
-
var require_tiny_isequal = __commonJS({
|
|
85
|
-
"../../node_modules/@ngard/tiny-isequal/index.js"(exports) {
|
|
86
|
-
Object.defineProperty(exports, "__esModule", { value: !0 }), exports.isEqual = /* @__PURE__ */ (function() {
|
|
87
|
-
var e = Object.prototype.toString, r = Object.getPrototypeOf, t = Object.getOwnPropertySymbols ? function(e2) {
|
|
88
|
-
return Object.keys(e2).concat(Object.getOwnPropertySymbols(e2));
|
|
89
|
-
} : Object.keys;
|
|
90
|
-
return function(n, a) {
|
|
91
|
-
return (function n2(a2, c, u) {
|
|
92
|
-
var i, s, l, o = e.call(a2), f = e.call(c);
|
|
93
|
-
if (a2 === c) return !0;
|
|
94
|
-
if (a2 == null || c == null) return !1;
|
|
95
|
-
if (u.indexOf(a2) > -1 && u.indexOf(c) > -1) return !0;
|
|
96
|
-
if (u.push(a2, c), o != f || (i = t(a2), s = t(c), i.length != s.length || i.some(function(e2) {
|
|
97
|
-
return !n2(a2[e2], c[e2], u);
|
|
98
|
-
}))) return !1;
|
|
99
|
-
switch (o.slice(8, -1)) {
|
|
100
|
-
case "Symbol":
|
|
101
|
-
return a2.valueOf() == c.valueOf();
|
|
102
|
-
case "Date":
|
|
103
|
-
case "Number":
|
|
104
|
-
return +a2 == +c || +a2 != +a2 && +c != +c;
|
|
105
|
-
case "RegExp":
|
|
106
|
-
case "Function":
|
|
107
|
-
case "String":
|
|
108
|
-
case "Boolean":
|
|
109
|
-
return "" + a2 == "" + c;
|
|
110
|
-
case "Set":
|
|
111
|
-
case "Map":
|
|
112
|
-
i = a2.entries(), s = c.entries();
|
|
113
|
-
do
|
|
114
|
-
if (!n2((l = i.next()).value, s.next().value, u)) return !1;
|
|
115
|
-
while (!l.done);
|
|
116
|
-
return !0;
|
|
117
|
-
case "ArrayBuffer":
|
|
118
|
-
a2 = new Uint8Array(a2), c = new Uint8Array(c);
|
|
119
|
-
case "DataView":
|
|
120
|
-
a2 = new Uint8Array(a2.buffer), c = new Uint8Array(c.buffer);
|
|
121
|
-
case "Float32Array":
|
|
122
|
-
case "Float64Array":
|
|
123
|
-
case "Int8Array":
|
|
124
|
-
case "Int16Array":
|
|
125
|
-
case "Int32Array":
|
|
126
|
-
case "Uint8Array":
|
|
127
|
-
case "Uint16Array":
|
|
128
|
-
case "Uint32Array":
|
|
129
|
-
case "Uint8ClampedArray":
|
|
130
|
-
case "Arguments":
|
|
131
|
-
case "Array":
|
|
132
|
-
if (a2.length != c.length) return !1;
|
|
133
|
-
for (l = 0; l < a2.length; l++) if ((l in a2 || l in c) && (l in a2 != l in c || !n2(a2[l], c[l], u))) return !1;
|
|
134
|
-
return !0;
|
|
135
|
-
case "Object":
|
|
136
|
-
return n2(r(a2), r(c), u);
|
|
137
|
-
default:
|
|
138
|
-
return !1;
|
|
139
|
-
}
|
|
140
|
-
})(n, a, []);
|
|
141
|
-
};
|
|
142
|
-
})();
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
|
|
146
86
|
// src/csf/includeConditionalArg.ts
|
|
147
|
-
var
|
|
87
|
+
var count = (vals) => vals.map((v2) => typeof v2 < "u").filter(Boolean).length, testValue = (cond, value) => {
|
|
148
88
|
let { exists, eq, neq, truthy } = cond;
|
|
149
89
|
if (count([exists, eq, neq, truthy]) > 1)
|
|
150
90
|
throw new Error(`Invalid conditional test ${JSON.stringify({ exists, eq, neq })}`);
|
|
151
91
|
if (typeof eq < "u")
|
|
152
|
-
return
|
|
92
|
+
return isEqual(value, eq);
|
|
153
93
|
if (typeof neq < "u")
|
|
154
|
-
return !
|
|
94
|
+
return !isEqual(value, neq);
|
|
155
95
|
if (typeof exists < "u") {
|
|
156
96
|
let valueExists = typeof value < "u";
|
|
157
97
|
return exists ? valueExists : !valueExists;
|
|
@@ -160,10 +100,10 @@ var import_tiny_isequal = __toESM(require_tiny_isequal(), 1), count = (vals) =>
|
|
|
160
100
|
}, includeConditionalArg = (argType, args, globals) => {
|
|
161
101
|
if (!argType.if)
|
|
162
102
|
return !0;
|
|
163
|
-
let { arg, global:
|
|
164
|
-
if (count([arg,
|
|
165
|
-
throw new Error(`Invalid conditional value ${JSON.stringify({ arg, global:
|
|
166
|
-
let value = arg ? args[arg] : globals[
|
|
103
|
+
let { arg, global: global2 } = argType.if;
|
|
104
|
+
if (count([arg, global2]) !== 1)
|
|
105
|
+
throw new Error(`Invalid conditional value ${JSON.stringify({ arg, global: global2 })}`);
|
|
106
|
+
let value = arg ? args[arg] : globals[global2];
|
|
167
107
|
return testValue(argType.if, value);
|
|
168
108
|
};
|
|
169
109
|
|
|
@@ -931,7 +871,6 @@ import { definePreviewAddon as definePreviewAddon6 } from "@aussieljk/forkbook/i
|
|
|
931
871
|
import { useEffect as useEffect2 } from "@aussieljk/forkbook/preview-api";
|
|
932
872
|
|
|
933
873
|
// src/measure/box-model/canvas.ts
|
|
934
|
-
import { global } from "@storybook/global";
|
|
935
874
|
function getDocumentWidthAndHeight() {
|
|
936
875
|
let container = global.document.documentElement, height = Math.max(container.scrollHeight, container.offsetHeight);
|
|
937
876
|
return { width: Math.max(container.scrollWidth, container.offsetWidth), height };
|
|
@@ -968,9 +907,6 @@ function destroy() {
|
|
|
968
907
|
state2.canvas && (clear(), state2.canvas.parentNode?.removeChild(state2.canvas), state2 = {});
|
|
969
908
|
}
|
|
970
909
|
|
|
971
|
-
// src/measure/box-model/visualizer.ts
|
|
972
|
-
import { global as global2 } from "@storybook/global";
|
|
973
|
-
|
|
974
910
|
// src/measure/box-model/labels.ts
|
|
975
911
|
var colors = {
|
|
976
912
|
margin: "#f6b26b",
|
|
@@ -1058,10 +994,10 @@ function filterZeroValues(labels) {
|
|
|
1058
994
|
}
|
|
1059
995
|
function floatingAlignment(extremities) {
|
|
1060
996
|
let windowExtremities = {
|
|
1061
|
-
top:
|
|
1062
|
-
bottom:
|
|
1063
|
-
left:
|
|
1064
|
-
right:
|
|
997
|
+
top: global.window.scrollY,
|
|
998
|
+
bottom: global.window.scrollY + global.window.innerHeight,
|
|
999
|
+
left: global.window.scrollX,
|
|
1000
|
+
right: global.window.scrollX + global.window.innerWidth
|
|
1065
1001
|
}, distances = {
|
|
1066
1002
|
top: Math.abs(windowExtremities.top - extremities.top),
|
|
1067
1003
|
bottom: Math.abs(windowExtremities.bottom - extremities.bottom),
|
|
@@ -1074,7 +1010,7 @@ function floatingAlignment(extremities) {
|
|
|
1074
1010
|
};
|
|
1075
1011
|
}
|
|
1076
1012
|
function measureElement(element) {
|
|
1077
|
-
let style =
|
|
1013
|
+
let style = global.getComputedStyle(element), { top, left, right, bottom, width, height } = element.getBoundingClientRect(), {
|
|
1078
1014
|
marginTop,
|
|
1079
1015
|
marginBottom,
|
|
1080
1016
|
marginLeft,
|
|
@@ -1088,7 +1024,7 @@ function measureElement(element) {
|
|
|
1088
1024
|
borderLeftWidth,
|
|
1089
1025
|
borderRightWidth
|
|
1090
1026
|
} = style;
|
|
1091
|
-
top = top +
|
|
1027
|
+
top = top + global.window.scrollY, left = left + global.window.scrollX, bottom = bottom + global.window.scrollY, right = right + global.window.scrollX;
|
|
1092
1028
|
let margin = {
|
|
1093
1029
|
top: pxToNumber(marginTop),
|
|
1094
1030
|
bottom: pxToNumber(marginBottom),
|
|
@@ -1248,9 +1184,8 @@ function drawSelectedElement(element) {
|
|
|
1248
1184
|
}
|
|
1249
1185
|
|
|
1250
1186
|
// src/measure/util.ts
|
|
1251
|
-
import { global as global3 } from "@storybook/global";
|
|
1252
1187
|
var deepElementFromPoint = (x, y) => {
|
|
1253
|
-
let element =
|
|
1188
|
+
let element = global.document.elementFromPoint(x, y), crawlShadows = (node) => {
|
|
1254
1189
|
if (node && node.shadowRoot) {
|
|
1255
1190
|
let nestedElement = node.shadowRoot.elementFromPoint(x, y);
|
|
1256
1191
|
return node.isEqualNode(nestedElement) ? node : nestedElement.shadowRoot ? crawlShadows(nestedElement) : nestedElement;
|
|
@@ -1309,19 +1244,18 @@ import { definePreviewAddon as definePreviewAddon7 } from "@aussieljk/forkbook/i
|
|
|
1309
1244
|
import { useEffect as useEffect3, useMemo } from "@aussieljk/forkbook/preview-api";
|
|
1310
1245
|
|
|
1311
1246
|
// src/outline/helpers.ts
|
|
1312
|
-
import { global as global4 } from "@storybook/global";
|
|
1313
1247
|
var clearStyles2 = (selector) => {
|
|
1314
1248
|
(Array.isArray(selector) ? selector : [selector]).forEach(clearStyle2);
|
|
1315
1249
|
}, clearStyle2 = (input) => {
|
|
1316
|
-
let selector = typeof input == "string" ? input : input.join(""), element =
|
|
1250
|
+
let selector = typeof input == "string" ? input : input.join(""), element = global.document.getElementById(selector);
|
|
1317
1251
|
element && element.parentElement && element.parentElement.removeChild(element);
|
|
1318
1252
|
}, addOutlineStyles = (selector, css) => {
|
|
1319
|
-
let existingStyle =
|
|
1253
|
+
let existingStyle = global.document.getElementById(selector);
|
|
1320
1254
|
if (existingStyle)
|
|
1321
1255
|
existingStyle.innerHTML !== css && (existingStyle.innerHTML = css);
|
|
1322
1256
|
else {
|
|
1323
|
-
let style =
|
|
1324
|
-
style.setAttribute("id", selector), style.innerHTML = css,
|
|
1257
|
+
let style = global.document.createElement("style");
|
|
1258
|
+
style.setAttribute("id", selector), style.innerHTML = css, global.document.head.appendChild(style);
|
|
1325
1259
|
}
|
|
1326
1260
|
};
|
|
1327
1261
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ArgTypes } from "@aussieljk/forkbook/internal/csf";
|
|
2
2
|
import { ComponentAnnotations, CsfEnricher, IndexInput, IndexInputStats, IndexedCSFFile, StoriesEntry, StoryAnnotations, Tag as Tag$1 } from "@aussieljk/forkbook/internal/types";
|
|
3
|
-
import { GeneratorOptions, NodePath, RecastOptions, babelParse, generate, types } from "@aussieljk/forkbook/internal/babel";
|
|
3
|
+
import { BabelFile, GeneratorOptions, NodePath, RecastOptions, babelParse, generate, types } from "@aussieljk/forkbook/internal/babel";
|
|
4
4
|
|
|
5
5
|
//#region .dts-emit/code/core/src/csf-tools/PrintResultType.d.ts
|
|
6
6
|
interface PrintResultType {
|
|
@@ -181,16 +181,6 @@ interface CsfObjectOptions {
|
|
|
181
181
|
}
|
|
182
182
|
//#endregion
|
|
183
183
|
//#region .dts-emit/code/core/src/csf-tools/CsfFile.d.ts
|
|
184
|
-
interface BabelFile {
|
|
185
|
-
ast: types.File;
|
|
186
|
-
opts: any;
|
|
187
|
-
hub: any;
|
|
188
|
-
metadata: object;
|
|
189
|
-
path: NodePath<types.Program>;
|
|
190
|
-
scope: any;
|
|
191
|
-
inputMap: object | null;
|
|
192
|
-
code: string;
|
|
193
|
-
}
|
|
194
184
|
declare const isValidPreviewPath: (filepath: string) => boolean;
|
|
195
185
|
declare const isModuleMock: (importPath: string) => boolean;
|
|
196
186
|
interface CsfOptions {
|
|
@@ -306,6 +296,18 @@ declare class CsfFile {
|
|
|
306
296
|
*/
|
|
307
297
|
objects(options?: CsfObjectOptions): readonly CsfObject[];
|
|
308
298
|
_parseTitle(value: types.Node): string;
|
|
299
|
+
/**
|
|
300
|
+
* Gets the properties of the meta object. Spreads of object literals, or of identifiers that
|
|
301
|
+
* refer to object literals, are expanded. Other spreads are returned in `unresolved`, with the
|
|
302
|
+
* number of properties that come before them.
|
|
303
|
+
*/
|
|
304
|
+
_flattenMetaProperties(declaration: types.ObjectExpression, program: types.Program, seen?: Set<string>): {
|
|
305
|
+
properties: types.ObjectProperty[];
|
|
306
|
+
unresolved: {
|
|
307
|
+
index: number;
|
|
308
|
+
node: types.Node;
|
|
309
|
+
}[];
|
|
310
|
+
};
|
|
309
311
|
_parseMeta(declaration: types.ObjectExpression, program: types.Program): void;
|
|
310
312
|
getStoryExport(key: string): types.Node;
|
|
311
313
|
parse(): CsfFile & IndexedCSFFile;
|
|
@@ -314,7 +316,7 @@ declare class CsfFile {
|
|
|
314
316
|
getStoryTests(story: string | types.Node): StoryTest[];
|
|
315
317
|
get indexInputs(): IndexInput[];
|
|
316
318
|
}
|
|
317
|
-
/**
|
|
319
|
+
/** A parsed file with its Program path, so paths have scopes and `buildCodeFrameError`. */
|
|
318
320
|
declare const babelParseFile: ({
|
|
319
321
|
code,
|
|
320
322
|
filename,
|
package/dist/csf-tools/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_j88npgqhy9 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_j88npgqhy9 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_j88npgqhy9 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_j88npgqhy9.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_j88npgqhy9.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_j88npgqhy9.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
printConfig,
|
|
19
19
|
readConfig,
|
|
20
20
|
writeConfig
|
|
21
|
-
} from "../_node-chunks/chunk-
|
|
21
|
+
} from "../_node-chunks/chunk-7VHCAGBJ.js";
|
|
22
22
|
import {
|
|
23
23
|
BadMetaError,
|
|
24
24
|
CsfFile,
|
|
@@ -77,11 +77,11 @@ import {
|
|
|
77
77
|
unwrapExpression,
|
|
78
78
|
withoutTypeCalls,
|
|
79
79
|
writeCsf
|
|
80
|
-
} from "../_node-chunks/chunk-
|
|
81
|
-
import "../_node-chunks/chunk-
|
|
82
|
-
import "../_node-chunks/chunk-
|
|
83
|
-
import "../_node-chunks/chunk-
|
|
84
|
-
import "../_node-chunks/chunk-
|
|
80
|
+
} from "../_node-chunks/chunk-4HGC3G6B.js";
|
|
81
|
+
import "../_node-chunks/chunk-JQICISDD.js";
|
|
82
|
+
import "../_node-chunks/chunk-M7ZVSBNU.js";
|
|
83
|
+
import "../_node-chunks/chunk-3ZCGT6VF.js";
|
|
84
|
+
import "../_node-chunks/chunk-NLPC2DDQ.js";
|
|
85
85
|
|
|
86
86
|
// src/csf-tools/index.ts
|
|
87
87
|
import { babelParse as babelParse2 } from "@aussieljk/forkbook/internal/babel";
|
|
@@ -313,8 +313,8 @@ Please make sure you have a default export with the meta object. If you are usin
|
|
|
313
313
|
// src/csf-tools/vitest-plugin/component-transformer.ts
|
|
314
314
|
import path from "node:path";
|
|
315
315
|
import {
|
|
316
|
-
BabelFileClass,
|
|
317
316
|
babelParse,
|
|
317
|
+
createBabelFile,
|
|
318
318
|
generate,
|
|
319
319
|
types as t2,
|
|
320
320
|
traverse
|
|
@@ -579,7 +579,7 @@ var VITEST_IMPORT_SOURCE = "vitest", TEST_UTILS_IMPORT_SOURCE = "@aussieljk/fork
|
|
|
579
579
|
fileName,
|
|
580
580
|
getComponentArgTypes
|
|
581
581
|
}) => {
|
|
582
|
-
let ast = babelParse(code), file =
|
|
582
|
+
let ast = babelParse(code), file = createBabelFile({ code, ast, filename: fileName }), components = collectComponentExports(ast.program, fileName);
|
|
583
583
|
if (!components.length)
|
|
584
584
|
return { code, map: null };
|
|
585
585
|
let vitestTestId = file.path.scope.generateUidIdentifier("test"), vitestExpectId = file.path.scope.generateUidIdentifier("expect"), testStoryId = file.path.scope.generateUidIdentifier("testStory"), convertToFilePathId = t2.identifier("convertToFilePath"), fnId = file.path.scope.generateUidIdentifier("fn");
|
|
@@ -5,6 +5,9 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
inspect
|
|
7
7
|
} from "../_browser-chunks/chunk-BCP2FFXF.js";
|
|
8
|
+
import {
|
|
9
|
+
global
|
|
10
|
+
} from "../_browser-chunks/chunk-6AKCRYVX.js";
|
|
8
11
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
9
12
|
|
|
10
13
|
// src/instrumenter/instrumenter.ts
|
|
@@ -14,7 +17,6 @@ import {
|
|
|
14
17
|
SET_CURRENT_STORY,
|
|
15
18
|
STORY_RENDER_PHASE_CHANGED
|
|
16
19
|
} from "@aussieljk/forkbook/internal/core-events";
|
|
17
|
-
import { global } from "@storybook/global";
|
|
18
20
|
|
|
19
21
|
// ../../node_modules/@vitest/pretty-format/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
|
|
20
22
|
var f = {
|
package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./globals-runtime-BdGkqNEt.js";
|
|
2
|
-
import {
|
|
2
|
+
import { I as require_react_dom, L as require_react } from "./globals-runtime-Bpc_ftuT.js";
|
|
3
3
|
//#region ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
|
|
4
4
|
function hasWindow() {
|
|
5
5
|
return typeof window !== "undefined";
|