@aussieljk/forkbook 0.0.0-stage → 0.0.1-10
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/LICENSE +22 -0
- package/README.md +59 -2
- package/assets/addon-vitest/templates/vitest.config.4.template.ts +36 -0
- package/assets/browser/favicon-wrapper.svg +46 -0
- package/assets/browser/favicon.svg +1 -0
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +83 -0
- package/assets/create/rendererAssets/.eslintrc.json +16 -0
- package/assets/create/rendererAssets/common/Configure.mdx +388 -0
- package/assets/create/rendererAssets/common/assets/accessibility.png +0 -0
- package/assets/create/rendererAssets/common/assets/accessibility.svg +1 -0
- package/assets/create/rendererAssets/common/assets/addon-library.png +0 -0
- package/assets/create/rendererAssets/common/assets/assets.png +0 -0
- package/assets/create/rendererAssets/common/assets/avif-test-image.avif +0 -0
- package/assets/create/rendererAssets/common/assets/context.png +0 -0
- package/assets/create/rendererAssets/common/assets/discord.svg +1 -0
- package/assets/create/rendererAssets/common/assets/docs.png +0 -0
- package/assets/create/rendererAssets/common/assets/figma-plugin.png +0 -0
- package/assets/create/rendererAssets/common/assets/github.svg +1 -0
- package/assets/create/rendererAssets/common/assets/share.png +0 -0
- package/assets/create/rendererAssets/common/assets/styling.png +0 -0
- package/assets/create/rendererAssets/common/assets/testing.png +0 -0
- package/assets/create/rendererAssets/common/assets/theming.png +0 -0
- package/assets/create/rendererAssets/common/assets/tutorials.svg +1 -0
- package/assets/create/rendererAssets/common/assets/youtube.svg +1 -0
- package/assets/create/rendererAssets/common/button.css +30 -0
- package/assets/create/rendererAssets/common/header.css +32 -0
- package/assets/create/rendererAssets/common/page.css +68 -0
- package/assets/create/templates/react-native/index.expo.js +20 -0
- package/assets/create/templates/react-native/index.js +25 -0
- package/assets/docs/addon-backgrounds.gif +0 -0
- package/assets/docs/addon-controls-args-annotated.png +0 -0
- package/assets/docs/addon-controls-args-background-color.png +0 -0
- package/assets/docs/addon-controls-args-background-string.png +0 -0
- package/assets/docs/addon-controls-args-docs.png +0 -0
- package/assets/docs/addon-controls-args-logging.png +0 -0
- package/assets/docs/addon-controls-args-no-annotation.png +0 -0
- package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
- package/assets/docs/addon-controls-args-reflow.png +0 -0
- package/assets/docs/addon-controls-args-template.png +0 -0
- package/assets/docs/addon-controls-expanded.png +0 -0
- package/assets/docs/addon-controls-hero.gif +0 -0
- package/assets/docs/addon-controls-install.png +0 -0
- package/assets/docs/hero.gif +0 -0
- package/assets/docs/highlight.png +0 -0
- package/assets/docs/message-reference.png +0 -0
- package/assets/docs/viewport.png +0 -0
- package/assets/react-native/metro-env.d.ts +69 -0
- package/assets/server/addon.tsconfig.json +6 -0
- package/assets/server/base-preview-body.html +116 -0
- package/assets/server/base-preview-head.html +494 -0
- package/assets/server/openBrowser.applescript +94 -0
- package/assets/server/template.ejs +85 -0
- package/dist/.build-stamp +0 -0
- package/dist/_browser-chunks/Color-X63I7FHI.js +1025 -0
- package/dist/_browser-chunks/DocsRenderer-JXND3PVQ.js +10 -0
- package/dist/_browser-chunks/WithTooltip-5S6F2P7L.js +198 -0
- package/dist/_browser-chunks/chunk-2JDQ35OA.js +247 -0
- package/dist/_browser-chunks/chunk-2JT76G3E.js +104 -0
- package/dist/_browser-chunks/chunk-3HM3VWJS.js +2604 -0
- package/dist/_browser-chunks/chunk-3M5T7BW4.js +43 -0
- package/dist/_browser-chunks/chunk-46Z7NGAS.js +41 -0
- package/dist/_browser-chunks/chunk-4ATQOMJB.js +30 -0
- package/dist/_browser-chunks/chunk-4KIQBRD2.js +17 -0
- package/dist/_browser-chunks/chunk-5H4KFI44.js +386 -0
- package/dist/_browser-chunks/chunk-5I7E4GMO.js +62 -0
- package/dist/_browser-chunks/chunk-5WMXI5GW.js +816 -0
- package/dist/_browser-chunks/chunk-5Z65SURM.js +108 -0
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/chunk-6ELMKWKX.js +22 -0
- package/dist/_browser-chunks/chunk-76222HQR.js +253 -0
- package/dist/_browser-chunks/chunk-7DQREF4S.js +218 -0
- package/dist/_browser-chunks/chunk-AYRF6EJB.js +36 -0
- package/dist/_browser-chunks/chunk-B4AUNNU4.js +156 -0
- package/dist/_browser-chunks/chunk-BCP2FFXF.js +369 -0
- package/dist/_browser-chunks/chunk-BNP234B4.js +80 -0
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/chunk-CNED6RYH.js +18 -0
- package/dist/_browser-chunks/chunk-DNJ3OSLB.js +6021 -0
- package/dist/_browser-chunks/chunk-DRQKCCAG.js +136 -0
- package/dist/_browser-chunks/chunk-DS2WQZGO.js +1956 -0
- package/dist/_browser-chunks/chunk-DYNTDJ3O.js +155 -0
- package/dist/_browser-chunks/chunk-ECQ75MKQ.js +0 -0
- package/dist/_browser-chunks/chunk-ENKK74N4.js +12 -0
- package/dist/_browser-chunks/chunk-EQKMUQF3.js +224 -0
- package/dist/_browser-chunks/chunk-FENFYI4X.js +698 -0
- package/dist/_browser-chunks/chunk-FRAOQJDI.js +95 -0
- package/dist/_browser-chunks/chunk-GNZY6LOW.js +10116 -0
- package/dist/_browser-chunks/chunk-GRO2ZYEJ.js +157 -0
- package/dist/_browser-chunks/chunk-I4ATZPNZ.js +34 -0
- package/dist/_browser-chunks/chunk-IE4ULIOQ.js +14 -0
- package/dist/_browser-chunks/chunk-IFADVEQE.js +669 -0
- package/dist/_browser-chunks/chunk-IMSF75WX.js +42 -0
- package/dist/_browser-chunks/chunk-IWQGIXJS.js +14 -0
- package/dist/_browser-chunks/chunk-JPUOQJUI.js +8 -0
- package/dist/_browser-chunks/chunk-JWSKPMPC.js +73 -0
- package/dist/_browser-chunks/chunk-KBK7GKBN.js +35 -0
- package/dist/_browser-chunks/chunk-KYSD26D6.js +1966 -0
- package/dist/_browser-chunks/chunk-LAWXTSXK.js +18 -0
- package/dist/_browser-chunks/chunk-LE2LTDW3.js +14 -0
- package/dist/_browser-chunks/chunk-LEVSOOLQ.js +48 -0
- package/dist/_browser-chunks/chunk-LTCXWKZO.js +2935 -0
- package/dist/_browser-chunks/chunk-LYYXDWR2.js +411 -0
- package/dist/_browser-chunks/chunk-MJIDTL3X.js +78 -0
- package/dist/_browser-chunks/chunk-MLBOOZL4.js +67 -0
- package/dist/_browser-chunks/chunk-N3NRW5XX.js +117 -0
- package/dist/_browser-chunks/chunk-N5WQGLI7.js +11 -0
- package/dist/_browser-chunks/chunk-NA4ITZTK.js +324 -0
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/chunk-NQUD4B7H.js +91 -0
- package/dist/_browser-chunks/chunk-NTUHL5NS.js +54 -0
- package/dist/_browser-chunks/chunk-NULBREPZ.js +43 -0
- package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
- package/dist/_browser-chunks/chunk-O24AZJZ7.js +56 -0
- package/dist/_browser-chunks/chunk-ONTSNQON.js +20 -0
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/chunk-OVH3USFB.js +20 -0
- package/dist/_browser-chunks/chunk-OZZPSYQR.js +14 -0
- package/dist/_browser-chunks/chunk-PJSMZ27A.js +13 -0
- package/dist/_browser-chunks/chunk-PZQRXPVR.js +21 -0
- package/dist/_browser-chunks/chunk-QC4HFS6K.js +41 -0
- package/dist/_browser-chunks/chunk-QDXFODK4.js +274 -0
- package/dist/_browser-chunks/chunk-RBCHTR7C.js +28 -0
- package/dist/_browser-chunks/chunk-RMYQ3QN3.js +294 -0
- package/dist/_browser-chunks/chunk-S6TK43XQ.js +836 -0
- package/dist/_browser-chunks/chunk-SC67XZST.js +18 -0
- package/dist/_browser-chunks/chunk-SFVA4SBT.js +683 -0
- package/dist/_browser-chunks/chunk-SZYFOQMT.js +25 -0
- package/dist/_browser-chunks/chunk-TBJCJXK4.js +18 -0
- package/dist/_browser-chunks/chunk-TTBPZQ24.js +3551 -0
- package/dist/_browser-chunks/chunk-UMDO3KB7.js +205 -0
- package/dist/_browser-chunks/chunk-UMGDO2ZM.js +169 -0
- package/dist/_browser-chunks/chunk-V5U45XXZ.js +24 -0
- package/dist/_browser-chunks/chunk-W7NE2JXW.js +84 -0
- package/dist/_browser-chunks/chunk-WGVAAM43.js +1110 -0
- package/dist/_browser-chunks/chunk-WHQRNHXD.js +8 -0
- package/dist/_browser-chunks/chunk-WOSOWBCA.js +12 -0
- package/dist/_browser-chunks/chunk-WZ7KR7SH.js +85 -0
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/chunk-XTQCLWVH.js +1500 -0
- package/dist/_browser-chunks/chunk-YI2IBIQS.js +7 -0
- package/dist/_browser-chunks/chunk-ZEHRUHTA.js +6 -0
- package/dist/_browser-chunks/chunk-ZHKZKFY4.js +199 -0
- package/dist/_browser-chunks/matchers-YLBYSYAF.js +1263 -0
- package/dist/_browser-chunks/react-dom-client-4OHE3QDV.js +9 -0
- package/dist/_node-chunks/attached-runtime-PDBJ2EGV.js +282 -0
- package/dist/_node-chunks/builder-manager-VLL26RPG.js +1139 -0
- package/dist/_node-chunks/chunk-3CSGIJKG.js +499 -0
- package/dist/_node-chunks/chunk-3W4KR5GX.js +2609 -0
- package/dist/_node-chunks/chunk-5NRWU7S2.js +194 -0
- package/dist/_node-chunks/chunk-5SMIGUYF.js +102 -0
- package/dist/_node-chunks/chunk-63LPGIV4.js +1049 -0
- package/dist/_node-chunks/chunk-6DHTL5G2.js +35 -0
- package/dist/_node-chunks/chunk-6DRVJCYP.js +299 -0
- package/dist/_node-chunks/chunk-7CV4VEA2.js +620 -0
- package/dist/_node-chunks/chunk-7KD5DKGZ.js +79 -0
- package/dist/_node-chunks/chunk-7O2UIVID.js +82 -0
- package/dist/_node-chunks/chunk-7OY4VMAT.js +90 -0
- package/dist/_node-chunks/chunk-AAL6X7YG.js +1986 -0
- package/dist/_node-chunks/chunk-ACSO4HQP.js +32 -0
- package/dist/_node-chunks/chunk-BDU3ZUMK.js +98 -0
- package/dist/_node-chunks/chunk-BMJPOQ2S.js +11 -0
- package/dist/_node-chunks/chunk-BNEC3EBC.js +28 -0
- package/dist/_node-chunks/chunk-BPL3ERBH.js +347 -0
- package/dist/_node-chunks/chunk-BXDMSX3D.js +30600 -0
- package/dist/_node-chunks/chunk-C3PLG47Q.js +25 -0
- package/dist/_node-chunks/chunk-CEDR5CNM.js +74 -0
- package/dist/_node-chunks/chunk-CKE4R4NL.js +26 -0
- package/dist/_node-chunks/chunk-CSFNS7HA.js +21 -0
- package/dist/_node-chunks/chunk-CZ3V3HHK.js +223 -0
- package/dist/_node-chunks/chunk-DNV3LPV3.js +33 -0
- package/dist/_node-chunks/chunk-DPILYJH4.js +33 -0
- package/dist/_node-chunks/chunk-DQ44ZAEM.js +25 -0
- package/dist/_node-chunks/chunk-DR7NW2MI.js +104 -0
- package/dist/_node-chunks/chunk-DRCP3DQF.js +209 -0
- package/dist/_node-chunks/chunk-EBWZKN2I.js +1297 -0
- package/dist/_node-chunks/chunk-ECOW63CV.js +92 -0
- package/dist/_node-chunks/chunk-ENBDAHOV.js +18 -0
- package/dist/_node-chunks/chunk-FAEOR2AW.js +40 -0
- package/dist/_node-chunks/chunk-FERXOKZY.js +80 -0
- package/dist/_node-chunks/chunk-FJFB7TWU.js +495 -0
- package/dist/_node-chunks/chunk-FQGQ5KHN.js +63 -0
- package/dist/_node-chunks/chunk-FR2ZDWKJ.js +45 -0
- package/dist/_node-chunks/chunk-FRBE7ES4.js +59 -0
- package/dist/_node-chunks/chunk-FWAF5NBL.js +20 -0
- package/dist/_node-chunks/chunk-FXBZWUW3.js +7044 -0
- package/dist/_node-chunks/chunk-FZ453CHY.js +25 -0
- package/dist/_node-chunks/chunk-G2ZUFOHU.js +68 -0
- package/dist/_node-chunks/chunk-GBVWRZHP.js +23 -0
- package/dist/_node-chunks/chunk-GGE7TBVX.js +121 -0
- package/dist/_node-chunks/chunk-GJSYGBI5.js +47 -0
- package/dist/_node-chunks/chunk-GKHLTHYM.js +4744 -0
- package/dist/_node-chunks/chunk-GQYATLH6.js +3708 -0
- package/dist/_node-chunks/chunk-HCP5DG52.js +2743 -0
- package/dist/_node-chunks/chunk-HVOSLI2K.js +20 -0
- package/dist/_node-chunks/chunk-ID3WA6WR.js +171 -0
- package/dist/_node-chunks/chunk-IGOX6TUG.js +95 -0
- package/dist/_node-chunks/chunk-IL7YA7QJ.js +148 -0
- package/dist/_node-chunks/chunk-IUPE4SU2.js +688 -0
- package/dist/_node-chunks/chunk-JVWXCB3L.js +7179 -0
- package/dist/_node-chunks/chunk-K4O2ZAMU.js +57 -0
- package/dist/_node-chunks/chunk-KRWR44KT.js +25 -0
- package/dist/_node-chunks/chunk-KWNBN3DV.js +132 -0
- package/dist/_node-chunks/chunk-LG3NMXCM.js +20 -0
- package/dist/_node-chunks/chunk-LH5QBX2U.js +1001 -0
- package/dist/_node-chunks/chunk-LX2XSPPL.js +59 -0
- package/dist/_node-chunks/chunk-M4QNXI37.js +21 -0
- package/dist/_node-chunks/chunk-MBPHOLXB.js +1218 -0
- package/dist/_node-chunks/chunk-MIWBXEUH.js +26 -0
- package/dist/_node-chunks/chunk-MKUA4ZCG.js +1193 -0
- package/dist/_node-chunks/chunk-MQC7ZY6L.js +5468 -0
- package/dist/_node-chunks/chunk-MRCPS4S3.js +48 -0
- package/dist/_node-chunks/chunk-MY7UVHPL.js +153 -0
- package/dist/_node-chunks/chunk-ND323XCC.js +33 -0
- package/dist/_node-chunks/chunk-NGFFEW2B.js +972 -0
- package/dist/_node-chunks/chunk-OPG46TLN.js +1119 -0
- package/dist/_node-chunks/chunk-PEL4YXU6.js +19 -0
- package/dist/_node-chunks/chunk-QFXAGOIO.js +115 -0
- package/dist/_node-chunks/chunk-QGC3UWR5.js +110 -0
- package/dist/_node-chunks/chunk-QGVU7IFS.js +414 -0
- package/dist/_node-chunks/chunk-QOFBJXPH.js +1525 -0
- package/dist/_node-chunks/chunk-QVLHVO4X.js +532 -0
- package/dist/_node-chunks/chunk-R2ZCFA7I.js +60 -0
- package/dist/_node-chunks/chunk-RC4HPD5Q.js +26 -0
- package/dist/_node-chunks/chunk-RJXAXHDJ.js +415 -0
- package/dist/_node-chunks/chunk-SGEPJMTU.js +1094 -0
- package/dist/_node-chunks/chunk-SYUOBOB5.js +35 -0
- package/dist/_node-chunks/chunk-T5VZYRL2.js +40 -0
- package/dist/_node-chunks/chunk-T6IU66AM.js +69 -0
- package/dist/_node-chunks/chunk-THDTJJMO.js +611 -0
- package/dist/_node-chunks/chunk-TNFH4Y4G.js +1133 -0
- package/dist/_node-chunks/chunk-TY2ZY7AO.js +155 -0
- package/dist/_node-chunks/chunk-TZIT6SZP.js +49 -0
- package/dist/_node-chunks/chunk-VG2KFIOW.js +45 -0
- package/dist/_node-chunks/chunk-VSHYJR23.js +56 -0
- package/dist/_node-chunks/chunk-VUMGWJ6Y.js +844 -0
- package/dist/_node-chunks/chunk-WVRM6DQU.js +3767 -0
- package/dist/_node-chunks/chunk-YU5TVYPS.js +87 -0
- package/dist/_node-chunks/chunk-ZBWAA2EY.js +2106 -0
- package/dist/_node-chunks/chunk-ZD5TUA6I.js +20 -0
- package/dist/_node-chunks/chunk-ZFLK7MY5.js +144 -0
- package/dist/_node-chunks/dist-7OJKTBKL.js +27 -0
- package/dist/_node-chunks/dist-MWP6WLW4.js +16 -0
- package/dist/_node-chunks/local-runtime-V5YTRN24.js +78 -0
- package/dist/_node-chunks/mdx-plugin-CBOD52VP.js +7813 -0
- package/dist/_node-chunks/monorepo-GF6H53U4.js +121 -0
- package/dist/_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-K4TTV2DQ.js +121 -0
- package/dist/_node-chunks/optimized-tests-KOTSVWTN.js +22 -0
- package/dist/_node-chunks/pattern-copy-play-M2QNC4IZ.js +807 -0
- package/dist/_node-chunks/postinstallAddon-WXKJL6DP.js +20 -0
- package/dist/_node-chunks/rehype-external-links-3IDE4CYH.js +121 -0
- package/dist/_node-chunks/rehype-slug-GKB3WS3U.js +52 -0
- package/dist/_node-chunks/relaxed-limits-C6QU365N.js +117 -0
- package/dist/_node-chunks/run-TMVS3KKA.js +4792 -0
- package/dist/_node-chunks/run-XWBUPXLN.js +103 -0
- package/dist/_node-chunks/session-id-VMH57SKN.js +23 -0
- package/dist/_node-chunks/setup-KEEJK4WI.js +278 -0
- package/dist/_node-chunks/vitest.config.4.template-74HEE4WJ.js +54 -0
- package/dist/actions/decorator.d.ts +7 -0
- package/dist/actions/decorator.js +44 -0
- package/dist/actions/index.d.ts +67 -0
- package/dist/actions/index.js +29 -0
- package/dist/addon-a11y/index.d.ts +52 -0
- package/dist/addon-a11y/index.js +17 -0
- package/dist/addon-a11y/manager.js +1432 -0
- package/dist/addon-a11y/preset.js +18 -0
- package/dist/addon-a11y/preview.d.ts +17 -0
- package/dist/addon-a11y/preview.js +16 -0
- package/dist/addon-docs/blocks.d.ts +1080 -0
- package/dist/addon-docs/blocks.js +2537 -0
- package/dist/addon-docs/index.d.ts +236 -0
- package/dist/addon-docs/index.js +16 -0
- package/dist/addon-docs/manager.js +90 -0
- package/dist/addon-docs/mdx-react-shim.d.ts +1 -0
- package/dist/addon-docs/mdx-react-shim.js +2 -0
- package/dist/addon-docs/preset.js +378 -0
- package/dist/addon-docs/preview.d.ts +4 -0
- package/dist/addon-docs/preview.js +7 -0
- package/dist/addon-links/index.d.ts +22 -0
- package/dist/addon-links/index.js +23 -0
- package/dist/addon-links/manager.js +14 -0
- package/dist/addon-links/preview.d.ts +6 -0
- package/dist/addon-links/preview.js +12 -0
- package/dist/addon-links/react/index.d.ts +25 -0
- package/dist/addon-links/react/index.js +55 -0
- package/dist/addon-mcp/preset.js +1353 -0
- package/dist/addon-mcp/preview.js +29 -0
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +1129 -0
- package/dist/addon-ondevice-actions/index.d.ts +4 -0
- package/dist/addon-ondevice-actions/index.js +11 -0
- package/dist/addon-ondevice-actions/register.js +11 -0
- package/dist/addon-ondevice-controls/index.d.ts +6 -0
- package/dist/addon-ondevice-controls/index.js +14 -0
- package/dist/addon-ondevice-controls/register.js +10 -0
- package/dist/addon-pseudo-states/index.d.ts +35 -0
- package/dist/addon-pseudo-states/index.js +15 -0
- package/dist/addon-pseudo-states/manager.js +53 -0
- package/dist/addon-pseudo-states/preview.d.ts +9 -0
- package/dist/addon-pseudo-states/preview.js +10 -0
- package/dist/addon-themes/index.d.ts +80 -0
- package/dist/addon-themes/index.js +104 -0
- package/dist/addon-themes/manager.js +97 -0
- package/dist/addon-themes/postinstall.js +33 -0
- package/dist/addon-themes/preview.d.ts +6 -0
- package/dist/addon-themes/preview.js +8 -0
- package/dist/addon-vitest/constants.d.ts +132 -0
- package/dist/addon-vitest/constants.js +66 -0
- package/dist/addon-vitest/index.d.ts +4 -0
- package/dist/addon-vitest/index.js +8 -0
- package/dist/addon-vitest/manager.js +665 -0
- package/dist/addon-vitest/node/coverage-reporter.js +1284 -0
- package/dist/addon-vitest/node/vitest.js +674 -0
- package/dist/addon-vitest/postinstall.js +24 -0
- package/dist/addon-vitest/preset.js +942 -0
- package/dist/addon-vitest/vitest-plugin/global-setup.js +162 -0
- package/dist/addon-vitest/vitest-plugin/index.d.ts +56 -0
- package/dist/addon-vitest/vitest-plugin/index.js +463 -0
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +9 -0
- package/dist/addon-vitest/vitest-plugin/setup-file.browser.4.js +20 -0
- package/dist/addon-vitest/vitest-plugin/setup-file.js +50 -0
- package/dist/addon-vitest/vitest-plugin/test-utils.js +128 -0
- package/dist/babel/index.d.ts +1550 -0
- package/dist/babel/index.js +55 -0
- package/dist/backgrounds/index.d.ts +6 -0
- package/dist/backgrounds/index.js +15 -0
- package/dist/bin/core.js +1706 -0
- package/dist/bin/dispatcher.js +45 -0
- package/dist/bin/loader.js +116 -0
- package/dist/builder-vite/index.d.ts +50 -0
- package/dist/builder-vite/index.js +245 -0
- package/dist/builder-vite/preset.js +27 -0
- package/dist/channels/index.d.ts +2 -0
- package/dist/channels/index.js +352 -0
- package/dist/chunk-BCoJQE-f.d.ts +602 -0
- package/dist/chunk-BGhyFTJO.d.ts +115 -0
- package/dist/chunk-BGkgZp-H.d.ts +214 -0
- package/dist/chunk-BXLImeLy.d.ts +197 -0
- package/dist/chunk-Bpi2tz-6.d.ts +511 -0
- package/dist/chunk-C6PAgHLT.d.ts +12 -0
- package/dist/chunk-CFk6djyM.d.ts +55 -0
- package/dist/chunk-CNqjcOmK.d.ts +15 -0
- package/dist/chunk-CT2iXaHz.d.ts +179 -0
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/chunk-CYuvV2sR.d.ts +282 -0
- package/dist/chunk-Ct9xd6IM.d.ts +65 -0
- package/dist/chunk-D0NUmzXp.d.ts +253 -0
- package/dist/chunk-D7DwV41f.d.ts +3622 -0
- package/dist/chunk-DDd8BhTY.d.ts +79 -0
- package/dist/chunk-DROZ9oel.d.ts +669 -0
- package/dist/chunk-DaVb55-_.d.ts +124 -0
- package/dist/chunk-DgRNfmj_.d.ts +40 -0
- package/dist/chunk-DgzPaTw9.d.ts +61 -0
- package/dist/chunk-Dm-iHJ-s.d.ts +59 -0
- package/dist/chunk-DoIGKY33.d.ts +666 -0
- package/dist/chunk-Dr3R0DXk.d.ts +40 -0
- package/dist/chunk-Dw_4ad2Y.d.ts +34 -0
- package/dist/chunk-Fg1Fm__9.d.ts +13091 -0
- package/dist/chunk-FjDVzZTj.d.ts +62 -0
- package/dist/chunk-Susgfkap.d.ts +20 -0
- package/dist/chunk-XP8oHzpE.d.ts +6 -0
- package/dist/chunk-pcFXCimE.d.ts +741 -0
- package/dist/cli/index.d.ts +321 -0
- package/dist/cli/index.js +703 -0
- package/dist/cli/skills/content/index.d.ts +72 -0
- package/dist/cli/skills/content/index.js +335 -0
- package/dist/cli/tools/sdk/child-host.d.ts +61 -0
- package/dist/cli/tools/sdk/child-host.js +131 -0
- package/dist/cli/tools/sdk/index.d.ts +137 -0
- package/dist/cli/tools/sdk/index.js +44 -0
- package/dist/cli-commands/bin/index.js +25 -0
- package/dist/client-logger/index.d.ts +31 -0
- package/dist/client-logger/index.js +65 -0
- package/dist/common/index.d.ts +1091 -0
- package/dist/common/index.js +358 -0
- package/dist/components/index.d.ts +1727 -0
- package/dist/components/index.js +7982 -0
- package/dist/core-events/index.d.ts +156 -0
- package/dist/core-events/index.js +138 -0
- package/dist/core-server/index.d.ts +2200 -0
- package/dist/core-server/index.js +4577 -0
- package/dist/core-server/presets/common-manager.js +3744 -0
- package/dist/core-server/presets/common-override-preset.js +83 -0
- package/dist/core-server/presets/common-preset.js +2194 -0
- package/dist/create/bin/index.js +23 -0
- package/dist/create/index.js +25 -0
- package/dist/csf/csf-utils.d.ts +2 -0
- package/dist/csf/csf-utils.js +19 -0
- package/dist/csf/index.d.ts +7 -0
- package/dist/csf/index.js +2077 -0
- package/dist/csf-tools/index.d.ts +1161 -0
- package/dist/csf-tools/index.js +738 -0
- package/dist/docs-tools/index.d.ts +197 -0
- package/dist/docs-tools/index.js +61 -0
- package/dist/highlight/index.d.ts +10 -0
- package/dist/highlight/index.js +15 -0
- package/dist/instrumenter/index.d.ts +113 -0
- package/dist/instrumenter/index.js +2597 -0
- package/dist/manager/_manager-chunks/globals-runtime-BKQscPdC.js +5661 -0
- package/dist/manager/_manager-chunks/globals-runtime-BY3epqww.js +1807 -0
- package/dist/manager/_manager-chunks/globals-runtime-BdGkqNEt.js +45 -0
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/globals-runtime-Bs75QQ_I.js +9987 -0
- package/dist/manager/_manager-chunks/globals-runtime-BweHuXkK.js +6838 -0
- package/dist/manager/_manager-chunks/globals-runtime-CA8AuIRT.js +7617 -0
- package/dist/manager/_manager-chunks/globals-runtime-CBviMKtt.js +446 -0
- package/dist/manager/_manager-chunks/globals-runtime-CJL1dQtn.js +4674 -0
- package/dist/manager/_manager-chunks/globals-runtime-CfurFwS_.js +121 -0
- package/dist/manager/_manager-chunks/globals-runtime-CvIgTRVu.js +1190 -0
- package/dist/manager/_manager-chunks/globals-runtime-DBba3I9c.js +5307 -0
- package/dist/manager/_manager-chunks/globals-runtime-DvV_TF3-.js +12214 -0
- package/dist/manager/_manager-chunks/globals-runtime-DwFqpqya.js +722 -0
- package/dist/manager/_manager-chunks/globals-runtime-NwJK8t0T.js +9274 -0
- package/dist/manager/_manager-chunks/globals-runtime-WZKaeKm9.js +4091 -0
- package/dist/manager/_manager-chunks/globals-runtime-wjkxyMn0.js +5283 -0
- package/dist/manager/_manager-chunks/runtime-5B2mWjEm.js +294 -0
- package/dist/manager/_manager-chunks/runtime-5o_11Jae.js +78 -0
- package/dist/manager/_manager-chunks/runtime-B_nqedQW.js +197 -0
- package/dist/manager/_manager-chunks/runtime-BdGkqNEt.js +45 -0
- package/dist/manager/_manager-chunks/runtime-Bs3bEhuy.js +1232 -0
- package/dist/manager/_manager-chunks/runtime-CBQsKmch.js +2351 -0
- package/dist/manager/_manager-chunks/runtime-DG61zYUm.js +1158 -0
- package/dist/manager/_manager-chunks/runtime-DtCVCy4G.js +6841 -0
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/runtime-eBAgOym6.js +9010 -0
- package/dist/manager/_manager-chunks/runtime-j9yqh0tr.js +1023 -0
- package/dist/manager/_manager-chunks/runtime-jj8qYc2n.js +3488 -0
- package/dist/manager/globals-runtime.js +2 -0
- package/dist/manager/globals.d.ts +23 -0
- package/dist/manager/globals.js +26 -0
- package/dist/manager/manager-stores.d.ts +2 -0
- package/dist/manager/manager-stores.js +19 -0
- package/dist/manager/runtime.js +2 -0
- package/dist/manager-api/index.d.ts +2 -0
- package/dist/manager-api/index.js +3247 -0
- package/dist/manager-errors.d.ts +89 -0
- package/dist/manager-errors.js +20 -0
- package/dist/mcp/index.d.ts +270 -0
- package/dist/mcp/index.js +305 -0
- package/dist/mocking-utils/index.d.ts +689 -0
- package/dist/mocking-utils/index.js +526 -0
- package/dist/mocking-utils/mocker-runtime.js +1254 -0
- package/dist/nextjs-vite/config/preview.js +3 -0
- package/dist/nextjs-vite/export-mocks/cache/index.d.ts +25 -0
- package/dist/nextjs-vite/export-mocks/cache/index.js +29 -0
- package/dist/nextjs-vite/export-mocks/headers/index.d.ts +37 -0
- package/dist/nextjs-vite/export-mocks/headers/index.js +54 -0
- package/dist/nextjs-vite/export-mocks/link/index.d.ts +9 -0
- package/dist/nextjs-vite/export-mocks/link/index.js +59 -0
- package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +28 -0
- package/dist/nextjs-vite/export-mocks/navigation/index.js +58 -0
- package/dist/nextjs-vite/export-mocks/router/index.d.ts +34 -0
- package/dist/nextjs-vite/export-mocks/router/index.js +63 -0
- package/dist/nextjs-vite/index.d.ts +92 -0
- package/dist/nextjs-vite/index.js +59 -0
- package/dist/nextjs-vite/node/index.d.ts +6 -0
- package/dist/nextjs-vite/node/index.js +20 -0
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +727 -0
- package/dist/nextjs-vite/preview.d.ts +20 -0
- package/dist/nextjs-vite/preview.js +11 -0
- package/dist/nextjs-vite/vite-plugin/index.d.ts +6 -0
- package/dist/nextjs-vite/vite-plugin/index.js +19 -0
- package/dist/nextjs-vite-plugin/index.d.ts +27 -0
- package/dist/nextjs-vite-plugin/index.js +908 -0
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +29 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-context.js +8 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-default-loader.js +23 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +28 -0
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +17 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/cache/index.js +29 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/dynamic/index.js +40 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/headers/index.js +55 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/link/index.js +63 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/navigation/index.js +71 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +74 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/rsc/server-only.js +7 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/safe-stable-stringify/index.js +13 -0
- package/dist/nextjs-vite-plugin/plugins/next-mocks/compatibility/draft-mode.compat.js +7 -0
- package/dist/node-logger/index.d.ts +488 -0
- package/dist/node-logger/index.js +41 -0
- package/dist/oxc-parser/index.d.ts +99 -0
- package/dist/oxc-parser/index.js +273 -0
- package/dist/oxc-parser/worker.js +37 -0
- package/dist/preview/_chunks/runtime-BJwGQok8.js +3873 -0
- package/dist/preview/_chunks/runtime-BPwAnlRx.js +10411 -0
- package/dist/preview/_chunks/runtime-BUnOhg9h.js +6838 -0
- package/dist/preview/_chunks/runtime-BZ4pNS3g.js +284 -0
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/runtime-BdGkqNEt.js +45 -0
- package/dist/preview/_chunks/runtime-BgPhfM5P.js +3681 -0
- package/dist/preview/_chunks/runtime-BhSZ1Mwt.js +5262 -0
- package/dist/preview/_chunks/runtime-BsMjBzuq.js +53 -0
- package/dist/preview/_chunks/runtime-C1jgT6tJ.js +4091 -0
- package/dist/preview/_chunks/runtime-CkOhMcXf.js +387 -0
- package/dist/preview/_chunks/runtime-WapFVPAh.js +8484 -0
- package/dist/preview/globals.d.ts +16 -0
- package/dist/preview/globals.js +20 -0
- package/dist/preview/runtime.js +6 -0
- package/dist/preview-api/index.d.ts +4 -0
- package/dist/preview-api/index.js +149 -0
- package/dist/preview-errors.d.ts +186 -0
- package/dist/preview-errors.js +56 -0
- package/dist/react/docgen/docgen-worker.js +37 -0
- package/dist/react/entry-preview-argtypes.js +9 -0
- package/dist/react/entry-preview-docs.js +12 -0
- package/dist/react/entry-preview-rsc.js +11 -0
- package/dist/react/entry-preview.js +22 -0
- package/dist/react/index.d.ts +119 -0
- package/dist/react/index.js +28 -0
- package/dist/react/preset.js +300 -0
- package/dist/react/preview.d.ts +2 -0
- package/dist/react/preview.js +12 -0
- package/dist/react-native/bin/get-stories.js +34 -0
- package/dist/react-native/index.d.ts +160 -0
- package/dist/react-native/index.js +1362 -0
- package/dist/react-native/metro/node.d.ts +83 -0
- package/dist/react-native/metro/node.js +22 -0
- package/dist/react-native/metro/withForkbook.d.ts +2269 -0
- package/dist/react-native/metro/withForkbook.js +139 -0
- package/dist/react-native/preview.d.ts +6 -0
- package/dist/react-native/preview.js +20 -0
- package/dist/react-native/scripts/generate.d.ts +22 -0
- package/dist/react-native/scripts/generate.js +18 -0
- package/dist/react-native/stub.js +20 -0
- package/dist/react-native-theming/index.d.ts +119 -0
- package/dist/react-native-theming/index.js +316 -0
- package/dist/react-native-ui/index.d.ts +129 -0
- package/dist/react-native-ui/index.js +1448 -0
- package/dist/react-native-ui-common/index.d.ts +229 -0
- package/dist/react-native-ui-common/index.js +514 -0
- package/dist/react-vite/index.d.ts +4 -0
- package/dist/react-vite/index.js +8 -0
- package/dist/react-vite/node/index.d.ts +6 -0
- package/dist/react-vite/node/index.js +20 -0
- package/dist/react-vite/preset.d.ts +6 -0
- package/dist/react-vite/preset.js +21 -0
- package/dist/router/index.d.ts +209 -0
- package/dist/router/index.js +1259 -0
- package/dist/server-errors.d.ts +2 -0
- package/dist/server-errors.js +149 -0
- package/dist/shared/open-service/index.d.ts +3 -0
- package/dist/shared/open-service/index.js +115 -0
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +75 -0
- package/dist/shared/open-service/toolsets/docs/public.d.ts +1296 -0
- package/dist/shared/open-service/toolsets/docs/public.js +991 -0
- package/dist/telemetry/index.d.ts +314 -0
- package/dist/telemetry/index.js +101 -0
- package/dist/test/index.d.ts +158 -0
- package/dist/test/index.js +19656 -0
- package/dist/theming/create.d.ts +15 -0
- package/dist/theming/create.js +12 -0
- package/dist/theming/index.d.ts +54 -0
- package/dist/theming/index.js +536 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +48 -0
- package/dist/viewport/index.d.ts +275 -0
- package/dist/viewport/index.js +21 -0
- package/package.json +1030 -4
- package/template/nextjs-vite/cli/.eslintrc.json +6 -0
- package/template/nextjs-vite/cli/js/Button.jsx +42 -0
- package/template/nextjs-vite/cli/js/Button.stories.js +49 -0
- package/template/nextjs-vite/cli/js/Configure.mdx +470 -0
- package/template/nextjs-vite/cli/js/Header.jsx +58 -0
- package/template/nextjs-vite/cli/js/Header.stories.js +30 -0
- package/template/nextjs-vite/cli/js/Page.jsx +68 -0
- package/template/nextjs-vite/cli/js/Page.stories.js +28 -0
- package/template/nextjs-vite/cli/ts/Button.stories.ts +54 -0
- package/template/nextjs-vite/cli/ts/Button.tsx +39 -0
- package/template/nextjs-vite/cli/ts/Configure.mdx +446 -0
- package/template/nextjs-vite/cli/ts/Header.stories.ts +34 -0
- package/template/nextjs-vite/cli/ts/Header.tsx +54 -0
- package/template/nextjs-vite/cli/ts/Page.stories.ts +33 -0
- package/template/nextjs-vite/cli/ts/Page.tsx +73 -0
- package/template/react/cli/.eslintrc.json +5 -0
- package/template/react/cli/js/Button.jsx +39 -0
- package/template/react/cli/js/Button.stories.js +49 -0
- package/template/react/cli/js/Header.jsx +56 -0
- package/template/react/cli/js/Header.stories.js +29 -0
- package/template/react/cli/js/Page.jsx +69 -0
- package/template/react/cli/js/Page.stories.js +28 -0
- package/template/react/cli/ts/Button.stories.ts +54 -0
- package/template/react/cli/ts/Button.tsx +37 -0
- package/template/react/cli/ts/Header.stories.ts +34 -0
- package/template/react/cli/ts/Header.tsx +56 -0
- package/template/react/cli/ts/Page.stories.ts +33 -0
- package/template/react/cli/ts/Page.tsx +73 -0
- package/template/react-vite/cli/.eslintrc.json +5 -0
- package/template/react-vite/cli/js/Button.jsx +39 -0
- package/template/react-vite/cli/js/Button.stories.js +49 -0
- package/template/react-vite/cli/js/Header.jsx +56 -0
- package/template/react-vite/cli/js/Header.stories.js +29 -0
- package/template/react-vite/cli/js/Page.jsx +69 -0
- package/template/react-vite/cli/js/Page.stories.js +28 -0
- package/template/react-vite/cli/ts/Button.stories.ts +54 -0
- package/template/react-vite/cli/ts/Button.tsx +37 -0
- package/template/react-vite/cli/ts/Header.stories.ts +34 -0
- package/template/react-vite/cli/ts/Header.tsx +56 -0
- package/template/react-vite/cli/ts/Page.stories.ts +33 -0
- package/template/react-vite/cli/ts/Page.tsx +73 -0
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { ArgTypes, Args, DocgenPayload, Parameters, Renderer, StoryContextForEnhancers, StoryId, StrictArgTypes } from "@aussieljk/forkbook/internal/types";
|
|
2
|
+
|
|
3
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/types.d.ts
|
|
4
|
+
type Component = any;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/docgen/PropDef.d.ts
|
|
7
|
+
interface JsDocParam {
|
|
8
|
+
name: string | undefined | null;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
}
|
|
11
|
+
interface JsDocReturns {
|
|
12
|
+
description?: string | null;
|
|
13
|
+
}
|
|
14
|
+
interface JsDocTags {
|
|
15
|
+
params?: JsDocParam[] | null;
|
|
16
|
+
returns?: JsDocReturns | null;
|
|
17
|
+
}
|
|
18
|
+
interface PropSummaryValue {
|
|
19
|
+
summary?: string | undefined;
|
|
20
|
+
detail?: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
type PropType = PropSummaryValue;
|
|
23
|
+
type PropDefaultValue = PropSummaryValue;
|
|
24
|
+
interface PropDef {
|
|
25
|
+
name: string;
|
|
26
|
+
type: PropType | null;
|
|
27
|
+
sbType?: any;
|
|
28
|
+
required: boolean;
|
|
29
|
+
description?: string;
|
|
30
|
+
defaultValue?: PropDefaultValue | null;
|
|
31
|
+
jsDocTags?: JsDocTags;
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/docgen/types.d.ts
|
|
35
|
+
type ArgTypesExtractor = (component: Component) => StrictArgTypes | null;
|
|
36
|
+
interface DocgenType {
|
|
37
|
+
name: string;
|
|
38
|
+
raw?: string;
|
|
39
|
+
/** For `enum`: the source text of each literal, for example `[{ value: '"small"' }]`. */
|
|
40
|
+
value?: any;
|
|
41
|
+
}
|
|
42
|
+
interface DocgenPropDefaultValue {
|
|
43
|
+
value: string;
|
|
44
|
+
}
|
|
45
|
+
interface DocgenInfo {
|
|
46
|
+
type: DocgenType;
|
|
47
|
+
required: boolean;
|
|
48
|
+
description: string;
|
|
49
|
+
defaultValue: DocgenPropDefaultValue | null;
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/docgen/utils/string.d.ts
|
|
53
|
+
declare const str: (obj: any) => string;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/docgen/utils/docgenInfo.d.ts
|
|
56
|
+
declare function hasDocgen<T = any>(component: Component): component is object & {
|
|
57
|
+
__docgenInfo: T;
|
|
58
|
+
};
|
|
59
|
+
declare function getDocgenSection(component: Component, section: string): any;
|
|
60
|
+
declare function getDocgenDescription(component: Component): string;
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/jsdocParser.d.ts
|
|
63
|
+
interface ExtractedJsDocParam extends JsDocParam {
|
|
64
|
+
type?: any;
|
|
65
|
+
getPrettyName: () => string | undefined;
|
|
66
|
+
getTypeName: () => string | null;
|
|
67
|
+
}
|
|
68
|
+
interface ExtractedJsDocReturns extends JsDocReturns {
|
|
69
|
+
type?: any;
|
|
70
|
+
getTypeName: () => string | null;
|
|
71
|
+
}
|
|
72
|
+
interface ExtractedJsDoc {
|
|
73
|
+
params?: ExtractedJsDocParam[] | null;
|
|
74
|
+
deprecated?: string | null;
|
|
75
|
+
returns?: ExtractedJsDocReturns | null;
|
|
76
|
+
ignore: boolean;
|
|
77
|
+
}
|
|
78
|
+
interface JsDocParsingOptions {
|
|
79
|
+
tags?: string[];
|
|
80
|
+
}
|
|
81
|
+
interface JsDocParsingResult {
|
|
82
|
+
includesJsDoc: boolean;
|
|
83
|
+
ignore: boolean;
|
|
84
|
+
description?: string;
|
|
85
|
+
extractedTags?: ExtractedJsDoc;
|
|
86
|
+
}
|
|
87
|
+
type ParseJsDoc = (value: string | null, options?: JsDocParsingOptions) => JsDocParsingResult;
|
|
88
|
+
declare const parseJsDoc: ParseJsDoc;
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/docgen/extractDocgenProps.d.ts
|
|
91
|
+
interface ExtractedProp {
|
|
92
|
+
propDef: PropDef;
|
|
93
|
+
docgenInfo: DocgenInfo;
|
|
94
|
+
jsDocTags?: ExtractedJsDoc;
|
|
95
|
+
}
|
|
96
|
+
/** Gets the props of `component.__docgenInfo[section]`, without the props marked `@ignore`. */
|
|
97
|
+
declare function extractComponentProps(component: Component, section: string): ExtractedProp[];
|
|
98
|
+
declare function extractComponentDescription(component?: Component): string;
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/utils.d.ts
|
|
101
|
+
declare const MAX_TYPE_SUMMARY_LENGTH = 90;
|
|
102
|
+
declare const MAX_DEFAULT_VALUE_SUMMARY_LENGTH = 50;
|
|
103
|
+
declare function isTooLongForTypeSummary(value: string): boolean;
|
|
104
|
+
declare function isTooLongForDefaultValueSummary(value: string): boolean;
|
|
105
|
+
declare function createSummaryValue(summary?: string, detail?: string): PropSummaryValue;
|
|
106
|
+
declare const normalizeNewlines: (string: string) => string;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/enhanceArgTypes.d.ts
|
|
109
|
+
declare const enhanceArgTypes: <TRenderer extends Renderer>(context: StoryContextForEnhancers<TRenderer>) => Parameters;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region .dts-emit/code/core/src/docs-tools/argTypes/docgenServiceArgTypes.d.ts
|
|
112
|
+
/**
|
|
113
|
+
* Builds the Controls/ArgTypes table shape from server docgen and custom argTypes.
|
|
114
|
+
*
|
|
115
|
+
* Mirrors the legacy `prepareStory` enhancer chain when `docgenServer` is enabled:
|
|
116
|
+
* server docgen stands in for `enhanceArgTypes`, user annotations from `customArgTypes` layer on
|
|
117
|
+
* top, then `inferArgTypes` and `inferControls` run the second pass that `prepareStory` skips.
|
|
118
|
+
*
|
|
119
|
+
* Callers source custom argTypes from the prepared meta/story they already hold — the docs blocks
|
|
120
|
+
* resolve it locally through `useOf` (as `StrictArgTypes`), the manager Controls panel reads it
|
|
121
|
+
* from the `STORY_PREPARED` channel via `useArgTypes` (as the looser `ArgTypes`); both are
|
|
122
|
+
* accepted here and normalized by the inference passes below.
|
|
123
|
+
*/
|
|
124
|
+
declare function mergeServiceArgTypes({
|
|
125
|
+
payload,
|
|
126
|
+
storyId,
|
|
127
|
+
parameters,
|
|
128
|
+
initialArgs,
|
|
129
|
+
customArgTypes
|
|
130
|
+
}: {
|
|
131
|
+
/** Undefined when docgen has nothing for the component, e.g. a story file without `component`. */payload: DocgenPayload | undefined;
|
|
132
|
+
storyId: StoryId; /** May be undefined when the manager renders before the preview reports `storyPrepared`. */
|
|
133
|
+
parameters?: Parameters;
|
|
134
|
+
initialArgs?: Args;
|
|
135
|
+
customArgTypes?: ArgTypes;
|
|
136
|
+
}): StrictArgTypes;
|
|
137
|
+
/** Returns subcomponent argTypes that were converted by the renderer provider at write time. */
|
|
138
|
+
declare function getServiceSubcomponentArgTypes(payload: DocgenPayload): Record<string, StrictArgTypes>;
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region .dts-emit/code/core/src/docs-tools/shared.d.ts
|
|
141
|
+
declare const ADDON_ID = "@aussieljk/forkbook/docs";
|
|
142
|
+
declare const PANEL_ID = "@aussieljk/forkbook/docs/panel";
|
|
143
|
+
declare const PARAM_KEY = "docs";
|
|
144
|
+
/** DOM id of the wrapper element the `Anchor` doc block renders around each story in a docs page. */
|
|
145
|
+
declare const anchorBlockIdFromId: (storyId: string) => string;
|
|
146
|
+
declare const SNIPPET_RENDERED = "@aussieljk/forkbook/docs/snippet-rendered";
|
|
147
|
+
declare enum SourceType {
|
|
148
|
+
/**
|
|
149
|
+
* AUTO is the default
|
|
150
|
+
*
|
|
151
|
+
* Use the CODE logic if:
|
|
152
|
+
*
|
|
153
|
+
* - The user has set a custom source snippet in `docs.source.code` story parameter
|
|
154
|
+
* - The story is not an args-based story
|
|
155
|
+
*
|
|
156
|
+
* Use the DYNAMIC rendered snippet if the story is an args story
|
|
157
|
+
*/
|
|
158
|
+
AUTO = "auto",
|
|
159
|
+
/** Render the code extracted by csf-plugin */
|
|
160
|
+
CODE = "code",
|
|
161
|
+
/** Render dynamically-rendered source snippet from the story's virtual DOM (currently React only) */
|
|
162
|
+
DYNAMIC = "dynamic"
|
|
163
|
+
}
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region .dts-emit/code/core/src/docs-tools/storyDocsCodePanel.d.ts
|
|
166
|
+
type StoryDocsCodePanelParameters = {
|
|
167
|
+
__isArgsStory?: boolean;
|
|
168
|
+
__isPortableStory?: boolean;
|
|
169
|
+
docs?: {
|
|
170
|
+
source?: {
|
|
171
|
+
code?: string;
|
|
172
|
+
type?: SourceType;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Whether the preview story-docs hook should skip emitting a snippet to the manager Code panel.
|
|
178
|
+
*
|
|
179
|
+
* The args/source shape logic mirrors {@link skipJsxRender} in the React `jsxDecorator`, so static
|
|
180
|
+
* service snippets replace dynamic JSX rendering under the same conditions. It additionally skips
|
|
181
|
+
* portable stories (vitest, playwright/jest portable): those have no manager Code panel and no OSA
|
|
182
|
+
* server peer, so the `extractStoryDocs` remote command has no handler and would reject after the
|
|
183
|
+
* ack timeout — there is nothing to emit to.
|
|
184
|
+
*/
|
|
185
|
+
declare function shouldSkipStoryDocsEmit(parameters?: StoryDocsCodePanelParameters): boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Whether the Code panel should keep rendering blank while it waits for a story-docs service snippet
|
|
188
|
+
* instead of falling back to raw CSF (`originalSource`).
|
|
189
|
+
*
|
|
190
|
+
* True while the docgen server might still emit a snippet for the current story: either the story is
|
|
191
|
+
* known to emit one, or it is not prepared yet so the emit decision — which depends on prepared
|
|
192
|
+
* parameters like `__isArgsStory` — is still unknown in the manager. Holding the fallback during
|
|
193
|
+
* that window prevents flashing raw CSF before the service snippet arrives for newly opened stories.
|
|
194
|
+
*/
|
|
195
|
+
declare function shouldWaitForServiceSnippet(parameters: StoryDocsCodePanelParameters | undefined, storyPrepared: boolean | undefined): boolean;
|
|
196
|
+
//#endregion
|
|
197
|
+
export { ADDON_ID, ArgTypesExtractor, Component, DocgenInfo, DocgenPropDefaultValue, DocgenType, ExtractedJsDoc, ExtractedJsDocParam, ExtractedJsDocReturns, ExtractedProp, JsDocParam, JsDocParsingOptions, JsDocParsingResult, JsDocReturns, JsDocTags, MAX_DEFAULT_VALUE_SUMMARY_LENGTH, MAX_TYPE_SUMMARY_LENGTH, PANEL_ID, PARAM_KEY, ParseJsDoc, PropDef, PropDefaultValue, PropSummaryValue, PropType, SNIPPET_RENDERED, SourceType, StoryDocsCodePanelParameters, anchorBlockIdFromId, createSummaryValue, enhanceArgTypes, extractComponentDescription, extractComponentProps, getDocgenDescription, getDocgenSection, getServiceSubcomponentArgTypes, hasDocgen, isTooLongForDefaultValueSummary, isTooLongForTypeSummary, mergeServiceArgTypes, normalizeNewlines, parseJsDoc, shouldSkipStoryDocsEmit, shouldWaitForServiceSnippet, str };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ADDON_ID,
|
|
3
|
+
MAX_DEFAULT_VALUE_SUMMARY_LENGTH,
|
|
4
|
+
MAX_TYPE_SUMMARY_LENGTH,
|
|
5
|
+
PANEL_ID,
|
|
6
|
+
PARAM_KEY,
|
|
7
|
+
SNIPPET_RENDERED,
|
|
8
|
+
SourceType,
|
|
9
|
+
anchorBlockIdFromId,
|
|
10
|
+
createSummaryValue,
|
|
11
|
+
enhanceArgTypes,
|
|
12
|
+
extractComponentDescription,
|
|
13
|
+
extractComponentProps,
|
|
14
|
+
getDocgenDescription,
|
|
15
|
+
getDocgenSection,
|
|
16
|
+
hasDocgen,
|
|
17
|
+
isTooLongForDefaultValueSummary,
|
|
18
|
+
isTooLongForTypeSummary,
|
|
19
|
+
normalizeNewlines,
|
|
20
|
+
parseJsDoc,
|
|
21
|
+
shouldSkipStoryDocsEmit,
|
|
22
|
+
shouldWaitForServiceSnippet,
|
|
23
|
+
str
|
|
24
|
+
} from "../_browser-chunks/chunk-3HM3VWJS.js";
|
|
25
|
+
import {
|
|
26
|
+
getServiceSubcomponentArgTypes,
|
|
27
|
+
mergeServiceArgTypes
|
|
28
|
+
} from "../_browser-chunks/chunk-GRO2ZYEJ.js";
|
|
29
|
+
import "../_browser-chunks/chunk-2JDQ35OA.js";
|
|
30
|
+
import "../_browser-chunks/chunk-IE4ULIOQ.js";
|
|
31
|
+
import "../_browser-chunks/chunk-B4AUNNU4.js";
|
|
32
|
+
import "../_browser-chunks/chunk-NZMVUW5T.js";
|
|
33
|
+
import "../_browser-chunks/chunk-JWSKPMPC.js";
|
|
34
|
+
import "../_browser-chunks/chunk-JPUOQJUI.js";
|
|
35
|
+
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
36
|
+
export {
|
|
37
|
+
ADDON_ID,
|
|
38
|
+
MAX_DEFAULT_VALUE_SUMMARY_LENGTH,
|
|
39
|
+
MAX_TYPE_SUMMARY_LENGTH,
|
|
40
|
+
PANEL_ID,
|
|
41
|
+
PARAM_KEY,
|
|
42
|
+
SNIPPET_RENDERED,
|
|
43
|
+
SourceType,
|
|
44
|
+
anchorBlockIdFromId,
|
|
45
|
+
createSummaryValue,
|
|
46
|
+
enhanceArgTypes,
|
|
47
|
+
extractComponentDescription,
|
|
48
|
+
extractComponentProps,
|
|
49
|
+
getDocgenDescription,
|
|
50
|
+
getDocgenSection,
|
|
51
|
+
getServiceSubcomponentArgTypes,
|
|
52
|
+
hasDocgen,
|
|
53
|
+
isTooLongForDefaultValueSummary,
|
|
54
|
+
isTooLongForTypeSummary,
|
|
55
|
+
mergeServiceArgTypes,
|
|
56
|
+
normalizeNewlines,
|
|
57
|
+
parseJsDoc,
|
|
58
|
+
shouldSkipStoryDocsEmit,
|
|
59
|
+
shouldWaitForServiceSnippet,
|
|
60
|
+
str
|
|
61
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { n as HighlightMenuItem, r as HighlightOptions, t as ClickEventDetails } from "../chunk-DDd8BhTY.js";
|
|
2
|
+
|
|
3
|
+
//#region .dts-emit/code/core/src/highlight/constants.d.ts
|
|
4
|
+
declare const HIGHLIGHT = "@aussieljk/forkbook/highlight/add";
|
|
5
|
+
declare const REMOVE_HIGHLIGHT = "@aussieljk/forkbook/highlight/remove";
|
|
6
|
+
declare const RESET_HIGHLIGHT = "@aussieljk/forkbook/highlight/reset";
|
|
7
|
+
declare const SCROLL_INTO_VIEW = "@aussieljk/forkbook/highlight/scroll-into-view";
|
|
8
|
+
declare const HIGHLIGHT_MENU_CLICK = "@aussieljk/forkbook/highlight/menu-click";
|
|
9
|
+
//#endregion
|
|
10
|
+
export { type ClickEventDetails, HIGHLIGHT, HIGHLIGHT_MENU_CLICK, type HighlightMenuItem, type HighlightOptions, REMOVE_HIGHLIGHT, RESET_HIGHLIGHT, SCROLL_INTO_VIEW };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HIGHLIGHT,
|
|
3
|
+
HIGHLIGHT_MENU_CLICK,
|
|
4
|
+
REMOVE_HIGHLIGHT,
|
|
5
|
+
RESET_HIGHLIGHT,
|
|
6
|
+
SCROLL_INTO_VIEW
|
|
7
|
+
} from "../_browser-chunks/chunk-WOSOWBCA.js";
|
|
8
|
+
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
9
|
+
export {
|
|
10
|
+
HIGHLIGHT,
|
|
11
|
+
HIGHLIGHT_MENU_CLICK,
|
|
12
|
+
REMOVE_HIGHLIGHT,
|
|
13
|
+
RESET_HIGHLIGHT,
|
|
14
|
+
SCROLL_INTO_VIEW
|
|
15
|
+
};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { t as RenderPhase } from "../chunk-Bpi2tz-6.js";
|
|
2
|
+
import { Channel } from "@aussieljk/forkbook/internal/channels";
|
|
3
|
+
import { StoryId } from "@aussieljk/forkbook/internal/types";
|
|
4
|
+
|
|
5
|
+
//#region .dts-emit/code/core/src/instrumenter/types.d.ts
|
|
6
|
+
interface Call {
|
|
7
|
+
id: string;
|
|
8
|
+
cursor: number;
|
|
9
|
+
storyId: StoryId;
|
|
10
|
+
ancestors: Call['id'][];
|
|
11
|
+
path: Array<string | CallRef>;
|
|
12
|
+
method: string;
|
|
13
|
+
args: any[];
|
|
14
|
+
interceptable: boolean;
|
|
15
|
+
retain: boolean;
|
|
16
|
+
status?: CallStates.DONE | CallStates.ERROR | CallStates.ACTIVE | CallStates.WAITING;
|
|
17
|
+
exception?: {
|
|
18
|
+
name: Error['name'];
|
|
19
|
+
message: Error['message'];
|
|
20
|
+
stack: Error['stack'];
|
|
21
|
+
callId: Call['id'];
|
|
22
|
+
showDiff?: boolean;
|
|
23
|
+
diff?: string;
|
|
24
|
+
actual?: unknown;
|
|
25
|
+
expected?: unknown;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
declare enum CallStates {
|
|
29
|
+
DONE = "done",
|
|
30
|
+
ERROR = "error",
|
|
31
|
+
ACTIVE = "active",
|
|
32
|
+
WAITING = "waiting"
|
|
33
|
+
}
|
|
34
|
+
interface CallRef {
|
|
35
|
+
__callId__: Call['id'];
|
|
36
|
+
}
|
|
37
|
+
interface ElementRef {
|
|
38
|
+
__element__: {
|
|
39
|
+
prefix?: string;
|
|
40
|
+
localName: string;
|
|
41
|
+
id?: string;
|
|
42
|
+
classNames?: string[];
|
|
43
|
+
innerText?: string;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
interface ControlStates {
|
|
47
|
+
detached: boolean;
|
|
48
|
+
start: boolean;
|
|
49
|
+
back: boolean;
|
|
50
|
+
goto: boolean;
|
|
51
|
+
next: boolean;
|
|
52
|
+
end: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface LogItem {
|
|
55
|
+
callId: Call['id'];
|
|
56
|
+
status: Call['status'];
|
|
57
|
+
ancestors: Call['id'][];
|
|
58
|
+
}
|
|
59
|
+
interface SyncPayload {
|
|
60
|
+
/** Absent when the whole log is reset, and in payloads from composed Storybooks that predate it. */
|
|
61
|
+
storyId?: StoryId;
|
|
62
|
+
controlStates: ControlStates;
|
|
63
|
+
logItems: LogItem[];
|
|
64
|
+
pausedAt?: Call['id'];
|
|
65
|
+
}
|
|
66
|
+
interface State {
|
|
67
|
+
renderPhase: RenderPhase;
|
|
68
|
+
isDebugging: boolean;
|
|
69
|
+
isPlaying: boolean;
|
|
70
|
+
isLocked: boolean;
|
|
71
|
+
cursor: number;
|
|
72
|
+
calls: Call[];
|
|
73
|
+
shadowCalls: Call[];
|
|
74
|
+
callRefsByResult: Map<any, CallRef & {
|
|
75
|
+
retain: boolean;
|
|
76
|
+
}>;
|
|
77
|
+
chainedCallIds: Set<Call['id']>;
|
|
78
|
+
ancestors: Call['id'][];
|
|
79
|
+
playUntil?: Call['id'];
|
|
80
|
+
resolvers: Record<Call['id'], Function>;
|
|
81
|
+
syncTimeout?: ReturnType<typeof setTimeout>;
|
|
82
|
+
forwardedException?: Error;
|
|
83
|
+
}
|
|
84
|
+
interface Options {
|
|
85
|
+
intercept?: boolean | ((method: string, path: Array<string | CallRef>) => boolean);
|
|
86
|
+
retain?: boolean;
|
|
87
|
+
mutate?: boolean;
|
|
88
|
+
path?: Array<string | CallRef>;
|
|
89
|
+
getArgs?: (call: Call, state: State) => Call['args'];
|
|
90
|
+
getKeys?: (originalObject: Record<string, unknown>, depth: number) => string[];
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region .dts-emit/code/core/src/instrumenter/instrumenter.d.ts
|
|
94
|
+
/**
|
|
95
|
+
* Instruments an object or module by traversing its properties, patching any functions (methods) to
|
|
96
|
+
* enable debugging. Patched functions will emit a `call` event when invoked. When intercept = true,
|
|
97
|
+
* patched functions will return a Promise when the debugger stops before this function. As such,
|
|
98
|
+
* "interceptable" functions will have to be `await`-ed.
|
|
99
|
+
*/
|
|
100
|
+
declare function instrument<TObj extends Record<string, any>>(obj: TObj, options?: Options): TObj;
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region .dts-emit/code/core/src/instrumenter/EVENTS.d.ts
|
|
103
|
+
declare const EVENTS: {
|
|
104
|
+
CALL: string;
|
|
105
|
+
SYNC: string;
|
|
106
|
+
START: string;
|
|
107
|
+
BACK: string;
|
|
108
|
+
GOTO: string;
|
|
109
|
+
NEXT: string;
|
|
110
|
+
END: string;
|
|
111
|
+
};
|
|
112
|
+
//#endregion
|
|
113
|
+
export { Call, CallRef, CallStates, ControlStates, EVENTS, ElementRef, LogItem, Options, type RenderPhase, State, SyncPayload, instrument };
|