@aussieljk/forkbook 0.0.1-8 → 0.0.1-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/server/template.ejs +13 -0
- package/dist/_browser-chunks/{Color-ZG7LKYDZ.js → Color-GEC6HRBY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-YZ36EZ4X.js → WithTooltip-CS3HPMGA.js} +6 -4
- package/dist/_browser-chunks/{chunk-MZVQEZOB.js → chunk-6QEYM2YW.js} +24 -24
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/{chunk-WVF42CP2.js → chunk-DNJ3OSLB.js} +46 -52
- package/dist/_browser-chunks/{chunk-E47B5255.js → chunk-IFADVEQE.js} +63 -543
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YYWKZ7O3.js → chunk-NTUHL5NS.js} +5 -2
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/{chunk-SK6S7ZXD.js → chunk-PFCGVFP6.js} +3 -3
- package/dist/_browser-chunks/{chunk-H4ZHAXN3.js → chunk-V5U45XXZ.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/{chunk-DAUHYZUB.js → chunk-XTQCLWVH.js} +255 -494
- package/dist/_browser-chunks/{chunk-SFMQDIN2.js → chunk-ZHKZKFY4.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-SRP2RPCT.js → attached-runtime-OI5IEIR7.js} +29 -29
- package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
- package/dist/_node-chunks/{chunk-A73YRJPA.js → chunk-2FWH7OUZ.js} +6 -6
- package/dist/_node-chunks/{chunk-DGA2Q7TE.js → chunk-2QPSOAHI.js} +6 -6
- package/dist/_node-chunks/{chunk-QQKVXB5Q.js → chunk-2T2S3YYS.js} +6 -6
- package/dist/_node-chunks/{chunk-7GLNBVQO.js → chunk-35JF5BS4.js} +6 -6
- package/dist/_node-chunks/{chunk-JB5Q4WGX.js → chunk-3I43FMZC.js} +7 -7
- package/dist/_node-chunks/{chunk-WF7RDUU7.js → chunk-3R57KO3F.js} +10 -10
- package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
- package/dist/_node-chunks/{chunk-TLB2LNUO.js → chunk-4HYKKRBM.js} +8 -8
- package/dist/_node-chunks/{chunk-YBRV5FIK.js → chunk-4W6HJYYC.js} +7 -7
- package/dist/_node-chunks/{chunk-VV6CPF3T.js → chunk-57BBVTHQ.js} +6 -6
- package/dist/_node-chunks/{chunk-MGFH4KGP.js → chunk-5MDE2KCS.js} +6 -6
- package/dist/_node-chunks/{chunk-TBLZESXE.js → chunk-5NCRCPYK.js} +6 -6
- package/dist/_node-chunks/{chunk-QEDRYWP7.js → chunk-6O6BHNDO.js} +6 -6
- package/dist/_node-chunks/chunk-7PZDRNVT.js +19 -0
- package/dist/_node-chunks/{chunk-M74NU6PU.js → chunk-7X5WP3UJ.js} +6 -6
- package/dist/_node-chunks/{chunk-DSWCMXKR.js → chunk-7XYURNT2.js} +10 -10
- package/dist/_node-chunks/{chunk-SNQKCFKN.js → chunk-AONRQAQP.js} +6 -6
- package/dist/_node-chunks/chunk-ASFRQHZH.js +20 -0
- package/dist/_node-chunks/{chunk-54WGE5OK.js → chunk-AUY6EZPA.js} +8 -8
- package/dist/_node-chunks/{chunk-I5Y7NDAM.js → chunk-BCFTMBAH.js} +7 -7
- package/dist/_node-chunks/{chunk-6GBMB2E4.js → chunk-BEHNZYWF.js} +8 -8
- package/dist/_node-chunks/chunk-BZNVRJ6H.js +25 -0
- package/dist/_node-chunks/chunk-CHLWJ5F5.js +20 -0
- package/dist/_node-chunks/{chunk-D4IL5V6A.js → chunk-CMDR42D7.js} +6 -6
- package/dist/_node-chunks/{chunk-LF7EC235.js → chunk-CP646EXE.js} +8 -8
- package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
- package/dist/_node-chunks/{chunk-UCBUYT7S.js → chunk-DMDIIGJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-DADJTKJT.js → chunk-DTZELAXT.js} +7 -7
- package/dist/_node-chunks/{chunk-6YDXCU32.js → chunk-ELMANXC3.js} +6 -6
- package/dist/_node-chunks/{chunk-VTLGMRU5.js → chunk-ELXK72IJ.js} +6 -6
- package/dist/_node-chunks/{chunk-GXSB54NU.js → chunk-F6RXCQF6.js} +6 -6
- package/dist/_node-chunks/{chunk-4T3WPVSQ.js → chunk-FKQHIPUA.js} +6 -6
- package/dist/_node-chunks/{chunk-2WPUJ7UM.js → chunk-FPWDVE2V.js} +7 -7
- package/dist/_node-chunks/{chunk-HNMHTOKI.js → chunk-FVJLKXNS.js} +23 -23
- package/dist/_node-chunks/{chunk-ICGRYYV7.js → chunk-GABGLW7D.js} +7 -7
- package/dist/_node-chunks/{chunk-BPMXWGDX.js → chunk-GOZDHTIK.js} +6 -6
- package/dist/_node-chunks/{chunk-3NXJBXBF.js → chunk-GPSR4MZL.js} +14 -14
- package/dist/_node-chunks/{chunk-T62LXT34.js → chunk-GZ2YC6US.js} +6 -6
- package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
- package/dist/_node-chunks/{chunk-3KY2GA5X.js → chunk-I6ANUF4J.js} +7 -7
- package/dist/_node-chunks/{chunk-CZDEJ7DD.js → chunk-ICIP5FB5.js} +9 -9
- package/dist/_node-chunks/{chunk-CL4T6DGA.js → chunk-IK35TZRH.js} +7 -7
- package/dist/_node-chunks/{chunk-CHPKBTH7.js → chunk-IOJ6NYLD.js} +7 -7
- package/dist/_node-chunks/{chunk-77YIWZPS.js → chunk-IWEZ5KSJ.js} +7 -7
- package/dist/_node-chunks/{chunk-UBEILYLL.js → chunk-JOOZKSBS.js} +7 -7
- package/dist/_node-chunks/{chunk-I26RWAW3.js → chunk-JXVJAA3U.js} +6 -6
- package/dist/_node-chunks/{chunk-GUKZDREX.js → chunk-K6VX4GUH.js} +8 -8
- package/dist/_node-chunks/{chunk-VPGX2PAB.js → chunk-L7US6VLX.js} +6 -6
- package/dist/_node-chunks/{chunk-JCLP42A7.js → chunk-LKMHU2P3.js} +7 -7
- package/dist/_node-chunks/{chunk-IVU4D6LF.js → chunk-LMWS7NDR.js} +7 -7
- package/dist/_node-chunks/{chunk-M3F5R2JO.js → chunk-LPDII6WJ.js} +6 -6
- package/dist/_node-chunks/{chunk-RR3WLRNQ.js → chunk-MBJ2CUVU.js} +7 -7
- package/dist/_node-chunks/{chunk-KQBTXUT5.js → chunk-MGXABKCL.js} +6 -6
- package/dist/_node-chunks/{chunk-BY65FGKD.js → chunk-MHLTWQGQ.js} +8 -8
- package/dist/_node-chunks/{chunk-7YBOQWWR.js → chunk-MMMKY3DA.js} +8 -8
- package/dist/_node-chunks/{chunk-NV6HM53D.js → chunk-MXNT3HBF.js} +6 -6
- package/dist/_node-chunks/{chunk-LPLXO4HE.js → chunk-O7WMRMVJ.js} +6 -6
- package/dist/_node-chunks/{chunk-BLAPFOIX.js → chunk-OPLD7FOE.js} +6 -6
- package/dist/_node-chunks/{chunk-XTCOGCTP.js → chunk-P4CWOISW.js} +7 -7
- package/dist/_node-chunks/{chunk-IFF53QVX.js → chunk-POXIO453.js} +7 -7
- package/dist/_node-chunks/{chunk-4U5ZQZJ4.js → chunk-PRTTCG3N.js} +6 -6
- package/dist/_node-chunks/{chunk-27R37QFW.js → chunk-QE3NKWUX.js} +7 -7
- package/dist/_node-chunks/{chunk-LYMYDMEK.js → chunk-QMERCCIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-4CPTSXU6.js → chunk-QVF2NJK4.js} +10 -10
- package/dist/_node-chunks/{chunk-Y2HWZ262.js → chunk-R33EXC6B.js} +12 -12
- package/dist/_node-chunks/{chunk-ZKS2H56J.js → chunk-R3BJJGEG.js} +6 -6
- package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
- package/dist/_node-chunks/{chunk-DVSKRIH3.js → chunk-RJV4QWRP.js} +7 -7
- package/dist/_node-chunks/{chunk-3KKSPEAE.js → chunk-RXEMA2TT.js} +6 -6
- package/dist/_node-chunks/{chunk-XGMO4SW2.js → chunk-TKOUTJWX.js} +6 -6
- package/dist/_node-chunks/{chunk-LSKOVF6F.js → chunk-TRZWEDUE.js} +6 -6
- package/dist/_node-chunks/{chunk-2ZB3ZVDY.js → chunk-U3BEYEZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-HF6FRLS6.js → chunk-UI6NW64P.js} +19 -19
- package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
- package/dist/_node-chunks/{chunk-II4SIIJW.js → chunk-VF6725VX.js} +7 -7
- package/dist/_node-chunks/{chunk-YMVL55QY.js → chunk-VJJTMS2R.js} +9 -9
- package/dist/_node-chunks/{chunk-62PEOH4P.js → chunk-VQBXHU2T.js} +8 -8
- package/dist/_node-chunks/{chunk-5BQKMZYJ.js → chunk-VZ3PQJKF.js} +23 -23
- package/dist/_node-chunks/{chunk-G6UTEYYQ.js → chunk-WI6FDUOM.js} +8 -8
- package/dist/_node-chunks/{chunk-4QYNOSOA.js → chunk-WTS7HYGM.js} +7 -7
- package/dist/_node-chunks/{chunk-VQ2NW4OR.js → chunk-WXMIR2F2.js} +8 -8
- package/dist/_node-chunks/{chunk-G3J2VAY4.js → chunk-XA2UQNP3.js} +10 -10
- package/dist/_node-chunks/{chunk-VTVQ5TKB.js → chunk-Y2FWEOIW.js} +8 -8
- package/dist/_node-chunks/{chunk-526SOV2Y.js → chunk-Y5JLYH6J.js} +6 -6
- package/dist/_node-chunks/{chunk-X5IJ42Q2.js → chunk-YELBVH4K.js} +7 -7
- package/dist/_node-chunks/{chunk-QQ7GEJNY.js → chunk-YK5N35SR.js} +9 -9
- package/dist/_node-chunks/{chunk-UEWCGYSE.js → chunk-YLXOGJX6.js} +21 -9
- package/dist/_node-chunks/{chunk-OZBNKCKM.js → chunk-YSVJU5VZ.js} +6 -6
- package/dist/_node-chunks/{chunk-F2XPZVCK.js → chunk-ZFTEHWNT.js} +8 -8
- package/dist/_node-chunks/{chunk-6DZY675E.js → chunk-ZLBDSC7U.js} +9 -9
- package/dist/_node-chunks/{chunk-6DCYMQX2.js → chunk-ZMI35R7E.js} +45 -34
- package/dist/_node-chunks/{chunk-QVIC3UDL.js → chunk-ZOE2QQSS.js} +8 -8
- package/dist/_node-chunks/{chunk-OFZX45ZR.js → chunk-ZST2SPBX.js} +6 -6
- package/dist/_node-chunks/{chunk-IAYHJZOR.js → chunk-ZUYRTHXN.js} +6 -6
- package/dist/_node-chunks/dist-FABQFQ76.js +27 -0
- package/dist/_node-chunks/dist-ZUXZVI3A.js +16 -0
- package/dist/_node-chunks/{local-runtime-Y6OH2SFM.js → local-runtime-LKT5I6NG.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-R6GNGQP2.js → mdx-plugin-2YIBFVCV.js} +13 -13
- package/dist/_node-chunks/{monorepo-R2CLQIWG.js → monorepo-HROZW452.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-MUIOTVJR.js} +11 -11
- package/dist/_node-chunks/optimized-tests-EK5H7MUQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-5VCD6ED3.js → pattern-copy-play-VQNMME5S.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-SKSQEDUP.js → rehype-external-links-WXD3NVWK.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-27WNXM7U.js → rehype-slug-LWBEJBWR.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-PDGCGDW4.js → relaxed-limits-MKV6OE3S.js} +11 -11
- package/dist/_node-chunks/{run-BD52SWQC.js → run-A4A2HQDT.js} +17 -17
- package/dist/_node-chunks/{run-IKBDOUY2.js → run-UBPF7ZUG.js} +15 -15
- package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
- package/dist/_node-chunks/{setup-7ECNMG4A.js → setup-SMMCS2Q5.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-J4YODMMP.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +20 -24
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +20 -26
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +4 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +4 -2
- package/dist/addon-links/react/index.js +3 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +3 -3
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-themes/manager.js +3 -3
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +9 -9
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-CJY2njs4.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
- package/dist/{chunk-pFH9P91a.d.ts → chunk-DXsI731B.d.ts} +1 -1
- package/dist/{chunk-DktrsDd6.d.ts → chunk-PdOIKm0H.d.ts} +35 -2
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +35 -35
- package/dist/components/index.d.ts +38 -1
- package/dist/components/index.js +593 -518
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +282 -173
- package/dist/core-server/presets/common-manager.js +491 -117
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +51 -43
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.d.ts +3 -1
- package/dist/csf-tools/index.js +14 -12
- package/dist/manager/_manager-chunks/{globals-runtime-z143vedu.js → globals-runtime-B1q30If4.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-4fCHtNC6.js → globals-runtime-BY3epqww.js} +413 -2
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bpc_ftuT.js → globals-runtime-Bs75QQ_I.js} +3 -1192
- package/dist/manager/_manager-chunks/{globals-runtime-D82vqOGq.js → globals-runtime-BweHuXkK.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BKW-4ztO.js → globals-runtime-C4GdZS7_.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DB8fVA5g.js → globals-runtime-CA8AuIRT.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DZN_3ZLm.js → globals-runtime-CnfHMZV0.js} +153 -27
- package/dist/manager/_manager-chunks/{globals-runtime-WhJXr5R1.js → globals-runtime-DgHSAUIB.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-kmPSyf3j.js → globals-runtime-DvV_TF3-.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DgUeynuu.js → globals-runtime-FcobHVj9.js} +475 -370
- package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CIcNS9TG.js → globals-runtime-dh5vgpgm.js} +238 -232
- package/dist/manager/_manager-chunks/{globals-runtime-DOPUchia.js → globals-runtime-wjkxyMn0.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DEHcqyTM.js → runtime-BSkBrZa7.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-C-s1miBr.js → runtime-Bdda1ODD.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DuptfEhw.js → runtime-Bp_XtatN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BrwmuSZ1.js → runtime-D-bkVc6v.js} +31 -30
- package/dist/manager/_manager-chunks/{runtime-CHQZzIX6.js → runtime-DP_7wWTN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Dtpc5s3G.js → runtime-DlX-MKi1.js} +335 -327
- package/dist/manager/_manager-chunks/{runtime-B_U-7omv.js → runtime-TytMkKcC.js} +340 -241
- package/dist/manager/_manager-chunks/{runtime-BrlctLSK.js → runtime-jOBCBZ66.js} +100 -63
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +34 -9
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +10 -10
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +11 -11
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.d.ts +69 -1
- package/dist/router/index.js +48 -8
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -43
- package/dist/theming/index.js +13 -9
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/_node-chunks/builder-manager-V7M6SFEM.js +0 -1623
- package/dist/_node-chunks/chunk-27KT3BJI.js +0 -25
- package/dist/_node-chunks/chunk-4XNKH2BY.js +0 -18
- package/dist/_node-chunks/chunk-CT3L2NXZ.js +0 -20
- package/dist/_node-chunks/chunk-NORBEBNM.js +0 -19
- package/dist/_node-chunks/chunk-SBNQ6YGM.js +0 -11
- package/dist/_node-chunks/chunk-YHWOGAFM.js +0 -20
- package/dist/_node-chunks/dist-GJ53PFWF.js +0 -27
- package/dist/_node-chunks/dist-TLMACGH6.js +0 -16
- package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +0 -22
- package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +0 -20
- package/dist/_node-chunks/session-id-K7PM5ZGL.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +0 -413
- package/dist/manager/_manager-chunks/globals-runtime-BO0pfoqL.js +0 -3414
- package/dist/manager/_manager-chunks/globals-runtime-BZKYJxYC.js +0 -2093
- package/dist/manager/_manager-chunks/globals-runtime-CTyYXvUm.js +0 -41
- package/dist/manager/_manager-chunks/globals-runtime-Dbt08xWQ.js +0 -1960
|
@@ -1,12 +1,103 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin } from "./runtime-BdGkqNEt.js";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { A as
|
|
4
|
-
import {
|
|
2
|
+
import { $ as Form, $n as DOCS_PAGE_IN_VIEW, $t as useStorybookApi, A as Route, An as LayoutGridIcon, Ar as useLayoutEffect, At as init_theming, B as logger, Bn as SettingsIcon, Bt as getService, C as init_client, Cn as FlaskConicalIcon, Cr as memo, Ct as useCopyButton, D as Location, Dn as GlobeIcon, Dr as useEffect, Dt as cssVarsToString, E as Link, En as GitForkIcon, Et as color, F as toRouterUrl, Fn as PanelLeftIcon, Ft as addons, G as Button, Gn as UnfoldVerticalIcon, H as AbstractToolbar, Hn as SquareArrowOutUpRightIcon, Ht as internal_fullStatusStore, I as useNavigate, In as RefreshCwIcon, J as DocumentWrapper, Jn as ZapIcon, Jt as useChannel, K as Card, Kn as WandSparklesIcon, Kt as shortcutToHumanString, Ln as RotateCcwIcon, Lt as experimental_getStatusStore, M as fromUrlPath, Mn as LockIcon, Mr as useReducer, Mt as useTheme, Nn as LucideProvider, Nr as useRef, Nt as Consumer, O as LocationProvider, Or as useId, Ot as ensure, P as init_router, Pn as MenuIcon, Pr as useState, Pt as Provider, Q as ForkbookLogo, Qt as useServiceQuery, Rn as Rows2Icon, Rt as experimental_useStatusStore, S as createRoot, Sn as FileTextIcon, St as init_components, T as HOME_PATH, Tn as FolderIcon, Tr as useContext, Tt as ThemeProvider, U as ActionList, Un as Trash2Icon, Ut as internal_fullTestProviderStore, V as once, Vn as Share2Icon, Vt as init_manager_api, W as Badge, Wn as TriangleAlertIcon, Wt as merge, X as ErrorFormatter, Xn as init__storybook_global_lucide_react, Y as EmptyTabContent, Yn as ZoomInIcon, Z as ForkbookIcon, _ as init_trapTabKey, _n as CopyIcon, _r as createContext, _t as ToggleButton, a as init_types$1, an as CheckCheckIcon, ar as STORIES_COLLAPSE_ALL, at as ScrollArea, b as ProviderDoesNotExtendBaseProviderError, br as forwardRef, cn as ChevronLeftIcon, cr as init_core_events, ct as Spaced, dt as StatelessTabPanel, en as useStorybookState, er as FORCE_REMOUNT, et as IconButton, fn as CirclePlayIcon, fr as Component, ft as StatelessTabsView, g as getTabbables, gn as CommandIcon, h as init_TooltipNote, hn as CodeIcon, ht as TabPanel, i as REVIEW_STATUS_TYPE_ID, in as BrushCleaningIcon, ir as SHARE_ISOLATE_MODE, it as PopoverProvider, jn as ListFilterIcon, jr as useMemo, jt as themeToCssVars, k as Match, kn as InfoIcon, kr as useImperativeHandle, kt as globalCss, ln as ChevronRightIcon, lt as StatelessTab, m as TooltipNote, mn as ClockIcon, mr as _storybook_global_react_default, mt as TabList, n as CHANGE_DETECTION_STATUS_TYPE_ID, nn as ArrowLeftRightIcon, nr as PREVIEW_BUILDER_PROGRESS, nt as Loader$1, o as TooltipProvider, on as CheckIcon, or as STORIES_EXPAND_ALL, ot as Select, pn as CircleXIcon, pr as Fragment, pt as StoryGrid, q as Collapsible, qn as XIcon, qt as types, rn as BookmarkIcon, rr as SET_CURRENT_STORY, rt as Modal, s as init_TooltipProvider, sn as ChevronDownIcon, sr as core_events_default, st as Separator, t as Addon_TypesEnum, tn as ArrowLeftIcon, tr as PRELOAD_ENTRIES, tt as Link$1, un as ChevronUpIcon, ut as StatelessTabList, v as trapTabKey, vn as EllipsisIcon, w as ALL_STORIES_PATH, wn as FoldVerticalIcon, wr as useCallback, wt as useTabsState, x as init_manager_errors$1, xr as init__storybook_global_react, xt as Zoom$1, y as init_create, yn as ExpandIcon, yt as TooltipLinkList, z as init_client_logger, zn as SearchIcon, zt as experimental_useTestProviderStore } from "./runtime-DlX-MKi1.js";
|
|
3
|
+
import { A as init_story_grid, B as global, C as init_useCopyButton, D as isReviewCollectionStoryRoute, E as init_routes, F as parseIframeResizeMessage, M as hasFixedViewportDimensions, N as iframeResizeDimensionsEqual, O as isReviewSummaryPath, P as init_iframe_resize, T as REVIEW_COLLECTION_QUERY_PARAM, V as init_global, _ as init_tags$1, a as UNIVERSAL_STATUS_STORE_OPTIONS, b as init_events, c as init_status_store, d as StorybookError, f as init_storybook_error, g as USER_TAG_FILTER, h as BUILT_IN_FILTERS, i as init_universal_store, j as IFRAME_RESIZE_REQUEST_CONTEXT, k as groupEntriesByComponent, l as statusValueDescription, m as init_story_index_filters, n as useUniversalStore, o as countStatusesByValue, p as getActiveFilterCount, r as UniversalStore, s as createStatusStore, t as init_use_universal_store_manager, u as statusValueShortName, v as REVIEW_EVENTS, w as useCopyButton$1, y as REVIEW_NAMESPACE } from "./runtime-jOBCBZ66.js";
|
|
4
|
+
import { n as useViewport, t as init_useViewport } from "./runtime-Bdda1ODD.js";
|
|
5
|
+
import { c as init_useTransitionState, d as init_index_module, f as q, l as useTransitionState, s as require_memoizerific, t as require_store2, u as W } from "./runtime-Bp_XtatN.js";
|
|
5
6
|
import { t as require_fuse } from "./runtime-P663lpsR.js";
|
|
6
|
-
import { a as debounce, c as init_clsx, i as throttle, n as init_downshift_esm, r as init_throttle, s as clsx, t as Downshift } from "./runtime-
|
|
7
|
-
import { n as useViewport, t as init_useViewport } from "./runtime-C-s1miBr.js";
|
|
7
|
+
import { a as debounce, c as init_clsx, i as throttle, n as init_downshift_esm, r as init_throttle, s as clsx, t as Downshift } from "./runtime-BSkBrZa7.js";
|
|
8
8
|
import { n as init_core_events$1, t as STORY_PREPARED } from "./runtime-5o_11Jae.js";
|
|
9
|
-
import { C as getLink, D as scrollIntoView, E as isAncestor, O as searchItem, S as getHoistedComponents, T as init_tree, _ as statusPriority, a as init_provider, b as getAncestorIds, c as matchesModifiers, d as getGroupStatus, f as getMostCriticalStatusValue, g as shouldShowChangeStatus, h as init_status$1, i as Provider$1, l as getChangeDetectionStatus, m as getStatus, n as init_settings, o as init_keybinding, p as getSidebarVisibleStatus, r as settingsPageAddon, s as matchesKeyCode, u as getGroupDualStatus, v as createId, w as getStateType, x as getDescendantIds, y as cycle } from "./runtime-
|
|
9
|
+
import { C as getLink, D as scrollIntoView, E as isAncestor, O as searchItem, S as getHoistedComponents, T as init_tree, _ as statusPriority, a as init_provider, b as getAncestorIds, c as matchesModifiers, d as getGroupStatus, f as getMostCriticalStatusValue, g as shouldShowChangeStatus, h as init_status$1, i as Provider$1, l as getChangeDetectionStatus, m as getStatus, n as init_settings, o as init_keybinding, p as getSidebarVisibleStatus, r as settingsPageAddon, s as matchesKeyCode, u as getGroupDualStatus, v as createId, w as getStateType, x as getDescendantIds, y as cycle } from "./runtime-D-bkVc6v.js";
|
|
10
|
+
//#region src/manager/components/home/HomePages.tsx
|
|
11
|
+
var rootPage, useComponents, AutoHeightFrame, HomePage, AllStoriesPage, homePageAddon, allStoriesPageAddon;
|
|
12
|
+
function init_HomePages() {
|
|
13
|
+
return (init_HomePages = __esmMin((() => {
|
|
14
|
+
init__storybook_global_react();
|
|
15
|
+
init_components();
|
|
16
|
+
init_router();
|
|
17
|
+
init_manager_api();
|
|
18
|
+
init_iframe_resize();
|
|
19
|
+
init_global();
|
|
20
|
+
init_story_grid();
|
|
21
|
+
rootPage = () => global.FORKBOOK_ROOT ?? {
|
|
22
|
+
enabled: false,
|
|
23
|
+
mode: "above"
|
|
24
|
+
};
|
|
25
|
+
useComponents = () => {
|
|
26
|
+
const { internal_index } = useStorybookState();
|
|
27
|
+
return useMemo(() => groupEntriesByComponent(Object.values(internal_index?.entries ?? {}), { hiddenImportPath: rootPage().mdxImportPath }), [internal_index]);
|
|
28
|
+
};
|
|
29
|
+
AutoHeightFrame = ({ src, title }) => {
|
|
30
|
+
const ref = useRef(null);
|
|
31
|
+
const [height, setHeight] = useState(200);
|
|
32
|
+
useEffect(() => {
|
|
33
|
+
const onMessage = (event) => {
|
|
34
|
+
if (event.source !== ref.current?.contentWindow) return;
|
|
35
|
+
const size = parseIframeResizeMessage(event.data);
|
|
36
|
+
if (size) setHeight(size.height);
|
|
37
|
+
};
|
|
38
|
+
window.addEventListener("message", onMessage);
|
|
39
|
+
return () => window.removeEventListener("message", onMessage);
|
|
40
|
+
}, []);
|
|
41
|
+
return /* @__PURE__ */ _storybook_global_react_default.createElement("iframe", {
|
|
42
|
+
ref,
|
|
43
|
+
src,
|
|
44
|
+
title,
|
|
45
|
+
loading: "lazy",
|
|
46
|
+
style: {
|
|
47
|
+
width: "100%",
|
|
48
|
+
height,
|
|
49
|
+
border: 0
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
HomePage = () => {
|
|
54
|
+
const api = useStorybookApi();
|
|
55
|
+
const components = useComponents();
|
|
56
|
+
return /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
|
|
57
|
+
vertical: true,
|
|
58
|
+
horizontal: false
|
|
59
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { style: { padding: 24 } }, /* @__PURE__ */ _storybook_global_react_default.createElement("h1", { style: { marginTop: 0 } }, "Components"), /* @__PURE__ */ _storybook_global_react_default.createElement(StoryGrid, {
|
|
60
|
+
components,
|
|
61
|
+
getHref: (c) => `/${c.viewMode}/${c.entryId}`,
|
|
62
|
+
onSelect: (c) => api.selectStory(c.entryId, void 0, { viewMode: c.viewMode }),
|
|
63
|
+
getPreviewSrc: (id) => api.getStoryHrefs(id, { embed: true }).previewHref
|
|
64
|
+
})));
|
|
65
|
+
};
|
|
66
|
+
AllStoriesPage = () => {
|
|
67
|
+
const api = useStorybookApi();
|
|
68
|
+
const components = useComponents();
|
|
69
|
+
return /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
|
|
70
|
+
vertical: true,
|
|
71
|
+
horizontal: false
|
|
72
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { style: { padding: 24 } }, components.map((c) => /* @__PURE__ */ _storybook_global_react_default.createElement("section", { key: c.title }, /* @__PURE__ */ _storybook_global_react_default.createElement("h2", null, c.title), c.storyIds.map((id) => /* @__PURE__ */ _storybook_global_react_default.createElement(AutoHeightFrame, {
|
|
73
|
+
key: id,
|
|
74
|
+
title: id,
|
|
75
|
+
src: api.getStoryHrefs(id, { embed: true }).previewHref
|
|
76
|
+
}))))));
|
|
77
|
+
};
|
|
78
|
+
homePageAddon = {
|
|
79
|
+
id: "home",
|
|
80
|
+
url: HOME_PATH,
|
|
81
|
+
title: "Home",
|
|
82
|
+
type: types.experimental_PAGE,
|
|
83
|
+
render: () => /* @__PURE__ */ _storybook_global_react_default.createElement(Route, {
|
|
84
|
+
path: HOME_PATH,
|
|
85
|
+
startsWith: true
|
|
86
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(HomePage, null))
|
|
87
|
+
};
|
|
88
|
+
allStoriesPageAddon = {
|
|
89
|
+
id: "all-stories",
|
|
90
|
+
url: ALL_STORIES_PATH,
|
|
91
|
+
title: "All stories",
|
|
92
|
+
type: types.experimental_PAGE,
|
|
93
|
+
render: () => /* @__PURE__ */ _storybook_global_react_default.createElement(Route, {
|
|
94
|
+
path: ALL_STORIES_PATH,
|
|
95
|
+
startsWith: true
|
|
96
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(AllStoriesPage, null))
|
|
97
|
+
};
|
|
98
|
+
})))();
|
|
99
|
+
}
|
|
100
|
+
//#endregion
|
|
10
101
|
//#region src/manager/components/error-boundary/ManagerErrorBoundary.module.css
|
|
11
102
|
var id$52, ManagerErrorBoundary_module_default;
|
|
12
103
|
function init_ManagerErrorBoundary_module() {
|
|
@@ -19,15 +110,15 @@ function init_ManagerErrorBoundary_module() {
|
|
|
19
110
|
document.head.appendChild(style);
|
|
20
111
|
}
|
|
21
112
|
ManagerErrorBoundary_module_default = {
|
|
113
|
+
"heading": "fb-gU56mG-heading",
|
|
114
|
+
"info": "fb-gU56mG-info",
|
|
22
115
|
"errorMessage": "fb-gU56mG-errorMessage",
|
|
23
|
-
"collapseToggle": "fb-gU56mG-collapseToggle",
|
|
24
116
|
"errorStack": "fb-gU56mG-errorStack",
|
|
25
117
|
"container": "fb-gU56mG-container",
|
|
118
|
+
"errorWrapper": "fb-gU56mG-errorWrapper",
|
|
119
|
+
"collapseToggle": "fb-gU56mG-collapseToggle",
|
|
26
120
|
"subHeading": "fb-gU56mG-subHeading",
|
|
27
|
-
"
|
|
28
|
-
"heading": "fb-gU56mG-heading",
|
|
29
|
-
"content": "fb-gU56mG-content",
|
|
30
|
-
"errorWrapper": "fb-gU56mG-errorWrapper"
|
|
121
|
+
"content": "fb-gU56mG-content"
|
|
31
122
|
};
|
|
32
123
|
})))();
|
|
33
124
|
}
|
|
@@ -38,7 +129,7 @@ function init_ManagerErrorBoundary() {
|
|
|
38
129
|
return (init_ManagerErrorBoundary = __esmMin((() => {
|
|
39
130
|
init__storybook_global_react();
|
|
40
131
|
init_components();
|
|
41
|
-
|
|
132
|
+
init__storybook_global_lucide_react();
|
|
42
133
|
init_ManagerErrorBoundary_module();
|
|
43
134
|
ErrorFallback = ({ error, errorInfo }) => {
|
|
44
135
|
return /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
|
|
@@ -47,12 +138,12 @@ function init_ManagerErrorBoundary() {
|
|
|
47
138
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: ManagerErrorBoundary_module_default.content }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: ManagerErrorBoundary_module_default.info }, /* @__PURE__ */ _storybook_global_react_default.createElement("h1", { className: ManagerErrorBoundary_module_default.heading }, /* @__PURE__ */ _storybook_global_react_default.createElement(Badge, { status: "negative" }, "Error"), /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, "Something went wrong")), /* @__PURE__ */ _storybook_global_react_default.createElement("p", { className: ManagerErrorBoundary_module_default.subHeading }, "The Forkbook Manager UI encountered an error. This is usually caused by custom addon code or configuration. Please check your browser console for more details. Try clearing browser storage if the issue persists."), /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
|
|
48
139
|
asChild: true,
|
|
49
140
|
size: "medium"
|
|
50
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: window.location.origin + window.location.pathname.replace("iframe.html", "") }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
141
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: window.location.origin + window.location.pathname.replace("iframe.html", "") }, /* @__PURE__ */ _storybook_global_react_default.createElement(RefreshCwIcon, { size: 14 }), "Reload Forkbook"))), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: ManagerErrorBoundary_module_default.errorWrapper }, /* @__PURE__ */ _storybook_global_react_default.createElement("pre", { className: ManagerErrorBoundary_module_default.errorMessage }, error.message || "Unknown error"), /* @__PURE__ */ _storybook_global_react_default.createElement(Collapsible, {
|
|
51
142
|
collapsed: true,
|
|
52
143
|
summary: ({ isCollapsed, toggleCollapsed }) => /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
|
|
53
144
|
className: ManagerErrorBoundary_module_default.collapseToggle,
|
|
54
145
|
onClick: toggleCollapsed
|
|
55
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
146
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(UnfoldVerticalIcon, null), isCollapsed ? "Expand error" : "Collapse error")
|
|
56
147
|
}, (error.stack || errorInfo?.componentStack) && /* @__PURE__ */ _storybook_global_react_default.createElement("pre", { className: ManagerErrorBoundary_module_default.errorStack }, error.stack, errorInfo?.componentStack && `\n\nComponent Stack:${errorInfo.componentStack}`)))));
|
|
57
148
|
};
|
|
58
149
|
ManagerErrorBoundary = class extends Component {
|
|
@@ -186,16 +277,16 @@ function init_NotificationItem_module() {
|
|
|
186
277
|
document.head.appendChild(style);
|
|
187
278
|
}
|
|
188
279
|
NotificationItem_module_default = {
|
|
280
|
+
"interactive": "fb-pzl0Oq-interactive",
|
|
189
281
|
"dismissButton": "fb-pzl0Oq-dismissButton",
|
|
190
|
-
"
|
|
282
|
+
"spacer": "fb-pzl0Oq-spacer",
|
|
283
|
+
"slideIn": "fb-pzl0Oq-slideIn",
|
|
284
|
+
"notification": "fb-pzl0Oq-notification",
|
|
191
285
|
"grow": "fb-pzl0Oq-grow",
|
|
192
286
|
"iconWrapper": "fb-pzl0Oq-iconWrapper",
|
|
193
287
|
"headline": "fb-pzl0Oq-headline",
|
|
194
288
|
"subHeadline": "fb-pzl0Oq-subHeadline",
|
|
195
|
-
"
|
|
196
|
-
"interactive": "fb-pzl0Oq-interactive",
|
|
197
|
-
"spacer": "fb-pzl0Oq-spacer",
|
|
198
|
-
"slideIn": "fb-pzl0Oq-slideIn"
|
|
289
|
+
"textWrapper": "fb-pzl0Oq-textWrapper"
|
|
199
290
|
};
|
|
200
291
|
})))();
|
|
201
292
|
}
|
|
@@ -207,7 +298,7 @@ function init_NotificationItem() {
|
|
|
207
298
|
init__storybook_global_react();
|
|
208
299
|
init_components();
|
|
209
300
|
init_router();
|
|
210
|
-
|
|
301
|
+
init__storybook_global_lucide_react();
|
|
211
302
|
init_clsx();
|
|
212
303
|
init_NotificationItem_module();
|
|
213
304
|
ItemContent = ({ icon, content: { headline, subHeadline } }) => /* @__PURE__ */ _storybook_global_react_default.createElement(_storybook_global_react_default.Fragment, null, !icon || /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: NotificationItem_module_default.iconWrapper }, icon), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: NotificationItem_module_default.textWrapper }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
|
|
@@ -224,7 +315,7 @@ function init_NotificationItem() {
|
|
|
224
315
|
e.stopPropagation();
|
|
225
316
|
onDismiss();
|
|
226
317
|
}
|
|
227
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
318
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(CircleXIcon, { size: 12 }));
|
|
228
319
|
NotificationItem = ({ notification: { content, duration, link, onClear, onClick, id, icon }, onDismissNotification, zIndex }) => {
|
|
229
320
|
const onTimeout = useCallback(() => {
|
|
230
321
|
onDismissNotification(id);
|
|
@@ -467,7 +558,7 @@ function init_UpgradeBlock() {
|
|
|
467
558
|
return (init_UpgradeBlock = __esmMin((() => {
|
|
468
559
|
init__storybook_global_react();
|
|
469
560
|
init_components();
|
|
470
|
-
|
|
561
|
+
init__storybook_global_lucide_react();
|
|
471
562
|
init_manager_api();
|
|
472
563
|
init_useCopyButton();
|
|
473
564
|
init_UpgradeBlock_module();
|
|
@@ -528,13 +619,13 @@ function init_MobileAbout_module() {
|
|
|
528
619
|
document.head.appendChild(style);
|
|
529
620
|
}
|
|
530
621
|
MobileAbout_module_default = {
|
|
622
|
+
"bottomText": "fb-MH3dKG-bottomText",
|
|
531
623
|
"container": "fb-MH3dKG-container",
|
|
532
|
-
"closeButton": "fb-MH3dKG-closeButton",
|
|
533
|
-
"slideToRight": "fb-MH3dKG-slideToRight",
|
|
534
624
|
"slideFromRight": "fb-MH3dKG-slideFromRight",
|
|
625
|
+
"closeButton": "fb-MH3dKG-closeButton",
|
|
535
626
|
"innerArea": "fb-MH3dKG-innerArea",
|
|
536
|
-
"
|
|
537
|
-
"
|
|
627
|
+
"slideToRight": "fb-MH3dKG-slideToRight",
|
|
628
|
+
"linkList": "fb-MH3dKG-linkList"
|
|
538
629
|
};
|
|
539
630
|
})))();
|
|
540
631
|
}
|
|
@@ -545,7 +636,7 @@ function init_MobileAbout() {
|
|
|
545
636
|
return (init_MobileAbout = __esmMin((() => {
|
|
546
637
|
init__storybook_global_react();
|
|
547
638
|
init_components();
|
|
548
|
-
|
|
639
|
+
init__storybook_global_lucide_react();
|
|
549
640
|
init_useTransitionState();
|
|
550
641
|
init_useFocusTrap();
|
|
551
642
|
init_LayoutProvider();
|
|
@@ -571,8 +662,7 @@ function init_MobileAbout() {
|
|
|
571
662
|
style: { animationDuration: `300ms` }
|
|
572
663
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
|
|
573
664
|
vertical: true,
|
|
574
|
-
offset: 2
|
|
575
|
-
scrollbarSize: 3
|
|
665
|
+
offset: 2
|
|
576
666
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: MobileAbout_module_default.innerArea }, /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
|
|
577
667
|
className: MobileAbout_module_default.closeButton,
|
|
578
668
|
onClick: () => setMobileAboutOpen(false),
|
|
@@ -584,7 +674,7 @@ function init_MobileAbout() {
|
|
|
584
674
|
href: "https://github.com/aussieljk/forkbook",
|
|
585
675
|
target: "_blank",
|
|
586
676
|
rel: "noopener noreferrer"
|
|
587
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
677
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(GitForkIcon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, "GitHub")), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(Share2Icon, null)))), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Item, null, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Link, {
|
|
588
678
|
ariaLabel: false,
|
|
589
679
|
href: "https://forkbook.ljk.dev/docs/get-started/install",
|
|
590
680
|
target: "_blank",
|
|
@@ -593,7 +683,7 @@ function init_MobileAbout() {
|
|
|
593
683
|
width: 14,
|
|
594
684
|
height: 14,
|
|
595
685
|
"aria-hidden": "true"
|
|
596
|
-
})), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, "Documentation")), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
686
|
+
})), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, "Documentation")), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(Share2Icon, null))))), /* @__PURE__ */ _storybook_global_react_default.createElement(UpgradeBlock, null), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: MobileAbout_module_default.bottomText }, "Open source software maintained by", " ", /* @__PURE__ */ _storybook_global_react_default.createElement(Link$1, {
|
|
597
687
|
href: "https://chromatic.com",
|
|
598
688
|
target: "_blank",
|
|
599
689
|
rel: "noopener noreferrer"
|
|
@@ -648,9 +738,9 @@ function init_MobileNavigation_module() {
|
|
|
648
738
|
}
|
|
649
739
|
MobileNavigation_module_default = {
|
|
650
740
|
"text": "fb-PhMFUG-text",
|
|
651
|
-
"
|
|
741
|
+
"bottomBar": "fb-PhMFUG-bottomBar",
|
|
652
742
|
"container": "fb-PhMFUG-container",
|
|
653
|
-
"
|
|
743
|
+
"bottomBarButton": "fb-PhMFUG-bottomBarButton"
|
|
654
744
|
};
|
|
655
745
|
})))();
|
|
656
746
|
}
|
|
@@ -668,7 +758,7 @@ function init_MobileNavigation() {
|
|
|
668
758
|
return (init_MobileNavigation = __esmMin((() => {
|
|
669
759
|
init__storybook_global_react();
|
|
670
760
|
init_components();
|
|
671
|
-
|
|
761
|
+
init__storybook_global_lucide_react();
|
|
672
762
|
init_manager_api();
|
|
673
763
|
init_clsx();
|
|
674
764
|
init_useLandmark();
|
|
@@ -731,7 +821,7 @@ function init_MobileNavigation() {
|
|
|
731
821
|
"aria-expanded": isMobileMenuOpen,
|
|
732
822
|
"aria-controls": isMobileMenuOpen ? "storybook-mobile-menu" : void 0,
|
|
733
823
|
shortcut: navShortcut
|
|
734
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
824
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(MenuIcon, null), /* @__PURE__ */ _storybook_global_react_default.createElement("p", { className: MobileNavigation_module_default.text }, fullStoryName)), /* @__PURE__ */ _storybook_global_react_default.createElement("span", {
|
|
735
825
|
className: "fb-sr-only",
|
|
736
826
|
"aria-current": "page"
|
|
737
827
|
}, "Current page: ", fullStoryAriaLabel), showPanel && /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
|
|
@@ -742,7 +832,7 @@ function init_MobileNavigation() {
|
|
|
742
832
|
ariaLabel: "Open addon panel",
|
|
743
833
|
"aria-expanded": isMobilePanelOpen,
|
|
744
834
|
"aria-controls": isMobilePanelOpen ? "storybook-mobile-addon-panel" : void 0
|
|
745
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
835
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(Rows2Icon, null)));
|
|
746
836
|
};
|
|
747
837
|
MobileNavigation = ({ menu, panel, showMenu = true, showPanel, className, ...props }) => {
|
|
748
838
|
const { isMobilePanelOpen, setMobilePanelOpen } = useLayout();
|
|
@@ -796,8 +886,8 @@ function init_MainAreaContainer_module() {
|
|
|
796
886
|
document.head.appendChild(style);
|
|
797
887
|
}
|
|
798
888
|
MainAreaContainer_module_default = {
|
|
799
|
-
"
|
|
800
|
-
"
|
|
889
|
+
"pages": "fb-3Yi2-W-pages",
|
|
890
|
+
"main": "fb-3Yi2-W-main"
|
|
801
891
|
};
|
|
802
892
|
})))();
|
|
803
893
|
}
|
|
@@ -1266,9 +1356,9 @@ function init_Layout_module() {
|
|
|
1266
1356
|
}
|
|
1267
1357
|
Layout_module_default = {
|
|
1268
1358
|
"contentOverlayCell": "fb-Ss6d0q-contentOverlayCell",
|
|
1359
|
+
"mobileNavigation": "fb-Ss6d0q-mobileNavigation",
|
|
1269
1360
|
"dragShield": "fb-Ss6d0q-dragShield",
|
|
1270
|
-
"layout": "fb-Ss6d0q-layout"
|
|
1271
|
-
"mobileNavigation": "fb-Ss6d0q-mobileNavigation"
|
|
1361
|
+
"layout": "fb-Ss6d0q-layout"
|
|
1272
1362
|
};
|
|
1273
1363
|
})))();
|
|
1274
1364
|
}
|
|
@@ -1522,12 +1612,12 @@ function init_AttentionBanner_module() {
|
|
|
1522
1612
|
document.head.appendChild(style);
|
|
1523
1613
|
}
|
|
1524
1614
|
AttentionBanner_module_default = {
|
|
1615
|
+
"region": "fb-sFw6JG-region",
|
|
1525
1616
|
"prompt": "fb-sFw6JG-prompt",
|
|
1526
|
-
"message": "fb-sFw6JG-message",
|
|
1527
|
-
"bar": "fb-sFw6JG-bar",
|
|
1528
1617
|
"popoverContent": "fb-sFw6JG-popoverContent",
|
|
1529
|
-
"
|
|
1530
|
-
"title": "fb-sFw6JG-title"
|
|
1618
|
+
"message": "fb-sFw6JG-message",
|
|
1619
|
+
"title": "fb-sFw6JG-title",
|
|
1620
|
+
"bar": "fb-sFw6JG-bar"
|
|
1531
1621
|
};
|
|
1532
1622
|
})))();
|
|
1533
1623
|
}
|
|
@@ -1538,7 +1628,7 @@ function init_AttentionBanner() {
|
|
|
1538
1628
|
return (init_AttentionBanner = __esmMin((() => {
|
|
1539
1629
|
init__storybook_global_react();
|
|
1540
1630
|
init_components();
|
|
1541
|
-
|
|
1631
|
+
init__storybook_global_lucide_react();
|
|
1542
1632
|
init_useLandmark();
|
|
1543
1633
|
init_CopyButton();
|
|
1544
1634
|
init_AttentionBanner_module();
|
|
@@ -1873,23 +1963,23 @@ function init_CollectionGrid_module() {
|
|
|
1873
1963
|
document.head.appendChild(style);
|
|
1874
1964
|
}
|
|
1875
1965
|
CollectionGrid_module_default = {
|
|
1876
|
-
"
|
|
1966
|
+
"gridContainer": "fb-tDhv6a-gridContainer",
|
|
1967
|
+
"reviewAllFrame": "fb-tDhv6a-reviewAllFrame",
|
|
1968
|
+
"review-grid": "fb-tDhv6a-review-grid",
|
|
1969
|
+
"reviewAllShell": "fb-tDhv6a-reviewAllShell",
|
|
1970
|
+
"actionBar": "fb-tDhv6a-actionBar",
|
|
1971
|
+
"previewLoading": "fb-tDhv6a-previewLoading",
|
|
1972
|
+
"reviewAllCell": "fb-tDhv6a-reviewAllCell",
|
|
1973
|
+
"label": "fb-tDhv6a-label",
|
|
1877
1974
|
"frame": "fb-tDhv6a-frame",
|
|
1878
1975
|
"grid": "fb-tDhv6a-grid",
|
|
1879
|
-
"
|
|
1976
|
+
"preview-frame": "fb-tDhv6a-preview-frame",
|
|
1880
1977
|
"labelStory": "fb-tDhv6a-labelStory",
|
|
1881
|
-
"reviewAllShell": "fb-tDhv6a-reviewAllShell",
|
|
1882
|
-
"previewLoading": "fb-tDhv6a-previewLoading",
|
|
1883
1978
|
"preview": "fb-tDhv6a-preview",
|
|
1979
|
+
"labelSeparator": "fb-tDhv6a-labelSeparator",
|
|
1884
1980
|
"cell": "fb-tDhv6a-cell",
|
|
1885
|
-
"label": "fb-tDhv6a-label",
|
|
1886
|
-
"gridContainer": "fb-tDhv6a-gridContainer",
|
|
1887
|
-
"labelComponent": "fb-tDhv6a-labelComponent",
|
|
1888
|
-
"reviewAllFrame": "fb-tDhv6a-reviewAllFrame",
|
|
1889
1981
|
"frameShell": "fb-tDhv6a-frameShell",
|
|
1890
|
-
"
|
|
1891
|
-
"review-grid": "fb-tDhv6a-review-grid",
|
|
1892
|
-
"actionBar": "fb-tDhv6a-actionBar"
|
|
1982
|
+
"labelComponent": "fb-tDhv6a-labelComponent"
|
|
1893
1983
|
};
|
|
1894
1984
|
})))();
|
|
1895
1985
|
}
|
|
@@ -2045,16 +2135,16 @@ function init_ReviewHeader_module() {
|
|
|
2045
2135
|
document.head.appendChild(style);
|
|
2046
2136
|
}
|
|
2047
2137
|
ReviewHeader_module_default = {
|
|
2048
|
-
"
|
|
2138
|
+
"root": "fb-hay9xa-root",
|
|
2139
|
+
"main": "fb-hay9xa-main",
|
|
2140
|
+
"textBlock": "fb-hay9xa-textBlock",
|
|
2049
2141
|
"actions": "fb-hay9xa-actions",
|
|
2050
|
-
"
|
|
2142
|
+
"secondRow": "fb-hay9xa-secondRow",
|
|
2143
|
+
"topRow": "fb-hay9xa-topRow",
|
|
2144
|
+
"leading": "fb-hay9xa-leading",
|
|
2051
2145
|
"title": "fb-hay9xa-title",
|
|
2052
|
-
"main": "fb-hay9xa-main",
|
|
2053
2146
|
"review-header": "fb-hay9xa-review-header",
|
|
2054
|
-
"
|
|
2055
|
-
"secondRow": "fb-hay9xa-secondRow",
|
|
2056
|
-
"textBlock": "fb-hay9xa-textBlock",
|
|
2057
|
-
"root": "fb-hay9xa-root"
|
|
2147
|
+
"subtitle": "fb-hay9xa-subtitle"
|
|
2058
2148
|
};
|
|
2059
2149
|
})))();
|
|
2060
2150
|
}
|
|
@@ -2090,23 +2180,31 @@ function init_ReviewHeader() {
|
|
|
2090
2180
|
}
|
|
2091
2181
|
//#endregion
|
|
2092
2182
|
//#region src/manager/components/review/review-navigation.ts
|
|
2093
|
-
var prettifyComponentId, buildReviewChangesSummaryHref, buildSummaryBackHref, REVIEW_SUMMARY_BACK_ATTR, buildReviewStoryTarget, buildReviewStoryHref, parseReviewStoryHref, isReviewReturnSearch, parseStoryIdFromPath, parseCollectionIndex, resolveActiveNavEntry, resolveNavIndex;
|
|
2183
|
+
var prettifyComponentId, toRelativeHref, buildReviewChangesSummaryHref, buildSummaryBackHref, REVIEW_SUMMARY_BACK_ATTR, buildReviewStoryTarget, buildReviewStoryHref, parseManagerLocation, parseReviewStoryHref, isReviewReturnSearch, parseStoryIdFromPath, parseCollectionIndex, resolveActiveNavEntry, resolveNavIndex;
|
|
2094
2184
|
function init_review_navigation() {
|
|
2095
2185
|
return (init_review_navigation = __esmMin((() => {
|
|
2186
|
+
init_router();
|
|
2096
2187
|
init_routes();
|
|
2097
2188
|
init_constants();
|
|
2098
2189
|
prettifyComponentId = (componentId) => componentId.split(/[-/]/).filter(Boolean).map((part) => part.charAt(0).toUpperCase() + part.slice(1)).join(" ");
|
|
2099
|
-
|
|
2100
|
-
|
|
2190
|
+
toRelativeHref = (urlPath) => `.${urlPath}`;
|
|
2191
|
+
buildReviewChangesSummaryHref = () => toRelativeHref(REVIEW_CHANGES_URL);
|
|
2192
|
+
buildSummaryBackHref = (returnSearch) => returnSearch ? toRelativeHref(returnSearch) : "./";
|
|
2101
2193
|
REVIEW_SUMMARY_BACK_ATTR = "data-review-summary-back";
|
|
2102
2194
|
buildReviewStoryTarget = (entry) => `/story/${entry.storyId}&${REVIEW_COLLECTION_QUERY_PARAM}=${entry.collectionIndex}`;
|
|
2103
|
-
buildReviewStoryHref = (entry) =>
|
|
2195
|
+
buildReviewStoryHref = (entry) => toRelativeHref(toRouterUrl(buildReviewStoryTarget(entry)));
|
|
2196
|
+
parseManagerLocation = (location) => {
|
|
2197
|
+
const url = new URL(location.replace(/^\./, ""), "http://forkbook.local");
|
|
2198
|
+
const params = url.searchParams;
|
|
2199
|
+
return {
|
|
2200
|
+
path: params.get("path") ?? fromUrlPath(url.pathname),
|
|
2201
|
+
params
|
|
2202
|
+
};
|
|
2203
|
+
};
|
|
2104
2204
|
parseReviewStoryHref = (href) => {
|
|
2105
|
-
if (!href.startsWith("
|
|
2106
|
-
const
|
|
2107
|
-
|
|
2108
|
-
const path = params.get("path");
|
|
2109
|
-
if (!path?.startsWith("/story/")) return null;
|
|
2205
|
+
if (!href.startsWith("./")) return null;
|
|
2206
|
+
const { path, params } = parseManagerLocation(href);
|
|
2207
|
+
if (!path.startsWith("/story/")) return null;
|
|
2110
2208
|
const storyId = path.slice(7);
|
|
2111
2209
|
const collectionIndex = parseCollectionIndex(params.get("collection") ?? void 0);
|
|
2112
2210
|
if (!storyId || collectionIndex === void 0) return null;
|
|
@@ -2116,9 +2214,7 @@ function init_review_navigation() {
|
|
|
2116
2214
|
};
|
|
2117
2215
|
};
|
|
2118
2216
|
isReviewReturnSearch = (search) => {
|
|
2119
|
-
const
|
|
2120
|
-
const params = new URLSearchParams(normalized);
|
|
2121
|
-
const path = params.get("path") ?? "";
|
|
2217
|
+
const { path, params } = parseManagerLocation(search);
|
|
2122
2218
|
if (isReviewSummaryPath(path) || path.startsWith("/review/")) return true;
|
|
2123
2219
|
return path.startsWith("/story/") && params.has("collection");
|
|
2124
2220
|
};
|
|
@@ -2156,22 +2252,22 @@ function init_SummaryScreen_module() {
|
|
|
2156
2252
|
document.head.appendChild(style);
|
|
2157
2253
|
}
|
|
2158
2254
|
SummaryScreen_module_default = {
|
|
2159
|
-
"listScroll": "fb-uES55a-listScroll",
|
|
2160
|
-
"cardCount": "fb-uES55a-cardCount",
|
|
2161
|
-
"cardRationale": "fb-uES55a-cardRationale",
|
|
2162
|
-
"empty": "fb-uES55a-empty",
|
|
2163
2255
|
"summaryContent": "fb-uES55a-summaryContent",
|
|
2164
|
-
"
|
|
2256
|
+
"page": "fb-uES55a-page",
|
|
2257
|
+
"toggleChevronIcon": "fb-uES55a-toggleChevronIcon",
|
|
2165
2258
|
"markdownWrapper": "fb-uES55a-markdownWrapper",
|
|
2166
|
-
"cardControls": "fb-uES55a-cardControls",
|
|
2167
|
-
"main": "fb-uES55a-main",
|
|
2168
2259
|
"summaryCard": "fb-uES55a-summaryCard",
|
|
2169
|
-
"
|
|
2170
|
-
"summaryHeading": "fb-uES55a-summaryHeading",
|
|
2171
|
-
"toggleChevronIcon": "fb-uES55a-toggleChevronIcon",
|
|
2260
|
+
"listScroll": "fb-uES55a-listScroll",
|
|
2172
2261
|
"footer": "fb-uES55a-footer",
|
|
2262
|
+
"main": "fb-uES55a-main",
|
|
2263
|
+
"cardControls": "fb-uES55a-cardControls",
|
|
2264
|
+
"cardHead": "fb-uES55a-cardHead",
|
|
2265
|
+
"summaryHeading": "fb-uES55a-summaryHeading",
|
|
2266
|
+
"cardCount": "fb-uES55a-cardCount",
|
|
2173
2267
|
"emptyMessage": "fb-uES55a-emptyMessage",
|
|
2174
|
-
"
|
|
2268
|
+
"cardTitle": "fb-uES55a-cardTitle",
|
|
2269
|
+
"empty": "fb-uES55a-empty",
|
|
2270
|
+
"cardRationale": "fb-uES55a-cardRationale"
|
|
2175
2271
|
};
|
|
2176
2272
|
})))();
|
|
2177
2273
|
}
|
|
@@ -2183,7 +2279,7 @@ function init_SummaryScreen() {
|
|
|
2183
2279
|
init__storybook_global_react();
|
|
2184
2280
|
init_components();
|
|
2185
2281
|
init_clsx();
|
|
2186
|
-
|
|
2282
|
+
init__storybook_global_lucide_react();
|
|
2187
2283
|
init_useLandmark();
|
|
2188
2284
|
init_AttentionBanner();
|
|
2189
2285
|
init_CollectionGrid();
|
|
@@ -2301,7 +2397,7 @@ function init_SummaryScreen() {
|
|
|
2301
2397
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement("a", {
|
|
2302
2398
|
href: buildSummaryBackHref(returnSearch),
|
|
2303
2399
|
[REVIEW_SUMMARY_BACK_ATTR]: ""
|
|
2304
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
2400
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronLeftIcon, null), /* @__PURE__ */ _storybook_global_react_default.createElement(ForkbookIcon, {
|
|
2305
2401
|
width: 14,
|
|
2306
2402
|
height: 14,
|
|
2307
2403
|
"aria-hidden": "true"
|
|
@@ -2320,7 +2416,7 @@ function init_SummaryScreen() {
|
|
|
2320
2416
|
}), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: SummaryScreen_module_default.listScroll }, /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, { vertical: true }, /* @__PURE__ */ _storybook_global_react_default.createElement("main", { className: SummaryScreen_module_default.main }, /* @__PURE__ */ _storybook_global_react_default.createElement(SummaryLandmark, null, /* @__PURE__ */ _storybook_global_react_default.createElement(Card, {
|
|
2321
2417
|
className: SummaryScreen_module_default.summaryCard,
|
|
2322
2418
|
color: "agentic"
|
|
2323
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
2419
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(WandSparklesIcon, null), /* @__PURE__ */ _storybook_global_react_default.createElement(DocumentWrapper, { className: clsx(SummaryScreen_module_default.markdownWrapper, SummaryScreen_module_default.summaryContent) }, /* @__PURE__ */ _storybook_global_react_default.createElement("h2", { className: SummaryScreen_module_default.summaryHeading }, "Summary:"), " ", /* @__PURE__ */ _storybook_global_react_default.createElement(Markdown, null, state.description)))), visibleCollections.length === 0 ? /* @__PURE__ */ _storybook_global_react_default.createElement("p", { className: SummaryScreen_module_default.emptyMessage }, showNewOnly ? "No new stories found." : "No collections found.") : visibleCollections.map(({ collection, index, storyIds }) => {
|
|
2324
2420
|
const isExpanded = expandedCollections.has(index);
|
|
2325
2421
|
const titleId = `review-collection-title-${index}`;
|
|
2326
2422
|
return /* @__PURE__ */ _storybook_global_react_default.createElement(CollectionLandmark, {
|
|
@@ -2347,7 +2443,7 @@ function init_SummaryScreen() {
|
|
|
2347
2443
|
event.stopPropagation();
|
|
2348
2444
|
toggleCollection(index);
|
|
2349
2445
|
}
|
|
2350
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
2446
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronDownIcon, {
|
|
2351
2447
|
className: SummaryScreen_module_default.toggleChevronIcon,
|
|
2352
2448
|
style: { transform: `rotate(${isExpanded ? -180 : 0}deg)` }
|
|
2353
2449
|
}))))
|
|
@@ -2429,7 +2525,7 @@ function init_useReviewNavigationInterceptor() {
|
|
|
2429
2525
|
init__storybook_global_react();
|
|
2430
2526
|
init_review_context();
|
|
2431
2527
|
init_review_navigation();
|
|
2432
|
-
isReviewStoryHref = (href) => href.
|
|
2528
|
+
isReviewStoryHref = (href) => href.includes(`collection=`) && parseReviewStoryHref(href) !== null;
|
|
2433
2529
|
isReviewSummaryHref = (href) => href === buildReviewChangesSummaryHref();
|
|
2434
2530
|
useReviewNavigationInterceptor = () => {
|
|
2435
2531
|
const { openSummary, openEntry, leaveReview } = useReviewContext();
|
|
@@ -2538,7 +2634,7 @@ var ReviewNotification;
|
|
|
2538
2634
|
function init_ReviewNotification() {
|
|
2539
2635
|
return (init_ReviewNotification = __esmMin((() => {
|
|
2540
2636
|
init__storybook_global_react();
|
|
2541
|
-
|
|
2637
|
+
init__storybook_global_lucide_react();
|
|
2542
2638
|
init_manager_api();
|
|
2543
2639
|
init_constants();
|
|
2544
2640
|
init_review_context();
|
|
@@ -2578,7 +2674,7 @@ function init_ReviewNotification() {
|
|
|
2578
2674
|
headline: "New review available",
|
|
2579
2675
|
subHeadline: review.title ?? "Open the curated review to spot-check your changes"
|
|
2580
2676
|
},
|
|
2581
|
-
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
2677
|
+
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(WandSparklesIcon, null),
|
|
2582
2678
|
onClick: ({ onDismiss }) => {
|
|
2583
2679
|
handleNotificationClick(createdAt);
|
|
2584
2680
|
onDismiss();
|
|
@@ -2717,7 +2813,7 @@ function init_review_actions() {
|
|
|
2717
2813
|
await exitReviewMode(api, mode);
|
|
2718
2814
|
if (visitCreatedAt !== void 0) acceptReviewNotification(api, visitCreatedAt);
|
|
2719
2815
|
if (returnSearch && !isReviewReturnSearch(returnSearch)) {
|
|
2720
|
-
navigate(returnSearch
|
|
2816
|
+
navigate(returnSearch, { plain: true });
|
|
2721
2817
|
return;
|
|
2722
2818
|
}
|
|
2723
2819
|
api.selectFirstStory();
|
|
@@ -2743,7 +2839,7 @@ function init_review_actions() {
|
|
|
2743
2839
|
acceptReviewNotification(api, pending.createdAt);
|
|
2744
2840
|
sessionStore.write(AUTO_ENTERED_SESSION_KEY, autoEnteredLatchValue(pending.createdAt));
|
|
2745
2841
|
enterReviewMode(api, filters, mode);
|
|
2746
|
-
navigate(
|
|
2842
|
+
navigate(REVIEW_CHANGES_URL);
|
|
2747
2843
|
};
|
|
2748
2844
|
})))();
|
|
2749
2845
|
}
|
|
@@ -3017,11 +3113,13 @@ function init_ReviewProvider() {
|
|
|
3017
3113
|
useEffect(() => {
|
|
3018
3114
|
if (isInReviewMode) return;
|
|
3019
3115
|
if (viewMode !== "story" && viewMode !== "docs") return;
|
|
3020
|
-
|
|
3021
|
-
|
|
3116
|
+
if (!location) return;
|
|
3117
|
+
const returnLocation = `${location.pathname}${location.search}`;
|
|
3118
|
+
if (!isReviewReturnSearch(returnLocation)) sessionStore.write(PRE_REVIEW_RETURN_KEY, returnLocation);
|
|
3022
3119
|
}, [
|
|
3023
3120
|
isInReviewMode,
|
|
3024
3121
|
viewMode,
|
|
3122
|
+
location?.pathname,
|
|
3025
3123
|
location?.search
|
|
3026
3124
|
]);
|
|
3027
3125
|
const value = useMemo(() => ({
|
|
@@ -3072,8 +3170,8 @@ function init_Panel_module() {
|
|
|
3072
3170
|
document.head.appendChild(style);
|
|
3073
3171
|
}
|
|
3074
3172
|
Panel_module_default = {
|
|
3075
|
-
"
|
|
3076
|
-
"
|
|
3173
|
+
"aside": "fb-iv9UAW-aside",
|
|
3174
|
+
"actions": "fb-iv9UAW-actions"
|
|
3077
3175
|
};
|
|
3078
3176
|
})))();
|
|
3079
3177
|
}
|
|
@@ -3087,7 +3185,7 @@ function init_Panel() {
|
|
|
3087
3185
|
return (init_Panel = __esmMin((() => {
|
|
3088
3186
|
init__storybook_global_react();
|
|
3089
3187
|
init_components();
|
|
3090
|
-
|
|
3188
|
+
init__storybook_global_lucide_react();
|
|
3091
3189
|
init_layout();
|
|
3092
3190
|
init_useLandmark();
|
|
3093
3191
|
init_LayoutProvider();
|
|
@@ -3141,7 +3239,7 @@ function init_Panel() {
|
|
|
3141
3239
|
ariaLabel: panelPosition === "bottom" ? "Move addon panel to right" : "Move addon panel to bottom",
|
|
3142
3240
|
ariaDescription: "Changes the location of the addon panel to the bottom or right of the screen, but does not have any effect on its content.",
|
|
3143
3241
|
shortcut: shortcuts.panelPosition
|
|
3144
|
-
}, panelPosition === "bottom" ? /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
3242
|
+
}, panelPosition === "bottom" ? /* @__PURE__ */ _storybook_global_react_default.createElement(PanelLeftIcon, null) : /* @__PURE__ */ _storybook_global_react_default.createElement(Rows2Icon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
|
|
3145
3243
|
key: "visibility",
|
|
3146
3244
|
padding: "small",
|
|
3147
3245
|
variant: "ghost",
|
|
@@ -3308,13 +3406,13 @@ function init_ReviewToolbarHeader_module() {
|
|
|
3308
3406
|
document.head.appendChild(style);
|
|
3309
3407
|
}
|
|
3310
3408
|
ReviewToolbarHeader_module_default = {
|
|
3311
|
-
"
|
|
3312
|
-
"subtitleText": "fb-raX0Wq-subtitleText",
|
|
3313
|
-
"progressBar": "fb-raX0Wq-progressBar",
|
|
3409
|
+
"counter": "fb-raX0Wq-counter",
|
|
3314
3410
|
"progressFill": "fb-raX0Wq-progressFill",
|
|
3315
3411
|
"headerWrap": "fb-raX0Wq-headerWrap",
|
|
3316
|
-
"
|
|
3317
|
-
"subtitleStrong": "fb-raX0Wq-subtitleStrong"
|
|
3412
|
+
"progressBar": "fb-raX0Wq-progressBar",
|
|
3413
|
+
"subtitleStrong": "fb-raX0Wq-subtitleStrong",
|
|
3414
|
+
"root": "fb-raX0Wq-root",
|
|
3415
|
+
"subtitleText": "fb-raX0Wq-subtitleText"
|
|
3318
3416
|
};
|
|
3319
3417
|
})))();
|
|
3320
3418
|
}
|
|
@@ -3325,7 +3423,7 @@ function init_ReviewToolbarHeader() {
|
|
|
3325
3423
|
return (init_ReviewToolbarHeader = __esmMin((() => {
|
|
3326
3424
|
init__storybook_global_react();
|
|
3327
3425
|
init_components();
|
|
3328
|
-
|
|
3426
|
+
init__storybook_global_lucide_react();
|
|
3329
3427
|
init_review_navigation();
|
|
3330
3428
|
init_review_context();
|
|
3331
3429
|
init_AttentionBanner();
|
|
@@ -3383,7 +3481,7 @@ function init_ReviewToolbarHeader() {
|
|
|
3383
3481
|
padding: "small",
|
|
3384
3482
|
ariaLabel: "Back to review",
|
|
3385
3483
|
asChild: true
|
|
3386
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: buildReviewChangesSummaryHref() }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
3484
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement("a", { href: buildReviewChangesSummaryHref() }, /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronLeftIcon, null), /* @__PURE__ */ _storybook_global_react_default.createElement(WandSparklesIcon, null))),
|
|
3387
3485
|
title: collectionTitle,
|
|
3388
3486
|
subtitle,
|
|
3389
3487
|
actions: /* @__PURE__ */ _storybook_global_react_default.createElement(_storybook_global_react_default.Fragment, null, /* @__PURE__ */ _storybook_global_react_default.createElement(ReviewCollectionPicker, {
|
|
@@ -3393,11 +3491,11 @@ function init_ReviewToolbarHeader() {
|
|
|
3393
3491
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement("span", { className: ReviewToolbarHeader_module_default.counter }, activeIndex + 1, "/", totalStories)), /* @__PURE__ */ _storybook_global_react_default.createElement(NavButton, {
|
|
3394
3492
|
entry: previousEntry,
|
|
3395
3493
|
ariaLabel: "Previous story",
|
|
3396
|
-
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
3494
|
+
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronLeftIcon, null)
|
|
3397
3495
|
}), /* @__PURE__ */ _storybook_global_react_default.createElement(NavButton, {
|
|
3398
3496
|
entry: nextEntry,
|
|
3399
3497
|
ariaLabel: "Next story",
|
|
3400
|
-
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
3498
|
+
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronRightIcon, null)
|
|
3401
3499
|
}))
|
|
3402
3500
|
})));
|
|
3403
3501
|
};
|
|
@@ -3573,12 +3671,12 @@ function init_Viewport_module() {
|
|
|
3573
3671
|
}
|
|
3574
3672
|
Viewport_module_default = {
|
|
3575
3673
|
"viewportControls": "fb-uE_brW-viewportControls",
|
|
3576
|
-
"dragHandle": "fb-uE_brW-dragHandle",
|
|
3577
|
-
"scrollEdge": "fb-uE_brW-scrollEdge",
|
|
3578
3674
|
"sizeInput": "fb-uE_brW-sizeInput",
|
|
3675
|
+
"viewportDimensions": "fb-uE_brW-viewportDimensions",
|
|
3579
3676
|
"viewportWrapper": "fb-uE_brW-viewportWrapper",
|
|
3580
3677
|
"frameWrapper": "fb-uE_brW-frameWrapper",
|
|
3581
|
-
"
|
|
3678
|
+
"dragHandle": "fb-uE_brW-dragHandle",
|
|
3679
|
+
"scrollEdge": "fb-uE_brW-scrollEdge"
|
|
3582
3680
|
};
|
|
3583
3681
|
})))();
|
|
3584
3682
|
}
|
|
@@ -3589,7 +3687,7 @@ function init_Viewport() {
|
|
|
3589
3687
|
return (init_Viewport = __esmMin((() => {
|
|
3590
3688
|
init__storybook_global_react();
|
|
3591
3689
|
init_components();
|
|
3592
|
-
|
|
3690
|
+
init__storybook_global_lucide_react();
|
|
3593
3691
|
init_useViewport();
|
|
3594
3692
|
init_Iframe();
|
|
3595
3693
|
init_NumericInput();
|
|
@@ -3697,7 +3795,7 @@ function init_Viewport() {
|
|
|
3697
3795
|
padding: "small",
|
|
3698
3796
|
ariaLabel: "Rotate viewport",
|
|
3699
3797
|
onClick: rotate
|
|
3700
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
3798
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ArrowLeftRightIcon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement(NumericInput, {
|
|
3701
3799
|
className: Viewport_module_default.sizeInput,
|
|
3702
3800
|
"aria-label": "Viewport height",
|
|
3703
3801
|
"data-size-input": "height",
|
|
@@ -3717,7 +3815,7 @@ function init_Viewport() {
|
|
|
3717
3815
|
padding: "small",
|
|
3718
3816
|
ariaLabel: "Restore viewport",
|
|
3719
3817
|
onClick: () => select(lastSelectedOption)
|
|
3720
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
3818
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(RotateCcwIcon, null)))), /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
|
|
3721
3819
|
className: Viewport_module_default.frameWrapper,
|
|
3722
3820
|
"data-default": isDefault || void 0,
|
|
3723
3821
|
"data-dragging": dragging,
|
|
@@ -3871,13 +3969,13 @@ function init_Toolbar_module() {
|
|
|
3871
3969
|
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$30}"]`)) {
|
|
3872
3970
|
const style = document.createElement("style");
|
|
3873
3971
|
style.setAttribute("data-fb-css", id$30);
|
|
3874
|
-
style.textContent = ".fb-dGdzzG-section{color:var(--fb-bar-text-color);width:100%;box-shadow:var(--fb-app-border-color) 0 -1px 0 0 inset;background:var(--fb-bar-bg);
|
|
3972
|
+
style.textContent = ".fb-dGdzzG-section{color:var(--fb-bar-text-color);width:100%;box-shadow:var(--fb-app-border-color) 0 -1px 0 0 inset;background:var(--fb-bar-bg);z-index:4;flex-shrink:0;align-items:center;display:flex;position:relative;overflow:auto hidden}.fb-dGdzzG-toolbar{flex-wrap:nowrap;flex:1 0;justify-content:space-between;gap:30px;height:40px;margin-inline:10px;display:flex}.fb-dGdzzG-toolGroup{white-space:nowrap;flex-basis:auto;align-items:center;gap:6px;display:flex}";
|
|
3875
3973
|
document.head.appendChild(style);
|
|
3876
3974
|
}
|
|
3877
3975
|
Toolbar_module_default = {
|
|
3976
|
+
"toolbar": "fb-dGdzzG-toolbar",
|
|
3878
3977
|
"toolGroup": "fb-dGdzzG-toolGroup",
|
|
3879
|
-
"section": "fb-dGdzzG-section"
|
|
3880
|
-
"toolbar": "fb-dGdzzG-toolbar"
|
|
3978
|
+
"section": "fb-dGdzzG-section"
|
|
3881
3979
|
};
|
|
3882
3980
|
})))();
|
|
3883
3981
|
}
|
|
@@ -3906,7 +4004,7 @@ function init_Toolbar() {
|
|
|
3906
4004
|
init__storybook_global_react();
|
|
3907
4005
|
init_components();
|
|
3908
4006
|
init_types$1();
|
|
3909
|
-
|
|
4007
|
+
init__storybook_global_lucide_react();
|
|
3910
4008
|
init_clsx();
|
|
3911
4009
|
init_manager_api();
|
|
3912
4010
|
init_useLandmark();
|
|
@@ -3937,7 +4035,7 @@ function init_Toolbar() {
|
|
|
3937
4035
|
onClick: () => toggle(),
|
|
3938
4036
|
ariaLabel: isFullscreen ? "Exit full screen" : "Enter full screen",
|
|
3939
4037
|
shortcut
|
|
3940
|
-
}, isFullscreen ? /* @__PURE__ */ _storybook_global_react_default.createElement(XIcon, null) : /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4038
|
+
}, isFullscreen ? /* @__PURE__ */ _storybook_global_react_default.createElement(XIcon, null) : /* @__PURE__ */ _storybook_global_react_default.createElement(UnfoldVerticalIcon, null)));
|
|
3941
4039
|
}
|
|
3942
4040
|
};
|
|
3943
4041
|
ToolbarComp = _storybook_global_react_default.memo(function ToolbarComp({ isShown, tools, toolsExtra }) {
|
|
@@ -4054,8 +4152,8 @@ function init_zoom_module() {
|
|
|
4054
4152
|
document.head.appendChild(style);
|
|
4055
4153
|
}
|
|
4056
4154
|
zoom_module_default = {
|
|
4057
|
-
"
|
|
4058
|
-
"
|
|
4155
|
+
"zoomInput": "fb-Xnk7LG-zoomInput",
|
|
4156
|
+
"zoomButton": "fb-Xnk7LG-zoomButton"
|
|
4059
4157
|
};
|
|
4060
4158
|
})))();
|
|
4061
4159
|
}
|
|
@@ -4066,7 +4164,7 @@ function init_zoom() {
|
|
|
4066
4164
|
return (init_zoom = __esmMin((() => {
|
|
4067
4165
|
init__storybook_global_react();
|
|
4068
4166
|
init_components();
|
|
4069
|
-
|
|
4167
|
+
init__storybook_global_lucide_react();
|
|
4070
4168
|
init_manager_api();
|
|
4071
4169
|
init_Shortcut();
|
|
4072
4170
|
init_NumericInput();
|
|
@@ -4124,7 +4222,7 @@ function init_zoom() {
|
|
|
4124
4222
|
padding: "small",
|
|
4125
4223
|
readOnly: true,
|
|
4126
4224
|
"aria-hidden": true
|
|
4127
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4225
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ZoomInIcon, null)),
|
|
4128
4226
|
after: /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Button, {
|
|
4129
4227
|
size: "small",
|
|
4130
4228
|
padding: "small",
|
|
@@ -4132,7 +4230,7 @@ function init_zoom() {
|
|
|
4132
4230
|
onClick: () => zoomTo(INITIAL_ZOOM_LEVEL),
|
|
4133
4231
|
ariaLabel: "Reset zoom",
|
|
4134
4232
|
"aria-hidden": value === INITIAL_ZOOM_LEVEL
|
|
4135
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4233
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(RotateCcwIcon, null)),
|
|
4136
4234
|
value: `${Math.round(value * 100)}%`,
|
|
4137
4235
|
minValue: 1,
|
|
4138
4236
|
maxValue: 800,
|
|
@@ -4272,10 +4370,10 @@ function init_Preview_module() {
|
|
|
4272
4370
|
document.head.appendChild(style);
|
|
4273
4371
|
}
|
|
4274
4372
|
Preview_module_default = {
|
|
4275
|
-
"loaderWrapper": "fb-nbxdwG-loaderWrapper",
|
|
4276
4373
|
"canvasWrap": "fb-nbxdwG-canvasWrap",
|
|
4374
|
+
"previewContainer": "fb-nbxdwG-previewContainer",
|
|
4277
4375
|
"frameWrap": "fb-nbxdwG-frameWrap",
|
|
4278
|
-
"
|
|
4376
|
+
"loaderWrapper": "fb-nbxdwG-loaderWrapper"
|
|
4279
4377
|
};
|
|
4280
4378
|
})))();
|
|
4281
4379
|
}
|
|
@@ -4417,7 +4515,7 @@ function init_addons() {
|
|
|
4417
4515
|
return (init_addons = __esmMin((() => {
|
|
4418
4516
|
init__storybook_global_react();
|
|
4419
4517
|
init_components();
|
|
4420
|
-
|
|
4518
|
+
init__storybook_global_lucide_react();
|
|
4421
4519
|
init_manager_api();
|
|
4422
4520
|
init_layout();
|
|
4423
4521
|
SHOW_ADDON_PANEL_BUTTON_ID = "storybook-show-addon-panel";
|
|
@@ -4452,7 +4550,7 @@ function init_addons() {
|
|
|
4452
4550
|
showPanel(true);
|
|
4453
4551
|
}
|
|
4454
4552
|
}
|
|
4455
|
-
}, panelPosition === "bottom" ? /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4553
|
+
}, panelPosition === "bottom" ? /* @__PURE__ */ _storybook_global_react_default.createElement(Rows2Icon, null) : /* @__PURE__ */ _storybook_global_react_default.createElement(PanelLeftIcon, null))));
|
|
4456
4554
|
}
|
|
4457
4555
|
};
|
|
4458
4556
|
})))();
|
|
@@ -4464,7 +4562,7 @@ function init_menu() {
|
|
|
4464
4562
|
return (init_menu = __esmMin((() => {
|
|
4465
4563
|
init__storybook_global_react();
|
|
4466
4564
|
init_components();
|
|
4467
|
-
|
|
4565
|
+
init__storybook_global_lucide_react();
|
|
4468
4566
|
init_manager_api();
|
|
4469
4567
|
init_layout();
|
|
4470
4568
|
menuMapper$1 = ({ api, state }) => ({
|
|
@@ -4497,7 +4595,7 @@ function init_menu() {
|
|
|
4497
4595
|
showSidebar(true);
|
|
4498
4596
|
}
|
|
4499
4597
|
}
|
|
4500
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4598
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(MenuIcon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement(Separator, null)));
|
|
4501
4599
|
}
|
|
4502
4600
|
};
|
|
4503
4601
|
})))();
|
|
@@ -4510,7 +4608,7 @@ function init_open_in_editor() {
|
|
|
4510
4608
|
init__storybook_global_react();
|
|
4511
4609
|
init_components();
|
|
4512
4610
|
init_global();
|
|
4513
|
-
|
|
4611
|
+
init__storybook_global_lucide_react();
|
|
4514
4612
|
init_manager_api();
|
|
4515
4613
|
mapper$2 = ({ state, api }) => {
|
|
4516
4614
|
const { storyId, refId } = state;
|
|
@@ -4566,7 +4664,7 @@ function init_remount() {
|
|
|
4566
4664
|
init__storybook_global_react();
|
|
4567
4665
|
init_components();
|
|
4568
4666
|
init_core_events();
|
|
4569
|
-
|
|
4667
|
+
init__storybook_global_lucide_react();
|
|
4570
4668
|
init_manager_api();
|
|
4571
4669
|
init_remount_module();
|
|
4572
4670
|
menuMapper = ({ api, state }) => {
|
|
@@ -4603,7 +4701,7 @@ function init_remount() {
|
|
|
4603
4701
|
onClick: remountComponent,
|
|
4604
4702
|
onAnimationEnd: () => setIsAnimating(false),
|
|
4605
4703
|
disabled: !storyId
|
|
4606
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4704
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(RefreshCwIcon, null));
|
|
4607
4705
|
})
|
|
4608
4706
|
};
|
|
4609
4707
|
})))();
|
|
@@ -4616,7 +4714,7 @@ function init_share() {
|
|
|
4616
4714
|
init__storybook_global_react();
|
|
4617
4715
|
init_components();
|
|
4618
4716
|
init_core_events();
|
|
4619
|
-
|
|
4717
|
+
init__storybook_global_lucide_react();
|
|
4620
4718
|
init_manager_api();
|
|
4621
4719
|
mapper$1 = ({ api, state }) => {
|
|
4622
4720
|
const { storyId, refId } = state;
|
|
@@ -4647,7 +4745,7 @@ function init_share() {
|
|
|
4647
4745
|
window.open(originHrefs.previewHref, "_blank", "noopener,noreferrer");
|
|
4648
4746
|
api.emit(SHARE_ISOLATE_MODE, originHrefs.previewHref);
|
|
4649
4747
|
}
|
|
4650
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
4748
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(SquareArrowOutUpRightIcon, null));
|
|
4651
4749
|
})
|
|
4652
4750
|
};
|
|
4653
4751
|
})))();
|
|
@@ -4768,9 +4866,9 @@ function init_Loader_module() {
|
|
|
4768
4866
|
document.head.appendChild(style);
|
|
4769
4867
|
}
|
|
4770
4868
|
Loader_module_default = {
|
|
4771
|
-
"
|
|
4869
|
+
"loadingItem": "fb-YVvpGW-loadingItem",
|
|
4772
4870
|
"contained": "fb-YVvpGW-contained",
|
|
4773
|
-
"
|
|
4871
|
+
"glow": "fb-YVvpGW-glow"
|
|
4774
4872
|
};
|
|
4775
4873
|
})))();
|
|
4776
4874
|
}
|
|
@@ -4856,11 +4954,11 @@ function init_RefBlocks_module() {
|
|
|
4856
4954
|
document.head.appendChild(style);
|
|
4857
4955
|
}
|
|
4858
4956
|
RefBlocks_module_default = {
|
|
4859
|
-
"wideSpaced": "fb--hrd7a-wideSpaced",
|
|
4860
|
-
"textStyle": "fb--hrd7a-textStyle",
|
|
4861
4957
|
"flexSpaced": "fb--hrd7a-flexSpaced",
|
|
4958
|
+
"wideSpaced": "fb--hrd7a-wideSpaced",
|
|
4959
|
+
"text": "fb--hrd7a-text",
|
|
4862
4960
|
"errorDisplay": "fb--hrd7a-errorDisplay",
|
|
4863
|
-
"
|
|
4961
|
+
"textStyle": "fb--hrd7a-textStyle"
|
|
4864
4962
|
};
|
|
4865
4963
|
})))();
|
|
4866
4964
|
}
|
|
@@ -4873,7 +4971,7 @@ function init_RefBlocks() {
|
|
|
4873
4971
|
init_client_logger();
|
|
4874
4972
|
init_components();
|
|
4875
4973
|
init_global();
|
|
4876
|
-
|
|
4974
|
+
init__storybook_global_lucide_react();
|
|
4877
4975
|
init_manager_api();
|
|
4878
4976
|
init_LayoutProvider();
|
|
4879
4977
|
init_Loader();
|
|
@@ -4904,7 +5002,7 @@ function init_RefBlocks() {
|
|
|
4904
5002
|
size: "small",
|
|
4905
5003
|
variant: "outline",
|
|
4906
5004
|
onClick: refresh
|
|
4907
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5005
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(RefreshCwIcon, null), "Refresh now"))) : /* @__PURE__ */ _storybook_global_react_default.createElement(Fragment, null, /* @__PURE__ */ _storybook_global_react_default.createElement(Text, null, "Sign in to browse this Forkbook."), /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
|
|
4908
5006
|
size: "small",
|
|
4909
5007
|
variant: "outline",
|
|
4910
5008
|
onClick: open
|
|
@@ -4921,7 +5019,7 @@ function init_RefBlocks() {
|
|
|
4921
5019
|
className: RefBlocks_module_default.errorDisplay,
|
|
4922
5020
|
"data-mobile": isMobile || void 0
|
|
4923
5021
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ErrorFormatter, { error }))
|
|
4924
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(Link$1, null, "View error ", /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5022
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(Link$1, null, "View error ", /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronDownIcon, null))), " ", /* @__PURE__ */ _storybook_global_react_default.createElement(Link$1, {
|
|
4925
5023
|
href: "https://forkbook.ljk.dev/docs",
|
|
4926
5024
|
cancel: false,
|
|
4927
5025
|
target: "_blank"
|
|
@@ -4940,7 +5038,7 @@ function init_RefBlocks() {
|
|
|
4940
5038
|
await api.setAllTagFilters([], []);
|
|
4941
5039
|
await api.resetStatusFilters();
|
|
4942
5040
|
}
|
|
4943
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5041
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(BrushCleaningIcon, null), "Clear filters") : null) : isMain ? /* @__PURE__ */ _storybook_global_react_default.createElement(Text, null, "Oh no! Your Forkbook is empty. This can happen when:", /* @__PURE__ */ _storybook_global_react_default.createElement("ul", null, /* @__PURE__ */ _storybook_global_react_default.createElement("li", null, "Your", " ", /* @__PURE__ */ _storybook_global_react_default.createElement(Link$1, {
|
|
4944
5042
|
href: "https://forkbook.ljk.dev/docs/api/main-config/main-config-stories",
|
|
4945
5043
|
cancel: false,
|
|
4946
5044
|
target: "_blank"
|
|
@@ -4966,12 +5064,12 @@ function init_RefIndicator_module() {
|
|
|
4966
5064
|
document.head.appendChild(style);
|
|
4967
5065
|
}
|
|
4968
5066
|
RefIndicator_module_default = {
|
|
4969
|
-
"messageTitle": "fb-ceroQa-messageTitle",
|
|
4970
|
-
"messageWrapper": "fb-ceroQa-messageWrapper",
|
|
4971
5067
|
"indicatorPlacement": "fb-ceroQa-indicatorPlacement",
|
|
4972
|
-
"subtleSelect": "fb-ceroQa-subtleSelect",
|
|
4973
5068
|
"message": "fb-ceroQa-message",
|
|
4974
|
-
"indicatorClickTarget": "fb-ceroQa-indicatorClickTarget"
|
|
5069
|
+
"indicatorClickTarget": "fb-ceroQa-indicatorClickTarget",
|
|
5070
|
+
"messageTitle": "fb-ceroQa-messageTitle",
|
|
5071
|
+
"messageWrapper": "fb-ceroQa-messageWrapper",
|
|
5072
|
+
"subtleSelect": "fb-ceroQa-subtleSelect"
|
|
4975
5073
|
};
|
|
4976
5074
|
})))();
|
|
4977
5075
|
}
|
|
@@ -4983,7 +5081,7 @@ function init_RefIndicator() {
|
|
|
4983
5081
|
init__storybook_global_react();
|
|
4984
5082
|
init_components();
|
|
4985
5083
|
init_global();
|
|
4986
|
-
|
|
5084
|
+
init__storybook_global_lucide_react();
|
|
4987
5085
|
init_clsx();
|
|
4988
5086
|
init_manager_api();
|
|
4989
5087
|
init_theming();
|
|
@@ -5082,7 +5180,7 @@ function init_RefIndicator() {
|
|
|
5082
5180
|
};
|
|
5083
5181
|
ErrorOccurredMessage = ({ url }) => {
|
|
5084
5182
|
const theme = useTheme();
|
|
5085
|
-
return /* @__PURE__ */ _storybook_global_react_default.createElement(Message, { href: url.replace(/\/?$/, "/index.html") }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5183
|
+
return /* @__PURE__ */ _storybook_global_react_default.createElement(Message, { href: url.replace(/\/?$/, "/index.html") }, /* @__PURE__ */ _storybook_global_react_default.createElement(TriangleAlertIcon, { color: theme.color.negative }), /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, /* @__PURE__ */ _storybook_global_react_default.createElement(MessageTitle, null, "Something went wrong"), /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, "This external Forkbook didn't load. Debug it in a new tab now.")));
|
|
5086
5184
|
};
|
|
5087
5185
|
LoadingMessage = ({ url }) => {
|
|
5088
5186
|
const theme = useTheme();
|
|
@@ -5090,7 +5188,7 @@ function init_RefIndicator() {
|
|
|
5090
5188
|
};
|
|
5091
5189
|
PerformanceDegradedMessage = () => {
|
|
5092
5190
|
const theme = useTheme();
|
|
5093
|
-
return /* @__PURE__ */ _storybook_global_react_default.createElement(Message, { href: "https://forkbook.ljk.dev/docs/sharing/storybook-composition" }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5191
|
+
return /* @__PURE__ */ _storybook_global_react_default.createElement(Message, { href: "https://forkbook.ljk.dev/docs/sharing/storybook-composition" }, /* @__PURE__ */ _storybook_global_react_default.createElement(ZapIcon, { color: theme.color.gold }), /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, /* @__PURE__ */ _storybook_global_react_default.createElement(MessageTitle, null, "Reduce lag"), /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, "Learn how to speed up Composition performance.")));
|
|
5094
5192
|
};
|
|
5095
5193
|
})))();
|
|
5096
5194
|
}
|
|
@@ -5115,7 +5213,7 @@ var GROUP_ID, COMPONENT_ID, DOCUMENT_ID, STORY_ID, TEST_ID, SUCCESS_ID, ERROR_ID
|
|
|
5115
5213
|
function init_IconSymbols() {
|
|
5116
5214
|
return (init_IconSymbols = __esmMin((() => {
|
|
5117
5215
|
init__storybook_global_react();
|
|
5118
|
-
|
|
5216
|
+
init__storybook_global_lucide_react();
|
|
5119
5217
|
init_IconSymbols_module();
|
|
5120
5218
|
GROUP_ID = "icon--group";
|
|
5121
5219
|
COMPONENT_ID = "icon--component";
|
|
@@ -5134,7 +5232,7 @@ function init_IconSymbols() {
|
|
|
5134
5232
|
return /* @__PURE__ */ _storybook_global_react_default.createElement("svg", {
|
|
5135
5233
|
className: IconSymbols_module_default.svg,
|
|
5136
5234
|
"data-chromatic": "ignore"
|
|
5137
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: GROUP_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(FolderIcon, { size: 14 })), /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: COMPONENT_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5235
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: GROUP_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(FolderIcon, { size: 14 })), /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: COMPONENT_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(LayoutGridIcon, { size: 14 })), /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: DOCUMENT_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(FileTextIcon, { size: 14 })), /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: STORY_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(BookmarkIcon, { size: 14 })), /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: TEST_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement(FlaskConicalIcon, { size: 14 })), /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", { id: SUCCESS_ID }, /* @__PURE__ */ _storybook_global_react_default.createElement("path", {
|
|
5138
5236
|
fillRule: "evenodd",
|
|
5139
5237
|
clipRule: "evenodd",
|
|
5140
5238
|
d: "M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",
|
|
@@ -5291,7 +5389,7 @@ function init_ContextMenu() {
|
|
|
5291
5389
|
init__storybook_global_react();
|
|
5292
5390
|
init_components();
|
|
5293
5391
|
init_types$1();
|
|
5294
|
-
|
|
5392
|
+
init__storybook_global_lucide_react();
|
|
5295
5393
|
init_manager_api();
|
|
5296
5394
|
init_useCopyButton();
|
|
5297
5395
|
init_Shortcut();
|
|
@@ -5370,7 +5468,7 @@ function init_ContextMenu() {
|
|
|
5370
5468
|
]);
|
|
5371
5469
|
const shouldRender = !context.refId && (providerLinks.length > 0 || links.length > 0 || topLinks.length > 0);
|
|
5372
5470
|
const buttonStatus = visibleStatus?.status ?? "status-value:unknown";
|
|
5373
|
-
const menuIcon = visibleStatus?.icon ?? /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
5471
|
+
const menuIcon = visibleStatus?.icon ?? /* @__PURE__ */ _storybook_global_react_default.createElement(EllipsisIcon, null);
|
|
5374
5472
|
return useMemo(() => {
|
|
5375
5473
|
if (globalThis.CONFIG_TYPE !== "DEVELOPMENT") return empty;
|
|
5376
5474
|
return {
|
|
@@ -5753,10 +5851,10 @@ function init_Tree_module() {
|
|
|
5753
5851
|
document.head.appendChild(style);
|
|
5754
5852
|
}
|
|
5755
5853
|
Tree_module_default = {
|
|
5756
|
-
"skipToContentLink": "fb-SdZTUG-skipToContentLink",
|
|
5757
|
-
"collapseButton": "fb-SdZTUG-collapseButton",
|
|
5758
5854
|
"leafNodeStyleWrapper": "fb-SdZTUG-leafNodeStyleWrapper",
|
|
5759
|
-
"statusSlots": "fb-SdZTUG-statusSlots"
|
|
5855
|
+
"statusSlots": "fb-SdZTUG-statusSlots",
|
|
5856
|
+
"collapseButton": "fb-SdZTUG-collapseButton",
|
|
5857
|
+
"skipToContentLink": "fb-SdZTUG-skipToContentLink"
|
|
5760
5858
|
};
|
|
5761
5859
|
})))();
|
|
5762
5860
|
}
|
|
@@ -5769,7 +5867,7 @@ function init_Tree() {
|
|
|
5769
5867
|
init_components();
|
|
5770
5868
|
init_core_events();
|
|
5771
5869
|
init_types$1();
|
|
5772
|
-
|
|
5870
|
+
init__storybook_global_lucide_react();
|
|
5773
5871
|
init_manager_api();
|
|
5774
5872
|
init_clsx();
|
|
5775
5873
|
init_theming();
|
|
@@ -5920,7 +6018,7 @@ function init_Tree() {
|
|
|
5920
6018
|
event.preventDefault();
|
|
5921
6019
|
setFullyExpanded();
|
|
5922
6020
|
}
|
|
5923
|
-
}, isFullyExpanded ? /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6021
|
+
}, isFullyExpanded ? /* @__PURE__ */ _storybook_global_react_default.createElement(FoldVerticalIcon, null) : /* @__PURE__ */ _storybook_global_react_default.createElement(ExpandIcon, null)));
|
|
5924
6022
|
if (item.type === "component" || item.type === "group" || item.type === "story" && "children" in item && item.children) {
|
|
5925
6023
|
const { children = [] } = item;
|
|
5926
6024
|
const BranchNode = {
|
|
@@ -6232,10 +6330,10 @@ function init_Refs_module() {
|
|
|
6232
6330
|
document.head.appendChild(style);
|
|
6233
6331
|
}
|
|
6234
6332
|
Refs_module_default = {
|
|
6235
|
-
"
|
|
6236
|
-
"refTitle": "fb-XA7PFq-refTitle",
|
|
6333
|
+
"collapseButton": "fb-XA7PFq-collapseButton",
|
|
6237
6334
|
"refHead": "fb-XA7PFq-refHead",
|
|
6238
|
-
"
|
|
6335
|
+
"wrapper": "fb-XA7PFq-wrapper",
|
|
6336
|
+
"refTitle": "fb-XA7PFq-refTitle"
|
|
6239
6337
|
};
|
|
6240
6338
|
})))();
|
|
6241
6339
|
}
|
|
@@ -6484,8 +6582,8 @@ function init_FilterPanelLink_module() {
|
|
|
6484
6582
|
document.head.appendChild(style);
|
|
6485
6583
|
}
|
|
6486
6584
|
FilterPanelLink_module_default = {
|
|
6487
|
-
"
|
|
6488
|
-
"
|
|
6585
|
+
"statusIcon": "fb-eYJvqG-statusIcon",
|
|
6586
|
+
"mutedText": "fb-eYJvqG-mutedText"
|
|
6489
6587
|
};
|
|
6490
6588
|
})))();
|
|
6491
6589
|
}
|
|
@@ -6496,7 +6594,7 @@ function init_FilterPanelLink() {
|
|
|
6496
6594
|
return (init_FilterPanelLink = __esmMin((() => {
|
|
6497
6595
|
init__storybook_global_react();
|
|
6498
6596
|
init_components();
|
|
6499
|
-
|
|
6597
|
+
init__storybook_global_lucide_react();
|
|
6500
6598
|
init_FilterPanelLink_module();
|
|
6501
6599
|
StatusIcon = ({ iconColor, children }) => /* @__PURE__ */ _storybook_global_react_default.createElement("span", {
|
|
6502
6600
|
className: FilterPanelLink_module_default.statusIcon,
|
|
@@ -6514,7 +6612,7 @@ function init_FilterPanelLink() {
|
|
|
6514
6612
|
ariaLabel: false,
|
|
6515
6613
|
tabIndex: -1,
|
|
6516
6614
|
tooltip: toggleTooltip
|
|
6517
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, isExcluded ? /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6615
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, isExcluded ? /* @__PURE__ */ _storybook_global_react_default.createElement(CircleXIcon, null) : isIncluded ? null : icon, /* @__PURE__ */ _storybook_global_react_default.createElement(Form.Checkbox, {
|
|
6518
6616
|
checked: isChecked,
|
|
6519
6617
|
onChange: onCheckboxChange,
|
|
6520
6618
|
"data-tag": title,
|
|
@@ -6635,7 +6733,7 @@ function init_useFilterData() {
|
|
|
6635
6733
|
return (init_useFilterData = __esmMin((() => {
|
|
6636
6734
|
init__storybook_global_react();
|
|
6637
6735
|
init_global();
|
|
6638
|
-
|
|
6736
|
+
init__storybook_global_lucide_react();
|
|
6639
6737
|
init_theming();
|
|
6640
6738
|
init_FilterPanel_utils();
|
|
6641
6739
|
BUILT_IN_FILTER_DEFS = [
|
|
@@ -6648,13 +6746,13 @@ function init_useFilterData() {
|
|
|
6648
6746
|
{
|
|
6649
6747
|
id: "_play",
|
|
6650
6748
|
title: "Play",
|
|
6651
|
-
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6749
|
+
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(CirclePlayIcon, { color: color.seafoam }),
|
|
6652
6750
|
tag: "_play"
|
|
6653
6751
|
},
|
|
6654
6752
|
{
|
|
6655
6753
|
id: "_test",
|
|
6656
6754
|
title: "Testing",
|
|
6657
|
-
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6755
|
+
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(FlaskConicalIcon, { color: color.green }),
|
|
6658
6756
|
tag: "_test"
|
|
6659
6757
|
}
|
|
6660
6758
|
];
|
|
@@ -6669,7 +6767,7 @@ function init_FilterPanel_module() {
|
|
|
6669
6767
|
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$12}"]`)) {
|
|
6670
6768
|
const style = document.createElement("style");
|
|
6671
6769
|
style.setAttribute("data-fb-css", id$12);
|
|
6672
|
-
style.textContent = ".fb-3AblDa-wrapper{
|
|
6770
|
+
style.textContent = ".fb-3AblDa-wrapper{min-width:240px;max-width:300px;max-height:504px;overflow:hidden auto}";
|
|
6673
6771
|
document.head.appendChild(style);
|
|
6674
6772
|
}
|
|
6675
6773
|
FilterPanel_module_default = { "wrapper": "fb-3AblDa-wrapper" };
|
|
@@ -6682,7 +6780,7 @@ function init_FilterPanel() {
|
|
|
6682
6780
|
return (init_FilterPanel = __esmMin((() => {
|
|
6683
6781
|
init__storybook_global_react();
|
|
6684
6782
|
init_components();
|
|
6685
|
-
|
|
6783
|
+
init__storybook_global_lucide_react();
|
|
6686
6784
|
init_theming();
|
|
6687
6785
|
init_status$1();
|
|
6688
6786
|
init_FilterPanelLink();
|
|
@@ -6762,7 +6860,7 @@ function init_FilterPanel() {
|
|
|
6762
6860
|
id: "select-all",
|
|
6763
6861
|
key: "select-all",
|
|
6764
6862
|
onClick: () => setAllFilters(true)
|
|
6765
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6863
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(CheckCheckIcon, null), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, "Select all")) : /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Button, {
|
|
6766
6864
|
ariaLabel: false,
|
|
6767
6865
|
id: "deselect-all",
|
|
6768
6866
|
key: "deselect-all",
|
|
@@ -6770,14 +6868,14 @@ function init_FilterPanel() {
|
|
|
6770
6868
|
await setAllFilters(false);
|
|
6771
6869
|
await api.resetStatusFilters();
|
|
6772
6870
|
}
|
|
6773
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6871
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(BrushCleaningIcon, null), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, "Clear filters")), hasDefaultSelection && /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Button, {
|
|
6774
6872
|
id: "reset-filters",
|
|
6775
6873
|
key: "reset-filters",
|
|
6776
6874
|
onClick: () => api.resetTagFilters(),
|
|
6777
6875
|
ariaLabel: "Reset filters",
|
|
6778
6876
|
tooltip: "Reset to default selection",
|
|
6779
6877
|
disabled: isDefaultSelection
|
|
6780
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6878
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(RotateCcwIcon, null)))), reviewingStatusItems.length > 0 && /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList, null, reviewingStatusItems.map((item) => {
|
|
6781
6879
|
const link = createFilterLink(item);
|
|
6782
6880
|
return /* @__PURE__ */ _storybook_global_react_default.createElement(Fragment, { key: link.id }, link.content);
|
|
6783
6881
|
})), builtInItems.length > 0 && /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList, null, builtInItems.map((item) => {
|
|
@@ -6793,7 +6891,7 @@ function init_FilterPanel() {
|
|
|
6793
6891
|
ariaLabel: false,
|
|
6794
6892
|
href: api.getDocsUrl({ subpath: "writing-stories/tags#custom-tags" }),
|
|
6795
6893
|
target: "_blank"
|
|
6796
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(FileTextIcon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, "Learn how to add tags")), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6894
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(FileTextIcon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, null, /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, "Learn how to add tags")), /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(Share2Icon, null))))));
|
|
6797
6895
|
};
|
|
6798
6896
|
})))();
|
|
6799
6897
|
}
|
|
@@ -6822,7 +6920,7 @@ function init_Filter() {
|
|
|
6822
6920
|
return (init_Filter = __esmMin((() => {
|
|
6823
6921
|
init__storybook_global_react();
|
|
6824
6922
|
init_components();
|
|
6825
|
-
|
|
6923
|
+
init__storybook_global_lucide_react();
|
|
6826
6924
|
init_manager_api();
|
|
6827
6925
|
init_story_index_filters();
|
|
6828
6926
|
init_FilterPanel();
|
|
@@ -6871,7 +6969,7 @@ function init_Filter() {
|
|
|
6871
6969
|
padding: "small",
|
|
6872
6970
|
"data-highlighted": activeFilterCount > 0 || void 0,
|
|
6873
6971
|
onClick: handleToggleExpand
|
|
6874
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
6972
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ListFilterIcon, null), activeFilterCount > 0 && /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: Filter_module_default.tagSelected })));
|
|
6875
6973
|
};
|
|
6876
6974
|
Filter = () => /* @__PURE__ */ _storybook_global_react_default.createElement(Consumer, { filter: filterMapper }, ({ api, indexJson, activeFilterCount, defaultIncludedFilters, defaultExcludedFilters, includedFilters, excludedFilters, includedStatusFilters, excludedStatusFilters }) => indexJson ? /* @__PURE__ */ _storybook_global_react_default.createElement(FilterInner, {
|
|
6877
6975
|
api,
|
|
@@ -6900,8 +6998,8 @@ function init_Brand_module() {
|
|
|
6900
6998
|
}
|
|
6901
6999
|
Brand_module_default = {
|
|
6902
7000
|
"logo": "fb-UuNJxG-logo",
|
|
6903
|
-
"
|
|
6904
|
-
"
|
|
7001
|
+
"img": "fb-UuNJxG-img",
|
|
7002
|
+
"logoLink": "fb-UuNJxG-logoLink"
|
|
6905
7003
|
};
|
|
6906
7004
|
})))();
|
|
6907
7005
|
}
|
|
@@ -6958,9 +7056,9 @@ function init_Menu_module() {
|
|
|
6958
7056
|
document.head.appendChild(style);
|
|
6959
7057
|
}
|
|
6960
7058
|
Menu_module_default = {
|
|
6961
|
-
"menuButtonGroup": "fb-_YecvW-menuButtonGroup",
|
|
6962
7059
|
"container": "fb-_YecvW-container",
|
|
6963
|
-
"sidebarButton": "fb-_YecvW-sidebarButton"
|
|
7060
|
+
"sidebarButton": "fb-_YecvW-sidebarButton",
|
|
7061
|
+
"menuButtonGroup": "fb-_YecvW-menuButtonGroup"
|
|
6964
7062
|
};
|
|
6965
7063
|
})))();
|
|
6966
7064
|
}
|
|
@@ -6971,7 +7069,7 @@ function init_Menu() {
|
|
|
6971
7069
|
return (init_Menu = __esmMin((() => {
|
|
6972
7070
|
init__storybook_global_react();
|
|
6973
7071
|
init_components();
|
|
6974
|
-
|
|
7072
|
+
init__storybook_global_lucide_react();
|
|
6975
7073
|
init_clsx();
|
|
6976
7074
|
init_manager_api();
|
|
6977
7075
|
init_LayoutProvider();
|
|
@@ -7042,9 +7140,9 @@ function init_Menu() {
|
|
|
7042
7140
|
isMobile: true,
|
|
7043
7141
|
asChild: true
|
|
7044
7142
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement("a", {
|
|
7045
|
-
href: "
|
|
7143
|
+
href: "./settings/about",
|
|
7046
7144
|
rel: "canonical"
|
|
7047
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
7145
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(SettingsIcon, null))), /* @__PURE__ */ _storybook_global_react_default.createElement(SidebarButton, {
|
|
7048
7146
|
padding: "small",
|
|
7049
7147
|
variant: "ghost",
|
|
7050
7148
|
ariaLabel: "Close menu",
|
|
@@ -7069,7 +7167,7 @@ function init_Menu() {
|
|
|
7069
7167
|
variant: "ghost",
|
|
7070
7168
|
size: "medium",
|
|
7071
7169
|
isMobile: false
|
|
7072
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
7170
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(SettingsIcon, null)));
|
|
7073
7171
|
};
|
|
7074
7172
|
})))();
|
|
7075
7173
|
}
|
|
@@ -7086,9 +7184,9 @@ function init_Heading_module() {
|
|
|
7086
7184
|
document.head.appendChild(style);
|
|
7087
7185
|
}
|
|
7088
7186
|
Heading_module_default = {
|
|
7089
|
-
"headingWrapper": "fb-jeTwbq-headingWrapper",
|
|
7090
7187
|
"skipToCanvasLink": "fb-jeTwbq-skipToCanvasLink",
|
|
7091
|
-
"brandArea": "fb-jeTwbq-brandArea"
|
|
7188
|
+
"brandArea": "fb-jeTwbq-brandArea",
|
|
7189
|
+
"headingWrapper": "fb-jeTwbq-headingWrapper"
|
|
7092
7190
|
};
|
|
7093
7191
|
})))();
|
|
7094
7192
|
}
|
|
@@ -7135,12 +7233,12 @@ function init_ReviewWidget_module() {
|
|
|
7135
7233
|
document.head.appendChild(style);
|
|
7136
7234
|
}
|
|
7137
7235
|
ReviewWidget_module_default = {
|
|
7236
|
+
"region": "fb-eFT8aG-region",
|
|
7237
|
+
"headerContent": "fb-eFT8aG-headerContent",
|
|
7138
7238
|
"agenticIcon": "fb-eFT8aG-agenticIcon",
|
|
7139
7239
|
"dismissIcon": "fb-eFT8aG-dismissIcon",
|
|
7140
|
-
"headerTitle": "fb-eFT8aG-headerTitle",
|
|
7141
|
-
"region": "fb-eFT8aG-region",
|
|
7142
7240
|
"dismissButton": "fb-eFT8aG-dismissButton",
|
|
7143
|
-
"
|
|
7241
|
+
"headerTitle": "fb-eFT8aG-headerTitle"
|
|
7144
7242
|
};
|
|
7145
7243
|
})))();
|
|
7146
7244
|
}
|
|
@@ -7151,7 +7249,7 @@ function init_ReviewWidget() {
|
|
|
7151
7249
|
return (init_ReviewWidget = __esmMin((() => {
|
|
7152
7250
|
init__storybook_global_react();
|
|
7153
7251
|
init_components();
|
|
7154
|
-
|
|
7252
|
+
init__storybook_global_lucide_react();
|
|
7155
7253
|
init_manager_api();
|
|
7156
7254
|
init_useLandmark();
|
|
7157
7255
|
init_review_context();
|
|
@@ -7194,7 +7292,7 @@ function init_ReviewWidget() {
|
|
|
7194
7292
|
color: "agentic",
|
|
7195
7293
|
outlineAnimation: "spin",
|
|
7196
7294
|
id: "storybook-review-widget"
|
|
7197
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList, { as: "div" }, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Item, { as: "div" }, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, { className: ReviewWidget_module_default.headerContent }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
7295
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList, { as: "div" }, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Item, { as: "div" }, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Text, { className: ReviewWidget_module_default.headerContent }, /* @__PURE__ */ _storybook_global_react_default.createElement(WandSparklesIcon, {
|
|
7198
7296
|
className: ReviewWidget_module_default.agenticIcon,
|
|
7199
7297
|
"aria-hidden": true
|
|
7200
7298
|
}), /* @__PURE__ */ _storybook_global_react_default.createElement("h2", {
|
|
@@ -7210,7 +7308,7 @@ function init_ReviewWidget() {
|
|
|
7210
7308
|
appearance: "agentic",
|
|
7211
7309
|
ariaLabel: "Dismiss review",
|
|
7212
7310
|
onClick: onDismiss
|
|
7213
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
7311
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(CircleXIcon, { className: ReviewWidget_module_default.dismissIcon }))));
|
|
7214
7312
|
};
|
|
7215
7313
|
})))();
|
|
7216
7314
|
}
|
|
@@ -7231,19 +7329,17 @@ function init_Search_module() {
|
|
|
7231
7329
|
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$6}"]`)) {
|
|
7232
7330
|
const style = document.createElement("style");
|
|
7233
7331
|
style.setAttribute("data-fb-css", id$6);
|
|
7234
|
-
style.textContent = ".fb-O-Z7Pq-searchBar{flex-direction:row;column-gap:6px;display:flex}.fb-O-Z7Pq-screenReaderLabel{width:1px;height:1px;position:absolute;top:auto;left:-10000px;overflow:hidden}.fb-O-Z7Pq-searchField{width:100%;height:32px;box-shadow:var(--fb-button-border) 0 0 0 1px inset;border-radius:calc(var(--fb-app-border-radius) + 2px);flex-direction:row;flex-grow:1;align-items:center;padding:2px;display:flex;&[data-mobile]{height:36px;padding:4px}&:has(input:focus),&:has(input:active){background:var(--fb-background-app);outline:2px solid var(--fb-color-secondary);outline-offset:2px}}.fb-O-Z7Pq-iconWrapper{cursor:default;pointer-events:none;height:100%;color:var(--fb-text-muted-color);flex:0 0 28px;justify-content:center;align-items:center;display:flex}.fb-O-Z7Pq-input{appearance:none;width:100%;height:28px;font-size:calc(var(--fb-size-s1) + 1px);color:var(--fb-color-default-text);background:0 0;border:0;outline:0;padding:0;font-family:inherit;transition:all .15s;&[data-mobile]{font-size:16px}&::placeholder{color:var(--fb-text-muted-color);opacity:1}&:valid~code,&:focus~code,&:invalid~svg{display:none}&:valid~svg{display:block}&::-ms-clear{display:none}&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{display:none}}.fb-O-Z7Pq-
|
|
7332
|
+
style.textContent = ".fb-O-Z7Pq-searchBar{flex-direction:row;column-gap:6px;display:flex}.fb-O-Z7Pq-screenReaderLabel{width:1px;height:1px;position:absolute;top:auto;left:-10000px;overflow:hidden}.fb-O-Z7Pq-searchField{width:100%;height:32px;box-shadow:var(--fb-button-border) 0 0 0 1px inset;border-radius:calc(var(--fb-app-border-radius) + 2px);flex-direction:row;flex-grow:1;align-items:center;padding:2px;display:flex;&[data-mobile]{height:36px;padding:4px}&:has(input:focus),&:has(input:active){background:var(--fb-background-app);outline:2px solid var(--fb-color-secondary);outline-offset:2px}}.fb-O-Z7Pq-iconWrapper{cursor:default;pointer-events:none;height:100%;color:var(--fb-text-muted-color);flex:0 0 28px;justify-content:center;align-items:center;display:flex}.fb-O-Z7Pq-input{appearance:none;width:100%;height:28px;font-size:calc(var(--fb-size-s1) + 1px);color:var(--fb-color-default-text);background:0 0;border:0;outline:0;padding:0;font-family:inherit;transition:all .15s;&[data-mobile]{font-size:16px}&::placeholder{color:var(--fb-text-muted-color);opacity:1}&:valid~code,&:focus~code,&:invalid~svg{display:none}&:valid~svg{display:block}&::-ms-clear{display:none}&::-webkit-search-decoration,&::-webkit-search-cancel-button,&::-webkit-search-results-button,&::-webkit-search-results-decoration{display:none}}.fb-O-Z7Pq-actions{align-items:center;gap:2px;display:flex}.fb-O-Z7Pq-focusContainer{outline:0}";
|
|
7235
7333
|
document.head.appendChild(style);
|
|
7236
7334
|
}
|
|
7237
7335
|
Search_module_default = {
|
|
7238
|
-
"
|
|
7239
|
-
"searchBar": "fb-O-Z7Pq-searchBar",
|
|
7336
|
+
"focusContainer": "fb-O-Z7Pq-focusContainer",
|
|
7240
7337
|
"searchField": "fb-O-Z7Pq-searchField",
|
|
7241
|
-
"input": "fb-O-Z7Pq-input",
|
|
7242
|
-
"focusKeyCmd": "fb-O-Z7Pq-focusKeyCmd",
|
|
7243
|
-
"focusKey": "fb-O-Z7Pq-focusKey",
|
|
7244
7338
|
"iconWrapper": "fb-O-Z7Pq-iconWrapper",
|
|
7339
|
+
"input": "fb-O-Z7Pq-input",
|
|
7245
7340
|
"actions": "fb-O-Z7Pq-actions",
|
|
7246
|
-
"
|
|
7341
|
+
"searchBar": "fb-O-Z7Pq-searchBar",
|
|
7342
|
+
"screenReaderLabel": "fb-O-Z7Pq-screenReaderLabel"
|
|
7247
7343
|
};
|
|
7248
7344
|
})))();
|
|
7249
7345
|
}
|
|
@@ -7256,7 +7352,7 @@ function init_Search() {
|
|
|
7256
7352
|
init_components();
|
|
7257
7353
|
init_types$1();
|
|
7258
7354
|
init_global();
|
|
7259
|
-
|
|
7355
|
+
init__storybook_global_lucide_react();
|
|
7260
7356
|
init_downshift_esm();
|
|
7261
7357
|
import_fuse = /* @__PURE__ */ __toESM(require_fuse(), 1);
|
|
7262
7358
|
init_manager_api();
|
|
@@ -7299,7 +7395,6 @@ function init_Search() {
|
|
|
7299
7395
|
const inputRef = useRef(null);
|
|
7300
7396
|
const [inputPlaceholder, setPlaceholder] = useState("Find components");
|
|
7301
7397
|
const [allComponents, showAllComponents] = useState(false);
|
|
7302
|
-
const searchShortcut = api ? shortcutToHumanString(api.getShortcutKeys().search) : "/";
|
|
7303
7398
|
const makeFuse = useCallback(() => {
|
|
7304
7399
|
const list = [];
|
|
7305
7400
|
for (const [refId, { index, allStatuses }] of dataset.entries) {
|
|
@@ -7496,11 +7591,11 @@ function init_Search() {
|
|
|
7496
7591
|
...getRootProps({ refKey: "" }, { suppressRefError: true }),
|
|
7497
7592
|
"data-mobile": isMobile || void 0,
|
|
7498
7593
|
className: `search-field ${Search_module_default.searchField}`
|
|
7499
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: Search_module_default.iconWrapper }, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
7594
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: Search_module_default.iconWrapper }, /* @__PURE__ */ _storybook_global_react_default.createElement(SearchIcon, null)), /* @__PURE__ */ _storybook_global_react_default.createElement("input", {
|
|
7500
7595
|
className: Search_module_default.input,
|
|
7501
7596
|
...inputProps,
|
|
7502
7597
|
"data-mobile": isMobile || void 0
|
|
7503
|
-
}),
|
|
7598
|
+
}), /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: Search_module_default.actions }, input && /* @__PURE__ */ _storybook_global_react_default.createElement(Button, {
|
|
7504
7599
|
padding: "small",
|
|
7505
7600
|
variant: "ghost",
|
|
7506
7601
|
ariaLabel: "Clear search",
|
|
@@ -7541,15 +7636,15 @@ function init_SearchResults_module() {
|
|
|
7541
7636
|
document.head.appendChild(style);
|
|
7542
7637
|
}
|
|
7543
7638
|
SearchResults_module_default = {
|
|
7544
|
-
"resultRowContent": "fb-ipkuoW-resultRowContent",
|
|
7545
7639
|
"mark": "fb-ipkuoW-mark",
|
|
7546
|
-
"
|
|
7547
|
-
"recentlyOpenedTitle": "fb-ipkuoW-recentlyOpenedTitle",
|
|
7548
|
-
"path": "fb-ipkuoW-path",
|
|
7640
|
+
"moreWrapper": "fb-ipkuoW-moreWrapper",
|
|
7549
7641
|
"resultsList": "fb-ipkuoW-resultsList",
|
|
7550
|
-
"
|
|
7642
|
+
"resultRow": "fb-ipkuoW-resultRow",
|
|
7551
7643
|
"iconWrapper": "fb-ipkuoW-iconWrapper",
|
|
7552
|
-
"
|
|
7644
|
+
"title": "fb-ipkuoW-title",
|
|
7645
|
+
"recentlyOpenedTitle": "fb-ipkuoW-recentlyOpenedTitle",
|
|
7646
|
+
"resultRowContent": "fb-ipkuoW-resultRowContent",
|
|
7647
|
+
"path": "fb-ipkuoW-path"
|
|
7553
7648
|
};
|
|
7554
7649
|
})))();
|
|
7555
7650
|
}
|
|
@@ -7562,7 +7657,7 @@ function init_SearchResults() {
|
|
|
7562
7657
|
init_components();
|
|
7563
7658
|
init_core_events();
|
|
7564
7659
|
init_global();
|
|
7565
|
-
|
|
7660
|
+
init__storybook_global_lucide_react();
|
|
7566
7661
|
init_clsx();
|
|
7567
7662
|
init_manager_api();
|
|
7568
7663
|
init_theming();
|
|
@@ -7676,7 +7771,7 @@ function init_SearchResults() {
|
|
|
7676
7771
|
className: "search-result-recentlyOpened-clear",
|
|
7677
7772
|
onClick: handleClearLastViewed,
|
|
7678
7773
|
ariaLabel: "Clear recently opened items"
|
|
7679
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
7774
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(Trash2Icon, null))), results.length === 0 && query && /* @__PURE__ */ _storybook_global_react_default.createElement("li", null, /* @__PURE__ */ _storybook_global_react_default.createElement(NoResults, null, /* @__PURE__ */ _storybook_global_react_default.createElement("strong", null, "No components found"), /* @__PURE__ */ _storybook_global_react_default.createElement("small", null, "Find components by name or path."))), results.map((result, index) => {
|
|
7680
7775
|
if (isExpandType(result)) {
|
|
7681
7776
|
const { key, ...rest } = {
|
|
7682
7777
|
...results,
|
|
@@ -7811,7 +7906,7 @@ function init_ShowChangesButton() {
|
|
|
7811
7906
|
return (init_ShowChangesButton = __esmMin((() => {
|
|
7812
7907
|
init__storybook_global_react();
|
|
7813
7908
|
init_components();
|
|
7814
|
-
|
|
7909
|
+
init__storybook_global_lucide_react();
|
|
7815
7910
|
init_manager_api();
|
|
7816
7911
|
init_statuses();
|
|
7817
7912
|
init_tags();
|
|
@@ -7912,7 +8007,7 @@ function init_ShowChangesButton() {
|
|
|
7912
8007
|
size: "small",
|
|
7913
8008
|
onClick: onClearClick,
|
|
7914
8009
|
ariaLabel: "Clear"
|
|
7915
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
8010
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(RotateCcwIcon, null)));
|
|
7916
8011
|
};
|
|
7917
8012
|
})))();
|
|
7918
8013
|
}
|
|
@@ -7929,8 +8024,8 @@ function init_Optional_module() {
|
|
|
7929
8024
|
document.head.appendChild(style);
|
|
7930
8025
|
}
|
|
7931
8026
|
Optional_module_default = {
|
|
7932
|
-
"
|
|
7933
|
-
"
|
|
8027
|
+
"content": "fb-PbES_q-content",
|
|
8028
|
+
"wrapper": "fb-PbES_q-wrapper"
|
|
7934
8029
|
};
|
|
7935
8030
|
})))();
|
|
7936
8031
|
}
|
|
@@ -8039,16 +8134,16 @@ function init_TestingWidget_module() {
|
|
|
8039
8134
|
document.head.appendChild(style);
|
|
8040
8135
|
}
|
|
8041
8136
|
TestingWidget_module_default = {
|
|
8042
|
-
"collapseToggle": "fb-ox_lkW-collapseToggle",
|
|
8043
|
-
"content": "fb-ox_lkW-content",
|
|
8044
|
-
"filters": "fb-ox_lkW-filters",
|
|
8045
8137
|
"bar": "fb-ox_lkW-bar",
|
|
8046
|
-
"statusFilter": "fb-ox_lkW-statusFilter",
|
|
8047
|
-
"collapsible": "fb-ox_lkW-collapsible",
|
|
8048
8138
|
"testing-module-collapse-toggle": "fb-ox_lkW-testing-module-collapse-toggle",
|
|
8139
|
+
"statusFilter": "fb-ox_lkW-statusFilter",
|
|
8049
8140
|
"hoverCard": "fb-ox_lkW-hoverCard",
|
|
8050
8141
|
"action": "fb-ox_lkW-action",
|
|
8051
|
-
"
|
|
8142
|
+
"filters": "fb-ox_lkW-filters",
|
|
8143
|
+
"content": "fb-ox_lkW-content",
|
|
8144
|
+
"collapseToggle": "fb-ox_lkW-collapseToggle",
|
|
8145
|
+
"testProvider": "fb-ox_lkW-testProvider",
|
|
8146
|
+
"collapsible": "fb-ox_lkW-collapsible"
|
|
8052
8147
|
};
|
|
8053
8148
|
})))();
|
|
8054
8149
|
}
|
|
@@ -8060,7 +8155,7 @@ function init_TestingWidget() {
|
|
|
8060
8155
|
init__storybook_global_react();
|
|
8061
8156
|
init_client_logger();
|
|
8062
8157
|
init_components();
|
|
8063
|
-
|
|
8158
|
+
init__storybook_global_lucide_react();
|
|
8064
8159
|
init_manager_api();
|
|
8065
8160
|
init_clsx();
|
|
8066
8161
|
init_useLandmark();
|
|
@@ -8077,7 +8172,7 @@ function init_TestingWidget() {
|
|
|
8077
8172
|
onRunAll();
|
|
8078
8173
|
},
|
|
8079
8174
|
...props
|
|
8080
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
8175
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(CirclePlayIcon, null)), children);
|
|
8081
8176
|
StatusFilter = ({ status, pressed, className, ...props }) => /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Toggle, {
|
|
8082
8177
|
className: clsx(TestingWidget_module_default.statusFilter, className),
|
|
8083
8178
|
"data-status": pressed ? void 0 : status,
|
|
@@ -8168,7 +8263,7 @@ function init_TestingWidget() {
|
|
|
8168
8263
|
onClick: (e) => toggleCollapsed(e),
|
|
8169
8264
|
id: "testing-module-collapse-toggle",
|
|
8170
8265
|
ariaLabel: isCollapsed ? "Expand testing module" : "Collapse testing module"
|
|
8171
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
8266
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(ChevronUpIcon, { style: {
|
|
8172
8267
|
transform: isCollapsed ? "none" : "rotate(180deg)",
|
|
8173
8268
|
transition: "transform 250ms"
|
|
8174
8269
|
} })), errorCount > 0 && /* @__PURE__ */ _storybook_global_react_default.createElement(StatusFilter, {
|
|
@@ -8205,7 +8300,7 @@ function init_TestingWidget() {
|
|
|
8205
8300
|
},
|
|
8206
8301
|
disabled: isRunning,
|
|
8207
8302
|
ariaLabel: isRunning ? "Can't clear statuses while tests are running" : "Clear all statuses"
|
|
8208
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
8303
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(BrushCleaningIcon, null)))), hasTestProviders && /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
|
|
8209
8304
|
className: TestingWidget_module_default.collapsible,
|
|
8210
8305
|
"data-testid": "collapse",
|
|
8211
8306
|
...isCollapsed && { inert: "" },
|
|
@@ -8422,8 +8517,8 @@ function init_Sidebar_module() {
|
|
|
8422
8517
|
document.head.appendChild(style);
|
|
8423
8518
|
}
|
|
8424
8519
|
Sidebar_module_default = {
|
|
8425
|
-
"
|
|
8426
|
-
"
|
|
8520
|
+
"stack": "fb-z4QHiG-stack",
|
|
8521
|
+
"container": "fb-z4QHiG-container"
|
|
8427
8522
|
};
|
|
8428
8523
|
})))();
|
|
8429
8524
|
}
|
|
@@ -8510,7 +8605,6 @@ function init_Sidebar() {
|
|
|
8510
8605
|
}, "Forkbook"), /* @__PURE__ */ _storybook_global_react_default.createElement(IconSymbols, null), /* @__PURE__ */ _storybook_global_react_default.createElement(ScrollArea, {
|
|
8511
8606
|
vertical: true,
|
|
8512
8607
|
offset: 2,
|
|
8513
|
-
scrollbarSize: 3,
|
|
8514
8608
|
scrollPadding: "4rem"
|
|
8515
8609
|
}, /* @__PURE__ */ _storybook_global_react_default.createElement("div", { className: Sidebar_module_default.stack }, /* @__PURE__ */ _storybook_global_react_default.createElement("div", null, /* @__PURE__ */ _storybook_global_react_default.createElement(Heading, {
|
|
8516
8610
|
className: "sidebar-header",
|
|
@@ -8554,7 +8648,7 @@ function init_Menu$1() {
|
|
|
8554
8648
|
init__storybook_global_react();
|
|
8555
8649
|
init_components();
|
|
8556
8650
|
init_core_events();
|
|
8557
|
-
|
|
8651
|
+
init__storybook_global_lucide_react();
|
|
8558
8652
|
init_Shortcut();
|
|
8559
8653
|
useMenu = ({ api, showToolbar, isPanelShown, isNavShown, enableShortcuts }) => {
|
|
8560
8654
|
const shortcutKeys = api.getShortcutKeys();
|
|
@@ -8562,7 +8656,7 @@ function init_Menu$1() {
|
|
|
8562
8656
|
id: "about",
|
|
8563
8657
|
title: "About your Forkbook",
|
|
8564
8658
|
onClick: () => api.changeSettingsTab("about"),
|
|
8565
|
-
href: "
|
|
8659
|
+
href: "./settings/about",
|
|
8566
8660
|
internal: true,
|
|
8567
8661
|
closeOnClick: true,
|
|
8568
8662
|
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(InfoIcon, null)
|
|
@@ -8571,7 +8665,7 @@ function init_Menu$1() {
|
|
|
8571
8665
|
id: "shortcuts",
|
|
8572
8666
|
title: "Keyboard shortcuts",
|
|
8573
8667
|
onClick: () => api.changeSettingsTab("shortcuts"),
|
|
8574
|
-
href: "
|
|
8668
|
+
href: "./settings/shortcuts",
|
|
8575
8669
|
internal: true,
|
|
8576
8670
|
closeOnClick: true,
|
|
8577
8671
|
right: enableShortcuts ? /* @__PURE__ */ _storybook_global_react_default.createElement(Shortcut, { keys: shortcutKeys.shortcutsPage }) : null,
|
|
@@ -8685,7 +8779,7 @@ function init_Menu$1() {
|
|
|
8685
8779
|
versioned: true,
|
|
8686
8780
|
renderer: true
|
|
8687
8781
|
}),
|
|
8688
|
-
right: /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
8782
|
+
right: /* @__PURE__ */ _storybook_global_react_default.createElement(ActionList.Icon, null, /* @__PURE__ */ _storybook_global_react_default.createElement(Share2Icon, null)),
|
|
8689
8783
|
icon: /* @__PURE__ */ _storybook_global_react_default.createElement(FileTextIcon, null)
|
|
8690
8784
|
};
|
|
8691
8785
|
}, [api]);
|
|
@@ -8868,15 +8962,16 @@ function renderStorybookUI(domNode, provider) {
|
|
|
8868
8962
|
provider
|
|
8869
8963
|
}));
|
|
8870
8964
|
}
|
|
8871
|
-
var
|
|
8965
|
+
var Root, Main;
|
|
8872
8966
|
function init_manager() {
|
|
8873
8967
|
return (init_manager = __esmMin((() => {
|
|
8968
|
+
init_HomePages();
|
|
8874
8969
|
init__storybook_global_react();
|
|
8875
8970
|
init_client();
|
|
8876
8971
|
init_manager_errors$1();
|
|
8877
8972
|
init_router();
|
|
8878
8973
|
init_global();
|
|
8879
|
-
|
|
8974
|
+
init__storybook_global_lucide_react();
|
|
8880
8975
|
init_index_module();
|
|
8881
8976
|
init_manager_api();
|
|
8882
8977
|
init_theming();
|
|
@@ -8886,7 +8981,6 @@ function init_manager() {
|
|
|
8886
8981
|
init_settings();
|
|
8887
8982
|
ThemeProvider.displayName = "ThemeProvider";
|
|
8888
8983
|
q.displayName = "HelmetProvider";
|
|
8889
|
-
ICONS = { size: 14 };
|
|
8890
8984
|
Root = ({ provider }) => /* @__PURE__ */ _storybook_global_react_default.createElement(q, { key: "helmet.Provider" }, /* @__PURE__ */ _storybook_global_react_default.createElement(LocationProvider, { key: "location.provider" }, /* @__PURE__ */ _storybook_global_react_default.createElement(Main, { provider })));
|
|
8891
8985
|
Main = ({ provider }) => {
|
|
8892
8986
|
const navigate = useNavigate();
|
|
@@ -8901,11 +8995,16 @@ function init_manager() {
|
|
|
8901
8995
|
const setManagerLayoutState = useCallback((sizes) => {
|
|
8902
8996
|
api.setSizes(sizes);
|
|
8903
8997
|
}, [api]);
|
|
8904
|
-
const pages = useMemo(() => [
|
|
8998
|
+
const pages = useMemo(() => [
|
|
8999
|
+
settingsPageAddon,
|
|
9000
|
+
homePageAddon,
|
|
9001
|
+
allStoriesPageAddon,
|
|
9002
|
+
...Object.values(api.getElements(types.experimental_PAGE))
|
|
9003
|
+
], [Object.keys(api.getElements(types.experimental_PAGE)).join()]);
|
|
8905
9004
|
return /* @__PURE__ */ _storybook_global_react_default.createElement(ThemeProvider, {
|
|
8906
9005
|
key: "theme.provider",
|
|
8907
9006
|
theme: ensure(state.theme)
|
|
8908
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(
|
|
9007
|
+
}, /* @__PURE__ */ _storybook_global_react_default.createElement(LucideProvider, { size: 14 }, /* @__PURE__ */ _storybook_global_react_default.createElement(LayoutProvider, null, /* @__PURE__ */ _storybook_global_react_default.createElement(App, {
|
|
8909
9008
|
key: "app",
|
|
8910
9009
|
pages,
|
|
8911
9010
|
managerLayoutState: {
|