@aussieljk/forkbook 0.0.1-4 → 0.0.1-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +35 -53
- package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-GTF4GM7L.js} +3 -3
- package/dist/_browser-chunks/{WithTooltip-523JD6VH.js → WithTooltip-V55S6YCY.js} +1 -1
- package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-HOSBMS2F.js} +3 -3
- package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-MJY6ITYT.js} +27 -27
- package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-IOE3BXIY.js} +29 -29
- package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-GDFEGD72.js} +170 -215
- package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-2GY2FKLH.js} +7 -7
- package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-3DCJB2D4.js} +6 -6
- package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-3DX6THMV.js} +8 -8
- package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-45LRLOYO.js} +23 -23
- package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-4WO3GNZQ.js} +6 -6
- package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-5KAJVK4E.js} +7 -7
- package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-5LE7GXEC.js} +6 -6
- package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-6DOJKR3V.js} +10 -10
- package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-6QQTZT3Z.js} +6 -6
- package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-7TUSIVWS.js} +6 -6
- package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-7XUQM6SR.js} +14 -14
- package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-A4XRNDN4.js} +7 -7
- package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-AAAUVDWT.js} +10 -10
- package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-AX2ALHBK.js} +6 -6
- package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-AXG3EMKS.js} +6 -6
- package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-AXJJB2K6.js} +8 -8
- package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-AXQ6LLSE.js} +8 -8
- package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-B2IOB2V3.js} +7 -7
- package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-BBD2KUV4.js} +19 -19
- package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-BFZG4UTW.js} +7 -7
- package/dist/_node-chunks/{chunk-SSZ5REKS.js → chunk-BRD332PB.js} +8 -8
- package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-BTFSFATC.js} +7 -7
- package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-BV3QRFE6.js} +6 -6
- package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-CGXW2HFE.js} +6 -6
- package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-CK4EHW3K.js} +23 -23
- package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-D6B2DRQZ.js} +8 -8
- package/dist/_node-chunks/{chunk-K3I3G4VL.js → chunk-E2XKJLXK.js} +7 -7
- package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-E4C2H45J.js} +6 -6
- package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-E4TBS4MV.js} +8 -8
- package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-E6KXSYWR.js} +6 -6
- package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-ES5QZBSB.js} +6 -6
- package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-EWAGCBER.js} +8 -8
- package/dist/_node-chunks/{chunk-MZMPFII2.js → chunk-F2LQJXAB.js} +6 -6
- package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-F4Q7OCCN.js} +8 -8
- package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-FA36CEN4.js} +6 -6
- package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-GR65OLAH.js} +7 -7
- package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-GS4VNNSS.js} +6 -6
- package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-HCX5R46Q.js} +7 -7
- package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-HWY2CAUH.js} +6 -6
- package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-I3DKGHVD.js} +9 -9
- package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-J64XMUPF.js} +10 -10
- package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-JJNO3SFI.js} +9 -9
- package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-KCAPE7OJ.js} +6 -6
- package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-KQFHT7SW.js} +6 -6
- package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-L5CY6HKG.js} +7 -7
- package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-LCXIUTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-LSP54OYM.js} +8 -8
- package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-M2QB5ALN.js} +6 -6
- package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-MCZZMBPA.js} +6 -6
- package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-MDGNN3FJ.js} +6 -6
- package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-MHDKWHOA.js} +6 -6
- package/dist/_node-chunks/{chunk-NYRUWAL3.js → chunk-MMFUHYSU.js} +6 -6
- package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-N4FLP7AO.js} +7 -7
- package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NDGTNFUN.js} +12 -12
- package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-NYWD5LYM.js} +6 -6
- package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-OB2XHL53.js} +27 -27
- package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-OSJFTZ5N.js} +6 -6
- package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-OTFIQXHR.js} +8 -8
- package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-PHXCOTMO.js} +10 -10
- package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-Q33BYVLY.js} +7 -7
- package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-QQXFB4YA.js} +9 -9
- package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-QZVFIEOM.js} +6 -6
- package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-RCPKLP3X.js} +7 -7
- package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-RECGEABN.js} +7 -7
- package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-SAAQFJL4.js} +6 -6
- package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-SDXU22OH.js} +6 -6
- package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-SJZQ44OR.js} +6 -6
- package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-SR3BCYEH.js} +6 -6
- package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-SUJXQU74.js} +8 -8
- package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-T2I453AJ.js} +7 -7
- package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-TYCDPVIH.js} +6 -6
- package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-TZ2TZW2K.js} +6 -6
- package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-U47PBQZ3.js} +10 -10
- package/dist/_node-chunks/chunk-UGFY5LEG.js +18 -0
- package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-UKEJISQU.js} +7 -7
- package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-UM5G27IC.js} +7 -7
- package/dist/_node-chunks/{chunk-WEW23EEE.js → chunk-UO5ZOCSQ.js} +8 -8
- package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-UW35FCXF.js} +6 -6
- package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-V45RRBTK.js} +8 -8
- package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-VBSVLIXU.js} +6 -6
- package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-VJSOHPVD.js} +6 -6
- package/dist/_node-chunks/{chunk-EGS2SAD2.js → chunk-VMUXW2E2.js} +12 -12
- package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-VN3A5CEH.js} +7 -7
- package/dist/_node-chunks/{chunk-XWQEWRFD.js → chunk-VNXE7UJL.js} +6 -6
- package/dist/_node-chunks/chunk-VRJJ43P2.js +11 -0
- package/dist/_node-chunks/{chunk-HENM5ZK3.js → chunk-WCJUS7OC.js} +7 -7
- package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-WHDCECIV.js} +7 -7
- package/dist/_node-chunks/{chunk-GKTCJPLL.js → chunk-WMBMSNB7.js} +6 -6
- package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-WMQ2VCTF.js} +7 -7
- package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-XUHEL63G.js} +6 -6
- package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-YLKS7U3M.js} +8 -8
- package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-YTBTCM22.js} +6 -6
- package/dist/_node-chunks/{chunk-NYAWUR6L.js → chunk-YV2QBXU6.js} +8 -8
- package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-ZPPVG262.js} +6 -6
- package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-ZZNBVMBU.js} +7 -7
- package/dist/_node-chunks/dist-VFUGPNLK.js +16 -0
- package/dist/_node-chunks/{globby-HRQV5N3V.js → globby-N7LO32D3.js} +10 -10
- package/dist/_node-chunks/{jiti-WE7NHS2Y.js → jiti-SJDZ7LQB.js} +7 -7
- package/dist/_node-chunks/{lib-7MVA6CTW.js → lib-4HD6QL5R.js} +7 -7
- package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-RW6AAWSX.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-BKWCT6CB.js} +14 -14
- package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-ZFJ6HM34.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js} +11 -11
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-2ZMJNCBS.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-RT5Z62RV.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-H5TWHJ6G.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-DYLWZGE4.js} +11 -11
- package/dist/_node-chunks/{run-S6XSLPEB.js → run-65LLGSVR.js} +13 -13
- package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-BQQLK454.js} +17 -17
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +23 -0
- package/dist/_node-chunks/{setup-35J66GFB.js → setup-NEO7XX66.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-6P3FZQTY.js} +7 -7
- package/dist/addon-a11y/manager.js +24 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-docs/blocks.js +28 -21
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +7 -7
- 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/babel/index.js +12 -12
- package/dist/bin/core.js +58 -58
- 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-BYnH2sbb.d.ts → chunk-CZHsX9Zo.d.ts} +1 -1
- package/dist/{chunk-DvufcbCc.d.ts → chunk-Ce6uhJuR.d.ts} +1 -1
- package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
- package/dist/{chunk-DIz17UEJ.d.ts → chunk-DpljNJTz.d.ts} +1 -1
- package/dist/{chunk-DF6btpT3.d.ts → chunk-Jf7j2Ot0.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +24 -24
- 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 +37 -37
- package/dist/components/index.js +40 -40
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +71 -71
- package/dist/core-server/presets/common-manager.js +43 -37
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +40 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +2 -2
- package/dist/csf-tools/index.js +12 -12
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-ALpzCL93.js} +2 -2
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
- package/dist/manager/_manager-chunks/globals-runtime-BcNHymiF.js +1960 -0
- package/dist/manager/_manager-chunks/globals-runtime-BgVwdR45.js +1396 -0
- package/dist/manager/_manager-chunks/globals-runtime-Bke4A4DG.js +2093 -0
- package/dist/manager/_manager-chunks/{globals-runtime-DkAPXCvc.js → globals-runtime-Bon7UvQk.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-CF4o9_wT.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-CTB3rhS1.js} +4 -4
- package/dist/manager/_manager-chunks/globals-runtime-CUBVmgcG.js +3414 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-CXKb33hg.js} +10 -10
- package/dist/manager/_manager-chunks/globals-runtime-CiLcg4q9.js +41 -0
- package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-Cr3nYYcT.js} +241 -16
- package/dist/manager/_manager-chunks/globals-runtime-DCOX9nD5.js +462 -0
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +1584 -0
- package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DMvB3-IM.js} +89 -88
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-DW1HVuLt.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-D_YKR9nf.js} +3 -3
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-DqNrRmOM.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-m07udJ_K.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-zVfMhZAt.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-B-eSQdxk.js +691 -0
- package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-Bldwclun.js} +6 -6
- package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-Cdz2BHhM.js} +31 -31
- package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-Cmu7D8A0.js} +210 -235
- package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-CuJiHYCp.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +456 -0
- package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DGHNKNQl.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-DrjpEyLM.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-a5zd7km2.js} +3 -3
- 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 +2 -2
- 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 +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 +12 -12
- package/dist/react/preset.js +14 -14
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.js +10 -10
- 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/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 +45 -45
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
- package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
- package/dist/_node-chunks/dist-CNA633FI.js +0 -16
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
- package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
- package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
@@ -13,30 +13,30 @@ import {
|
|
|
13
13
|
fromMarkdown,
|
|
14
14
|
mdxFromMarkdown,
|
|
15
15
|
mdxjs
|
|
16
|
-
} from "../_node-chunks/chunk-
|
|
16
|
+
} from "../_node-chunks/chunk-LSP54OYM.js";
|
|
17
17
|
import {
|
|
18
18
|
require_dist
|
|
19
|
-
} from "../_node-chunks/chunk-
|
|
19
|
+
} from "../_node-chunks/chunk-3DX6THMV.js";
|
|
20
20
|
import {
|
|
21
21
|
BananaSlug
|
|
22
|
-
} from "../_node-chunks/chunk-
|
|
22
|
+
} from "../_node-chunks/chunk-ES5QZBSB.js";
|
|
23
23
|
import {
|
|
24
24
|
debounce
|
|
25
|
-
} from "../_node-chunks/chunk-
|
|
25
|
+
} from "../_node-chunks/chunk-GR65OLAH.js";
|
|
26
26
|
import {
|
|
27
27
|
require_lib
|
|
28
|
-
} from "../_node-chunks/chunk-
|
|
28
|
+
} from "../_node-chunks/chunk-UO5ZOCSQ.js";
|
|
29
29
|
import {
|
|
30
30
|
Parser,
|
|
31
31
|
init_acorn,
|
|
32
32
|
require_acorn_jsx
|
|
33
|
-
} from "../_node-chunks/chunk-
|
|
33
|
+
} from "../_node-chunks/chunk-RECGEABN.js";
|
|
34
34
|
import {
|
|
35
35
|
isTelemetryModuleEnabled,
|
|
36
36
|
telemetry,
|
|
37
37
|
withSpan
|
|
38
|
-
} from "../_node-chunks/chunk-
|
|
39
|
-
import "../_node-chunks/chunk-
|
|
38
|
+
} from "../_node-chunks/chunk-CK4EHW3K.js";
|
|
39
|
+
import "../_node-chunks/chunk-VN3A5CEH.js";
|
|
40
40
|
import {
|
|
41
41
|
getEffectiveToolAvailability,
|
|
42
42
|
getManifestStatus,
|
|
@@ -46,42 +46,42 @@ import {
|
|
|
46
46
|
isClaudePreviewLaunch,
|
|
47
47
|
isModuleGraphSupported,
|
|
48
48
|
resolveSkillInputs
|
|
49
|
-
} from "../_node-chunks/chunk-
|
|
49
|
+
} from "../_node-chunks/chunk-AAAUVDWT.js";
|
|
50
50
|
import {
|
|
51
51
|
CLAUDE_PREVIEW_AGENT_NAME
|
|
52
|
-
} from "../_node-chunks/chunk-
|
|
53
|
-
import "../_node-chunks/chunk-
|
|
54
|
-
import "../_node-chunks/chunk-
|
|
55
|
-
import "../_node-chunks/chunk-
|
|
52
|
+
} from "../_node-chunks/chunk-6QQTZT3Z.js";
|
|
53
|
+
import "../_node-chunks/chunk-SAAQFJL4.js";
|
|
54
|
+
import "../_node-chunks/chunk-E4C2H45J.js";
|
|
55
|
+
import "../_node-chunks/chunk-UGFY5LEG.js";
|
|
56
56
|
import {
|
|
57
57
|
detectAgent
|
|
58
|
-
} from "../_node-chunks/chunk-
|
|
59
|
-
import "../_node-chunks/chunk-
|
|
60
|
-
import "../_node-chunks/chunk-
|
|
58
|
+
} from "../_node-chunks/chunk-ZZNBVMBU.js";
|
|
59
|
+
import "../_node-chunks/chunk-KQFHT7SW.js";
|
|
60
|
+
import "../_node-chunks/chunk-AXJJB2K6.js";
|
|
61
61
|
import {
|
|
62
62
|
userOrAutoTitleFromSpecifier
|
|
63
|
-
} from "../_node-chunks/chunk-
|
|
64
|
-
import "../_node-chunks/chunk-
|
|
65
|
-
import "../_node-chunks/chunk-
|
|
66
|
-
import "../_node-chunks/chunk-
|
|
63
|
+
} from "../_node-chunks/chunk-45LRLOYO.js";
|
|
64
|
+
import "../_node-chunks/chunk-L5CY6HKG.js";
|
|
65
|
+
import "../_node-chunks/chunk-RCPKLP3X.js";
|
|
66
|
+
import "../_node-chunks/chunk-MDGNN3FJ.js";
|
|
67
67
|
import {
|
|
68
68
|
resolveImport,
|
|
69
69
|
supportedExtensions
|
|
70
|
-
} from "../_node-chunks/chunk-
|
|
71
|
-
import "../_node-chunks/chunk-
|
|
72
|
-
import "../_node-chunks/chunk-
|
|
70
|
+
} from "../_node-chunks/chunk-BBD2KUV4.js";
|
|
71
|
+
import "../_node-chunks/chunk-SR3BCYEH.js";
|
|
72
|
+
import "../_node-chunks/chunk-SUJXQU74.js";
|
|
73
73
|
import {
|
|
74
74
|
require_src
|
|
75
|
-
} from "../_node-chunks/chunk-
|
|
76
|
-
import "../_node-chunks/chunk-
|
|
77
|
-
import "../_node-chunks/chunk-
|
|
78
|
-
import "../_node-chunks/chunk-
|
|
79
|
-
import "../_node-chunks/chunk-
|
|
80
|
-
import "../_node-chunks/chunk-
|
|
75
|
+
} from "../_node-chunks/chunk-AXQ6LLSE.js";
|
|
76
|
+
import "../_node-chunks/chunk-BFZG4UTW.js";
|
|
77
|
+
import "../_node-chunks/chunk-UKEJISQU.js";
|
|
78
|
+
import "../_node-chunks/chunk-BRD332PB.js";
|
|
79
|
+
import "../_node-chunks/chunk-VNXE7UJL.js";
|
|
80
|
+
import "../_node-chunks/chunk-XUHEL63G.js";
|
|
81
81
|
import {
|
|
82
82
|
logger,
|
|
83
83
|
require_pretty_hrtime
|
|
84
|
-
} from "../_node-chunks/chunk-
|
|
84
|
+
} from "../_node-chunks/chunk-YV2QBXU6.js";
|
|
85
85
|
import {
|
|
86
86
|
ChangeDetectionFailureError,
|
|
87
87
|
ChangeDetectionUnavailableError,
|
|
@@ -131,80 +131,80 @@ import {
|
|
|
131
131
|
useStatics,
|
|
132
132
|
withTelemetry,
|
|
133
133
|
writeManifests
|
|
134
|
-
} from "../_node-chunks/chunk-
|
|
134
|
+
} from "../_node-chunks/chunk-OB2XHL53.js";
|
|
135
135
|
import {
|
|
136
136
|
UniversalStore
|
|
137
|
-
} from "../_node-chunks/chunk-
|
|
137
|
+
} from "../_node-chunks/chunk-WMQ2VCTF.js";
|
|
138
138
|
import {
|
|
139
139
|
init_build,
|
|
140
140
|
parse
|
|
141
|
-
} from "../_node-chunks/chunk-
|
|
142
|
-
import "../_node-chunks/chunk-
|
|
143
|
-
import "../_node-chunks/chunk-
|
|
141
|
+
} from "../_node-chunks/chunk-A4XRNDN4.js";
|
|
142
|
+
import "../_node-chunks/chunk-5LE7GXEC.js";
|
|
143
|
+
import "../_node-chunks/chunk-VJSOHPVD.js";
|
|
144
144
|
import {
|
|
145
145
|
registerToolset
|
|
146
|
-
} from "../_node-chunks/chunk-
|
|
147
|
-
import "../_node-chunks/chunk-
|
|
148
|
-
import "../_node-chunks/chunk-
|
|
149
|
-
import "../_node-chunks/chunk-
|
|
146
|
+
} from "../_node-chunks/chunk-V45RRBTK.js";
|
|
147
|
+
import "../_node-chunks/chunk-UM5G27IC.js";
|
|
148
|
+
import "../_node-chunks/chunk-WHDCECIV.js";
|
|
149
|
+
import "../_node-chunks/chunk-MCZZMBPA.js";
|
|
150
150
|
import {
|
|
151
151
|
STORY_FILE_TEST_REGEXP,
|
|
152
152
|
getStoryImportPathFromEntry,
|
|
153
153
|
require_cross_spawn
|
|
154
|
-
} from "../_node-chunks/chunk-
|
|
155
|
-
import "../_node-chunks/chunk-
|
|
156
|
-
import "../_node-chunks/chunk-
|
|
154
|
+
} from "../_node-chunks/chunk-VMUXW2E2.js";
|
|
155
|
+
import "../_node-chunks/chunk-MMFUHYSU.js";
|
|
156
|
+
import "../_node-chunks/chunk-WMBMSNB7.js";
|
|
157
157
|
import {
|
|
158
158
|
getService,
|
|
159
159
|
registerService,
|
|
160
160
|
writeOpenServiceStaticFiles
|
|
161
|
-
} from "../_node-chunks/chunk-
|
|
161
|
+
} from "../_node-chunks/chunk-PHXCOTMO.js";
|
|
162
162
|
import {
|
|
163
163
|
Channel,
|
|
164
164
|
describeService,
|
|
165
165
|
getRegisteredServices,
|
|
166
166
|
listServices
|
|
167
|
-
} from "../_node-chunks/chunk-
|
|
168
|
-
import "../_node-chunks/chunk-
|
|
169
|
-
import "../_node-chunks/chunk-
|
|
170
|
-
import "../_node-chunks/chunk-
|
|
171
|
-
import "../_node-chunks/chunk-
|
|
172
|
-
import "../_node-chunks/chunk-
|
|
167
|
+
} from "../_node-chunks/chunk-J64XMUPF.js";
|
|
168
|
+
import "../_node-chunks/chunk-VBSVLIXU.js";
|
|
169
|
+
import "../_node-chunks/chunk-N4FLP7AO.js";
|
|
170
|
+
import "../_node-chunks/chunk-MHDKWHOA.js";
|
|
171
|
+
import "../_node-chunks/chunk-SDXU22OH.js";
|
|
172
|
+
import "../_node-chunks/chunk-YTBTCM22.js";
|
|
173
173
|
import {
|
|
174
174
|
Tag
|
|
175
|
-
} from "../_node-chunks/chunk-
|
|
176
|
-
import "../_node-chunks/chunk-
|
|
177
|
-
import "../_node-chunks/chunk-
|
|
175
|
+
} from "../_node-chunks/chunk-NYWD5LYM.js";
|
|
176
|
+
import "../_node-chunks/chunk-E4TBS4MV.js";
|
|
177
|
+
import "../_node-chunks/chunk-2GY2FKLH.js";
|
|
178
178
|
import {
|
|
179
179
|
up2 as up
|
|
180
|
-
} from "../_node-chunks/chunk-
|
|
180
|
+
} from "../_node-chunks/chunk-SJZQ44OR.js";
|
|
181
181
|
import {
|
|
182
182
|
invariant
|
|
183
|
-
} from "../_node-chunks/chunk-
|
|
183
|
+
} from "../_node-chunks/chunk-CGXW2HFE.js";
|
|
184
184
|
import {
|
|
185
185
|
resolvePackageDir,
|
|
186
186
|
safeResolveModule
|
|
187
|
-
} from "../_node-chunks/chunk-
|
|
188
|
-
import "../_node-chunks/chunk-
|
|
187
|
+
} from "../_node-chunks/chunk-Q33BYVLY.js";
|
|
188
|
+
import "../_node-chunks/chunk-M2QB5ALN.js";
|
|
189
189
|
import {
|
|
190
190
|
StorybookError
|
|
191
|
-
} from "../_node-chunks/chunk-
|
|
191
|
+
} from "../_node-chunks/chunk-F4Q7OCCN.js";
|
|
192
192
|
import {
|
|
193
193
|
require_picocolors
|
|
194
|
-
} from "../_node-chunks/chunk-
|
|
194
|
+
} from "../_node-chunks/chunk-5KAJVK4E.js";
|
|
195
195
|
import {
|
|
196
196
|
storyIndexPathToAbsolutePath
|
|
197
|
-
} from "../_node-chunks/chunk-
|
|
198
|
-
import "../_node-chunks/chunk-
|
|
197
|
+
} from "../_node-chunks/chunk-LCXIUTOU.js";
|
|
198
|
+
import "../_node-chunks/chunk-7TUSIVWS.js";
|
|
199
199
|
import {
|
|
200
200
|
slash
|
|
201
|
-
} from "../_node-chunks/chunk-
|
|
202
|
-
import "../_node-chunks/chunk-
|
|
201
|
+
} from "../_node-chunks/chunk-UW35FCXF.js";
|
|
202
|
+
import "../_node-chunks/chunk-E2XKJLXK.js";
|
|
203
203
|
import {
|
|
204
204
|
__commonJS,
|
|
205
205
|
__require,
|
|
206
206
|
__toESM
|
|
207
|
-
} from "../_node-chunks/chunk-
|
|
207
|
+
} from "../_node-chunks/chunk-TZ2TZW2K.js";
|
|
208
208
|
|
|
209
209
|
// ../../node_modules/@discoveryjs/json-ext/package.json
|
|
210
210
|
var require_package = __commonJS({
|
|
@@ -1184,7 +1184,7 @@ function watchStorySpecifiers(specifiers, options, onInvalidate) {
|
|
|
1184
1184
|
// files can be e.g. '**/foo/*/*.js' so we just want the last bit,
|
|
1185
1185
|
// because the directory could already be within the files part (e.g. './x/foo/bar')
|
|
1186
1186
|
basename(specifier.files)
|
|
1187
|
-
), { globby } = await import("../_node-chunks/globby-
|
|
1187
|
+
), { globby } = await import("../_node-chunks/globby-N7LO32D3.js");
|
|
1188
1188
|
(await globby(slash(dirGlob), commonGlobOptions(dirGlob))).forEach((filePath) => {
|
|
1189
1189
|
let fileImportPath = toImportPath(filePath);
|
|
1190
1190
|
specifier.importPathMatcher.exec(fileImportPath) && onInvalidate(fileImportPath, removed);
|
|
@@ -3547,7 +3547,7 @@ var makeAbsolute = (otherImport, normalizedPath, workingDir) => otherImport.star
|
|
|
3547
3547
|
let cacheKey = this.getFindMatchingFilesCacheKey(specifier, workingDir, ignoreWarnings), cached = this.findMatchingFilesCache.get(cacheKey);
|
|
3548
3548
|
if (cached)
|
|
3549
3549
|
return cached;
|
|
3550
|
-
let pathToSubIndex = {}, globCwd = slash(resolve8(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-
|
|
3550
|
+
let pathToSubIndex = {}, globCwd = slash(resolve8(workingDir, specifier.directory)), globPattern = specifier.files.startsWith("!") ? `./${specifier.files}` : specifier.files, { globby } = await import("../_node-chunks/globby-N7LO32D3.js"), files = await globby(globPattern, {
|
|
3551
3551
|
absolute: !0,
|
|
3552
3552
|
cwd: globCwd,
|
|
3553
3553
|
...commonGlobOptions2(globPattern),
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import "../../_browser-chunks/chunk-OZZPSYQR.js";
|
|
12
12
|
import {
|
|
13
13
|
ArgsTable
|
|
14
|
-
} from "../../_browser-chunks/chunk-
|
|
14
|
+
} from "../../_browser-chunks/chunk-MJY6ITYT.js";
|
|
15
15
|
import "../../_browser-chunks/chunk-PJSMZ27A.js";
|
|
16
16
|
import "../../_browser-chunks/chunk-6ELMKWKX.js";
|
|
17
17
|
import {
|
|
@@ -427,7 +427,7 @@ var ADDON_ID8 = "core/review", manager_default2 = addons2.register(ADDON_ID8, ()
|
|
|
427
427
|
// src/controls/manager.tsx
|
|
428
428
|
import { AddonPanel } from "@aussieljk/forkbook/internal/components";
|
|
429
429
|
import { SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE } from "@aussieljk/forkbook/internal/core-events";
|
|
430
|
-
import {
|
|
430
|
+
import { CheckCircleIcon, XCircleIcon } from "@phosphor-icons/react";
|
|
431
431
|
import {
|
|
432
432
|
addons as addons3,
|
|
433
433
|
experimental_requestResponse,
|
|
@@ -457,7 +457,7 @@ var ADDON_ID9 = "addon-controls", PARAM_KEY6 = "controls";
|
|
|
457
457
|
// src/controls/components/SaveStory.tsx
|
|
458
458
|
import React from "react";
|
|
459
459
|
import { Bar, Button, Form, Modal } from "@aussieljk/forkbook/internal/components";
|
|
460
|
-
import {
|
|
460
|
+
import { ArrowCounterClockwiseIcon, CheckIcon, PlusIcon } from "@phosphor-icons/react";
|
|
461
461
|
|
|
462
462
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/controls/components/SaveStory.module.css
|
|
463
463
|
var id = "core/src/controls/components/SaveStory.module.css";
|
|
@@ -465,7 +465,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
465
465
|
let style = document.createElement("style");
|
|
466
466
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-zEgyLq-container{z-index:1;width:100%;height:41px;position:absolute;bottom:0;overflow:hidden;container-type:size}.fb-zEgyLq-bar{--highlight-bg-color:#e0f0ff;background:var(--fb-background-bar);border-top:1px solid var(--fb-app-border-color);font-size:var(--fb-size-s2);padding-inline:4px;animation:.3s fb-zEgyLq-slideIn,2s fb-zEgyLq-highlight;@container (width<=799px){flex-direction:row;justify-content:flex-end}}:where([data-fb-theme=dark]) .fb-zEgyLq-bar{--highlight-bg-color:#153b5b}.fb-zEgyLq-info{flex:99 0 auto;align-items:center;gap:6px;margin-inline:7px 10px;display:flex}.fb-zEgyLq-actions{color:var(--fb-text-muted-color);font-size:var(--fb-size-s2);flex:1 0 0;align-items:center;gap:2px;display:flex}.fb-zEgyLq-label{@container (width<=799px){text-indent:-9999px;line-height:0;&:after{content:attr(data-short-label);line-height:initial;text-indent:0;display:block}}}.fb-zEgyLq-modalInput{&::placeholder{color:var(--fb-color-mediumdark)}&:invalid:not(:placeholder-shown){box-shadow:var(--fb-color-negative) 0 0 0 1px inset}}@keyframes fb-zEgyLq-slideIn{0%{transform:translateY(40px)}to{transform:translateY(0)}}@keyframes fb-zEgyLq-highlight{0%{background:var(--highlight-bg-color)}}", document.head.appendChild(style);
|
|
467
467
|
}
|
|
468
|
-
var SaveStory_default = {
|
|
468
|
+
var SaveStory_default = { highlight: "fb-zEgyLq-highlight", bar: "fb-zEgyLq-bar", container: "fb-zEgyLq-container", modalInput: "fb-zEgyLq-modalInput", label: "fb-zEgyLq-label", actions: "fb-zEgyLq-actions", info: "fb-zEgyLq-info", slideIn: "fb-zEgyLq-slideIn" };
|
|
469
469
|
|
|
470
470
|
// src/controls/components/SaveStory.tsx
|
|
471
471
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -502,11 +502,11 @@ var SaveStory = ({ saveStory, createStory, resetArgs }) => {
|
|
|
502
502
|
jsx("div", { className: SaveStory_default.label, "data-short-label": "Save", children: "Update story" })
|
|
503
503
|
] }),
|
|
504
504
|
jsxs(Button, { ariaLabel: createLabel, tooltip: createLabel, onClick: onShowForm, children: [
|
|
505
|
-
jsx(
|
|
505
|
+
jsx(PlusIcon, {}),
|
|
506
506
|
jsx("div", { className: SaveStory_default.label, "data-short-label": "New", children: "Create new story" })
|
|
507
507
|
] }),
|
|
508
508
|
jsxs(Button, { ariaLabel: "Reset changes", onClick: () => resetArgs(), children: [
|
|
509
|
-
jsx(
|
|
509
|
+
jsx(ArrowCounterClockwiseIcon, {}),
|
|
510
510
|
jsx("span", { children: "Reset" })
|
|
511
511
|
] })
|
|
512
512
|
] }),
|
|
@@ -709,7 +709,7 @@ var manager_default3 = addons3.register(ADDON_ID9, (api) => {
|
|
|
709
709
|
});
|
|
710
710
|
api.addNotification({
|
|
711
711
|
id: "save-story-success",
|
|
712
|
-
icon: jsx4(
|
|
712
|
+
icon: jsx4(CheckCircleIcon, { color: color.positive }),
|
|
713
713
|
content: {
|
|
714
714
|
headline: "Story saved",
|
|
715
715
|
subHeadline: jsxs4(Fragment2, { children: [
|
|
@@ -723,7 +723,7 @@ var manager_default3 = addons3.register(ADDON_ID9, (api) => {
|
|
|
723
723
|
} catch (error) {
|
|
724
724
|
throw api.addNotification({
|
|
725
725
|
id: "save-story-error",
|
|
726
|
-
icon: jsx4(
|
|
726
|
+
icon: jsx4(XCircleIcon, { color: color.negative }),
|
|
727
727
|
content: {
|
|
728
728
|
headline: "Failed to save story",
|
|
729
729
|
subHeadline: error?.message || "Check the Forkbook process on the command line for more details."
|
|
@@ -743,7 +743,7 @@ var manager_default3 = addons3.register(ADDON_ID9, (api) => {
|
|
|
743
743
|
});
|
|
744
744
|
api.addNotification({
|
|
745
745
|
id: "save-story-success",
|
|
746
|
-
icon: jsx4(
|
|
746
|
+
icon: jsx4(CheckCircleIcon, { color: color.positive }),
|
|
747
747
|
content: {
|
|
748
748
|
headline: "Story created",
|
|
749
749
|
subHeadline: jsxs4(Fragment2, { children: [
|
|
@@ -1799,7 +1799,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"
|
|
|
1799
1799
|
let style = document.createElement("style");
|
|
1800
1800
|
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-IaeYrG-wrapper{margin:0;padding:10px 5px 20px}.fb-IaeYrG-action{white-space:pre;border-bottom:1px solid #0000;border-left:5px solid #0000;align-items:flex-start;padding:0;transition:all .1s;display:flex}.fb-IaeYrG-counter{background-color:rgb(from var(--fb-app-border-color) r g b / calc(alpha + .5));color:var(--fb-color-inverse-text);font-size:var(--fb-size-s1);font-weight:var(--fb-weight-bold);border-radius:20px;margin:2px 0;padding:1px 5px;line-height:1}.fb-IaeYrG-inspectorContainer{flex:1;padding:0 0 0 5px}", document.head.appendChild(style);
|
|
1801
1801
|
}
|
|
1802
|
-
var ActionLogger_default = {
|
|
1802
|
+
var ActionLogger_default = { counter: "fb-IaeYrG-counter", inspectorContainer: "fb-IaeYrG-inspectorContainer", action: "fb-IaeYrG-action", wrapper: "fb-IaeYrG-wrapper" };
|
|
1803
1803
|
|
|
1804
1804
|
// src/actions/components/ActionLogger/index.tsx
|
|
1805
1805
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -1982,7 +1982,7 @@ var DetachedDebuggerMessage = ({ storyUrl }) => jsxs7("div", { className: Detach
|
|
|
1982
1982
|
// src/component-testing/components/EmptyState.tsx
|
|
1983
1983
|
import { useEffect as useEffect4, useState as useState5 } from "react";
|
|
1984
1984
|
import { EmptyTabContent, Link as Link2 } from "@aussieljk/forkbook/internal/components";
|
|
1985
|
-
import {
|
|
1985
|
+
import { FileTextIcon } from "@phosphor-icons/react";
|
|
1986
1986
|
import { useStorybookApi as useStorybookApi4 } from "@aussieljk/forkbook/manager-api";
|
|
1987
1987
|
|
|
1988
1988
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/component-testing/components/EmptyState.module.css
|
|
@@ -2012,7 +2012,7 @@ var Empty = () => {
|
|
|
2012
2012
|
title: "Interactions",
|
|
2013
2013
|
description: jsx10(Fragment4, { children: "Interactions allow you to verify the functional aspects of UIs. Write a play function for your story and you'll see it run here." }),
|
|
2014
2014
|
footer: jsx10("div", { className: EmptyState_default.links, children: jsxs8(Link2, { href: docsUrl, target: "_blank", withArrow: !0, children: [
|
|
2015
|
-
jsx10(
|
|
2015
|
+
jsx10(FileTextIcon, {}),
|
|
2016
2016
|
" Read docs"
|
|
2017
2017
|
] }) })
|
|
2018
2018
|
}
|
|
@@ -2022,7 +2022,7 @@ var Empty = () => {
|
|
|
2022
2022
|
// src/component-testing/components/Interaction.tsx
|
|
2023
2023
|
import * as React30 from "react";
|
|
2024
2024
|
import { Button as Button2 } from "@aussieljk/forkbook/internal/components";
|
|
2025
|
-
import {
|
|
2025
|
+
import { CaretDownIcon, CaretUpIcon } from "@phosphor-icons/react";
|
|
2026
2026
|
|
|
2027
2027
|
// src/component-testing/components/MethodCall.tsx
|
|
2028
2028
|
import React29, { Fragment as Fragment5 } from "react";
|
|
@@ -3006,7 +3006,7 @@ var getParams = (line, fromIndex = 0) => {
|
|
|
3006
3006
|
};
|
|
3007
3007
|
|
|
3008
3008
|
// src/component-testing/components/StatusIcon.tsx
|
|
3009
|
-
import { CheckIcon as CheckIcon2, CircleIcon, PlayIcon,
|
|
3009
|
+
import { CheckIcon as CheckIcon2, CircleIcon, PlayIcon, StopCircleIcon } from "@phosphor-icons/react";
|
|
3010
3010
|
import { useTheme as useTheme5 } from "@aussieljk/forkbook/theming";
|
|
3011
3011
|
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
3012
3012
|
var StatusIcon = ({ status }) => {
|
|
@@ -3015,7 +3015,7 @@ var StatusIcon = ({ status }) => {
|
|
|
3015
3015
|
case "done" /* DONE */:
|
|
3016
3016
|
return jsx13(CheckIcon2, { color: theme3.color.positive, "data-testid": "icon-done" });
|
|
3017
3017
|
case "error" /* ERROR */:
|
|
3018
|
-
return jsx13(
|
|
3018
|
+
return jsx13(StopCircleIcon, { color: theme3.color.negative, "data-testid": "icon-error" });
|
|
3019
3019
|
case "active" /* ACTIVE */:
|
|
3020
3020
|
return jsx13(PlayIcon, { color: theme3.color.secondary, "data-testid": "icon-active" });
|
|
3021
3021
|
case "waiting" /* WAITING */:
|
|
@@ -3044,7 +3044,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"
|
|
|
3044
3044
|
let style = document.createElement("style");
|
|
3045
3045
|
style.setAttribute("data-fb-css", id7), style.textContent = '.fb-PYwdvq-methodCall{font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);overflow-wrap:break-word;inline-size:calc(100% - 40px)}.fb-PYwdvq-row{border-bottom:1px solid var(--fb-app-border-color);font-family:var(--fb-font-base);flex-direction:column;font-size:13px;list-style:none;display:flex;position:relative;&[data-status=error]{background-color:var(--fb-background-warning)}&[data-paused]:before{content:"";z-index:1;border-top:4.5px solid #0000;border-left:7px solid var(--fb-color-warning);border-bottom:4.5px solid #0000;position:absolute;top:-5px}&[data-paused]:after{content:"";z-index:1;border-top:1.5px solid var(--fb-color-warning);width:100%;position:absolute;top:-1px}}:where([data-fb-theme=dark]) .fb-PYwdvq-row[data-status=error]{background-color:rgb(from var(--fb-color-negative) r g b / calc(alpha - .93))}.fb-PYwdvq-rowHeader{display:flex;&:not([data-navigation-disabled]):hover{background:var(--fb-background-hoverable)}}.fb-PYwdvq-rowLabel{text-align:start;cursor:pointer;background:0 0;border:0;flex:1;grid-template-columns:15px 1fr;align-items:center;min-height:40px;margin:0;padding:8px 15px;display:grid;&:disabled,&[data-status=error]{cursor:default}&:focus-visible{box-shadow:inset 3px 0 0 0 var(--fb-color-secondary);background:var(--fb-background-hoverable);outline:0}&[data-status=error]:focus-visible{box-shadow:inset 3px 0 0 0 var(--fb-color-warning);background:0 0}&[data-status=waiting]>div{opacity:.5}}.fb-PYwdvq-rowActions{align-items:center;padding:6px;display:flex}.fb-PYwdvq-button{color:var(--fb-text-muted-color);margin:0 3px}.fb-PYwdvq-rowMessage{font-size:var(--fb-size-s1);color:var(--fb-color-default-text);padding:8px 10px 8px 36px;& pre{margin:0;padding:0}}.fb-PYwdvq-errorName{color:#0271b6}.fb-PYwdvq-errorMessage{color:#444}.fb-PYwdvq-errorExplainer{color:var(--fb-color-negative-text);font-size:var(--fb-size-s2);text-wrap:balance;max-width:500px}:where([data-fb-theme=dark]){& .fb-PYwdvq-errorName{color:#5ec1ff}& .fb-PYwdvq-errorMessage{color:#eee}& .fb-PYwdvq-errorExplainer{color:var(--fb-color-negative)}}', document.head.appendChild(style);
|
|
3046
3046
|
}
|
|
3047
|
-
var Interaction_default = {
|
|
3047
|
+
var Interaction_default = { methodCall: "fb-PYwdvq-methodCall", rowLabel: "fb-PYwdvq-rowLabel", rowHeader: "fb-PYwdvq-rowHeader", rowActions: "fb-PYwdvq-rowActions", row: "fb-PYwdvq-row", button: "fb-PYwdvq-button", rowMessage: "fb-PYwdvq-rowMessage", errorMessage: "fb-PYwdvq-errorMessage", errorExplainer: "fb-PYwdvq-errorExplainer", errorName: "fb-PYwdvq-errorName" };
|
|
3048
3048
|
|
|
3049
3049
|
// src/component-testing/components/Interaction.tsx
|
|
3050
3050
|
import { jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
@@ -3161,7 +3161,7 @@ ${exception.diff}` : ""}`,
|
|
|
3161
3161
|
onClick: toggleCollapsed,
|
|
3162
3162
|
ariaLabel: getExpandButtonAriaLabel({ isCollapsed, stepName }),
|
|
3163
3163
|
"aria-expanded": !isCollapsed,
|
|
3164
|
-
children: isCollapsed ? jsx14(
|
|
3164
|
+
children: isCollapsed ? jsx14(CaretUpIcon, {}) : jsx14(CaretDownIcon, {})
|
|
3165
3165
|
}
|
|
3166
3166
|
) })
|
|
3167
3167
|
]
|
|
@@ -3212,12 +3212,12 @@ import {
|
|
|
3212
3212
|
Toolbar as SharedToolbar
|
|
3213
3213
|
} from "@aussieljk/forkbook/internal/components";
|
|
3214
3214
|
import {
|
|
3215
|
+
ArrowsClockwiseIcon,
|
|
3215
3216
|
FastForwardIcon,
|
|
3216
|
-
PlayBackIcon,
|
|
3217
|
-
PlayNextIcon,
|
|
3218
3217
|
RewindIcon,
|
|
3219
|
-
|
|
3220
|
-
|
|
3218
|
+
SkipBackIcon,
|
|
3219
|
+
SkipForwardIcon
|
|
3220
|
+
} from "@phosphor-icons/react";
|
|
3221
3221
|
import { useTheme as useTheme6 } from "@aussieljk/forkbook/theming";
|
|
3222
3222
|
|
|
3223
3223
|
// src/component-testing/components/StatusBadge.tsx
|
|
@@ -3279,7 +3279,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id10}
|
|
|
3279
3279
|
let style = document.createElement("style");
|
|
3280
3280
|
style.setAttribute("data-fb-css", id10), style.textContent = ".fb-W9rv1G-wrapper{box-shadow:var(--fb-app-border-color) 0 -1px 0 0 inset;background:var(--fb-background-app);z-index:1;position:sticky;top:0}.fb-W9rv1G-controlsGroup{flex:1;align-items:center;gap:6px;display:flex}.fb-W9rv1G-iconButton{color:var(--fb-text-muted-color)}.fb-W9rv1G-rewindButton{margin-inline-start:3px;}.fb-W9rv1G-jumpToEndButton{color:var(--fb-text-muted-color);border-radius:4px;margin-inline:3px;padding:6px;line-height:12px;&:not(:disabled):hover,&:not(:disabled):focus-visible{color:var(--fb-color-secondary)}}.fb-W9rv1G-openInEditorButton{color:var(--fb-color-secondary);font-weight:var(--fb-weight-bold);text-align:right;white-space:nowrap;justify-content:flex-end;font-size:13px;line-height:24px}.fb-W9rv1G-location{color:var(--fb-text-muted-color);cursor:default;font-weight:var(--fb-weight-regular);text-align:right;white-space:nowrap;justify-content:flex-end;margin:0;font-size:13px}", document.head.appendChild(style);
|
|
3281
3281
|
}
|
|
3282
|
-
var Toolbar_default = {
|
|
3282
|
+
var Toolbar_default = { location: "fb-W9rv1G-location", wrapper: "fb-W9rv1G-wrapper", iconButton: "fb-W9rv1G-iconButton", jumpToEndButton: "fb-W9rv1G-jumpToEndButton", openInEditorButton: "fb-W9rv1G-openInEditorButton", rewindButton: "fb-W9rv1G-rewindButton fb-W9rv1G-iconButton", controlsGroup: "fb-W9rv1G-controlsGroup" };
|
|
3283
3283
|
|
|
3284
3284
|
// src/component-testing/components/Toolbar.tsx
|
|
3285
3285
|
import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
@@ -3338,7 +3338,7 @@ var Toolbar = ({
|
|
|
3338
3338
|
onClick: controls.back,
|
|
3339
3339
|
onPointerDown: preventFocusLoss,
|
|
3340
3340
|
disabled: !controlStates.back,
|
|
3341
|
-
children: jsx17(
|
|
3341
|
+
children: jsx17(SkipBackIcon, {})
|
|
3342
3342
|
}
|
|
3343
3343
|
),
|
|
3344
3344
|
jsx17(
|
|
@@ -3351,7 +3351,7 @@ var Toolbar = ({
|
|
|
3351
3351
|
onClick: controls.next,
|
|
3352
3352
|
onPointerDown: preventFocusLoss,
|
|
3353
3353
|
disabled: !controlStates.next,
|
|
3354
|
-
children: jsx17(
|
|
3354
|
+
children: jsx17(SkipForwardIcon, {})
|
|
3355
3355
|
}
|
|
3356
3356
|
),
|
|
3357
3357
|
jsx17(
|
|
@@ -3376,7 +3376,7 @@ var Toolbar = ({
|
|
|
3376
3376
|
ariaLabel: "Rerun",
|
|
3377
3377
|
onClick: controls.rerun,
|
|
3378
3378
|
onPointerDown: preventFocusLoss,
|
|
3379
|
-
children: jsx17(
|
|
3379
|
+
children: jsx17(ArrowsClockwiseIcon, {})
|
|
3380
3380
|
}
|
|
3381
3381
|
)
|
|
3382
3382
|
] }),
|
|
@@ -3407,7 +3407,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id11}
|
|
|
3407
3407
|
let style = document.createElement("style");
|
|
3408
3408
|
style.setAttribute("data-fb-css", id11), style.textContent = ".fb-RpIDLa-container{background:var(--fb-background-content);height:100%}.fb-RpIDLa-section{position:relative}.fb-RpIDLa-heading{white-space:nowrap;clip:rect(0, 0, 0, 0);clip-path:inset(50%);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fb-RpIDLa-list{margin:0;padding:0}.fb-RpIDLa-caughtException{border-bottom:1px solid var(--fb-app-border-color);background-color:var(--fb-background-warning);font-size:calc(var(--fb-size-s2) - 1px);padding:15px;line-height:19px}:where([data-fb-theme=dark]) .fb-RpIDLa-caughtException{background-color:rgb(from var(--fb-color-negative) r g b / calc(alpha - .93))}.fb-RpIDLa-caughtExceptionCode{font-size:calc(var(--fb-size-s1) - 1px);vertical-align:top;border:1px solid var(--fb-app-border-color);background:#0000000d;border-radius:3px;margin:0 1px;padding:3px;line-height:1}.fb-RpIDLa-caughtExceptionTitle{padding-bottom:4px;font-weight:700}.fb-RpIDLa-caughtExceptionDescription{margin:0;padding:0 0 20px}.fb-RpIDLa-caughtExceptionStack{font-size:calc(var(--fb-size-s1) - 1px);margin:0;padding:0;&:not(:last-child){padding-bottom:16px}}", document.head.appendChild(style);
|
|
3409
3409
|
}
|
|
3410
|
-
var InteractionsPanel_default = { container: "fb-RpIDLa-container",
|
|
3410
|
+
var InteractionsPanel_default = { container: "fb-RpIDLa-container", caughtExceptionDescription: "fb-RpIDLa-caughtExceptionDescription", caughtExceptionTitle: "fb-RpIDLa-caughtExceptionTitle", caughtExceptionCode: "fb-RpIDLa-caughtExceptionCode", heading: "fb-RpIDLa-heading", list: "fb-RpIDLa-list", caughtExceptionStack: "fb-RpIDLa-caughtExceptionStack", caughtException: "fb-RpIDLa-caughtException", section: "fb-RpIDLa-section" };
|
|
3411
3411
|
|
|
3412
3412
|
// src/component-testing/components/InteractionsPanel.tsx
|
|
3413
3413
|
import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
@@ -3794,7 +3794,7 @@ import { addons as addons6, types as types4 } from "@aussieljk/forkbook/manager-
|
|
|
3794
3794
|
// src/backgrounds/components/Tool.tsx
|
|
3795
3795
|
import { Fragment as Fragment9, memo as memo5, useCallback as useCallback5 } from "react";
|
|
3796
3796
|
import { Select, ToggleButton } from "@aussieljk/forkbook/internal/components";
|
|
3797
|
-
import { CircleIcon as CircleIcon2,
|
|
3797
|
+
import { CircleIcon as CircleIcon2, GridFourIcon, ImageIcon } from "@phosphor-icons/react";
|
|
3798
3798
|
import { useGlobals as useGlobals2, useParameter as useParameter4 } from "@aussieljk/forkbook/manager-api";
|
|
3799
3799
|
import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
3800
3800
|
var BackgroundTool = memo5(function() {
|
|
@@ -3845,7 +3845,7 @@ var BackgroundTool = memo5(function() {
|
|
|
3845
3845
|
ariaLabel: isLocked ? "Grid set by story parameters" : "Grid visibility",
|
|
3846
3846
|
tooltip: isLocked ? "Grid set by story parameters" : "Toggle grid visibility",
|
|
3847
3847
|
onClick: () => update({ value: backgroundName, grid: !isGrid }),
|
|
3848
|
-
children: jsx22(
|
|
3848
|
+
children: jsx22(GridFourIcon, {})
|
|
3849
3849
|
},
|
|
3850
3850
|
"grid"
|
|
3851
3851
|
),
|
|
@@ -3855,7 +3855,7 @@ var BackgroundTool = memo5(function() {
|
|
|
3855
3855
|
resetLabel: "Reset background",
|
|
3856
3856
|
onReset: () => update(void 0),
|
|
3857
3857
|
disabled: isLocked,
|
|
3858
|
-
icon: jsx22(
|
|
3858
|
+
icon: jsx22(ImageIcon, {}),
|
|
3859
3859
|
ariaLabel: isLocked ? "Background set by story parameters" : "Preview background",
|
|
3860
3860
|
tooltip: isLocked ? "Background set by story parameters" : "Change background",
|
|
3861
3861
|
defaultOptions: backgroundName,
|
|
@@ -3884,7 +3884,7 @@ import { addons as addons7, types as types5 } from "@aussieljk/forkbook/manager-
|
|
|
3884
3884
|
// src/measure/Tool.tsx
|
|
3885
3885
|
import { useCallback as useCallback6, useEffect as useEffect11 } from "react";
|
|
3886
3886
|
import { ToggleButton as ToggleButton2 } from "@aussieljk/forkbook/internal/components";
|
|
3887
|
-
import { RulerIcon } from "@
|
|
3887
|
+
import { RulerIcon } from "@phosphor-icons/react";
|
|
3888
3888
|
import { useGlobals as useGlobals3, useParameter as useParameter5, useStorybookApi as useStorybookApi8 } from "@aussieljk/forkbook/manager-api";
|
|
3889
3889
|
import { jsx as jsx24 } from "react/jsx-runtime";
|
|
3890
3890
|
var Tool = () => {
|
|
@@ -3935,7 +3935,7 @@ import { addons as addons8, types as types6 } from "@aussieljk/forkbook/manager-
|
|
|
3935
3935
|
// src/outline/OutlineSelector.tsx
|
|
3936
3936
|
import { memo as memo6, useCallback as useCallback7, useEffect as useEffect12 } from "react";
|
|
3937
3937
|
import { ToggleButton as ToggleButton3 } from "@aussieljk/forkbook/internal/components";
|
|
3938
|
-
import {
|
|
3938
|
+
import { SelectionIcon } from "@phosphor-icons/react";
|
|
3939
3939
|
import { useGlobals as useGlobals4, useParameter as useParameter6, useStorybookApi as useStorybookApi9 } from "@aussieljk/forkbook/manager-api";
|
|
3940
3940
|
import { jsx as jsx26 } from "react/jsx-runtime";
|
|
3941
3941
|
var OutlineSelector = memo6(function() {
|
|
@@ -3963,7 +3963,7 @@ var OutlineSelector = memo6(function() {
|
|
|
3963
3963
|
ariaDescription: "When enabled, this tool displays the outline of every element in the preview area, which helps understand their layout.",
|
|
3964
3964
|
tooltip: "Toggle outline",
|
|
3965
3965
|
onClick: toggleOutline,
|
|
3966
|
-
children: jsx26(
|
|
3966
|
+
children: jsx26(SelectionIcon, {})
|
|
3967
3967
|
},
|
|
3968
3968
|
"outline"
|
|
3969
3969
|
);
|
|
@@ -3986,7 +3986,7 @@ import { addons as addons9, types as types7 } from "@aussieljk/forkbook/manager-
|
|
|
3986
3986
|
// src/viewport/components/Tool.tsx
|
|
3987
3987
|
import { useMemo as useMemo6 } from "react";
|
|
3988
3988
|
import { Select as Select2 } from "@aussieljk/forkbook/internal/components";
|
|
3989
|
-
import {
|
|
3989
|
+
import { ArrowsOutIcon } from "@phosphor-icons/react";
|
|
3990
3990
|
|
|
3991
3991
|
// src/viewport/useViewport.ts
|
|
3992
3992
|
import { useCallback as useCallback8, useEffect as useEffect13, useMemo as useMemo5, useRef as useRef3 } from "react";
|
|
@@ -4070,12 +4070,18 @@ var cycle = (viewports, current, direction = 1) => {
|
|
|
4070
4070
|
};
|
|
4071
4071
|
|
|
4072
4072
|
// src/viewport/viewportIcons.tsx
|
|
4073
|
-
import {
|
|
4073
|
+
import {
|
|
4074
|
+
BrowserIcon,
|
|
4075
|
+
DeviceMobileIcon,
|
|
4076
|
+
DeviceTabletIcon,
|
|
4077
|
+
DiamondIcon,
|
|
4078
|
+
WatchIcon
|
|
4079
|
+
} from "@phosphor-icons/react";
|
|
4074
4080
|
import { jsx as jsx28 } from "react/jsx-runtime";
|
|
4075
4081
|
var iconsMap = {
|
|
4076
4082
|
desktop: jsx28(BrowserIcon, {}),
|
|
4077
|
-
mobile: jsx28(
|
|
4078
|
-
tablet: jsx28(
|
|
4083
|
+
mobile: jsx28(DeviceMobileIcon, {}),
|
|
4084
|
+
tablet: jsx28(DeviceTabletIcon, {}),
|
|
4079
4085
|
watch: jsx28(WatchIcon, {}),
|
|
4080
4086
|
other: jsx28(DiamondIcon, {})
|
|
4081
4087
|
};
|
|
@@ -4133,7 +4139,7 @@ var ViewportTool = () => {
|
|
|
4133
4139
|
defaultOptions: value,
|
|
4134
4140
|
options,
|
|
4135
4141
|
onSelect: (selected) => select(selected),
|
|
4136
|
-
icon: jsx29(
|
|
4142
|
+
icon: jsx29(ArrowsOutIcon, {}),
|
|
4137
4143
|
children: isDefault ? null : name
|
|
4138
4144
|
},
|
|
4139
4145
|
"viewport"
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.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
|
slash
|
|
14
|
-
} from "../../_node-chunks/chunk-
|
|
14
|
+
} from "../../_node-chunks/chunk-UW35FCXF.js";
|
|
15
15
|
import {
|
|
16
16
|
glob
|
|
17
|
-
} from "../../_node-chunks/chunk-
|
|
18
|
-
import "../../_node-chunks/chunk-
|
|
17
|
+
} from "../../_node-chunks/chunk-E2XKJLXK.js";
|
|
18
|
+
import "../../_node-chunks/chunk-TZ2TZW2K.js";
|
|
19
19
|
|
|
20
20
|
// src/core-server/utils/remove-mdx-entries.ts
|
|
21
21
|
import { isAbsolute, join, relative } from "node:path";
|