@aussieljk/forkbook 0.0.1-8 → 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/server/template.ejs +13 -0
- package/dist/_browser-chunks/{Color-ZG7LKYDZ.js → Color-GEC6HRBY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-YZ36EZ4X.js → WithTooltip-CS3HPMGA.js} +6 -4
- package/dist/_browser-chunks/{chunk-MZVQEZOB.js → chunk-6QEYM2YW.js} +24 -24
- 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-SK6S7ZXD.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-SRP2RPCT.js → attached-runtime-OI5IEIR7.js} +29 -29
- package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
- package/dist/_node-chunks/{chunk-A73YRJPA.js → chunk-2FWH7OUZ.js} +6 -6
- package/dist/_node-chunks/{chunk-DGA2Q7TE.js → chunk-2QPSOAHI.js} +6 -6
- package/dist/_node-chunks/{chunk-QQKVXB5Q.js → chunk-2T2S3YYS.js} +6 -6
- package/dist/_node-chunks/{chunk-7GLNBVQO.js → chunk-35JF5BS4.js} +6 -6
- package/dist/_node-chunks/{chunk-JB5Q4WGX.js → chunk-3I43FMZC.js} +7 -7
- package/dist/_node-chunks/{chunk-WF7RDUU7.js → chunk-3R57KO3F.js} +10 -10
- package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
- package/dist/_node-chunks/{chunk-TLB2LNUO.js → chunk-4HYKKRBM.js} +8 -8
- package/dist/_node-chunks/{chunk-YBRV5FIK.js → chunk-4W6HJYYC.js} +7 -7
- package/dist/_node-chunks/{chunk-VV6CPF3T.js → chunk-57BBVTHQ.js} +6 -6
- package/dist/_node-chunks/{chunk-MGFH4KGP.js → chunk-5MDE2KCS.js} +6 -6
- package/dist/_node-chunks/{chunk-TBLZESXE.js → chunk-5NCRCPYK.js} +6 -6
- package/dist/_node-chunks/{chunk-QEDRYWP7.js → chunk-6O6BHNDO.js} +6 -6
- package/dist/_node-chunks/chunk-7PZDRNVT.js +19 -0
- package/dist/_node-chunks/{chunk-M74NU6PU.js → chunk-7X5WP3UJ.js} +6 -6
- package/dist/_node-chunks/{chunk-DSWCMXKR.js → chunk-7XYURNT2.js} +10 -10
- package/dist/_node-chunks/{chunk-SNQKCFKN.js → chunk-AONRQAQP.js} +6 -6
- package/dist/_node-chunks/chunk-ASFRQHZH.js +20 -0
- package/dist/_node-chunks/{chunk-54WGE5OK.js → chunk-AUY6EZPA.js} +8 -8
- package/dist/_node-chunks/{chunk-I5Y7NDAM.js → chunk-BCFTMBAH.js} +7 -7
- package/dist/_node-chunks/{chunk-6GBMB2E4.js → chunk-BEHNZYWF.js} +8 -8
- package/dist/_node-chunks/chunk-BZNVRJ6H.js +25 -0
- package/dist/_node-chunks/chunk-CHLWJ5F5.js +20 -0
- package/dist/_node-chunks/{chunk-D4IL5V6A.js → chunk-CMDR42D7.js} +6 -6
- package/dist/_node-chunks/{chunk-LF7EC235.js → chunk-CP646EXE.js} +8 -8
- package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
- package/dist/_node-chunks/{chunk-UCBUYT7S.js → chunk-DMDIIGJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-DADJTKJT.js → chunk-DTZELAXT.js} +7 -7
- package/dist/_node-chunks/{chunk-6YDXCU32.js → chunk-ELMANXC3.js} +6 -6
- package/dist/_node-chunks/{chunk-VTLGMRU5.js → chunk-ELXK72IJ.js} +6 -6
- package/dist/_node-chunks/{chunk-GXSB54NU.js → chunk-F6RXCQF6.js} +6 -6
- package/dist/_node-chunks/{chunk-4T3WPVSQ.js → chunk-FKQHIPUA.js} +6 -6
- package/dist/_node-chunks/{chunk-2WPUJ7UM.js → chunk-FPWDVE2V.js} +7 -7
- package/dist/_node-chunks/{chunk-HNMHTOKI.js → chunk-FVJLKXNS.js} +23 -23
- package/dist/_node-chunks/{chunk-ICGRYYV7.js → chunk-GABGLW7D.js} +7 -7
- package/dist/_node-chunks/{chunk-BPMXWGDX.js → chunk-GOZDHTIK.js} +6 -6
- package/dist/_node-chunks/{chunk-3NXJBXBF.js → chunk-GPSR4MZL.js} +14 -14
- package/dist/_node-chunks/{chunk-T62LXT34.js → chunk-GZ2YC6US.js} +6 -6
- package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
- package/dist/_node-chunks/{chunk-3KY2GA5X.js → chunk-I6ANUF4J.js} +7 -7
- package/dist/_node-chunks/{chunk-CZDEJ7DD.js → chunk-ICIP5FB5.js} +9 -9
- package/dist/_node-chunks/{chunk-CL4T6DGA.js → chunk-IK35TZRH.js} +7 -7
- package/dist/_node-chunks/{chunk-CHPKBTH7.js → chunk-IOJ6NYLD.js} +7 -7
- package/dist/_node-chunks/{chunk-77YIWZPS.js → chunk-IWEZ5KSJ.js} +7 -7
- package/dist/_node-chunks/{chunk-UBEILYLL.js → chunk-JOOZKSBS.js} +7 -7
- package/dist/_node-chunks/{chunk-I26RWAW3.js → chunk-JXVJAA3U.js} +6 -6
- package/dist/_node-chunks/{chunk-GUKZDREX.js → chunk-K6VX4GUH.js} +8 -8
- package/dist/_node-chunks/{chunk-VPGX2PAB.js → chunk-L7US6VLX.js} +6 -6
- package/dist/_node-chunks/{chunk-JCLP42A7.js → chunk-LKMHU2P3.js} +7 -7
- package/dist/_node-chunks/{chunk-IVU4D6LF.js → chunk-LMWS7NDR.js} +7 -7
- package/dist/_node-chunks/{chunk-M3F5R2JO.js → chunk-LPDII6WJ.js} +6 -6
- package/dist/_node-chunks/{chunk-RR3WLRNQ.js → chunk-MBJ2CUVU.js} +7 -7
- package/dist/_node-chunks/{chunk-KQBTXUT5.js → chunk-MGXABKCL.js} +6 -6
- package/dist/_node-chunks/{chunk-BY65FGKD.js → chunk-MHLTWQGQ.js} +8 -8
- package/dist/_node-chunks/{chunk-7YBOQWWR.js → chunk-MMMKY3DA.js} +8 -8
- package/dist/_node-chunks/{chunk-NV6HM53D.js → chunk-MXNT3HBF.js} +6 -6
- package/dist/_node-chunks/{chunk-LPLXO4HE.js → chunk-O7WMRMVJ.js} +6 -6
- package/dist/_node-chunks/{chunk-BLAPFOIX.js → chunk-OPLD7FOE.js} +6 -6
- package/dist/_node-chunks/{chunk-XTCOGCTP.js → chunk-P4CWOISW.js} +7 -7
- package/dist/_node-chunks/{chunk-IFF53QVX.js → chunk-POXIO453.js} +7 -7
- package/dist/_node-chunks/{chunk-4U5ZQZJ4.js → chunk-PRTTCG3N.js} +6 -6
- package/dist/_node-chunks/{chunk-27R37QFW.js → chunk-QE3NKWUX.js} +7 -7
- package/dist/_node-chunks/{chunk-LYMYDMEK.js → chunk-QMERCCIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-4CPTSXU6.js → chunk-QVF2NJK4.js} +10 -10
- package/dist/_node-chunks/{chunk-Y2HWZ262.js → chunk-R33EXC6B.js} +12 -12
- package/dist/_node-chunks/{chunk-ZKS2H56J.js → chunk-R3BJJGEG.js} +6 -6
- package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
- package/dist/_node-chunks/{chunk-DVSKRIH3.js → chunk-RJV4QWRP.js} +7 -7
- package/dist/_node-chunks/{chunk-3KKSPEAE.js → chunk-RXEMA2TT.js} +6 -6
- package/dist/_node-chunks/{chunk-XGMO4SW2.js → chunk-TKOUTJWX.js} +6 -6
- package/dist/_node-chunks/{chunk-LSKOVF6F.js → chunk-TRZWEDUE.js} +6 -6
- package/dist/_node-chunks/{chunk-2ZB3ZVDY.js → chunk-U3BEYEZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-HF6FRLS6.js → chunk-UI6NW64P.js} +19 -19
- package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
- package/dist/_node-chunks/{chunk-II4SIIJW.js → chunk-VF6725VX.js} +7 -7
- package/dist/_node-chunks/{chunk-YMVL55QY.js → chunk-VJJTMS2R.js} +9 -9
- package/dist/_node-chunks/{chunk-62PEOH4P.js → chunk-VQBXHU2T.js} +8 -8
- package/dist/_node-chunks/{chunk-5BQKMZYJ.js → chunk-VZ3PQJKF.js} +23 -23
- package/dist/_node-chunks/{chunk-G6UTEYYQ.js → chunk-WI6FDUOM.js} +8 -8
- package/dist/_node-chunks/{chunk-4QYNOSOA.js → chunk-WTS7HYGM.js} +7 -7
- package/dist/_node-chunks/{chunk-VQ2NW4OR.js → chunk-WXMIR2F2.js} +8 -8
- package/dist/_node-chunks/{chunk-G3J2VAY4.js → chunk-XA2UQNP3.js} +10 -10
- package/dist/_node-chunks/{chunk-VTVQ5TKB.js → chunk-Y2FWEOIW.js} +8 -8
- package/dist/_node-chunks/{chunk-526SOV2Y.js → chunk-Y5JLYH6J.js} +6 -6
- package/dist/_node-chunks/{chunk-X5IJ42Q2.js → chunk-YELBVH4K.js} +7 -7
- package/dist/_node-chunks/{chunk-QQ7GEJNY.js → chunk-YK5N35SR.js} +9 -9
- package/dist/_node-chunks/{chunk-UEWCGYSE.js → chunk-YLXOGJX6.js} +21 -9
- package/dist/_node-chunks/{chunk-OZBNKCKM.js → chunk-YSVJU5VZ.js} +6 -6
- package/dist/_node-chunks/{chunk-F2XPZVCK.js → chunk-ZFTEHWNT.js} +8 -8
- package/dist/_node-chunks/{chunk-6DZY675E.js → chunk-ZLBDSC7U.js} +9 -9
- package/dist/_node-chunks/{chunk-6DCYMQX2.js → chunk-ZMI35R7E.js} +45 -34
- package/dist/_node-chunks/{chunk-QVIC3UDL.js → chunk-ZOE2QQSS.js} +8 -8
- package/dist/_node-chunks/{chunk-OFZX45ZR.js → chunk-ZST2SPBX.js} +6 -6
- package/dist/_node-chunks/{chunk-IAYHJZOR.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-Y6OH2SFM.js → local-runtime-LKT5I6NG.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-R6GNGQP2.js → mdx-plugin-2YIBFVCV.js} +13 -13
- package/dist/_node-chunks/{monorepo-R2CLQIWG.js → monorepo-HROZW452.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.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-5VCD6ED3.js → pattern-copy-play-VQNMME5S.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-SKSQEDUP.js → rehype-external-links-WXD3NVWK.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-27WNXM7U.js → rehype-slug-LWBEJBWR.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-PDGCGDW4.js → relaxed-limits-MKV6OE3S.js} +11 -11
- package/dist/_node-chunks/{run-BD52SWQC.js → run-A4A2HQDT.js} +17 -17
- package/dist/_node-chunks/{run-IKBDOUY2.js → run-UBPF7ZUG.js} +15 -15
- package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
- package/dist/_node-chunks/{setup-7ECNMG4A.js → setup-SMMCS2Q5.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-J4YODMMP.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +20 -24
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +20 -26
- package/dist/addon-docs/manager.js +1 -1
- 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 +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +3 -3
- 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 +9 -9
- 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 +13 -13
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- 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-CJY2njs4.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
- package/dist/{chunk-pFH9P91a.d.ts → chunk-DXsI731B.d.ts} +1 -1
- package/dist/{chunk-DktrsDd6.d.ts → chunk-PdOIKm0H.d.ts} +35 -2
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- 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 +2 -2
- package/dist/common/index.js +35 -35
- package/dist/components/index.d.ts +38 -1
- package/dist/components/index.js +593 -518
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +282 -173
- package/dist/core-server/presets/common-manager.js +491 -117
- 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-z143vedu.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-BKW-4ztO.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-DZN_3ZLm.js → globals-runtime-CnfHMZV0.js} +153 -27
- package/dist/manager/_manager-chunks/{globals-runtime-WhJXr5R1.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-DgUeynuu.js → globals-runtime-FcobHVj9.js} +475 -370
- package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CIcNS9TG.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-DEHcqyTM.js → runtime-BSkBrZa7.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-C-s1miBr.js → runtime-Bdda1ODD.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DuptfEhw.js → runtime-Bp_XtatN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BrwmuSZ1.js → runtime-D-bkVc6v.js} +31 -30
- package/dist/manager/_manager-chunks/{runtime-CHQZzIX6.js → runtime-DP_7wWTN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Dtpc5s3G.js → runtime-DlX-MKi1.js} +335 -327
- package/dist/manager/_manager-chunks/{runtime-B_U-7omv.js → runtime-TytMkKcC.js} +340 -241
- package/dist/manager/_manager-chunks/{runtime-BrlctLSK.js → runtime-jOBCBZ66.js} +100 -63
- 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/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +10 -10
- 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 +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +11 -11
- package/dist/react-native/scripts/generate.js +8 -8
- 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.js +43 -43
- package/dist/theming/index.js +13 -9
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/_node-chunks/builder-manager-V7M6SFEM.js +0 -1623
- package/dist/_node-chunks/chunk-27KT3BJI.js +0 -25
- package/dist/_node-chunks/chunk-4XNKH2BY.js +0 -18
- package/dist/_node-chunks/chunk-CT3L2NXZ.js +0 -20
- package/dist/_node-chunks/chunk-NORBEBNM.js +0 -19
- package/dist/_node-chunks/chunk-SBNQ6YGM.js +0 -11
- package/dist/_node-chunks/chunk-YHWOGAFM.js +0 -20
- package/dist/_node-chunks/dist-GJ53PFWF.js +0 -27
- package/dist/_node-chunks/dist-TLMACGH6.js +0 -16
- package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +0 -22
- package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +0 -20
- package/dist/_node-chunks/session-id-K7PM5ZGL.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 = {
|
|
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 = { typeSpecimen: "fb-JrHkka-typeSpecimen",
|
|
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 = { itemLabel: "fb-P_cJ1a-itemLabel",
|
|
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 = { heading: "fb-7qSlVa-heading",
|
|
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";
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -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",
|
|
@@ -758,7 +758,6 @@ var package_default = {
|
|
|
758
758
|
"@next/env": "^15.0.0 || ^16.0.0",
|
|
759
759
|
"@nozbe/microfuzz": "^1.0.0",
|
|
760
760
|
"@parcel/watcher": "^2.6.0",
|
|
761
|
-
"@phosphor-icons/react": "^2.1.10",
|
|
762
761
|
"@testing-library/dom": "^10.4.1",
|
|
763
762
|
"@testing-library/jest-dom": "6.9.1",
|
|
764
763
|
"@testing-library/user-event": "^14.6.3",
|
|
@@ -770,6 +769,7 @@ var package_default = {
|
|
|
770
769
|
"axe-core": "^4.2.0",
|
|
771
770
|
commander: "^14.0.2",
|
|
772
771
|
"jsonc-parser": "^3.3.1",
|
|
772
|
+
"lucide-react": "^1.62.0",
|
|
773
773
|
"magic-string": "^0.30.11",
|
|
774
774
|
"module-alias": "^2.2.3",
|
|
775
775
|
open: "^10.2.0",
|
|
@@ -1122,7 +1122,7 @@ function loadStoryIframes(params) {
|
|
|
1122
1122
|
}
|
|
1123
1123
|
let clone = template.content.cloneNode(!0), article = clone.querySelector("article"), heading = clone.querySelector("h1"), iframe = clone.querySelector("iframe");
|
|
1124
1124
|
heading.textContent = `${storyResult.title} - ${storyResult.name}`, iframe.style.width = "100%", iframe.style.height = "0";
|
|
1125
|
-
let
|
|
1125
|
+
let url = new URL(storyResult.iframeUrl);
|
|
1126
1126
|
url.searchParams.set(MCP_APP_PARAM, "true"), iframe.src = url.toString(), document.body.appendChild(article);
|
|
1127
1127
|
}
|
|
1128
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 = {
|
|
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
|
|
@@ -249,7 +249,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"
|
|
|
249
249
|
let style = document.createElement("style");
|
|
250
250
|
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-eMLqba-wrapper{white-space:nowrap;text-overflow:ellipsis;font-size:var(--fb-size-s1);color:var(--fb-text-muted-color);overflow:hidden}.fb-eMLqba-positiveText{color:var(--fb-color-positive-text)}", document.head.appendChild(style);
|
|
251
251
|
}
|
|
252
|
-
var Description_default = {
|
|
252
|
+
var Description_default = { wrapper: "fb-eMLqba-wrapper", positiveText: "fb-eMLqba-positiveText" };
|
|
253
253
|
|
|
254
254
|
// src/addon-vitest/components/Description.tsx
|
|
255
255
|
import { Fragment as Fragment2, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -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
|
] })
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
require_supports_color
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-FPWDVE2V.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
17
17
|
__require,
|
|
18
18
|
__toESM
|
|
19
|
-
} from "../../_node-chunks/chunk-
|
|
19
|
+
} from "../../_node-chunks/chunk-YSVJU5VZ.js";
|
|
20
20
|
|
|
21
21
|
// ../../node_modules/make-dir/index.js
|
|
22
22
|
var require_make_dir = __commonJS({
|