@aussieljk/forkbook 0.0.1-2 → 0.0.1-3
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/addon-vitest/templates/vitest.config.4.template.ts +2 -2
- package/assets/browser/favicon-wrapper.svg +4 -4
- package/assets/browser/favicon.svg +1 -1
- package/assets/browser/inter-LICENSE.txt +92 -0
- package/assets/browser/inter-variable-italic.woff2 +0 -0
- package/assets/browser/inter-variable.woff2 +0 -0
- package/assets/browser/mirror-ball.png +0 -0
- package/assets/builder-vite/iframe.html +8 -24
- package/assets/create/rendererAssets/common/Configure.mdx +100 -100
- package/assets/create/rendererAssets/common/button.css +1 -1
- package/assets/create/rendererAssets/common/header.css +1 -1
- package/assets/create/rendererAssets/common/page.css +2 -2
- package/assets/server/base-preview-body.html +32 -32
- package/assets/server/base-preview-head.html +86 -86
- package/assets/server/template.ejs +11 -26
- package/dist/_browser-chunks/{Color-PCLE2J36.js → Color-PSH7RHPM.js} +5 -5
- package/dist/_browser-chunks/{WithTooltip-XSQFTBMB.js → WithTooltip-JLXUJSYD.js} +3 -3
- package/dist/_browser-chunks/{chunk-66OCZ54D.js → chunk-3HM3VWJS.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFAOWGL7.js → chunk-3M5T7BW4.js} +1 -1
- package/dist/_browser-chunks/{chunk-2MEPHP35.js → chunk-4KIQBRD2.js} +1 -1
- package/dist/_browser-chunks/{chunk-OQWFVDIN.js → chunk-5H4KFI44.js} +1 -1
- package/dist/_browser-chunks/{chunk-C3D4HEFY.js → chunk-6SHRDXGF.js} +24 -24
- package/dist/_browser-chunks/{chunk-6SXYJQST.js → chunk-76222HQR.js} +1 -1
- package/dist/_browser-chunks/{chunk-JSBKXXXF.js → chunk-7DQREF4S.js} +1 -1
- package/dist/_browser-chunks/{chunk-RSPAQWVJ.js → chunk-BNP234B4.js} +1 -1
- package/dist/_browser-chunks/{chunk-JYVGARBG.js → chunk-DCZTO4JJ.js} +68 -76
- package/dist/_browser-chunks/{chunk-P6PK47TQ.js → chunk-DS2WQZGO.js} +7 -21
- package/dist/_browser-chunks/{chunk-FJGWSWL5.js → chunk-DYNTDJ3O.js} +3 -3
- package/dist/_browser-chunks/{chunk-KQ7CRO2B.js → chunk-EE42XVSP.js} +8 -8
- package/dist/_browser-chunks/{chunk-ODVJ3XZJ.js → chunk-GRO2ZYEJ.js} +2 -2
- package/dist/_browser-chunks/{chunk-LV5PIKV4.js → chunk-GU3X2J4S.js} +2 -2
- package/dist/_browser-chunks/{chunk-MDOL7KML.js → chunk-K2B36HKM.js} +1 -1
- package/dist/_browser-chunks/{chunk-CFWWCCZV.js → chunk-K6GRZSXS.js} +1 -1
- package/dist/_browser-chunks/{chunk-YTIT5NA5.js → chunk-KYSD26D6.js} +3 -3
- package/dist/_browser-chunks/{chunk-RNTIV5CE.js → chunk-LYYXDWR2.js} +9 -9
- package/dist/_browser-chunks/{chunk-V5M7Q4HT.js → chunk-MJIDTL3X.js} +4 -14
- package/dist/_browser-chunks/{chunk-OD6IBQCC.js → chunk-N3NRW5XX.js} +2 -2
- package/dist/_browser-chunks/{chunk-V2G23FV7.js → chunk-N5WQGLI7.js} +1 -1
- package/dist/_browser-chunks/{chunk-W5M6NPS3.js → chunk-NMRSYACM.js} +2 -2
- package/dist/_browser-chunks/{chunk-YEKO6BHJ.js → chunk-ONTSNQON.js} +1 -1
- package/dist/_browser-chunks/{chunk-PFRNG3UC.js → chunk-PPZ2HCWJ.js} +4 -4
- package/dist/_browser-chunks/{chunk-EIYAKDGP.js → chunk-SZCSXISG.js} +124 -104
- package/dist/_browser-chunks/{chunk-JMC7AIKT.js → chunk-UDQ3XQFC.js} +1 -1
- package/dist/_browser-chunks/{chunk-MFMDGWP6.js → chunk-ZLWA5RIE.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-I2G4WLJI.js → attached-runtime-KZYKMMDD.js} +29 -29
- package/dist/_node-chunks/{builder-manager-VVHYQXCH.js → builder-manager-337QQEZ6.js} +32 -32
- package/dist/_node-chunks/{chunk-3T4ZSNPH.js → chunk-224FM5GP.js} +8 -8
- package/dist/_node-chunks/chunk-22OJYYPD.js +18 -0
- package/dist/_node-chunks/{chunk-JGGFYIG5.js → chunk-26MVQWHR.js} +7 -7
- package/dist/_node-chunks/{chunk-JZOO7GGC.js → chunk-27HJO5MV.js} +6 -6
- package/dist/_node-chunks/{chunk-UMUBKI6E.js → chunk-27KGUS37.js} +25 -25
- package/dist/_node-chunks/{chunk-E6YESGLX.js → chunk-2D7P5VUJ.js} +30 -30
- package/dist/_node-chunks/{chunk-SVTBJ7Q3.js → chunk-2OI3EZE2.js} +6 -6
- package/dist/_node-chunks/{chunk-IK4FGZLR.js → chunk-34YSGPI4.js} +6 -6
- package/dist/_node-chunks/{chunk-6YKBRP72.js → chunk-4RSOZZZV.js} +6 -6
- package/dist/_node-chunks/{chunk-ZMAMXQKP.js → chunk-4ZGNL77M.js} +7 -7
- package/dist/_node-chunks/{chunk-34EO2PUT.js → chunk-4ZHC3GG3.js} +6 -6
- package/dist/_node-chunks/{chunk-RXNJDRGO.js → chunk-6RQIIUDQ.js} +9 -9
- package/dist/_node-chunks/{chunk-XGIUVY52.js → chunk-7QGX7Z6B.js} +7 -7
- package/dist/_node-chunks/{chunk-YCMRA6RX.js → chunk-7VZYI3NI.js} +7 -7
- package/dist/_node-chunks/{chunk-WNZ2UMFM.js → chunk-A6EXJJZU.js} +8 -8
- package/dist/_node-chunks/{chunk-42UWAGPW.js → chunk-AJ3YH5VH.js} +8 -8
- package/dist/_node-chunks/{chunk-CCOTJ4FC.js → chunk-AKBNFQKK.js} +8 -8
- package/dist/_node-chunks/{chunk-RRN2V55B.js → chunk-AKF2FB7S.js} +7 -7
- package/dist/_node-chunks/{chunk-YZFWBA5L.js → chunk-ANOZDFMW.js} +13 -13
- package/dist/_node-chunks/{chunk-4FEANXWU.js → chunk-APM5SEWT.js} +12 -12
- package/dist/_node-chunks/{chunk-NPO45IMH.js → chunk-AQSROIPB.js} +6 -6
- package/dist/_node-chunks/{chunk-3Y6AAY5H.js → chunk-CC4WWASR.js} +8 -8
- package/dist/_node-chunks/{chunk-LCK4ZQKG.js → chunk-CE66ARL5.js} +9 -9
- package/dist/_node-chunks/{chunk-GEFQN7K3.js → chunk-CHOJKLHP.js} +8 -8
- package/dist/_node-chunks/{chunk-QEQLR22M.js → chunk-COJPWKDE.js} +7 -7
- package/dist/_node-chunks/{chunk-BS2WMZMR.js → chunk-CVQGQ2MI.js} +7 -7
- package/dist/_node-chunks/{chunk-CXRU72ET.js → chunk-CYPEPQSM.js} +6 -6
- package/dist/_node-chunks/{chunk-2DSIDINN.js → chunk-D44WSSIU.js} +7 -7
- package/dist/_node-chunks/{chunk-ET7PWEO7.js → chunk-DG3DK4ZH.js} +10 -10
- package/dist/_node-chunks/{chunk-TNJIXE37.js → chunk-DI76R3EI.js} +6 -6
- package/dist/_node-chunks/{chunk-6KEHV53S.js → chunk-DSHYY7ZB.js} +14 -14
- package/dist/_node-chunks/{chunk-TFEWM4E3.js → chunk-EJ6XL2KN.js} +8 -8
- package/dist/_node-chunks/{chunk-RWFIFGO5.js → chunk-EM3MZKXS.js} +7 -7
- package/dist/_node-chunks/{chunk-KISMCCP5.js → chunk-EYKTEH7V.js} +10 -10
- package/dist/_node-chunks/{chunk-B5J7Q7J4.js → chunk-GTM64XRQ.js} +6 -6
- package/dist/_node-chunks/{chunk-2BUPBPFB.js → chunk-GURMTBQH.js} +7 -7
- package/dist/_node-chunks/{chunk-FK7KGTV7.js → chunk-HC2QE2VI.js} +6 -6
- package/dist/_node-chunks/{chunk-6LMWA44H.js → chunk-HG3U5FMZ.js} +8 -8
- package/dist/_node-chunks/{chunk-IDEL2J23.js → chunk-HLT3PHJN.js} +6 -6
- package/dist/_node-chunks/{chunk-Q7QNUM5H.js → chunk-HNCTPOQK.js} +6 -6
- package/dist/_node-chunks/{chunk-TFCEV2XX.js → chunk-HOROZKYE.js} +6 -6
- package/dist/_node-chunks/{chunk-SLWQNBGO.js → chunk-HS3YKDIQ.js} +10 -10
- package/dist/_node-chunks/{chunk-DC7DKR5K.js → chunk-I7BJLOF5.js} +6 -6
- package/dist/_node-chunks/{chunk-EHUNOMDD.js → chunk-IGAYUOMN.js} +10 -10
- package/dist/_node-chunks/{chunk-F3ZFKBHY.js → chunk-J4WM6PLB.js} +8 -8
- package/dist/_node-chunks/{chunk-TEQGGSP7.js → chunk-JD5NDU6F.js} +6 -6
- package/dist/_node-chunks/{chunk-BXVYT7SB.js → chunk-JQDKICKC.js} +6 -6
- package/dist/_node-chunks/{chunk-RZMQ7S3L.js → chunk-KGJPHNM7.js} +6 -6
- package/dist/_node-chunks/{chunk-NIBT7XDZ.js → chunk-KSOJ65P3.js} +6 -6
- package/dist/_node-chunks/{chunk-TD5PLLQG.js → chunk-LEUTSNSA.js} +6 -6
- package/dist/_node-chunks/{chunk-WZJF2OUH.js → chunk-LJ5HNC36.js} +7 -7
- package/dist/_node-chunks/{chunk-V2DY426G.js → chunk-LMMUUQFW.js} +8 -8
- package/dist/_node-chunks/{chunk-5DQFEZEA.js → chunk-LNOZLCJT.js} +6 -6
- package/dist/_node-chunks/{chunk-3W7F2B7P.js → chunk-MCPP73WS.js} +6 -6
- package/dist/_node-chunks/{chunk-W4OMYLSP.js → chunk-MMMIVLRV.js} +37 -37
- package/dist/_node-chunks/{chunk-JPAZLYJ3.js → chunk-MY7DHPSK.js} +6 -6
- package/dist/_node-chunks/chunk-MZ4CONV4.js +20 -0
- package/dist/_node-chunks/{chunk-LO56I6E2.js → chunk-N4DKR3HN.js} +8 -8
- package/dist/_node-chunks/{chunk-SWO5CDYU.js → chunk-NF3GSBMC.js} +8 -8
- package/dist/_node-chunks/{chunk-BSKFCWQD.js → chunk-OA6BPTG5.js} +7 -7
- package/dist/_node-chunks/{chunk-FW2HQUBQ.js → chunk-OGQBLJGR.js} +6 -6
- package/dist/_node-chunks/{chunk-WCULS5TP.js → chunk-OMFATFOJ.js} +7 -7
- package/dist/_node-chunks/{chunk-H32DYT6P.js → chunk-OSE2FYQP.js} +6 -6
- package/dist/_node-chunks/{chunk-EWOX7HPJ.js → chunk-PRXD2EYH.js} +6 -6
- package/dist/_node-chunks/{chunk-SIEXZVCR.js → chunk-PT7NX73C.js} +6 -6
- package/dist/_node-chunks/{chunk-LXBD4UL4.js → chunk-QDZFSC26.js} +6 -6
- package/dist/_node-chunks/{chunk-7GUDZVRQ.js → chunk-QTRP6K2A.js} +6 -6
- package/dist/_node-chunks/{chunk-H4PPVMP5.js → chunk-R2ZIMVYL.js} +6 -6
- package/dist/_node-chunks/{chunk-OUW6R7C3.js → chunk-RGAJGDCU.js} +6 -6
- package/dist/_node-chunks/{chunk-XI6B6P47.js → chunk-RKUAUXH6.js} +6 -6
- package/dist/_node-chunks/{chunk-MK2KYAI6.js → chunk-RNZL535Q.js} +13 -13
- package/dist/_node-chunks/{chunk-GRBLDJCR.js → chunk-S73KB2DE.js} +24 -24
- package/dist/_node-chunks/{chunk-U5W53R2J.js → chunk-SFPEJYWG.js} +22 -32
- package/dist/_node-chunks/{chunk-3BKIBF5S.js → chunk-SPN2VCN7.js} +8 -8
- package/dist/_node-chunks/{chunk-DUR55DJJ.js → chunk-SVRE646L.js} +35 -35
- package/dist/_node-chunks/{chunk-VLOXOXXE.js → chunk-T5D7JJMY.js} +9 -9
- package/dist/_node-chunks/{chunk-DHJFTB4K.js → chunk-TM4SF5U2.js} +7 -7
- package/dist/_node-chunks/{chunk-ICPBH3E7.js → chunk-TVYJB2XE.js} +7 -7
- package/dist/_node-chunks/{chunk-FPZB5OI7.js → chunk-TY2RQWQ7.js} +6 -6
- package/dist/_node-chunks/{chunk-JDXXX6LB.js → chunk-TZKXP2KS.js} +6 -6
- package/dist/_node-chunks/{chunk-TWI4GVH7.js → chunk-U2C4SK3A.js} +6 -6
- package/dist/_node-chunks/{chunk-CQKMLL5J.js → chunk-U3ZISTY3.js} +7 -7
- package/dist/_node-chunks/{chunk-XHL2LVBM.js → chunk-U736OTI6.js} +13 -13
- package/dist/_node-chunks/chunk-U7MSJ3A6.js +11 -0
- package/dist/_node-chunks/{chunk-TINO74G5.js → chunk-URBTH3SB.js} +6 -6
- package/dist/_node-chunks/{chunk-OWNFOGTA.js → chunk-US5P4ZWN.js} +7 -7
- package/dist/_node-chunks/{chunk-MA24JW6C.js → chunk-UWLMMCBV.js} +8 -8
- package/dist/_node-chunks/{chunk-OISX4AGQ.js → chunk-V3WMH7C4.js} +7 -7
- package/dist/_node-chunks/{chunk-XLP2ZKXV.js → chunk-W6ZSSLD7.js} +7 -7
- package/dist/_node-chunks/{chunk-UBOGWBEA.js → chunk-WALLDPES.js} +10 -10
- package/dist/_node-chunks/{chunk-UVINFLGY.js → chunk-WEQUS77K.js} +7 -7
- package/dist/_node-chunks/{chunk-ZWBCQ4MJ.js → chunk-WK5562IZ.js} +8 -8
- package/dist/_node-chunks/{chunk-NDWKJ4CL.js → chunk-XPSQ3CGZ.js} +36 -35
- package/dist/_node-chunks/{chunk-HMP2G23X.js → chunk-YM5GSNOW.js} +6 -6
- package/dist/_node-chunks/{chunk-3SDUYDXH.js → chunk-ZZJRM4VQ.js} +7 -7
- package/dist/_node-chunks/dist-PLKLDZ2U.js +16 -0
- package/dist/_node-chunks/{globby-OEMHPBFY.js → globby-7JAOKACZ.js} +10 -10
- package/dist/_node-chunks/{jiti-NFX6UU74.js → jiti-NTDVBCL3.js} +7 -7
- package/dist/_node-chunks/{lib-MDVARD7W.js → lib-GO6OUNCW.js} +7 -7
- package/dist/_node-chunks/{local-runtime-NTKIN2QT.js → local-runtime-75CNASLU.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-MWISDWDQ.js → mdx-plugin-CC54EOSI.js} +14 -14
- package/dist/_node-chunks/{monorepo-LIRFMQXE.js → monorepo-YQLAQDZJ.js} +12 -12
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-SNHO4JTH.js} +12 -12
- package/dist/_node-chunks/optimized-tests-L75JY37J.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-EKHIUAU2.js → pattern-copy-play-IMDJHSAD.js} +10 -10
- package/dist/_node-chunks/postinstallAddon-PSVXEIZJ.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-BUN3HUCO.js → rehype-external-links-EZO7JZTZ.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-PLADX223.js → rehype-slug-MECGIEGM.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-GBHW6KIQ.js → relaxed-limits-4UOQIT3N.js} +12 -12
- package/dist/_node-chunks/{run-KDTIZNSY.js → run-3YFS3YCP.js} +17 -17
- package/dist/_node-chunks/{run-NL66VTNR.js → run-LTXOQNKP.js} +13 -13
- package/dist/_node-chunks/session-id-PEDFG544.js +23 -0
- package/dist/_node-chunks/{setup-MGC7BQO6.js → setup-2CNFOQBB.js} +9 -9
- package/dist/_node-chunks/{vitest.config.4.template-JH2THZFG.js → vitest.config.4.template-MAPM7IJT.js} +9 -9
- package/dist/actions/decorator.js +2 -2
- package/dist/actions/index.d.ts +1 -1
- package/dist/actions/index.js +2 -2
- package/dist/addon-a11y/index.d.ts +3 -3
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +18 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +46 -46
- package/dist/addon-docs/index.d.ts +19 -19
- package/dist/addon-docs/manager.js +5 -5
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +27 -19
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-ondevice-controls/index.js +1 -1
- package/dist/addon-ondevice-controls/register.js +1 -1
- package/dist/addon-pseudo-states/index.d.ts +1 -1
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/index.d.ts +1 -1
- package/dist/addon-themes/index.js +2 -2
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-themes/preview.js +2 -2
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +12 -12
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +17 -17
- 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 +8 -8
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +3 -3
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +12 -12
- package/dist/backgrounds/index.d.ts +1 -1
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +9 -9
- package/dist/builder-vite/index.js +17 -17
- package/dist/builder-vite/preset.js +13 -13
- package/dist/channels/index.js +6 -6
- package/dist/{chunk-Dw1z1Pki.d.ts → chunk-B2xylxt5.d.ts} +43 -43
- package/dist/{chunk-C-bavsOH.d.ts → chunk-BWzbIWPz.d.ts} +1 -1
- package/dist/{chunk-CwQKNaYL.d.ts → chunk-BYnH2sbb.d.ts} +1 -1
- package/dist/{chunk-CMeX4WRe.d.ts → chunk-CT2iXaHz.d.ts} +1 -1
- package/dist/{chunk-DzuY9DXg.d.ts → chunk-DDd8BhTY.d.ts} +2 -2
- package/dist/{chunk-BTVrWliM.d.ts → chunk-DF6btpT3.d.ts} +1 -1
- package/dist/{chunk-C2p5r3Vt.d.ts → chunk-DIz17UEJ.d.ts} +20 -20
- package/dist/{chunk-gCX81nOr.d.ts → chunk-DgzPaTw9.d.ts} +3 -3
- package/dist/{chunk-Kt1tW-D1.d.ts → chunk-Dm-iHJ-s.d.ts} +3 -3
- package/dist/{chunk-DtHByo32.d.ts → chunk-DuDsmeM7.d.ts} +1 -1
- package/dist/{chunk-DEVFdzxR.d.ts → chunk-DvufcbCc.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +26 -26
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.d.ts +8 -7
- package/dist/components/index.js +223 -228
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +77 -77
- package/dist/core-server/presets/common-manager.js +49 -49
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +44 -44
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +5 -5
- package/dist/csf/index.js +29 -29
- package/dist/csf-tools/index.js +13 -13
- package/dist/docs-tools/index.js +2 -2
- package/dist/highlight/index.d.ts +1 -1
- package/dist/instrumenter/index.js +5 -5
- package/dist/manager/_manager-chunks/{globals-runtime-DpNYC-qi.js → globals-runtime-C9lYPobZ.js} +408 -429
- package/dist/manager/_manager-chunks/{globals-runtime-sGpNlIJ1.js → globals-runtime-CejY7Ueo.js} +125 -133
- package/dist/manager/_manager-chunks/{globals-runtime-qKvCZHFY.js → globals-runtime-DGHmnlvz.js} +38 -62
- package/dist/manager/_manager-chunks/{globals-runtime-Rp_zjGnh.js → globals-runtime-DH1Y5Kk_.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-eDVAYF7N.js → runtime-50_aob4S.js} +2 -2
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +998 -0
- package/dist/manager/_manager-chunks/{runtime-D0UOWx0U.js → runtime-B6gJfDvO.js} +58 -58
- package/dist/manager/_manager-chunks/{runtime-D94Vq3oR.js → runtime-B9QzcYO3.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-i-PDAHLR.js → runtime-BGvLm94o.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-cp5pazY2.js → runtime-BzYARKgi.js} +427 -425
- package/dist/manager/_manager-chunks/{runtime-BK0zF7FN.js → runtime-CaVSkVCV.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-BhkT2CXl.js → runtime-CcCplmkX.js} +17 -27
- package/dist/manager/_manager-chunks/{runtime-B1L9TH89.js → runtime-wL4UO7YO.js} +12 -12
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +12 -12
- package/dist/manager/globals.js +12 -12
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +18 -47
- package/dist/manager-errors.d.ts +1 -1
- package/dist/manager-errors.js +2 -2
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.d.ts +2 -2
- package/dist/mocking-utils/index.js +15 -15
- package/dist/mocking-utils/mocker-runtime.js +2 -2
- package/dist/nextjs-vite/index.d.ts +1 -1
- package/dist/nextjs-vite/index.js +3 -3
- package/dist/nextjs-vite/node/index.d.ts +1 -1
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/preview.js +1 -1
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -1
- package/dist/nextjs-vite-plugin/index.js +11 -11
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +2 -2
- package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +2 -2
- 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/_chunks/{runtime-CxZK_Ln3.js → runtime-B3y8ocOg.js} +2 -2
- package/dist/preview/_chunks/{runtime-CsV4HZPV.js → runtime-BoxmlDdB.js} +66 -66
- package/dist/preview/_chunks/{runtime-BwSxqk3t.js → runtime-BsMjBzuq.js} +6 -16
- package/dist/preview/_chunks/{runtime-iXdo8CR8.js → runtime-CijtAN7R.js} +4 -4
- package/dist/preview/_chunks/{runtime-DuHdxMFA.js → runtime-D7B4bVe_.js} +3 -3
- package/dist/preview/_chunks/{runtime-DrTjJkPY.js → runtime-DVM_AHbR.js} +36 -36
- package/dist/preview/globals.d.ts +10 -10
- package/dist/preview/globals.js +10 -10
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +9 -9
- package/dist/preview-errors.d.ts +1 -1
- package/dist/preview-errors.js +2 -2
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/entry-preview.js +1 -1
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +3 -3
- package/dist/react/preset.js +14 -14
- package/dist/react/preview.d.ts +1 -1
- package/dist/react/preview.js +2 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.d.ts +6 -6
- package/dist/react-native/index.js +21 -20
- package/dist/react-native/metro/node.d.ts +2 -2
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.d.ts +1 -1
- package/dist/react-native/metro/withStorybook.js +16 -16
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-native-theming/index.js +57 -62
- package/dist/react-native-ui/index.js +7 -7
- package/dist/react-vite/index.d.ts +1 -1
- package/dist/react-vite/node/index.d.ts +1 -1
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.js +1 -1
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/index.js +2 -2
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/shared/open-service/toolsets/docs/public.d.ts +21 -21
- package/dist/telemetry/index.js +45 -45
- package/dist/test/index.js +2 -2
- package/dist/theming/create.js +1 -1
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/index.js +16 -16
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/viewport/index.d.ts +1 -1
- package/package.json +2 -2
- package/template/nextjs-vite/cli/js/Button.stories.js +6 -6
- package/template/nextjs-vite/cli/js/Configure.mdx +100 -100
- package/template/nextjs-vite/cli/js/Header.stories.js +2 -2
- package/template/nextjs-vite/cli/js/Page.jsx +2 -2
- package/template/nextjs-vite/cli/js/Page.stories.js +2 -2
- package/template/nextjs-vite/cli/ts/Button.stories.ts +6 -6
- package/template/nextjs-vite/cli/ts/Configure.mdx +84 -84
- package/template/nextjs-vite/cli/ts/Header.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.stories.ts +2 -2
- package/template/nextjs-vite/cli/ts/Page.tsx +2 -2
- package/template/react/cli/js/Button.stories.js +6 -6
- package/template/react/cli/js/Header.stories.js +2 -2
- package/template/react/cli/js/Page.jsx +2 -2
- package/template/react/cli/js/Page.stories.js +2 -2
- package/template/react/cli/ts/Button.stories.ts +6 -6
- package/template/react/cli/ts/Header.stories.ts +2 -2
- package/template/react/cli/ts/Page.stories.ts +2 -2
- package/template/react/cli/ts/Page.tsx +2 -2
- package/template/react-vite/cli/js/Button.stories.js +6 -6
- package/template/react-vite/cli/js/Header.stories.js +2 -2
- package/template/react-vite/cli/js/Page.jsx +2 -2
- package/template/react-vite/cli/js/Page.stories.js +2 -2
- package/template/react-vite/cli/ts/Button.stories.ts +6 -6
- package/template/react-vite/cli/ts/Header.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.stories.ts +2 -2
- package/template/react-vite/cli/ts/Page.tsx +2 -2
- package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-bold.woff2 +0 -0
- package/assets/browser/nunito-sans-italic.woff2 +0 -0
- package/assets/browser/nunito-sans-regular.woff2 +0 -0
- package/dist/_node-chunks/chunk-2RU7BKEW.js +0 -23
- package/dist/_node-chunks/chunk-FY6UXW6G.js +0 -11
- package/dist/_node-chunks/chunk-WAXVSN3O.js +0 -18
- package/dist/_node-chunks/dist-VTSTZKUB.js +0 -16
- package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +0 -22
- package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +0 -20
- package/dist/_node-chunks/session-id-KIIVOQLR.js +0 -23
- package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +0 -998
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-EE42XVSP.js";
|
|
5
5
|
import {
|
|
6
6
|
ArgsTable,
|
|
7
7
|
BooleanControl,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
parse,
|
|
22
22
|
parseDate,
|
|
23
23
|
parseTime
|
|
24
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
+
} from "../_browser-chunks/chunk-DCZTO4JJ.js";
|
|
25
25
|
import "../_browser-chunks/chunk-PJSMZ27A.js";
|
|
26
|
-
import "../_browser-chunks/chunk-
|
|
26
|
+
import "../_browser-chunks/chunk-PPZ2HCWJ.js";
|
|
27
27
|
import {
|
|
28
28
|
clsx
|
|
29
29
|
} from "../_browser-chunks/chunk-CNED6RYH.js";
|
|
@@ -42,22 +42,22 @@ import { withReset as withReset2 } from "@aussieljk/forkbook/internal/components
|
|
|
42
42
|
|
|
43
43
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/DocsPage.module.css
|
|
44
44
|
var id = "core/src/addon-docs/blocks/components/DocsPage.module.css";
|
|
45
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
45
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
46
46
|
let style = document.createElement("style");
|
|
47
|
-
style.setAttribute("data-
|
|
47
|
+
style.setAttribute("data-fb-css", id), style.textContent = ".fb-JTDUUW-subtitle{font-weight:var(--fb-weight-regular);font-size:var(--fb-size-s3);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .25));border-bottom:none;margin-bottom:15px;line-height:20px;@media (width>=600px){font-size:var(--fb-size-m1);margin-bottom:24px;line-height:28px}}.fb-JTDUUW-docsWrapper{background:var(--fb-background-content);box-sizing:border-box;flex-direction:row-reverse;justify-content:center;gap:3rem;min-height:100vh;padding:4rem 40px;display:flex}.fb-JTDUUW-docsContent{--docs-code-border:var(--fb-color-mediumlight);--docs-code-color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .1));--docs-code-background:var(--fb-color-lighter);--docs-even-row-background:var(--fb-color-lighter);flex:1;width:100%;min-width:0;max-width:1000px;& :where(a:not(.fb-anchor,.fb-unstyled,.fb-unstyled a)),& :where(blockquote:not(.fb-anchor,.fb-unstyled,.fb-unstyled blockquote)),& :where(div:not(.fb-anchor,.fb-unstyled,.fb-unstyled div)),& :where(dl:not(.fb-anchor,.fb-unstyled,.fb-unstyled dl)),& :where(h1:not(.fb-anchor,.fb-unstyled,.fb-unstyled h1)),& :where(h2:not(.fb-anchor,.fb-unstyled,.fb-unstyled h2)),& :where(h3:not(.fb-anchor,.fb-unstyled,.fb-unstyled h3)),& :where(h4:not(.fb-anchor,.fb-unstyled,.fb-unstyled h4)),& :where(h5:not(.fb-anchor,.fb-unstyled,.fb-unstyled h5)),& :where(h6:not(.fb-anchor,.fb-unstyled,.fb-unstyled h6)),& :where(li:not(.fb-anchor,.fb-unstyled,.fb-unstyled li)),& :where(ol:not(.fb-anchor,.fb-unstyled,.fb-unstyled ol)),& :where(p:not(.fb-anchor,.fb-unstyled,.fb-unstyled p)),& :where(pre:not(.fb-anchor,.fb-unstyled,.fb-unstyled pre)),& :where(span:not(.fb-anchor,.fb-unstyled,.fb-unstyled span)),& :where(table:not(.fb-anchor,.fb-unstyled,.fb-unstyled table)),& :where(ul:not(.fb-anchor,.fb-unstyled,.fb-unstyled ul)){font-family:var(--fb-font-base);font-size:var(--fb-size-s3);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:#0000;-webkit-overflow-scrolling:touch;margin:0}& :where(h1:not(.fb-anchor,.fb-unstyled,.fb-unstyled h1)),& :where(h2:not(.fb-anchor,.fb-unstyled,.fb-unstyled h2)),& :where(h3:not(.fb-anchor,.fb-unstyled,.fb-unstyled h3)),& :where(h4:not(.fb-anchor,.fb-unstyled,.fb-unstyled h4)),& :where(h5:not(.fb-anchor,.fb-unstyled,.fb-unstyled h5)),& :where(h6:not(.fb-anchor,.fb-unstyled,.fb-unstyled h6)){cursor:text;color:var(--fb-color-default-text);margin:20px 0 8px;padding:0;position:relative;&:first-of-type{margin-top:0;padding-top:0}&:hover a.anchor{text-decoration:none}& code{font-size:inherit}}& :where(li:not(.fb-anchor,.fb-unstyled,.fb-unstyled li)) code,& :where(p:not(.fb-anchor,.fb-unstyled,.fb-unstyled p)) code{white-space:nowrap;line-height:1;font-size:calc(var(--fb-size-s2) - 1px);border:1px solid var(--docs-code-border);color:var(--docs-code-color);background-color:var(--docs-code-background);border-radius:3px;margin:0 2px;padding:3px 5px}& :where(a:not(.fb-anchor,.fb-unstyled,.fb-unstyled a)){font-size:inherit;color:var(--fb-color-secondary);text-underline-offset:.11em;line-height:24px;text-decoration:underline .03125rem;&.absent{color:#c00}&.anchor{cursor:pointer;margin-left:-30px;padding-left:30px;text-decoration:none;display:block;position:absolute;top:0;bottom:0;left:0}&.anchor:hover,&.anchor:focus{text-decoration:underline}}& :where(blockquote:not(.fb-anchor,.fb-unstyled,.fb-unstyled blockquote)){border-left:4px solid var(--fb-color-medium);color:var(--fb-color-dark);margin:16px 0;padding:0 15px;&>:first-of-type{margin-top:0}&>:last-child{margin-bottom:0}}& :where(dl:not(.fb-anchor,.fb-unstyled,.fb-unstyled dl)){margin:16px 0;padding:0;& dt{margin:16px 0 4px;padding:0;font-size:14px;font-style:italic;font-weight:700}& dt:first-of-type{padding:0}& dt>:first-of-type{margin-top:0}& dt>:last-child{margin-bottom:0}& dd{margin:0 0 16px;padding:0 15px}& dd>:first-of-type{margin-top:0}& dd>:last-child{margin-bottom:0}}& :where(h1:not(.fb-anchor,.fb-unstyled,.fb-unstyled h1)){font-size:var(--fb-size-l1);font-weight:var(--fb-weight-bold)}& :where(h2:not(.fb-anchor,.fb-unstyled,.fb-unstyled h2)){font-size:var(--fb-size-m2);border-bottom:1px solid var(--fb-app-border-color);padding-bottom:4px}& :where(h3:not(.fb-anchor,.fb-unstyled,.fb-unstyled h3)){font-size:var(--fb-size-m1);font-weight:var(--fb-weight-bold)}& :where(h4:not(.fb-anchor,.fb-unstyled,.fb-unstyled h4)){font-size:var(--fb-size-s3)}& :where(h5:not(.fb-anchor,.fb-unstyled,.fb-unstyled h5)){font-size:var(--fb-size-s2)}& :where(h6:not(.fb-anchor,.fb-unstyled,.fb-unstyled h6)){font-size:var(--fb-size-s2);color:var(--fb-color-dark)}& :where(hr:not(.fb-anchor,.fb-unstyled,.fb-unstyled hr)){border:0;border-top:1px solid var(--fb-app-border-color);height:4px;padding:0}& :where(img:not(.fb-anchor,.fb-unstyled,.fb-unstyled img)){max-width:100%}& :where(li:not(.fb-anchor,.fb-unstyled,.fb-unstyled li)){font-size:var(--fb-size-s2);color:var(--fb-color-default-text);line-height:24px;&+li{margin-top:.25em}& ul,& ol{margin-top:.25em;margin-bottom:0}}& :where(ol:not(.fb-anchor,.fb-unstyled,.fb-unstyled ol)),& :where(ul:not(.fb-anchor,.fb-unstyled,.fb-unstyled ul)){margin:16px 0;padding-left:30px;& :first-of-type{margin-top:0}& :last-child{margin-bottom:0}}& :where(ul:not(.fb-anchor,.fb-unstyled,.fb-unstyled ul)){list-style:outside}& :where(p:not(.fb-anchor,.fb-unstyled,.fb-unstyled p)){font-size:var(--fb-size-s2);color:var(--fb-color-default-text);margin:16px 0;line-height:24px}& :where(pre:not(.fb-anchor,.fb-unstyled,.fb-unstyled pre)){font-family:var(--fb-font-mono);white-space:pre-wrap;color:inherit;border-radius:3px;margin:1rem 0;padding:11px 1rem;line-height:18px;&:not(.prismjs){background:0 0;border:none;border-radius:0;margin:0;padding:0}& pre,&.prismjs{white-space:pre-wrap;color:inherit;margin:0;padding:15px;font-size:13px;line-height:19px;& code{color:inherit;font-size:inherit}}& code{white-space:pre}& code,& tt{border:none}}& :where(span:not(.fb-anchor,.fb-unstyled,.fb-unstyled span)){&.frame{display:block;overflow:hidden;&>span{border:1px solid var(--fb-color-medium);float:left;width:auto;margin:13px 0 0;padding:7px;display:block;overflow:hidden}& span img{float:left;display:block}& span span{clear:both;color:var(--fb-color-darkest);padding:5px 0 0;display:block}}&.align-center{clear:both;display:block;overflow:hidden;&>span{text-align:center;margin:13px auto 0;display:block;overflow:hidden}& span img{text-align:center;margin:0 auto}}&.align-right{clear:both;display:block;overflow:hidden;&>span{text-align:right;margin:13px 0 0;display:block;overflow:hidden}& span img{text-align:right;margin:0}}&.float-left{float:left;margin-right:13px;display:block;overflow:hidden;& span{margin:13px 0 0}}&.float-right{float:right;margin-left:13px;display:block;overflow:hidden;&>span{text-align:right;margin:13px auto 0;display:block;overflow:hidden}}}& :where(table:not(.fb-anchor,.fb-unstyled,.fb-unstyled table)){font-size:var(--fb-size-s2);border-collapse:collapse;margin:16px 0;padding:0;line-height:24px;& tr{border-top:1px solid var(--fb-app-border-color);margin:0;padding:0}& tr:nth-of-type(2n){background-color:var(--docs-even-row-background)}& tr th{color:var(--fb-color-default-text);border:1px solid var(--fb-app-border-color);margin:0;padding:6px 13px;font-weight:700}& tr td{border:1px solid var(--fb-app-border-color);color:var(--fb-color-default-text);margin:0;padding:6px 13px}& tr th :first-of-type,& tr td :first-of-type{margin-top:0}& tr th :last-child,& tr td :last-child{margin-bottom:0}}}:where([data-fb-theme=dark]) .fb-JTDUUW-docsContent{--docs-code-border:var(--fb-color-darker);--docs-code-color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));--docs-code-background:var(--fb-color-border);--docs-even-row-background:var(--fb-color-darker)}", document.head.appendChild(style);
|
|
48
48
|
}
|
|
49
|
-
var DocsPage_default = { docsWrapper: "
|
|
49
|
+
var DocsPage_default = { docsWrapper: "fb-JTDUUW-docsWrapper", docsContent: "fb-JTDUUW-docsContent", subtitle: "fb-JTDUUW-subtitle" };
|
|
50
50
|
|
|
51
51
|
// src/addon-docs/blocks/components/Title.tsx
|
|
52
52
|
import { withReset } from "@aussieljk/forkbook/internal/components";
|
|
53
53
|
|
|
54
54
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/Title.module.css
|
|
55
55
|
var id2 = "core/src/addon-docs/blocks/components/Title.module.css";
|
|
56
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
56
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"]`)) {
|
|
57
57
|
let style = document.createElement("style");
|
|
58
|
-
style.setAttribute("data-
|
|
58
|
+
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-sjHF1G-title{color:var(--fb-color-default-text);font-size:var(--fb-size-m3);font-weight:var(--fb-weight-bold);line-height:32px;@media (width>=600px){font-size:var(--fb-size-l1);margin-bottom:16px;line-height:36px}}", document.head.appendChild(style);
|
|
59
59
|
}
|
|
60
|
-
var Title_default = { title: "
|
|
60
|
+
var Title_default = { title: "fb-sjHF1G-title" };
|
|
61
61
|
|
|
62
62
|
// src/addon-docs/blocks/components/Title.tsx
|
|
63
63
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -171,11 +171,11 @@ var getStoryId = (props, context) => {
|
|
|
171
171
|
|
|
172
172
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/BlockBackground.module.css
|
|
173
173
|
var id3 = "core/src/addon-docs/blocks/components/BlockBackground.module.css";
|
|
174
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
174
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"]`)) {
|
|
175
175
|
let style = document.createElement("style");
|
|
176
|
-
style.setAttribute("data-
|
|
176
|
+
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-x3oNsa-blockBackground{border-radius:var(--fb-app-border-radius);background:var(--fb-background-content);border:1px solid var(--fb-app-border-color);box-shadow:0 1px 3px #0000001a}:where([data-fb-theme=dark]) .fb-x3oNsa-blockBackground{box-shadow:0 2px 5px #0003}", document.head.appendChild(style);
|
|
177
177
|
}
|
|
178
|
-
var BlockBackground_default = { blockBackground: "
|
|
178
|
+
var BlockBackground_default = { blockBackground: "fb-x3oNsa-blockBackground" };
|
|
179
179
|
|
|
180
180
|
// src/addon-docs/blocks/components/BlockBackgroundStyles.tsx
|
|
181
181
|
var blockBackground = BlockBackground_default.blockBackground;
|
|
@@ -292,13 +292,13 @@ var storyBlockIdFromId = ({ story, primary }) => `story--${story.id}${primary ?
|
|
|
292
292
|
"iframe"
|
|
293
293
|
) }) }), Story = (props) => {
|
|
294
294
|
let { inline, story } = props;
|
|
295
|
-
return inline && !props.autoplay && story.usesMount ? jsxs2("strong", { style: { color: "var(--
|
|
295
|
+
return inline && !props.autoplay && story.usesMount ? jsxs2("strong", { style: { color: "var(--fb-color-orange)" }, children: [
|
|
296
296
|
"This story mounts inside of play. Set",
|
|
297
297
|
" ",
|
|
298
|
-
jsx6("a", { href: "https://
|
|
298
|
+
jsx6("a", { href: "https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-story#autoplay", children: "autoplay" }),
|
|
299
299
|
" ",
|
|
300
300
|
"to true to view this story."
|
|
301
|
-
] }) : jsx6("div", { id: storyBlockIdFromId(props), className: "
|
|
301
|
+
] }) : jsx6("div", { id: storyBlockIdFromId(props), className: "fb-story fb-unstyled", "data-story-block": "true", children: inline ? jsx6(InlineStory, { ...props }) : jsx6(IFrameStory, { ...props }) });
|
|
302
302
|
}, StorySkeleton = () => jsx6(Loader, {});
|
|
303
303
|
|
|
304
304
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
@@ -307,11 +307,11 @@ import { ShareAltIcon, SyncIcon, ZoomIcon, ZoomOutIcon, ZoomResetIcon } from "@s
|
|
|
307
307
|
|
|
308
308
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/Toolbar.module.css
|
|
309
309
|
var id4 = "core/src/addon-docs/blocks/components/Toolbar.module.css";
|
|
310
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
310
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"]`)) {
|
|
311
311
|
let style = document.createElement("style");
|
|
312
|
-
style.setAttribute("data-
|
|
312
|
+
style.setAttribute("data-fb-css", id4), style.textContent = ".fb-zhwxuG-absoluteBar{align-items:center;transition:transform .2s linear;display:flex;position:absolute;top:0;left:0;right:0}.fb-zhwxuG-wrapper{align-items:center;gap:4px;display:flex}.fb-zhwxuG-iconPlaceholder{background-color:var(--fb-app-border-color);border-radius:2px;width:14px;height:14px;margin:0 7px;animation:1.5s ease-in-out infinite fb-zhwxuG-glow}@keyframes fb-zhwxuG-glow{0%,to{opacity:1}50%{opacity:.4}}", document.head.appendChild(style);
|
|
313
313
|
}
|
|
314
|
-
var Toolbar_default = {
|
|
314
|
+
var Toolbar_default = { glow: "fb-zhwxuG-glow", absoluteBar: "fb-zhwxuG-absoluteBar", iconPlaceholder: "fb-zhwxuG-iconPlaceholder", wrapper: "fb-zhwxuG-wrapper" };
|
|
315
315
|
|
|
316
316
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
317
317
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -405,11 +405,11 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
405
405
|
|
|
406
406
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/Preview.module.css
|
|
407
407
|
var id5 = "core/src/addon-docs/blocks/components/Preview.module.css";
|
|
408
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
408
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"]`)) {
|
|
409
409
|
let style = document.createElement("style");
|
|
410
|
-
style.setAttribute("data-
|
|
410
|
+
style.setAttribute("data-fb-css", id5), style.textContent = ".fb-3lk6NG-childrenContainer{flex-flow:wrap;display:block;position:relative;overflow:auto;& .innerZoomElementWrapper>*{max-width:calc(100% - 20px);display:inline-block}}.fb-3lk6NG-childrenContainer:where([data-flex]){display:flex}.fb-3lk6NG-childrenContainer:where([data-column]){flex-direction:column;& .innerZoomElementWrapper>*{width:calc(100% - 20px);max-width:none;display:block}}.fb-3lk6NG-childrenContainer:where([data-layout=fullscreen]) .innerZoomElementWrapper>*{max-width:100%}.fb-3lk6NG-childrenContainer:where([data-layout=fullscreen][data-column]) .innerZoomElementWrapper>*{width:100%;max-width:none}.fb-3lk6NG-childrenContainer:where([data-layout=padded],[data-layout=centered]){padding:0;& .innerZoomElementWrapper>*{width:auto;border:8px solid #0000!important}}.fb-3lk6NG-childrenContainer:where([data-layout=padded][data-inline],[data-layout=centered][data-inline]){padding:32px 22px}.fb-3lk6NG-childrenContainer:where([data-layout=centered][data-inline]){place-content:center;place-items:center;display:flex}.fb-3lk6NG-childrenContainer:where([data-columns]) .innerZoomElementWrapper>*{min-width:calc(100% / var(--preview-columns) - 20px)}.fb-3lk6NG-actionBar{margin-top:-40px;margin-bottom:40px}.fb-3lk6NG-trailingSnippetWarning{margin-inline:auto 10px}.fb-3lk6NG-previewContainer{--preview-source-background:#000000d9;margin:25px 0 40px;position:relative;overflow:hidden;h3+&{margin-top:16px}}:where([data-fb-theme=dark]) .fb-3lk6NG-previewContainer{--preview-source-background:hsl(from var(--fb-background-content) h s calc(l - 5))}.fb-3lk6NG-previewContainer:where([data-with-toolbar]){padding-top:40px}.fb-3lk6NG-source{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--fb-app-border-radius);border-bottom-right-radius:var(--fb-app-border-radius);background:var(--preview-source-background);color:var(--fb-color-lightest);border:none;margin:0;& button{background:var(--preview-source-background)}}.fb-3lk6NG-positionedToolbar{height:40px;position:absolute;top:0;left:0;right:0}.fb-3lk6NG-skeleton .docs-story{padding-top:32px;padding-bottom:40px}", document.head.appendChild(style);
|
|
411
411
|
}
|
|
412
|
-
var Preview_default = { previewContainer: "
|
|
412
|
+
var Preview_default = { previewContainer: "fb-3lk6NG-previewContainer", positionedToolbar: "fb-3lk6NG-positionedToolbar", trailingSnippetWarning: "fb-3lk6NG-trailingSnippetWarning", childrenContainer: "fb-3lk6NG-childrenContainer", skeleton: "fb-3lk6NG-skeleton", source: "fb-3lk6NG-source", actionBar: "fb-3lk6NG-actionBar" };
|
|
413
413
|
|
|
414
414
|
// src/addon-docs/blocks/components/Preview.tsx
|
|
415
415
|
import { Fragment as Fragment3, jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -460,7 +460,7 @@ var COPIED_LABEL_ANIMATION_DURATION = 2e3, Preview = ({
|
|
|
460
460
|
blockBackground,
|
|
461
461
|
Preview_default.previewContainer,
|
|
462
462
|
className,
|
|
463
|
-
"sbdocs sbdocs-preview
|
|
463
|
+
"sbdocs sbdocs-preview fb-unstyled"
|
|
464
464
|
),
|
|
465
465
|
children: [
|
|
466
466
|
withToolbar && jsx8(
|
|
@@ -581,11 +581,11 @@ import { withReset as withReset3 } from "@aussieljk/forkbook/internal/components
|
|
|
581
581
|
|
|
582
582
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/Typeset.module.css
|
|
583
583
|
var id6 = "core/src/addon-docs/blocks/components/Typeset.module.css";
|
|
584
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
584
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"]`)) {
|
|
585
585
|
let style = document.createElement("style");
|
|
586
|
-
style.setAttribute("data-
|
|
586
|
+
style.setAttribute("data-fb-css", id6), style.textContent = ".fb-JrHkka-label{font-size:var(--fb-size-s1);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .4));margin-right:30px}:where([data-fb-theme=dark]) .fb-JrHkka-label{color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .6))}.fb-JrHkka-sample{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fb-JrHkka-typeSpecimen{flex-direction:row;align-items:baseline;display:flex;&:not(:last-child){margin-bottom:1rem}}.fb-JrHkka-wrapper{margin:25px 0 40px;padding:30px 20px}", document.head.appendChild(style);
|
|
587
587
|
}
|
|
588
|
-
var Typeset_default = {
|
|
588
|
+
var Typeset_default = { sample: "fb-JrHkka-sample", wrapper: "fb-JrHkka-wrapper", label: "fb-JrHkka-label", typeSpecimen: "fb-JrHkka-typeSpecimen" };
|
|
589
589
|
|
|
590
590
|
// src/addon-docs/blocks/components/Typeset.tsx
|
|
591
591
|
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -599,7 +599,7 @@ var Typeset = ({
|
|
|
599
599
|
"div",
|
|
600
600
|
{
|
|
601
601
|
...props,
|
|
602
|
-
className: clsx(withReset3, blockBackground, Typeset_default.wrapper, "docblock-typeset
|
|
602
|
+
className: clsx(withReset3, blockBackground, Typeset_default.wrapper, "docblock-typeset fb-unstyled"),
|
|
603
603
|
children: fontSizes.map((size) => jsxs5("div", { className: Typeset_default.typeSpecimen, children: [
|
|
604
604
|
jsx10("div", { className: Typeset_default.label, children: size }),
|
|
605
605
|
jsx10(
|
|
@@ -624,11 +624,11 @@ import { ResetWrapper } from "@aussieljk/forkbook/internal/components";
|
|
|
624
624
|
|
|
625
625
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/ColorPalette.module.css
|
|
626
626
|
var id7 = "core/src/addon-docs/blocks/components/ColorPalette.module.css";
|
|
627
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
627
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"]`)) {
|
|
628
628
|
let style = document.createElement("style");
|
|
629
|
-
style.setAttribute("data-
|
|
629
|
+
style.setAttribute("data-fb-css", id7), style.textContent = '.fb-yLo5nG-itemTitle{font-weight:var(--fb-weight-bold);color:var(--fb-color-default-text)}.fb-yLo5nG-itemSubtitle{color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3))}.fb-yLo5nG-itemDescription{flex:0 0 30%;margin-top:5px;line-height:20px}.fb-yLo5nG-swatchLabel{text-align:center;font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));flex:1;line-height:1;overflow:hidden;&>div{text-overflow:ellipsis;max-width:100%;display:inline-block;overflow:hidden}& span{margin-top:2px;display:block}}.fb-yLo5nG-swatchLabels{flex-direction:row;display:flex}.fb-yLo5nG-swatch{flex:1;position:relative;&:before{background:var(--swatch-background);content:"";width:100%;height:100%;position:absolute;top:0;left:0}}.fb-yLo5nG-swatchColors{background-color:#fff;background-image:repeating-linear-gradient(-45deg,#ccc,#ccc 1px,#fff 1px 16px);background-clip:padding-box;flex-direction:row;height:50px;margin-bottom:5px;display:flex;overflow:hidden}.fb-yLo5nG-swatchSpecimen{flex-direction:column;flex:1;margin-bottom:30px;display:flex;position:relative}.fb-yLo5nG-swatches{flex-direction:row;flex:1;display:flex}.fb-yLo5nG-item{align-items:flex-start;display:flex}.fb-yLo5nG-listName{flex:0 0 30%}.fb-yLo5nG-listSwatches{flex:1}.fb-yLo5nG-listHeading{font-weight:var(--fb-weight-bold);color:rgb(from var(--fb-color-default-text) r g b / calc(alpha - .3));flex-direction:row;align-items:center;padding-bottom:20px;display:flex}.fb-yLo5nG-list{font-size:var(--fb-size-s2);flex-direction:column;line-height:20px;display:flex}', document.head.appendChild(style);
|
|
630
630
|
}
|
|
631
|
-
var ColorPalette_default = {
|
|
631
|
+
var ColorPalette_default = { list: "fb-yLo5nG-list", listHeading: "fb-yLo5nG-listHeading", itemDescription: "fb-yLo5nG-itemDescription", swatchLabel: "fb-yLo5nG-swatchLabel", listName: "fb-yLo5nG-listName", swatchColors: "fb-yLo5nG-swatchColors", swatchLabels: "fb-yLo5nG-swatchLabels", swatch: "fb-yLo5nG-swatch", swatchSpecimen: "fb-yLo5nG-swatchSpecimen", itemSubtitle: "fb-yLo5nG-itemSubtitle", item: "fb-yLo5nG-item", listSwatches: "fb-yLo5nG-listSwatches", itemTitle: "fb-yLo5nG-itemTitle", swatches: "fb-yLo5nG-swatches" };
|
|
632
632
|
|
|
633
633
|
// src/addon-docs/blocks/components/ColorPalette.tsx
|
|
634
634
|
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -671,7 +671,7 @@ var ColorItem = ({ title, subtitle, colors }) => jsxs6("div", { className: Color
|
|
|
671
671
|
jsx11("div", { className: ColorPalette_default.itemSubtitle, children: subtitle })
|
|
672
672
|
] }),
|
|
673
673
|
jsx11("div", { className: ColorPalette_default.swatches, children: renderSwatchSpecimen(colors) })
|
|
674
|
-
] }), ColorPalette = ({ children, ...props }) => jsx11(ResetWrapper, { children: jsxs6("div", { ...props, className: clsx(ColorPalette_default.list, "docblock-colorpalette
|
|
674
|
+
] }), ColorPalette = ({ children, ...props }) => jsx11(ResetWrapper, { children: jsxs6("div", { ...props, className: clsx(ColorPalette_default.list, "docblock-colorpalette fb-unstyled"), children: [
|
|
675
675
|
jsxs6("div", { className: ColorPalette_default.listHeading, children: [
|
|
676
676
|
jsx11("div", { className: ColorPalette_default.listName, children: "Name" }),
|
|
677
677
|
jsx11("div", { className: ColorPalette_default.listSwatches, children: "Swatches" })
|
|
@@ -684,18 +684,18 @@ import { ResetWrapper as ResetWrapper2 } from "@aussieljk/forkbook/internal/comp
|
|
|
684
684
|
|
|
685
685
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/IconGallery.module.css
|
|
686
686
|
var id8 = "core/src/addon-docs/blocks/components/IconGallery.module.css";
|
|
687
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
687
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id8}"]`)) {
|
|
688
688
|
let style = document.createElement("style");
|
|
689
|
-
style.setAttribute("data-
|
|
689
|
+
style.setAttribute("data-fb-css", id8), style.textContent = ".fb-P_cJ1a-itemLabel{font-family:var(--fb-font-base);font-size:var(--fb-size-s1);color:var(--fb-color-default-text);word-break:break-word;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-left:10px;line-height:1.2;display:-webkit-box;overflow:hidden}.fb-P_cJ1a-itemSpecimen{flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden;&>img,&>svg{width:20px;height:20px}}.fb-P_cJ1a-item{flex-direction:row;align-items:center;width:100%;display:inline-flex}.fb-P_cJ1a-list{grid-gap:8px 16px;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-auto-rows:50px;grid-auto-flow:dense;display:grid}", document.head.appendChild(style);
|
|
690
690
|
}
|
|
691
|
-
var IconGallery_default = { itemLabel: "
|
|
691
|
+
var IconGallery_default = { itemLabel: "fb-P_cJ1a-itemLabel", list: "fb-P_cJ1a-list", itemSpecimen: "fb-P_cJ1a-itemSpecimen", item: "fb-P_cJ1a-item" };
|
|
692
692
|
|
|
693
693
|
// src/addon-docs/blocks/components/IconGallery.tsx
|
|
694
694
|
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
695
695
|
var IconItem = ({ name, children }) => jsxs7("div", { className: IconGallery_default.item, children: [
|
|
696
696
|
jsx12("div", { className: clsx(blockBackground, IconGallery_default.itemSpecimen), children }),
|
|
697
697
|
jsx12("div", { className: IconGallery_default.itemLabel, children: name })
|
|
698
|
-
] }), IconGallery = ({ children, ...props }) => jsx12(ResetWrapper2, { children: jsx12("div", { ...props, className: clsx(IconGallery_default.list, "docblock-icongallery
|
|
698
|
+
] }), IconGallery = ({ children, ...props }) => jsx12(ResetWrapper2, { children: jsx12("div", { ...props, className: clsx(IconGallery_default.list, "docblock-icongallery fb-unstyled"), children }) });
|
|
699
699
|
|
|
700
700
|
// src/addon-docs/blocks/components/TableOfContents.tsx
|
|
701
701
|
import { useEffect as useEffect3 } from "react";
|
|
@@ -1216,11 +1216,11 @@ var tocbot_default = tocbot;
|
|
|
1216
1216
|
|
|
1217
1217
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/components/TableOfContents.module.css
|
|
1218
1218
|
var id9 = "core/src/addon-docs/blocks/components/TableOfContents.module.css";
|
|
1219
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
1219
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id9}"]`)) {
|
|
1220
1220
|
let style = document.createElement("style");
|
|
1221
|
-
style.setAttribute("data-
|
|
1221
|
+
style.setAttribute("data-fb-css", id9), style.textContent = '.fb-7qSlVa-aside{width:10rem;@media (width<=768px){display:none}}.fb-7qSlVa-nav{width:10rem;font-family:var(--fb-font-base);font-size:var(--fb-size-s2);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:#0000;-webkit-overflow-scrolling:touch;padding-top:4rem;padding-bottom:2rem;position:fixed;top:0;bottom:0;overflow-y:auto;& *{box-sizing:border-box}&>.toc-wrapper>.toc-list,&>.toc-wrapper>.toc-list .toc-list{border-left:solid 2px var(--fb-color-mediumlight);padding-left:0}& .toc-list-item{margin-left:20px;padding-top:3px;padding-bottom:3px;list-style-type:none;position:relative}& .toc-list-item:before{content:"";border-left:solid 2px var(--fb-color-mediumdark);opacity:0;height:100%;transition:opacity .2s;position:absolute;top:0;left:0;transform:translate(-22px)}& .toc-list-item.is-active-li:before{opacity:1}& .toc-list-item>a{color:var(--fb-color-default-text);text-decoration:none}& .toc-list-item.is-active-li>a{color:var(--fb-color-secondary);font-weight:600;text-decoration:none}}.fb-7qSlVa-heading{color:var(--fb-color-default-text);text-transform:uppercase;margin-bottom:10px;font-size:.875em;font-weight:600}', document.head.appendChild(style);
|
|
1222
1222
|
}
|
|
1223
|
-
var TableOfContents_default = { nav: "
|
|
1223
|
+
var TableOfContents_default = { nav: "fb-7qSlVa-nav", aside: "fb-7qSlVa-aside", heading: "fb-7qSlVa-heading" };
|
|
1224
1224
|
|
|
1225
1225
|
// src/addon-docs/blocks/components/TableOfContents.tsx
|
|
1226
1226
|
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -1228,7 +1228,7 @@ var Title2 = ({ headingId, title }) => typeof title == "string" || !title ? jsx1
|
|
|
1228
1228
|
"h2",
|
|
1229
1229
|
{
|
|
1230
1230
|
id: headingId,
|
|
1231
|
-
className: clsx(TableOfContents_default.heading, !title && "
|
|
1231
|
+
className: clsx(TableOfContents_default.heading, !title && "fb-sr-only"),
|
|
1232
1232
|
lang: title ? void 0 : "en",
|
|
1233
1233
|
children: title || "Table of contents"
|
|
1234
1234
|
}
|
|
@@ -1278,7 +1278,7 @@ var Title2 = ({ headingId, title }) => typeof title == "string" || !title ? jsx1
|
|
|
1278
1278
|
// src/addon-docs/blocks/blocks/Anchor.tsx
|
|
1279
1279
|
import { anchorBlockIdFromId } from "@aussieljk/forkbook/internal/docs-tools";
|
|
1280
1280
|
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
1281
|
-
var Anchor = ({ storyId, children }) => jsx14("div", { id: anchorBlockIdFromId(storyId), className: "
|
|
1281
|
+
var Anchor = ({ storyId, children }) => jsx14("div", { id: anchorBlockIdFromId(storyId), className: "fb-anchor", children });
|
|
1282
1282
|
|
|
1283
1283
|
// src/addon-docs/blocks/blocks/ArgTypes.tsx
|
|
1284
1284
|
import { useContext as useContext4 } from "react";
|
|
@@ -1905,11 +1905,11 @@ import { LinkIcon } from "@storybook/icons";
|
|
|
1905
1905
|
|
|
1906
1906
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/blocks/blocks/mdx.module.css
|
|
1907
1907
|
var id10 = "core/src/addon-docs/blocks/blocks/mdx.module.css";
|
|
1908
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
1908
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id10}"]`)) {
|
|
1909
1909
|
let style = document.createElement("style");
|
|
1910
|
-
style.setAttribute("data-
|
|
1910
|
+
style.setAttribute("data-fb-css", id10), style.textContent = ".fb-HnuX0q-alignmentWrapper{display:block;position:relative;& svg{visibility:hidden}&:hover svg,&:focus-within svg{visibility:visible}}.fb-HnuX0q-anchorWrapper{line-height:inherit;color:inherit;padding-right:8px;position:absolute;top:50%;right:100%;& a{color:inherit;text-decoration:none}}.fb-HnuX0q-anchorWrapper.fb-HnuX0q-anchorWrapper{margin-top:-14px}", document.head.appendChild(style);
|
|
1911
1911
|
}
|
|
1912
|
-
var mdx_default = {
|
|
1912
|
+
var mdx_default = { anchorWrapper: "fb-HnuX0q-anchorWrapper", alignmentWrapper: "fb-HnuX0q-alignmentWrapper" };
|
|
1913
1913
|
|
|
1914
1914
|
// src/addon-docs/blocks/blocks/mdx.tsx
|
|
1915
1915
|
import { jsx as jsx20, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
@@ -1976,7 +1976,7 @@ var A = components.a, AnchorInPage = ({ hash, children }) => {
|
|
|
1976
1976
|
...rest
|
|
1977
1977
|
}) => {
|
|
1978
1978
|
let context = useContext9(DocsContext), OcticonHeader = as, hash = `#${id11}`;
|
|
1979
|
-
return jsx20(OcticonHeader, { id: id11, ...rest, children: jsxs9("span", { className: `${mdx_default.alignmentWrapper}
|
|
1979
|
+
return jsx20(OcticonHeader, { id: id11, ...rest, children: jsxs9("span", { className: `${mdx_default.alignmentWrapper} fb-unstyled`, children: [
|
|
1980
1980
|
jsx20("span", { className: mdx_default.anchorWrapper, children: jsx20(
|
|
1981
1981
|
Button3,
|
|
1982
1982
|
{
|
|
@@ -2320,7 +2320,7 @@ var SubtitleImpl = (props) => {
|
|
|
2320
2320
|
throw error;
|
|
2321
2321
|
}
|
|
2322
2322
|
let content = children || preparedMeta?.parameters?.docs?.subtitle;
|
|
2323
|
-
return content ? jsx29(Subtitle, { className: "sbdocs-subtitle
|
|
2323
|
+
return content ? jsx29(Subtitle, { className: "sbdocs-subtitle fb-unstyled", children: content }) : null;
|
|
2324
2324
|
}, Subtitle2 = withMdxComponentOverride("Subtitle", SubtitleImpl);
|
|
2325
2325
|
|
|
2326
2326
|
// src/addon-docs/blocks/blocks/Title.tsx
|
|
@@ -2341,7 +2341,7 @@ var STORY_KIND_PATH_SEPARATOR = /\s*\/\s*/, extractTitle = (title) => {
|
|
|
2341
2341
|
throw error;
|
|
2342
2342
|
}
|
|
2343
2343
|
let content = children || extractTitle(preparedMeta?.title || "");
|
|
2344
|
-
return content ? jsx30(Title, { className: "sbdocs-title
|
|
2344
|
+
return content ? jsx30(Title, { className: "sbdocs-title fb-unstyled", children: content }) : null;
|
|
2345
2345
|
}, Title3 = withMdxComponentOverride("Title", TitleImpl);
|
|
2346
2346
|
|
|
2347
2347
|
// src/addon-docs/blocks/blocks/DocsPage.tsx
|
|
@@ -2385,7 +2385,7 @@ var Meta = ({ of }) => {
|
|
|
2385
2385
|
|
|
2386
2386
|
// src/addon-docs/blocks/blocks/Unstyled.tsx
|
|
2387
2387
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
2388
|
-
var UnstyledImpl = (props) => jsx34("div", { ...props, className: "
|
|
2388
|
+
var UnstyledImpl = (props) => jsx34("div", { ...props, className: "fb-unstyled" }), Unstyled = withMdxComponentOverride("Unstyled", UnstyledImpl);
|
|
2389
2389
|
|
|
2390
2390
|
// src/addon-docs/blocks/blocks/Wrapper.tsx
|
|
2391
2391
|
import { jsx as jsx35 } from "react/jsx-runtime";
|
|
@@ -46,7 +46,7 @@ type ArgTypesBlockParameters = {
|
|
|
46
46
|
/**
|
|
47
47
|
* Controls arg types order
|
|
48
48
|
*
|
|
49
|
-
* @see https://
|
|
49
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-argtypes#sort
|
|
50
50
|
*/
|
|
51
51
|
sort?: 'none' | 'alpha' | 'requiredFirst';
|
|
52
52
|
};
|
|
@@ -66,7 +66,7 @@ type CanvasBlockParameters = {
|
|
|
66
66
|
/**
|
|
67
67
|
* Specify how the canvas should layout the story.
|
|
68
68
|
*
|
|
69
|
-
* @see https://
|
|
69
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-canvas#layout
|
|
70
70
|
*/
|
|
71
71
|
layout?: 'centered' | 'fullscreen' | 'padded'; /** Specifies which story is rendered */
|
|
72
72
|
of: ModuleExport; /** Show story source code */
|
|
@@ -74,7 +74,7 @@ type CanvasBlockParameters = {
|
|
|
74
74
|
/**
|
|
75
75
|
* Story configuration
|
|
76
76
|
*
|
|
77
|
-
* @see https://
|
|
77
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-canvas#story
|
|
78
78
|
*/
|
|
79
79
|
story?: StoryBlockParameters; /** Disable story source code */
|
|
80
80
|
withSource?: 'open' | 'closed' | 'none'; /** Whether to render a toolbar containing tools to interact with the story. */
|
|
@@ -104,7 +104,7 @@ type SourceBlockParameters = {
|
|
|
104
104
|
* Specifies how the source code is rendered.
|
|
105
105
|
*
|
|
106
106
|
* @default 'auto'
|
|
107
|
-
* @see https://
|
|
107
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-source#type
|
|
108
108
|
*/
|
|
109
109
|
type?: 'auto' | 'code' | 'dynamic';
|
|
110
110
|
};
|
|
@@ -112,74 +112,74 @@ interface DocsParameters {
|
|
|
112
112
|
/**
|
|
113
113
|
* Docs configuration
|
|
114
114
|
*
|
|
115
|
-
* @see https://
|
|
115
|
+
* @see https://forkbook.ljk.dev/docs/writing-docs
|
|
116
116
|
*/
|
|
117
117
|
docs?: {
|
|
118
118
|
/**
|
|
119
119
|
* The subtitle displayed when shown in docs page
|
|
120
120
|
*
|
|
121
|
-
* @see https://
|
|
121
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-argtypes
|
|
122
122
|
*/
|
|
123
123
|
argTypes?: ArgTypesBlockParameters;
|
|
124
124
|
/**
|
|
125
125
|
* Canvas configuration when shown in docs page
|
|
126
126
|
*
|
|
127
|
-
* @see https://
|
|
127
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-canvas
|
|
128
128
|
*/
|
|
129
129
|
canvas?: Partial<CanvasBlockParameters>;
|
|
130
130
|
/**
|
|
131
131
|
* Show the Code panel by default. Set to `false` to hide it.
|
|
132
132
|
*
|
|
133
|
-
* @see https://
|
|
133
|
+
* @see https://forkbook.ljk.dev/docs/writing-docs/code-panel
|
|
134
134
|
*/
|
|
135
135
|
codePanel?: boolean;
|
|
136
136
|
/**
|
|
137
137
|
* Controls block configuration
|
|
138
138
|
*
|
|
139
|
-
* @see https://
|
|
139
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-controls
|
|
140
140
|
*/
|
|
141
141
|
controls?: ControlsBlockParameters;
|
|
142
142
|
/**
|
|
143
143
|
* Customize the Docs Container
|
|
144
144
|
*
|
|
145
|
-
* @see https://
|
|
145
|
+
* @see https://forkbook.ljk.dev/docs/writing-docs/autodocs#customize-the-docs-container
|
|
146
146
|
*/
|
|
147
147
|
container?: ComponentType<DocsContainerProps>;
|
|
148
148
|
/**
|
|
149
149
|
* Component/story description when shown in docs page
|
|
150
150
|
*
|
|
151
|
-
* @see https://
|
|
151
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-description#writing-descriptions
|
|
152
152
|
*/
|
|
153
153
|
description?: DescriptionBlockParameters; /** Remove the addon panel and disable the addon's behavior */
|
|
154
154
|
disable?: boolean;
|
|
155
155
|
/**
|
|
156
156
|
* Replace the default documentation template used by Forkbook with your own
|
|
157
157
|
*
|
|
158
|
-
* @see https://
|
|
158
|
+
* @see https://forkbook.ljk.dev/docs/writing-docs/autodocs#write-a-custom-template
|
|
159
159
|
*/
|
|
160
160
|
page?: ComponentType;
|
|
161
161
|
/**
|
|
162
162
|
* Source code configuration when shown in docs page
|
|
163
163
|
*
|
|
164
|
-
* @see https://
|
|
164
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-source
|
|
165
165
|
*/
|
|
166
166
|
source?: Partial<SourceBlockParameters>;
|
|
167
167
|
/**
|
|
168
168
|
* Story block configuration
|
|
169
169
|
*
|
|
170
|
-
* @see https://
|
|
170
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-story
|
|
171
171
|
*/
|
|
172
172
|
story?: Partial<StoryBlockParameters>;
|
|
173
173
|
/**
|
|
174
174
|
* Stories block configuration
|
|
175
175
|
*
|
|
176
|
-
* @see https://
|
|
176
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-stories
|
|
177
177
|
*/
|
|
178
178
|
stories?: Partial<StoriesBlockParameters>;
|
|
179
179
|
/**
|
|
180
180
|
* The subtitle displayed when shown in docs page
|
|
181
181
|
*
|
|
182
|
-
* @see https://
|
|
182
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-subtitle
|
|
183
183
|
*/
|
|
184
184
|
subtitle?: string;
|
|
185
185
|
/**
|
|
@@ -195,19 +195,19 @@ interface DocsParameters {
|
|
|
195
195
|
/**
|
|
196
196
|
* Override the default theme
|
|
197
197
|
*
|
|
198
|
-
* @see https://
|
|
198
|
+
* @see https://forkbook.ljk.dev/docs/writing-docs/autodocs#override-the-default-theme
|
|
199
199
|
*/
|
|
200
200
|
theme?: ThemeVars;
|
|
201
201
|
/**
|
|
202
202
|
* The title displayed when shown in docs page
|
|
203
203
|
*
|
|
204
|
-
* @see https://
|
|
204
|
+
* @see https://forkbook.ljk.dev/docs/api/doc-blocks/doc-block-title
|
|
205
205
|
*/
|
|
206
206
|
title?: string;
|
|
207
207
|
/**
|
|
208
208
|
* Configure the table of contents
|
|
209
209
|
*
|
|
210
|
-
* @see https://
|
|
210
|
+
* @see https://forkbook.ljk.dev/docs/writing-docs/autodocs#configure-the-table-of-contents
|
|
211
211
|
*/
|
|
212
212
|
toc?: true | TocParameters;
|
|
213
213
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
5
|
-
import "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-EE42XVSP.js";
|
|
5
|
+
import "../_browser-chunks/chunk-PPZ2HCWJ.js";
|
|
6
6
|
import "../_browser-chunks/chunk-CNED6RYH.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
8
8
|
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
|
|
24
24
|
// storybook-css:/Users/ljk/p/repos/storybook/code/core/src/addon-docs/manager.module.css
|
|
25
25
|
var id = "core/src/addon-docs/manager.module.css";
|
|
26
|
-
if (typeof document < "u" && !document.querySelector(`style[data-
|
|
26
|
+
if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
27
27
|
let style = document.createElement("style");
|
|
28
|
-
style.setAttribute("data-
|
|
28
|
+
style.setAttribute("data-fb-css", id), style.textContent = ".fb-iSROvG-source{height:100%;position:relative;&>:first-child{height:100%;box-shadow:none;margin:0}}.fb-iSROvG-snippetWarning{position:absolute;top:8px;right:10px}", document.head.appendChild(style);
|
|
29
29
|
}
|
|
30
|
-
var manager_default = { source: "
|
|
30
|
+
var manager_default = { source: "fb-iSROvG-source", snippetWarning: "fb-iSROvG-snippetWarning" };
|
|
31
31
|
|
|
32
32
|
// src/addon-docs/manager.tsx
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_jhsfl9egb6l from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_jhsfl9egb6l from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_jhsfl9egb6l from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_jhsfl9egb6l.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_jhsfl9egb6l.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_jhsfl9egb6l.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
resolvePackageDir
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-J4WM6PLB.js";
|
|
15
|
+
import "../_node-chunks/chunk-DI76R3EI.js";
|
|
16
|
+
import "../_node-chunks/chunk-CYPEPQSM.js";
|
|
17
17
|
|
|
18
18
|
// src/addon-docs/preset.ts
|
|
19
19
|
import { isAbsolute } from "node:path";
|
|
@@ -327,7 +327,7 @@ var getResolvedReact = async (options) => {
|
|
|
327
327
|
}, docsMode = options.docs;
|
|
328
328
|
return docsMode && (result.docsMode = docsMode), result;
|
|
329
329
|
}, viteFinal = async (config, options) => {
|
|
330
|
-
let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-
|
|
330
|
+
let { plugins = [] } = config, { csfPluginOptions = {} } = options, { mdxPlugin } = await import("../_node-chunks/mdx-plugin-CC54EOSI.js"), enrichCsf2 = await options.presets.apply("experimental_enrichCsf"), { react, reactDom, mdx } = await getResolvedReact(options), packageDeduplicationPlugin = {
|
|
331
331
|
name: "storybook:package-deduplication",
|
|
332
332
|
enforce: "pre",
|
|
333
333
|
config: () => ({
|