@aussieljk/forkbook 0.0.1-10 → 0.0.1-12
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/README.md +1 -1
- package/assets/create/rendererAssets/common/button.css +6 -6
- package/assets/create/rendererAssets/common/header.css +5 -5
- package/assets/create/rendererAssets/common/page.css +10 -10
- package/assets/server/template.ejs +6 -3
- package/dist/_browser-chunks/{Color-X63I7FHI.js → Color-TA43572R.js} +2 -2
- package/dist/_browser-chunks/{DocsRenderer-JXND3PVQ.js → DocsRenderer-DKXSW2OY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-5S6F2P7L.js → WithTooltip-66AWY4VQ.js} +5 -4
- package/dist/_browser-chunks/{chunk-RBCHTR7C.js → chunk-2ELGJRFZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-DYNTDJ3O.js → chunk-2UKY4NXZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-I4ATZPNZ.js → chunk-2WMECYEY.js} +3 -3
- package/dist/_browser-chunks/{chunk-6ELMKWKX.js → chunk-2WZWS7GJ.js} +1 -1
- package/dist/_browser-chunks/{chunk-N3NRW5XX.js → chunk-2YWS25WY.js} +1 -1
- package/dist/_browser-chunks/{chunk-NGMQJMCY.js → chunk-3O4QUF3D.js} +1 -1
- package/dist/_browser-chunks/{chunk-GNZY6LOW.js → chunk-5MRMYSUN.js} +4 -4
- package/dist/_browser-chunks/{chunk-RMYQ3QN3.js → chunk-5XGERZHU.js} +15 -12
- package/dist/_browser-chunks/{chunk-5WMXI5GW.js → chunk-AQVUHXWY.js} +6 -4
- package/dist/_browser-chunks/{chunk-ZHKZKFY4.js → chunk-ARZTIHZK.js} +6 -10
- package/dist/_browser-chunks/{chunk-DS2WQZGO.js → chunk-D2Z5KXPS.js} +12 -41
- package/dist/_browser-chunks/{chunk-EQKMUQF3.js → chunk-DT7BB545.js} +3 -2
- package/dist/_browser-chunks/{chunk-76222HQR.js → chunk-E6QKKKLO.js} +20 -5
- package/dist/_browser-chunks/{chunk-5Z65SURM.js → chunk-F22A5EGD.js} +4 -4
- package/dist/_browser-chunks/{chunk-3M5T7BW4.js → chunk-GGALYEQS.js} +1 -1
- package/dist/_browser-chunks/{chunk-TTBPZQ24.js → chunk-HGIW4I4J.js} +11 -18
- package/dist/_browser-chunks/{chunk-46Z7NGAS.js → chunk-HX443LKV.js} +1 -1
- package/dist/_browser-chunks/{chunk-KYSD26D6.js → chunk-IGD46SQI.js} +90 -83
- package/dist/_browser-chunks/{chunk-LTCXWKZO.js → chunk-QSYOMLRG.js} +667 -624
- package/dist/_browser-chunks/{chunk-2JT76G3E.js → chunk-SBOQ4QPY.js} +15 -15
- package/dist/_browser-chunks/{chunk-O24AZJZ7.js → chunk-UDR26TXA.js} +2 -2
- package/dist/_browser-chunks/{chunk-5I7E4GMO.js → chunk-WY2LUGOH.js} +1 -1
- package/dist/_browser-chunks/{chunk-7DQREF4S.js → chunk-XV3AEPJW.js} +1 -1
- package/dist/_browser-chunks/{matchers-YLBYSYAF.js → matchers-2HVLNCVO.js} +4 -4
- package/dist/_browser-chunks/{react-dom-client-4OHE3QDV.js → react-dom-client-SLBUX3U3.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-PDBJ2EGV.js → attached-runtime-AU2RZM4Y.js} +28 -29
- package/dist/_node-chunks/{builder-manager-VLL26RPG.js → builder-manager-UPXA2KKT.js} +39 -28
- package/dist/_node-chunks/{chunk-FR2ZDWKJ.js → chunk-22A63J7O.js} +7 -7
- package/dist/_node-chunks/{chunk-ZBWAA2EY.js → chunk-22TWJGGQ.js} +28 -43
- package/dist/_node-chunks/{chunk-M4QNXI37.js → chunk-2GJBHF56.js} +6 -6
- package/dist/_node-chunks/{chunk-TNFH4Y4G.js → chunk-2MGPZNKV.js} +280 -306
- package/dist/_node-chunks/{chunk-KRWR44KT.js → chunk-2Q3YWQSK.js} +6 -6
- package/dist/_node-chunks/{chunk-6DRVJCYP.js → chunk-2W525A4I.js} +7 -7
- package/dist/_node-chunks/{chunk-ZFLK7MY5.js → chunk-2X3WAH7V.js} +7 -7
- package/dist/_node-chunks/{chunk-FERXOKZY.js → chunk-34DNGOCZ.js} +8 -8
- package/dist/_node-chunks/{chunk-ID3WA6WR.js → chunk-3MJZ5GI2.js} +6 -6
- package/dist/_node-chunks/{chunk-AAL6X7YG.js → chunk-3X67K6EI.js} +136 -114
- package/dist/_node-chunks/{chunk-QGC3UWR5.js → chunk-5KMW5XXM.js} +6 -6
- package/dist/_node-chunks/{chunk-FXBZWUW3.js → chunk-5MYXWAKD.js} +512 -1033
- package/dist/_node-chunks/chunk-5N7YRHXJ.js +20 -0
- package/dist/_node-chunks/{chunk-QGVU7IFS.js → chunk-6772LYNF.js} +7 -7
- package/dist/_node-chunks/{chunk-IGOX6TUG.js → chunk-76M6JG5T.js} +7 -7
- package/dist/_node-chunks/{chunk-MKUA4ZCG.js → chunk-7F6TIY4T.js} +8 -8
- package/dist/_node-chunks/{chunk-KWNBN3DV.js → chunk-7SBWGNA7.js} +10 -10
- package/dist/_node-chunks/chunk-ABCEMTIP.js +20 -0
- package/dist/_node-chunks/{chunk-JVWXCB3L.js → chunk-AHNN3TQH.js} +8 -8
- package/dist/_node-chunks/{chunk-CEDR5CNM.js → chunk-BDATIKVV.js} +7 -7
- package/dist/_node-chunks/{chunk-K4O2ZAMU.js → chunk-BMM74ZQW.js} +6 -6
- package/dist/_node-chunks/{chunk-DR7NW2MI.js → chunk-BOWRRVJM.js} +6 -6
- package/dist/_node-chunks/{chunk-FRBE7ES4.js → chunk-BTDLJXAT.js} +6 -6
- package/dist/_node-chunks/{chunk-GKHLTHYM.js → chunk-C2HVGXLD.js} +224 -181
- package/dist/_node-chunks/chunk-CWIJ2D5F.js +18 -0
- package/dist/_node-chunks/{chunk-QOFBJXPH.js → chunk-DNX4BLMS.js} +7 -7
- package/dist/_node-chunks/{chunk-G2ZUFOHU.js → chunk-DXR3YGRT.js} +6 -6
- package/dist/_node-chunks/{chunk-GBVWRZHP.js → chunk-EFZAYIPN.js} +6 -6
- package/dist/_node-chunks/{chunk-MY7UVHPL.js → chunk-FAR3NIPG.js} +8 -8
- package/dist/_node-chunks/{chunk-MBPHOLXB.js → chunk-FFUIQJRI.js} +32 -40
- package/dist/_node-chunks/{chunk-TZIT6SZP.js → chunk-FKI7K3GE.js} +6 -6
- package/dist/_node-chunks/{chunk-VSHYJR23.js → chunk-FR67COFW.js} +7 -7
- package/dist/_node-chunks/chunk-FUDG3QKB.js +25 -0
- package/dist/_node-chunks/chunk-G6GOV7H7.js +19 -0
- package/dist/_node-chunks/{chunk-DRCP3DQF.js → chunk-H7UVQBCQ.js} +8 -8
- package/dist/_node-chunks/{chunk-CSFNS7HA.js → chunk-HMQUTLMS.js} +6 -6
- package/dist/_node-chunks/{chunk-VG2KFIOW.js → chunk-HPXM4SGT.js} +9 -9
- package/dist/_node-chunks/{chunk-MQC7ZY6L.js → chunk-HW4T3OXA.js} +7 -7
- package/dist/_node-chunks/{chunk-QVLHVO4X.js → chunk-HW7RCOV4.js} +8 -8
- package/dist/_node-chunks/{chunk-NGFFEW2B.js → chunk-IFHNMS7I.js} +19 -19
- package/dist/_node-chunks/{chunk-IL7YA7QJ.js → chunk-IKUSSZJ3.js} +10 -10
- package/dist/_node-chunks/{chunk-OPG46TLN.js → chunk-IOXDHKFF.js} +7 -7
- package/dist/_node-chunks/chunk-J3CNNXKQ.js +11 -0
- package/dist/_node-chunks/{chunk-ACSO4HQP.js → chunk-JB4457FJ.js} +6 -6
- package/dist/_node-chunks/{chunk-T5VZYRL2.js → chunk-JHX35YKT.js} +6 -6
- package/dist/_node-chunks/{chunk-CKE4R4NL.js → chunk-JKPKEYSH.js} +6 -6
- package/dist/_node-chunks/{chunk-RC4HPD5Q.js → chunk-JMFTALJW.js} +6 -6
- package/dist/_node-chunks/{chunk-BDU3ZUMK.js → chunk-JXS4P2RM.js} +7 -7
- package/dist/_node-chunks/{chunk-7CV4VEA2.js → chunk-K2K6KTBC.js} +8 -8
- package/dist/_node-chunks/{chunk-THDTJJMO.js → chunk-KMC5WWQS.js} +7 -7
- package/dist/_node-chunks/{chunk-FJFB7TWU.js → chunk-KQTFSKC6.js} +8 -8
- package/dist/_node-chunks/{chunk-GQYATLH6.js → chunk-KZPWZM2E.js} +37 -34
- package/dist/_node-chunks/{chunk-FZ453CHY.js → chunk-LTJ4AYDM.js} +6 -6
- package/dist/_node-chunks/{chunk-LH5QBX2U.js → chunk-MNNESU33.js} +497 -475
- package/dist/_node-chunks/{chunk-FQGQ5KHN.js → chunk-MNQVVJZN.js} +6 -6
- package/dist/_node-chunks/{chunk-CZ3V3HHK.js → chunk-NO7MF6VR.js} +6 -6
- package/dist/_node-chunks/{chunk-MIWBXEUH.js → chunk-NPSIAK46.js} +6 -6
- package/dist/_node-chunks/{chunk-GGE7TBVX.js → chunk-NUSHY22I.js} +62 -7
- package/dist/_node-chunks/{chunk-YU5TVYPS.js → chunk-NXRZL2PR.js} +6 -6
- package/dist/_node-chunks/{chunk-7O2UIVID.js → chunk-O2CCUB5T.js} +7 -7
- package/dist/_node-chunks/{chunk-BNEC3EBC.js → chunk-ORSH2FXG.js} +6 -6
- package/dist/_node-chunks/{chunk-LX2XSPPL.js → chunk-OSNOV4EH.js} +7 -7
- package/dist/_node-chunks/{chunk-BPL3ERBH.js → chunk-PHB6QBHM.js} +10 -10
- package/dist/_node-chunks/{chunk-63LPGIV4.js → chunk-POA32M7F.js} +21 -21
- package/dist/_node-chunks/{chunk-QFXAGOIO.js → chunk-Q64ESHBN.js} +8 -8
- package/dist/_node-chunks/{chunk-SYUOBOB5.js → chunk-QBWGJYHY.js} +6 -6
- package/dist/_node-chunks/{chunk-7OY4VMAT.js → chunk-QSKVNZCF.js} +7 -7
- package/dist/_node-chunks/{chunk-MRCPS4S3.js → chunk-QX6RXAEU.js} +6 -6
- package/dist/_node-chunks/{chunk-RJXAXHDJ.js → chunk-R73PEGQU.js} +9 -9
- package/dist/_node-chunks/{chunk-3CSGIJKG.js → chunk-RHH7VDIY.js} +8 -8
- package/dist/_node-chunks/{chunk-BXDMSX3D.js → chunk-RMJNWFPV.js} +9 -9
- package/dist/_node-chunks/{chunk-GJSYGBI5.js → chunk-RT2LVWTC.js} +7 -7
- package/dist/_node-chunks/{chunk-5NRWU7S2.js → chunk-SPCPGRYF.js} +7 -7
- package/dist/_node-chunks/{chunk-FWAF5NBL.js → chunk-SUHBBHKR.js} +6 -6
- package/dist/_node-chunks/{chunk-SGEPJMTU.js → chunk-TXZTC6LA.js} +22 -22
- package/dist/_node-chunks/{chunk-5SMIGUYF.js → chunk-U5HVQTHI.js} +6 -6
- package/dist/_node-chunks/{chunk-LG3NMXCM.js → chunk-UFZUSE3Y.js} +6 -6
- package/dist/_node-chunks/{chunk-DQ44ZAEM.js → chunk-UGQFYYBC.js} +6 -6
- package/dist/_node-chunks/{chunk-R2ZCFA7I.js → chunk-UKLCYEZU.js} +7 -7
- package/dist/_node-chunks/{chunk-IUPE4SU2.js → chunk-VJEN2JM3.js} +8 -8
- package/dist/_node-chunks/{chunk-WVRM6DQU.js → chunk-W5ZAUN5R.js} +7 -7
- package/dist/_node-chunks/{chunk-7KD5DKGZ.js → chunk-WNEWL2PL.js} +6 -6
- package/dist/_node-chunks/{chunk-6DHTL5G2.js → chunk-WUVQ465T.js} +6 -6
- package/dist/_node-chunks/{chunk-3W4KR5GX.js → chunk-XCNYQV2M.js} +19 -15
- package/dist/_node-chunks/{chunk-VUMGWJ6Y.js → chunk-XOAWAXUH.js} +7 -7
- package/dist/_node-chunks/chunk-Y472MP5U.js +281 -0
- package/dist/_node-chunks/{chunk-HCP5DG52.js → chunk-ZCKTYMZT.js} +320 -316
- package/dist/_node-chunks/{chunk-ECOW63CV.js → chunk-ZUK5ZLPP.js} +8 -8
- package/dist/_node-chunks/dist-2DPC664Y.js +27 -0
- package/dist/_node-chunks/dist-XBFUDMFQ.js +16 -0
- package/dist/_node-chunks/{local-runtime-V5YTRN24.js → local-runtime-Z667YPXR.js} +19 -20
- package/dist/_node-chunks/{mdx-plugin-CBOD52VP.js → mdx-plugin-BPRPTZNP.js} +13 -13
- package/dist/_node-chunks/{monorepo-GF6H53U4.js → monorepo-GO54BY34.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-K4TTV2DQ.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-PEHFNJQ5.js} +11 -11
- package/dist/_node-chunks/optimized-tests-W7U4ZRWX.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-M2QNC4IZ.js → pattern-copy-play-64HQIVWK.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-XM2BHKDN.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-3IDE4CYH.js → rehype-external-links-2BSEZ7AC.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-GKB3WS3U.js → rehype-slug-6253EA36.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-C6QU365N.js → relaxed-limits-4PAAPG3J.js} +11 -11
- package/dist/_node-chunks/{run-XWBUPXLN.js → run-3SQW3FRF.js} +18 -18
- package/dist/_node-chunks/{run-TMVS3KKA.js → run-XJT3YVMZ.js} +16 -16
- package/dist/_node-chunks/{setup-KEEJK4WI.js → setup-JIYCTADZ.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-74HEE4WJ.js → vitest.config.4.template-W74SGWHT.js} +7 -7
- package/dist/actions/decorator.js +12 -20
- package/dist/addon-a11y/index.js +2 -2
- package/dist/addon-a11y/manager.js +12 -12
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -2
- package/dist/addon-docs/blocks.d.ts +10 -6
- package/dist/addon-docs/blocks.js +28 -30
- package/dist/addon-docs/index.js +3 -3
- package/dist/addon-docs/manager.js +3 -3
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-docs/preview.js +1 -1
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +9 -9
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +15 -15
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.js +1 -1
- package/dist/addon-pseudo-states/preview.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 +18 -9
- package/dist/addon-vitest/node/coverage-reporter.js +11 -11
- package/dist/addon-vitest/node/vitest.js +28 -28
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +15 -15
- package/dist/addon-vitest/vitest-plugin/global-setup.js +21 -21
- package/dist/addon-vitest/vitest-plugin/index.js +68 -58
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +106 -88
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +18 -18
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.d.ts +1 -1
- package/dist/channels/index.js +1 -1
- package/dist/{chunk-Dr3R0DXk.d.ts → chunk-B-NVyPqN.d.ts} +2 -2
- package/dist/{chunk-Fg1Fm__9.d.ts → chunk-BmCH-L7_.d.ts} +393 -383
- package/dist/{chunk-CNqjcOmK.d.ts → chunk-Bn1RoGAP.d.ts} +1 -1
- package/dist/{chunk-BXLImeLy.d.ts → chunk-CfEntHiI.d.ts} +18 -3
- package/dist/{chunk-D0NUmzXp.d.ts → chunk-IMedIHPn.d.ts} +3 -3
- package/dist/{chunk-CYuvV2sR.d.ts → chunk-evfhuBNU.d.ts} +1 -1
- package/dist/cli/index.d.ts +2 -2
- package/dist/cli/index.js +25 -30
- 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 +2 -2
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/client-logger/index.js +2 -1
- package/dist/common/index.d.ts +5 -5
- package/dist/common/index.js +34 -35
- package/dist/components/index.d.ts +6 -6
- package/dist/components/index.js +152 -162
- package/dist/core-server/index.d.ts +6 -5
- package/dist/core-server/index.js +688 -152
- package/dist/core-server/presets/common-manager.js +227 -316
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +73 -268
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/csf-utils.d.ts +1 -1
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +10 -10
- package/dist/csf-tools/index.d.ts +41 -37
- package/dist/csf-tools/index.js +13 -13
- package/dist/instrumenter/index.d.ts +1 -1
- package/dist/instrumenter/index.js +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CJL1dQtn.js → globals-runtime--RDllwDw.js} +629 -436
- package/dist/manager/_manager-chunks/{globals-runtime-DvV_TF3-.js → globals-runtime-B4NRbNSS.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-wjkxyMn0.js → globals-runtime-BC43T1rL.js} +4150 -50
- package/dist/manager/_manager-chunks/{globals-runtime-CfurFwS_.js → globals-runtime-BFVFUcji.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BKQscPdC.js → globals-runtime-BWciJpaD.js} +103 -101
- package/dist/manager/_manager-chunks/{globals-runtime-CA8AuIRT.js → globals-runtime-BnQ7i5wq.js} +232 -228
- package/dist/manager/_manager-chunks/globals-runtime-BtduS2C2.js +10601 -0
- package/dist/manager/_manager-chunks/globals-runtime-BzuYs3dZ.js +1971 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BY3epqww.js → globals-runtime-CS41oTca.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DBba3I9c.js → globals-runtime-CdLHkSK1.js} +260 -401
- package/dist/manager/_manager-chunks/globals-runtime-CoTrrHG3.js +1163 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BweHuXkK.js → globals-runtime-DCmvKMN5.js} +2 -2
- package/dist/manager/_manager-chunks/globals-runtime-DgO0hT2p.js +32 -0
- package/dist/manager/_manager-chunks/{globals-runtime-CvIgTRVu.js → globals-runtime-DhygDQ09.js} +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-NwJK8t0T.js → globals-runtime-DweLlyBa.js} +5 -4
- package/dist/manager/_manager-chunks/globals-runtime-Me9Bl-sx.js +156 -0
- package/dist/manager/_manager-chunks/globals-runtime-nQMRiA0J.js +19 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bj5KDUJi.js → globals-runtime-oRjPg2jY.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-Bs3bEhuy.js → runtime-1BcYUf7-.js} +24 -42
- package/dist/manager/_manager-chunks/{runtime-CBQsKmch.js → runtime-B2VQIT0n.js} +739 -554
- package/dist/manager/_manager-chunks/runtime-BBaBlpAS.js +552 -0
- package/dist/manager/_manager-chunks/{runtime-B_nqedQW.js → runtime-BFgSyEE6.js} +13 -13
- package/dist/manager/_manager-chunks/{runtime-jj8qYc2n.js → runtime-CE_oqcpl.js} +6 -6
- package/dist/manager/_manager-chunks/{runtime-DtCVCy4G.js → runtime-CRqm7NXD.js} +49 -49
- package/dist/manager/_manager-chunks/{runtime-5B2mWjEm.js → runtime-CZtDJIYj.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-eBAgOym6.js → runtime-D3Gk2bTl.js} +846 -835
- package/dist/manager/_manager-chunks/{runtime-DG61zYUm.js → runtime-Db8fJ2MP.js} +67 -500
- package/dist/manager/_manager-chunks/{runtime-j9yqh0tr.js → runtime-Dj8tizGo.js} +101 -101
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +444 -428
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +9 -9
- package/dist/mocking-utils/index.js +15 -19
- package/dist/nextjs-vite/export-mocks/router/index.js +1 -1
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +4 -4
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +12 -12
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.d.ts +2 -2
- package/dist/nextjs-vite/vite-plugin/index.js +9 -9
- package/dist/nextjs-vite-plugin/index.js +15 -15
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +1 -1
- package/dist/node-logger/index.d.ts +16 -16
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +14 -11
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-BJwGQok8.js → runtime-4BNaFIif.js} +180 -21
- package/dist/preview/_chunks/{runtime-BUnOhg9h.js → runtime-BSJ0Ov_b.js} +2 -2
- package/dist/preview/_chunks/{runtime-BhSZ1Mwt.js → runtime-Bjm1gBLN.js} +6 -19
- package/dist/preview/_chunks/{runtime-Bcv1hJky.js → runtime-CBKlMZg2.js} +4148 -48
- package/dist/preview/_chunks/{runtime-BPwAnlRx.js → runtime-CElbz0uN.js} +1 -1
- package/dist/preview/_chunks/{runtime-BZ4pNS3g.js → runtime-C_nyb8QT.js} +3 -3
- package/dist/preview/_chunks/{runtime-BgPhfM5P.js → runtime-CzTPeFXg.js} +676 -376
- package/dist/preview/_chunks/{runtime-WapFVPAh.js → runtime-DZ7fvh0y.js} +1 -1
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +2 -2
- package/dist/preview-api/index.js +5 -5
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/entry-preview-argtypes.js +1 -1
- package/dist/react/entry-preview-docs.js +1 -1
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +5 -5
- package/dist/react/preset.js +13 -13
- package/dist/react/preview.js +4 -4
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +37 -36
- package/dist/react-native/index.js +30 -34
- package/dist/react-native/metro/node.d.ts +1 -1
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.d.ts +7 -7
- package/dist/react-native/metro/withForkbook.js +14 -14
- package/dist/react-native/preview.js +4 -1
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native/stub.js +1 -1
- package/dist/react-native-ui/index.d.ts +4 -3
- package/dist/react-native-ui/index.js +1 -8
- package/dist/react-native-ui-common/index.d.ts +7 -6
- package/dist/react-native-ui-common/index.js +6 -6
- 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/index.js +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +2 -2
- package/dist/telemetry/index.d.ts +38 -274
- package/dist/telemetry/index.js +11 -66
- package/dist/test/index.js +125 -112
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +2 -2
- package/package.json +15 -15
- package/template/nextjs-vite/cli/js/Button.jsx +2 -2
- package/template/nextjs-vite/cli/js/Header.jsx +1 -1
- package/template/nextjs-vite/cli/js/Page.jsx +1 -1
- package/template/nextjs-vite/cli/ts/Button.tsx +2 -2
- package/template/nextjs-vite/cli/ts/Header.tsx +1 -1
- package/template/nextjs-vite/cli/ts/Page.tsx +1 -1
- package/template/react/cli/js/Button.jsx +2 -2
- package/template/react/cli/js/Header.jsx +1 -1
- package/template/react/cli/js/Page.jsx +1 -1
- package/template/react/cli/ts/Button.tsx +2 -2
- package/template/react/cli/ts/Header.tsx +1 -1
- package/template/react/cli/ts/Page.tsx +1 -1
- package/template/react-vite/cli/js/Button.jsx +2 -2
- package/template/react-vite/cli/js/Header.jsx +1 -1
- package/template/react-vite/cli/js/Page.jsx +1 -1
- package/template/react-vite/cli/ts/Button.tsx +2 -2
- package/template/react-vite/cli/ts/Header.tsx +1 -1
- package/template/react-vite/cli/ts/Page.tsx +1 -1
- package/dist/_node-chunks/chunk-BMJPOQ2S.js +0 -11
- package/dist/_node-chunks/chunk-C3PLG47Q.js +0 -25
- package/dist/_node-chunks/chunk-DNV3LPV3.js +0 -33
- package/dist/_node-chunks/chunk-DPILYJH4.js +0 -33
- package/dist/_node-chunks/chunk-EBWZKN2I.js +0 -1297
- package/dist/_node-chunks/chunk-ENBDAHOV.js +0 -18
- package/dist/_node-chunks/chunk-FAEOR2AW.js +0 -40
- package/dist/_node-chunks/chunk-HVOSLI2K.js +0 -20
- package/dist/_node-chunks/chunk-ND323XCC.js +0 -33
- package/dist/_node-chunks/chunk-PEL4YXU6.js +0 -19
- package/dist/_node-chunks/chunk-T6IU66AM.js +0 -69
- package/dist/_node-chunks/chunk-TY2ZY7AO.js +0 -155
- package/dist/_node-chunks/chunk-ZD5TUA6I.js +0 -20
- package/dist/_node-chunks/dist-7OJKTBKL.js +0 -27
- package/dist/_node-chunks/dist-MWP6WLW4.js +0 -16
- package/dist/_node-chunks/optimized-tests-KOTSVWTN.js +0 -22
- package/dist/_node-chunks/postinstallAddon-WXKJL6DP.js +0 -20
- package/dist/_node-chunks/session-id-VMH57SKN.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-Bs75QQ_I.js +0 -9987
- package/dist/manager/_manager-chunks/globals-runtime-WZKaeKm9.js +0 -4091
- package/dist/manager/_manager-chunks/runtime-5o_11Jae.js +0 -78
- package/dist/preview/_chunks/runtime-BsMjBzuq.js +0 -53
- package/dist/preview/_chunks/runtime-C1jgT6tJ.js +0 -4091
- package/dist/preview/_chunks/runtime-CkOhMcXf.js +0 -387
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import {
|
|
3
|
-
import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-
|
|
4
|
-
import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as
|
|
5
|
-
import {
|
|
6
|
-
import { c as init_clsx, s as clsx } from "./runtime-
|
|
2
|
+
import { Ba as CHANNEL_WS_DISCONNECT, C as Route, D as init_router, Dt as addons, E as getBasename, G as Form, Gt as useStorybookApi, J as Loader, Kt as useStorybookState, L as Button, Lt as shortcutMatchesShortcut, Mr as HeartIcon, Na as XIcon, Nt as init_manager_api, Ot as eventToShortcut, Pn as CircleIcon, Qa as init_channels, Ra as init__forkbook_global_lucide_react, Rt as shortcutToHumanString, So as useState, St as init_theming, Tn as CheckIcon, Tt as Consumer, Vn as CircleXIcon, W as ForkbookLogo, Xa as init_core_events, Z as ScrollArea, Za as createBrowserChannel, a as init_types, b as Location, cr as EyeIcon, ct as TabsView, eo as Component, fo as useCallback, fr as FileTextIcon, ft as TooltipProvider, ho as useEffect, i as REVIEW_STATUS_TYPE_ID, lo as init__forkbook_global_react, lr as EyeOffIcon, mt as init_components, n as CHANGE_DETECTION_STATUS_TYPE_ID, no as _forkbook_global_react_default, q as Link, r as NON_AGGREGATED_STATUS_TYPE_IDS, t as Addon_TypesEnum, to as Fragment, ut as Tooltip, va as TriangleAlertIcon, vt as color, w as buildManagerHref, wr as GitForkIcon, wt as useTheme, yo as useMemo, za as CHANNEL_CREATED, zt as types } from "./runtime-Db8fJ2MP.js";
|
|
3
|
+
import { A as isThumbnailUrl, B as TOOLBAR_ID, C as init_useCopyButton, H as global, R as ToolbarManager, U as init_global, V as init_constants, k as init_thumbnails, w as useCopyButton, z as init_ToolbarManager } from "./runtime-1BcYUf7-.js";
|
|
4
|
+
import { C as UpgradeBlock, c as init_IconSymbols, d as init_menu, f as menuTool, n as renderForkbookUI, o as init_Sidebar, s as UseSymbol, t as init_manager, w as init_UpgradeBlock } from "./runtime-D3Gk2bTl.js";
|
|
5
|
+
import { c as require_memoizerific, o as curriedTransparentize$1, s as init_polished_esm } from "./runtime-B2VQIT0n.js";
|
|
6
|
+
import { c as init_clsx, s as clsx } from "./runtime-CE_oqcpl.js";
|
|
7
7
|
//#region src/manager/utils/root-page.ts
|
|
8
8
|
var getRootPage, thumbnailSrc;
|
|
9
9
|
function init_root_page() {
|
|
@@ -186,7 +186,7 @@ function getChangeDetectionStatus(statuses) {
|
|
|
186
186
|
}
|
|
187
187
|
function getGroupStatus(collapsedData, allStatuses) {
|
|
188
188
|
return Object.values(collapsedData).reduce((acc, item) => {
|
|
189
|
-
if (item.type === "group" || item.type === "component" || item.type === "story") {
|
|
189
|
+
if (item.id && (item.type === "group" || item.type === "component" || item.type === "story")) {
|
|
190
190
|
const leafs = getDescendantIds(collapsedData, item.id, false).map((id) => collapsedData[id]).filter((i) => i.type === "story");
|
|
191
191
|
const combinedStatus = getMostCriticalStatusValue(statusesExcludingReview(leafs.flatMap((story) => Object.values(allStatuses[story.id] || {}))).map((s) => s.value));
|
|
192
192
|
if (combinedStatus) acc[item.id] = combinedStatus;
|
|
@@ -196,7 +196,7 @@ function getGroupStatus(collapsedData, allStatuses) {
|
|
|
196
196
|
}
|
|
197
197
|
function getGroupDualStatus(collapsedData, allStatuses) {
|
|
198
198
|
return Object.values(collapsedData).reduce((acc, item) => {
|
|
199
|
-
if (item.type === "group" || item.type === "component" || item.type === "story") {
|
|
199
|
+
if (item.id && (item.type === "group" || item.type === "component" || item.type === "story")) {
|
|
200
200
|
const allDescendantStatuses = getDescendantIds(collapsedData, item.id, false).map((id) => collapsedData[id]).filter((i) => i.type === "story").flatMap((story) => Object.values(allStatuses[story.id] || {}));
|
|
201
201
|
const changeValues = allDescendantStatuses.filter((s) => s.typeId === CHANGE_DETECTION_STATUS_TYPE_ID).map((s) => s.value);
|
|
202
202
|
const testValues = allDescendantStatuses.filter(isAggregatedTestStatus).map((s) => s.value);
|
|
@@ -211,9 +211,9 @@ function getGroupDualStatus(collapsedData, allStatuses) {
|
|
|
211
211
|
var import_memoizerific, statusPriority, getStatus, shouldShowChangeStatus, isAggregatedTestStatus, getMostCriticalStatusValue, statusesExcludingReview;
|
|
212
212
|
function init_status() {
|
|
213
213
|
return (init_status = __esmMin((() => {
|
|
214
|
-
|
|
214
|
+
init__forkbook_global_react();
|
|
215
215
|
init_types();
|
|
216
|
-
|
|
216
|
+
init__forkbook_global_lucide_react();
|
|
217
217
|
import_memoizerific = /* @__PURE__ */ __toESM(require_memoizerific(), 1);
|
|
218
218
|
init_polished_esm();
|
|
219
219
|
init_IconSymbols();
|
|
@@ -239,7 +239,7 @@ function init_status() {
|
|
|
239
239
|
textColor: null
|
|
240
240
|
},
|
|
241
241
|
"status-value:pending": {
|
|
242
|
-
icon: /* @__PURE__ */
|
|
242
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement(CircleIcon, {
|
|
243
243
|
key: "icon",
|
|
244
244
|
className: status_module_default.loadingIcon
|
|
245
245
|
}),
|
|
@@ -247,72 +247,72 @@ function init_status() {
|
|
|
247
247
|
textColor: "currentColor"
|
|
248
248
|
},
|
|
249
249
|
"status-value:success": {
|
|
250
|
-
icon: /* @__PURE__ */
|
|
250
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
251
251
|
key: "icon",
|
|
252
252
|
viewBox: "0 0 14 14",
|
|
253
253
|
width: "14",
|
|
254
254
|
height: "14"
|
|
255
|
-
}, /* @__PURE__ */
|
|
255
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "success" })),
|
|
256
256
|
iconColor: theme.color.positive,
|
|
257
257
|
textColor: "currentColor"
|
|
258
258
|
},
|
|
259
259
|
"status-value:new": {
|
|
260
|
-
icon: /* @__PURE__ */
|
|
260
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
261
261
|
key: "icon",
|
|
262
262
|
viewBox: "0 0 14 14",
|
|
263
263
|
width: "14",
|
|
264
264
|
height: "14"
|
|
265
|
-
}, /* @__PURE__ */
|
|
265
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "new" })),
|
|
266
266
|
iconColor: theme.fgColor.accent,
|
|
267
267
|
textColor: null
|
|
268
268
|
},
|
|
269
269
|
"status-value:modified": {
|
|
270
|
-
icon: /* @__PURE__ */
|
|
270
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
271
271
|
key: "icon",
|
|
272
272
|
viewBox: "0 0 14 14",
|
|
273
273
|
width: "14",
|
|
274
274
|
height: "14"
|
|
275
|
-
}, /* @__PURE__ */
|
|
275
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "modified" })),
|
|
276
276
|
iconColor: theme.fgColor.accent,
|
|
277
277
|
textColor: null
|
|
278
278
|
},
|
|
279
279
|
"status-value:affected": {
|
|
280
|
-
icon: /* @__PURE__ */
|
|
280
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
281
281
|
key: "icon",
|
|
282
282
|
viewBox: "0 0 14 14",
|
|
283
283
|
width: "14",
|
|
284
284
|
height: "14"
|
|
285
|
-
}, /* @__PURE__ */
|
|
285
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "affected" })),
|
|
286
286
|
iconColor: theme.fgColor.accent,
|
|
287
287
|
textColor: null
|
|
288
288
|
},
|
|
289
289
|
"status-value:reviewing": {
|
|
290
|
-
icon: /* @__PURE__ */
|
|
290
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
291
291
|
key: "icon",
|
|
292
292
|
viewBox: "0 0 14 14",
|
|
293
293
|
width: "14",
|
|
294
294
|
height: "14"
|
|
295
|
-
}, /* @__PURE__ */
|
|
295
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "reviewing" })),
|
|
296
296
|
iconColor: theme.fgColor.agentic,
|
|
297
297
|
textColor: null
|
|
298
298
|
},
|
|
299
299
|
"status-value:warning": {
|
|
300
|
-
icon: /* @__PURE__ */
|
|
300
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
301
301
|
key: "icon",
|
|
302
302
|
viewBox: "0 0 14 14",
|
|
303
303
|
width: "14",
|
|
304
304
|
height: "14"
|
|
305
|
-
}, /* @__PURE__ */
|
|
305
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "warning" })),
|
|
306
306
|
iconColor: theme.color.warning,
|
|
307
307
|
textColor: theme.fgColor.warning
|
|
308
308
|
},
|
|
309
309
|
"status-value:error": {
|
|
310
|
-
icon: /* @__PURE__ */
|
|
310
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement("svg", {
|
|
311
311
|
key: "icon",
|
|
312
312
|
viewBox: "0 0 14 14",
|
|
313
313
|
width: "14",
|
|
314
314
|
height: "14"
|
|
315
|
-
}, /* @__PURE__ */
|
|
315
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(UseSymbol, { type: "error" })),
|
|
316
316
|
iconColor: theme.color.negative,
|
|
317
317
|
textColor: theme.fgColor.negative
|
|
318
318
|
}
|
|
@@ -392,11 +392,11 @@ function init_About_module() {
|
|
|
392
392
|
document.head.appendChild(style);
|
|
393
393
|
}
|
|
394
394
|
About_module_default = {
|
|
395
|
-
"header": "fb-v5QLGG-header",
|
|
396
|
-
"link": "fb-v5QLGG-link",
|
|
397
395
|
"footer": "fb-v5QLGG-footer",
|
|
398
396
|
"container": "fb-v5QLGG-container",
|
|
399
|
-
"actions": "fb-v5QLGG-actions"
|
|
397
|
+
"actions": "fb-v5QLGG-actions",
|
|
398
|
+
"link": "fb-v5QLGG-link",
|
|
399
|
+
"header": "fb-v5QLGG-header"
|
|
400
400
|
};
|
|
401
401
|
})))();
|
|
402
402
|
}
|
|
@@ -405,25 +405,25 @@ function init_About_module() {
|
|
|
405
405
|
var AboutScreen;
|
|
406
406
|
function init_About() {
|
|
407
407
|
return (init_About = __esmMin((() => {
|
|
408
|
-
|
|
408
|
+
init__forkbook_global_react();
|
|
409
409
|
init_components();
|
|
410
|
-
|
|
410
|
+
init__forkbook_global_lucide_react();
|
|
411
411
|
init_UpgradeBlock();
|
|
412
412
|
init_About_module();
|
|
413
413
|
AboutScreen = ({ onNavigateToWhatsNew }) => {
|
|
414
|
-
return /* @__PURE__ */
|
|
414
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: About_module_default.container }, /* @__PURE__ */ _forkbook_global_react_default.createElement("header", { className: About_module_default.header }, /* @__PURE__ */ _forkbook_global_react_default.createElement(ForkbookLogo, { alt: "Forkbook" })), /* @__PURE__ */ _forkbook_global_react_default.createElement(UpgradeBlock, { onNavigateToWhatsNew }), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: About_module_default.footer }, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: About_module_default.actions }, /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
415
415
|
ariaLabel: false,
|
|
416
416
|
asChild: true
|
|
417
|
-
}, /* @__PURE__ */
|
|
417
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement("a", { href: "https://github.com/aussieljk/forkbook" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(GitForkIcon, null), "GitHub")), /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
418
418
|
ariaLabel: false,
|
|
419
419
|
asChild: true
|
|
420
|
-
}, /* @__PURE__ */
|
|
420
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement("a", { href: "https://forkbook.ljk.dev/docs" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(FileTextIcon, { style: {
|
|
421
421
|
display: "inline",
|
|
422
422
|
marginRight: 5
|
|
423
|
-
} }), "Documentation"))), /* @__PURE__ */
|
|
423
|
+
} }), "Documentation"))), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", null, "Open source software maintained by", " ", /* @__PURE__ */ _forkbook_global_react_default.createElement(Link, {
|
|
424
424
|
className: About_module_default.link,
|
|
425
425
|
href: "https://www.chromatic.com/"
|
|
426
|
-
}, "Chromatic"), " ", "and the", " ", /* @__PURE__ */
|
|
426
|
+
}, "Chromatic"), " ", "and the", " ", /* @__PURE__ */ _forkbook_global_react_default.createElement(Link, {
|
|
427
427
|
className: About_module_default.link,
|
|
428
428
|
href: "https://github.com/aussieljk/forkbook/graphs/contributors"
|
|
429
429
|
}, "Forkbook Community"))));
|
|
@@ -435,7 +435,7 @@ function init_About() {
|
|
|
435
435
|
var NotificationClearer, AboutPage;
|
|
436
436
|
function init_AboutPage() {
|
|
437
437
|
return (init_AboutPage = __esmMin((() => {
|
|
438
|
-
|
|
438
|
+
init__forkbook_global_react();
|
|
439
439
|
init_manager_api();
|
|
440
440
|
init_About();
|
|
441
441
|
NotificationClearer = class extends Component {
|
|
@@ -454,10 +454,10 @@ function init_AboutPage() {
|
|
|
454
454
|
const onNavigateToWhatsNew = useCallback(() => {
|
|
455
455
|
api.changeSettingsTab("whats-new");
|
|
456
456
|
}, [api]);
|
|
457
|
-
return /* @__PURE__ */
|
|
457
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(NotificationClearer, {
|
|
458
458
|
api,
|
|
459
459
|
notificationId: "update"
|
|
460
|
-
}, /* @__PURE__ */
|
|
460
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(AboutScreen, { onNavigateToWhatsNew: state.whatsNewData?.status === "SUCCESS" ? onNavigateToWhatsNew : void 0 }));
|
|
461
461
|
};
|
|
462
462
|
})))();
|
|
463
463
|
}
|
|
@@ -481,24 +481,24 @@ function init_SettingsFooter_module() {
|
|
|
481
481
|
var SettingsFooter;
|
|
482
482
|
function init_SettingsFooter() {
|
|
483
483
|
return (init_SettingsFooter = __esmMin((() => {
|
|
484
|
-
|
|
484
|
+
init__forkbook_global_react();
|
|
485
485
|
init_components();
|
|
486
486
|
init_clsx();
|
|
487
487
|
init_SettingsFooter_module();
|
|
488
|
-
SettingsFooter = ({ className, ...props }) => /* @__PURE__ */
|
|
488
|
+
SettingsFooter = ({ className, ...props }) => /* @__PURE__ */ _forkbook_global_react_default.createElement("div", {
|
|
489
489
|
className: clsx(SettingsFooter_module_default.footer, className),
|
|
490
490
|
...props
|
|
491
|
-
}, /* @__PURE__ */
|
|
491
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(Link, {
|
|
492
492
|
secondary: true,
|
|
493
493
|
href: "https://forkbook.ljk.dev",
|
|
494
494
|
cancel: false,
|
|
495
495
|
target: "_blank"
|
|
496
|
-
}, "Docs"), /* @__PURE__ */
|
|
496
|
+
}, "Docs"), /* @__PURE__ */ _forkbook_global_react_default.createElement(Link, {
|
|
497
497
|
secondary: true,
|
|
498
498
|
href: "https://github.com/aussieljk/forkbook",
|
|
499
499
|
cancel: false,
|
|
500
500
|
target: "_blank"
|
|
501
|
-
}, "GitHub"), /* @__PURE__ */
|
|
501
|
+
}, "GitHub"), /* @__PURE__ */ _forkbook_global_react_default.createElement(Link, {
|
|
502
502
|
secondary: true,
|
|
503
503
|
href: "https://forkbook.ljk.dev/community#support",
|
|
504
504
|
cancel: false,
|
|
@@ -519,17 +519,17 @@ function init_shortcuts_module() {
|
|
|
519
519
|
document.head.appendChild(style);
|
|
520
520
|
}
|
|
521
521
|
shortcuts_module_default = {
|
|
522
|
-
"gridWrapper": "fb-5Bi54W-gridWrapper",
|
|
523
|
-
"description": "fb-5Bi54W-description",
|
|
524
|
-
"gridHeaderRow": "fb-5Bi54W-gridHeaderRow",
|
|
525
522
|
"headerItem": "fb-5Bi54W-headerItem",
|
|
526
|
-
"row": "fb-5Bi54W-row",
|
|
527
|
-
"successIcon": "fb-5Bi54W-successIcon",
|
|
528
523
|
"textInput": "fb-5Bi54W-textInput",
|
|
524
|
+
"gridWrapper": "fb-5Bi54W-gridWrapper",
|
|
525
|
+
"fade": "fb-5Bi54W-fade",
|
|
529
526
|
"header": "fb-5Bi54W-header",
|
|
527
|
+
"successIcon": "fb-5Bi54W-successIcon",
|
|
530
528
|
"container": "fb-5Bi54W-container",
|
|
531
|
-
"
|
|
532
|
-
"jiggle": "fb-5Bi54W-jiggle"
|
|
529
|
+
"gridHeaderRow": "fb-5Bi54W-gridHeaderRow",
|
|
530
|
+
"jiggle": "fb-5Bi54W-jiggle",
|
|
531
|
+
"description": "fb-5Bi54W-description",
|
|
532
|
+
"row": "fb-5Bi54W-row"
|
|
533
533
|
};
|
|
534
534
|
})))();
|
|
535
535
|
}
|
|
@@ -547,14 +547,14 @@ function toShortcutState(shortcutKeys) {
|
|
|
547
547
|
var TextInput, shortcutLabels, hardcodedShortcuts, ShortcutsScreen;
|
|
548
548
|
function init_shortcuts() {
|
|
549
549
|
return (init_shortcuts = __esmMin((() => {
|
|
550
|
-
|
|
550
|
+
init__forkbook_global_react();
|
|
551
551
|
init_components();
|
|
552
|
-
|
|
552
|
+
init__forkbook_global_lucide_react();
|
|
553
553
|
init_manager_api();
|
|
554
554
|
init_clsx();
|
|
555
555
|
init_SettingsFooter();
|
|
556
556
|
init_shortcuts_module();
|
|
557
|
-
TextInput = ({ valid, className, ...props }) => /* @__PURE__ */
|
|
557
|
+
TextInput = ({ valid, className, ...props }) => /* @__PURE__ */ _forkbook_global_react_default.createElement(Form.Input, {
|
|
558
558
|
className: clsx(shortcuts_module_default.textInput, className),
|
|
559
559
|
"data-valid": valid,
|
|
560
560
|
...props
|
|
@@ -655,18 +655,18 @@ function init_shortcuts() {
|
|
|
655
655
|
};
|
|
656
656
|
this.renderKeyInput = () => {
|
|
657
657
|
const { shortcutKeys, addonsShortcutLabels } = this.state;
|
|
658
|
-
return Object.entries(shortcutKeys).filter(([feature]) => shortcutLabels[feature] !== void 0 || addonsShortcutLabels && addonsShortcutLabels[feature]).map(([feature, { shortcut, hardcoded }]) => /* @__PURE__ */
|
|
658
|
+
return Object.entries(shortcutKeys).filter(([feature]) => shortcutLabels[feature] !== void 0 || addonsShortcutLabels && addonsShortcutLabels[feature]).map(([feature, { shortcut, hardcoded }]) => /* @__PURE__ */ _forkbook_global_react_default.createElement("div", {
|
|
659
659
|
className: shortcuts_module_default.row,
|
|
660
660
|
key: feature
|
|
661
|
-
}, /* @__PURE__ */
|
|
662
|
-
tooltip: /* @__PURE__ */
|
|
661
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.description }, shortcutLabels[feature] || addonsShortcutLabels[feature]), hardcoded ? /* @__PURE__ */ _forkbook_global_react_default.createElement(_forkbook_global_react_default.Fragment, null, /* @__PURE__ */ _forkbook_global_react_default.createElement(TooltipProvider, {
|
|
662
|
+
tooltip: /* @__PURE__ */ _forkbook_global_react_default.createElement(Tooltip, { hasChrome: true }, "This shortcut cannot be changed."),
|
|
663
663
|
placement: "right"
|
|
664
|
-
}, /* @__PURE__ */
|
|
664
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(TextInput, {
|
|
665
665
|
"aria-disabled": true,
|
|
666
666
|
readOnly: true,
|
|
667
667
|
valid: void 0,
|
|
668
668
|
value: shortcut ? shortcutToHumanString(shortcut) : ""
|
|
669
|
-
}))) : /* @__PURE__ */
|
|
669
|
+
}))) : /* @__PURE__ */ _forkbook_global_react_default.createElement(TextInput, {
|
|
670
670
|
spellCheck: "false",
|
|
671
671
|
valid: this.displayError(feature),
|
|
672
672
|
className: "modalInput",
|
|
@@ -676,12 +676,12 @@ function init_shortcuts() {
|
|
|
676
676
|
value: shortcut ? shortcutToHumanString(shortcut) : "",
|
|
677
677
|
placeholder: "Type keys",
|
|
678
678
|
readOnly: true
|
|
679
|
-
}), /* @__PURE__ */
|
|
679
|
+
}), /* @__PURE__ */ _forkbook_global_react_default.createElement(CheckIcon, {
|
|
680
680
|
className: shortcuts_module_default.successIcon,
|
|
681
681
|
"data-valid": this.displaySuccessMessage(feature)
|
|
682
682
|
})));
|
|
683
683
|
};
|
|
684
|
-
this.renderKeyForm = () => /* @__PURE__ */
|
|
684
|
+
this.renderKeyForm = () => /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.gridWrapper }, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.gridHeaderRow }, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.headerItem }, "Commands"), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.headerItem }, "Shortcut")), this.renderKeyInput());
|
|
685
685
|
this.state = {
|
|
686
686
|
activeFeature: void 0,
|
|
687
687
|
successField: void 0,
|
|
@@ -691,13 +691,13 @@ function init_shortcuts() {
|
|
|
691
691
|
}
|
|
692
692
|
render() {
|
|
693
693
|
const layout = this.renderKeyForm();
|
|
694
|
-
return /* @__PURE__ */
|
|
694
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: shortcuts_module_default.container }, /* @__PURE__ */ _forkbook_global_react_default.createElement("header", { className: shortcuts_module_default.header }, "Keyboard shortcuts"), layout, /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
695
695
|
ariaLabel: false,
|
|
696
696
|
variant: "outline",
|
|
697
697
|
size: "small",
|
|
698
698
|
id: "restoreDefaultsHotkeys",
|
|
699
699
|
onClick: this.restoreDefaults
|
|
700
|
-
}, "Restore defaults"), /* @__PURE__ */
|
|
700
|
+
}, "Restore defaults"), /* @__PURE__ */ _forkbook_global_react_default.createElement(SettingsFooter, null));
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
703
|
})))();
|
|
@@ -707,10 +707,10 @@ function init_shortcuts() {
|
|
|
707
707
|
var ShortcutsPage;
|
|
708
708
|
function init_ShortcutsPage() {
|
|
709
709
|
return (init_ShortcutsPage = __esmMin((() => {
|
|
710
|
-
|
|
710
|
+
init__forkbook_global_react();
|
|
711
711
|
init_manager_api();
|
|
712
712
|
init_shortcuts();
|
|
713
|
-
ShortcutsPage = () => /* @__PURE__ */
|
|
713
|
+
ShortcutsPage = () => /* @__PURE__ */ _forkbook_global_react_default.createElement(Consumer, null, ({ api: { getShortcutKeys, getAddonsShortcutLabels, setShortcut, restoreDefaultShortcut, restoreAllDefaultShortcuts } }) => /* @__PURE__ */ _forkbook_global_react_default.createElement(ShortcutsScreen, {
|
|
714
714
|
shortcutKeys: getShortcutKeys(),
|
|
715
715
|
addonsShortcutLabels: getAddonsShortcutLabels(),
|
|
716
716
|
setShortcut,
|
|
@@ -732,12 +732,12 @@ function init_whats_new_module() {
|
|
|
732
732
|
document.head.appendChild(style);
|
|
733
733
|
}
|
|
734
734
|
whats_new_module_default = {
|
|
735
|
+
"alertIcon": "fb-wRVF8a-alertIcon",
|
|
736
|
+
"loaderWrapper": "fb-wRVF8a-loaderWrapper",
|
|
737
|
+
"iframe": "fb-wRVF8a-iframe",
|
|
735
738
|
"centered": "fb-wRVF8a-centered",
|
|
736
739
|
"message": "fb-wRVF8a-message",
|
|
737
|
-
"
|
|
738
|
-
"loaderWrapper": "fb-wRVF8a-loaderWrapper",
|
|
739
|
-
"footer": "fb-wRVF8a-footer",
|
|
740
|
-
"alertIcon": "fb-wRVF8a-alertIcon"
|
|
740
|
+
"footer": "fb-wRVF8a-footer"
|
|
741
741
|
};
|
|
742
742
|
})))();
|
|
743
743
|
}
|
|
@@ -746,10 +746,10 @@ function init_whats_new_module() {
|
|
|
746
746
|
var WhatsNewFooter, WhatsNewLoader, MaxWaitTimeMessaging, PureWhatsNewScreen, MAX_WAIT_TIME, WhatsNewScreen;
|
|
747
747
|
function init_whats_new() {
|
|
748
748
|
return (init_whats_new = __esmMin((() => {
|
|
749
|
-
|
|
749
|
+
init__forkbook_global_react();
|
|
750
750
|
init_components();
|
|
751
751
|
init_global();
|
|
752
|
-
|
|
752
|
+
init__forkbook_global_lucide_react();
|
|
753
753
|
init_manager_api();
|
|
754
754
|
init_theming();
|
|
755
755
|
init_useCopyButton();
|
|
@@ -760,35 +760,35 @@ function init_whats_new() {
|
|
|
760
760
|
children: "Copy Link",
|
|
761
761
|
content: copyContent
|
|
762
762
|
});
|
|
763
|
-
return /* @__PURE__ */
|
|
763
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: whats_new_module_default.footer }, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { style: {
|
|
764
764
|
display: "flex",
|
|
765
765
|
alignItems: "center",
|
|
766
766
|
gap: 10
|
|
767
|
-
} }, /* @__PURE__ */
|
|
767
|
+
} }, /* @__PURE__ */ _forkbook_global_react_default.createElement(HeartIcon, { color: theme.color.mediumdark }), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", null, "Share this with your team."), /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
768
768
|
size: "small",
|
|
769
769
|
variant: "ghost",
|
|
770
770
|
...copyButtonProps
|
|
771
|
-
}, copyText)), isNotificationsEnabled ? /* @__PURE__ */
|
|
771
|
+
}, copyText)), isNotificationsEnabled ? /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
772
772
|
ariaLabel: false,
|
|
773
773
|
size: "small",
|
|
774
774
|
variant: "ghost",
|
|
775
775
|
onClick: onToggleNotifications
|
|
776
|
-
}, /* @__PURE__ */
|
|
776
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(EyeOffIcon, null), "Hide notifications") : /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
777
777
|
ariaLabel: false,
|
|
778
778
|
size: "small",
|
|
779
779
|
variant: "ghost",
|
|
780
780
|
onClick: onToggleNotifications
|
|
781
|
-
}, /* @__PURE__ */
|
|
781
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(EyeIcon, null), "Show notifications"));
|
|
782
782
|
};
|
|
783
|
-
WhatsNewLoader = () => /* @__PURE__ */
|
|
784
|
-
MaxWaitTimeMessaging = () => /* @__PURE__ */
|
|
785
|
-
PureWhatsNewScreen = ({ didHitMaxWaitTime, isLoaded, onLoad, url, copyContent, onToggleNotifications, isNotificationsEnabled }) => /* @__PURE__ */
|
|
783
|
+
WhatsNewLoader = () => /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: whats_new_module_default.centered }, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: whats_new_module_default.loaderWrapper }, /* @__PURE__ */ _forkbook_global_react_default.createElement(Loader, null)), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: whats_new_module_default.message }, "Loading..."));
|
|
784
|
+
MaxWaitTimeMessaging = () => /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: whats_new_module_default.centered }, /* @__PURE__ */ _forkbook_global_react_default.createElement(TriangleAlertIcon, { className: whats_new_module_default.alertIcon }), /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: whats_new_module_default.message }, "The page couldn't be loaded. Check your internet connection and try again."));
|
|
785
|
+
PureWhatsNewScreen = ({ didHitMaxWaitTime, isLoaded, onLoad, url, copyContent, onToggleNotifications, isNotificationsEnabled }) => /* @__PURE__ */ _forkbook_global_react_default.createElement(Fragment, null, !isLoaded && !didHitMaxWaitTime && /* @__PURE__ */ _forkbook_global_react_default.createElement(WhatsNewLoader, null), didHitMaxWaitTime ? /* @__PURE__ */ _forkbook_global_react_default.createElement(MaxWaitTimeMessaging, null) : /* @__PURE__ */ _forkbook_global_react_default.createElement(_forkbook_global_react_default.Fragment, null, /* @__PURE__ */ _forkbook_global_react_default.createElement("iframe", {
|
|
786
786
|
className: whats_new_module_default.iframe,
|
|
787
787
|
"data-loaded": isLoaded || void 0,
|
|
788
788
|
onLoad,
|
|
789
789
|
src: url,
|
|
790
790
|
title: `What's new?`
|
|
791
|
-
}), /* @__PURE__ */
|
|
791
|
+
}), /* @__PURE__ */ _forkbook_global_react_default.createElement(WhatsNewFooter, {
|
|
792
792
|
isNotificationsEnabled,
|
|
793
793
|
onToggleNotifications,
|
|
794
794
|
copyContent
|
|
@@ -805,7 +805,7 @@ function init_whats_new() {
|
|
|
805
805
|
}, [isLoaded]);
|
|
806
806
|
if (whatsNewData?.status !== "SUCCESS") return null;
|
|
807
807
|
const isNotificationsEnabled = !whatsNewData.disableWhatsNewNotifications;
|
|
808
|
-
return /* @__PURE__ */
|
|
808
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(PureWhatsNewScreen, {
|
|
809
809
|
didHitMaxWaitTime,
|
|
810
810
|
isLoaded,
|
|
811
811
|
onLoad: () => {
|
|
@@ -829,10 +829,10 @@ function init_whats_new() {
|
|
|
829
829
|
var WhatsNewPage;
|
|
830
830
|
function init_whats_new_page() {
|
|
831
831
|
return (init_whats_new_page = __esmMin((() => {
|
|
832
|
-
|
|
832
|
+
init__forkbook_global_react();
|
|
833
833
|
init_whats_new();
|
|
834
834
|
WhatsNewPage = () => {
|
|
835
|
-
return /* @__PURE__ */
|
|
835
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(WhatsNewScreen, null);
|
|
836
836
|
};
|
|
837
837
|
})))();
|
|
838
838
|
}
|
|
@@ -859,12 +859,12 @@ function init_index_module() {
|
|
|
859
859
|
var document$2, RouteWrapper, Pages, SettingsPages, settingsPageAddon;
|
|
860
860
|
function init_settings() {
|
|
861
861
|
return (init_settings = __esmMin((() => {
|
|
862
|
-
|
|
862
|
+
init__forkbook_global_react();
|
|
863
863
|
init_components();
|
|
864
864
|
init_router();
|
|
865
865
|
init_types();
|
|
866
866
|
init_global();
|
|
867
|
-
|
|
867
|
+
init__forkbook_global_lucide_react();
|
|
868
868
|
init_manager_api();
|
|
869
869
|
init_menu();
|
|
870
870
|
init_keybinding();
|
|
@@ -874,14 +874,14 @@ function init_settings() {
|
|
|
874
874
|
init_index_module();
|
|
875
875
|
({document: document$2} = global);
|
|
876
876
|
RouteWrapper = ({ children, path }) => {
|
|
877
|
-
return /* @__PURE__ */
|
|
877
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(ScrollArea, {
|
|
878
878
|
className: index_module_default.content,
|
|
879
879
|
vertical: true,
|
|
880
880
|
horizontal: false
|
|
881
|
-
}, /* @__PURE__ */
|
|
881
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(Route, { path }, children));
|
|
882
882
|
};
|
|
883
883
|
Pages = ({ changeTab, onClose, enableShortcuts = true, enableWhatsNew }) => {
|
|
884
|
-
|
|
884
|
+
_forkbook_global_react_default.useEffect(() => {
|
|
885
885
|
const handleEscape = (event) => {
|
|
886
886
|
if (!enableShortcuts || event.repeat) return;
|
|
887
887
|
if (matchesModifiers(false, event) && matchesKeyCode("Escape", event)) {
|
|
@@ -898,25 +898,25 @@ function init_settings() {
|
|
|
898
898
|
const tabsToInclude = [{
|
|
899
899
|
id: "about",
|
|
900
900
|
title: "About",
|
|
901
|
-
children: /* @__PURE__ */
|
|
901
|
+
children: /* @__PURE__ */ _forkbook_global_react_default.createElement(RouteWrapper, { path: "about" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(AboutPage, { key: "about" }))
|
|
902
902
|
}];
|
|
903
903
|
tabsToInclude.push({
|
|
904
904
|
id: "shortcuts",
|
|
905
905
|
title: "Keyboard shortcuts",
|
|
906
|
-
children: /* @__PURE__ */
|
|
906
|
+
children: /* @__PURE__ */ _forkbook_global_react_default.createElement(RouteWrapper, { path: "shortcuts" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(ShortcutsPage, { key: "shortcuts" }))
|
|
907
907
|
});
|
|
908
908
|
if (enableWhatsNew) tabsToInclude.push({
|
|
909
909
|
id: "whats-new",
|
|
910
910
|
title: "What's new?",
|
|
911
|
-
children: /* @__PURE__ */
|
|
911
|
+
children: /* @__PURE__ */ _forkbook_global_react_default.createElement(RouteWrapper, { path: "whats-new" }, /* @__PURE__ */ _forkbook_global_react_default.createElement(WhatsNewPage, { key: "whats-new" }))
|
|
912
912
|
});
|
|
913
913
|
return tabsToInclude;
|
|
914
914
|
}, [enableWhatsNew]);
|
|
915
|
-
return /* @__PURE__ */
|
|
915
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(Location, null, ({ path }) => {
|
|
916
916
|
const selected = tabs.find((tab) => path.includes(`settings/${tab.id}`))?.id;
|
|
917
|
-
return /* @__PURE__ */
|
|
917
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(TabsView, {
|
|
918
918
|
tabs,
|
|
919
|
-
tools: /* @__PURE__ */
|
|
919
|
+
tools: /* @__PURE__ */ _forkbook_global_react_default.createElement(_forkbook_global_react_default.Fragment, null, /* @__PURE__ */ _forkbook_global_react_default.createElement("div", { className: index_module_default.sidebarToggle }, /* @__PURE__ */ _forkbook_global_react_default.createElement(menuTool.render, null)), toolsExtra.map((item) => /* @__PURE__ */ _forkbook_global_react_default.createElement(item.render, { key: item.id })), /* @__PURE__ */ _forkbook_global_react_default.createElement(Button, {
|
|
920
920
|
padding: "small",
|
|
921
921
|
variant: "ghost",
|
|
922
922
|
onClick: (e) => {
|
|
@@ -924,7 +924,7 @@ function init_settings() {
|
|
|
924
924
|
return onClose();
|
|
925
925
|
},
|
|
926
926
|
ariaLabel: "Close settings page"
|
|
927
|
-
}, /* @__PURE__ */
|
|
927
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(XIcon, null))),
|
|
928
928
|
selected,
|
|
929
929
|
onSelectionChange: changeTab
|
|
930
930
|
});
|
|
@@ -934,7 +934,7 @@ function init_settings() {
|
|
|
934
934
|
const api = useStorybookApi();
|
|
935
935
|
const state = useStorybookState();
|
|
936
936
|
const changeTab = (tab) => api.changeSettingsTab(tab);
|
|
937
|
-
return /* @__PURE__ */
|
|
937
|
+
return /* @__PURE__ */ _forkbook_global_react_default.createElement(Pages, {
|
|
938
938
|
enableWhatsNew: state.whatsNewData?.status === "SUCCESS",
|
|
939
939
|
enableShortcuts: state.ui.enableShortcuts,
|
|
940
940
|
changeTab,
|
|
@@ -946,10 +946,10 @@ function init_settings() {
|
|
|
946
946
|
url: "/settings/",
|
|
947
947
|
title: "Settings",
|
|
948
948
|
type: types.experimental_PAGE,
|
|
949
|
-
render: () => /* @__PURE__ */
|
|
949
|
+
render: () => /* @__PURE__ */ _forkbook_global_react_default.createElement(Route, {
|
|
950
950
|
path: "/settings/",
|
|
951
951
|
startsWith: true
|
|
952
|
-
}, /* @__PURE__ */
|
|
952
|
+
}, /* @__PURE__ */ _forkbook_global_react_default.createElement(SettingsPages, null))
|
|
953
953
|
};
|
|
954
954
|
})))();
|
|
955
955
|
}
|
|
@@ -958,11 +958,11 @@ function init_settings() {
|
|
|
958
958
|
var WS_DISCONNECTED_NOTIFICATION_ID, channel, ReactProvider, document$1, rootEl;
|
|
959
959
|
function init_runtime() {
|
|
960
960
|
return (init_runtime = __esmMin((() => {
|
|
961
|
-
|
|
961
|
+
init__forkbook_global_react();
|
|
962
962
|
init_channels();
|
|
963
963
|
init_core_events();
|
|
964
964
|
init_global();
|
|
965
|
-
|
|
965
|
+
init__forkbook_global_lucide_react();
|
|
966
966
|
init_manager_api();
|
|
967
967
|
init_theming();
|
|
968
968
|
init_ToolbarManager();
|
|
@@ -974,7 +974,7 @@ function init_runtime() {
|
|
|
974
974
|
addons.register(TOOLBAR_ID, () => addons.add(TOOLBAR_ID, {
|
|
975
975
|
title: TOOLBAR_ID,
|
|
976
976
|
type: types.TOOL,
|
|
977
|
-
render: () => /* @__PURE__ */
|
|
977
|
+
render: () => /* @__PURE__ */ _forkbook_global_react_default.createElement(ToolbarManager, null)
|
|
978
978
|
}));
|
|
979
979
|
addons.register("forkbook/root-page", (api) => {
|
|
980
980
|
const { mdxImportPath } = getRootPage();
|
|
@@ -1006,7 +1006,7 @@ function init_runtime() {
|
|
|
1006
1006
|
headline: "Connection lost",
|
|
1007
1007
|
subHeadline: "Please restart your Forkbook server and reload the page"
|
|
1008
1008
|
},
|
|
1009
|
-
icon: /* @__PURE__ */
|
|
1009
|
+
icon: /* @__PURE__ */ _forkbook_global_react_default.createElement(CircleXIcon, { color: color.negative }),
|
|
1010
1010
|
link: void 0
|
|
1011
1011
|
});
|
|
1012
1012
|
});
|
|
@@ -1015,7 +1015,7 @@ function init_runtime() {
|
|
|
1015
1015
|
({document: document$1} = global);
|
|
1016
1016
|
rootEl = document$1.getElementById("root");
|
|
1017
1017
|
setTimeout(() => {
|
|
1018
|
-
|
|
1018
|
+
renderForkbookUI(rootEl, new ReactProvider());
|
|
1019
1019
|
}, 0);
|
|
1020
1020
|
})))();
|
|
1021
1021
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime
|
|
1
|
+
import { t as init_globals_runtime } from "./_manager-chunks/globals-runtime--RDllwDw.js";
|
|
2
2
|
init_globals_runtime();
|
package/dist/manager/runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as init_runtime } from "./_manager-chunks/runtime-
|
|
1
|
+
import { t as init_runtime } from "./_manager-chunks/runtime-Dj8tizGo.js";
|
|
2
2
|
init_runtime();
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $c as
|
|
1
|
+
import { $c as useParameter, Ac as API_GroupEntry, Bc as ManagerConsumer, Cl as addons, Dc as API_ComposedRef, Ec as API_ComponentEntry, Fa as useServiceQuery, Fc as API_RootEntry, Gc as combineParameters, Hc as ManagerProvider, Ia as useServiceCommand, Ic as API_StoryEntry, Jc as useArgTypes, Kc as typesX, Lc as ActiveTabs, Mc as API_IndexHash, Na as getService, Nc as API_LeafEntry, Oc as API_DocsEntry, Pa as registerService, Pc as API_Refs, Qc as useGlobals, Rc as Combo, Sl as Addon_Type, Tc as API, Uc as ManagerProviderProps, Vc as ManagerContext, Wc as State, Xc as useChannel, Yc as useArgs, Zc as useGlobalTypes, _c as useStatusStore, _l as shortcutMatchesShortcut, ac as getTestProviderStoreById, al as isMacLike, bc as UniversalStore, bl as Options, cl as API_KeyCollection, dl as controlOrMetaSymbol, el as useSharedState, fl as eventMatchesShortcut, gc as universalStatusStore, gl as optionOrAltSymbol, hc as getStatusStoreByTypeId, hl as keyToSymbol, ic as fullTestProviderStore, il as _default, jc as API_HashEntry, kc as API_EventMap, ll as KeyboardEventLike, mc as fullStatusStore, ml as isShortcutTaken, nl as useStorybookApi, oc as universalTestProviderStore, ol as RequestResponseError, pl as eventToShortcut, qc as useAddonState, rc as Tag, rl as useStorybookState, sc as useTestProviderStore, sl as experimental_requestResponse, tl as useStoryPrepared, ul as controlOrMetaKey, vc as MockUniversalStore, vl as shortcutToAriaKeyshortcuts, xl as AddonStore, yc as useUniversalStore, yl as shortcutToHumanString, zc as Listener } from "../chunk-BmCH-L7_.js";
|
|
2
2
|
export { API, API_EventMap, type API_KeyCollection, ActiveTabs, type Addon_Type as Addon, type AddonStore, type Listener as ChannelListener, Combo, type API_ComponentEntry as ComponentEntry, type API_ComposedRef as ComposedRef, ManagerConsumer as Consumer, type API_DocsEntry as DocsEntry, type API_GroupEntry as GroupEntry, type API_HashEntry as HashEntry, type API_IndexHash as IndexHash, type API_IndexHash as StoriesHash, KeyboardEventLike, type API_LeafEntry as LeafEntry, ManagerContext, ManagerProviderProps, ManagerProvider as Provider, type API_Refs as Refs, RequestResponseError, type API_RootEntry as RootEntry, State, type Options as StoreOptions, type API_StoryEntry as StoryEntry, Tag, addons, combineParameters, controlOrMetaKey, controlOrMetaSymbol, eventMatchesShortcut, eventToShortcut, MockUniversalStore as experimental_MockUniversalStore, getStatusStoreByTypeId as experimental_getStatusStore, getTestProviderStoreById as experimental_getTestProviderStore, experimental_requestResponse, useStatusStore as experimental_useStatusStore, useTestProviderStore as experimental_useTestProviderStore, getService, UniversalStore as internal_UniversalStore, fullStatusStore as internal_fullStatusStore, fullTestProviderStore as internal_fullTestProviderStore, universalStatusStore as internal_universalStatusStore, universalTestProviderStore as internal_universalTestProviderStore, useUniversalStore as internal_useUniversalStore, isMacLike, isShortcutTaken, keyToSymbol, _default as merge, optionOrAltSymbol, registerService, shortcutMatchesShortcut, shortcutToAriaKeyshortcuts, shortcutToHumanString, typesX as types, useAddonState, useArgTypes, useArgs, useChannel, useGlobalTypes, useGlobals, useParameter, useServiceCommand, useServiceQuery, useSharedState, useStoryPrepared, useStorybookApi, useStorybookState };
|