@aussieljk/forkbook 0.0.1-12 → 0.0.1-13
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-TA43572R.js → Color-2EUQ6NXV.js} +1 -1
- package/dist/_browser-chunks/{WithTooltip-66AWY4VQ.js → WithTooltip-QCFTNB6P.js} +1 -1
- package/dist/_browser-chunks/{chunk-FRAOQJDI.js → chunk-3QPZOXB7.js} +1 -5
- package/dist/_browser-chunks/{chunk-GRO2ZYEJ.js → chunk-4BOJAE7P.js} +12 -8
- package/dist/_browser-chunks/{chunk-ARZTIHZK.js → chunk-6SL45YM3.js} +3 -3
- package/dist/_browser-chunks/{chunk-D2Z5KXPS.js → chunk-BLCZ3C5M.js} +29 -21
- package/dist/_browser-chunks/{chunk-XV3AEPJW.js → chunk-DHTLVXAL.js} +37 -44
- package/dist/_browser-chunks/{chunk-5MRMYSUN.js → chunk-DISGPOF4.js} +54 -51
- package/dist/_browser-chunks/{chunk-2UKY4NXZ.js → chunk-EBSOKHFG.js} +7 -1
- package/dist/_browser-chunks/{chunk-GGALYEQS.js → chunk-ECMVTOVD.js} +1 -1
- package/dist/_browser-chunks/{chunk-DT7BB545.js → chunk-ENHFQXYS.js} +2 -2
- package/dist/_browser-chunks/{chunk-IGD46SQI.js → chunk-EW2M3URL.js} +1 -1
- package/dist/_browser-chunks/{chunk-2WMECYEY.js → chunk-FCULT3AE.js} +3 -3
- package/dist/_browser-chunks/{chunk-3O4QUF3D.js → chunk-HZFHNYRC.js} +1 -1
- package/dist/_browser-chunks/{chunk-5H4KFI44.js → chunk-KQJ4T6JL.js} +30 -24
- package/dist/_browser-chunks/{chunk-5XGERZHU.js → chunk-NK5SGJNG.js} +7 -5
- package/dist/_browser-chunks/{chunk-2YWS25WY.js → chunk-PQRPDA4U.js} +2 -2
- package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
- package/dist/_browser-chunks/{chunk-AQVUHXWY.js → chunk-QFO2B4X2.js} +26 -25
- package/dist/_browser-chunks/{chunk-HGIW4I4J.js → chunk-S7N7Z5TY.js} +38 -27
- package/dist/_browser-chunks/{chunk-QSYOMLRG.js → chunk-UH3XTEOQ.js} +71 -56
- package/dist/_browser-chunks/{chunk-UDR26TXA.js → chunk-YJO5BK52.js} +7 -3
- package/dist/_browser-chunks/{chunk-3HM3VWJS.js → chunk-ZF37BMDS.js} +6 -2
- package/dist/_browser-chunks/{chunk-F22A5EGD.js → chunk-ZF5SPY56.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-AU2RZM4Y.js → attached-runtime-7IRDQUTZ.js} +28 -28
- package/dist/_node-chunks/{builder-manager-UPXA2KKT.js → builder-manager-YTALSWKQ.js} +15 -15
- package/dist/_node-chunks/{chunk-FKI7K3GE.js → chunk-26ERGIQH.js} +6 -6
- package/dist/_node-chunks/{chunk-JHX35YKT.js → chunk-33T4HNF2.js} +6 -6
- package/dist/_node-chunks/{chunk-QSKVNZCF.js → chunk-3F3673RQ.js} +7 -7
- package/dist/_node-chunks/{chunk-SUHBBHKR.js → chunk-3FLRYZLJ.js} +6 -6
- package/dist/_node-chunks/{chunk-5MYXWAKD.js → chunk-3L2QRDKH.js} +33 -31
- package/dist/_node-chunks/{chunk-U5HVQTHI.js → chunk-3NH7IHUS.js} +6 -6
- package/dist/_node-chunks/{chunk-5KMW5XXM.js → chunk-3ZAENV5A.js} +6 -6
- package/dist/_node-chunks/{chunk-KZPWZM2E.js → chunk-4B52HLKK.js} +39 -44
- package/dist/_node-chunks/{chunk-Y472MP5U.js → chunk-4CZJ4SFH.js} +8 -8
- package/dist/_node-chunks/{chunk-KQTFSKC6.js → chunk-4IIWFG7O.js} +13 -11
- package/dist/_node-chunks/{chunk-JB4457FJ.js → chunk-4YWZLOAF.js} +6 -6
- package/dist/_node-chunks/{chunk-G6GOV7H7.js → chunk-5A5XOSRM.js} +6 -6
- package/dist/_node-chunks/chunk-5T6Q7HT3.js +11 -0
- package/dist/_node-chunks/{chunk-5N7YRHXJ.js → chunk-6DRDJF2Q.js} +6 -6
- package/dist/_node-chunks/{chunk-MNQVVJZN.js → chunk-6JSZY5TJ.js} +6 -6
- package/dist/_node-chunks/{chunk-FFUIQJRI.js → chunk-7SPDKMDQ.js} +14 -14
- package/dist/_node-chunks/{chunk-76M6JG5T.js → chunk-7YLKDHLZ.js} +7 -7
- package/dist/_node-chunks/{chunk-NPSIAK46.js → chunk-7YQIVUEK.js} +6 -6
- package/dist/_node-chunks/{chunk-HMQUTLMS.js → chunk-ADCQYK3Z.js} +6 -6
- package/dist/_node-chunks/{chunk-LTJ4AYDM.js → chunk-ALHQVE5R.js} +6 -6
- package/dist/_node-chunks/{chunk-H7UVQBCQ.js → chunk-B4XAZ2OC.js} +6 -6
- package/dist/_node-chunks/{chunk-2MGPZNKV.js → chunk-BFQJF3ID.js} +11 -8
- package/dist/_node-chunks/{chunk-RT2LVWTC.js → chunk-BSXI35KM.js} +7 -7
- package/dist/_node-chunks/{chunk-FR67COFW.js → chunk-BZQF5KUE.js} +7 -7
- package/dist/_node-chunks/{chunk-ZUK5ZLPP.js → chunk-CEIESR4U.js} +6 -6
- package/dist/_node-chunks/{chunk-NXRZL2PR.js → chunk-CESXIP3N.js} +6 -6
- package/dist/_node-chunks/{chunk-WUVQ465T.js → chunk-DAEUTT3I.js} +6 -6
- package/dist/_node-chunks/{chunk-BTDLJXAT.js → chunk-DIC4T2UO.js} +6 -6
- package/dist/_node-chunks/{chunk-6772LYNF.js → chunk-DPOWAA4P.js} +37 -31
- package/dist/_node-chunks/{chunk-IKUSSZJ3.js → chunk-DTNEHO4J.js} +10 -10
- package/dist/_node-chunks/{chunk-IOXDHKFF.js → chunk-DY7F7B6V.js} +7 -7
- package/dist/_node-chunks/{chunk-HW7RCOV4.js → chunk-E56UKDJR.js} +8 -8
- package/dist/_node-chunks/{chunk-3MJZ5GI2.js → chunk-EFX2VA4Q.js} +6 -6
- package/dist/_node-chunks/{chunk-R73PEGQU.js → chunk-EM6AYELK.js} +10 -12
- package/dist/_node-chunks/{chunk-MNNESU33.js → chunk-F2AFT3P7.js} +8 -8
- package/dist/_node-chunks/{chunk-2W525A4I.js → chunk-GC7NA2Y7.js} +7 -7
- package/dist/_node-chunks/{chunk-2X3WAH7V.js → chunk-GIKCT5KG.js} +7 -7
- package/dist/_node-chunks/{chunk-IFHNMS7I.js → chunk-GLNHSUKT.js} +20 -20
- package/dist/_node-chunks/{chunk-DNX4BLMS.js → chunk-GQZZQB4K.js} +7 -7
- package/dist/_node-chunks/{chunk-PHB6QBHM.js → chunk-GRN6WQC3.js} +10 -10
- package/dist/_node-chunks/{chunk-K2K6KTBC.js → chunk-HCMHVV7N.js} +8 -8
- package/dist/_node-chunks/{chunk-FUDG3QKB.js → chunk-HJVZQS65.js} +7 -7
- package/dist/_node-chunks/{chunk-UKLCYEZU.js → chunk-I26RGEVQ.js} +7 -7
- package/dist/_node-chunks/{chunk-JKPKEYSH.js → chunk-I36FPWMO.js} +6 -6
- package/dist/_node-chunks/{chunk-C2HVGXLD.js → chunk-IDPQ3CVN.js} +264 -312
- package/dist/_node-chunks/{chunk-2Q3YWQSK.js → chunk-JUVUVVHI.js} +6 -6
- package/dist/_node-chunks/{chunk-NUSHY22I.js → chunk-K6TEIAKH.js} +7 -7
- package/dist/_node-chunks/{chunk-W5ZAUN5R.js → chunk-KEXQ3BON.js} +7 -7
- package/dist/_node-chunks/{chunk-HPXM4SGT.js → chunk-KUZSE7ZD.js} +9 -9
- package/dist/_node-chunks/chunk-LJ5JRR5Q.js +18 -0
- package/dist/_node-chunks/{chunk-7F6TIY4T.js → chunk-LMGI47HP.js} +8 -8
- package/dist/_node-chunks/{chunk-EFZAYIPN.js → chunk-LPIPPSMS.js} +6 -6
- package/dist/_node-chunks/{chunk-UFZUSE3Y.js → chunk-LR4W5G37.js} +6 -6
- package/dist/_node-chunks/{chunk-TXZTC6LA.js → chunk-M4MRBEJI.js} +14 -10
- package/dist/_node-chunks/{chunk-XCNYQV2M.js → chunk-M7BVABR2.js} +9 -9
- package/dist/_node-chunks/{chunk-SPCPGRYF.js → chunk-MK2RPLWT.js} +7 -7
- package/dist/_node-chunks/{chunk-ABCEMTIP.js → chunk-MKSEM5C2.js} +6 -6
- package/dist/_node-chunks/{chunk-QBWGJYHY.js → chunk-MWQIBOUB.js} +6 -6
- package/dist/_node-chunks/{chunk-ZCKTYMZT.js → chunk-NAXIA2JI.js} +8 -8
- package/dist/_node-chunks/{chunk-OSNOV4EH.js → chunk-NDVIMCIX.js} +7 -7
- package/dist/_node-chunks/{chunk-QX6RXAEU.js → chunk-NIOVXWQZ.js} +6 -6
- package/dist/_node-chunks/{chunk-FAR3NIPG.js → chunk-NRP4FGRT.js} +15 -9
- package/dist/_node-chunks/{chunk-22A63J7O.js → chunk-NSNBFXVB.js} +7 -7
- package/dist/_node-chunks/{chunk-RHH7VDIY.js → chunk-NTUTJAD4.js} +8 -8
- package/dist/_node-chunks/{chunk-34DNGOCZ.js → chunk-O46DZ2KC.js} +8 -8
- package/dist/_node-chunks/{chunk-KMC5WWQS.js → chunk-OH5M2YER.js} +7 -7
- package/dist/_node-chunks/{chunk-DXR3YGRT.js → chunk-OSIENBU6.js} +6 -6
- package/dist/_node-chunks/{chunk-BDATIKVV.js → chunk-OVJZBW54.js} +7 -7
- package/dist/_node-chunks/{chunk-POA32M7F.js → chunk-PGIDRLZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-VJEN2JM3.js → chunk-PJCSZR4T.js} +8 -8
- package/dist/_node-chunks/{chunk-AHNN3TQH.js → chunk-PQXP5FZ2.js} +8 -8
- package/dist/_node-chunks/{chunk-22TWJGGQ.js → chunk-PU33WSBW.js} +18 -21
- package/dist/_node-chunks/{chunk-HW4T3OXA.js → chunk-PUBZLLNL.js} +7 -7
- package/dist/_node-chunks/{chunk-UGQFYYBC.js → chunk-QWZZX2HN.js} +6 -6
- package/dist/_node-chunks/{chunk-JMFTALJW.js → chunk-RMUBUNBY.js} +6 -6
- package/dist/_node-chunks/{chunk-BMM74ZQW.js → chunk-S33FEPQ3.js} +6 -6
- package/dist/_node-chunks/{chunk-O2CCUB5T.js → chunk-SHP6447T.js} +7 -7
- package/dist/_node-chunks/{chunk-NO7MF6VR.js → chunk-ST3KB36E.js} +6 -6
- package/dist/_node-chunks/{chunk-JXS4P2RM.js → chunk-SXX75O2D.js} +7 -7
- package/dist/_node-chunks/{chunk-ORSH2FXG.js → chunk-TQ5YAQ4Y.js} +6 -6
- package/dist/_node-chunks/{chunk-RMJNWFPV.js → chunk-TSJ3JCNN.js} +16 -10
- package/dist/_node-chunks/{chunk-XOAWAXUH.js → chunk-UYEX6LW6.js} +7 -7
- package/dist/_node-chunks/{chunk-3X67K6EI.js → chunk-VJLLEKWR.js} +11 -11
- package/dist/_node-chunks/{chunk-7SBWGNA7.js → chunk-WWJKLYU5.js} +8 -8
- package/dist/_node-chunks/{chunk-WNEWL2PL.js → chunk-XC7K4QEX.js} +6 -6
- package/dist/_node-chunks/{chunk-Q64ESHBN.js → chunk-Y64FM6U7.js} +8 -8
- package/dist/_node-chunks/{chunk-2GJBHF56.js → chunk-YDM7NH4T.js} +6 -6
- package/dist/_node-chunks/{chunk-BOWRRVJM.js → chunk-ZHVOUP6D.js} +6 -6
- package/dist/_node-chunks/dist-CFCU4PZG.js +27 -0
- package/dist/_node-chunks/dist-PFMT5YJK.js +16 -0
- package/dist/_node-chunks/{local-runtime-Z667YPXR.js → local-runtime-BKID5MBG.js} +19 -19
- package/dist/_node-chunks/{mdx-plugin-BPRPTZNP.js → mdx-plugin-7BOUDCZB.js} +13 -13
- package/dist/_node-chunks/{monorepo-GO54BY34.js → monorepo-FRHSAJB7.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PEHFNJQ5.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-7BHSAJP4.js} +11 -11
- package/dist/_node-chunks/optimized-tests-F5LCOTXH.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-64HQIVWK.js → pattern-copy-play-6TGV6WS4.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-4RININ5C.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-2BSEZ7AC.js → rehype-external-links-EE2HT4QP.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-6253EA36.js → rehype-slug-ZKRW2V6Z.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-4PAAPG3J.js → relaxed-limits-6Q7VRQC5.js} +11 -11
- package/dist/_node-chunks/{run-XJT3YVMZ.js → run-6Y3ZTASZ.js} +22 -20
- package/dist/_node-chunks/{run-3SQW3FRF.js → run-EBHIAT35.js} +17 -17
- package/dist/_node-chunks/{setup-JIYCTADZ.js → setup-6XIF77JT.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-W74SGWHT.js → vitest.config.4.template-GMQNQ4UW.js} +7 -7
- package/dist/actions/decorator.js +5 -2
- package/dist/actions/index.d.ts +3 -3
- package/dist/actions/index.js +1 -1
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +5 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.d.ts +8 -2
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.d.ts +98 -83
- package/dist/addon-docs/blocks.js +10 -10
- package/dist/addon-docs/index.d.ts +2 -2
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +12 -12
- package/dist/addon-docs/preview.d.ts +3 -1
- package/dist/addon-links/index.d.ts +2 -1
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +10 -10
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.js +1 -1
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.js +1 -1
- package/dist/addon-themes/index.d.ts +6 -5
- 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 +22 -22
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +20 -19
- package/dist/addon-vitest/vitest-plugin/global-setup.js +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/babel/index.d.ts +209 -212
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +60 -57
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.d.ts +1 -1
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +1 -1
- package/dist/channels/index.js +2 -2
- package/dist/{chunk-BmCH-L7_.d.ts → chunk-BCG2ui5q.d.ts} +236 -249
- package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
- package/dist/{chunk-evfhuBNU.d.ts → chunk-BNRZY6Jq.d.ts} +2 -2
- package/dist/{chunk-Bn1RoGAP.d.ts → chunk-BV_hETtB.d.ts} +2 -2
- package/dist/chunk-BcYKnZln.d.ts +10 -0
- package/dist/{chunk-BCoJQE-f.d.ts → chunk-BtKww7r1.d.ts} +6 -4
- package/dist/{chunk-Bpi2tz-6.d.ts → chunk-Bubi-WAs.d.ts} +20 -17
- package/dist/{chunk-pcFXCimE.d.ts → chunk-CmV7WZzR.d.ts} +124 -2
- package/dist/{chunk-BGkgZp-H.d.ts → chunk-D3uSIa6H.d.ts} +9 -1
- package/dist/{chunk-DROZ9oel.d.ts → chunk-DNCU78oW.d.ts} +110 -9
- package/dist/{chunk-IMedIHPn.d.ts → chunk-LWwxlbee.d.ts} +2 -2
- package/dist/{chunk-CfEntHiI.d.ts → chunk-u_gGuTrz.d.ts} +5 -5
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +21 -21
- package/dist/cli/skills/content/index.d.ts +1 -1
- 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 +3 -3
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.d.ts +20 -21
- package/dist/common/index.d.ts +12 -12
- package/dist/common/index.js +34 -34
- package/dist/components/index.d.ts +40 -29
- package/dist/components/index.js +66 -67
- package/dist/core-events/index.d.ts +2 -2
- package/dist/core-server/index.d.ts +12 -7
- package/dist/core-server/index.js +87 -79
- package/dist/core-server/presets/common-manager.js +36 -29
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +50 -47
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +2 -2
- package/dist/csf/index.js +34 -37
- package/dist/csf-tools/index.d.ts +11 -7
- package/dist/csf-tools/index.js +12 -12
- package/dist/docs-tools/index.d.ts +332 -16
- package/dist/docs-tools/index.js +3 -3
- package/dist/instrumenter/index.d.ts +4 -4
- package/dist/instrumenter/index.js +24 -14
- package/dist/manager/_manager-chunks/{globals-runtime-BWciJpaD.js → globals-runtime-BgWmCsA7.js} +91 -89
- package/dist/manager/_manager-chunks/{globals-runtime-BFVFUcji.js → globals-runtime-C59T0h-j.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DweLlyBa.js → globals-runtime-CCZrdft6.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-CdLHkSK1.js → globals-runtime-Cccwtspx.js} +30 -21
- package/dist/manager/_manager-chunks/{globals-runtime-DhygDQ09.js → globals-runtime-Ddp2jFET.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime--RDllwDw.js → globals-runtime-UFDJQlo-.js} +49 -41
- package/dist/manager/_manager-chunks/{runtime-BBaBlpAS.js → runtime-4wMiTjjZ.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Dj8tizGo.js → runtime-AvqHE9rM.js} +31 -28
- package/dist/manager/_manager-chunks/{runtime-CE_oqcpl.js → runtime-D8QxTQiI.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-CRqm7NXD.js → runtime-DC3oEVlM.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-1BcYUf7-.js → runtime-DCOIOn4T.js} +24 -16
- package/dist/manager/_manager-chunks/{runtime-BFgSyEE6.js → runtime-D_FDSHFG.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-D3Gk2bTl.js → runtime-lPbyY_f5.js} +167 -165
- package/dist/manager/_manager-chunks/{runtime-B2VQIT0n.js → runtime-td6oYfU6.js} +1 -1
- 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 +55 -56
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +5 -3
- package/dist/mocking-utils/index.js +16 -17
- package/dist/nextjs-vite/export-mocks/headers/index.js +3 -1
- package/dist/nextjs-vite/export-mocks/link/index.d.ts +4 -1
- package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +9 -1
- package/dist/nextjs-vite/export-mocks/router/index.js +13 -7
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +9 -5
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +10 -10
- package/dist/nextjs-vite/preview.d.ts +2 -1
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +12 -22
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +10 -6
- package/dist/node-logger/index.d.ts +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-CBKlMZg2.js → runtime-BYRCSYBN.js} +2 -2
- package/dist/preview/_chunks/{runtime-DZ7fvh0y.js → runtime-Bvh_rfnQ.js} +2 -37
- package/dist/preview/_chunks/{runtime-C_nyb8QT.js → runtime-CdZ1yk7m.js} +2 -2
- package/dist/preview/_chunks/{runtime-Bjm1gBLN.js → runtime-CsO4apr9.js} +37 -28
- package/dist/preview/_chunks/{runtime-BSJ0Ov_b.js → runtime-D2MPrqbU.js} +2 -2
- package/dist/preview/_chunks/{runtime-CElbz0uN.js → runtime-DS0s7U3c.js} +1 -1
- package/dist/preview/_chunks/{runtime-CzTPeFXg.js → runtime-U1Ycy25F.js} +32 -24
- package/dist/preview/_chunks/{runtime-4BNaFIif.js → runtime-tyJLgv6h.js} +50 -48
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +3 -3
- package/dist/preview-api/index.js +7 -7
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/entry-preview-argtypes.js +1 -1
- package/dist/react/entry-preview-docs.js +1 -1
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +4 -6
- package/dist/react/index.js +5 -5
- package/dist/react/preset.js +13 -13
- package/dist/react/preview.js +4 -4
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +11 -7
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +13 -13
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native-ui/index.d.ts +4 -4
- package/dist/react-native-ui-common/index.d.ts +24 -4
- package/dist/react-native-ui-common/index.js +20 -25
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.d.ts +2 -2
- package/dist/router/index.js +4 -2
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +3 -3
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +5 -5
- package/dist/telemetry/index.js +11 -11
- package/dist/test/index.d.ts +2 -2
- package/dist/test/index.js +14 -8
- package/dist/theming/create.d.ts +1 -1
- package/dist/theming/index.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +1 -1
- package/package.json +2 -2
- package/dist/_node-chunks/chunk-CWIJ2D5F.js +0 -18
- package/dist/_node-chunks/chunk-J3CNNXKQ.js +0 -11
- package/dist/_node-chunks/dist-2DPC664Y.js +0 -27
- package/dist/_node-chunks/dist-XBFUDMFQ.js +0 -16
- package/dist/_node-chunks/optimized-tests-W7U4ZRWX.js +0 -22
- package/dist/_node-chunks/postinstallAddon-XM2BHKDN.js +0 -20
- package/dist/chunk-BGhyFTJO.d.ts +0 -115
- package/dist/chunk-DaVb55-_.d.ts +0 -124
package/dist/manager/_manager-chunks/{globals-runtime--RDllwDw.js → globals-runtime-UFDJQlo-.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin, r as __exportAll } from "./globals-runtime-BdGkqNEt.js";
|
|
2
2
|
import { B as stringify, H as init_esm, L as init_dist, V as dedent, c as require_semver, s as require_store2, z as parse } from "./globals-runtime-BnQ7i5wq.js";
|
|
3
|
-
import { $ as countStatusesByValue, A as setStoryPathEntries, B as init_test, C as init_use_universal_store_manager, D as buildManagerHref, E as router_exports, F as init_routes, G as init_tags$1, H as BUILT_IN_FILTERS, I as isReviewManagerRoute, L as create, M as buildArgsParam, O as fromUrlPath, P as queryFromLocation, Q as UNIVERSAL_STATUS_STORE_OPTIONS, R as create_exports, S as init_mock, T as init_router, U as Tag, V as test_exports, W as USER_TAG_FILTER, _ as useServiceCommand, _t as UniversalStore, b as init_test_provider_store, bt as init_storybook_error, d as getService, et as createStatusStore, f as init_manager, gt as init_global, h as useServiceQuery, ht as global, it as formatIssues, j as toUrlPath, n as theming_exports, nt as statusValueShortName, p as registerService, rt as toStatusValue, t as init_theming, tt as init_status_store, v as UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS, vt as init_universal_store, w as useUniversalStore, x as MockUniversalStore, y as createTestProviderStore, yt as StorybookError, z as init_create } from "./globals-runtime-
|
|
4
|
-
import { $ as once, A as SET_WHATS_NEW_CACHE, B as STORY_PREPARED, C as SELECT_STORY, D as SET_GLOBALS, E as SET_FILTER, F as STORIES_EXPAND_ALL, G as UPDATE_GLOBALS, H as STORY_SPECIFIED, I as STORY_ARGS_UPDATED, J as core_events_exports, K as UPDATE_QUERY_PARAMS, L as STORY_CHANGED, M as SHARED_STATE_SET, N as SIDEBAR_FILTER_CHANGED, O as SET_INDEX, P as STORIES_COLLAPSE_ALL, Q as logger, R as STORY_INDEX_INVALIDATED, S as RESULT_WHATS_NEW_DATA, T as SET_CURRENT_STORY, U as TELEMETRY_ERROR, V as STORY_RENDER_PHASE_CHANGED, W as TOGGLE_WHATS_NEW_NOTIFICATIONS, X as client_logger_exports, Y as init_core_events, Z as init_client_logger, _ as OPEN_IN_EDITOR_RESPONSE, a as channels_exports, b as REQUEST_WHATS_NEW_DATA, c as init_channel_slot, d as CURRENT_STORY_WAS_SET, f as DOCS_PREPARED, g as OPEN_IN_EDITOR_REQUEST, h as NAVIGATE_URL, i as mockChannel, j as SHARED_STATE_CHANGED, k as SET_STORIES, l as setChannel, m as GLOBALS_UPDATED, n as init_components, o as init_channels, p as FORCE_REMOUNT, q as UPDATE_STORY_ARGS, r as init_mock_channel, s as getChannel, t as components_exports, u as CONFIG_ERROR, v as PRELOAD_ENTRIES, w as SET_CONFIG, x as RESET_STORY_ARGS, y as PREVIEW_KEYDOWN, z as STORY_MISSING } from "./globals-runtime-
|
|
3
|
+
import { $ as countStatusesByValue, A as setStoryPathEntries, B as init_test, C as init_use_universal_store_manager, D as buildManagerHref, E as router_exports, F as init_routes, G as init_tags$1, H as BUILT_IN_FILTERS, I as isReviewManagerRoute, L as create, M as buildArgsParam, O as fromUrlPath, P as queryFromLocation, Q as UNIVERSAL_STATUS_STORE_OPTIONS, R as create_exports, S as init_mock, T as init_router, U as Tag, V as test_exports, W as USER_TAG_FILTER, _ as useServiceCommand, _t as UniversalStore, b as init_test_provider_store, bt as init_storybook_error, d as getService, et as createStatusStore, f as init_manager, gt as init_global, h as useServiceQuery, ht as global, it as formatIssues, j as toUrlPath, n as theming_exports, nt as statusValueShortName, p as registerService, rt as toStatusValue, t as init_theming, tt as init_status_store, v as UNIVERSAL_TEST_PROVIDER_STORE_OPTIONS, vt as init_universal_store, w as useUniversalStore, x as MockUniversalStore, y as createTestProviderStore, yt as StorybookError, z as init_create } from "./globals-runtime-Cccwtspx.js";
|
|
4
|
+
import { $ as once, A as SET_WHATS_NEW_CACHE, B as STORY_PREPARED, C as SELECT_STORY, D as SET_GLOBALS, E as SET_FILTER, F as STORIES_EXPAND_ALL, G as UPDATE_GLOBALS, H as STORY_SPECIFIED, I as STORY_ARGS_UPDATED, J as core_events_exports, K as UPDATE_QUERY_PARAMS, L as STORY_CHANGED, M as SHARED_STATE_SET, N as SIDEBAR_FILTER_CHANGED, O as SET_INDEX, P as STORIES_COLLAPSE_ALL, Q as logger, R as STORY_INDEX_INVALIDATED, S as RESULT_WHATS_NEW_DATA, T as SET_CURRENT_STORY, U as TELEMETRY_ERROR, V as STORY_RENDER_PHASE_CHANGED, W as TOGGLE_WHATS_NEW_NOTIFICATIONS, X as client_logger_exports, Y as init_core_events, Z as init_client_logger, _ as OPEN_IN_EDITOR_RESPONSE, a as channels_exports, b as REQUEST_WHATS_NEW_DATA, c as init_channel_slot, d as CURRENT_STORY_WAS_SET, f as DOCS_PREPARED, g as OPEN_IN_EDITOR_REQUEST, h as NAVIGATE_URL, i as mockChannel, j as SHARED_STATE_CHANGED, k as SET_STORIES, l as setChannel, m as GLOBALS_UPDATED, n as init_components, o as init_channels, p as FORCE_REMOUNT, q as UPDATE_STORY_ARGS, r as init_mock_channel, s as getChannel, t as components_exports, u as CONFIG_ERROR, v as PRELOAD_ENTRIES, w as SET_CONFIG, x as RESET_STORY_ARGS, y as PREVIEW_KEYDOWN, z as STORY_MISSING } from "./globals-runtime-BgWmCsA7.js";
|
|
5
5
|
import { i as require_react, r as require_jsx_runtime } from "./globals-runtime-nQMRiA0J.js";
|
|
6
6
|
import { n as require_react_dom, t as require_client } from "./globals-runtime-DgO0hT2p.js";
|
|
7
7
|
import { F as mergeWith, L as mapValues, N as omit, O as init_toMerged, P as init_mergeWith, R as init_isEqual, a as throttle, c as partition, i as init_throttle, j as pick, k as toMerged, l as countBy, o as require_copy_to_clipboard, t as require_browser_dtector_umd_min, z as isEqual } from "./globals-runtime-B4NRbNSS.js";
|
|
8
8
|
import { $ as init_timer, $a as init_circle, $i as init_file_code, $n as init_network, $o as init_bold, $r as init_layers, $t as init_save, A as Users, Aa as CornerUpRight, Ai as GitFork, An as Pilcrow, Ao as Check, Ar as Mail, As as ArrowDownRight, At as Smartphone, B as Unlink, Ba as Command, Bi as Folder, Bn as PanelLeft, Bo as Calendar, Br as ListFilter, Bs as Accessibility, Bt as ShoppingBasket, C as init_watch, Ca as init_database, Ci as init_grid_2x2, Cn as init_plus, Co as init_chevron_up, Cr as init_menu, Cs as init_arrow_left, Ct as init_square_x, D as init_volume_2, Da as init_credit_card, Di as init_git_pull_request, Dn as init_pin, Do as init_chevron_left, Dr as init_maximize_2, Ds as init_arrow_down, Dt as init_square_arrow_out_up_right, E as Volume2, Ea as CreditCard, Ei as GitPullRequest, En as Pin, Eo as ChevronLeft, Er as Maximize2, Es as ArrowDown, Et as SquareArrowOutUpRight, F as init_user_plus, Fa as init_copy, Fi as init_git_branch, Fn as init_pencil, Fo as init_chart_line, Fr as init_lock_open, Fs as init_archive_restore, Ft as init_skip_forward, G as init_type, Ga as init_code, Gi as init_flask_conical, Gn as init_paintbrush_vertical, Go as init_brush_cleaning, Gr as init_link, Gt as init_share, H as UnfoldVertical, Ha as Columns2, Hi as FoldVertical, Hn as Paintbrush, Ho as Bug, Hr as ListChecks, Hs as LucideProvider, Ht as Shield, I as UserCog, Ia as Contrast, Ii as Gift, In as PenTool, Io as ChartColumn, Ir as List, Is as Apple, It as SkipBack, J as TriangleAlert, Ja as Cloud, Ji as Files, Jn as Nut, Jo as Bookmark, Jr as LifeBuoy, Jt as Settings, K as TrianglesCenterlineDashedHorizontal, Ka as CodeXml, Ki as Flag, Kn as Package, Ko as Briefcase, Kr as Library, Kt as Share2, L as init_user_cog, La as init_contrast, Li as init_gift, Ln as init_pen_tool, Lo as init_chart_column, Lr as init_list, Ls as init_apple, Lt as init_skip_back, M as User, Ma as CornerUpLeft, Mi as GitCommitHorizontal, Mn as Phone, Mo as CheckCheck, Mr as Lock, Ms as ArrowDownLeft, Mt as SlidersHorizontal, N as init_user, Na as init_corner_up_left, Ni as init_git_commit_horizontal, Nn as init_phone, No as init_check_check, Nr as init_lock, Ns as init_arrow_down_left, Nt as init_sliders_horizontal, O as Video, Oa as Cpu, Oi as GitMerge, On as PinOff, Oo as ChevronDown, Or as MapPin, Os as ArrowDownWideNarrow, Ot as SquareArrowDownLeft, P as UserPlus, Pa as Copy, Pi as GitBranch, Pn as Pencil, Po as ChartLine, Pr as LockOpen, Ps as ArchiveRestore, Pt as SkipForward, Q as Timer, Qa as Circle, Qi as FileCode, Qn as Network, Qo as Bold, Qr as Layers, Qt as Save, R as Upload, Ra as Compass, Ri as Gauge, Rn as Paperclip, Ro as Camera, Rr as ListOrdered, Rs as AppWindow, Rt as Signpost, S as Watch, Sa as Database, Si as Grid2x2, Sn as Plus, So as ChevronUp, Sr as Menu, Ss as ArrowLeft, St as SquareX, T as init_wand_sparkles, Ta as init_crosshair, Ti as init_globe, Tn as init_play, To as init_chevron_right, Tr as init_memory_stick, Ts as init_arrow_left_right, Tt as init_square_dashed, U as init_unfold_vertical, Ua as init_columns_2, Ui as init_fold_vertical, Un as init_paintbrush, Uo as init_bug, Ur as init_list_checks, Us as init_context$1, Ut as init_shield, V as init_unlink, Va as init_command, Vi as init_folder, Vn as init_panel_left, Vo as init_calendar, Vr as init_list_filter, Vs as init_accessibility, Vt as init_shopping_basket, W as Type, Wa as Code, Wi as FlaskConical, Wn as PaintbrushVertical, Wo as BrushCleaning, Wr as Link, Ws as require_memoizerific, Wt as Share, X as Trash, Xa as Clock, Xi as FileText, Xn as Newspaper, Xo as BookOpen, Xr as LayoutGrid, Xt as Search, Y as init_triangle_alert, Ya as init_cloud, Yi as init_files, Yn as init_nut, Yo as init_bookmark, Yr as init_life_buoy, Yt as init_settings$1, Z as init_trash, Za as init_clock, Zi as init_file_text, Zn as init_newspaper, Zo as init_book_open, Zr as init_layout_grid, Zt as init_search, _ as init_x, _a as init_download, _i as init_hard_drive, _n as init_printer, _o as init_circle_arrow_right, _r as init_message_square_text, _s as init_arrow_up_narrow_wide, _t as init_sticker, aa as init_face_slightly_frowning, ai as init_info, an as init_rows_2, ao as init_circle_stop, ar as init_moon, as as init_badge_check, at as init_text_align_start, b as Waypoints, ba as Delete, bi as GripVertical, bn as Pointer, bo as CircleAlert, br as MessageCircleMore, bs as ArrowRight, bt as Square, c as ZoomOut, ca as Eye, ci as IdCard, cn as RotateCcw, co as CircleQuestionMark, cr as MonitorPlay, cs as AtSign, ct as Terminal, d as init_zoom_in, da as init_eye_off, di as init_house, dn as init_rewind, do as init_circle_play, dr as init_minus, ds as init_atom, dt as init_tag, ea as FastForward, ei as Key, en as Ruler, eo as CircleX, er as MousePointerClick, es as Bell, et as ThumbsUp, f as Zap, fa as Expand, fi as Hourglass, fn as RefreshCw, fo as CirclePlus, fr as MessagesSquare, fs as ArrowUp, ft as Tablet, g as X, ga as Download, gi as HardDrive, gn as Printer, go as CircleArrowRight, gr as MessageSquareText, gs as ArrowUpNarrowWide, gt as Sticker, h as init_zap_off, ha as init_ellipsis, hi as init_heart, hn as init_puzzle, ho as init_circle_check, hr as init_message_square, hs as init_arrow_up_right, ht as init_sun, ia as FaceSlightlyFrowning, ii as Info, in as Rows2, io as CircleStop, ir as Moon, is as BadgeCheck, it as TextAlignStart, j as init_users, ja as init_corner_up_right, ji as init_git_fork, jn as init_pilcrow, jo as init_check, jr as init_mail, js as init_arrow_down_right, jt as init_smartphone, k as init_video, ka as init_cpu, ki as init_git_merge, kn as init_pin_off, ko as init_chevron_down, kr as init_map_pin, ks as init_arrow_down_wide_narrow, kt as init_square_arrow_down_left, l as init_zoom_out, la as init_eye, li as init_id_card, ln as init_rotate_ccw, lo as init_circle_question_mark, lr as init_monitor_play, ls as init_at_sign, lt as init_terminal, m as ZapOff, ma as Ellipsis, mi as Heart, mn as Puzzle, mo as CircleCheck, mr as MessageSquare, ms as ArrowUpRight, mt as Sun, na as FaceSlightlySmiling, ni as Italic, nn as Rss, no as CircleUser, nr as MousePointer2, ns as Ban, nt as TextCursorInput, oa as FaceNeutral, oi as Image, on as RotateCw, oo as CircleSlash2, or as Monitor, os as Award, ot as TextAlignEnd, p as init_zap, pa as init_expand, pi as init_hourglass, pn as init_refresh_cw, po as init_circle_plus, pr as init_messages_square, ps as init_arrow_up, pt as init_tablet, q as init_triangles_centerline_dashed_horizontal, qa as init_code_xml, qi as init_flag, qn as init_package, qo as init_briefcase, qr as init_library, qt as init_share_2, ra as init_face_slightly_smiling, ri as init_italic, rn as init_rss, ro as init_circle_user, rr as init_mouse_pointer_2, rs as init_ban, rt as init_text_cursor_input, sa as init_face_neutral, si as init_image, sn as init_rotate_cw, so as init_circle_slash_2, sr as init_monitor, ss as init_award, st as init_text_align_end, ta as init_fast_forward, ti as init_key, tn as init_ruler, to as init_circle_x, tr as init_mouse_pointer_click, ts as init_bell, tt as init_thumbs_up, u as ZoomIn, ua as EyeOff, ui as House, un as Rewind, uo as CirclePlay, ur as Minus, us as Atom, ut as Tag$1, v as Wrench, va as Diamond, vi as Grid3x3, vn as Power, vo as CircleArrowLeft, vr as MessageCircle, vs as ArrowUpLeft, vt as Star, w as WandSparkles, wa as Crosshair, wi as Globe, wn as Play, wo as ChevronRight, wr as MemoryStick, ws as ArrowLeftRight, wt as SquareDashed, x as init_waypoints, xa as init_delete, xi as init_grip_vertical, xn as init_pointer, xo as init_circle_alert, xr as init_message_circle_more, xs as init_arrow_right, xt as init_square, y as init_wrench, ya as init_diamond, yi as init_grid_3x3, yn as init_power, yo as init_circle_arrow_left, yr as init_message_circle, ys as init_arrow_up_left, yt as init_star, z as init_upload, za as init_compass, zi as init_gauge, zn as init_paperclip, zo as init_camera, zr as init_list_ordered, zs as init_app_window, zt as init_signpost } from "./globals-runtime-oRjPg2jY.js";
|
|
9
|
-
import { n as types_exports, r as Addon_TypesEnum, t as init_types } from "./globals-runtime-
|
|
9
|
+
import { n as types_exports, r as Addon_TypesEnum, t as init_types } from "./globals-runtime-C59T0h-j.js";
|
|
10
10
|
import { c as stringify$1, o as init_main } from "./globals-runtime-BzuYs3dZ.js";
|
|
11
11
|
import { h as processError, m as init_error } from "./globals-runtime-DCmvKMN5.js";
|
|
12
12
|
//#region src/manager-errors.ts
|
|
@@ -540,7 +540,7 @@ function init_addons$1() {
|
|
|
540
540
|
}
|
|
541
541
|
}), options).then(() => api.getAddonState(addonId));
|
|
542
542
|
},
|
|
543
|
-
getAddonState
|
|
543
|
+
getAddonState(addonId) {
|
|
544
544
|
return store.getState().addons[addonId] || globalThis?.FORKBOOK_ADDON_STATE[addonId];
|
|
545
545
|
}
|
|
546
546
|
};
|
|
@@ -557,9 +557,10 @@ function init_addons$1() {
|
|
|
557
557
|
//#endregion
|
|
558
558
|
//#region src/manager-api/modules/channel.ts
|
|
559
559
|
var channel_exports = /* @__PURE__ */ __exportAll({ init: () => init$12 });
|
|
560
|
-
var init$12;
|
|
560
|
+
var hasTarget, init$12;
|
|
561
561
|
function init_channel() {
|
|
562
562
|
return (init_channel = __esmMin((() => {
|
|
563
|
+
hasTarget = (data) => typeof data === "object" && data !== null && "options" in data && typeof data.options === "object" && data.options !== null && "target" in data.options && typeof data.options.target === "string";
|
|
563
564
|
init$12 = ({ provider }) => {
|
|
564
565
|
return {
|
|
565
566
|
api: {
|
|
@@ -571,7 +572,7 @@ function init_channel() {
|
|
|
571
572
|
off: (type, handler) => provider.channel?.off(type, handler),
|
|
572
573
|
once: (type, handler) => provider.channel?.once(type, handler),
|
|
573
574
|
emit: (type, data, ...args) => {
|
|
574
|
-
if (data
|
|
575
|
+
if (hasTarget(data) && data.options.target && data.options.target !== "storybook-preview-iframe" && !data.options.target.startsWith("storybook-ref-")) data.options.target = data.options.target !== "storybook_internal" ? `storybook-ref-${data.options.target}` : "storybook-preview-iframe";
|
|
575
576
|
provider.channel?.emit(type, data, ...args);
|
|
576
577
|
}
|
|
577
578
|
},
|
|
@@ -647,8 +648,8 @@ function instrument(obj, options = {}) {
|
|
|
647
648
|
if (global.window?.location?.search?.includes("instrument=true")) forceInstrument = true;
|
|
648
649
|
else if (global.window?.location?.search?.includes("instrument=false")) skipInstrument = true;
|
|
649
650
|
if (global.window?.parent === global.window && !forceInstrument || skipInstrument) return obj;
|
|
650
|
-
|
|
651
|
-
return
|
|
651
|
+
global.window.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__ ??= new Instrumenter();
|
|
652
|
+
return global.window.__FORKBOOK_ADDON_INTERACTIONS_INSTRUMENTER__.instrument(obj, options);
|
|
652
653
|
} catch (e) {
|
|
653
654
|
once.warn(e);
|
|
654
655
|
return obj;
|
|
@@ -668,7 +669,7 @@ function isClass(obj) {
|
|
|
668
669
|
if (!descriptor) return false;
|
|
669
670
|
return !descriptor.writable;
|
|
670
671
|
}
|
|
671
|
-
var alreadyCompletedException, isObject, isModule, isInstrumentable, construct, getInitialState, getRetainedState, Instrumenter;
|
|
672
|
+
var alreadyCompletedException, isObject, isModule, isCallRef, isInstrumentable, construct, getInitialState, getRetainedState, Instrumenter;
|
|
672
673
|
function init_instrumenter() {
|
|
673
674
|
return (init_instrumenter = __esmMin((() => {
|
|
674
675
|
init_client_logger();
|
|
@@ -680,6 +681,7 @@ function init_instrumenter() {
|
|
|
680
681
|
alreadyCompletedException = /* @__PURE__ */ new Error(`This function ran after the play function completed. Did you forget to \`await\` it?`);
|
|
681
682
|
isObject = (o) => Object.prototype.toString.call(o) === "[object Object]";
|
|
682
683
|
isModule = (o) => Object.prototype.toString.call(o) === "[object Module]";
|
|
684
|
+
isCallRef = (value) => typeof value === "object" && value !== null && "__callId__" in value;
|
|
683
685
|
isInstrumentable = (o) => {
|
|
684
686
|
if (!isObject(o) && !isModule(o)) return false;
|
|
685
687
|
if (o.constructor === void 0) return true;
|
|
@@ -909,7 +911,7 @@ function init_instrumenter() {
|
|
|
909
911
|
const seen = /* @__PURE__ */ new Set();
|
|
910
912
|
return merged.reduceRight((acc, call) => {
|
|
911
913
|
call.args.forEach((arg) => {
|
|
912
|
-
if (arg
|
|
914
|
+
if (isCallRef(arg)) seen.add(arg.__callId__);
|
|
913
915
|
});
|
|
914
916
|
call.path.forEach((node) => {
|
|
915
917
|
if (node.__callId__) seen.add(node.__callId__);
|
|
@@ -927,14 +929,15 @@ function init_instrumenter() {
|
|
|
927
929
|
}
|
|
928
930
|
instrument(obj, options, depth = 0) {
|
|
929
931
|
if (!isInstrumentable(obj)) return obj;
|
|
932
|
+
const source = obj;
|
|
930
933
|
const { mutate = false, path = [] } = options;
|
|
931
|
-
const keys = options.getKeys ? options.getKeys(
|
|
934
|
+
const keys = options.getKeys ? options.getKeys(source, depth) : Object.keys(source);
|
|
932
935
|
depth += 1;
|
|
933
936
|
return keys.reduce((acc, key) => {
|
|
934
|
-
const descriptor = getPropertyDescriptor(
|
|
937
|
+
const descriptor = getPropertyDescriptor(source, key);
|
|
935
938
|
if (typeof descriptor?.get === "function") {
|
|
936
939
|
if (descriptor.configurable) {
|
|
937
|
-
const getter = () => descriptor?.get?.bind(
|
|
940
|
+
const getter = () => descriptor?.get?.bind(source)?.();
|
|
938
941
|
Object.defineProperty(acc, key, { get: () => {
|
|
939
942
|
return this.instrument(getter(), {
|
|
940
943
|
...options,
|
|
@@ -944,7 +947,7 @@ function init_instrumenter() {
|
|
|
944
947
|
}
|
|
945
948
|
return acc;
|
|
946
949
|
}
|
|
947
|
-
const value =
|
|
950
|
+
const value = source[key];
|
|
948
951
|
if (typeof value !== "function") {
|
|
949
952
|
acc[key] = this.instrument(value, {
|
|
950
953
|
...options,
|
|
@@ -956,21 +959,22 @@ function init_instrumenter() {
|
|
|
956
959
|
acc[key] = value;
|
|
957
960
|
return acc;
|
|
958
961
|
}
|
|
959
|
-
|
|
960
|
-
acc[key]
|
|
961
|
-
Object.defineProperty(
|
|
962
|
+
const patched = Object.assign((...args) => this.track(key, value, source, args, options), { __originalFn__: value });
|
|
963
|
+
acc[key] = patched;
|
|
964
|
+
Object.defineProperty(patched, "name", {
|
|
962
965
|
value: key,
|
|
963
966
|
writable: false
|
|
964
967
|
});
|
|
965
|
-
if (Object.keys(value).length > 0) Object.assign(
|
|
968
|
+
if (Object.keys(value).length > 0) Object.assign(patched, this.instrument({ ...value }, {
|
|
966
969
|
...options,
|
|
967
970
|
path: path.concat(key)
|
|
968
971
|
}, depth));
|
|
969
972
|
return acc;
|
|
970
|
-
}, mutate ?
|
|
973
|
+
}, mutate ? source : construct(source));
|
|
971
974
|
}
|
|
972
975
|
track(method, fn, object, args, options) {
|
|
973
|
-
const
|
|
976
|
+
const firstArg = args[0];
|
|
977
|
+
const storyId = (typeof firstArg === "object" && firstArg !== null && "__storyId__" in firstArg ? firstArg.__storyId__ : void 0) || global.__FORKBOOK_PREVIEW__?.selectionStore?.selection?.storyId;
|
|
974
978
|
const { cursor, ancestors } = this.getState(storyId);
|
|
975
979
|
this.setState(storyId, { cursor: cursor + 1 });
|
|
976
980
|
const id = `${ancestors.slice(-1)[0] || storyId} [${cursor}] ${method}`;
|
|
@@ -1055,10 +1059,10 @@ function init_instrumenter() {
|
|
|
1055
1059
|
innerText
|
|
1056
1060
|
} };
|
|
1057
1061
|
}
|
|
1058
|
-
if (typeof value === "function") return { __function__: { name: "getMockName" in value ? value.getMockName() : value.name } };
|
|
1062
|
+
if (typeof value === "function") return { __function__: { name: "getMockName" in value && typeof value.getMockName === "function" ? value.getMockName() : value.name } };
|
|
1059
1063
|
if (typeof value === "symbol") return { __symbol__: { description: value.description } };
|
|
1060
1064
|
if (typeof value === "object" && value?.constructor?.name && value?.constructor?.name !== "Object") return { __class__: { name: value.constructor.name } };
|
|
1061
|
-
if (
|
|
1065
|
+
if (isObject(value)) return Object.fromEntries(Object.entries(value).map(([key, val]) => [key, serializeValues(val, ++depth, seen)]));
|
|
1062
1066
|
return value;
|
|
1063
1067
|
};
|
|
1064
1068
|
const info = {
|
|
@@ -1292,16 +1296,15 @@ function init_stories() {
|
|
|
1292
1296
|
entries: Object.values(index.stories).reduce((acc, entry) => {
|
|
1293
1297
|
let type = "story";
|
|
1294
1298
|
if (entry.parameters?.docsOnly || entry.name === "Page" && countByTitle[entry.title] === 1) type = "docs";
|
|
1299
|
+
const { story: _story, kind: _kind, ...entryWithoutV3Fields } = entry;
|
|
1295
1300
|
acc[entry.id] = {
|
|
1296
1301
|
type,
|
|
1297
1302
|
...type === "docs" && {
|
|
1298
1303
|
tags: ["stories-mdx"],
|
|
1299
1304
|
storiesImports: []
|
|
1300
1305
|
},
|
|
1301
|
-
...
|
|
1306
|
+
...entryWithoutV3Fields
|
|
1302
1307
|
};
|
|
1303
|
-
delete acc[entry.id].story;
|
|
1304
|
-
delete acc[entry.id].kind;
|
|
1305
1308
|
return acc;
|
|
1306
1309
|
}, {})
|
|
1307
1310
|
};
|
|
@@ -1669,21 +1672,20 @@ function init_refs() {
|
|
|
1669
1672
|
},
|
|
1670
1673
|
setRef: async (id, { storyIndex, setStoriesData, ...rest }, ready = false) => {
|
|
1671
1674
|
if (singleStory) return;
|
|
1672
|
-
let internal_index;
|
|
1673
1675
|
let index;
|
|
1674
1676
|
let filteredIndex;
|
|
1675
1677
|
const { filters } = store.getState();
|
|
1676
1678
|
const { storyMapper = defaultStoryMapper } = provider.getConfig();
|
|
1677
1679
|
const ref = api.getRefs()[id];
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
filteredIndex = transformStoryIndexToStoriesHash(
|
|
1680
|
+
const internal_index = setStoriesData ? transformSetStoriesStoryDataToPreparedStoryIndex(map(setStoriesData, ref, { storyMapper })) : storyIndex;
|
|
1681
|
+
if (internal_index) {
|
|
1682
|
+
filteredIndex = transformStoryIndexToStoriesHash(internal_index, {
|
|
1681
1683
|
provider,
|
|
1682
1684
|
docsOptions,
|
|
1683
1685
|
filters,
|
|
1684
1686
|
allStatuses: {}
|
|
1685
1687
|
});
|
|
1686
|
-
index = transformStoryIndexToStoriesHash(
|
|
1688
|
+
index = transformStoryIndexToStoriesHash(internal_index, {
|
|
1687
1689
|
provider,
|
|
1688
1690
|
docsOptions,
|
|
1689
1691
|
filters: {},
|
|
@@ -2062,7 +2064,9 @@ function init_layout() {
|
|
|
2062
2064
|
element.focus();
|
|
2063
2065
|
}
|
|
2064
2066
|
if (element !== document$2.activeElement && element.id !== document$2.activeElement?.id) return false;
|
|
2065
|
-
if (select)
|
|
2067
|
+
if (select) {
|
|
2068
|
+
if ("select" in element && typeof element.select === "function") element.select();
|
|
2069
|
+
}
|
|
2066
2070
|
return true;
|
|
2067
2071
|
};
|
|
2068
2072
|
if (attemptFocus()) return true;
|
|
@@ -2230,7 +2234,7 @@ function init_open_in_editor() {
|
|
|
2230
2234
|
} },
|
|
2231
2235
|
state: { notifications: [] },
|
|
2232
2236
|
init: async () => {
|
|
2233
|
-
const { color } = await import("./globals-runtime-
|
|
2237
|
+
const { color } = await import("./globals-runtime-Cccwtspx.js").then((n) => (n.t(), n.n));
|
|
2234
2238
|
provider.channel?.on(OPEN_IN_EDITOR_RESPONSE, (payload) => {
|
|
2235
2239
|
if (payload.error !== null) fullAPI.addNotification({
|
|
2236
2240
|
id: "open-in-editor-error",
|
|
@@ -3670,7 +3674,7 @@ function init_url$1() {
|
|
|
3670
3674
|
navSize,
|
|
3671
3675
|
bottomPanelHeight,
|
|
3672
3676
|
rightPanelWidth,
|
|
3673
|
-
panelPosition:
|
|
3677
|
+
panelPosition: panel === "right" || panel === "bottom" ? panel : void 0
|
|
3674
3678
|
};
|
|
3675
3679
|
const ui = { enableShortcuts: parseBoolean(shortcuts) };
|
|
3676
3680
|
const selectedPanel = addonPanel || void 0;
|
|
@@ -3742,13 +3746,12 @@ function init_url$1() {
|
|
|
3742
3746
|
return customQueryParams ? customQueryParams[key] : void 0;
|
|
3743
3747
|
},
|
|
3744
3748
|
getUrlState() {
|
|
3745
|
-
const { location, path, customQueryParams, storyId,
|
|
3749
|
+
const { location, path, customQueryParams, storyId, viewMode } = store.getState();
|
|
3746
3750
|
return {
|
|
3747
3751
|
path,
|
|
3748
3752
|
hash: location?.hash ?? "",
|
|
3749
3753
|
queryParams: customQueryParams,
|
|
3750
3754
|
storyId,
|
|
3751
|
-
url,
|
|
3752
3755
|
viewMode
|
|
3753
3756
|
};
|
|
3754
3757
|
},
|
|
@@ -4172,7 +4175,8 @@ function useParameter(parameterKey, defaultValue) {
|
|
|
4172
4175
|
}
|
|
4173
4176
|
function useSharedState(stateId, defaultState) {
|
|
4174
4177
|
const api = useStorybookApi();
|
|
4175
|
-
const
|
|
4178
|
+
const getCachedState = () => FORKBOOK_ADDON_STATE[stateId];
|
|
4179
|
+
const state = orDefault(api.getAddonState(stateId) || getCachedState(), getCachedState() || defaultState);
|
|
4176
4180
|
let quicksync = false;
|
|
4177
4181
|
if (state === defaultState && defaultState !== void 0) {
|
|
4178
4182
|
FORKBOOK_ADDON_STATE[stateId] = defaultState;
|
|
@@ -4195,12 +4199,13 @@ function useSharedState(stateId, defaultState) {
|
|
|
4195
4199
|
const stateInitializationHandlers = {
|
|
4196
4200
|
[SET_STORIES]: async () => {
|
|
4197
4201
|
const currentState = api.getAddonState(stateId);
|
|
4202
|
+
const cachedState = getCachedState();
|
|
4198
4203
|
if (currentState) {
|
|
4199
4204
|
FORKBOOK_ADDON_STATE[stateId] = currentState;
|
|
4200
4205
|
api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, currentState);
|
|
4201
|
-
} else if (
|
|
4202
|
-
await setState(
|
|
4203
|
-
api.emit(`${SHARED_STATE_SET}-manager-${stateId}`,
|
|
4206
|
+
} else if (cachedState) {
|
|
4207
|
+
await setState(cachedState);
|
|
4208
|
+
api.emit(`${SHARED_STATE_SET}-manager-${stateId}`, getCachedState());
|
|
4204
4209
|
} else if (defaultState !== void 0) {
|
|
4205
4210
|
await setState(defaultState);
|
|
4206
4211
|
FORKBOOK_ADDON_STATE[stateId] = defaultState;
|
|
@@ -4324,7 +4329,10 @@ function init_root() {
|
|
|
4324
4329
|
callback?.(this.state);
|
|
4325
4330
|
return this.state;
|
|
4326
4331
|
}
|
|
4327
|
-
this.setState(
|
|
4332
|
+
this.setState((state) => ({
|
|
4333
|
+
...state,
|
|
4334
|
+
...typeof stateChange === "function" ? stateChange(state) : stateChange
|
|
4335
|
+
}), () => callback(this.state));
|
|
4328
4336
|
return this.state;
|
|
4329
4337
|
}
|
|
4330
4338
|
});
|
|
@@ -4837,7 +4845,7 @@ function init_globals_runtime() {
|
|
|
4837
4845
|
init_runtime();
|
|
4838
4846
|
init_prepareForTelemetry();
|
|
4839
4847
|
globalPackages.forEach((key) => {
|
|
4840
|
-
globalThis[globalsNameReferenceMap[key]]
|
|
4848
|
+
Object.assign(globalThis, { [globalsNameReferenceMap[key]]: globalsNameValueMap[key] });
|
|
4841
4849
|
});
|
|
4842
4850
|
queuedErrors = [];
|
|
4843
4851
|
globalThis.sendTelemetryError = (error) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { $i as SmartphoneIcon, $n as CpuIcon, $r as MapPinIcon, $t as ArrowDownRightIcon, A as deprecate, Aa as WatchIcon, Ai as PlusIcon, An as CircleAlertIcon, Ar as GripVerticalIcon, Bi as RssIcon, Bn as CircleUserIcon, Br as LayersIcon, Ca as UserCogIcon, Ci as PenToolIcon, Cn as ChartLineIcon, Cr as GitCommitHorizontalIcon, Da as VideoIcon, Di as PinIcon, Dn as ChevronLeftIcon, Dr as GlobeIcon, Ea as UsersIcon, Ei as PilcrowIcon, En as ChevronDownIcon, Er as GitPullRequestIcon, Fa as ZapOffIcon, Fi as RefreshCwIcon, Fn as CirclePlayIcon, Fr as IdCardIcon, Gi as Share2Icon, Gn as CodeXmlIcon, Gr as ListChecksIcon, Hi as SaveIcon, Hn as ClockIcon, Hr as LibraryIcon, Ia as ZoomInIcon, Ii as RewindIcon, In as CirclePlusIcon, Ir as ImageIcon, Ji as ShoppingBasketIcon, Jn as CompassIcon, Jr as ListOrderedIcon, Jt as AppWindowIcon, Ki as ShareIcon, Kn as Columns2Icon, Kr as ListFilterIcon, La as ZoomOutIcon, Li as RotateCcwIcon, Ln as CircleQuestionMarkIcon, Lr as InfoIcon, M as logger, Ma as WrenchIcon, Mi as PowerIcon, Mn as CircleArrowRightIcon, Mr as HeartIcon, Na as XIcon, Ni as PrinterIcon, Nn as CircleCheckIcon, Nr as HourglassIcon, Oa as Volume2Icon, Oi as PinOffIcon, On as ChevronRightIcon, Or as Grid2x2Icon, Pa as ZapIcon, Pi as PuzzleIcon, Pn as CircleIcon, Pr as HouseIcon, Qi as SlidersHorizontalIcon, Qn as CornerUpRightIcon, Qr as MailIcon, Qt as ArrowDownLeftIcon, Ra as init__forkbook_global_lucide_react, Ri as RotateCwIcon, Rn as CircleSlash2Icon, Rr as ItalicIcon, Sa as UploadIcon, Si as PaperclipIcon, Sn as ChartColumnIcon, So as useState, Sr as GitBranchIcon, St as init_theming, Ta as UserPlusIcon, Ti as PhoneIcon, Tn as CheckIcon, Tr as GitMergeIcon, Ui as SearchIcon, Un as CloudIcon, Ur as LifeBuoyIcon, Vi as RulerIcon, Vn as CircleXIcon, Vr as LayoutGridIcon, Wi as SettingsIcon, Wn as CodeIcon, Wr as LinkIcon, Xi as SkipBackIcon, Xn as CopyIcon, Xr as LockOpenIcon, Xt as ArchiveRestoreIcon, Yi as SignpostIcon, Yn as ContrastIcon, Yr as LockIcon, Yt as AppleIcon, Zi as SkipForwardIcon, Zn as CornerUpLeftIcon, Zt as ArrowDownIcon, _a as Trash2Icon, _i as NutIcon, _n as BriefcaseIcon, _r as FoldVerticalIcon, _t as ThemeProvider, aa as SquareXIcon, ai as MessageCircleMoreIcon, an as ArrowUpLeftIcon, ao as createContext, ar as DownloadIcon, ba as UnfoldVerticalIcon, bi as PaintbrushVerticalIcon, bn as CalendarIcon, br as GaugeIcon, ca as SunIcon, ci as MessagesSquareIcon, cn as AtSignIcon, co as forwardRef, cr as EyeIcon, da as TerminalIcon, di as MonitorPlayIcon, dn as BadgeCheckIcon, do as memo, dr as FileCodeIcon, ea as SmileIcon, ei as Maximize2Icon, en as ArrowDownWideNarrowIcon, er as CreditCardIcon, fa as TextAlignEndIcon, fi as MoonIcon, fn as BanIcon, fr as FileTextIcon, ga as TimerIcon, gi as NewspaperIcon, gn as BookmarkIcon, go as useId, gr as FlipHorizontal2Icon, ha as ThumbsUpIcon, hi as NetworkIcon, hn as BookOpenIcon, hr as FlaskConicalIcon, ia as SquareIcon, ii as MessageCircleIcon, in as ArrowUpIcon, ir as DiamondIcon, j as init_client_logger, ja as WaypointsIcon, ji as PointerIcon, jn as CircleArrowLeftIcon, jr as HardDriveIcon, ka as WandSparklesIcon, ki as PlayIcon, kn as ChevronUpIcon, kr as Grid3x3Icon, la as TabletIcon, li as MinusIcon, ln as AtomIcon, lo as init__forkbook_global_react, lr as EyeOffIcon, ma as TextCursorInputIcon, mi as MousePointerClickIcon, mn as BoldIcon, mr as FlagIcon, na as SquareArrowOutUpRightIcon, ni as MemoryStickIcon, nn as ArrowLeftRightIcon, no as _forkbook_global_react_default, nr as DatabaseIcon, oa as StarIcon, oi as MessageSquareIcon, on as ArrowUpNarrowWideIcon, or as EllipsisIcon, pa as TextAlignStartIcon, pi as MousePointer2Icon, pn as BellIcon, po as useContext, pr as FilesIcon, qi as ShieldIcon, qn as CommandIcon, qr as ListIcon, qt as AccessibilityIcon, ra as SquareDashedIcon, ri as MenuIcon, rn as ArrowRightIcon, rr as DeleteIcon, sa as StickerIcon, si as MessageSquareTextIcon, sn as ArrowUpRightIcon, sr as ExpandIcon, ta as SquareArrowDownLeftIcon, ti as MehIcon, tn as ArrowLeftIcon, tr as CrosshairIcon, ua as TagIcon, ui as MonitorIcon, un as AwardIcon, ur as FastForwardIcon, va as TriangleAlertIcon, vi as PackageIcon, vn as BrushCleaningIcon, vr as FolderIcon, wa as UserIcon, wi as PencilIcon, wn as CheckCheckIcon, wr as GitForkIcon, wt as useTheme, xa as UnlinkIcon, xi as PanelLeftIcon, xn as CameraIcon, xr as GiftIcon, ya as TypeIcon, yi as PaintbrushIcon, yn as BugIcon, yr as FrownIcon, zi as Rows2Icon, zn as CircleStopIcon, zr as KeyIcon } from "./runtime-Db8fJ2MP.js";
|
|
3
|
-
import { d as StorybookError, f as init_storybook_error } from "./runtime-
|
|
4
|
-
import { _ as TooltipTrigger, b as init_TooltipRoot, d as TooltipPopup, f as init_TooltipPopup, g as init_TooltipPortal, h as TooltipPortal, m as init_TooltipPositioner, p as TooltipPositioner, v as init_TooltipTrigger, y as TooltipRoot } from "./runtime-
|
|
3
|
+
import { d as StorybookError, f as init_storybook_error } from "./runtime-DCOIOn4T.js";
|
|
4
|
+
import { _ as TooltipTrigger, b as init_TooltipRoot, d as TooltipPopup, f as init_TooltipPopup, g as init_TooltipPortal, h as TooltipPortal, m as init_TooltipPositioner, p as TooltipPositioner, v as init_TooltipTrigger, y as TooltipRoot } from "./runtime-DC3oEVlM.js";
|
|
5
5
|
//#region src/components/components/icon/icon.module.css
|
|
6
6
|
var id$1, icon_module_default;
|
|
7
7
|
function init_icon_module() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { Ba as CHANNEL_WS_DISCONNECT, C as Route, D as init_router, Dt as addons, E as getBasename, G as Form, Gt as useStorybookApi, J as Loader, Kt as useStorybookState, L as Button, Lt as shortcutMatchesShortcut, Mr as HeartIcon, Na as XIcon, Nt as init_manager_api, Ot as eventToShortcut, Pn as CircleIcon, Qa as init_channels, Ra as init__forkbook_global_lucide_react, Rt as shortcutToHumanString, So as useState, St as init_theming, Tn as CheckIcon, Tt as Consumer, Vn as CircleXIcon, W as ForkbookLogo, Xa as init_core_events, Z as ScrollArea, Za as createBrowserChannel, a as init_types, b as Location, cr as EyeIcon, ct as TabsView, eo as Component, fo as useCallback, fr as FileTextIcon, ft as TooltipProvider, ho as useEffect, i as REVIEW_STATUS_TYPE_ID, lo as init__forkbook_global_react, lr as EyeOffIcon, mt as init_components, n as CHANGE_DETECTION_STATUS_TYPE_ID, no as _forkbook_global_react_default, q as Link, r as NON_AGGREGATED_STATUS_TYPE_IDS, t as Addon_TypesEnum, to as Fragment, ut as Tooltip, va as TriangleAlertIcon, vt as color, w as buildManagerHref, wr as GitForkIcon, wt as useTheme, yo as useMemo, za as CHANNEL_CREATED, zt as types } from "./runtime-Db8fJ2MP.js";
|
|
3
|
-
import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-
|
|
4
|
-
import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as renderForkbookUI, o as init_Sidebar, s as UseSymbol, t as init_manager, w as init_UpgradeBlock } from "./runtime-
|
|
5
|
-
import { c as require_memoizerific, o as curriedTransparentize$1, s as init_polished_esm } from "./runtime-
|
|
6
|
-
import { c as init_clsx, s as clsx } from "./runtime-
|
|
3
|
+
import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-DCOIOn4T.js";
|
|
4
|
+
import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as renderForkbookUI, o as init_Sidebar, s as UseSymbol, t as init_manager, w as init_UpgradeBlock } from "./runtime-lPbyY_f5.js";
|
|
5
|
+
import { c as require_memoizerific, o as curriedTransparentize$1, s as init_polished_esm } from "./runtime-td6oYfU6.js";
|
|
6
|
+
import { c as init_clsx, s as clsx } from "./runtime-D8QxTQiI.js";
|
|
7
7
|
//#region src/manager/utils/root-page.ts
|
|
8
8
|
var getRootPage, thumbnailSrc;
|
|
9
9
|
function init_root_page() {
|
|
@@ -21,7 +21,7 @@ function init_root_page() {
|
|
|
21
21
|
//#endregion
|
|
22
22
|
//#region src/manager/utils/tree.ts
|
|
23
23
|
function getPath(item, ref) {
|
|
24
|
-
const parent = item.type !== "root" && item.parent ? ref.index[item.parent] : null;
|
|
24
|
+
const parent = item.type !== "root" && item.parent ? ref.index?.[item.parent] : null;
|
|
25
25
|
if (parent) return [...getPath(parent, ref), parent.name];
|
|
26
26
|
return ref.id === "storybook_internal" ? [] : [ref.title || ref.id];
|
|
27
27
|
}
|
|
@@ -131,8 +131,8 @@ function init_status_module() {
|
|
|
131
131
|
document.head.appendChild(style);
|
|
132
132
|
}
|
|
133
133
|
status_module_default = {
|
|
134
|
-
"
|
|
135
|
-
"
|
|
134
|
+
"glow": "fb-HwMO1a-glow",
|
|
135
|
+
"loadingIcon": "fb-HwMO1a-loadingIcon"
|
|
136
136
|
};
|
|
137
137
|
})))();
|
|
138
138
|
}
|
|
@@ -366,8 +366,10 @@ var Provider;
|
|
|
366
366
|
function init_provider() {
|
|
367
367
|
return (init_provider = __esmMin((() => {
|
|
368
368
|
Provider = class {
|
|
369
|
-
|
|
370
|
-
|
|
369
|
+
constructor() {
|
|
370
|
+
this.getElements = () => {
|
|
371
|
+
throw new Error("Provider.getElements() is not implemented!");
|
|
372
|
+
};
|
|
371
373
|
}
|
|
372
374
|
handleAPI(_api) {
|
|
373
375
|
throw new Error("Provider.handleAPI() is not implemented!");
|
|
@@ -392,11 +394,11 @@ function init_About_module() {
|
|
|
392
394
|
document.head.appendChild(style);
|
|
393
395
|
}
|
|
394
396
|
About_module_default = {
|
|
395
|
-
"footer": "fb-v5QLGG-footer",
|
|
396
397
|
"container": "fb-v5QLGG-container",
|
|
397
|
-
"
|
|
398
|
+
"header": "fb-v5QLGG-header",
|
|
399
|
+
"footer": "fb-v5QLGG-footer",
|
|
398
400
|
"link": "fb-v5QLGG-link",
|
|
399
|
-
"
|
|
401
|
+
"actions": "fb-v5QLGG-actions"
|
|
400
402
|
};
|
|
401
403
|
})))();
|
|
402
404
|
}
|
|
@@ -519,17 +521,17 @@ function init_shortcuts_module() {
|
|
|
519
521
|
document.head.appendChild(style);
|
|
520
522
|
}
|
|
521
523
|
shortcuts_module_default = {
|
|
522
|
-
"
|
|
524
|
+
"description": "fb-5Bi54W-description",
|
|
523
525
|
"textInput": "fb-5Bi54W-textInput",
|
|
524
|
-
"
|
|
526
|
+
"container": "fb-5Bi54W-container",
|
|
527
|
+
"row": "fb-5Bi54W-row",
|
|
525
528
|
"fade": "fb-5Bi54W-fade",
|
|
526
529
|
"header": "fb-5Bi54W-header",
|
|
530
|
+
"jiggle": "fb-5Bi54W-jiggle",
|
|
531
|
+
"headerItem": "fb-5Bi54W-headerItem",
|
|
527
532
|
"successIcon": "fb-5Bi54W-successIcon",
|
|
528
|
-
"container": "fb-5Bi54W-container",
|
|
529
533
|
"gridHeaderRow": "fb-5Bi54W-gridHeaderRow",
|
|
530
|
-
"
|
|
531
|
-
"description": "fb-5Bi54W-description",
|
|
532
|
-
"row": "fb-5Bi54W-row"
|
|
534
|
+
"gridWrapper": "fb-5Bi54W-gridWrapper"
|
|
533
535
|
};
|
|
534
536
|
})))();
|
|
535
537
|
}
|
|
@@ -590,6 +592,7 @@ function init_shortcuts() {
|
|
|
590
592
|
super(props);
|
|
591
593
|
this.onKeyDown = (e) => {
|
|
592
594
|
const { activeFeature, shortcutKeys } = this.state;
|
|
595
|
+
if (!activeFeature) return false;
|
|
593
596
|
if (e.key === "Backspace") return this.restoreDefault();
|
|
594
597
|
const shortcut = eventToShortcut(e);
|
|
595
598
|
if (!shortcut) return false;
|
|
@@ -618,7 +621,7 @@ function init_shortcuts() {
|
|
|
618
621
|
};
|
|
619
622
|
this.onBlur = async () => {
|
|
620
623
|
const { shortcutKeys, activeFeature } = this.state;
|
|
621
|
-
if (shortcutKeys[activeFeature]) {
|
|
624
|
+
if (activeFeature && shortcutKeys[activeFeature]) {
|
|
622
625
|
const { shortcut, error } = shortcutKeys[activeFeature];
|
|
623
626
|
if (!shortcut || error) return this.restoreDefault();
|
|
624
627
|
return this.saveShortcut();
|
|
@@ -628,6 +631,7 @@ function init_shortcuts() {
|
|
|
628
631
|
this.saveShortcut = async () => {
|
|
629
632
|
const { activeFeature, shortcutKeys } = this.state;
|
|
630
633
|
const { setShortcut } = this.props;
|
|
634
|
+
if (!activeFeature) return;
|
|
631
635
|
await setShortcut(activeFeature, shortcutKeys[activeFeature].shortcut);
|
|
632
636
|
this.setState({ successField: activeFeature });
|
|
633
637
|
};
|
|
@@ -639,6 +643,7 @@ function init_shortcuts() {
|
|
|
639
643
|
this.restoreDefault = async () => {
|
|
640
644
|
const { activeFeature, shortcutKeys } = this.state;
|
|
641
645
|
const { restoreDefaultShortcut } = this.props;
|
|
646
|
+
if (!activeFeature) return;
|
|
642
647
|
const defaultShortcut = await restoreDefaultShortcut(activeFeature);
|
|
643
648
|
return this.setState({ shortcutKeys: {
|
|
644
649
|
...shortcutKeys,
|
|
@@ -658,7 +663,7 @@ function init_shortcuts() {
|
|
|
658
663
|
return Object.entries(shortcutKeys).filter(([feature]) => shortcutLabels[feature] !== void 0 || addonsShortcutLabels && addonsShortcutLabels[feature]).map(([feature, { shortcut, hardcoded }]) => /* @__PURE__ */ _forkbook_global_react_default.createElement("div", {
|
|
659
664
|
className: shortcuts_module_default.row,
|
|
660
665
|
key: feature
|
|
661
|
-
}, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.description }, shortcutLabels[feature] || addonsShortcutLabels[feature]), hardcoded ? /* @__PURE__ */ _forkbook_global_react_default.createElement(_forkbook_global_react_default.Fragment, null, /* @__PURE__ */ _forkbook_global_react_default.createElement(TooltipProvider, {
|
|
666
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.description }, shortcutLabels[feature] || addonsShortcutLabels?.[feature]), hardcoded ? /* @__PURE__ */ _forkbook_global_react_default.createElement(_forkbook_global_react_default.Fragment, null, /* @__PURE__ */ _forkbook_global_react_default.createElement(TooltipProvider, {
|
|
662
667
|
tooltip: /* @__PURE__ */ _forkbook_global_react_default.createElement(Tooltip, { hasChrome: true }, "This shortcut cannot be changed."),
|
|
663
668
|
placement: "right"
|
|
664
669
|
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(TextInput, {
|
|
@@ -732,12 +737,12 @@ function init_whats_new_module() {
|
|
|
732
737
|
document.head.appendChild(style);
|
|
733
738
|
}
|
|
734
739
|
whats_new_module_default = {
|
|
735
|
-
"alertIcon": "fb-wRVF8a-alertIcon",
|
|
736
740
|
"loaderWrapper": "fb-wRVF8a-loaderWrapper",
|
|
741
|
+
"footer": "fb-wRVF8a-footer",
|
|
737
742
|
"iframe": "fb-wRVF8a-iframe",
|
|
738
|
-
"
|
|
743
|
+
"alertIcon": "fb-wRVF8a-alertIcon",
|
|
739
744
|
"message": "fb-wRVF8a-message",
|
|
740
|
-
"
|
|
745
|
+
"centered": "fb-wRVF8a-centered"
|
|
741
746
|
};
|
|
742
747
|
})))();
|
|
743
748
|
}
|
|
@@ -849,8 +854,8 @@ function init_index_module() {
|
|
|
849
854
|
document.head.appendChild(style);
|
|
850
855
|
}
|
|
851
856
|
index_module_default = {
|
|
852
|
-
"
|
|
853
|
-
"
|
|
857
|
+
"sidebarToggle": "fb-eGKmTG-sidebarToggle",
|
|
858
|
+
"content": "fb-eGKmTG-content"
|
|
854
859
|
};
|
|
855
860
|
})))();
|
|
856
861
|
}
|
|
@@ -989,9 +994,7 @@ function init_runtime() {
|
|
|
989
994
|
this.addons = addons;
|
|
990
995
|
this.channel = channel;
|
|
991
996
|
this.wsDisconnected = false;
|
|
992
|
-
|
|
993
|
-
getElements(type) {
|
|
994
|
-
return this.addons.getElements(type);
|
|
997
|
+
this.getElements = (type) => this.addons.getElements(type);
|
|
995
998
|
}
|
|
996
999
|
getConfig() {
|
|
997
1000
|
return this.addons.getConfig();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { So as useState, bo as useReducer, eo as Component, fo as useCallback, ho as useEffect, io as cloneElement, lo as init__forkbook_global_react, ro as _forkbook_global_react_exports, vo as useLayoutEffect, xo as useRef, yo as useMemo } from "./runtime-Db8fJ2MP.js";
|
|
3
|
-
import { n as require_react_is, r as require_prop_types } from "./runtime-
|
|
4
|
-
import { a as _inheritsLoose, l as _extends, o as init_inheritsLoose, t as _objectWithoutPropertiesLoose } from "./runtime-
|
|
3
|
+
import { n as require_react_is, r as require_prop_types } from "./runtime-td6oYfU6.js";
|
|
4
|
+
import { a as _inheritsLoose, l as _extends, o as init_inheritsLoose, t as _objectWithoutPropertiesLoose } from "./runtime-DC3oEVlM.js";
|
|
5
5
|
//#region ../../node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
6
6
|
function getSymbols(object) {
|
|
7
7
|
return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { $a as Children, Co as useSyncExternalStore, So as useState, _o as useImperativeHandle, ao as createContext, c as init__forkbook_global_react_dom, co as forwardRef, d as jsxs, fo as useCallback, ho as useEffect, io as cloneElement, l as init_jsx_runtime, lo as init__forkbook_global_react, mo as useDebugValue, o as createPortal, oo as createElement, po as useContext, ro as _forkbook_global_react_exports, s as flushSync, so as createRef, to as Fragment, u as jsx, uo as isValidElement, vo as useLayoutEffect, wo as version, xo as useRef, yo as useMemo } from "./runtime-Db8fJ2MP.js";
|
|
3
|
-
import { S as useSyncExternalStoreWithSelector, x as init_with_selector } from "./runtime-
|
|
3
|
+
import { S as useSyncExternalStoreWithSelector, x as init_with_selector } from "./runtime-DCOIOn4T.js";
|
|
4
4
|
//#region ../../node_modules/@base-ui/utils/useRefWithInit.mjs
|
|
5
5
|
/**
|
|
6
6
|
* A React.useRef() that is initialized with a function. Note that it accepts an optional
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { $ as Separator, Co as useSyncExternalStore, Gt as useStorybookApi, Ht as useGlobals, Nt as init_manager_api, Q as Select, So as useState, Vt as useGlobalTypes, fo as useCallback, ho as useEffect, lo as init__forkbook_global_react, mo as useDebugValue, mt as init_components, no as _forkbook_global_react_default, xo as useRef, yo as useMemo } from "./runtime-Db8fJ2MP.js";
|
|
3
|
-
import { f as Icons, n as init_dev_server, p as init_icon, t as StatusTypeIdMismatchError$1 } from "./runtime-
|
|
3
|
+
import { f as Icons, n as init_dev_server, p as init_icon, t as StatusTypeIdMismatchError$1 } from "./runtime-4wMiTjjZ.js";
|
|
4
4
|
import { a as init_constants$1 } from "./runtime-CZtDJIYj.js";
|
|
5
|
-
import { a as init_esm, i as dedent } from "./runtime-
|
|
6
|
-
import { l as init_isEqual, u as isEqual } from "./runtime-
|
|
7
|
-
import { c as UniversalStoreFollowerTimeoutError, l as init_manager_errors, s as StatusTypeIdMismatchError$2 } from "./runtime-
|
|
5
|
+
import { a as init_esm, i as dedent } from "./runtime-td6oYfU6.js";
|
|
6
|
+
import { l as init_isEqual, u as isEqual } from "./runtime-D8QxTQiI.js";
|
|
7
|
+
import { c as UniversalStoreFollowerTimeoutError, l as init_manager_errors, s as StatusTypeIdMismatchError$2 } from "./runtime-D_FDSHFG.js";
|
|
8
8
|
//#region src/shared/global.ts
|
|
9
9
|
var global;
|
|
10
10
|
function init_global() {
|
|
@@ -389,7 +389,9 @@ function init_announce() {
|
|
|
389
389
|
}
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region src/shared/useCopyButton.ts
|
|
392
|
-
function useCopyButton({ children
|
|
392
|
+
function useCopyButton({ children, childrenOnCopy, content, onCopy, ariaLabel = false, ariaLabelOnCopy = false, duration = 3e3 }) {
|
|
393
|
+
const label = children === void 0 ? "Copy" : children;
|
|
394
|
+
const labelOnCopy = childrenOnCopy === void 0 ? "Copied!" : childrenOnCopy;
|
|
393
395
|
const [copied, setCopied] = useState(false);
|
|
394
396
|
const timerRef = useRef(null);
|
|
395
397
|
useEffect(() => () => {
|
|
@@ -415,7 +417,7 @@ function useCopyButton({ children = "Copy", childrenOnCopy = "Copied!", content,
|
|
|
415
417
|
duration
|
|
416
418
|
]);
|
|
417
419
|
return {
|
|
418
|
-
children: copied ?
|
|
420
|
+
children: copied ? labelOnCopy : label,
|
|
419
421
|
buttonProps: useMemo(() => ({
|
|
420
422
|
onClick: handleClick,
|
|
421
423
|
ariaLabel: copied ? ariaLabelOnCopy : ariaLabel
|
|
@@ -770,6 +772,13 @@ function init_instances() {
|
|
|
770
772
|
}
|
|
771
773
|
//#endregion
|
|
772
774
|
//#region src/shared/universal-store/index.ts
|
|
775
|
+
/**
|
|
776
|
+
* Whether `event` has the type `type`. A custom event's `type` is any string, so a `switch` on
|
|
777
|
+
* `event.type` cannot narrow an event union to one payload, but this check can.
|
|
778
|
+
*/
|
|
779
|
+
function hasType(event, type) {
|
|
780
|
+
return event.type === type;
|
|
781
|
+
}
|
|
773
782
|
var CHANNEL_EVENT_PREFIX, ProgressState, UniversalStore;
|
|
774
783
|
function init_universal_store() {
|
|
775
784
|
return (init_universal_store = __esmMin((() => {
|
|
@@ -1049,8 +1058,8 @@ function init_universal_store() {
|
|
|
1049
1058
|
*/
|
|
1050
1059
|
onStateChange(listener) {
|
|
1051
1060
|
this.debug("onStateChange", { listener });
|
|
1052
|
-
return this.subscribe(UniversalStore.InternalEventType.SET_STATE, (
|
|
1053
|
-
listener(payload.state, payload.previousState, eventInfo);
|
|
1061
|
+
return this.subscribe(UniversalStore.InternalEventType.SET_STATE, (event, eventInfo) => {
|
|
1062
|
+
if (hasType(event, UniversalStore.InternalEventType.SET_STATE)) listener(event.payload.state, event.payload.previousState, eventInfo);
|
|
1054
1063
|
});
|
|
1055
1064
|
}
|
|
1056
1065
|
emitToChannel(event, eventInfo) {
|
|
@@ -1133,10 +1142,9 @@ function init_universal_store() {
|
|
|
1133
1142
|
});
|
|
1134
1143
|
}
|
|
1135
1144
|
}
|
|
1136
|
-
if (this.actor.type === UniversalStore.ActorType.FOLLOWER
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
if (this.syncing?.state !== ProgressState.PENDING) break;
|
|
1145
|
+
if (this.actor.type === UniversalStore.ActorType.FOLLOWER && hasType(event, UniversalStore.InternalEventType.EXISTING_STATE_RESPONSE)) {
|
|
1146
|
+
this.debug("handleChannelEvents: Setting state from leader's existing state response", { event });
|
|
1147
|
+
if (this.syncing?.state === ProgressState.PENDING) {
|
|
1140
1148
|
this.syncing.resolve?.();
|
|
1141
1149
|
const setStateEvent = {
|
|
1142
1150
|
type: UniversalStore.InternalEventType.SET_STATE,
|
|
@@ -1147,11 +1155,11 @@ function init_universal_store() {
|
|
|
1147
1155
|
};
|
|
1148
1156
|
this.state = event.payload;
|
|
1149
1157
|
this.emitToListeners(setStateEvent, eventInfo);
|
|
1158
|
+
}
|
|
1150
1159
|
}
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
this.state = event.payload.state;
|
|
1160
|
+
if (hasType(event, UniversalStore.InternalEventType.SET_STATE)) {
|
|
1161
|
+
this.debug("handleChannelEvents: Setting state", { event });
|
|
1162
|
+
this.state = event.payload.state;
|
|
1155
1163
|
}
|
|
1156
1164
|
this.emitToListeners(event, { actor: eventInfo.actor });
|
|
1157
1165
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
2
|
import { Ct as themeToCssVars, Dt as addons, Nt as init_manager_api, St as init_theming, Xa as init_core_events, Ya as core_events_default, f as init_create, ho as useEffect, lo as init__forkbook_global_react, no as _forkbook_global_react_default, wt as useTheme, xt as globalCss, yo as useMemo, yt as cssVarsToString } from "./runtime-Db8fJ2MP.js";
|
|
3
|
-
import { H as global, U as init_global, _ as init_tags$1, a as UNIVERSAL_STATUS_STORE_OPTIONS, c as init_status_store, d as StorybookError, f as init_storybook_error, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, i as init_universal_store, n as useUniversalStore, r as UniversalStore, s as createStatusStore, t as init_use_universal_store_manager } from "./runtime-
|
|
4
|
-
import { D as ManagerErrorBoundary, E as useLayout, O as init_ManagerErrorBoundary, S as init_Layout, T as init_LayoutProvider, _ as ReviewPersistentLayer, b as useReviewContext, g as init_ReviewProvider, h as ReviewProvider, i as init_Sidebar, l as PreviewConnected, m as init_Panel, p as Panel, r as Sidebar, u as init_Preview, v as init_ReviewPersistentLayer, x as Layout, y as init_review_context } from "./runtime-
|
|
5
|
-
import { c as require_memoizerific } from "./runtime-
|
|
3
|
+
import { H as global, U as init_global, _ as init_tags$1, a as UNIVERSAL_STATUS_STORE_OPTIONS, c as init_status_store, d as StorybookError, f as init_storybook_error, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, i as init_universal_store, n as useUniversalStore, r as UniversalStore, s as createStatusStore, t as init_use_universal_store_manager } from "./runtime-DCOIOn4T.js";
|
|
4
|
+
import { D as ManagerErrorBoundary, E as useLayout, O as init_ManagerErrorBoundary, S as init_Layout, T as init_LayoutProvider, _ as ReviewPersistentLayer, b as useReviewContext, g as init_ReviewProvider, h as ReviewProvider, i as init_Sidebar, l as PreviewConnected, m as init_Panel, p as Panel, r as Sidebar, u as init_Preview, v as init_ReviewPersistentLayer, x as Layout, y as init_review_context } from "./runtime-lPbyY_f5.js";
|
|
5
|
+
import { c as require_memoizerific } from "./runtime-td6oYfU6.js";
|
|
6
6
|
//#region src/manager-api/modules/layout.ts
|
|
7
7
|
var document$1, isPagesViewMode, focusableUIElements;
|
|
8
8
|
function init_layout() {
|