@aussieljk/forkbook 0.0.1-4 → 0.0.1-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +35 -53
- package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-GTF4GM7L.js} +3 -3
- package/dist/_browser-chunks/{WithTooltip-523JD6VH.js → WithTooltip-V55S6YCY.js} +1 -1
- package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-HOSBMS2F.js} +3 -3
- package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-MJY6ITYT.js} +27 -27
- package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-IOE3BXIY.js} +29 -29
- package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-GDFEGD72.js} +170 -215
- package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-2GY2FKLH.js} +7 -7
- package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-3DCJB2D4.js} +6 -6
- package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-3DX6THMV.js} +8 -8
- package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-45LRLOYO.js} +23 -23
- package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-4WO3GNZQ.js} +6 -6
- package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-5KAJVK4E.js} +7 -7
- package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-5LE7GXEC.js} +6 -6
- package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-6DOJKR3V.js} +10 -10
- package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-6QQTZT3Z.js} +6 -6
- package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-7TUSIVWS.js} +6 -6
- package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-7XUQM6SR.js} +14 -14
- package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-A4XRNDN4.js} +7 -7
- package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-AAAUVDWT.js} +10 -10
- package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-AX2ALHBK.js} +6 -6
- package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-AXG3EMKS.js} +6 -6
- package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-AXJJB2K6.js} +8 -8
- package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-AXQ6LLSE.js} +8 -8
- package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-B2IOB2V3.js} +7 -7
- package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-BBD2KUV4.js} +19 -19
- package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-BFZG4UTW.js} +7 -7
- package/dist/_node-chunks/{chunk-SSZ5REKS.js → chunk-BRD332PB.js} +8 -8
- package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-BTFSFATC.js} +7 -7
- package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-BV3QRFE6.js} +6 -6
- package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-CGXW2HFE.js} +6 -6
- package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-CK4EHW3K.js} +23 -23
- package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-D6B2DRQZ.js} +8 -8
- package/dist/_node-chunks/{chunk-K3I3G4VL.js → chunk-E2XKJLXK.js} +7 -7
- package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-E4C2H45J.js} +6 -6
- package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-E4TBS4MV.js} +8 -8
- package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-E6KXSYWR.js} +6 -6
- package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-ES5QZBSB.js} +6 -6
- package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-EWAGCBER.js} +8 -8
- package/dist/_node-chunks/{chunk-MZMPFII2.js → chunk-F2LQJXAB.js} +6 -6
- package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-F4Q7OCCN.js} +8 -8
- package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-FA36CEN4.js} +6 -6
- package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-GR65OLAH.js} +7 -7
- package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-GS4VNNSS.js} +6 -6
- package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-HCX5R46Q.js} +7 -7
- package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-HWY2CAUH.js} +6 -6
- package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-I3DKGHVD.js} +9 -9
- package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-J64XMUPF.js} +10 -10
- package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-JJNO3SFI.js} +9 -9
- package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-KCAPE7OJ.js} +6 -6
- package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-KQFHT7SW.js} +6 -6
- package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-L5CY6HKG.js} +7 -7
- package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-LCXIUTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-LSP54OYM.js} +8 -8
- package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-M2QB5ALN.js} +6 -6
- package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-MCZZMBPA.js} +6 -6
- package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-MDGNN3FJ.js} +6 -6
- package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-MHDKWHOA.js} +6 -6
- package/dist/_node-chunks/{chunk-NYRUWAL3.js → chunk-MMFUHYSU.js} +6 -6
- package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-N4FLP7AO.js} +7 -7
- package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NDGTNFUN.js} +12 -12
- package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-NYWD5LYM.js} +6 -6
- package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-OB2XHL53.js} +27 -27
- package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-OSJFTZ5N.js} +6 -6
- package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-OTFIQXHR.js} +8 -8
- package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-PHXCOTMO.js} +10 -10
- package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-Q33BYVLY.js} +7 -7
- package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-QQXFB4YA.js} +9 -9
- package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-QZVFIEOM.js} +6 -6
- package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-RCPKLP3X.js} +7 -7
- package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-RECGEABN.js} +7 -7
- package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-SAAQFJL4.js} +6 -6
- package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-SDXU22OH.js} +6 -6
- package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-SJZQ44OR.js} +6 -6
- package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-SR3BCYEH.js} +6 -6
- package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-SUJXQU74.js} +8 -8
- package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-T2I453AJ.js} +7 -7
- package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-TYCDPVIH.js} +6 -6
- package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-TZ2TZW2K.js} +6 -6
- package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-U47PBQZ3.js} +10 -10
- package/dist/_node-chunks/chunk-UGFY5LEG.js +18 -0
- package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-UKEJISQU.js} +7 -7
- package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-UM5G27IC.js} +7 -7
- package/dist/_node-chunks/{chunk-WEW23EEE.js → chunk-UO5ZOCSQ.js} +8 -8
- package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-UW35FCXF.js} +6 -6
- package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-V45RRBTK.js} +8 -8
- package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-VBSVLIXU.js} +6 -6
- package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-VJSOHPVD.js} +6 -6
- package/dist/_node-chunks/{chunk-EGS2SAD2.js → chunk-VMUXW2E2.js} +12 -12
- package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-VN3A5CEH.js} +7 -7
- package/dist/_node-chunks/{chunk-XWQEWRFD.js → chunk-VNXE7UJL.js} +6 -6
- package/dist/_node-chunks/chunk-VRJJ43P2.js +11 -0
- package/dist/_node-chunks/{chunk-HENM5ZK3.js → chunk-WCJUS7OC.js} +7 -7
- package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-WHDCECIV.js} +7 -7
- package/dist/_node-chunks/{chunk-GKTCJPLL.js → chunk-WMBMSNB7.js} +6 -6
- package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-WMQ2VCTF.js} +7 -7
- package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-XUHEL63G.js} +6 -6
- package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-YLKS7U3M.js} +8 -8
- package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-YTBTCM22.js} +6 -6
- package/dist/_node-chunks/{chunk-NYAWUR6L.js → chunk-YV2QBXU6.js} +8 -8
- package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-ZPPVG262.js} +6 -6
- package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-ZZNBVMBU.js} +7 -7
- package/dist/_node-chunks/dist-VFUGPNLK.js +16 -0
- package/dist/_node-chunks/{globby-HRQV5N3V.js → globby-N7LO32D3.js} +10 -10
- package/dist/_node-chunks/{jiti-WE7NHS2Y.js → jiti-SJDZ7LQB.js} +7 -7
- package/dist/_node-chunks/{lib-7MVA6CTW.js → lib-4HD6QL5R.js} +7 -7
- package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-RW6AAWSX.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-BKWCT6CB.js} +14 -14
- package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-ZFJ6HM34.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js} +11 -11
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-2ZMJNCBS.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-RT5Z62RV.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-H5TWHJ6G.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-DYLWZGE4.js} +11 -11
- package/dist/_node-chunks/{run-S6XSLPEB.js → run-65LLGSVR.js} +13 -13
- package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-BQQLK454.js} +17 -17
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +23 -0
- package/dist/_node-chunks/{setup-35J66GFB.js → setup-NEO7XX66.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-6P3FZQTY.js} +7 -7
- package/dist/addon-a11y/manager.js +24 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-docs/blocks.js +28 -21
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +7 -7
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/babel/index.js +12 -12
- package/dist/bin/core.js +58 -58
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-BYnH2sbb.d.ts → chunk-CZHsX9Zo.d.ts} +1 -1
- package/dist/{chunk-DvufcbCc.d.ts → chunk-Ce6uhJuR.d.ts} +1 -1
- package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
- package/dist/{chunk-DIz17UEJ.d.ts → chunk-DpljNJTz.d.ts} +1 -1
- package/dist/{chunk-DF6btpT3.d.ts → chunk-Jf7j2Ot0.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +24 -24
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.js +40 -40
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +71 -71
- package/dist/core-server/presets/common-manager.js +43 -37
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +40 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +2 -2
- package/dist/csf-tools/index.js +12 -12
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-ALpzCL93.js} +2 -2
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
- package/dist/manager/_manager-chunks/globals-runtime-BcNHymiF.js +1960 -0
- package/dist/manager/_manager-chunks/globals-runtime-BgVwdR45.js +1396 -0
- package/dist/manager/_manager-chunks/globals-runtime-Bke4A4DG.js +2093 -0
- package/dist/manager/_manager-chunks/{globals-runtime-DkAPXCvc.js → globals-runtime-Bon7UvQk.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-CF4o9_wT.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-CTB3rhS1.js} +4 -4
- package/dist/manager/_manager-chunks/globals-runtime-CUBVmgcG.js +3414 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-CXKb33hg.js} +10 -10
- package/dist/manager/_manager-chunks/globals-runtime-CiLcg4q9.js +41 -0
- package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-Cr3nYYcT.js} +241 -16
- package/dist/manager/_manager-chunks/globals-runtime-DCOX9nD5.js +462 -0
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +1584 -0
- package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DMvB3-IM.js} +89 -88
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-DW1HVuLt.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-D_YKR9nf.js} +3 -3
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-DqNrRmOM.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-m07udJ_K.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-zVfMhZAt.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-B-eSQdxk.js +691 -0
- package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-Bldwclun.js} +6 -6
- package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-Cdz2BHhM.js} +31 -31
- package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-Cmu7D8A0.js} +210 -235
- package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-CuJiHYCp.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +456 -0
- package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DGHNKNQl.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-DrjpEyLM.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-a5zd7km2.js} +3 -3
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +2 -2
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/preset.js +14 -14
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.js +10 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +45 -45
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
- package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
- package/dist/_node-chunks/dist-CNA633FI.js +0 -16
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
- package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
- package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
postinstallAddon
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-B2IOB2V3.js";
|
|
15
15
|
import {
|
|
16
16
|
version
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UGFY5LEG.js";
|
|
18
18
|
import {
|
|
19
19
|
leven
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-VJSOHPVD.js";
|
|
21
|
+
import "./chunk-Q33BYVLY.js";
|
|
22
|
+
import "./chunk-M2QB5ALN.js";
|
|
23
23
|
import {
|
|
24
24
|
require_picocolors
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-5KAJVK4E.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__require,
|
|
29
29
|
__toESM
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TZ2TZW2K.js";
|
|
31
31
|
|
|
32
32
|
// ../../node_modules/envinfo/dist/envinfo.js
|
|
33
33
|
var require_envinfo = __commonJS({
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
initiate
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-NDGTNFUN.js";
|
|
15
|
+
import "./chunk-I3DKGHVD.js";
|
|
16
|
+
import "./chunk-HWY2CAUH.js";
|
|
17
17
|
import {
|
|
18
18
|
version
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UGFY5LEG.js";
|
|
20
20
|
import {
|
|
21
21
|
e,
|
|
22
22
|
i
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-KQFHT7SW.js";
|
|
24
|
+
import "./chunk-SR3BCYEH.js";
|
|
25
|
+
import "./chunk-SJZQ44OR.js";
|
|
26
|
+
import "./chunk-CGXW2HFE.js";
|
|
27
|
+
import "./chunk-Q33BYVLY.js";
|
|
28
|
+
import "./chunk-M2QB5ALN.js";
|
|
29
|
+
import "./chunk-TZ2TZW2K.js";
|
|
30
30
|
|
|
31
31
|
// src/create/bin/run.ts
|
|
32
32
|
import { ProjectType } from "@aussieljk/forkbook/internal/cli";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
|
+
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// ------------------------------------------------------------
|
|
10
|
+
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
|
+
// ------------------------------------------------------------
|
|
12
|
+
import {
|
|
13
|
+
SESSION_TIMEOUT,
|
|
14
|
+
getSessionId,
|
|
15
|
+
resetSessionIdForTest
|
|
16
|
+
} from "./chunk-VN3A5CEH.js";
|
|
17
|
+
import "./chunk-VBSVLIXU.js";
|
|
18
|
+
import "./chunk-TZ2TZW2K.js";
|
|
19
|
+
export {
|
|
20
|
+
SESSION_TIMEOUT,
|
|
21
|
+
getSessionId,
|
|
22
|
+
resetSessionIdForTest
|
|
23
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
getTypeImportSource
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-QZVFIEOM.js";
|
|
15
|
+
import "./chunk-TZ2TZW2K.js";
|
|
16
16
|
|
|
17
17
|
// src/cli/skills/content/setup-prompts/setup.ts
|
|
18
18
|
import { getVitestStorybookRunCommand } from "@aussieljk/forkbook/internal/common";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-TZ2TZW2K.js";
|
|
13
13
|
|
|
14
14
|
// raw:../../assets/addon-vitest/templates/vitest.config.4.template.ts
|
|
15
15
|
var vitest_config_4_template_default = `import path from 'node:path';
|
|
@@ -24,7 +24,7 @@ import { addons, types, useAddonState as useAddonState2, useStorybookApi as useS
|
|
|
24
24
|
// src/addon-a11y/components/A11YPanel.tsx
|
|
25
25
|
import { useMemo as useMemo3 } from "react";
|
|
26
26
|
import { Badge as Badge2, Button as Button4 } from "@aussieljk/forkbook/internal/components";
|
|
27
|
-
import {
|
|
27
|
+
import { ArrowsClockwiseIcon as ArrowsClockwiseIcon2 } from "@phosphor-icons/react";
|
|
28
28
|
|
|
29
29
|
// src/addon-a11y/types.ts
|
|
30
30
|
var RuleType = {
|
|
@@ -891,12 +891,12 @@ var unhighlightedSelectors = ["html", "body", "main"], SELECTED_HIGHLIGHT_ID = `
|
|
|
891
891
|
|
|
892
892
|
// src/addon-a11y/components/Report/Report.tsx
|
|
893
893
|
import { Badge, Button as Button2, EmptyTabContent } from "@aussieljk/forkbook/internal/components";
|
|
894
|
-
import {
|
|
894
|
+
import { CaretDownIcon } from "@phosphor-icons/react";
|
|
895
895
|
|
|
896
896
|
// src/addon-a11y/components/Report/Details.tsx
|
|
897
897
|
import { Fragment, useCallback as useCallback2, useState as useState2 } from "react";
|
|
898
898
|
import { Button, Link, SyntaxHighlighter } from "@aussieljk/forkbook/internal/components";
|
|
899
|
-
import { CheckIcon, CopyIcon,
|
|
899
|
+
import { CheckIcon, CopyIcon, CrosshairIcon } from "@phosphor-icons/react";
|
|
900
900
|
|
|
901
901
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-a11y/components/Report/Details.module.css
|
|
902
902
|
var id = "core/src/addon-a11y/components/Report/Details.module.css";
|
|
@@ -904,7 +904,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id}"]
|
|
|
904
904
|
let style = document.createElement("style");
|
|
905
905
|
style.setAttribute("data-fb-css", id), style.textContent = ".fb-fcntIq-syntaxHighlighter{font-size:var(--fb-size-s1)}.fb-fcntIq-info{flex-direction:column;display:flex}.fb-fcntIq-ruleId{color:var(--fb-text-muted-color);font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);margin-top:-8px;margin-bottom:12px;display:block;@container (width>=800px){display:none}}.fb-fcntIq-description{margin:0}.fb-fcntIq-wrapper{flex-direction:column;gap:20px;padding:0 15px 20px;display:flex}.fb-fcntIq-columns{gap:15px;@container (width>=800px){grid-template-columns:50% 50%;display:grid}}.fb-fcntIq-content{border-left:none;flex-direction:column;gap:15px;margin:0;padding:0;display:none;&[data-side=left]{border-left:1px solid var(--fb-color-border);margin:15px 0;padding:0 15px;display:flex}&:focus-visible{box-shadow:0 0 0 1px inset var(--fb-color-secondary);border-radius:4px;outline:none}@container (width>=800px){display:flex;&[data-side=left]{display:none}}}.fb-fcntIq-item{font-family:var(--fb-font-mono);font-weight:var(--fb-weight-regular);color:var(--fb-text-muted-color);text-overflow:ellipsis;white-space:nowrap;text-align:left;width:100%;height:40px;padding:0 12px;display:block;overflow:hidden;&[data-active]{color:var(--fb-color-secondary);background-color:var(--fb-background-hoverable)}}.fb-fcntIq-messages{flex-direction:column;gap:10px;display:flex}.fb-fcntIq-actions{gap:10px;display:flex}", document.head.appendChild(style);
|
|
906
906
|
}
|
|
907
|
-
var Details_default = {
|
|
907
|
+
var Details_default = { wrapper: "fb-fcntIq-wrapper", ruleId: "fb-fcntIq-ruleId", item: "fb-fcntIq-item", content: "fb-fcntIq-content", info: "fb-fcntIq-info", messages: "fb-fcntIq-messages", syntaxHighlighter: "fb-fcntIq-syntaxHighlighter", columns: "fb-fcntIq-columns", actions: "fb-fcntIq-actions", description: "fb-fcntIq-description" };
|
|
908
908
|
|
|
909
909
|
// src/addon-a11y/components/Report/Details.tsx
|
|
910
910
|
import { Fragment as Fragment2, jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -990,7 +990,7 @@ function getContent(node) {
|
|
|
990
990
|
jsx2("div", { className: Details_default.messages, children: rules.map((rule) => jsx2("div", { children: `${rule.message}${/(\.|: [^.]+\.*)$/.test(rule.message) ? "" : "."}` }, rule.id)) }),
|
|
991
991
|
jsxs("div", { className: Details_default.actions, children: [
|
|
992
992
|
jsxs(Button, { ariaLabel: !1, onClick: () => handleJumpToElement(node.target.toString()), children: [
|
|
993
|
-
jsx2(
|
|
993
|
+
jsx2(CrosshairIcon, {}),
|
|
994
994
|
" Jump to element"
|
|
995
995
|
] }),
|
|
996
996
|
jsx2(CopyButton, { onClick: () => handleCopyLink(node.linkPath) })
|
|
@@ -1024,7 +1024,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id2}"
|
|
|
1024
1024
|
let style = document.createElement("style");
|
|
1025
1025
|
style.setAttribute("data-fb-css", id2), style.textContent = ".fb-Rcvs-q-wrapper{border-bottom:1px solid var(--fb-app-border-color);width:100%;font-size:var(--fb-size-s2);flex-direction:column;display:flex;container-type:inline-size}.fb-Rcvs-q-icon{transition:transform .1s ease-in-out}.fb-Rcvs-q-headerBar{min-height:40px;color:inherit;text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:6px 10px 6px 15px;display:flex;&:hover{color:var(--fb-color-secondary)}}.fb-Rcvs-q-title{font-size:var(--fb-size-s2);flex-grow:1;align-items:baseline;gap:8px;display:flex}.fb-Rcvs-q-ruleId{color:var(--fb-text-muted-color);font-family:var(--fb-font-mono);font-size:var(--fb-size-s1);display:none;@container (width>=800px){display:block}}.fb-Rcvs-q-count{color:var(--fb-text-muted-color);justify-content:center;align-items:center;width:28px;height:28px;display:flex}", document.head.appendChild(style);
|
|
1026
1026
|
}
|
|
1027
|
-
var Report_default = {
|
|
1027
|
+
var Report_default = { icon: "fb-Rcvs-q-icon", ruleId: "fb-Rcvs-q-ruleId", count: "fb-Rcvs-q-count", title: "fb-Rcvs-q-title", headerBar: "fb-Rcvs-q-headerBar", wrapper: "fb-Rcvs-q-wrapper" };
|
|
1028
1028
|
|
|
1029
1029
|
// src/addon-a11y/components/Report/Report.tsx
|
|
1030
1030
|
import { Fragment as Fragment3, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
@@ -1071,7 +1071,7 @@ var impactStatus = {
|
|
|
1071
1071
|
variant: "ghost",
|
|
1072
1072
|
padding: "small",
|
|
1073
1073
|
children: jsx3(
|
|
1074
|
-
|
|
1074
|
+
CaretDownIcon,
|
|
1075
1075
|
{
|
|
1076
1076
|
className: Report_default.icon,
|
|
1077
1077
|
style: { transform: `rotate(${selection ? -180 : 0}deg)` }
|
|
@@ -1097,7 +1097,13 @@ var impactStatus = {
|
|
|
1097
1097
|
|
|
1098
1098
|
// src/addon-a11y/components/Tabs.tsx
|
|
1099
1099
|
import { Button as Button3, TabsView } from "@aussieljk/forkbook/internal/components";
|
|
1100
|
-
import {
|
|
1100
|
+
import {
|
|
1101
|
+
ArrowsClockwiseIcon,
|
|
1102
|
+
ArrowsInLineVerticalIcon,
|
|
1103
|
+
ArrowsOutSimpleIcon,
|
|
1104
|
+
EyeIcon,
|
|
1105
|
+
EyeSlashIcon
|
|
1106
|
+
} from "@phosphor-icons/react";
|
|
1101
1107
|
import { useTheme } from "@aussieljk/forkbook/theming";
|
|
1102
1108
|
|
|
1103
1109
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-a11y/components/Tabs.module.css
|
|
@@ -1106,7 +1112,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id3}"
|
|
|
1106
1112
|
let style = document.createElement("style");
|
|
1107
1113
|
style.setAttribute("data-fb-css", id3), style.textContent = ".fb-bXrCLq-container{flex-direction:column;width:100%;height:100%;display:flex;position:relative;overflow:hidden}.fb-bXrCLq-actions{justify-content:flex-end;gap:6px;display:flex}", document.head.appendChild(style);
|
|
1108
1114
|
}
|
|
1109
|
-
var Tabs_default = {
|
|
1115
|
+
var Tabs_default = { container: "fb-bXrCLq-container", actions: "fb-bXrCLq-actions" };
|
|
1110
1116
|
|
|
1111
1117
|
// src/addon-a11y/components/Tabs.tsx
|
|
1112
1118
|
import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -1141,7 +1147,7 @@ var Tabs = ({ tabs }) => {
|
|
|
1141
1147
|
padding: "small",
|
|
1142
1148
|
onClick: toggleHighlight,
|
|
1143
1149
|
ariaLabel: highlighted ? "Hide accessibility test result highlights" : "Highlight elements with accessibility test results",
|
|
1144
|
-
children: highlighted ? jsx4(
|
|
1150
|
+
children: highlighted ? jsx4(EyeSlashIcon, {}) : jsx4(EyeIcon, {})
|
|
1145
1151
|
}
|
|
1146
1152
|
),
|
|
1147
1153
|
jsx4(
|
|
@@ -1152,7 +1158,7 @@ var Tabs = ({ tabs }) => {
|
|
|
1152
1158
|
onClick: allExpanded ? handleCollapseAll : handleExpandAll,
|
|
1153
1159
|
ariaLabel: allExpanded ? "Collapse all results" : "Expand all results",
|
|
1154
1160
|
"aria-expanded": allExpanded,
|
|
1155
|
-
children: allExpanded ? jsx4(
|
|
1161
|
+
children: allExpanded ? jsx4(ArrowsInLineVerticalIcon, {}) : jsx4(ArrowsOutSimpleIcon, {})
|
|
1156
1162
|
}
|
|
1157
1163
|
),
|
|
1158
1164
|
jsx4(
|
|
@@ -1162,7 +1168,7 @@ var Tabs = ({ tabs }) => {
|
|
|
1162
1168
|
padding: "small",
|
|
1163
1169
|
onClick: handleManual,
|
|
1164
1170
|
ariaLabel: "Rerun accessibility scan",
|
|
1165
|
-
children: jsx4(
|
|
1171
|
+
children: jsx4(ArrowsClockwiseIcon, {})
|
|
1166
1172
|
}
|
|
1167
1173
|
)
|
|
1168
1174
|
] })
|
|
@@ -1215,7 +1221,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"
|
|
|
1215
1221
|
let style = document.createElement("style");
|
|
1216
1222
|
style.setAttribute("data-fb-css", id5), style.textContent = ".fb-qxvdxW-rotatingIcon{margin:4px;animation:1s linear infinite fb-qxvdxW-rotate360}@keyframes fb-qxvdxW-rotate360{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.fb-qxvdxW-tab{align-items:center;gap:6px;display:flex}.fb-qxvdxW-centered{text-align:center;font-size:var(--fb-size-s2);flex-direction:column;justify-content:center;align-items:center;gap:24px;height:100%;display:flex;& div{flex-direction:column;align-items:center;gap:8px;display:flex}& p{color:var(--fb-text-muted-color);margin:0}& code{font-size:calc(var(--fb-size-s2) - 1px);background-color:var(--fb-background-app);border:1px solid var(--fb-color-border);border-radius:4px;padding:2px 3px;display:inline-block}}", document.head.appendChild(style);
|
|
1217
1223
|
}
|
|
1218
|
-
var A11YPanel_default = {
|
|
1224
|
+
var A11YPanel_default = { rotatingIcon: "fb-qxvdxW-rotatingIcon", tab: "fb-qxvdxW-tab", rotate360: "fb-qxvdxW-rotate360", centered: "fb-qxvdxW-centered" };
|
|
1219
1225
|
|
|
1220
1226
|
// src/addon-a11y/components/A11YPanel.tsx
|
|
1221
1227
|
import { Fragment as Fragment4, jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -1310,7 +1316,7 @@ var A11YPanel = () => {
|
|
|
1310
1316
|
discrepancy && jsx6(TestDiscrepancyMessage, { discrepancy }),
|
|
1311
1317
|
status === "ready" || status === "ran" ? jsx6(Tabs, { tabs }, "tabs") : jsxs5("span", { className: A11YPanel_default.centered, style: { marginTop: discrepancy ? "1em" : 0 }, children: [
|
|
1312
1318
|
status === "initial" && jsxs5("div", { children: [
|
|
1313
|
-
jsx6(
|
|
1319
|
+
jsx6(ArrowsClockwiseIcon2, { size: 12, className: A11YPanel_default.rotatingIcon }),
|
|
1314
1320
|
jsx6("strong", { children: "Preparing accessibility scan" }),
|
|
1315
1321
|
jsx6("p", { children: "Please wait while the addon is initializing..." })
|
|
1316
1322
|
] }),
|
|
@@ -1327,7 +1333,7 @@ var A11YPanel = () => {
|
|
|
1327
1333
|
] })
|
|
1328
1334
|
] }),
|
|
1329
1335
|
status === "running" && jsxs5("div", { children: [
|
|
1330
|
-
jsx6(
|
|
1336
|
+
jsx6(ArrowsClockwiseIcon2, { size: 12, className: A11YPanel_default.rotatingIcon }),
|
|
1331
1337
|
jsx6("strong", { children: "Accessibility scan in progress" }),
|
|
1332
1338
|
jsx6("p", { children: "Please wait while the accessibility scan is running..." })
|
|
1333
1339
|
] }),
|
|
@@ -1351,7 +1357,7 @@ var A11YPanel = () => {
|
|
|
1351
1357
|
|
|
1352
1358
|
// src/addon-a11y/components/VisionSimulator.tsx
|
|
1353
1359
|
import { Select } from "@aussieljk/forkbook/internal/components";
|
|
1354
|
-
import {
|
|
1360
|
+
import { PersonArmsSpreadIcon } from "@phosphor-icons/react";
|
|
1355
1361
|
import { useGlobals as useGlobals2 } from "@aussieljk/forkbook/manager-api";
|
|
1356
1362
|
|
|
1357
1363
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-a11y/components/VisionSimulator.module.css
|
|
@@ -1360,7 +1366,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"
|
|
|
1360
1366
|
let style = document.createElement("style");
|
|
1361
1367
|
style.setAttribute("data-fb-css", id6), style.textContent = ".fb-_p72Ja-hidden,.fb-_p72Ja-hidden svg{width:0;height:0;position:absolute}.fb-_p72Ja-colorIcon{width:14px;height:14px;box-shadow:var(--fb-app-border-color) 0 0 0 1px inset;background:linear-gradient(90deg,#f44336,#ff9800,#ffeb3b,#8bc34a,#2196f3,#9c27b0);border-radius:14px;flex-shrink:0;display:block}", document.head.appendChild(style);
|
|
1362
1368
|
}
|
|
1363
|
-
var VisionSimulator_default = {
|
|
1369
|
+
var VisionSimulator_default = { hidden: "fb-_p72Ja-hidden", colorIcon: "fb-_p72Ja-colorIcon" };
|
|
1364
1370
|
|
|
1365
1371
|
// src/addon-a11y/components/VisionSimulator.tsx
|
|
1366
1372
|
import { Fragment as Fragment5, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -1383,7 +1389,7 @@ var VisionSimulator = () => {
|
|
|
1383
1389
|
{
|
|
1384
1390
|
resetLabel: "Reset color filter",
|
|
1385
1391
|
onReset: () => updateGlobals({ [VISION_GLOBAL_KEY]: void 0 }),
|
|
1386
|
-
icon: jsx7(
|
|
1392
|
+
icon: jsx7(PersonArmsSpreadIcon, {}),
|
|
1387
1393
|
disabled: isLocked,
|
|
1388
1394
|
ariaLabel: isLocked ? "Vision filter set by story globals" : "Vision filter",
|
|
1389
1395
|
ariaDescription: "Select a vision filter among predefined options, or reset to remove the filter.",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
|
-
import "../_node-chunks/chunk-
|
|
12
|
+
import "../_node-chunks/chunk-TZ2TZW2K.js";
|
|
13
13
|
|
|
14
14
|
// src/addon-a11y/preset.ts
|
|
15
15
|
var isAddonA11yEnabled = !0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-HOSBMS2F.js";
|
|
5
5
|
import {
|
|
6
6
|
ArgsTable,
|
|
7
7
|
BooleanControl,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parse,
|
|
22
22
|
parseDate,
|
|
23
23
|
parseTime
|
|
24
|
-
} from "../_browser-chunks/chunk-
|
|
24
|
+
} from "../_browser-chunks/chunk-MJY6ITYT.js";
|
|
25
25
|
import "../_browser-chunks/chunk-PJSMZ27A.js";
|
|
26
26
|
import "../_browser-chunks/chunk-6ELMKWKX.js";
|
|
27
27
|
import {
|
|
@@ -74,7 +74,7 @@ var Subtitle = ({ className, ...props }) => jsx2("h2", { className: clsx(withRes
|
|
|
74
74
|
import { Children, useCallback, useContext as useContext2, useId, useMemo, useState as useState3 } from "react";
|
|
75
75
|
import { logger } from "@aussieljk/forkbook/internal/client-logger";
|
|
76
76
|
import { Bar, Button as Button2, ToggleButton, Zoom } from "@aussieljk/forkbook/internal/components";
|
|
77
|
-
import {
|
|
77
|
+
import { CodeIcon, CopyIcon } from "@phosphor-icons/react";
|
|
78
78
|
|
|
79
79
|
// src/addon-docs/blocks/blocks/DocsContext.ts
|
|
80
80
|
import { createContext } from "react";
|
|
@@ -303,7 +303,13 @@ var storyBlockIdFromId = ({ story, primary }) => `story--${story.id}${primary ?
|
|
|
303
303
|
|
|
304
304
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
305
305
|
import { Button, Toolbar as SharedToolbar } from "@aussieljk/forkbook/internal/components";
|
|
306
|
-
import {
|
|
306
|
+
import {
|
|
307
|
+
ArrowCounterClockwiseIcon,
|
|
308
|
+
ArrowsClockwiseIcon,
|
|
309
|
+
MagnifyingGlassMinusIcon,
|
|
310
|
+
MagnifyingGlassPlusIcon,
|
|
311
|
+
ShareNetworkIcon
|
|
312
|
+
} from "@phosphor-icons/react";
|
|
307
313
|
|
|
308
314
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/components/Toolbar.module.css
|
|
309
315
|
var id4 = "core/src/addon-docs/blocks/components/Toolbar.module.css";
|
|
@@ -311,7 +317,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id4}"
|
|
|
311
317
|
let style = document.createElement("style");
|
|
312
318
|
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
319
|
}
|
|
314
|
-
var Toolbar_default = {
|
|
320
|
+
var Toolbar_default = { glow: "fb-zhwxuG-glow", wrapper: "fb-zhwxuG-wrapper", iconPlaceholder: "fb-zhwxuG-iconPlaceholder", absoluteBar: "fb-zhwxuG-absoluteBar" };
|
|
315
321
|
|
|
316
322
|
// src/addon-docs/blocks/components/Toolbar.tsx
|
|
317
323
|
import { Fragment as Fragment2, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -344,7 +350,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
344
350
|
variant: "ghost",
|
|
345
351
|
onClick: onReloadStory,
|
|
346
352
|
ariaLabel: "Reload story",
|
|
347
|
-
children: jsx7(
|
|
353
|
+
children: jsx7(ArrowsClockwiseIcon, {})
|
|
348
354
|
},
|
|
349
355
|
"reload"
|
|
350
356
|
),
|
|
@@ -357,7 +363,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
357
363
|
e.preventDefault(), zoom(0.8);
|
|
358
364
|
},
|
|
359
365
|
ariaLabel: "Zoom in",
|
|
360
|
-
children: jsx7(
|
|
366
|
+
children: jsx7(MagnifyingGlassPlusIcon, {})
|
|
361
367
|
},
|
|
362
368
|
"zoomin"
|
|
363
369
|
),
|
|
@@ -370,7 +376,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
370
376
|
e.preventDefault(), zoom(1.25);
|
|
371
377
|
},
|
|
372
378
|
ariaLabel: "Zoom out",
|
|
373
|
-
children: jsx7(
|
|
379
|
+
children: jsx7(MagnifyingGlassMinusIcon, {})
|
|
374
380
|
},
|
|
375
381
|
"zoomout"
|
|
376
382
|
),
|
|
@@ -383,7 +389,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
383
389
|
e.preventDefault(), resetZoom();
|
|
384
390
|
},
|
|
385
391
|
ariaLabel: "Reset zoom",
|
|
386
|
-
children: jsx7(
|
|
392
|
+
children: jsx7(ArrowCounterClockwiseIcon, {})
|
|
387
393
|
},
|
|
388
394
|
"zoomreset"
|
|
389
395
|
)
|
|
@@ -395,7 +401,7 @@ var TRAILING_INSET = 10, Toolbar = ({
|
|
|
395
401
|
padding: "small",
|
|
396
402
|
variant: "ghost",
|
|
397
403
|
ariaLabel: "Open canvas in new tab",
|
|
398
|
-
children: jsx7("a", { href: getStoryHref(storyId), target: "_blank", rel: "noopener noreferrer", children: jsx7(
|
|
404
|
+
children: jsx7("a", { href: getStoryHref(storyId), target: "_blank", rel: "noopener noreferrer", children: jsx7(ShareNetworkIcon, {}) })
|
|
399
405
|
},
|
|
400
406
|
"opener"
|
|
401
407
|
) }, "right")
|
|
@@ -409,7 +415,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id5}"
|
|
|
409
415
|
let style = document.createElement("style");
|
|
410
416
|
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
417
|
}
|
|
412
|
-
var Preview_default = {
|
|
418
|
+
var Preview_default = { skeleton: "fb-3lk6NG-skeleton", trailingSnippetWarning: "fb-3lk6NG-trailingSnippetWarning", actionBar: "fb-3lk6NG-actionBar", previewContainer: "fb-3lk6NG-previewContainer", positionedToolbar: "fb-3lk6NG-positionedToolbar", source: "fb-3lk6NG-source", childrenContainer: "fb-3lk6NG-childrenContainer" };
|
|
413
419
|
|
|
414
420
|
// src/addon-docs/blocks/components/Preview.tsx
|
|
415
421
|
import { Fragment as Fragment3, jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
@@ -507,7 +513,7 @@ var COPIED_LABEL_ANIMATION_DURATION = 2e3, Preview = ({
|
|
|
507
513
|
variant: "ghost",
|
|
508
514
|
className: "docblock-code-toggle docblock-code-toggle--disabled",
|
|
509
515
|
children: [
|
|
510
|
-
jsx8(
|
|
516
|
+
jsx8(CodeIcon, {}),
|
|
511
517
|
" No code available"
|
|
512
518
|
]
|
|
513
519
|
}
|
|
@@ -525,7 +531,7 @@ var COPIED_LABEL_ANIMATION_DURATION = 2e3, Preview = ({
|
|
|
525
531
|
variant: "ghost",
|
|
526
532
|
className: `docblock-code-toggle${expanded ? " docblock-code-toggle--expanded" : ""}`,
|
|
527
533
|
children: [
|
|
528
|
-
jsx8(
|
|
534
|
+
jsx8(CodeIcon, {}),
|
|
529
535
|
" ",
|
|
530
536
|
expanded ? "Hide code" : "Show code"
|
|
531
537
|
]
|
|
@@ -585,7 +591,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id6}"
|
|
|
585
591
|
let style = document.createElement("style");
|
|
586
592
|
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
593
|
}
|
|
588
|
-
var Typeset_default = {
|
|
594
|
+
var Typeset_default = { label: "fb-JrHkka-label", sample: "fb-JrHkka-sample", wrapper: "fb-JrHkka-wrapper", typeSpecimen: "fb-JrHkka-typeSpecimen" };
|
|
589
595
|
|
|
590
596
|
// src/addon-docs/blocks/components/Typeset.tsx
|
|
591
597
|
import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
@@ -628,7 +634,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id7}"
|
|
|
628
634
|
let style = document.createElement("style");
|
|
629
635
|
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
636
|
}
|
|
631
|
-
var ColorPalette_default = {
|
|
637
|
+
var ColorPalette_default = { swatchSpecimen: "fb-yLo5nG-swatchSpecimen", listName: "fb-yLo5nG-listName", swatchLabel: "fb-yLo5nG-swatchLabel", swatchLabels: "fb-yLo5nG-swatchLabels", itemTitle: "fb-yLo5nG-itemTitle", swatches: "fb-yLo5nG-swatches", itemSubtitle: "fb-yLo5nG-itemSubtitle", itemDescription: "fb-yLo5nG-itemDescription", swatch: "fb-yLo5nG-swatch", listSwatches: "fb-yLo5nG-listSwatches", listHeading: "fb-yLo5nG-listHeading", item: "fb-yLo5nG-item", list: "fb-yLo5nG-list", swatchColors: "fb-yLo5nG-swatchColors" };
|
|
632
638
|
|
|
633
639
|
// src/addon-docs/blocks/components/ColorPalette.tsx
|
|
634
640
|
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
@@ -688,7 +694,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id8}"
|
|
|
688
694
|
let style = document.createElement("style");
|
|
689
695
|
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
696
|
}
|
|
691
|
-
var IconGallery_default = {
|
|
697
|
+
var IconGallery_default = { itemSpecimen: "fb-P_cJ1a-itemSpecimen", list: "fb-P_cJ1a-list", itemLabel: "fb-P_cJ1a-itemLabel", item: "fb-P_cJ1a-item" };
|
|
692
698
|
|
|
693
699
|
// src/addon-docs/blocks/components/IconGallery.tsx
|
|
694
700
|
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
@@ -1220,7 +1226,7 @@ if (typeof document < "u" && !document.querySelector(`style[data-fb-css="${id9}"
|
|
|
1220
1226
|
let style = document.createElement("style");
|
|
1221
1227
|
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
1228
|
}
|
|
1223
|
-
var TableOfContents_default = {
|
|
1229
|
+
var TableOfContents_default = { nav: "fb-7qSlVa-nav", aside: "fb-7qSlVa-aside", heading: "fb-7qSlVa-heading" };
|
|
1224
1230
|
|
|
1225
1231
|
// src/addon-docs/blocks/components/TableOfContents.tsx
|
|
1226
1232
|
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
@@ -1901,7 +1907,7 @@ import {
|
|
|
1901
1907
|
nameSpaceClassNames
|
|
1902
1908
|
} from "@aussieljk/forkbook/internal/components";
|
|
1903
1909
|
import { NAVIGATE_URL as NAVIGATE_URL2 } from "@aussieljk/forkbook/internal/core-events";
|
|
1904
|
-
import { LinkIcon } from "@
|
|
1910
|
+
import { LinkIcon } from "@phosphor-icons/react";
|
|
1905
1911
|
|
|
1906
1912
|
// storybook-css:/home/runner/work/forkbook/forkbook/code/core/src/addon-docs/blocks/blocks/mdx.module.css
|
|
1907
1913
|
var id10 = "core/src/addon-docs/blocks/blocks/mdx.module.css";
|
|
@@ -2133,6 +2139,7 @@ var DescriptionType = /* @__PURE__ */ ((DescriptionType2) => (DescriptionType2.I
|
|
|
2133
2139
|
|
|
2134
2140
|
// src/addon-docs/blocks/blocks/DocsContainer.tsx
|
|
2135
2141
|
import { useEffect as useEffect9, useMemo as useMemo3 } from "react";
|
|
2142
|
+
import { IconContext } from "@phosphor-icons/react";
|
|
2136
2143
|
import { ensure as ensureTheme, ThemeProvider } from "@aussieljk/forkbook/theming";
|
|
2137
2144
|
|
|
2138
2145
|
// src/addon-docs/blocks/blocks/DocsSluggerContext.ts
|
|
@@ -2189,7 +2196,7 @@ var createDocsSlugger = () => new BananaSlug(), DocsSluggerContext = createConte
|
|
|
2189
2196
|
|
|
2190
2197
|
// src/addon-docs/blocks/blocks/DocsContainer.tsx
|
|
2191
2198
|
import { jsx as jsx23 } from "react/jsx-runtime";
|
|
2192
|
-
var { document: document3, window: globalWindow2 } = globalThis, DocsContainer = ({
|
|
2199
|
+
var { document: document3, window: globalWindow2 } = globalThis, ICONS = { size: 14 }, DocsContainer = ({
|
|
2193
2200
|
context,
|
|
2194
2201
|
theme,
|
|
2195
2202
|
children
|
|
@@ -2212,7 +2219,7 @@ var { document: document3, window: globalWindow2 } = globalThis, DocsContainer =
|
|
|
2212
2219
|
}
|
|
2213
2220
|
} catch {
|
|
2214
2221
|
}
|
|
2215
|
-
}), jsx23(DocsSluggerContext.Provider, { value: slugger, children: jsx23(DocsContext.Provider, { value: context, children: jsx23(SourceContainer, { channel: context.channel, children: jsx23(ThemeProvider, { theme: ensureTheme(theme), children: jsx23(
|
|
2222
|
+
}), jsx23(DocsSluggerContext.Provider, { value: slugger, children: jsx23(DocsContext.Provider, { value: context, children: jsx23(SourceContainer, { channel: context.channel, children: jsx23(ThemeProvider, { theme: ensureTheme(theme), children: jsx23(IconContext.Provider, { value: ICONS, children: jsx23(
|
|
2216
2223
|
DocsPageWrapper,
|
|
2217
2224
|
{
|
|
2218
2225
|
lang,
|
|
@@ -2226,7 +2233,7 @@ var { document: document3, window: globalWindow2 } = globalThis, DocsContainer =
|
|
|
2226
2233
|
) : null,
|
|
2227
2234
|
children
|
|
2228
2235
|
}
|
|
2229
|
-
) }) }) }) });
|
|
2236
|
+
) }) }) }) }) });
|
|
2230
2237
|
};
|
|
2231
2238
|
|
|
2232
2239
|
// src/addon-docs/blocks/blocks/Subheading.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SnippetWarning,
|
|
3
3
|
Source
|
|
4
|
-
} from "../_browser-chunks/chunk-
|
|
4
|
+
} from "../_browser-chunks/chunk-HOSBMS2F.js";
|
|
5
5
|
import "../_browser-chunks/chunk-6ELMKWKX.js";
|
|
6
6
|
import "../_browser-chunks/chunk-CNED6RYH.js";
|
|
7
7
|
import "../_browser-chunks/chunk-IMSF75WX.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_1qqypd7gt14 from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_1qqypd7gt14 from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_1qqypd7gt14 from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_1qqypd7gt14.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_1qqypd7gt14.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_1qqypd7gt14.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Forkbook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
import {
|
|
13
13
|
resolvePackageDir
|
|
14
|
-
} from "../_node-chunks/chunk-
|
|
15
|
-
import "../_node-chunks/chunk-
|
|
16
|
-
import "../_node-chunks/chunk-
|
|
14
|
+
} from "../_node-chunks/chunk-Q33BYVLY.js";
|
|
15
|
+
import "../_node-chunks/chunk-M2QB5ALN.js";
|
|
16
|
+
import "../_node-chunks/chunk-TZ2TZW2K.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-BKWCT6CB.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: () => ({
|