@aussieljk/forkbook 0.0.1-11 → 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/README.md +1 -1
- package/assets/create/rendererAssets/common/button.css +6 -6
- package/assets/create/rendererAssets/common/header.css +5 -5
- package/assets/create/rendererAssets/common/page.css +10 -10
- package/dist/_browser-chunks/{Color-QLZNXLSV.js → Color-2EUQ6NXV.js} +2 -2
- package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-GNLRTZDF.js → WithTooltip-QCFTNB6P.js} +5 -4
- package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6ELMKWKX.js → chunk-2WZWS7GJ.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-ZHKZKFY4.js → chunk-6SL45YM3.js} +9 -13
- package/dist/_browser-chunks/{chunk-DS2WQZGO.js → chunk-BLCZ3C5M.js} +41 -62
- package/dist/_browser-chunks/{chunk-7DQREF4S.js → chunk-DHTLVXAL.js} +37 -44
- package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-DISGPOF4.js} +54 -51
- package/dist/_browser-chunks/{chunk-76222HQR.js → chunk-E6QKKKLO.js} +20 -5
- package/dist/_browser-chunks/{chunk-DYNTDJ3O.js → chunk-EBSOKHFG.js} +8 -2
- package/dist/_browser-chunks/{chunk-3M5T7BW4.js → chunk-ECMVTOVD.js} +1 -1
- package/dist/_browser-chunks/{chunk-EQKMUQF3.js → chunk-ENHFQXYS.js} +5 -4
- package/dist/_browser-chunks/{chunk-KYSD26D6.js → chunk-EW2M3URL.js} +90 -83
- package/dist/_browser-chunks/{chunk-I4ATZPNZ.js → chunk-FCULT3AE.js} +3 -3
- package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
- package/dist/_browser-chunks/{chunk-NGMQJMCY.js → chunk-HZFHNYRC.js} +1 -1
- package/dist/_browser-chunks/{chunk-5H4KFI44.js → chunk-KQJ4T6JL.js} +30 -24
- package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-NK5SGJNG.js} +22 -17
- package/dist/_browser-chunks/{chunk-N3NRW5XX.js → chunk-PQRPDA4U.js} +3 -3
- package/dist/_browser-chunks/{chunk-2JDQ35OA.js → chunk-PU7D2WDP.js} +0 -11
- package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-QFO2B4X2.js} +31 -28
- package/dist/_browser-chunks/{chunk-TTBPZQ24.js → chunk-S7N7Z5TY.js} +47 -43
- package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
- package/dist/_browser-chunks/{chunk-WBLVFDJT.js → chunk-UH3XTEOQ.js} +716 -658
- package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
- package/dist/_browser-chunks/{chunk-O24AZJZ7.js → chunk-YJO5BK52.js} +7 -3
- package/dist/_browser-chunks/{chunk-3HM3VWJS.js → chunk-ZF37BMDS.js} +6 -2
- package/dist/_browser-chunks/{chunk-QU4RB2WU.js → chunk-ZF5SPY56.js} +4 -4
- package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
- package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-J2AKT5WI.js → attached-runtime-7IRDQUTZ.js} +28 -29
- package/dist/_node-chunks/{builder-manager-Z4RWF4ZH.js → builder-manager-YTALSWKQ.js} +39 -28
- package/dist/_node-chunks/{chunk-2WVLC5M2.js → chunk-26ERGIQH.js} +6 -6
- package/dist/_node-chunks/{chunk-VZG3OKFO.js → chunk-33T4HNF2.js} +6 -6
- package/dist/_node-chunks/{chunk-ZEYODVQT.js → chunk-3F3673RQ.js} +7 -7
- package/dist/_node-chunks/{chunk-Y4W4B3E7.js → chunk-3FLRYZLJ.js} +6 -6
- package/dist/_node-chunks/{chunk-AVL7GUOZ.js → chunk-3L2QRDKH.js} +522 -1045
- package/dist/_node-chunks/{chunk-XO54HM4P.js → chunk-3NH7IHUS.js} +6 -6
- package/dist/_node-chunks/{chunk-GMKLTDKN.js → chunk-3ZAENV5A.js} +6 -6
- package/dist/_node-chunks/{chunk-3IIQSDCO.js → chunk-4B52HLKK.js} +53 -55
- package/dist/_node-chunks/chunk-4CZJ4SFH.js +281 -0
- package/dist/_node-chunks/{chunk-BBU2FUPC.js → chunk-4IIWFG7O.js} +13 -11
- package/dist/_node-chunks/{chunk-2U5J7YTA.js → chunk-4YWZLOAF.js} +6 -6
- package/dist/_node-chunks/{chunk-XVOIYGTJ.js → chunk-5A5XOSRM.js} +6 -6
- package/dist/_node-chunks/chunk-5T6Q7HT3.js +11 -0
- package/dist/_node-chunks/{chunk-MI7WBXWX.js → chunk-6DRDJF2Q.js} +6 -6
- package/dist/_node-chunks/{chunk-WBCKO5LP.js → chunk-6JSZY5TJ.js} +6 -6
- package/dist/_node-chunks/{chunk-3EBGFRAH.js → chunk-7SPDKMDQ.js} +32 -40
- package/dist/_node-chunks/{chunk-IRPQQARO.js → chunk-7YLKDHLZ.js} +7 -7
- package/dist/_node-chunks/{chunk-BSQB5B57.js → chunk-7YQIVUEK.js} +6 -6
- package/dist/_node-chunks/{chunk-PYVGF5F2.js → chunk-ADCQYK3Z.js} +6 -6
- package/dist/_node-chunks/{chunk-7YQTID2W.js → chunk-ALHQVE5R.js} +6 -6
- package/dist/_node-chunks/{chunk-MW4OAPPD.js → chunk-B4XAZ2OC.js} +8 -8
- package/dist/_node-chunks/{chunk-GGCOG7OV.js → chunk-BFQJF3ID.js} +283 -306
- package/dist/_node-chunks/{chunk-5GOXN5M4.js → chunk-BSXI35KM.js} +7 -7
- package/dist/_node-chunks/{chunk-TAMTPVYZ.js → chunk-BZQF5KUE.js} +7 -7
- package/dist/_node-chunks/{chunk-5JLVSH44.js → chunk-CEIESR4U.js} +8 -8
- package/dist/_node-chunks/{chunk-OJWUUSA4.js → chunk-CESXIP3N.js} +6 -6
- package/dist/_node-chunks/{chunk-CEYSYQLV.js → chunk-DAEUTT3I.js} +6 -6
- package/dist/_node-chunks/{chunk-FB2BOL6I.js → chunk-DIC4T2UO.js} +6 -6
- package/dist/_node-chunks/{chunk-LKITAODU.js → chunk-DPOWAA4P.js} +37 -31
- package/dist/_node-chunks/{chunk-W3KFVTWV.js → chunk-DTNEHO4J.js} +10 -10
- package/dist/_node-chunks/{chunk-C5OFHB3N.js → chunk-DY7F7B6V.js} +7 -7
- package/dist/_node-chunks/{chunk-FUG5LYKS.js → chunk-E56UKDJR.js} +8 -8
- package/dist/_node-chunks/{chunk-A7GEBS3Q.js → chunk-EFX2VA4Q.js} +6 -6
- package/dist/_node-chunks/{chunk-PQTEFQIJ.js → chunk-EM6AYELK.js} +10 -12
- package/dist/_node-chunks/{chunk-32FLWHUC.js → chunk-F2AFT3P7.js} +497 -475
- package/dist/_node-chunks/{chunk-OXT6T4AS.js → chunk-GC7NA2Y7.js} +7 -7
- package/dist/_node-chunks/{chunk-55S3GGGC.js → chunk-GIKCT5KG.js} +7 -7
- package/dist/_node-chunks/{chunk-PXOD36TR.js → chunk-GLNHSUKT.js} +20 -20
- package/dist/_node-chunks/{chunk-BKND5XP2.js → chunk-GQZZQB4K.js} +7 -7
- package/dist/_node-chunks/{chunk-GTXZNA2L.js → chunk-GRN6WQC3.js} +10 -10
- package/dist/_node-chunks/{chunk-6UASHVMR.js → chunk-HCMHVV7N.js} +8 -8
- package/dist/_node-chunks/{chunk-IVAOJWPF.js → chunk-HJVZQS65.js} +7 -7
- package/dist/_node-chunks/{chunk-ER3X3AQ7.js → chunk-I26RGEVQ.js} +7 -7
- package/dist/_node-chunks/{chunk-LAIED5XU.js → chunk-I36FPWMO.js} +6 -6
- package/dist/_node-chunks/{chunk-W7HY3ELZ.js → chunk-IDPQ3CVN.js} +474 -479
- package/dist/_node-chunks/{chunk-36LPBTLF.js → chunk-JUVUVVHI.js} +6 -6
- package/dist/_node-chunks/{chunk-DGWKJQ6G.js → chunk-K6TEIAKH.js} +62 -7
- package/dist/_node-chunks/{chunk-7IOSIYW2.js → chunk-KEXQ3BON.js} +7 -7
- package/dist/_node-chunks/{chunk-NLNAIU4I.js → chunk-KUZSE7ZD.js} +9 -9
- package/dist/_node-chunks/chunk-LJ5JRR5Q.js +18 -0
- package/dist/_node-chunks/{chunk-YBG7HVP7.js → chunk-LMGI47HP.js} +8 -8
- package/dist/_node-chunks/{chunk-6E34W4UX.js → chunk-LPIPPSMS.js} +6 -6
- package/dist/_node-chunks/{chunk-XICRXTTE.js → chunk-LR4W5G37.js} +6 -6
- package/dist/_node-chunks/{chunk-VKRGTLQJ.js → chunk-M4MRBEJI.js} +27 -23
- package/dist/_node-chunks/{chunk-REIDJUVJ.js → chunk-M7BVABR2.js} +20 -16
- package/dist/_node-chunks/{chunk-XCJ2ZIQ4.js → chunk-MK2RPLWT.js} +7 -7
- package/dist/_node-chunks/{chunk-LHNHFYK3.js → chunk-MKSEM5C2.js} +6 -6
- package/dist/_node-chunks/{chunk-RNRGXAFV.js → chunk-MWQIBOUB.js} +6 -6
- package/dist/_node-chunks/{chunk-NFDQT7UW.js → chunk-NAXIA2JI.js} +320 -316
- package/dist/_node-chunks/{chunk-GYFR2JLS.js → chunk-NDVIMCIX.js} +7 -7
- package/dist/_node-chunks/{chunk-D5ADPGA4.js → chunk-NIOVXWQZ.js} +6 -6
- package/dist/_node-chunks/{chunk-54EHKXV7.js → chunk-NRP4FGRT.js} +15 -9
- package/dist/_node-chunks/{chunk-NIQSBBT2.js → chunk-NSNBFXVB.js} +7 -7
- package/dist/_node-chunks/{chunk-Z2ZTDQDY.js → chunk-NTUTJAD4.js} +8 -8
- package/dist/_node-chunks/{chunk-XH5CXH53.js → chunk-O46DZ2KC.js} +8 -8
- package/dist/_node-chunks/{chunk-S3NDLFYL.js → chunk-OH5M2YER.js} +7 -7
- package/dist/_node-chunks/{chunk-FTYDKQCO.js → chunk-OSIENBU6.js} +6 -6
- package/dist/_node-chunks/{chunk-76KKKLEE.js → chunk-OVJZBW54.js} +7 -7
- package/dist/_node-chunks/{chunk-WO4UEQI6.js → chunk-PGIDRLZ5.js} +22 -22
- package/dist/_node-chunks/{chunk-J3SM62J3.js → chunk-PJCSZR4T.js} +8 -8
- package/dist/_node-chunks/{chunk-OPT5A55S.js → chunk-PQXP5FZ2.js} +8 -8
- package/dist/_node-chunks/{chunk-5P4N734V.js → chunk-PU33WSBW.js} +34 -52
- package/dist/_node-chunks/{chunk-APPFF22V.js → chunk-PUBZLLNL.js} +7 -7
- package/dist/_node-chunks/{chunk-ALGQMFMN.js → chunk-QWZZX2HN.js} +6 -6
- package/dist/_node-chunks/{chunk-NLLM4MDK.js → chunk-RMUBUNBY.js} +6 -6
- package/dist/_node-chunks/{chunk-SJXLINHV.js → chunk-S33FEPQ3.js} +6 -6
- package/dist/_node-chunks/{chunk-FEC5PGJO.js → chunk-SHP6447T.js} +7 -7
- package/dist/_node-chunks/{chunk-MBIVTOJK.js → chunk-ST3KB36E.js} +6 -6
- package/dist/_node-chunks/{chunk-AKMPPLT5.js → chunk-SXX75O2D.js} +7 -7
- package/dist/_node-chunks/{chunk-6UAJLEIO.js → chunk-TQ5YAQ4Y.js} +6 -6
- package/dist/_node-chunks/{chunk-R7VDUSKY.js → chunk-TSJ3JCNN.js} +16 -10
- package/dist/_node-chunks/{chunk-TKMXEHM4.js → chunk-UYEX6LW6.js} +7 -7
- package/dist/_node-chunks/{chunk-46Y5H6X5.js → chunk-VJLLEKWR.js} +138 -116
- package/dist/_node-chunks/{chunk-IFAV3CER.js → chunk-WWJKLYU5.js} +10 -10
- package/dist/_node-chunks/{chunk-MXLHIEXC.js → chunk-XC7K4QEX.js} +6 -6
- package/dist/_node-chunks/{chunk-GO3YSBPE.js → chunk-Y64FM6U7.js} +8 -8
- package/dist/_node-chunks/{chunk-T6P2EJD2.js → chunk-YDM7NH4T.js} +6 -6
- package/dist/_node-chunks/{chunk-XSVOMORJ.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-YDAW5RJV.js → local-runtime-BKID5MBG.js} +19 -20
- package/dist/_node-chunks/{mdx-plugin-XLDET5LV.js → mdx-plugin-7BOUDCZB.js} +13 -13
- package/dist/_node-chunks/{monorepo-NWMAHGOM.js → monorepo-FRHSAJB7.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-4B6IZ7JD.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-PJC4PO6A.js → pattern-copy-play-6TGV6WS4.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-4RININ5C.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-4CWXZ35U.js → rehype-external-links-EE2HT4QP.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-QZ2PWSJH.js → rehype-slug-ZKRW2V6Z.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-ZQR4ER7L.js → relaxed-limits-6Q7VRQC5.js} +11 -11
- package/dist/_node-chunks/{run-U63AXEKZ.js → run-6Y3ZTASZ.js} +23 -21
- package/dist/_node-chunks/{run-BMXB2BW2.js → run-EBHIAT35.js} +18 -18
- package/dist/_node-chunks/{setup-NCUTUBNN.js → setup-6XIF77JT.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-4XHF7XPS.js → vitest.config.4.template-GMQNQ4UW.js} +7 -7
- package/dist/actions/decorator.js +16 -21
- package/dist/actions/index.d.ts +3 -3
- package/dist/actions/index.js +1 -1
- package/dist/addon-a11y/index.js +2 -2
- package/dist/addon-a11y/manager.js +11 -11
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.d.ts +8 -2
- package/dist/addon-a11y/preview.js +2 -2
- package/dist/addon-docs/blocks.d.ts +104 -85
- package/dist/addon-docs/blocks.js +30 -32
- package/dist/addon-docs/index.d.ts +2 -2
- package/dist/addon-docs/index.js +3 -3
- package/dist/addon-docs/manager.js +4 -4
- package/dist/addon-docs/preset.js +12 -12
- package/dist/addon-docs/preview.d.ts +3 -1
- package/dist/addon-docs/preview.js +1 -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 +11 -11
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +16 -16
- 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 +18 -9
- package/dist/addon-vitest/node/coverage-reporter.js +11 -11
- package/dist/addon-vitest/node/vitest.js +34 -34
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +21 -20
- package/dist/addon-vitest/vitest-plugin/global-setup.js +22 -22
- package/dist/addon-vitest/vitest-plugin/index.js +69 -59
- package/dist/babel/index.d.ts +209 -212
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +110 -89
- 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 +18 -18
- 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-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
- package/dist/{chunk-Fg1Fm__9.d.ts → chunk-BCG2ui5q.d.ts} +671 -674
- package/dist/{chunk-DoIGKY33.d.ts → chunk-BLZXEm1K.d.ts} +6 -8
- package/dist/{chunk-CYuvV2sR.d.ts → chunk-BNRZY6Jq.d.ts} +3 -3
- package/dist/{chunk-CNqjcOmK.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-D0NUmzXp.d.ts → chunk-LWwxlbee.d.ts} +4 -4
- package/dist/{chunk-BXLImeLy.d.ts → chunk-u_gGuTrz.d.ts} +23 -8
- package/dist/cli/index.d.ts +3 -3
- package/dist/cli/index.js +25 -30
- 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/client-logger/index.js +2 -1
- package/dist/common/index.d.ts +13 -13
- package/dist/common/index.js +34 -35
- package/dist/components/index.d.ts +46 -35
- package/dist/components/index.js +194 -205
- package/dist/core-events/index.d.ts +2 -2
- package/dist/core-server/index.d.ts +15 -10
- package/dist/core-server/index.js +706 -165
- package/dist/core-server/presets/common-manager.js +254 -336
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +83 -275
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/csf-utils.d.ts +1 -1
- package/dist/csf/index.d.ts +3 -3
- package/dist/csf/index.js +40 -43
- package/dist/csf-tools/index.d.ts +52 -44
- package/dist/csf-tools/index.js +13 -13
- package/dist/docs-tools/index.d.ts +332 -16
- package/dist/docs-tools/index.js +3 -3
- package/dist/instrumenter/index.d.ts +5 -5
- package/dist/instrumenter/index.js +25 -15
- package/dist/manager/_manager-chunks/{globals-runtime-DvV_TF3-.js → globals-runtime-B4NRbNSS.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-wjkxyMn0.js → globals-runtime-BC43T1rL.js} +4150 -50
- package/dist/manager/_manager-chunks/{globals-runtime-BSj0mCjE.js → globals-runtime-BgWmCsA7.js} +114 -110
- package/dist/manager/_manager-chunks/{globals-runtime-CA8AuIRT.js → globals-runtime-BnQ7i5wq.js} +232 -228
- package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
- package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C5gK7HhH.js → globals-runtime-C59T0h-j.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-CCTA-XPa.js → globals-runtime-CCZrdft6.js} +5 -4
- package/dist/manager/_manager-chunks/{globals-runtime-BY3epqww.js → globals-runtime-CS41oTca.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-Bu9eGDTe.js → globals-runtime-Cccwtspx.js} +288 -420
- package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BweHuXkK.js → globals-runtime-DCmvKMN5.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-C92M_Vnq.js → globals-runtime-Ddp2jFET.js} +5 -5
- package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
- package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
- package/dist/manager/_manager-chunks/{globals-runtime-CHjExYMv.js → globals-runtime-UFDJQlo-.js} +741 -540
- package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bj5KDUJi.js → globals-runtime-oRjPg2jY.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-4wMiTjjZ.js +552 -0
- package/dist/manager/_manager-chunks/{runtime--hR2NZFd.js → runtime-AvqHE9rM.js} +112 -109
- package/dist/manager/_manager-chunks/{runtime-EPerAEAs.js → runtime-CZtDJIYj.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-B6NL14pz.js → runtime-D8QxTQiI.js} +6 -6
- package/dist/manager/_manager-chunks/{runtime-BAsOe1C_.js → runtime-DC3oEVlM.js} +49 -49
- package/dist/manager/_manager-chunks/{runtime-CJQZFUUj.js → runtime-DCOIOn4T.js} +46 -56
- package/dist/manager/_manager-chunks/{runtime-DvB1axgp.js → runtime-D_FDSHFG.js} +13 -13
- package/dist/manager/_manager-chunks/{runtime-Dtbhxq5m.js → runtime-Db8fJ2MP.js} +67 -500
- package/dist/manager/_manager-chunks/{runtime-CgRqs_SK.js → runtime-lPbyY_f5.js} +882 -869
- package/dist/manager/_manager-chunks/{runtime-Dem2xJbS.js → runtime-td6oYfU6.js} +739 -554
- 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 +479 -464
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +9 -9
- package/dist/mocking-utils/index.d.ts +5 -3
- package/dist/mocking-utils/index.js +21 -26
- 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 +2 -2
- package/dist/nextjs-vite/index.js +9 -5
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +12 -12
- package/dist/nextjs-vite/preview.d.ts +2 -1
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
- package/dist/nextjs-vite/vite-plugin/index.js +9 -9
- package/dist/nextjs-vite-plugin/index.js +17 -27
- 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 +18 -18
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +14 -11
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-Bcv1hJky.js → runtime-BYRCSYBN.js} +4148 -48
- package/dist/preview/_chunks/{runtime-WapFVPAh.js → runtime-Bvh_rfnQ.js} +2 -37
- package/dist/preview/_chunks/{runtime-BZ4pNS3g.js → runtime-CdZ1yk7m.js} +3 -3
- package/dist/preview/_chunks/{runtime-BhSZ1Mwt.js → runtime-CsO4apr9.js} +38 -42
- package/dist/preview/_chunks/{runtime-BUnOhg9h.js → runtime-D2MPrqbU.js} +2 -2
- package/dist/preview/_chunks/{runtime-BPwAnlRx.js → runtime-DS0s7U3c.js} +1 -1
- package/dist/preview/_chunks/{runtime-BgPhfM5P.js → runtime-U1Ycy25F.js} +736 -428
- package/dist/preview/_chunks/{runtime-BJwGQok8.js → runtime-tyJLgv6h.js} +221 -60
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +3 -3
- package/dist/preview-api/index.js +8 -8
- 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 +5 -7
- 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.d.ts +37 -36
- package/dist/react-native/index.js +38 -38
- package/dist/react-native/metro/node.d.ts +1 -1
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.d.ts +7 -7
- package/dist/react-native/metro/withForkbook.js +16 -16
- package/dist/react-native/preview.js +4 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-ui/index.d.ts +8 -7
- package/dist/react-native-ui/index.js +1 -8
- package/dist/react-native-ui-common/index.d.ts +30 -9
- package/dist/react-native-ui-common/index.js +26 -31
- 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/index.js +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +7 -7
- package/dist/telemetry/index.d.ts +38 -274
- package/dist/telemetry/index.js +11 -66
- package/dist/test/index.d.ts +2 -2
- package/dist/test/index.js +139 -120
- 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 +2 -2
- package/package.json +16 -16
- package/template/nextjs-vite/cli/js/Button.jsx +2 -2
- package/template/nextjs-vite/cli/js/Header.jsx +1 -1
- package/template/nextjs-vite/cli/js/Page.jsx +1 -1
- package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
- package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
- package/template/nextjs-vite/cli/ts/Page.tsx +1 -1
- package/template/react/cli/js/Button.jsx +2 -2
- package/template/react/cli/js/Header.jsx +1 -1
- package/template/react/cli/js/Page.jsx +1 -1
- package/template/react/cli/ts/Button.tsx +2 -2
- package/template/react/cli/ts/Header.tsx +1 -1
- package/template/react/cli/ts/Page.tsx +1 -1
- package/template/react-vite/cli/js/Button.jsx +2 -2
- package/template/react-vite/cli/js/Header.jsx +1 -1
- package/template/react-vite/cli/js/Page.jsx +1 -1
- package/template/react-vite/cli/ts/Button.tsx +2 -2
- package/template/react-vite/cli/ts/Header.tsx +1 -1
- package/template/react-vite/cli/ts/Page.tsx +1 -1
- package/dist/_node-chunks/chunk-2YNXKY72.js +0 -40
- package/dist/_node-chunks/chunk-3NST2GUZ.js +0 -33
- package/dist/_node-chunks/chunk-4D325SMT.js +0 -1359
- package/dist/_node-chunks/chunk-APXRPW7A.js +0 -11
- package/dist/_node-chunks/chunk-QHBQRPDP.js +0 -155
- package/dist/_node-chunks/chunk-SMBAR4G6.js +0 -18
- package/dist/_node-chunks/chunk-SRDKK3SG.js +0 -33
- package/dist/_node-chunks/chunk-V5IMPC3J.js +0 -33
- package/dist/_node-chunks/chunk-YIAUHGY2.js +0 -69
- package/dist/_node-chunks/dist-C5QIQD3G.js +0 -27
- package/dist/_node-chunks/dist-NBRPZCHX.js +0 -16
- package/dist/_node-chunks/optimized-tests-EIPJR7HA.js +0 -22
- package/dist/_node-chunks/postinstallAddon-EOAAURMG.js +0 -20
- package/dist/_node-chunks/session-id-HEW5JUNB.js +0 -23
- package/dist/chunk-BGhyFTJO.d.ts +0 -115
- package/dist/chunk-DaVb55-_.d.ts +0 -124
- package/dist/manager/_manager-chunks/globals-runtime-Bs75QQ_I.js +0 -9987
- package/dist/manager/_manager-chunks/globals-runtime-WZKaeKm9.js +0 -4091
- package/dist/manager/_manager-chunks/runtime-5o_11Jae.js +0 -78
- package/dist/preview/_chunks/runtime-BsMjBzuq.js +0 -53
- package/dist/preview/_chunks/runtime-C1jgT6tJ.js +0 -4091
- package/dist/preview/_chunks/runtime-CkOhMcXf.js +0 -387
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-ZF5SPY56.js";
|
|
5
5
|
import {
|
|
6
6
|
ArgsTable,
|
|
7
7
|
BooleanControl,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
parse,
|
|
22
22
|
parseDate,
|
|
23
23
|
parseTime
|
|
24
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
+
} from "../_browser-chunks/chunk-UH3XTEOQ.js";
|
|
25
25
|
import "../_browser-chunks/chunk-PJSMZ27A.js";
|
|
26
|
-
import "../_browser-chunks/chunk-
|
|
26
|
+
import "../_browser-chunks/chunk-2WZWS7GJ.js";
|
|
27
27
|
import {
|
|
28
28
|
clsx
|
|
29
29
|
} from "../_browser-chunks/chunk-CNED6RYH.js";
|
|
@@ -39,7 +39,7 @@ import "../_browser-chunks/chunk-NULBREPZ.js";
|
|
|
39
39
|
import {
|
|
40
40
|
groupEntriesByComponent
|
|
41
41
|
} from "../_browser-chunks/chunk-PZQRXPVR.js";
|
|
42
|
-
import "../_browser-chunks/chunk-
|
|
42
|
+
import "../_browser-chunks/chunk-PU7D2WDP.js";
|
|
43
43
|
import "../_browser-chunks/chunk-IE4ULIOQ.js";
|
|
44
44
|
import "../_browser-chunks/chunk-JWSKPMPC.js";
|
|
45
45
|
import "../_browser-chunks/chunk-JPUOQJUI.js";
|
|
@@ -48,18 +48,18 @@ import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
|
48
48
|
// src/addon-docs/blocks/components/DocsPage.tsx
|
|
49
49
|
import { withReset as withReset2 } from "@aussieljk/forkbook/internal/components";
|
|
50
50
|
|
|
51
|
-
//
|
|
51
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/DocsPage.module.css
|
|
52
52
|
var id = "core/src/addon-docs/blocks/components/DocsPage.module.css";
|
|
53
53
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
54
54
|
let style = document.createElement("style");
|
|
55
55
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-JTDUUW-subtitle{font-weight:var(--fb-weight-regular);font-size:var(--fb-size-s3);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .25));border-bottom:none;margin-bottom:15px;line-height:20px;@media (width>=600px){font-size:var(--fb-size-m1);margin-bottom:24px;line-height:28px}}.fb-JTDUUW-docsWrapper{background:var(--fb-background-content);box-sizing:border-box;flex-direction:row-reverse;justify-content:center;gap:3rem;min-height:100vh;padding:4rem 40px;display:flex}.fb-JTDUUW-docsContent{--docs-code-border:var(--fb-color-mediumlight);--docs-code-color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .1));--docs-code-background:var(--fb-color-lighter);--docs-table-header-background:var(--fb-color-lighter);flex:1;width:100%;min-width:0;max-width:1000px;& :where(a:not(.fb-anchor,.fb-unstyled,.fb-unstyled a)),& :where(blockquote:not(.fb-anchor,.fb-unstyled,.fb-unstyled blockquote)),& :where(div:not(.fb-anchor,.fb-unstyled,.fb-unstyled div)),& :where(dl:not(.fb-anchor,.fb-unstyled,.fb-unstyled dl)),& :where(h1:not(.fb-anchor,.fb-unstyled,.fb-unstyled h1)),& :where(h2:not(.fb-anchor,.fb-unstyled,.fb-unstyled h2)),& :where(h3:not(.fb-anchor,.fb-unstyled,.fb-unstyled h3)),& :where(h4:not(.fb-anchor,.fb-unstyled,.fb-unstyled h4)),& :where(h5:not(.fb-anchor,.fb-unstyled,.fb-unstyled h5)),& :where(h6:not(.fb-anchor,.fb-unstyled,.fb-unstyled h6)),& :where(li:not(.fb-anchor,.fb-unstyled,.fb-unstyled li)),& :where(ol:not(.fb-anchor,.fb-unstyled,.fb-unstyled ol)),& :where(p:not(.fb-anchor,.fb-unstyled,.fb-unstyled p)),& :where(pre:not(.fb-anchor,.fb-unstyled,.fb-unstyled pre)),& :where(span:not(.fb-anchor,.fb-unstyled,.fb-unstyled span)),& :where(table:not(.fb-anchor,.fb-unstyled,.fb-unstyled table)),& :where(ul:not(.fb-anchor,.fb-unstyled,.fb-unstyled ul)){font-family:var(--fb-font-base);font-size:var(--fb-size-s3);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:#0000;-webkit-overflow-scrolling:touch;margin:0}& :where(h1:not(.fb-anchor,.fb-unstyled,.fb-unstyled h1)),& :where(h2:not(.fb-anchor,.fb-unstyled,.fb-unstyled h2)),& :where(h3:not(.fb-anchor,.fb-unstyled,.fb-unstyled h3)),& :where(h4:not(.fb-anchor,.fb-unstyled,.fb-unstyled h4)),& :where(h5:not(.fb-anchor,.fb-unstyled,.fb-unstyled h5)),& :where(h6:not(.fb-anchor,.fb-unstyled,.fb-unstyled h6)){cursor:text;color:var(--fb-color-default-text);margin:20px 0 8px;padding:0;position:relative;&:first-of-type{margin-top:0;padding-top:0}&:hover a.anchor{text-decoration:none}& code{font-size:inherit}}& :where(li:not(.fb-anchor,.fb-unstyled,.fb-unstyled li)) code,& :where(p:not(.fb-anchor,.fb-unstyled,.fb-unstyled p)) code{white-space:nowrap;line-height:1;font-size:calc(var(--fb-size-s2) - 1px);border:1px solid var(--docs-code-border);color:var(--docs-code-color);background-color:var(--docs-code-background);border-radius:3px;margin:0 2px;padding:3px 5px}& :where(a:not(.fb-anchor,.fb-unstyled,.fb-unstyled a)){font-size:inherit;color:var(--fb-color-secondary);text-underline-offset:.11em;line-height:24px;text-decoration:underline .03125rem;&.absent{color:#c00}&.anchor{cursor:pointer;margin-left:-30px;padding-left:30px;text-decoration:none;display:block;position:absolute;top:0;bottom:0;left:0}&.anchor:hover,&.anchor:focus{text-decoration:underline}}& :where(blockquote:not(.fb-anchor,.fb-unstyled,.fb-unstyled blockquote)){border-left:4px solid var(--fb-color-medium);color:var(--fb-color-dark);margin:16px 0;padding:0 15px;&>:first-of-type{margin-top:0}&>:last-child{margin-bottom:0}}& :where(dl:not(.fb-anchor,.fb-unstyled,.fb-unstyled dl)){margin:16px 0;padding:0;& dt{margin:16px 0 4px;padding:0;font-size:14px;font-style:italic;font-weight:700}& dt:first-of-type{padding:0}& dt>:first-of-type{margin-top:0}& dt>:last-child{margin-bottom:0}& dd{margin:0 0 16px;padding:0 15px}& dd>:first-of-type{margin-top:0}& dd>:last-child{margin-bottom:0}}& :where(h1:not(.fb-anchor,.fb-unstyled,.fb-unstyled h1)){font-size:var(--fb-size-l1);font-weight:var(--fb-weight-bold)}& :where(h2:not(.fb-anchor,.fb-unstyled,.fb-unstyled h2)){font-size:var(--fb-size-m2);border-bottom:1px solid var(--fb-app-border-color);padding-bottom:4px}& :where(h3:not(.fb-anchor,.fb-unstyled,.fb-unstyled h3)){font-size:var(--fb-size-m1);font-weight:var(--fb-weight-bold)}& :where(h4:not(.fb-anchor,.fb-unstyled,.fb-unstyled h4)){font-size:var(--fb-size-s3)}& :where(h5:not(.fb-anchor,.fb-unstyled,.fb-unstyled h5)){font-size:var(--fb-size-s2)}& :where(h6:not(.fb-anchor,.fb-unstyled,.fb-unstyled h6)){font-size:var(--fb-size-s2);color:var(--fb-color-dark)}& :where(hr:not(.fb-anchor,.fb-unstyled,.fb-unstyled hr)){border:0;border-top:1px solid var(--fb-app-border-color);height:4px;padding:0}& :where(img:not(.fb-anchor,.fb-unstyled,.fb-unstyled img)){max-width:100%}& :where(li:not(.fb-anchor,.fb-unstyled,.fb-unstyled li)){font-size:var(--fb-size-s2);color:var(--fb-color-default-text);line-height:24px;&+li{margin-top:.25em}& ul,& ol{margin-top:.25em;margin-bottom:0}}& :where(ol:not(.fb-anchor,.fb-unstyled,.fb-unstyled ol)),& :where(ul:not(.fb-anchor,.fb-unstyled,.fb-unstyled ul)){margin:16px 0;padding-left:30px;& :first-of-type{margin-top:0}& :last-child{margin-bottom:0}}& :where(ul:not(.fb-anchor,.fb-unstyled,.fb-unstyled ul)){list-style:outside}& :where(p:not(.fb-anchor,.fb-unstyled,.fb-unstyled p)){font-size:var(--fb-size-s2);color:var(--fb-color-default-text);margin:16px 0;line-height:24px}& :where(pre:not(.fb-anchor,.fb-unstyled,.fb-unstyled pre)){font-family:var(--fb-font-mono);white-space:pre-wrap;color:inherit;border-radius:3px;margin:1rem 0;padding:11px 1rem;line-height:18px;&:not(.prismjs){background:0 0;border:none;border-radius:0;margin:0;padding:0}& pre,&.prismjs{white-space:pre-wrap;color:inherit;margin:0;padding:15px;font-size:13px;line-height:19px;& code{color:inherit;font-size:inherit}}& code{white-space:pre}& code,& tt{border:none}}& :where(span:not(.fb-anchor,.fb-unstyled,.fb-unstyled span)){&.frame{display:block;overflow:hidden;&>span{border:1px solid var(--fb-color-medium);float:left;width:auto;margin:13px 0 0;padding:7px;display:block;overflow:hidden}& span img{float:left;display:block}& span span{clear:both;color:var(--fb-color-darkest);padding:5px 0 0;display:block}}&.align-center{clear:both;display:block;overflow:hidden;&>span{text-align:center;margin:13px auto 0;display:block;overflow:hidden}& span img{text-align:center;margin:0 auto}}&.align-right{clear:both;display:block;overflow:hidden;&>span{text-align:right;margin:13px 0 0;display:block;overflow:hidden}& span img{text-align:right;margin:0}}&.float-left{float:left;margin-right:13px;display:block;overflow:hidden;& span{margin:13px 0 0}}&.float-right{float:right;margin-left:13px;display:block;overflow:hidden;&>span{text-align:right;margin:13px auto 0;display:block;overflow:hidden}}}& :where(table:not(.fb-anchor,.fb-unstyled,.fb-unstyled table)){max-width:100%;font-size:var(--fb-size-s2);border-collapse:collapse;border-spacing:0;margin:16px 0;padding:0;line-height:22px;display:block;overflow-x:auto;& tr{margin:0;padding:0}& tr th{font-weight:var(--fb-weight-bold);text-align:left;color:var(--fb-color-default-text);background:var(--docs-table-header-background);border:1px solid var(--fb-app-border-color);vertical-align:bottom;margin:0;padding:8px 12px}& tr td{border:1px solid var(--fb-app-border-color);color:var(--fb-color-default-text);vertical-align:top;margin:0;padding:8px 12px}& tr th :first-of-type,& tr td :first-of-type{margin-top:0}& tr th :last-child,& tr td :last-child{margin-bottom:0}}}:where([data-fb-theme=dark]) .fb-JTDUUW-docsContent{--docs-code-border:var(--fb-color-darker);--docs-code-color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));--docs-code-background:var(--fb-color-border);--docs-table-header-background:var(--fb-color-darker)}", document.head.appendChild(style);
|
|
56
56
|
}
|
|
57
|
-
var DocsPage_default = {
|
|
57
|
+
var DocsPage_default = { docsContent: "fb-JTDUUW-docsContent", docsWrapper: "fb-JTDUUW-docsWrapper", subtitle: "fb-JTDUUW-subtitle" };
|
|
58
58
|
|
|
59
59
|
// src/addon-docs/blocks/components/Title.tsx
|
|
60
60
|
import { withReset } from "@aussieljk/forkbook/internal/components";
|
|
61
61
|
|
|
62
|
-
//
|
|
62
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/Title.module.css
|
|
63
63
|
var id2 = "core/src/addon-docs/blocks/components/Title.module.css";
|
|
64
64
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"]`)) {
|
|
65
65
|
let style = document.createElement("style");
|
|
@@ -69,11 +69,11 @@ var Title_default = { title: "fb-sjHF1G-title" };
|
|
|
69
69
|
|
|
70
70
|
// src/addon-docs/blocks/components/Title.tsx
|
|
71
71
|
import { jsx } from "react/jsx-runtime";
|
|
72
|
-
var Title = ({ className, ...props }) => jsx("h1", { className: clsx(withReset, Title_default.title, className), ...props });
|
|
72
|
+
var Title = ({ className, children, ...props }) => jsx("h1", { className: clsx(withReset, Title_default.title, className), ...props, children });
|
|
73
73
|
|
|
74
74
|
// src/addon-docs/blocks/components/DocsPage.tsx
|
|
75
75
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
76
|
-
var Subtitle = ({ className, ...props }) => jsx2("h2", { className: clsx(withReset2, DocsPage_default.subtitle, className), ...props }), DocsContent = ({ className, ...props }) => jsx2("div", { className: clsx(DocsPage_default.docsContent, className), ...props }), DocsWrapper = ({ className, ...props }) => jsx2("div", { className: clsx(DocsPage_default.docsWrapper, className), ...props }), DocsPageWrapper = ({ children, toc, lang = "en" }) => jsxs(DocsWrapper, { className: "sbdocs sbdocs-wrapper", children: [
|
|
76
|
+
var Subtitle = ({ className, children, ...props }) => jsx2("h2", { className: clsx(withReset2, DocsPage_default.subtitle, className), ...props, children }), DocsContent = ({ className, ...props }) => jsx2("div", { className: clsx(DocsPage_default.docsContent, className), ...props }), DocsWrapper = ({ className, ...props }) => jsx2("div", { className: clsx(DocsPage_default.docsWrapper, className), ...props }), DocsPageWrapper = ({ children, toc, lang = "en" }) => jsxs(DocsWrapper, { className: "sbdocs sbdocs-wrapper", children: [
|
|
77
77
|
toc,
|
|
78
78
|
jsx2(DocsContent, { className: "sbdocs sbdocs-content", lang, children })
|
|
79
79
|
] });
|
|
@@ -177,7 +177,7 @@ var getStoryId = (props, context) => {
|
|
|
177
177
|
return storyProps ? jsx4(Story, { ...storyProps }) : null;
|
|
178
178
|
}, Story2 = withMdxComponentOverride("Story", StoryImpl);
|
|
179
179
|
|
|
180
|
-
//
|
|
180
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/BlockBackground.module.css
|
|
181
181
|
var id3 = "core/src/addon-docs/blocks/components/BlockBackground.module.css";
|
|
182
182
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"]`)) {
|
|
183
183
|
let style = document.createElement("style");
|
|
@@ -249,7 +249,7 @@ var ZoomContext = createContext2({
|
|
|
249
249
|
// src/addon-docs/blocks/components/Story.tsx
|
|
250
250
|
import { Fragment, jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
251
251
|
var storyBlockIdFromId = ({ story, primary }) => `story--${story.id}${primary ? "--primary" : ""}`, InlineStory = (props) => {
|
|
252
|
-
let storyRef = useRef(), [showLoader, setShowLoader] = useState2(!0), [error, setError] = useState2(), { story, height, autoplay, forceInitialArgs, renderStoryToElement } = props;
|
|
252
|
+
let storyRef = useRef(null), [showLoader, setShowLoader] = useState2(!0), [error, setError] = useState2(), { story, height, autoplay, forceInitialArgs, renderStoryToElement } = props;
|
|
253
253
|
return useEffect2(() => {
|
|
254
254
|
if (!(story && storyRef.current))
|
|
255
255
|
return () => {
|
|
@@ -313,13 +313,13 @@ var storyBlockIdFromId = ({ story, primary }) => `story--${story.id}${primary ?
|
|
|
313
313
|
import { Button, Toolbar as SharedToolbar } from "@aussieljk/forkbook/internal/components";
|
|
314
314
|
import { RotateCcwIcon, RefreshCwIcon, ZoomOutIcon, ZoomInIcon, Share2Icon } from "lucide-react";
|
|
315
315
|
|
|
316
|
-
//
|
|
316
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/Toolbar.module.css
|
|
317
317
|
var id4 = "core/src/addon-docs/blocks/components/Toolbar.module.css";
|
|
318
318
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"]`)) {
|
|
319
319
|
let style = document.createElement("style");
|
|
320
320
|
style.setAttribute("data-fb-css", id4), style.textContent = ".fb-zhwxuG-absoluteBar{align-items:center;transition:transform .2s linear;display:flex;position:absolute;top:0;left:0;right:0}.fb-zhwxuG-wrapper{align-items:center;gap:4px;display:flex}.fb-zhwxuG-iconPlaceholder{background-color:var(--fb-app-border-color);border-radius:2px;width:14px;height:14px;margin:0 7px;animation:1.5s ease-in-out infinite fb-zhwxuG-glow}@keyframes fb-zhwxuG-glow{0%,to{opacity:1}50%{opacity:.4}}", document.head.appendChild(style);
|
|
321
321
|
}
|
|
322
|
-
var Toolbar_default = { wrapper: "fb-zhwxuG-wrapper", iconPlaceholder: "fb-zhwxuG-iconPlaceholder",
|
|
322
|
+
var Toolbar_default = { wrapper: "fb-zhwxuG-wrapper", iconPlaceholder: "fb-zhwxuG-iconPlaceholder", absoluteBar: "fb-zhwxuG-absoluteBar", glow: "fb-zhwxuG-glow" };
|
|
323
323
|
|
|
324
324
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
325
325
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -411,13 +411,13 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
411
411
|
}
|
|
412
412
|
);
|
|
413
413
|
|
|
414
|
-
//
|
|
414
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/Preview.module.css
|
|
415
415
|
var id5 = "core/src/addon-docs/blocks/components/Preview.module.css";
|
|
416
416
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"]`)) {
|
|
417
417
|
let style = document.createElement("style");
|
|
418
418
|
style.setAttribute("data-fb-css", id5), style.textContent = ".fb-3lk6NG-childrenContainer{flex-flow:wrap;display:block;position:relative;overflow:auto;& .innerZoomElementWrapper>*{max-width:calc(100% - 20px);display:inline-block}}.fb-3lk6NG-childrenContainer:where([data-flex]){display:flex}.fb-3lk6NG-childrenContainer:where([data-column]){flex-direction:column;& .innerZoomElementWrapper>*{width:calc(100% - 20px);max-width:none;display:block}}.fb-3lk6NG-childrenContainer:where([data-layout=fullscreen]) .innerZoomElementWrapper>*{max-width:100%}.fb-3lk6NG-childrenContainer:where([data-layout=fullscreen][data-column]) .innerZoomElementWrapper>*{width:100%;max-width:none}.fb-3lk6NG-childrenContainer:where([data-layout=padded],[data-layout=centered]){padding:0;& .innerZoomElementWrapper>*{width:auto;border:8px solid #0000!important}}.fb-3lk6NG-childrenContainer:where([data-layout=padded][data-inline],[data-layout=centered][data-inline]){padding:32px 22px}.fb-3lk6NG-childrenContainer:where([data-layout=centered][data-inline]){place-content:center;place-items:center;display:flex}.fb-3lk6NG-childrenContainer:where([data-columns]) .innerZoomElementWrapper>*{min-width:calc(100% / var(--preview-columns) - 20px)}.fb-3lk6NG-actionBar{margin-top:-40px;margin-bottom:40px}.fb-3lk6NG-trailingSnippetWarning{margin-inline:auto 10px}.fb-3lk6NG-previewContainer{--preview-source-background:#000000d9;margin:25px 0 40px;position:relative;overflow:hidden;h3+&{margin-top:16px}}:where([data-fb-theme=dark]) .fb-3lk6NG-previewContainer{--preview-source-background:hsl(from var(--fb-background-content) h s calc(l - 5))}.fb-3lk6NG-previewContainer:where([data-with-toolbar]){padding-top:40px}.fb-3lk6NG-source{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--fb-app-border-radius);border-bottom-right-radius:var(--fb-app-border-radius);background:var(--preview-source-background);color:var(--fb-color-lightest);border:none;margin:0;& button{background:var(--preview-source-background)}}.fb-3lk6NG-positionedToolbar{height:40px;position:absolute;top:0;left:0;right:0}.fb-3lk6NG-skeleton .docs-story{padding-top:32px;padding-bottom:40px}", document.head.appendChild(style);
|
|
419
419
|
}
|
|
420
|
-
var Preview_default = {
|
|
420
|
+
var Preview_default = { previewContainer: "fb-3lk6NG-previewContainer", childrenContainer: "fb-3lk6NG-childrenContainer", source: "fb-3lk6NG-source", trailingSnippetWarning: "fb-3lk6NG-trailingSnippetWarning", actionBar: "fb-3lk6NG-actionBar", skeleton: "fb-3lk6NG-skeleton", positionedToolbar: "fb-3lk6NG-positionedToolbar" };
|
|
421
421
|
|
|
422
422
|
// src/addon-docs/blocks/components/Preview.tsx
|
|
423
423
|
import { Fragment as Fragment3, jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -587,13 +587,13 @@ var TabbedArgsTable = ({ tabs, ...props }) => {
|
|
|
587
587
|
// src/addon-docs/blocks/components/Typeset.tsx
|
|
588
588
|
import { withReset as withReset3 } from "@aussieljk/forkbook/internal/components";
|
|
589
589
|
|
|
590
|
-
//
|
|
590
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/Typeset.module.css
|
|
591
591
|
var id6 = "core/src/addon-docs/blocks/components/Typeset.module.css";
|
|
592
592
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"]`)) {
|
|
593
593
|
let style = document.createElement("style");
|
|
594
594
|
style.setAttribute("data-fb-css", id6), style.textContent = ".fb-JrHkka-label{font-size:var(--fb-size-s1);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .4));margin-right:30px}:where([data-fb-theme=dark]) .fb-JrHkka-label{color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .6))}.fb-JrHkka-sample{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fb-JrHkka-typeSpecimen{flex-direction:row;align-items:baseline;display:flex;&:not(:last-child){margin-bottom:1rem}}.fb-JrHkka-wrapper{margin:25px 0 40px;padding:30px 20px}", document.head.appendChild(style);
|
|
595
595
|
}
|
|
596
|
-
var Typeset_default = {
|
|
596
|
+
var Typeset_default = { label: "fb-JrHkka-label", sample: "fb-JrHkka-sample", wrapper: "fb-JrHkka-wrapper", typeSpecimen: "fb-JrHkka-typeSpecimen" };
|
|
597
597
|
|
|
598
598
|
// src/addon-docs/blocks/components/Typeset.tsx
|
|
599
599
|
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -630,13 +630,13 @@ var Typeset = ({
|
|
|
630
630
|
// src/addon-docs/blocks/components/ColorPalette.tsx
|
|
631
631
|
import { ResetWrapper } from "@aussieljk/forkbook/internal/components";
|
|
632
632
|
|
|
633
|
-
//
|
|
633
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/ColorPalette.module.css
|
|
634
634
|
var id7 = "core/src/addon-docs/blocks/components/ColorPalette.module.css";
|
|
635
635
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"]`)) {
|
|
636
636
|
let style = document.createElement("style");
|
|
637
637
|
style.setAttribute("data-fb-css", id7), style.textContent = '.fb-yLo5nG-itemTitle{font-weight:var(--fb-weight-bold);color:var(--fb-color-default-text)}.fb-yLo5nG-itemSubtitle{color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3))}.fb-yLo5nG-itemDescription{flex:0 0 30%;margin-top:5px;line-height:20px}.fb-yLo5nG-swatchLabel{text-align:center;font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));flex:1;line-height:1;overflow:hidden;&>div{text-overflow:ellipsis;max-width:100%;display:inline-block;overflow:hidden}& span{margin-top:2px;display:block}}.fb-yLo5nG-swatchLabels{flex-direction:row;display:flex}.fb-yLo5nG-swatch{flex:1;position:relative;&:before{background:var(--swatch-background);content:"";width:100%;height:100%;position:absolute;top:0;left:0}}.fb-yLo5nG-swatchColors{background-color:#fff;background-image:repeating-linear-gradient(-45deg,#ccc,#ccc 1px,#fff 1px 16px);background-clip:padding-box;flex-direction:row;height:50px;margin-bottom:5px;display:flex;overflow:hidden}.fb-yLo5nG-swatchSpecimen{flex-direction:column;flex:1;margin-bottom:30px;display:flex;position:relative}.fb-yLo5nG-swatches{flex-direction:row;flex:1;display:flex}.fb-yLo5nG-item{align-items:flex-start;display:flex}.fb-yLo5nG-listName{flex:0 0 30%}.fb-yLo5nG-listSwatches{flex:1}.fb-yLo5nG-listHeading{font-weight:var(--fb-weight-bold);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));flex-direction:row;align-items:center;padding-bottom:20px;display:flex}.fb-yLo5nG-list{font-size:var(--fb-size-s2);flex-direction:column;line-height:20px;display:flex}', document.head.appendChild(style);
|
|
638
638
|
}
|
|
639
|
-
var ColorPalette_default = {
|
|
639
|
+
var ColorPalette_default = { listName: "fb-yLo5nG-listName", listSwatches: "fb-yLo5nG-listSwatches", listHeading: "fb-yLo5nG-listHeading", swatchSpecimen: "fb-yLo5nG-swatchSpecimen", list: "fb-yLo5nG-list", item: "fb-yLo5nG-item", swatchLabels: "fb-yLo5nG-swatchLabels", swatchLabel: "fb-yLo5nG-swatchLabel", swatch: "fb-yLo5nG-swatch", itemDescription: "fb-yLo5nG-itemDescription", swatches: "fb-yLo5nG-swatches", itemSubtitle: "fb-yLo5nG-itemSubtitle", itemTitle: "fb-yLo5nG-itemTitle", swatchColors: "fb-yLo5nG-swatchColors" };
|
|
640
640
|
|
|
641
641
|
// src/addon-docs/blocks/components/ColorPalette.tsx
|
|
642
642
|
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -690,13 +690,13 @@ var ColorItem = ({ title, subtitle, colors }) => jsxs6("div", { className: Color
|
|
|
690
690
|
// src/addon-docs/blocks/components/IconGallery.tsx
|
|
691
691
|
import { ResetWrapper as ResetWrapper2 } from "@aussieljk/forkbook/internal/components";
|
|
692
692
|
|
|
693
|
-
//
|
|
693
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/IconGallery.module.css
|
|
694
694
|
var id8 = "core/src/addon-docs/blocks/components/IconGallery.module.css";
|
|
695
695
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id8}"]`)) {
|
|
696
696
|
let style = document.createElement("style");
|
|
697
697
|
style.setAttribute("data-fb-css", id8), style.textContent = ".fb-P_cJ1a-itemLabel{font-family:var(--fb-font-base);font-size:var(--fb-size-s1);color:var(--fb-color-default-text);word-break:break-word;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:10px;line-height:1.2;display:-webkit-box;overflow:hidden}.fb-P_cJ1a-itemSpecimen{flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden;&>img,&>svg{width:20px;height:20px}}.fb-P_cJ1a-item{flex-direction:row;align-items:center;width:100%;display:inline-flex}.fb-P_cJ1a-list{grid-gap:8px 16px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-auto-rows:50px;grid-auto-flow:dense;display:grid}", document.head.appendChild(style);
|
|
698
698
|
}
|
|
699
|
-
var IconGallery_default = {
|
|
699
|
+
var IconGallery_default = { list: "fb-P_cJ1a-list", itemSpecimen: "fb-P_cJ1a-itemSpecimen", itemLabel: "fb-P_cJ1a-itemLabel", item: "fb-P_cJ1a-item" };
|
|
700
700
|
|
|
701
701
|
// src/addon-docs/blocks/components/IconGallery.tsx
|
|
702
702
|
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
@@ -1222,13 +1222,13 @@ function getTocElement(options) {
|
|
|
1222
1222
|
var tocbot = { destroy, init, refresh };
|
|
1223
1223
|
var tocbot_default = tocbot;
|
|
1224
1224
|
|
|
1225
|
-
//
|
|
1225
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/TableOfContents.module.css
|
|
1226
1226
|
var id9 = "core/src/addon-docs/blocks/components/TableOfContents.module.css";
|
|
1227
1227
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id9}"]`)) {
|
|
1228
1228
|
let style = document.createElement("style");
|
|
1229
1229
|
style.setAttribute("data-fb-css", id9), style.textContent = '.fb-7qSlVa-aside{width:10rem;@media (width<=768px){display:none}}.fb-7qSlVa-nav{width:10rem;font-family:var(--fb-font-base);font-size:var(--fb-size-s2);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:#0000;-webkit-overflow-scrolling:touch;padding-top:4rem;padding-bottom:2rem;position:fixed;top:0;bottom:0;overflow-y:auto;& *{box-sizing:border-box}&>.toc-wrapper>.toc-list,&>.toc-wrapper>.toc-list .toc-list{border-left:solid 2px var(--fb-color-mediumlight);padding-left:0}& .toc-list-item{margin-left:20px;padding-top:3px;padding-bottom:3px;list-style-type:none;position:relative}& .toc-list-item:before{content:"";border-left:solid 2px var(--fb-color-mediumdark);opacity:0;height:100%;transition:opacity .2s;position:absolute;top:0;left:0;transform:translate(-22px)}& .toc-list-item.is-active-li:before{opacity:1}& .toc-list-item>a{color:var(--fb-color-default-text);text-decoration:none}& .toc-list-item.is-active-li>a{color:var(--fb-color-secondary);font-weight:600;text-decoration:none}}.fb-7qSlVa-heading{color:var(--fb-color-default-text);text-transform:uppercase;margin-bottom:10px;font-size:.875em;font-weight:600}', document.head.appendChild(style);
|
|
1230
1230
|
}
|
|
1231
|
-
var TableOfContents_default = { aside: "fb-7qSlVa-aside",
|
|
1231
|
+
var TableOfContents_default = { aside: "fb-7qSlVa-aside", heading: "fb-7qSlVa-heading", nav: "fb-7qSlVa-nav" };
|
|
1232
1232
|
|
|
1233
1233
|
// src/addon-docs/blocks/components/TableOfContents.tsx
|
|
1234
1234
|
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -1911,13 +1911,13 @@ import {
|
|
|
1911
1911
|
import { NAVIGATE_URL as NAVIGATE_URL2 } from "@aussieljk/forkbook/internal/core-events";
|
|
1912
1912
|
import { LinkIcon } from "lucide-react";
|
|
1913
1913
|
|
|
1914
|
-
//
|
|
1914
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/blocks/mdx.module.css
|
|
1915
1915
|
var id10 = "core/src/addon-docs/blocks/blocks/mdx.module.css";
|
|
1916
1916
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id10}"]`)) {
|
|
1917
1917
|
let style = document.createElement("style");
|
|
1918
1918
|
style.setAttribute("data-fb-css", id10), style.textContent = ".fb-HnuX0q-alignmentWrapper{display:block;position:relative;& svg{visibility:hidden}&:hover svg,&:focus-within svg{visibility:visible}}.fb-HnuX0q-anchorWrapper{line-height:inherit;color:inherit;padding-right:8px;position:absolute;top:50%;right:100%;& a{color:inherit;text-decoration:none}}.fb-HnuX0q-anchorWrapper.fb-HnuX0q-anchorWrapper{margin-top:-14px}", document.head.appendChild(style);
|
|
1919
1919
|
}
|
|
1920
|
-
var mdx_default = {
|
|
1920
|
+
var mdx_default = { alignmentWrapper: "fb-HnuX0q-alignmentWrapper", anchorWrapper: "fb-HnuX0q-anchorWrapper" };
|
|
1921
1921
|
|
|
1922
1922
|
// src/addon-docs/blocks/blocks/mdx.tsx
|
|
1923
1923
|
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
@@ -2014,13 +2014,11 @@ var A = components.a, AnchorInPage = ({ hash, children }) => {
|
|
|
2014
2014
|
return jsx20(HeaderWithOcticonAnchor, { as, id: id11, ...rest, children });
|
|
2015
2015
|
let Component2 = as, { as: omittedAs, ...withoutAs } = props;
|
|
2016
2016
|
return jsx20(Component2, { ...nameSpaceClassNames(withoutAs, as) });
|
|
2017
|
-
}, HeadersMdx =
|
|
2018
|
-
(
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
}),
|
|
2023
|
-
{}
|
|
2017
|
+
}, HeadersMdx = Object.fromEntries(
|
|
2018
|
+
SUPPORTED_MDX_HEADERS.map((headerType) => [
|
|
2019
|
+
headerType,
|
|
2020
|
+
(props) => jsx20(HeaderMdx, { as: headerType, ...props })
|
|
2021
|
+
])
|
|
2024
2022
|
);
|
|
2025
2023
|
|
|
2026
2024
|
// src/addon-docs/blocks/blocks/Markdown.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as DocsContainerProps, o as TocParameters } from "../chunk-Ct9xd6IM.js";
|
|
2
|
-
import React$1, { ComponentType } from "react";
|
|
2
|
+
import React$1, { ComponentType, PropsWithChildren } from "react";
|
|
3
3
|
import { Args, DocsContextProps, DocsRenderFunction, ModuleExport, ModuleExports, PreparedStory, Renderer } from "@aussieljk/forkbook/internal/types";
|
|
4
4
|
import { ThemeVars } from "@aussieljk/forkbook/theming";
|
|
5
5
|
|
|
@@ -99,7 +99,7 @@ type SourceBlockParameters = {
|
|
|
99
99
|
* attached, the primary (first) story will be rendered.
|
|
100
100
|
*/
|
|
101
101
|
of: ModuleExport; /** Source code transformations */
|
|
102
|
-
transform?: (code: string, storyContext:
|
|
102
|
+
transform?: (code: string, storyContext: ReturnType<DocsContextProps['getStoryContext']>) => string | Promise<string>;
|
|
103
103
|
/**
|
|
104
104
|
* Specifies how the source code is rendered.
|
|
105
105
|
*
|
package/dist/addon-docs/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DocsRenderer
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
-
import "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-WY2LUGOH.js";
|
|
4
|
+
import "../_browser-chunks/chunk-HX443LKV.js";
|
|
5
5
|
import {
|
|
6
6
|
preview_exports
|
|
7
|
-
} from "../_browser-chunks/chunk-
|
|
7
|
+
} from "../_browser-chunks/chunk-2ELGJRFZ.js";
|
|
8
8
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
9
9
|
|
|
10
10
|
// src/addon-docs/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
5
|
-
import "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-ZF5SPY56.js";
|
|
5
|
+
import "../_browser-chunks/chunk-2WZWS7GJ.js";
|
|
6
6
|
import "../_browser-chunks/chunk-CNED6RYH.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
8
8
|
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
SNIPPET_RENDERED
|
|
22
22
|
} from "@aussieljk/forkbook/internal/docs-tools";
|
|
23
23
|
|
|
24
|
-
//
|
|
24
|
+
// forkbook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/manager.module.css
|
|
25
25
|
var id = "core/src/addon-docs/manager.module.css";
|
|
26
26
|
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
27
27
|
let style = document.createElement("style");
|
|
28
28
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-iSROvG-source{height:100%;position:relative;&>:first-child{height:100%;box-shadow:none;margin:0}}.fb-iSROvG-snippetWarning{position:absolute;top:8px;right:10px}", document.head.appendChild(style);
|
|
29
29
|
}
|
|
30
|
-
var manager_default = {
|
|
30
|
+
var manager_default = { source: "fb-iSROvG-source", snippetWarning: "fb-iSROvG-snippetWarning" };
|
|
31
31
|
|
|
32
32
|
// src/addon-docs/manager.tsx
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.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
|
resolvePackageDir
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-UYEX6LW6.js";
|
|
15
|
+
import "../_node-chunks/chunk-33T4HNF2.js";
|
|
16
|
+
import "../_node-chunks/chunk-6JSZY5TJ.js";
|
|
17
17
|
|
|
18
18
|
// src/addon-docs/preset.ts
|
|
19
19
|
import { isAbsolute } from "node:path";
|
|
@@ -327,7 +327,7 @@ var getResolvedReact = async (options) => {
|
|
|
327
327
|
}, docsMode = options.docs;
|
|
328
328
|
return docsMode && (result.docsMode = docsMode), result;
|
|
329
329
|
}, viteFinal = async (config, options) => {
|
|
330
|
-
let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-
|
|
330
|
+
let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-7BOUDCZB.js"), enrichCsf2 = await options.presets.apply("experimental_enrichCsf"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
|
|
331
331
|
name: "storybook:package-deduplication",
|
|
332
332
|
enforce: "pre",
|
|
333
333
|
config: () => ({
|
|
@@ -351,7 +351,7 @@ var getResolvedReact = async (options) => {
|
|
|
351
351
|
...config,
|
|
352
352
|
plugins
|
|
353
353
|
};
|
|
354
|
-
},
|
|
354
|
+
}, resolvedReact = async (existing) => ({
|
|
355
355
|
react: existing?.react ?? resolvePackageDir("react"),
|
|
356
356
|
reactDom: existing?.reactDom ?? resolvePackageDir("react-dom"),
|
|
357
357
|
mdx: existing?.mdx ?? fileURLToPath(import.meta.resolve("@mdx-js/react"))
|
|
@@ -369,7 +369,7 @@ var getResolvedReact = async (options) => {
|
|
|
369
369
|
"react"
|
|
370
370
|
];
|
|
371
371
|
export {
|
|
372
|
-
|
|
372
|
+
docs,
|
|
373
373
|
manifests as experimental_manifests,
|
|
374
374
|
optimizeViteDeps,
|
|
375
375
|
resolvedReact,
|
|
@@ -13,7 +13,8 @@ interface ParamsCombo {
|
|
|
13
13
|
declare const navigate: (params: ParamsId | ParamsCombo) => void;
|
|
14
14
|
declare const hrefTo: (title: ComponentTitle | undefined, name: StoryName) => Promise<string>;
|
|
15
15
|
declare const hrefToSync: (title: ComponentTitle | undefined, name: StoryName) => string;
|
|
16
|
-
|
|
16
|
+
type Resolver = string | ((...args: any[]) => string);
|
|
17
|
+
declare const linkTo: (idOrTitle: Resolver, nameInput?: Resolver) => (...args: unknown[]) => void;
|
|
17
18
|
declare const withLinks: Addon_MakeDecoratorResult;
|
|
18
19
|
//#endregion
|
|
19
20
|
//#region .dts-emit/code/core/src/addon-links/index.d.ts
|
package/dist/addon-mcp/preset.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_sfnpbdazcnb from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_sfnpbdazcnb from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_sfnpbdazcnb from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_sfnpbdazcnb.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_sfnpbdazcnb.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_sfnpbdazcnb.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
package_default
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-PGIDRLZ5.js";
|
|
15
|
+
import "../_node-chunks/chunk-6JSZY5TJ.js";
|
|
16
16
|
|
|
17
17
|
// src/addon-mcp/mcp-handler.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -388,7 +388,7 @@ function buildContext(server) {
|
|
|
388
388
|
transport: "mcp",
|
|
389
389
|
// The toolset origin is the complete UI base URL, including any deployment subpath.
|
|
390
390
|
origin: resolveToolsetOrigin(server.ctx.custom ?? {}),
|
|
391
|
-
getService
|
|
391
|
+
getService
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
394
|
async function reportToolsetTelemetry(server, event, report) {
|
|
@@ -415,7 +415,7 @@ async function callToolsetMethod(server, options, input) {
|
|
|
415
415
|
function getToolsetToolMetadata(options) {
|
|
416
416
|
let method = resolveMethod(resolveToolset(options), options), descriptionCtx = {
|
|
417
417
|
transport: "mcp",
|
|
418
|
-
getService
|
|
418
|
+
getService
|
|
419
419
|
}, entries = method.input.entries, hasInput = !entries || Object.keys(entries).length > 0;
|
|
420
420
|
return {
|
|
421
421
|
name: toMcpToolName2(options.method),
|
|
@@ -1056,7 +1056,7 @@ var OAuthResourceMetadata = v2.object({
|
|
|
1056
1056
|
}
|
|
1057
1057
|
/** Build WWW-Authenticate header for 401 responses */
|
|
1058
1058
|
buildWwwAuthenticate(origin2) {
|
|
1059
|
-
return `Bearer error="unauthorized", error_description="Authorization needed for composed
|
|
1059
|
+
return `Bearer error="unauthorized", error_description="Authorization needed for composed Forkbooks", resource_metadata="${origin2}/.well-known/oauth-protected-resource"`;
|
|
1060
1060
|
}
|
|
1061
1061
|
/** Build sources configuration: local first, then refs that have manifests. */
|
|
1062
1062
|
buildSources() {
|
|
@@ -4,7 +4,7 @@ var MCP_APP_PARAM = "mcp-app", MCP_APP_SIZE_CHANGED_EVENT = "storybook-mcp:size-
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@aussieljk/forkbook",
|
|
7
|
-
version: "0.0.1-
|
|
7
|
+
version: "0.0.1-13",
|
|
8
8
|
description: "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
|
|
9
9
|
keywords: [
|
|
10
10
|
"forkbook",
|
|
@@ -758,7 +758,7 @@ var package_default = {
|
|
|
758
758
|
"@next/env": "^15.0.0 || ^16.0.0",
|
|
759
759
|
"@nozbe/microfuzz": "^1.0.0",
|
|
760
760
|
"@parcel/watcher": "^2.6.0",
|
|
761
|
-
"@testing-library/dom": "^10.4.
|
|
761
|
+
"@testing-library/dom": "^10.4.2",
|
|
762
762
|
"@testing-library/jest-dom": "6.9.1",
|
|
763
763
|
"@testing-library/user-event": "^14.6.3",
|
|
764
764
|
"@tmcp/adapter-valibot": "^0.1.5",
|
|
@@ -815,22 +815,24 @@ var package_default = {
|
|
|
815
815
|
"@polka/compression": "^1.0.0-next.28",
|
|
816
816
|
"@preact/signals-core": "^1.14.2",
|
|
817
817
|
"@standard-schema/spec": "^1.1.0",
|
|
818
|
-
"@testing-library/react": "^
|
|
818
|
+
"@testing-library/react": "^16.3.3",
|
|
819
819
|
"@tmcp/transport-stdio": "^0.4.3",
|
|
820
820
|
"@types/babel__code-frame": "^7.27.0",
|
|
821
|
+
"@types/babel__generator": "^7.27.0",
|
|
822
|
+
"@types/babel__traverse": "7.28.0",
|
|
821
823
|
"@types/color-convert": "^2.0.0",
|
|
822
824
|
"@types/cross-spawn": "^6.0.6",
|
|
823
825
|
"@types/detect-port": "^1.3.0",
|
|
824
|
-
"@types/diff": "^5.0.9",
|
|
825
826
|
"@types/ejs": "^3.1.1",
|
|
826
827
|
"@types/escodegen": "^0.0.6",
|
|
827
828
|
"@types/estree": "^1.0.6",
|
|
828
829
|
"@types/istanbul-lib-report": "^3.0.3",
|
|
829
830
|
"@types/js-yaml": "^4.0.5",
|
|
830
|
-
"@types/node": "^
|
|
831
|
+
"@types/node": "^26.6.6",
|
|
831
832
|
"@types/picomatch": "^4.0.3",
|
|
832
833
|
"@types/probe-image-size": "^7.2.5",
|
|
833
|
-
"@types/
|
|
834
|
+
"@types/prop-types": "^15.7.15",
|
|
835
|
+
"@types/react": "^19.3.0",
|
|
834
836
|
"@types/semver": "^7.7.1",
|
|
835
837
|
"@types/tinycolor2": "^1.4.6",
|
|
836
838
|
"@types/ws": "^8",
|
|
@@ -841,7 +843,7 @@ var package_default = {
|
|
|
841
843
|
"@vitest/utils": "^3.2.4",
|
|
842
844
|
acorn: "^8.15.0",
|
|
843
845
|
"acorn-jsx": "^5.3.2",
|
|
844
|
-
"acorn-walk": "^
|
|
846
|
+
"acorn-walk": "^8.3.5",
|
|
845
847
|
"ansi-to-html": "^0.7.2",
|
|
846
848
|
"browser-dtector": "^3.4.0",
|
|
847
849
|
chai: "^5.1.1",
|
|
@@ -891,7 +893,6 @@ var package_default = {
|
|
|
891
893
|
nanoid: "^4.0.2",
|
|
892
894
|
next: "^15.2.3",
|
|
893
895
|
"p-limit": "^7.2.0",
|
|
894
|
-
"package-manager-detector": "^1.1.0",
|
|
895
896
|
picocolors: "^1.1.0",
|
|
896
897
|
picomatch: "^4.0.5",
|
|
897
898
|
picoquery: "^2.5.0",
|
|
@@ -899,14 +900,14 @@ var package_default = {
|
|
|
899
900
|
polka: "^1.0.0-next.28",
|
|
900
901
|
"postcss-load-config": "^6.0.1",
|
|
901
902
|
"prop-types": "^15.7.2",
|
|
902
|
-
react: "^
|
|
903
|
+
react: "^19.3.1",
|
|
903
904
|
"react-colorful": "^5.1.2",
|
|
904
|
-
"react-dom": "^
|
|
905
|
+
"react-dom": "^19.3.1",
|
|
905
906
|
"react-element-to-jsx-string": "npm:@7rulnik/react-element-to-jsx-string@15.0.1",
|
|
906
|
-
"react-helmet-async": "^
|
|
907
|
-
"react-inspector": "^
|
|
908
|
-
"react-native": "0.88.
|
|
909
|
-
"react-native-safe-area-context": "5.
|
|
907
|
+
"react-helmet-async": "^3.0.0",
|
|
908
|
+
"react-inspector": "^9.0.0",
|
|
909
|
+
"react-native": "0.88.1",
|
|
910
|
+
"react-native-safe-area-context": "5.11.1",
|
|
910
911
|
"react-router-dom": "6.15.0",
|
|
911
912
|
"react-textarea-autosize": "^8.3.0",
|
|
912
913
|
"react-transition-state": "^2.3.1",
|
|
@@ -916,7 +917,6 @@ var package_default = {
|
|
|
916
917
|
sirv: "^2.0.4",
|
|
917
918
|
slash: "^5.0.0",
|
|
918
919
|
"source-map": "^0.7.4",
|
|
919
|
-
srvx: "^0.8.16",
|
|
920
920
|
"std-env": "^4.0.0",
|
|
921
921
|
store2: "^2.14.2",
|
|
922
922
|
"strip-ansi": "^7.1.0",
|
|
@@ -933,7 +933,7 @@ var package_default = {
|
|
|
933
933
|
"type-fest": "^5.6.0",
|
|
934
934
|
typescript: "^6.0.3",
|
|
935
935
|
"typescript-5": "npm:typescript@5.9.3",
|
|
936
|
-
"use-resize-observer": "^
|
|
936
|
+
"use-resize-observer": "^10.0.0",
|
|
937
937
|
vite: "^8.3.4",
|
|
938
938
|
vitest: "^5.0.0",
|
|
939
939
|
"vitest-axe": "^0.1.0",
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
ADDON_ID,
|
|
3
3
|
PARAM_KEY,
|
|
4
4
|
register
|
|
5
|
-
} from "../_browser-chunks/chunk-
|
|
5
|
+
} from "../_browser-chunks/chunk-BLCZ3C5M.js";
|
|
6
6
|
import "../_browser-chunks/chunk-UMDO3KB7.js";
|
|
7
7
|
import "../_browser-chunks/chunk-S6TK43XQ.js";
|
|
8
8
|
import "../_browser-chunks/chunk-LE2LTDW3.js";
|