@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
|
@@ -907,7 +907,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
907
907
|
let style = document.createElement("style");
|
|
908
908
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-fcntIq-syntaxHighlighter{font-size:var(--fb-size-s1)}.fb-fcntIq-info{flex-direction:column;display:flex}.fb-fcntIq-ruleId{color:var(--fb-text-muted-color);font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);margin-top:-8px;margin-bottom:12px;display:block;@container (width>=800px){display:none}}.fb-fcntIq-description{margin:0}.fb-fcntIq-wrapper{flex-direction:column;gap:20px;padding:0 15px 20px;display:flex}.fb-fcntIq-columns{gap:15px;@container (width>=800px){grid-template-columns:50% 50%;display:grid}}.fb-fcntIq-content{border-left:none;flex-direction:column;gap:15px;margin:0;padding:0;display:none;&[data-side=left]{border-left:1px solid var(--fb-color-border);margin:15px 0;padding:0 15px;display:flex}&:focus-visible{box-shadow:0 0 0 1px inset var(--fb-color-secondary);border-radius:4px;outline:none}@container (width>=800px){display:flex;&[data-side=left]{display:none}}}.fb-fcntIq-item{font-family:var(--fb-font-mono);font-weight:var(--fb-weight-regular);color:var(--fb-text-muted-color);text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;height:40px;padding:0 12px;display:block;overflow:hidden;&[data-active]{color:var(--fb-color-secondary);background-color:var(--fb-background-hoverable)}}.fb-fcntIq-messages{flex-direction:column;gap:10px;display:flex}.fb-fcntIq-actions{gap:10px;display:flex}", document.head.appendChild(style);
|
|
909
909
|
}
|
|
910
|
-
var Details_default = {
|
|
910
|
+
var Details_default = { columns: "fb-fcntIq-columns", description: "fb-fcntIq-description", ruleId: "fb-fcntIq-ruleId", item: "fb-fcntIq-item", messages: "fb-fcntIq-messages", actions: "fb-fcntIq-actions", content: "fb-fcntIq-content", info: "fb-fcntIq-info", syntaxHighlighter: "fb-fcntIq-syntaxHighlighter", wrapper: "fb-fcntIq-wrapper" };
|
|
911
911
|
|
|
912
912
|
// src/addon-a11y/components/Report/Details.tsx
|
|
913
913
|
import { Fragment as Fragment2, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -1027,7 +1027,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"
|
|
|
1027
1027
|
let style = document.createElement("style");
|
|
1028
1028
|
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-Rcvs-q-wrapper{border-bottom:1px solid var(--fb-app-border-color);width:100%;font-size:var(--fb-size-s2);flex-direction:column;display:flex;container-type:inline-size}.fb-Rcvs-q-icon{transition:transform .1s ease-in-out}.fb-Rcvs-q-headerBar{min-height:40px;color:inherit;text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:6px 10px 6px 15px;display:flex;&:hover{color:var(--fb-color-secondary)}}.fb-Rcvs-q-title{font-size:var(--fb-size-s2);flex-grow:1;align-items:baseline;gap:8px;display:flex}.fb-Rcvs-q-ruleId{color:var(--fb-text-muted-color);font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);display:none;@container (width>=800px){display:block}}.fb-Rcvs-q-count{color:var(--fb-text-muted-color);justify-content:center;align-items:center;width:28px;height:28px;display:flex}", document.head.appendChild(style);
|
|
1029
1029
|
}
|
|
1030
|
-
var Report_default = { icon: "fb-Rcvs-q-icon", headerBar: "fb-Rcvs-q-headerBar",
|
|
1030
|
+
var Report_default = { icon: "fb-Rcvs-q-icon", headerBar: "fb-Rcvs-q-headerBar", ruleId: "fb-Rcvs-q-ruleId", wrapper: "fb-Rcvs-q-wrapper", title: "fb-Rcvs-q-title", count: "fb-Rcvs-q-count" };
|
|
1031
1031
|
|
|
1032
1032
|
// src/addon-a11y/components/Report/Report.tsx
|
|
1033
1033
|
import { Fragment as Fragment3, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -1109,7 +1109,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"
|
|
|
1109
1109
|
let style = document.createElement("style");
|
|
1110
1110
|
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-bXrCLq-container{flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.fb-bXrCLq-actions{justify-content:flex-end;gap:6px;display:flex}", document.head.appendChild(style);
|
|
1111
1111
|
}
|
|
1112
|
-
var Tabs_default = {
|
|
1112
|
+
var Tabs_default = { container: "fb-bXrCLq-container", actions: "fb-bXrCLq-actions" };
|
|
1113
1113
|
|
|
1114
1114
|
// src/addon-a11y/components/Tabs.tsx
|
|
1115
1115
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1218,7 +1218,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"
|
|
|
1218
1218
|
let style = document.createElement("style");
|
|
1219
1219
|
style.setAttribute("data-fb-css", id5), style.textContent = ".fb-qxvdxW-rotatingIcon{margin:4px;animation:1s linear infinite fb-qxvdxW-rotate360}@keyframes fb-qxvdxW-rotate360{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fb-qxvdxW-tab{align-items:center;gap:6px;display:flex}.fb-qxvdxW-centered{text-align:center;font-size:var(--fb-size-s2);flex-direction:column;justify-content:center;align-items:center;gap:24px;height:100%;display:flex;& div{flex-direction:column;align-items:center;gap:8px;display:flex}& p{color:var(--fb-text-muted-color);margin:0}& code{font-size:calc(var(--fb-size-s2) - 1px);background-color:var(--fb-background-app);border:1px solid var(--fb-color-border);border-radius:4px;padding:2px 3px;display:inline-block}}", document.head.appendChild(style);
|
|
1220
1220
|
}
|
|
1221
|
-
var A11YPanel_default = {
|
|
1221
|
+
var A11YPanel_default = { tab: "fb-qxvdxW-tab", rotate360: "fb-qxvdxW-rotate360", centered: "fb-qxvdxW-centered", rotatingIcon: "fb-qxvdxW-rotatingIcon" };
|
|
1222
1222
|
|
|
1223
1223
|
// src/addon-a11y/components/A11YPanel.tsx
|
|
1224
1224
|
import { Fragment as Fragment4, jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -1363,7 +1363,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"
|
|
|
1363
1363
|
let style = document.createElement("style");
|
|
1364
1364
|
style.setAttribute("data-fb-css", id6), style.textContent = ".fb-_p72Ja-hidden,.fb-_p72Ja-hidden svg{width:0;height:0;position:absolute}.fb-_p72Ja-colorIcon{width:14px;height:14px;box-shadow:var(--fb-app-border-color) 0 0 0 1px inset;background:linear-gradient(90deg,#f44336,#ff9800,#ffeb3b,#8bc34a,#2196f3,#9c27b0);border-radius:14px;flex-shrink:0;display:block}", document.head.appendChild(style);
|
|
1365
1365
|
}
|
|
1366
|
-
var VisionSimulator_default = {
|
|
1366
|
+
var VisionSimulator_default = { hidden: "fb-_p72Ja-hidden", colorIcon: "fb-_p72Ja-colorIcon" };
|
|
1367
1367
|
|
|
1368
1368
|
// src/addon-a11y/components/VisionSimulator.tsx
|
|
1369
1369
|
import { Fragment as Fragment5, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -1,15 +1,15 @@
|
|
|
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
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-6JSZY5TJ.js";
|
|
13
13
|
|
|
14
14
|
// src/addon-a11y/preset.ts
|
|
15
15
|
var isAddonA11yEnabled = !0;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import { t as A11yParameters } from "../chunk-DgRNfmj_.js";
|
|
2
|
-
import { AfterEach } from "@aussieljk/forkbook/internal/types";
|
|
2
|
+
import { AfterEach, Renderer } from "@aussieljk/forkbook/internal/types";
|
|
3
3
|
|
|
4
4
|
//#region .dts-emit/code/core/src/addon-a11y/preview.d.ts
|
|
5
|
+
declare module '@aussieljk/forkbook/test' {
|
|
6
|
+
interface Assertion<T> {
|
|
7
|
+
/** Added by `vitest-axe` with `expect.extend` below. */
|
|
8
|
+
toHaveNoViolations(): Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
5
11
|
declare const decorators: import("@aussieljk/forkbook/internal/types").DecoratorFunction[];
|
|
6
|
-
declare const afterEach: AfterEach<
|
|
12
|
+
declare const afterEach: AfterEach<Renderer>;
|
|
7
13
|
declare const initialGlobals: {
|
|
8
14
|
a11y: {
|
|
9
15
|
manual: boolean;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
decorators,
|
|
4
4
|
initialGlobals,
|
|
5
5
|
parameters
|
|
6
|
-
} from "../_browser-chunks/chunk-
|
|
6
|
+
} from "../_browser-chunks/chunk-6SL45YM3.js";
|
|
7
7
|
import "../_browser-chunks/chunk-SBOQ4QPY.js";
|
|
8
8
|
import "../_browser-chunks/chunk-OZZPSYQR.js";
|
|
9
9
|
import "../_browser-chunks/chunk-6AKCRYVX.js";
|
|
@@ -3,7 +3,7 @@ import { a as TableOfContents, i as DocsContextProps, n as DocsContainerProps, r
|
|
|
3
3
|
import { Renderer } from "@aussieljk/forkbook/internal/csf";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import React, { ComponentProps, Context, FC, FocusEvent, FunctionComponent, PropsWithChildren, ReactElement, ReactNode } from "react";
|
|
6
|
-
import { Args as Args$1, BaseAnnotations, ComponentTitle, Conditional, DocsContextProps as DocsContextProps$1, ModuleExport, ModuleExports, Parameters as Parameters$1, PreparedStory, Renderer as Renderer$1, ResolvedModuleExportFromType, ResolvedModuleExportType, StoryId as StoryId$1 } from "@aussieljk/forkbook/internal/types";
|
|
6
|
+
import { Args as Args$1, Args as Args$2, BaseAnnotations, ComponentTitle, Conditional, DocsContextProps as DocsContextProps$1, Globals as Globals$2, ModuleExport, ModuleExports, Parameters as Parameters$1, PreparedStory, Renderer as Renderer$1, ResolvedModuleExportFromType, ResolvedModuleExportType, StoryId as StoryId$1 } from "@aussieljk/forkbook/internal/types";
|
|
7
7
|
import { PropDescriptor } from "@aussieljk/forkbook/preview-api";
|
|
8
8
|
import { ActionItem, SupportedLanguage as SupportedLanguage$1, SyntaxHighlighter, SyntaxHighlighterFormatTypes } from "@aussieljk/forkbook/internal/components";
|
|
9
9
|
import { SourceType, anchorBlockIdFromId } from "@aussieljk/forkbook/internal/docs-tools";
|
|
@@ -52,11 +52,96 @@ type PreviewProps = PropsWithChildren<{
|
|
|
52
52
|
}>;
|
|
53
53
|
type Layout = 'padded' | 'fullscreen' | 'centered';
|
|
54
54
|
//#endregion
|
|
55
|
+
//#region .dts-emit/code/core/src/addon-docs/blocks/controls/types.d.ts
|
|
56
|
+
interface ControlProps<T> {
|
|
57
|
+
name: string;
|
|
58
|
+
storyId?: string;
|
|
59
|
+
controlsId?: string;
|
|
60
|
+
value?: T;
|
|
61
|
+
defaultValue?: T;
|
|
62
|
+
argType?: ArgType;
|
|
63
|
+
/** Whether the underlying arg is required; surfaced as `aria-required` on the control's input. */
|
|
64
|
+
required?: boolean;
|
|
65
|
+
onChange: (value?: T) => T | void;
|
|
66
|
+
onFocus?: (evt: FocusEvent<HTMLElement>) => void;
|
|
67
|
+
onBlur?: (evt: FocusEvent<HTMLElement>) => void;
|
|
68
|
+
}
|
|
69
|
+
type BooleanValue = boolean;
|
|
70
|
+
interface BooleanConfig {}
|
|
71
|
+
type ColorValue = string;
|
|
72
|
+
type PresetColor = ColorValue | {
|
|
73
|
+
color: ColorValue;
|
|
74
|
+
title?: string;
|
|
75
|
+
};
|
|
76
|
+
interface ColorConfig {
|
|
77
|
+
presetColors?: PresetColor[];
|
|
78
|
+
/**
|
|
79
|
+
* Maximum number of preset colors shown in the color picker. When the number of presets exceeds
|
|
80
|
+
* this value, the oldest presets are removed first (most-recently-used order). Set to `Infinity`
|
|
81
|
+
* or `0` to disable the limit and show all presets.
|
|
82
|
+
*
|
|
83
|
+
* @default 27
|
|
84
|
+
*/
|
|
85
|
+
maxPresetColors?: number;
|
|
86
|
+
/**
|
|
87
|
+
* Whether the color picker should be open by default when rendered.
|
|
88
|
+
*
|
|
89
|
+
* @default false
|
|
90
|
+
*/
|
|
91
|
+
startOpen?: boolean;
|
|
92
|
+
}
|
|
93
|
+
type DateValue = Date | number;
|
|
94
|
+
interface DateConfig {}
|
|
95
|
+
type NumberValue = number;
|
|
96
|
+
interface NumberConfig {
|
|
97
|
+
min?: number;
|
|
98
|
+
max?: number;
|
|
99
|
+
step?: number;
|
|
100
|
+
}
|
|
101
|
+
type RangeConfig = NumberConfig;
|
|
102
|
+
type ObjectValue = unknown;
|
|
103
|
+
interface ObjectConfig {}
|
|
104
|
+
type OptionsSingleSelection = unknown;
|
|
105
|
+
type OptionsMultiSelection = unknown[];
|
|
106
|
+
type OptionsSelection = OptionsSingleSelection | OptionsMultiSelection;
|
|
107
|
+
type OptionsArray = readonly unknown[];
|
|
108
|
+
type OptionsObject = Record<string, unknown>;
|
|
109
|
+
type Options = OptionsArray | OptionsObject;
|
|
110
|
+
type OptionsControlType = 'radio' | 'inline-radio' | 'check' | 'inline-check' | 'select' | 'multi-select';
|
|
111
|
+
interface OptionsConfig {
|
|
112
|
+
/** Some docgen tools give an array here. The controls then show each option as it is. */
|
|
113
|
+
labels?: Record<PropertyKey, string | undefined> | string[];
|
|
114
|
+
type: OptionsControlType;
|
|
115
|
+
}
|
|
116
|
+
interface NormalizedOptionsConfig {
|
|
117
|
+
options: OptionsObject;
|
|
118
|
+
}
|
|
119
|
+
type TextValue = string;
|
|
120
|
+
interface TextConfig {
|
|
121
|
+
maxLength?: number;
|
|
122
|
+
}
|
|
123
|
+
type ControlType = 'array' | 'boolean' | 'color' | 'date' | 'number' | 'range' | 'object' | OptionsControlType | 'text';
|
|
124
|
+
type Control = BooleanConfig | ColorConfig | DateConfig | NumberConfig | ObjectConfig | OptionsConfig | RangeConfig | TextConfig;
|
|
125
|
+
//#endregion
|
|
55
126
|
//#region .dts-emit/code/core/src/addon-docs/blocks/components/ArgsTable/types.d.ts
|
|
127
|
+
/** The control of an args table row. Forkbook normalizes a control name to `{ type }`. */
|
|
128
|
+
interface ArgControlType {
|
|
129
|
+
type?: string;
|
|
130
|
+
disable?: boolean;
|
|
131
|
+
[key: string]: unknown;
|
|
132
|
+
}
|
|
133
|
+
/** One row of the args table: an arg type, with the key of its arg. */
|
|
56
134
|
interface ArgType {
|
|
135
|
+
key?: string;
|
|
57
136
|
name?: string;
|
|
58
137
|
description?: string;
|
|
59
138
|
if?: Conditional;
|
|
139
|
+
type?: {
|
|
140
|
+
name?: string;
|
|
141
|
+
required?: boolean;
|
|
142
|
+
} | string;
|
|
143
|
+
control?: ArgControlType | string | false;
|
|
144
|
+
options?: Options;
|
|
60
145
|
table?: {
|
|
61
146
|
category?: string;
|
|
62
147
|
disable?: boolean;
|
|
@@ -70,19 +155,13 @@ interface ArgType {
|
|
|
70
155
|
detail?: string | undefined;
|
|
71
156
|
};
|
|
72
157
|
readonly?: boolean;
|
|
73
|
-
[key: string]:
|
|
158
|
+
[key: string]: unknown;
|
|
74
159
|
};
|
|
75
|
-
[key: string]:
|
|
160
|
+
[key: string]: unknown;
|
|
76
161
|
}
|
|
77
162
|
interface ArgTypes$3 {
|
|
78
163
|
[key: string]: ArgType;
|
|
79
164
|
}
|
|
80
|
-
interface Args$2 {
|
|
81
|
-
[key: string]: any;
|
|
82
|
-
}
|
|
83
|
-
type Globals$2 = {
|
|
84
|
-
[name: string]: any;
|
|
85
|
-
};
|
|
86
165
|
//#endregion
|
|
87
166
|
//#region .dts-emit/code/core/src/addon-docs/blocks/components/ArgsTable/ArgsTable.d.ts
|
|
88
167
|
declare enum ArgsTableError {
|
|
@@ -391,7 +470,13 @@ declare const DocsPage: FC;
|
|
|
391
470
|
//#endregion
|
|
392
471
|
//#region .dts-emit/code/core/src/addon-docs/blocks/blocks/types.d.ts
|
|
393
472
|
declare const PRIMARY_STORY = "^";
|
|
394
|
-
|
|
473
|
+
/** A component, or the tag name of a custom element. */
|
|
474
|
+
type Component = string | {
|
|
475
|
+
name?: string;
|
|
476
|
+
__docgenInfo?: {
|
|
477
|
+
displayName?: string;
|
|
478
|
+
};
|
|
479
|
+
} | null | undefined;
|
|
395
480
|
type DocsStoryProps = {
|
|
396
481
|
of: ModuleExport;
|
|
397
482
|
expanded?: boolean;
|
|
@@ -903,7 +988,7 @@ declare const Unstyled: React.ComponentType<React.DetailedHTMLProps<React.HTMLAt
|
|
|
903
988
|
declare const Wrapper: React.ComponentType<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
904
989
|
//#endregion
|
|
905
990
|
//#region .dts-emit/code/core/src/addon-docs/blocks/blocks/mdx.d.ts
|
|
906
|
-
declare const assertIsFn: (val:
|
|
991
|
+
declare const assertIsFn: (val: unknown) => Function;
|
|
907
992
|
declare const AddContext: FC<PropsWithChildren<DocsContextProps>>;
|
|
908
993
|
interface CodeOrSourceMdxProps {
|
|
909
994
|
className?: string;
|
|
@@ -925,76 +1010,6 @@ declare const HeadersMdx: {
|
|
|
925
1010
|
}) => React.JSX.Element;
|
|
926
1011
|
};
|
|
927
1012
|
//#endregion
|
|
928
|
-
//#region .dts-emit/code/core/src/addon-docs/blocks/controls/types.d.ts
|
|
929
|
-
interface ControlProps<T> {
|
|
930
|
-
name: string;
|
|
931
|
-
storyId?: string;
|
|
932
|
-
controlsId?: string;
|
|
933
|
-
value?: T;
|
|
934
|
-
defaultValue?: T;
|
|
935
|
-
argType?: ArgType;
|
|
936
|
-
/** Whether the underlying arg is required; surfaced as `aria-required` on the control's input. */
|
|
937
|
-
required?: boolean;
|
|
938
|
-
onChange: (value?: T) => T | void;
|
|
939
|
-
onFocus?: (evt: FocusEvent<HTMLElement>) => void;
|
|
940
|
-
onBlur?: (evt: FocusEvent<HTMLElement>) => void;
|
|
941
|
-
}
|
|
942
|
-
type BooleanValue = boolean;
|
|
943
|
-
interface BooleanConfig {}
|
|
944
|
-
type ColorValue = string;
|
|
945
|
-
type PresetColor = ColorValue | {
|
|
946
|
-
color: ColorValue;
|
|
947
|
-
title?: string;
|
|
948
|
-
};
|
|
949
|
-
interface ColorConfig {
|
|
950
|
-
presetColors?: PresetColor[];
|
|
951
|
-
/**
|
|
952
|
-
* Maximum number of preset colors shown in the color picker. When the number of presets exceeds
|
|
953
|
-
* this value, the oldest presets are removed first (most-recently-used order). Set to `Infinity`
|
|
954
|
-
* or `0` to disable the limit and show all presets.
|
|
955
|
-
*
|
|
956
|
-
* @default 27
|
|
957
|
-
*/
|
|
958
|
-
maxPresetColors?: number;
|
|
959
|
-
/**
|
|
960
|
-
* Whether the color picker should be open by default when rendered.
|
|
961
|
-
*
|
|
962
|
-
* @default false
|
|
963
|
-
*/
|
|
964
|
-
startOpen?: boolean;
|
|
965
|
-
}
|
|
966
|
-
type DateValue = Date | number;
|
|
967
|
-
interface DateConfig {}
|
|
968
|
-
type NumberValue = number;
|
|
969
|
-
interface NumberConfig {
|
|
970
|
-
min?: number;
|
|
971
|
-
max?: number;
|
|
972
|
-
step?: number;
|
|
973
|
-
}
|
|
974
|
-
type RangeConfig = NumberConfig;
|
|
975
|
-
type ObjectValue = any;
|
|
976
|
-
interface ObjectConfig {}
|
|
977
|
-
type OptionsSingleSelection = any;
|
|
978
|
-
type OptionsMultiSelection = any[];
|
|
979
|
-
type OptionsSelection = OptionsSingleSelection | OptionsMultiSelection;
|
|
980
|
-
type OptionsArray = any[];
|
|
981
|
-
type OptionsObject = Record<string, any>;
|
|
982
|
-
type Options = OptionsArray | OptionsObject;
|
|
983
|
-
type OptionsControlType = 'radio' | 'inline-radio' | 'check' | 'inline-check' | 'select' | 'multi-select';
|
|
984
|
-
interface OptionsConfig {
|
|
985
|
-
labels?: Record<PropertyKey, string>;
|
|
986
|
-
type: OptionsControlType;
|
|
987
|
-
}
|
|
988
|
-
interface NormalizedOptionsConfig {
|
|
989
|
-
options: OptionsObject;
|
|
990
|
-
}
|
|
991
|
-
type TextValue = string;
|
|
992
|
-
interface TextConfig {
|
|
993
|
-
maxLength?: number;
|
|
994
|
-
}
|
|
995
|
-
type ControlType = 'array' | 'boolean' | 'color' | 'date' | 'number' | 'range' | 'object' | OptionsControlType | 'text';
|
|
996
|
-
type Control = BooleanConfig | ColorConfig | DateConfig | NumberConfig | ObjectConfig | OptionsConfig | RangeConfig | TextConfig;
|
|
997
|
-
//#endregion
|
|
998
1013
|
//#region .dts-emit/code/core/src/addon-docs/blocks/controls/Color.d.ts
|
|
999
1014
|
type ColorControlProps = ControlProps<ColorValue> & ColorConfig;
|
|
1000
1015
|
//#endregion
|
|
@@ -1041,7 +1056,7 @@ declare const NumberControl: FC<NumberProps>;
|
|
|
1041
1056
|
* While non-primitive values are deprecated, they might still not be valid object keys, so the
|
|
1042
1057
|
* resulting object is a Label -> Value mapping.
|
|
1043
1058
|
*/
|
|
1044
|
-
declare const normalizeOptions: (options
|
|
1059
|
+
declare const normalizeOptions: (options?: Options, labels?: OptionsConfig['labels']) => Options | undefined;
|
|
1045
1060
|
type OptionsProps = ControlProps<OptionsSelection> & OptionsConfig;
|
|
1046
1061
|
declare const OptionsControl: FC<OptionsProps>;
|
|
1047
1062
|
//#endregion
|
|
@@ -1081,4 +1096,4 @@ type ColorProps = ColorControlProps;
|
|
|
1081
1096
|
declare const LazyColorControl: React.LazyExoticComponent<React.FC<ColorControlProps>>;
|
|
1082
1097
|
declare const ColorControl: (props: ComponentProps<typeof LazyColorControl>) => React.JSX.Element;
|
|
1083
1098
|
//#endregion
|
|
1084
|
-
export { AddContext, Anchor, AnchorMdx, AnchorProps, ArgTypes, BooleanConfig, BooleanControl, BooleanProps, BooleanValue, Canvas, CodeOrSourceMdx, ColorConfig, ColorControl, ColorItem, ColorPalette, ColorProps, ColorValue, Component, Control, ControlProps, ControlType, Controls, DateConfig, DateControl, DateProps, DateValue, Description, DescriptionType, Docs, DocsContainer, DocsContainerProps, DocsContext, type DocsContextProps, DocsPage, DocsProps, DocsStory, DocsStoryProps, FilesControl, FilesControlProps, HeaderMdx, HeadersMdx, Heading, HeadingProps, IconGallery, IconItem, Markdown, Meta, NormalizedOptionsConfig, NumberConfig, NumberControl, NumberValue, ObjectConfig, ObjectControl, ObjectProps, ObjectValue, Of, Options, OptionsArray, OptionsConfig, OptionsControl, OptionsControlType, OptionsMultiSelection, OptionsObject, OptionsProps, OptionsSelection, OptionsSingleSelection, PRIMARY_STORY, PresetColor, Primary, ArgsTable as PureArgsTable, RangeConfig, RangeControl, type SortType, Source, SourceContainer, SourceContext, SourceContextProps, SourceItem, SourceParameters, SourceProps, Stories, Story, StoryGrid, StoryGridProps, StoryProps, StorySources, Subheading, Subtitle, TableOfContents, TextConfig, TextControl, TextProps, TextValue, Title, Typeset, UNKNOWN_ARGS_HASH, Unstyled, Wrapper, anchorBlockIdFromId, argsHash, assertIsFn, extractTitle, filterComponents, format, formatDate, formatTime, getStoryId, getStoryProps, normalizeOptions, parse, parseDate, parseTime, slugs, useOf, useSourceProps };
|
|
1099
|
+
export { AddContext, Anchor, AnchorMdx, AnchorMdxProps, AnchorProps, ArgTypes, BooleanConfig, BooleanControl, BooleanProps, BooleanValue, Canvas, CodeOrSourceMdx, CodeOrSourceMdxProps, ColorConfig, ColorControl, ColorItem, ColorPalette, ColorProps, ColorValue, Component, Control, ControlProps, ControlType, Controls, DateConfig, DateControl, DateProps, DateValue, Description, DescriptionType, Docs, DocsContainer, DocsContainerProps, DocsContext, type DocsContextProps, DocsPage, DocsProps, DocsStory, DocsStoryProps, FilesControl, FilesControlProps, HeaderMdx, HeadersMdx, Heading, HeadingProps, IconGallery, IconItem, Markdown, Meta, NormalizedOptionsConfig, NumberConfig, NumberControl, NumberValue, ObjectConfig, ObjectControl, ObjectProps, ObjectValue, Of, Options, OptionsArray, OptionsConfig, OptionsControl, OptionsControlType, OptionsMultiSelection, OptionsObject, OptionsProps, OptionsSelection, OptionsSingleSelection, PRIMARY_STORY, PresetColor, Primary, ArgsTable as PureArgsTable, RangeConfig, RangeControl, type SortType, Source, SourceContainer, SourceContext, SourceContextProps, SourceItem, SourceParameters, SourceProps, Stories, Story, StoryGrid, StoryGridProps, StoryProps, StorySources, Subheading, Subtitle, TableOfContents, TextConfig, TextControl, TextProps, TextValue, Title, Typeset, UNKNOWN_ARGS_HASH, Unstyled, Wrapper, anchorBlockIdFromId, argsHash, assertIsFn, extractTitle, filterComponents, format, formatDate, formatTime, getStoryId, getStoryProps, normalizeOptions, parse, parseDate, parseTime, slugs, useOf, useSourceProps };
|
|
@@ -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,7 +21,7 @@ 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
26
|
import "../_browser-chunks/chunk-2WZWS7GJ.js";
|
|
27
27
|
import {
|
|
@@ -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";
|
|
@@ -54,7 +54,7 @@ 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";
|
|
@@ -319,7 +319,7 @@ 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 = {
|
|
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";
|
|
@@ -417,7 +417,7 @@ 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";
|
|
@@ -593,7 +593,7 @@ 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";
|
|
@@ -636,7 +636,7 @@ 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";
|
|
@@ -696,7 +696,7 @@ 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";
|
|
@@ -1228,7 +1228,7 @@ 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 = {
|
|
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";
|
|
@@ -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
|
*
|
|
@@ -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 "../_browser-chunks/chunk-2WZWS7GJ.js";
|
|
6
6
|
import "../_browser-chunks/chunk-CNED6RYH.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
@@ -27,7 +27,7 @@ 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
|