@aussieljk/forkbook 0.0.1-7 → 0.0.1-9
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/assets/create/templates/react-native/index.expo.js +4 -4
- package/assets/create/templates/react-native/index.js +5 -5
- package/assets/server/template.ejs +13 -0
- package/dist/_browser-chunks/{Color-2YRIFQLC.js → Color-GEC6HRBY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-4R5JMWZ7.js → WithTooltip-CS3HPMGA.js} +6 -4
- package/dist/_browser-chunks/{chunk-4EFKUJG2.js → chunk-6QEYM2YW.js} +25 -25
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/{chunk-WVF42CP2.js → chunk-DNJ3OSLB.js} +46 -52
- package/dist/_browser-chunks/{chunk-E47B5255.js → chunk-IFADVEQE.js} +63 -543
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YYWKZ7O3.js → chunk-NTUHL5NS.js} +5 -2
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/{chunk-HTL5ODCB.js → chunk-PFCGVFP6.js} +3 -3
- package/dist/_browser-chunks/{chunk-H4ZHAXN3.js → chunk-V5U45XXZ.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/{chunk-DAUHYZUB.js → chunk-XTQCLWVH.js} +255 -494
- package/dist/_browser-chunks/{chunk-SFMQDIN2.js → chunk-ZHKZKFY4.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-WFZCCGUB.js → attached-runtime-OI5IEIR7.js} +30 -30
- package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
- package/dist/_node-chunks/{chunk-R6AKCXPH.js → chunk-2FWH7OUZ.js} +7 -7
- package/dist/_node-chunks/{chunk-MF5BYASO.js → chunk-2QPSOAHI.js} +6 -6
- package/dist/_node-chunks/{chunk-PQLXHVWK.js → chunk-2T2S3YYS.js} +6 -6
- package/dist/_node-chunks/{chunk-MF3AT3JQ.js → chunk-35JF5BS4.js} +6 -6
- package/dist/_node-chunks/{chunk-KHWCZDIW.js → chunk-3I43FMZC.js} +7 -7
- package/dist/_node-chunks/{chunk-7PMQPS5E.js → chunk-3R57KO3F.js} +10 -10
- package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
- package/dist/_node-chunks/{chunk-CNMMDQC3.js → chunk-4HYKKRBM.js} +13 -15
- package/dist/_node-chunks/{chunk-CBBFNVFZ.js → chunk-4W6HJYYC.js} +7 -7
- package/dist/_node-chunks/{chunk-6K3ZE4HN.js → chunk-57BBVTHQ.js} +6 -6
- package/dist/_node-chunks/{chunk-RZ7UEP4N.js → chunk-5MDE2KCS.js} +6 -6
- package/dist/_node-chunks/{chunk-JPHSU5OI.js → chunk-5NCRCPYK.js} +6 -6
- package/dist/_node-chunks/{chunk-CENNLCU7.js → chunk-6O6BHNDO.js} +7 -7
- package/dist/_node-chunks/{chunk-LZYYZ62Y.js → chunk-7PZDRNVT.js} +6 -6
- package/dist/_node-chunks/{chunk-QSP42ZBM.js → chunk-7X5WP3UJ.js} +6 -6
- package/dist/_node-chunks/{chunk-JDKYP7FW.js → chunk-7XYURNT2.js} +10 -10
- package/dist/_node-chunks/{chunk-HUMAXGH2.js → chunk-AONRQAQP.js} +6 -6
- package/dist/_node-chunks/{chunk-KWER36VB.js → chunk-ASFRQHZH.js} +6 -6
- package/dist/_node-chunks/{chunk-UNCBLHIP.js → chunk-AUY6EZPA.js} +10 -10
- package/dist/_node-chunks/{chunk-P3GOMPP3.js → chunk-BCFTMBAH.js} +7 -7
- package/dist/_node-chunks/{chunk-MRWBN46D.js → chunk-BEHNZYWF.js} +8 -8
- package/dist/_node-chunks/{chunk-UPJMGWMZ.js → chunk-BZNVRJ6H.js} +7 -7
- package/dist/_node-chunks/{chunk-ZSGOW4WQ.js → chunk-CHLWJ5F5.js} +6 -6
- package/dist/_node-chunks/{chunk-F3SAYS4R.js → chunk-CMDR42D7.js} +6 -6
- package/dist/_node-chunks/{chunk-QWRQXG2V.js → chunk-CP646EXE.js} +8 -8
- package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
- package/dist/_node-chunks/{chunk-NQAFLS5U.js → chunk-DMDIIGJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-WHOF2BJB.js → chunk-DTZELAXT.js} +7 -7
- package/dist/_node-chunks/{chunk-BQC6WCUS.js → chunk-ELMANXC3.js} +6 -6
- package/dist/_node-chunks/{chunk-SHH7JROR.js → chunk-ELXK72IJ.js} +6 -6
- package/dist/_node-chunks/{chunk-LJTP5PAJ.js → chunk-F6RXCQF6.js} +6 -6
- package/dist/_node-chunks/{chunk-M7ZVSBNU.js → chunk-FKQHIPUA.js} +6 -6
- package/dist/_node-chunks/{chunk-X63YMAHP.js → chunk-FPWDVE2V.js} +7 -7
- package/dist/_node-chunks/{chunk-J3Q56GX3.js → chunk-FVJLKXNS.js} +23 -23
- package/dist/_node-chunks/{chunk-NUYBFTOU.js → chunk-GABGLW7D.js} +7 -7
- package/dist/_node-chunks/{chunk-Y6G64J5S.js → chunk-GOZDHTIK.js} +6 -6
- package/dist/_node-chunks/{chunk-QWDR5OWQ.js → chunk-GPSR4MZL.js} +15 -15
- package/dist/_node-chunks/{chunk-JED5F3H2.js → chunk-GZ2YC6US.js} +6 -6
- package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
- package/dist/_node-chunks/{chunk-I535GEPH.js → chunk-I6ANUF4J.js} +7 -7
- package/dist/_node-chunks/{chunk-MJFMB4WD.js → chunk-ICIP5FB5.js} +9 -9
- package/dist/_node-chunks/{chunk-O7VJA7SM.js → chunk-IK35TZRH.js} +7 -7
- package/dist/_node-chunks/{chunk-5PYQ573S.js → chunk-IOJ6NYLD.js} +7 -7
- package/dist/_node-chunks/{chunk-ESZIQTUH.js → chunk-IWEZ5KSJ.js} +7 -7
- package/dist/_node-chunks/{chunk-SWHTDOB4.js → chunk-JOOZKSBS.js} +7 -7
- package/dist/_node-chunks/{chunk-G2AANC4A.js → chunk-JXVJAA3U.js} +6 -6
- package/dist/_node-chunks/{chunk-ATX7SHS7.js → chunk-K6VX4GUH.js} +8 -8
- package/dist/_node-chunks/{chunk-ESCZ2NSB.js → chunk-L7US6VLX.js} +6 -6
- package/dist/_node-chunks/{chunk-UVV24PG4.js → chunk-LKMHU2P3.js} +7 -7
- package/dist/_node-chunks/{chunk-CDFQORVD.js → chunk-LMWS7NDR.js} +7 -7
- package/dist/_node-chunks/{chunk-WME5NEJA.js → chunk-LPDII6WJ.js} +6 -6
- package/dist/_node-chunks/{chunk-ZIDIYSJQ.js → chunk-MBJ2CUVU.js} +7 -7
- package/dist/_node-chunks/{chunk-6QZ3PX5R.js → chunk-MGXABKCL.js} +7 -7
- package/dist/_node-chunks/{chunk-BR4WDRY6.js → chunk-MHLTWQGQ.js} +8 -8
- package/dist/_node-chunks/{chunk-Q6QRFKHB.js → chunk-MMMKY3DA.js} +8 -8
- package/dist/_node-chunks/{chunk-WBB4NQ6H.js → chunk-MXNT3HBF.js} +6 -6
- package/dist/_node-chunks/{chunk-64JPAW3T.js → chunk-O7WMRMVJ.js} +6 -6
- package/dist/_node-chunks/{chunk-NSZGBFPR.js → chunk-OPLD7FOE.js} +6 -6
- package/dist/_node-chunks/{chunk-MBIIJTGQ.js → chunk-P4CWOISW.js} +7 -7
- package/dist/_node-chunks/{chunk-OGJ7LDX3.js → chunk-POXIO453.js} +7 -7
- package/dist/_node-chunks/{chunk-BRHJ4P3A.js → chunk-PRTTCG3N.js} +6 -6
- package/dist/_node-chunks/{chunk-K5RUOW42.js → chunk-QE3NKWUX.js} +7 -7
- package/dist/_node-chunks/{chunk-SZYMLCHF.js → chunk-QMERCCIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-U3E7E4Q2.js → chunk-QVF2NJK4.js} +10 -10
- package/dist/_node-chunks/{chunk-YZWUD7I5.js → chunk-R33EXC6B.js} +50 -50
- package/dist/_node-chunks/{chunk-JQICISDD.js → chunk-R3BJJGEG.js} +6 -6
- package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
- package/dist/_node-chunks/{chunk-7V5AOV2J.js → chunk-RJV4QWRP.js} +7 -7
- package/dist/_node-chunks/{chunk-3ZCGT6VF.js → chunk-RXEMA2TT.js} +6 -6
- package/dist/_node-chunks/{chunk-S3HB4EWT.js → chunk-TKOUTJWX.js} +8 -8
- package/dist/_node-chunks/{chunk-TOGDRW2W.js → chunk-TRZWEDUE.js} +6 -6
- package/dist/_node-chunks/{chunk-YVIPYJ53.js → chunk-U3BEYEZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-UF6Q6L5C.js → chunk-UI6NW64P.js} +125 -144
- package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
- package/dist/_node-chunks/{chunk-JMS4H7QB.js → chunk-VF6725VX.js} +7 -7
- package/dist/_node-chunks/{chunk-7HVDL6M3.js → chunk-VJJTMS2R.js} +9 -9
- package/dist/_node-chunks/{chunk-7VHCAGBJ.js → chunk-VQBXHU2T.js} +8 -8
- package/dist/_node-chunks/{chunk-DT45EUDD.js → chunk-VZ3PQJKF.js} +27 -32
- package/dist/_node-chunks/{chunk-6CB3XSQ2.js → chunk-WI6FDUOM.js} +8 -8
- package/dist/_node-chunks/{chunk-U6DHF3RM.js → chunk-WTS7HYGM.js} +7 -7
- package/dist/_node-chunks/{chunk-OWT6AVWK.js → chunk-WXMIR2F2.js} +8 -8
- package/dist/_node-chunks/{chunk-FVFSSIGA.js → chunk-XA2UQNP3.js} +10 -10
- package/dist/_node-chunks/{chunk-FTUQ7T3V.js → chunk-Y2FWEOIW.js} +8 -8
- package/dist/_node-chunks/{chunk-EAL4RVEF.js → chunk-Y5JLYH6J.js} +6 -6
- package/dist/_node-chunks/{chunk-JOSJ64KD.js → chunk-YELBVH4K.js} +7 -7
- package/dist/_node-chunks/{chunk-MZQXEAI6.js → chunk-YK5N35SR.js} +9 -9
- package/dist/_node-chunks/{chunk-4HGC3G6B.js → chunk-YLXOGJX6.js} +21 -9
- package/dist/_node-chunks/{chunk-NLPC2DDQ.js → chunk-YSVJU5VZ.js} +6 -6
- package/dist/_node-chunks/{chunk-RCY7TLET.js → chunk-ZFTEHWNT.js} +8 -8
- package/dist/_node-chunks/{chunk-JTLOSDYL.js → chunk-ZLBDSC7U.js} +9 -9
- package/dist/_node-chunks/{chunk-UAG3XK32.js → chunk-ZMI35R7E.js} +47 -36
- package/dist/_node-chunks/{chunk-RKKMQA6N.js → chunk-ZOE2QQSS.js} +8 -8
- package/dist/_node-chunks/{chunk-DMDZPUHM.js → chunk-ZST2SPBX.js} +6 -6
- package/dist/_node-chunks/{chunk-Y2GHAOKI.js → chunk-ZUYRTHXN.js} +6 -6
- package/dist/_node-chunks/dist-FABQFQ76.js +27 -0
- package/dist/_node-chunks/dist-ZUXZVI3A.js +16 -0
- package/dist/_node-chunks/{local-runtime-UN5QK2SE.js → local-runtime-LKT5I6NG.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-6M6CMNL3.js → mdx-plugin-2YIBFVCV.js} +13 -13
- package/dist/_node-chunks/{monorepo-253VKW4B.js → monorepo-HROZW452.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-MUIOTVJR.js} +11 -11
- package/dist/_node-chunks/optimized-tests-EK5H7MUQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-CCCJRMSL.js → pattern-copy-play-VQNMME5S.js} +11 -11
- package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-LJTPLCGD.js → rehype-external-links-WXD3NVWK.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-KQI7ULEZ.js → rehype-slug-LWBEJBWR.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-MUE2NI7S.js → relaxed-limits-MKV6OE3S.js} +11 -11
- package/dist/_node-chunks/{run-SYLR25HA.js → run-A4A2HQDT.js} +17 -17
- package/dist/_node-chunks/{run-PGZMPNMS.js → run-UBPF7ZUG.js} +53 -26
- package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
- package/dist/_node-chunks/{setup-XZWSUYPG.js → setup-SMMCS2Q5.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-T25YYRGV.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +19 -23
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +21 -27
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +4 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +4 -2
- package/dist/addon-links/react/index.js +3 -1
- package/dist/addon-mcp/preset.js +10 -10
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +8 -10
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-themes/manager.js +3 -3
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +8 -8
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +15 -15
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +62 -62
- package/dist/bin/dispatcher.js +13 -16
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-B_ZhEPlo.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
- package/dist/{chunk-DuDsmeM7.d.ts → chunk-CFk6djyM.d.ts} +4 -4
- package/dist/{chunk-CMaYrou5.d.ts → chunk-DXsI731B.d.ts} +1 -1
- package/dist/{chunk-BWzbIWPz.d.ts → chunk-Dw_4ad2Y.d.ts} +5 -5
- package/dist/{chunk-LrH1y9J2.d.ts → chunk-PdOIKm0H.d.ts} +42 -9
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- package/dist/cli/skills/content/index.d.ts +1 -1
- package/dist/cli/skills/content/index.js +2 -2
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +14 -27
- package/dist/common/index.js +36 -40
- package/dist/components/index.d.ts +38 -1
- package/dist/components/index.js +597 -522
- package/dist/core-server/index.d.ts +6 -6
- package/dist/core-server/index.js +283 -174
- package/dist/core-server/presets/common-manager.js +492 -118
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +51 -43
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.d.ts +3 -1
- package/dist/csf-tools/index.js +14 -12
- package/dist/manager/_manager-chunks/{globals-runtime-CI-C7ncS.js → globals-runtime-B1q30If4.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-4fCHtNC6.js → globals-runtime-BY3epqww.js} +413 -2
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bpc_ftuT.js → globals-runtime-Bs75QQ_I.js} +3 -1192
- package/dist/manager/_manager-chunks/{globals-runtime-D82vqOGq.js → globals-runtime-BweHuXkK.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BKPOYSwp.js → globals-runtime-C4GdZS7_.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DB8fVA5g.js → globals-runtime-CA8AuIRT.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CzEhVGVp.js → globals-runtime-CnfHMZV0.js} +153 -27
- package/dist/manager/_manager-chunks/{globals-runtime-BMIT8BJb.js → globals-runtime-DgHSAUIB.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-kmPSyf3j.js → globals-runtime-DvV_TF3-.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DMq1Phbl.js → globals-runtime-FcobHVj9.js} +480 -375
- package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CI_p54Ha.js → globals-runtime-dh5vgpgm.js} +238 -232
- package/dist/manager/_manager-chunks/{globals-runtime-DOPUchia.js → globals-runtime-wjkxyMn0.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-Cf0p9DUx.js → runtime-BSkBrZa7.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-D09XMY6V.js → runtime-Bdda1ODD.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-B4U0u9p4.js → runtime-Bp_XtatN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-D-nYLsdk.js → runtime-D-bkVc6v.js} +32 -31
- package/dist/manager/_manager-chunks/{runtime-DzxaTqVN.js → runtime-DP_7wWTN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BM30BmeT.js → runtime-DlX-MKi1.js} +335 -327
- package/dist/manager/_manager-chunks/{runtime-ecY5qnmo.js → runtime-TytMkKcC.js} +339 -240
- package/dist/manager/_manager-chunks/{runtime-DvrwKw7z.js → runtime-jOBCBZ66.js} +98 -61
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.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 +34 -9
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.d.ts +2 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- 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-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +12 -12
- package/dist/react-native/index.d.ts +8 -8
- package/dist/react-native/index.js +3 -3
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/{withStorybook.d.ts → withForkbook.d.ts} +9 -9
- package/dist/react-native/metro/{withStorybook.js → withForkbook.js} +16 -16
- package/dist/react-native/scripts/generate.d.ts +1 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-vite/index.d.ts +2 -2
- package/dist/react-vite/node/index.d.ts +3 -3
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.d.ts +69 -1
- package/dist/router/index.js +48 -8
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.d.ts +3 -3
- package/dist/telemetry/index.js +43 -43
- package/dist/theming/index.js +13 -9
- package/dist/types/index.d.ts +2 -2
- package/package.json +7 -9
- package/dist/_node-chunks/builder-manager-DHKHRZK4.js +0 -1623
- package/dist/_node-chunks/chunk-EFFWFE6W.js +0 -11
- package/dist/_node-chunks/chunk-UGXN7JTT.js +0 -18
- package/dist/_node-chunks/dist-5EG56KTF.js +0 -16
- package/dist/_node-chunks/dist-UEXSNGGQ.js +0 -27
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +0 -22
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +0 -20
- package/dist/_node-chunks/session-id-J4A25UQ6.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +0 -413
- package/dist/manager/_manager-chunks/globals-runtime-BO0pfoqL.js +0 -3414
- package/dist/manager/_manager-chunks/globals-runtime-BZKYJxYC.js +0 -2093
- package/dist/manager/_manager-chunks/globals-runtime-CTyYXvUm.js +0 -41
- package/dist/manager/_manager-chunks/globals-runtime-Dbt08xWQ.js +0 -1960
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-PFCGVFP6.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-6QEYM2YW.js";
|
|
25
25
|
import "../_browser-chunks/chunk-PJSMZ27A.js";
|
|
26
26
|
import "../_browser-chunks/chunk-6ELMKWKX.js";
|
|
27
27
|
import {
|
|
@@ -46,7 +46,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
46
46
|
let style = document.createElement("style");
|
|
47
47
|
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);
|
|
48
48
|
}
|
|
49
|
-
var DocsPage_default = {
|
|
49
|
+
var DocsPage_default = { docsWrapper: "fb-JTDUUW-docsWrapper", subtitle: "fb-JTDUUW-subtitle", docsContent: "fb-JTDUUW-docsContent" };
|
|
50
50
|
|
|
51
51
|
// src/addon-docs/blocks/components/Title.tsx
|
|
52
52
|
import { withReset } from "@aussieljk/forkbook/internal/components";
|
|
@@ -74,7 +74,7 @@ var Subtitle = ({ className, ...props }) => jsx2("h2", { className: clsx(withRes
|
|
|
74
74
|
import { Children, useCallback, useContext as useContext2, useId, useMemo, useState as useState3 } from "react";
|
|
75
75
|
import { logger } from "@aussieljk/forkbook/internal/client-logger";
|
|
76
76
|
import { Bar, Button as Button2, ToggleButton, Zoom } from "@aussieljk/forkbook/internal/components";
|
|
77
|
-
import { CodeIcon, CopyIcon } from "
|
|
77
|
+
import { CodeIcon, CopyIcon } from "lucide-react";
|
|
78
78
|
|
|
79
79
|
// src/addon-docs/blocks/blocks/DocsContext.ts
|
|
80
80
|
import { createContext } from "react";
|
|
@@ -303,13 +303,7 @@ var storyBlockIdFromId = ({ story, primary }) => `story--${story.id}${primary ?
|
|
|
303
303
|
|
|
304
304
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
305
305
|
import { Button, Toolbar as SharedToolbar } from "@aussieljk/forkbook/internal/components";
|
|
306
|
-
import {
|
|
307
|
-
ArrowCounterClockwiseIcon,
|
|
308
|
-
ArrowsClockwiseIcon,
|
|
309
|
-
MagnifyingGlassMinusIcon,
|
|
310
|
-
MagnifyingGlassPlusIcon,
|
|
311
|
-
ShareNetworkIcon
|
|
312
|
-
} from "@phosphor-icons/react";
|
|
306
|
+
import { RotateCcwIcon, RefreshCwIcon, ZoomOutIcon, ZoomInIcon, Share2Icon } from "lucide-react";
|
|
313
307
|
|
|
314
308
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/Toolbar.module.css
|
|
315
309
|
var id4 = "core/src/addon-docs/blocks/components/Toolbar.module.css";
|
|
@@ -317,7 +311,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"
|
|
|
317
311
|
let style = document.createElement("style");
|
|
318
312
|
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);
|
|
319
313
|
}
|
|
320
|
-
var Toolbar_default = { iconPlaceholder: "fb-zhwxuG-iconPlaceholder",
|
|
314
|
+
var Toolbar_default = { iconPlaceholder: "fb-zhwxuG-iconPlaceholder", wrapper: "fb-zhwxuG-wrapper", glow: "fb-zhwxuG-glow", absoluteBar: "fb-zhwxuG-absoluteBar" };
|
|
321
315
|
|
|
322
316
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
323
317
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -350,7 +344,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
350
344
|
variant: "ghost",
|
|
351
345
|
onClick: onReloadStory,
|
|
352
346
|
ariaLabel: "Reload story",
|
|
353
|
-
children: jsx7(
|
|
347
|
+
children: jsx7(RefreshCwIcon, {})
|
|
354
348
|
},
|
|
355
349
|
"reload"
|
|
356
350
|
),
|
|
@@ -363,7 +357,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
363
357
|
e.preventDefault(), zoom(0.8);
|
|
364
358
|
},
|
|
365
359
|
ariaLabel: "Zoom in",
|
|
366
|
-
children: jsx7(
|
|
360
|
+
children: jsx7(ZoomInIcon, {})
|
|
367
361
|
},
|
|
368
362
|
"zoomin"
|
|
369
363
|
),
|
|
@@ -376,7 +370,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
376
370
|
e.preventDefault(), zoom(1.25);
|
|
377
371
|
},
|
|
378
372
|
ariaLabel: "Zoom out",
|
|
379
|
-
children: jsx7(
|
|
373
|
+
children: jsx7(ZoomOutIcon, {})
|
|
380
374
|
},
|
|
381
375
|
"zoomout"
|
|
382
376
|
),
|
|
@@ -389,7 +383,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
389
383
|
e.preventDefault(), resetZoom();
|
|
390
384
|
},
|
|
391
385
|
ariaLabel: "Reset zoom",
|
|
392
|
-
children: jsx7(
|
|
386
|
+
children: jsx7(RotateCcwIcon, {})
|
|
393
387
|
},
|
|
394
388
|
"zoomreset"
|
|
395
389
|
)
|
|
@@ -401,7 +395,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
401
395
|
padding: "small",
|
|
402
396
|
variant: "ghost",
|
|
403
397
|
ariaLabel: "Open canvas in new tab",
|
|
404
|
-
children: jsx7("a", { href: getStoryHref(storyId), target: "_blank", rel: "noopener noreferrer", children: jsx7(
|
|
398
|
+
children: jsx7("a", { href: getStoryHref(storyId), target: "_blank", rel: "noopener noreferrer", children: jsx7(Share2Icon, {}) })
|
|
405
399
|
},
|
|
406
400
|
"opener"
|
|
407
401
|
) }, "right")
|
|
@@ -415,7 +409,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"
|
|
|
415
409
|
let style = document.createElement("style");
|
|
416
410
|
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);
|
|
417
411
|
}
|
|
418
|
-
var Preview_default = {
|
|
412
|
+
var Preview_default = { source: "fb-3lk6NG-source", previewContainer: "fb-3lk6NG-previewContainer", skeleton: "fb-3lk6NG-skeleton", actionBar: "fb-3lk6NG-actionBar", childrenContainer: "fb-3lk6NG-childrenContainer", positionedToolbar: "fb-3lk6NG-positionedToolbar", trailingSnippetWarning: "fb-3lk6NG-trailingSnippetWarning" };
|
|
419
413
|
|
|
420
414
|
// src/addon-docs/blocks/components/Preview.tsx
|
|
421
415
|
import { Fragment as Fragment3, jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -591,7 +585,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"
|
|
|
591
585
|
let style = document.createElement("style");
|
|
592
586
|
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);
|
|
593
587
|
}
|
|
594
|
-
var Typeset_default = {
|
|
588
|
+
var Typeset_default = { typeSpecimen: "fb-JrHkka-typeSpecimen", sample: "fb-JrHkka-sample", label: "fb-JrHkka-label", wrapper: "fb-JrHkka-wrapper" };
|
|
595
589
|
|
|
596
590
|
// src/addon-docs/blocks/components/Typeset.tsx
|
|
597
591
|
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -634,7 +628,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"
|
|
|
634
628
|
let style = document.createElement("style");
|
|
635
629
|
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);
|
|
636
630
|
}
|
|
637
|
-
var ColorPalette_default = {
|
|
631
|
+
var ColorPalette_default = { swatch: "fb-yLo5nG-swatch", itemSubtitle: "fb-yLo5nG-itemSubtitle", itemDescription: "fb-yLo5nG-itemDescription", listHeading: "fb-yLo5nG-listHeading", list: "fb-yLo5nG-list", swatchColors: "fb-yLo5nG-swatchColors", swatches: "fb-yLo5nG-swatches", swatchLabels: "fb-yLo5nG-swatchLabels", swatchLabel: "fb-yLo5nG-swatchLabel", item: "fb-yLo5nG-item", itemTitle: "fb-yLo5nG-itemTitle", swatchSpecimen: "fb-yLo5nG-swatchSpecimen", listName: "fb-yLo5nG-listName", listSwatches: "fb-yLo5nG-listSwatches" };
|
|
638
632
|
|
|
639
633
|
// src/addon-docs/blocks/components/ColorPalette.tsx
|
|
640
634
|
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -694,7 +688,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id8}"
|
|
|
694
688
|
let style = document.createElement("style");
|
|
695
689
|
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);
|
|
696
690
|
}
|
|
697
|
-
var IconGallery_default = {
|
|
691
|
+
var IconGallery_default = { itemLabel: "fb-P_cJ1a-itemLabel", list: "fb-P_cJ1a-list", itemSpecimen: "fb-P_cJ1a-itemSpecimen", item: "fb-P_cJ1a-item" };
|
|
698
692
|
|
|
699
693
|
// src/addon-docs/blocks/components/IconGallery.tsx
|
|
700
694
|
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
@@ -1226,7 +1220,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id9}"
|
|
|
1226
1220
|
let style = document.createElement("style");
|
|
1227
1221
|
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);
|
|
1228
1222
|
}
|
|
1229
|
-
var TableOfContents_default = {
|
|
1223
|
+
var TableOfContents_default = { heading: "fb-7qSlVa-heading", nav: "fb-7qSlVa-nav", aside: "fb-7qSlVa-aside" };
|
|
1230
1224
|
|
|
1231
1225
|
// src/addon-docs/blocks/components/TableOfContents.tsx
|
|
1232
1226
|
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -1907,7 +1901,7 @@ import {
|
|
|
1907
1901
|
nameSpaceClassNames
|
|
1908
1902
|
} from "@aussieljk/forkbook/internal/components";
|
|
1909
1903
|
import { NAVIGATE_URL as NAVIGATE_URL2 } from "@aussieljk/forkbook/internal/core-events";
|
|
1910
|
-
import { LinkIcon } from "
|
|
1904
|
+
import { LinkIcon } from "lucide-react";
|
|
1911
1905
|
|
|
1912
1906
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/blocks/mdx.module.css
|
|
1913
1907
|
var id10 = "core/src/addon-docs/blocks/blocks/mdx.module.css";
|
|
@@ -1915,7 +1909,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id10}
|
|
|
1915
1909
|
let style = document.createElement("style");
|
|
1916
1910
|
style.setAttribute("data-fb-css", id10), style.textContent = ".fb-HnuX0q-alignmentWrapper{display:block;position:relative;& svg{visibility:hidden}&:hover svg,&:focus-within svg{visibility:visible}}.fb-HnuX0q-anchorWrapper{line-height:inherit;color:inherit;padding-right:8px;position:absolute;top:50%;right:100%;& a{color:inherit;text-decoration:none}}.fb-HnuX0q-anchorWrapper.fb-HnuX0q-anchorWrapper{margin-top:-14px}", document.head.appendChild(style);
|
|
1917
1911
|
}
|
|
1918
|
-
var mdx_default = {
|
|
1912
|
+
var mdx_default = { anchorWrapper: "fb-HnuX0q-anchorWrapper", alignmentWrapper: "fb-HnuX0q-alignmentWrapper" };
|
|
1919
1913
|
|
|
1920
1914
|
// src/addon-docs/blocks/blocks/mdx.tsx
|
|
1921
1915
|
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
@@ -2139,7 +2133,7 @@ var DescriptionType = /* @__PURE__ */ ((DescriptionType2) => (DescriptionType2.I
|
|
|
2139
2133
|
|
|
2140
2134
|
// src/addon-docs/blocks/blocks/DocsContainer.tsx
|
|
2141
2135
|
import { useEffect as useEffect9, useMemo as useMemo3, useState as useState9 } from "react";
|
|
2142
|
-
import {
|
|
2136
|
+
import { LucideProvider } from "lucide-react";
|
|
2143
2137
|
import {
|
|
2144
2138
|
ensure as ensureTheme,
|
|
2145
2139
|
getPreferredColorScheme,
|
|
@@ -2201,7 +2195,7 @@ var createDocsSlugger = () => new BananaSlug(), DocsSluggerContext = createConte
|
|
|
2201
2195
|
|
|
2202
2196
|
// src/addon-docs/blocks/blocks/DocsContainer.tsx
|
|
2203
2197
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2204
|
-
var { document: document3, window: globalWindow2 } = globalThis,
|
|
2198
|
+
var { document: document3, window: globalWindow2 } = globalThis, usePreferredTheme = () => {
|
|
2205
2199
|
let [scheme, setScheme] = useState9(getPreferredColorScheme);
|
|
2206
2200
|
return useEffect9(() => {
|
|
2207
2201
|
let query = globalWindow2.matchMedia?.("(prefers-color-scheme: dark)");
|
|
@@ -2233,7 +2227,7 @@ var { document: document3, window: globalWindow2 } = globalThis, ICONS = { size:
|
|
|
2233
2227
|
}
|
|
2234
2228
|
} catch {
|
|
2235
2229
|
}
|
|
2236
|
-
}), jsx23(DocsSluggerContext.Provider, { value: slugger, children: jsx23(DocsContext.Provider, { value: context, children: jsx23(SourceContainer, { channel: context.channel, children: jsx23(ThemeProvider, { theme: ensureTheme(theme ?? preferredTheme), children: jsx23(
|
|
2230
|
+
}), jsx23(DocsSluggerContext.Provider, { value: slugger, children: jsx23(DocsContext.Provider, { value: context, children: jsx23(SourceContainer, { channel: context.channel, children: jsx23(ThemeProvider, { theme: ensureTheme(theme ?? preferredTheme), children: jsx23(LucideProvider, { size: 14, children: jsx23(
|
|
2237
2231
|
DocsPageWrapper,
|
|
2238
2232
|
{
|
|
2239
2233
|
lang,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-PFCGVFP6.js";
|
|
5
5
|
import "../_browser-chunks/chunk-6ELMKWKX.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_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.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-JOOZKSBS.js";
|
|
15
|
+
import "../_node-chunks/chunk-RXEMA2TT.js";
|
|
16
|
+
import "../_node-chunks/chunk-YSVJU5VZ.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-2YIBFVCV.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: () => ({
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addon_links_default
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-V5U45XXZ.js";
|
|
4
4
|
import {
|
|
5
5
|
hrefTo,
|
|
6
6
|
hrefToSync,
|
|
7
7
|
linkTo,
|
|
8
8
|
navigate,
|
|
9
9
|
withLinks
|
|
10
|
-
} from "../_browser-chunks/chunk-
|
|
10
|
+
} from "../_browser-chunks/chunk-NTUHL5NS.js";
|
|
11
11
|
import "../_browser-chunks/chunk-ENKK74N4.js";
|
|
12
|
+
import "../_browser-chunks/chunk-C5TKXHTM.js";
|
|
13
|
+
import "../_browser-chunks/chunk-NULBREPZ.js";
|
|
12
14
|
import "../_browser-chunks/chunk-6AKCRYVX.js";
|
|
13
15
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
14
16
|
export {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
decorators
|
|
3
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
-
import "../_browser-chunks/chunk-
|
|
3
|
+
} from "../_browser-chunks/chunk-V5U45XXZ.js";
|
|
4
|
+
import "../_browser-chunks/chunk-NTUHL5NS.js";
|
|
5
5
|
import "../_browser-chunks/chunk-ENKK74N4.js";
|
|
6
|
+
import "../_browser-chunks/chunk-C5TKXHTM.js";
|
|
7
|
+
import "../_browser-chunks/chunk-NULBREPZ.js";
|
|
6
8
|
import "../_browser-chunks/chunk-6AKCRYVX.js";
|
|
7
9
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
8
10
|
export {
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hrefTo,
|
|
3
3
|
navigate
|
|
4
|
-
} from "../../_browser-chunks/chunk-
|
|
4
|
+
} from "../../_browser-chunks/chunk-NTUHL5NS.js";
|
|
5
5
|
import "../../_browser-chunks/chunk-ENKK74N4.js";
|
|
6
|
+
import "../../_browser-chunks/chunk-C5TKXHTM.js";
|
|
7
|
+
import "../../_browser-chunks/chunk-NULBREPZ.js";
|
|
6
8
|
import "../../_browser-chunks/chunk-6AKCRYVX.js";
|
|
7
9
|
import "../../_browser-chunks/chunk-IMSF75WX.js";
|
|
8
10
|
|
package/dist/addon-mcp/preset.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
package_default
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-4HYKKRBM.js";
|
|
15
|
+
import "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
16
16
|
|
|
17
17
|
// src/addon-mcp/mcp-handler.ts
|
|
18
18
|
import { McpServer } from "tmcp";
|
|
@@ -114,7 +114,7 @@ var errorToMCPContent = (error) => ({
|
|
|
114
114
|
|
|
115
115
|
// src/addon-mcp/tools/tool-names.ts
|
|
116
116
|
import { toMcpToolName } from "@aussieljk/forkbook/open-service";
|
|
117
|
-
var PREVIEW_STORIES_TOOL_NAME = toMcpToolName("stories.preview"), GET_CHANGED_STORIES_TOOL_NAME = toMcpToolName("stories.changed"), GET_STORIES_BY_COMPONENT_TOOL_NAME = toMcpToolName("stories.findByComponent"), RUN_STORY_TESTS_TOOL_NAME = toMcpToolName("test.run"), DISPLAY_REVIEW_TOOL_NAME = toMcpToolName("review.create"), GET_UI_BUILDING_INSTRUCTIONS_TOOL_NAME = "get-
|
|
117
|
+
var PREVIEW_STORIES_TOOL_NAME = toMcpToolName("stories.preview"), GET_CHANGED_STORIES_TOOL_NAME = toMcpToolName("stories.changed"), GET_STORIES_BY_COMPONENT_TOOL_NAME = toMcpToolName("stories.findByComponent"), RUN_STORY_TESTS_TOOL_NAME = toMcpToolName("test.run"), DISPLAY_REVIEW_TOOL_NAME = toMcpToolName("review.create"), GET_UI_BUILDING_INSTRUCTIONS_TOOL_NAME = "get-forkbook-story-instructions";
|
|
118
118
|
|
|
119
119
|
// src/addon-mcp/tools/get-storybook-story-instructions.ts
|
|
120
120
|
async function addGetUIBuildingInstructionsTool(server, enabled = () => server.ctx.custom?.toolsets?.dev ?? !0, {
|
|
@@ -926,7 +926,7 @@ var template_default = `<!doctype html>
|
|
|
926
926
|
</div>
|
|
927
927
|
<ul class="toolset-tools">
|
|
928
928
|
<li><code>stories-preview</code></li>
|
|
929
|
-
<li><code>get-
|
|
929
|
+
<li><code>get-forkbook-story-instructions</code></li>
|
|
930
930
|
<li><code>stories-changed</code></li>
|
|
931
931
|
<li>
|
|
932
932
|
<code>stories-find-by-component</code>
|
|
@@ -4,7 +4,7 @@ var MCP_APP_PARAM = "mcp-app", MCP_APP_SIZE_CHANGED_EVENT = "storybook-mcp:size-
|
|
|
4
4
|
// package.json
|
|
5
5
|
var package_default = {
|
|
6
6
|
name: "@aussieljk/forkbook",
|
|
7
|
-
version: "0.0.1-
|
|
7
|
+
version: "0.0.1-9",
|
|
8
8
|
description: "Forkbook: a small, fast fork of Storybook for React with Vite, Next.js with Vite and React Native",
|
|
9
9
|
keywords: [
|
|
10
10
|
"forkbook",
|
|
@@ -654,10 +654,10 @@ var package_default = {
|
|
|
654
654
|
"./react-native/metro-env": {
|
|
655
655
|
types: "./assets/react-native/metro-env.d.ts"
|
|
656
656
|
},
|
|
657
|
-
"./react-native/metro/
|
|
658
|
-
code: "./src/react-native/metro/
|
|
659
|
-
types: "./dist/react-native/metro/
|
|
660
|
-
default: "./dist/react-native/metro/
|
|
657
|
+
"./react-native/metro/withForkbook": {
|
|
658
|
+
code: "./src/react-native/metro/withForkbook.ts",
|
|
659
|
+
types: "./dist/react-native/metro/withForkbook.d.ts",
|
|
660
|
+
default: "./dist/react-native/metro/withForkbook.js"
|
|
661
661
|
},
|
|
662
662
|
"./react-native/node": {
|
|
663
663
|
code: "./src/react-native/metro/node.ts",
|
|
@@ -744,9 +744,7 @@ var package_default = {
|
|
|
744
744
|
}
|
|
745
745
|
},
|
|
746
746
|
bin: {
|
|
747
|
-
forkbook: "dist/bin/dispatcher.js"
|
|
748
|
-
"sb-rn-get-stories": "dist/react-native/bin/get-stories.js",
|
|
749
|
-
storybook: "dist/bin/dispatcher.js"
|
|
747
|
+
forkbook: "dist/bin/dispatcher.js"
|
|
750
748
|
},
|
|
751
749
|
files: [
|
|
752
750
|
"dist/**/*",
|
|
@@ -760,7 +758,6 @@ var package_default = {
|
|
|
760
758
|
"@next/env": "^15.0.0 || ^16.0.0",
|
|
761
759
|
"@nozbe/microfuzz": "^1.0.0",
|
|
762
760
|
"@parcel/watcher": "^2.6.0",
|
|
763
|
-
"@phosphor-icons/react": "^2.1.10",
|
|
764
761
|
"@testing-library/dom": "^10.4.1",
|
|
765
762
|
"@testing-library/jest-dom": "6.9.1",
|
|
766
763
|
"@testing-library/user-event": "^14.6.3",
|
|
@@ -772,6 +769,7 @@ var package_default = {
|
|
|
772
769
|
"axe-core": "^4.2.0",
|
|
773
770
|
commander: "^14.0.2",
|
|
774
771
|
"jsonc-parser": "^3.3.1",
|
|
772
|
+
"lucide-react": "^1.62.0",
|
|
775
773
|
"magic-string": "^0.30.11",
|
|
776
774
|
"module-alias": "^2.2.3",
|
|
777
775
|
open: "^10.2.0",
|
|
@@ -1124,7 +1122,7 @@ function loadStoryIframes(params) {
|
|
|
1124
1122
|
}
|
|
1125
1123
|
let clone = template.content.cloneNode(!0), article = clone.querySelector("article"), heading = clone.querySelector("h1"), iframe = clone.querySelector("iframe");
|
|
1126
1124
|
heading.textContent = `${storyResult.title} - ${storyResult.name}`, iframe.style.width = "100%", iframe.style.height = "0";
|
|
1127
|
-
let
|
|
1125
|
+
let url = new URL(storyResult.iframeUrl);
|
|
1128
1126
|
url.searchParams.set(MCP_APP_PARAM, "true"), iframe.src = url.toString(), document.body.appendChild(article);
|
|
1129
1127
|
}
|
|
1130
1128
|
resizeApp();
|
|
@@ -11,7 +11,7 @@ import { addons, types } from "@aussieljk/forkbook/manager-api";
|
|
|
11
11
|
|
|
12
12
|
// src/addon-pseudo-states/manager/PseudoStateTool.tsx
|
|
13
13
|
import { Select } from "@aussieljk/forkbook/internal/components";
|
|
14
|
-
import {
|
|
14
|
+
import { MousePointerClickIcon } from "lucide-react";
|
|
15
15
|
import { useGlobals } from "@aussieljk/forkbook/manager-api";
|
|
16
16
|
import { jsx } from "react/jsx-runtime";
|
|
17
17
|
var pseudoStates = Object.keys(PSEUDO_STATES).sort(), PseudoStateTool = () => {
|
|
@@ -26,7 +26,7 @@ var pseudoStates = Object.keys(PSEUDO_STATES).sort(), PseudoStateTool = () => {
|
|
|
26
26
|
{
|
|
27
27
|
resetLabel: "Reset pseudo states",
|
|
28
28
|
onReset: () => updateGlobals({ [PARAM_KEY]: {} }),
|
|
29
|
-
icon: jsx(
|
|
29
|
+
icon: jsx(MousePointerClickIcon, {}),
|
|
30
30
|
ariaLabel: "CSS pseudo states",
|
|
31
31
|
tooltip: "Apply CSS pseudo states",
|
|
32
32
|
defaultOptions,
|
|
@@ -15,7 +15,7 @@ import { addons as addons2, types } from "@aussieljk/forkbook/manager-api";
|
|
|
15
15
|
// src/addon-themes/theme-switcher.tsx
|
|
16
16
|
import React from "react";
|
|
17
17
|
import { Button, Select } from "@aussieljk/forkbook/internal/components";
|
|
18
|
-
import {
|
|
18
|
+
import { PaintbrushIcon } from "lucide-react";
|
|
19
19
|
import {
|
|
20
20
|
addons,
|
|
21
21
|
useAddonState,
|
|
@@ -60,7 +60,7 @@ var hasMultipleThemes = (themesList) => themesList.length > 1, hasTwoThemes = (t
|
|
|
60
60
|
updateGlobals({ theme: alternateTheme });
|
|
61
61
|
},
|
|
62
62
|
children: [
|
|
63
|
-
jsx(
|
|
63
|
+
jsx(PaintbrushIcon, {}),
|
|
64
64
|
label
|
|
65
65
|
]
|
|
66
66
|
},
|
|
@@ -70,7 +70,7 @@ var hasMultipleThemes = (themesList) => themesList.length > 1, hasTwoThemes = (t
|
|
|
70
70
|
return hasMultipleThemes(themesList) ? jsx(
|
|
71
71
|
Select,
|
|
72
72
|
{
|
|
73
|
-
icon: jsx(
|
|
73
|
+
icon: jsx(PaintbrushIcon, {}),
|
|
74
74
|
ariaLabel,
|
|
75
75
|
disabled: isLocked,
|
|
76
76
|
defaultOptions: currentTheme,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.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-YSVJU5VZ.js";
|
|
13
13
|
|
|
14
14
|
// src/addon-themes/postinstall.ts
|
|
15
15
|
import { PackageManagerName } from "@aussieljk/forkbook/internal/common";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jjck69g4sd from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jjck69g4sd from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jjck69g4sd from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jjck69g4sd.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jjck69g4sd.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jjck69g4sd.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
TRIGGER_TEST_RUN_RESPONSE,
|
|
36
36
|
TUTORIAL_VIDEO_LINK,
|
|
37
37
|
storeOptions
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-CMDR42D7.js";
|
|
39
|
+
import "../_node-chunks/chunk-YSVJU5VZ.js";
|
|
40
40
|
export {
|
|
41
41
|
ADDON_ID as A11Y_ADDON_ID,
|
|
42
42
|
PANEL_ID2 as A11Y_PANEL_ID,
|
|
@@ -45,7 +45,7 @@ import { Tag, addons as addons2 } from "@aussieljk/forkbook/manager-api";
|
|
|
45
45
|
// src/addon-vitest/components/GlobalErrorModal.tsx
|
|
46
46
|
import React, { useContext } from "react";
|
|
47
47
|
import { Button, Modal } from "@aussieljk/forkbook/internal/components";
|
|
48
|
-
import {
|
|
48
|
+
import { RefreshCwIcon } from "lucide-react";
|
|
49
49
|
import { useStorybookApi } from "@aussieljk/forkbook/manager-api";
|
|
50
50
|
|
|
51
51
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-vitest/components/GlobalErrorModal.module.css
|
|
@@ -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-NOTFvq-bar{justify-content:space-between;align-items:center;padding:6px 6px 6px 20px;display:flex}.fb-NOTFvq-actionBar{justify-content:space-between;align-items:center;display:flex}.fb-NOTFvq-title{font-size:var(--fb-size-s2);font-weight:var(--fb-weight-bold)}.fb-NOTFvq-stackTrace{white-space:pre-wrap;word-wrap:break-word;user-select:text;max-height:60vh;font-family:var(--fb-font-mono);border-top:1px solid var(--fb-app-border-color);border-radius:0;margin:0;padding:20px;font-size:12px;overflow:auto}.fb-NOTFvq-troubleshootLink{color:var(--fb-color-default-text)}", document.head.appendChild(style);
|
|
56
56
|
}
|
|
57
|
-
var GlobalErrorModal_default = { actionBar: "fb-NOTFvq-actionBar", title: "fb-NOTFvq-title",
|
|
57
|
+
var GlobalErrorModal_default = { actionBar: "fb-NOTFvq-actionBar", title: "fb-NOTFvq-title", bar: "fb-NOTFvq-bar", stackTrace: "fb-NOTFvq-stackTrace", troubleshootLink: "fb-NOTFvq-troubleshootLink" };
|
|
58
58
|
|
|
59
59
|
// src/addon-vitest/components/GlobalErrorModal.tsx
|
|
60
60
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -130,7 +130,7 @@ function GlobalErrorModal({ onRerun, storeState }) {
|
|
|
130
130
|
jsx(Modal.Title, { className: GlobalErrorModal_default.title, children: "Forkbook Test Error Details" }),
|
|
131
131
|
jsxs("div", { className: GlobalErrorModal_default.actionBar, children: [
|
|
132
132
|
jsxs(Button, { onClick: onRerun, variant: "ghost", ariaLabel: !1, children: [
|
|
133
|
-
jsx(
|
|
133
|
+
jsx(RefreshCwIcon, {}),
|
|
134
134
|
"Rerun"
|
|
135
135
|
] }),
|
|
136
136
|
jsx(Button, { variant: "ghost", ariaLabel: !1, asChild: !0, children: jsx("a", { target: "_blank", href: troubleshootURL, rel: "noreferrer", children: "Troubleshoot" }) }),
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
ToggleButton,
|
|
212
212
|
announce
|
|
213
213
|
} from "@aussieljk/forkbook/internal/components";
|
|
214
|
-
import { EyeIcon, InfoIcon,
|
|
214
|
+
import { EyeIcon, InfoIcon, CirclePlayIcon, CircleStopIcon } from "lucide-react";
|
|
215
215
|
import { addons } from "@aussieljk/forkbook/manager-api";
|
|
216
216
|
|
|
217
217
|
// src/addon-vitest/components/Description.tsx
|
|
@@ -288,7 +288,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"
|
|
|
288
288
|
let style = document.createElement("style");
|
|
289
289
|
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-Aohifa-icon{--status-color:var(--fb-text-muted-color);--status-background:rgb(from var(--status-color) r g b / .4);background:var(--status-color);border-radius:50%;width:6px;height:6px;margin:4px;&[data-percentage]{background:conic-gradient(var(--status-color) var(--percentage), var(--status-background) calc(var(--percentage) + 1%));width:12px;height:12px;margin:1px}&[data-running]{animation:1.5s ease-in-out infinite fb-Aohifa-glow}&[data-status=positive]{--status-color:var(--fb-color-positive)}&[data-status=warning]{--status-color:var(--fb-color-gold)}&[data-status=negative]{--status-color:var(--fb-color-negative)}&[data-status=critical]{--status-color:var(--fb-color-default-text)}}@keyframes fb-Aohifa-glow{0%,to{opacity:1}50%{opacity:.4}}", document.head.appendChild(style);
|
|
290
290
|
}
|
|
291
|
-
var TestStatusIcon_default = {
|
|
291
|
+
var TestStatusIcon_default = { icon: "fb-Aohifa-icon", glow: "fb-Aohifa-glow" };
|
|
292
292
|
|
|
293
293
|
// src/addon-vitest/components/TestStatusIcon.tsx
|
|
294
294
|
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
@@ -317,7 +317,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"
|
|
|
317
317
|
let style = document.createElement("style");
|
|
318
318
|
style.setAttribute("data-fb-css", id4), style.textContent = ".fb-wwCQYa-container{flex-direction:column;padding-bottom:1px;display:flex;&[data-in-context-menu]{padding-bottom:0}}.fb-wwCQYa-heading{justify-content:space-between;gap:12px;padding:8px 0;display:flex}.fb-wwCQYa-info{flex-direction:column;min-width:0;margin-left:8px;display:flex}.fb-wwCQYa-title{font-size:var(--fb-size-s1);color:var(--fb-color-default-text);font-weight:400;&[data-crashed]{color:var(--fb-color-negative-text);font-weight:700}}.fb-wwCQYa-actions{gap:4px;display:flex}.fb-wwCQYa-actionList{padding:0}.fb-wwCQYa-muted{color:var(--fb-text-muted-color)}.fb-wwCQYa-progress{margin:4px}.fb-wwCQYa-stopIcon{width:10px}", document.head.appendChild(style);
|
|
319
319
|
}
|
|
320
|
-
var TestProviderRender_default = {
|
|
320
|
+
var TestProviderRender_default = { muted: "fb-wwCQYa-muted", title: "fb-wwCQYa-title", container: "fb-wwCQYa-container", actions: "fb-wwCQYa-actions", actionList: "fb-wwCQYa-actionList", progress: "fb-wwCQYa-progress", info: "fb-wwCQYa-info", stopIcon: "fb-wwCQYa-stopIcon", heading: "fb-wwCQYa-heading" };
|
|
321
321
|
|
|
322
322
|
// src/addon-vitest/components/TestProviderRender.tsx
|
|
323
323
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -426,7 +426,7 @@ var openPanel = ({ api, panelId, entryId }) => {
|
|
|
426
426
|
{
|
|
427
427
|
className: TestProviderRender_default.progress,
|
|
428
428
|
percentage: finishedTestCount && storeState.currentRun.totalTestCount ? finishedTestCount / storeState.currentRun.totalTestCount * 100 : void 0,
|
|
429
|
-
children: jsx4(
|
|
429
|
+
children: jsx4(CircleStopIcon, { className: TestProviderRender_default.stopIcon })
|
|
430
430
|
}
|
|
431
431
|
)
|
|
432
432
|
}
|
|
@@ -444,7 +444,7 @@ var openPanel = ({ api, panelId, entryId }) => {
|
|
|
444
444
|
payload: { storyIds, triggeredBy: entry?.type ?? "global" }
|
|
445
445
|
});
|
|
446
446
|
},
|
|
447
|
-
children: jsx4(
|
|
447
|
+
children: jsx4(CirclePlayIcon, {})
|
|
448
448
|
}
|
|
449
449
|
)
|
|
450
450
|
] })
|