@aussieljk/forkbook 0.0.1-5 → 0.0.1-7
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/dist/_browser-chunks/{Color-GTF4GM7L.js → Color-2YRIFQLC.js} +1 -1
- package/dist/_browser-chunks/WithTooltip-4R5JMWZ7.js +196 -0
- package/dist/_browser-chunks/{chunk-MJY6ITYT.js → chunk-4EFKUJG2.js} +10 -10
- package/dist/_browser-chunks/chunk-6AKCRYVX.js +6 -0
- package/dist/_browser-chunks/{chunk-FVSEPWWX.js → chunk-DAUHYZUB.js} +550 -1621
- package/dist/_browser-chunks/chunk-E47B5255.js +1149 -0
- package/dist/_browser-chunks/{chunk-K6GRZSXS.js → chunk-EQKMUQF3.js} +4 -3
- package/dist/_browser-chunks/{chunk-GU3X2J4S.js → chunk-FRAOQJDI.js} +3 -1
- package/dist/_browser-chunks/{chunk-2SCZVUKW.js → chunk-H4ZHAXN3.js} +1 -1
- package/dist/_browser-chunks/{chunk-HOSBMS2F.js → chunk-HTL5ODCB.js} +1 -1
- package/dist/_browser-chunks/{chunk-ZLWA5RIE.js → chunk-I4ATZPNZ.js} +1 -1
- package/dist/_browser-chunks/{chunk-6SHRDXGF.js → chunk-IJYLSHY7.js} +173 -87
- package/dist/_browser-chunks/{chunk-SZCSXISG.js → chunk-NA4ITZTK.js} +7 -5
- package/dist/_browser-chunks/chunk-NGMQJMCY.js +53 -0
- package/dist/_browser-chunks/{chunk-K2B36HKM.js → chunk-O24AZJZ7.js} +1 -1
- package/dist/_browser-chunks/{chunk-NMRSYACM.js → chunk-SFMQDIN2.js} +4 -3
- package/dist/_browser-chunks/{chunk-ZTQ5MEJ5.js → chunk-UMGDO2ZM.js} +3 -37
- package/dist/_browser-chunks/chunk-WVF42CP2.js +6027 -0
- package/dist/_browser-chunks/{chunk-52CW7FF7.js → chunk-YYWKZ7O3.js} +3 -1
- package/dist/_node-chunks/{attached-runtime-IOE3BXIY.js → attached-runtime-WFZCCGUB.js} +29 -29
- package/dist/_node-chunks/{builder-manager-GDFEGD72.js → builder-manager-DHKHRZK4.js} +155 -148
- package/dist/_node-chunks/{chunk-M2QB5ALN.js → chunk-3ZCGT6VF.js} +6 -6
- package/dist/_node-chunks/{chunk-SUJXQU74.js → chunk-4HGC3G6B.js} +46 -15
- package/dist/_node-chunks/{chunk-WMQ2VCTF.js → chunk-5PYQ573S.js} +7 -7
- package/dist/_node-chunks/{chunk-TYCDPVIH.js → chunk-64JPAW3T.js} +6 -6
- package/dist/_node-chunks/chunk-6CB3XSQ2.js +495 -0
- package/dist/_node-chunks/{chunk-MHDKWHOA.js → chunk-6K3ZE4HN.js} +6 -6
- package/dist/_node-chunks/{chunk-3DCJB2D4.js → chunk-6QZ3PX5R.js} +6 -6
- package/dist/_node-chunks/{chunk-6DOJKR3V.js → chunk-7HVDL6M3.js} +29843 -51588
- package/dist/_node-chunks/chunk-7PMQPS5E.js +347 -0
- package/dist/_node-chunks/{chunk-L5CY6HKG.js → chunk-7V5AOV2J.js} +7 -7
- package/dist/_node-chunks/{chunk-AXJJB2K6.js → chunk-7VHCAGBJ.js} +8 -8
- package/dist/_node-chunks/{chunk-3DX6THMV.js → chunk-ATX7SHS7.js} +8 -8
- package/dist/_node-chunks/{chunk-SDXU22OH.js → chunk-BQC6WCUS.js} +6 -6
- package/dist/_node-chunks/{chunk-D6B2DRQZ.js → chunk-BR4WDRY6.js} +8 -8
- package/dist/_node-chunks/{chunk-SJZQ44OR.js → chunk-BRHJ4P3A.js} +6 -6
- package/dist/_node-chunks/{chunk-N4FLP7AO.js → chunk-CBBFNVFZ.js} +7 -7
- package/dist/_node-chunks/{chunk-PHXCOTMO.js → chunk-CDFQORVD.js} +34 -949
- package/dist/_node-chunks/{chunk-SR3BCYEH.js → chunk-CENNLCU7.js} +6 -6
- package/dist/_node-chunks/{chunk-OTFIQXHR.js → chunk-CNMMDQC3.js} +27 -50
- package/dist/_node-chunks/{chunk-E4C2H45J.js → chunk-DMDZPUHM.js} +6 -6
- package/dist/_node-chunks/{chunk-45LRLOYO.js → chunk-DT45EUDD.js} +60 -134
- package/dist/_node-chunks/{chunk-KQFHT7SW.js → chunk-EAL4RVEF.js} +6 -6
- package/dist/_node-chunks/chunk-EFFWFE6W.js +11 -0
- package/dist/_node-chunks/{chunk-MDGNN3FJ.js → chunk-ESCZ2NSB.js} +6 -6
- package/dist/_node-chunks/{chunk-T2I453AJ.js → chunk-ESZIQTUH.js} +7 -7
- package/dist/_node-chunks/{chunk-HWY2CAUH.js → chunk-F3SAYS4R.js} +6 -6
- package/dist/_node-chunks/{chunk-LSP54OYM.js → chunk-FTUQ7T3V.js} +25 -8
- package/dist/_node-chunks/{chunk-AAAUVDWT.js → chunk-FVFSSIGA.js} +10 -10
- package/dist/_node-chunks/{chunk-GS4VNNSS.js → chunk-G2AANC4A.js} +6 -6
- package/dist/_node-chunks/{chunk-SAAQFJL4.js → chunk-HUMAXGH2.js} +6 -6
- package/dist/_node-chunks/{chunk-A4XRNDN4.js → chunk-I535GEPH.js} +7 -7
- package/dist/_node-chunks/{chunk-CK4EHW3K.js → chunk-J3Q56GX3.js} +25 -25
- package/dist/_node-chunks/{chunk-U47PBQZ3.js → chunk-JDKYP7FW.js} +10 -10
- package/dist/_node-chunks/{chunk-7TUSIVWS.js → chunk-JED5F3H2.js} +6 -6
- package/dist/_node-chunks/{chunk-UM5G27IC.js → chunk-JMS4H7QB.js} +7 -7
- package/dist/_node-chunks/{chunk-GR65OLAH.js → chunk-JOSJ64KD.js} +7 -7
- package/dist/_node-chunks/{chunk-XUHEL63G.js → chunk-JPHSU5OI.js} +6 -6
- package/dist/_node-chunks/{chunk-NYWD5LYM.js → chunk-JQICISDD.js} +6 -6
- package/dist/_node-chunks/{chunk-I3DKGHVD.js → chunk-JTLOSDYL.js} +9 -9
- package/dist/_node-chunks/{chunk-5KAJVK4E.js → chunk-K5RUOW42.js} +7 -7
- package/dist/_node-chunks/{chunk-UKEJISQU.js → chunk-KHWCZDIW.js} +650 -9
- package/dist/_node-chunks/chunk-KWER36VB.js +20 -0
- package/dist/_node-chunks/{chunk-YTBTCM22.js → chunk-LJTP5PAJ.js} +6 -6
- package/dist/_node-chunks/chunk-LZYYZ62Y.js +19 -0
- package/dist/_node-chunks/{chunk-CGXW2HFE.js → chunk-M7ZVSBNU.js} +6 -6
- package/dist/_node-chunks/{chunk-BTFSFATC.js → chunk-MBIIJTGQ.js} +11 -10
- package/dist/_node-chunks/{chunk-VBSVLIXU.js → chunk-MF3AT3JQ.js} +6 -6
- package/dist/_node-chunks/{chunk-AX2ALHBK.js → chunk-MF5BYASO.js} +9 -6
- package/dist/_node-chunks/{chunk-JJNO3SFI.js → chunk-MJFMB4WD.js} +9 -9
- package/dist/_node-chunks/{chunk-E4TBS4MV.js → chunk-MRWBN46D.js} +8 -8
- package/dist/_node-chunks/{chunk-QQXFB4YA.js → chunk-MZQXEAI6.js} +9 -9
- package/dist/_node-chunks/{chunk-TZ2TZW2K.js → chunk-NLPC2DDQ.js} +6 -6
- package/dist/_node-chunks/{chunk-HCX5R46Q.js → chunk-NQAFLS5U.js} +8 -8
- package/dist/_node-chunks/{chunk-5LE7GXEC.js → chunk-NSZGBFPR.js} +6 -6
- package/dist/_node-chunks/{chunk-WHDCECIV.js → chunk-NUYBFTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-RCPKLP3X.js → chunk-O7VJA7SM.js} +7 -7
- package/dist/_node-chunks/{chunk-2GY2FKLH.js → chunk-OGJ7LDX3.js} +7 -7
- package/dist/_node-chunks/{chunk-F4Q7OCCN.js → chunk-OWT6AVWK.js} +8 -8
- package/dist/_node-chunks/{chunk-LCXIUTOU.js → chunk-P3GOMPP3.js} +7 -7
- package/dist/_node-chunks/{chunk-KCAPE7OJ.js → chunk-PQLXHVWK.js} +6 -6
- package/dist/_node-chunks/{chunk-V45RRBTK.js → chunk-Q6QRFKHB.js} +8 -8
- package/dist/_node-chunks/{chunk-VJSOHPVD.js → chunk-QSP42ZBM.js} +6 -6
- package/dist/_node-chunks/{chunk-7XUQM6SR.js → chunk-QWDR5OWQ.js} +14 -14
- package/dist/_node-chunks/{chunk-YLKS7U3M.js → chunk-QWRQXG2V.js} +8 -8
- package/dist/_node-chunks/{chunk-4WO3GNZQ.js → chunk-R6AKCXPH.js} +6 -6
- package/dist/_node-chunks/{chunk-AXQ6LLSE.js → chunk-RCY7TLET.js} +8 -8
- package/dist/_node-chunks/chunk-RKKMQA6N.js +620 -0
- package/dist/_node-chunks/{chunk-BV3QRFE6.js → chunk-RZ7UEP4N.js} +6 -6
- package/dist/_node-chunks/{chunk-OSJFTZ5N.js → chunk-S3HB4EWT.js} +6 -6
- package/dist/_node-chunks/{chunk-QZVFIEOM.js → chunk-SHH7JROR.js} +6 -6
- package/dist/_node-chunks/{chunk-Q33BYVLY.js → chunk-SWHTDOB4.js} +7 -7
- package/dist/_node-chunks/{chunk-ZPPVG262.js → chunk-SZYMLCHF.js} +6 -6
- package/dist/_node-chunks/{chunk-ES5QZBSB.js → chunk-TOGDRW2W.js} +6 -6
- package/dist/_node-chunks/{chunk-J64XMUPF.js → chunk-U3E7E4Q2.js} +10 -10
- package/dist/_node-chunks/{chunk-RECGEABN.js → chunk-U6DHF3RM.js} +7 -7
- package/dist/_node-chunks/{chunk-OB2XHL53.js → chunk-UAG3XK32.js} +31 -30
- package/dist/_node-chunks/{chunk-BBD2KUV4.js → chunk-UF6Q6L5C.js} +22 -20
- package/dist/_node-chunks/chunk-UGXN7JTT.js +18 -0
- package/dist/_node-chunks/{chunk-EWAGCBER.js → chunk-UNCBLHIP.js} +8 -8
- package/dist/_node-chunks/chunk-UPJMGWMZ.js +25 -0
- package/dist/_node-chunks/chunk-UVV24PG4.js +69 -0
- package/dist/_node-chunks/{chunk-E6KXSYWR.js → chunk-WBB4NQ6H.js} +6 -6
- package/dist/_node-chunks/{chunk-B2IOB2V3.js → chunk-WHOF2BJB.js} +7 -7
- package/dist/_node-chunks/{chunk-FA36CEN4.js → chunk-WME5NEJA.js} +6 -6
- package/dist/_node-chunks/{chunk-BFZG4UTW.js → chunk-X63YMAHP.js} +7 -7
- package/dist/_node-chunks/chunk-Y2GHAOKI.js +25 -0
- package/dist/_node-chunks/{chunk-AXG3EMKS.js → chunk-Y6G64J5S.js} +7 -15
- package/dist/_node-chunks/chunk-YVIPYJ53.js +2609 -0
- package/dist/_node-chunks/{chunk-NDGTNFUN.js → chunk-YZWUD7I5.js} +16 -13
- package/dist/_node-chunks/{chunk-VN3A5CEH.js → chunk-ZIDIYSJQ.js} +7 -7
- package/dist/_node-chunks/chunk-ZSGOW4WQ.js +20 -0
- package/dist/_node-chunks/dist-5EG56KTF.js +16 -0
- package/dist/_node-chunks/dist-UEXSNGGQ.js +27 -0
- package/dist/_node-chunks/{local-runtime-RW6AAWSX.js → local-runtime-UN5QK2SE.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-BKWCT6CB.js → mdx-plugin-6M6CMNL3.js} +2263 -130
- package/dist/_node-chunks/{monorepo-ZFJ6HM34.js → monorepo-253VKW4B.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-3ZOE54OQ.js} +11 -11
- package/dist/_node-chunks/optimized-tests-JSWLRMEI.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-2ZMJNCBS.js → pattern-copy-play-CCCJRMSL.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-VMANBHPR.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-RT5Z62RV.js → rehype-external-links-LJTPLCGD.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-H5TWHJ6G.js → rehype-slug-KQI7ULEZ.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-DYLWZGE4.js → relaxed-limits-MUE2NI7S.js} +11 -11
- package/dist/_node-chunks/{run-65LLGSVR.js → run-PGZMPNMS.js} +246 -13
- package/dist/_node-chunks/{run-BQQLK454.js → run-SYLR25HA.js} +17 -17
- package/dist/_node-chunks/session-id-J4A25UQ6.js +23 -0
- package/dist/_node-chunks/{setup-NEO7XX66.js → setup-XZWSUYPG.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-6P3FZQTY.js → vitest.config.4.template-T25YYRGV.js} +7 -7
- package/dist/actions/decorator.js +2 -1
- package/dist/actions/index.js +2 -1
- package/dist/addon-a11y/index.js +2 -1
- package/dist/addon-a11y/manager.js +6 -5
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +2 -1
- package/dist/addon-docs/blocks.js +28 -14
- package/dist/addon-docs/manager.js +2 -2
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +3 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +3 -2
- package/dist/addon-links/react/index.js +2 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +21 -44
- package/dist/addon-ondevice-actions/index.js +5 -1
- package/dist/addon-ondevice-actions/register.js +5 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +2 -2
- 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 +15 -16
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +17 -17
- package/dist/babel/index.d.ts +91 -842
- package/dist/babel/index.js +13 -19
- package/dist/bin/core.js +61 -60
- package/dist/bin/dispatcher.js +16 -11
- package/dist/bin/loader.js +16 -15
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-Jf7j2Ot0.d.ts → chunk-BGhyFTJO.d.ts} +1 -1
- package/dist/{chunk-Ce6uhJuR.d.ts → chunk-B_ZhEPlo.d.ts} +1 -1
- package/dist/{chunk-CZHsX9Zo.d.ts → chunk-CMaYrou5.d.ts} +1 -1
- package/dist/chunk-CV4-Z2pn.d.ts +30 -0
- package/dist/{chunk-B2t1tGRh.d.ts → chunk-CYuvV2sR.d.ts} +11 -13
- package/dist/{chunk-DpljNJTz.d.ts → chunk-LrH1y9J2.d.ts} +39 -0
- package/dist/cli/index.d.ts +13 -866
- package/dist/cli/index.js +42 -4952
- 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/client-logger/index.js +3 -1
- package/dist/common/index.d.ts +5 -4
- package/dist/common/index.js +35 -37
- package/dist/components/index.d.ts +14 -231
- package/dist/components/index.js +2512 -8359
- package/dist/core-events/index.d.ts +3 -2
- package/dist/core-events/index.js +3 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +450 -147
- package/dist/core-server/presets/common-manager.js +62 -866
- package/dist/core-server/presets/common-override-preset.js +12 -10
- package/dist/core-server/presets/common-preset.js +39 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +1 -1
- package/dist/csf/index.js +27 -93
- package/dist/csf-tools/index.d.ts +14 -12
- package/dist/csf-tools/index.js +14 -14
- package/dist/instrumenter/index.js +3 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BgVwdR45.js → globals-runtime-4fCHtNC6.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DW1HVuLt.js → globals-runtime-BKPOYSwp.js} +410 -379
- package/dist/manager/_manager-chunks/{globals-runtime-zVfMhZAt.js → globals-runtime-BMIT8BJb.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CUBVmgcG.js → globals-runtime-BO0pfoqL.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-Bke4A4DG.js → globals-runtime-BZKYJxYC.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-D_YKR9nf.js → globals-runtime-Bpc_ftuT.js} +1252 -539
- package/dist/manager/_manager-chunks/{globals-runtime-DCOX9nD5.js → globals-runtime-CBviMKtt.js} +1 -17
- package/dist/manager/_manager-chunks/{globals-runtime-CTB3rhS1.js → globals-runtime-CI-C7ncS.js} +10 -10
- package/dist/manager/_manager-chunks/{globals-runtime-Cr3nYYcT.js → globals-runtime-CI_p54Ha.js} +59 -60
- package/dist/manager/_manager-chunks/{globals-runtime-CiLcg4q9.js → globals-runtime-CTyYXvUm.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DqNrRmOM.js → globals-runtime-CoCzM1V_.js} +93 -2146
- package/dist/manager/_manager-chunks/{globals-runtime-CXKb33hg.js → globals-runtime-CzEhVGVp.js} +141 -54
- package/dist/manager/_manager-chunks/{globals-runtime-CF4o9_wT.js → globals-runtime-D82vqOGq.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-ALpzCL93.js → globals-runtime-DB8fVA5g.js} +2 -145
- package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js} +153 -141
- package/dist/manager/_manager-chunks/globals-runtime-DOPUchia.js +5282 -0
- package/dist/manager/_manager-chunks/{globals-runtime-BcNHymiF.js → globals-runtime-Dbt08xWQ.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-m07udJ_K.js → globals-runtime-kmPSyf3j.js} +637 -1730
- package/dist/manager/_manager-chunks/{runtime-DMig8mT7.js → runtime-5o_11Jae.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DrjpEyLM.js → runtime-B4U0u9p4.js} +5 -147
- package/dist/manager/_manager-chunks/{runtime-B-eSQdxk.js → runtime-BM30BmeT.js} +503 -44
- package/dist/manager/_manager-chunks/{runtime-EITvVbkG.js → runtime-BdGkqNEt.js} +1 -2
- package/dist/manager/_manager-chunks/{runtime-a5zd7km2.js → runtime-Cf0p9DUx.js} +5 -531
- package/dist/manager/_manager-chunks/{runtime-Cdz2BHhM.js → runtime-D-nYLsdk.js} +57 -34
- package/dist/manager/_manager-chunks/runtime-D09XMY6V.js +294 -0
- package/dist/manager/_manager-chunks/{runtime-Bldwclun.js → runtime-DvrwKw7z.js} +92 -303
- package/dist/manager/_manager-chunks/{runtime-DGHNKNQl.js → runtime-DzxaTqVN.js} +10 -29
- package/dist/manager/_manager-chunks/runtime-P663lpsR.js +528 -0
- package/dist/manager/_manager-chunks/{runtime-Cmu7D8A0.js → runtime-ecY5qnmo.js} +193 -184
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +22 -28
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +16 -11
- package/dist/nextjs-vite/index.js +3 -2
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/node-stand-ins/index.d.ts +68 -0
- package/dist/nextjs-vite/node-stand-ins/index.js +145 -0
- package/dist/nextjs-vite/preset.js +93 -14
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.d.ts +1 -2
- package/dist/nextjs-vite-plugin/index.js +12 -27
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.d.ts +65 -72
- package/dist/node-logger/index.js +11 -12
- package/dist/oxc-parser/index.js +11 -13
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview/_chunks/{runtime-DVM_AHbR.js → runtime-6P-h06Te.js} +51 -50
- package/dist/preview/_chunks/{runtime-BoxmlDdB.js → runtime-B9KKIDGa.js} +202 -81
- package/dist/preview/_chunks/{runtime-BIzIdDbb.js → runtime-BPwAnlRx.js} +482 -334
- package/dist/preview/_chunks/{runtime-q3wt0e_N.js → runtime-BUnOhg9h.js} +2 -2
- package/dist/preview/_chunks/runtime-Bcv1hJky.js +6305 -0
- package/dist/preview/_chunks/{runtime-CqHxptiK.js → runtime-C1jgT6tJ.js} +93 -2145
- package/dist/preview/_chunks/{runtime-D7B4bVe_.js → runtime-C8QFpkFV.js} +6 -6
- package/dist/preview/_chunks/{runtime-CijtAN7R.js → runtime-DdqR8Fd0.js} +15 -6
- package/dist/preview/_chunks/{runtime-B3y8ocOg.js → runtime-DvBfMhis.js} +2 -2
- package/dist/preview/_chunks/{runtime-BZSnICCg.js → runtime-WapFVPAh.js} +29 -29
- package/dist/preview/runtime.js +1 -1
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-api/index.js +2 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -12
- package/dist/react/entry-preview.js +2 -1
- package/dist/react/index.js +6 -4
- package/dist/react/preset.js +13 -14
- package/dist/react/preview.js +3 -2
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/index.js +25 -211
- package/dist/react-native/metro/node.js +10 -9
- package/dist/react-native/metro/withStorybook.js +11 -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/router/index.js +3 -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/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -45
- package/dist/test/index.js +808 -573
- package/dist/theming/create.js +2 -1
- package/dist/theming/index.js +22 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +21 -44
- package/dist/_browser-chunks/WithTooltip-V55S6YCY.js +0 -1619
- package/dist/_browser-chunks/chunk-5P4QA6MY.js +0 -20
- package/dist/_browser-chunks/chunk-UDQ3XQFC.js +0 -108
- package/dist/_node-chunks/chunk-6QQTZT3Z.js +0 -19
- package/dist/_node-chunks/chunk-BRD332PB.js +0 -3008
- package/dist/_node-chunks/chunk-E2XKJLXK.js +0 -4731
- package/dist/_node-chunks/chunk-F2LQJXAB.js +0 -29
- package/dist/_node-chunks/chunk-MCZZMBPA.js +0 -20
- package/dist/_node-chunks/chunk-MMFUHYSU.js +0 -23
- package/dist/_node-chunks/chunk-UGFY5LEG.js +0 -18
- package/dist/_node-chunks/chunk-UO5ZOCSQ.js +0 -662
- package/dist/_node-chunks/chunk-UW35FCXF.js +0 -20
- package/dist/_node-chunks/chunk-VMUXW2E2.js +0 -5414
- package/dist/_node-chunks/chunk-VNXE7UJL.js +0 -51
- package/dist/_node-chunks/chunk-VRJJ43P2.js +0 -11
- package/dist/_node-chunks/chunk-WCJUS7OC.js +0 -1877
- package/dist/_node-chunks/chunk-WMBMSNB7.js +0 -36
- package/dist/_node-chunks/chunk-YV2QBXU6.js +0 -3823
- package/dist/_node-chunks/chunk-ZZNBVMBU.js +0 -25
- package/dist/_node-chunks/dist-VFUGPNLK.js +0 -16
- package/dist/_node-chunks/globby-N7LO32D3.js +0 -2884
- package/dist/_node-chunks/jiti-SJDZ7LQB.js +0 -3848
- package/dist/_node-chunks/lib-4HD6QL5R.js +0 -366
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +0 -22
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +0 -20
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +0 -23
- package/dist/chunk-BfBzpgct.d.ts +0 -916
- package/dist/core-server/presets/common-manager.css +0 -170
- package/dist/manager/_manager-chunks/globals-runtime-Bon7UvQk.js +0 -9766
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +0 -1584
- package/dist/manager/_manager-chunks/runtime-CuJiHYCp.js +0 -22
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +0 -456
- package/dist/preview/_chunks/runtime-BTPtVY1p.js +0 -1102
- package/dist/preview/_chunks/runtime-DZToXfvO.js +0 -9767
package/dist/manager/_manager-chunks/{globals-runtime-DMvB3-IM.js → globals-runtime-DMq1Phbl.js}
RENAMED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin, r as __exportAll } from "./globals-runtime-BdGkqNEt.js";
|
|
2
|
-
import {
|
|
3
|
-
import { $ as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { d as isTestEnvironment, f as init_csf_utils, g as InvalidChannelPageError, i as init_manager_api, n as init_useMedia, o as shortcutToAriaKeyshortcuts, p as sanitize, r as useMediaQuery, s as shortcutToHumanString, u as init_animation_utils, v as init_preview_errors } from "./globals-runtime-Cr3nYYcT.js";
|
|
2
|
+
import { A as init_lang, B as stringify, F as init_tiny_invariant, H as init_esm, I as invariant, L as init_dist, M as highlight, N as init_lib, R as isJSON, V as dedent, a as init_bundle_esm, j as lang, o as useResizeObserver, z as parse } from "./globals-runtime-DB8fVA5g.js";
|
|
3
|
+
import { $ as init_useCopyButton, a as useTheme, at as LOOPBACK_HOSTNAMES, ct as global, dt as init_universal_store, et as useCopyButton, it as init_announce, lt as init_global, nt as clearAnnouncer, ot as init_local_hosts, r as ThemeProvider, rt as destroyAnnouncer, s as themeToCssVars, st as matchesHostname, t as init_theming, tt as announce, ut as UniversalStore } from "./globals-runtime-CzEhVGVp.js";
|
|
4
|
+
import { L as require_react, N as require_memoizerific, i as useTransitionState, n as init_react_textarea_autosize_browser_esm, r as init_useTransitionState, t as index } from "./globals-runtime-Bpc_ftuT.js";
|
|
5
|
+
import { H as clsx, U as init_clsx } from "./globals-runtime-kmPSyf3j.js";
|
|
6
|
+
import { A as init_TooltipPopup, C as DialogPortal, D as DialogBackdrop, E as init_DialogPopup, F as TooltipTrigger, G as init_ScrollAreaCorner, H as init_useRender, I as init_TooltipTrigger, J as ScrollAreaContent, K as ScrollAreaThumb, L as TooltipRoot, M as init_TooltipPositioner, N as TooltipPortal, O as init_DialogBackdrop, P as init_TooltipPortal, R as init_TooltipRoot, S as init_DialogRoot, T as DialogPopup, U as useRender, W as ScrollAreaCorner, X as ScrollAreaScrollbar, Y as init_ScrollAreaContent, Z as init_ScrollAreaScrollbar, _ as PopoverTrigger, a as TabsTab, b as init_PopoverRoot, c as init_TabsRoot, d as PopoverPopup, et as ScrollAreaViewport, f as init_PopoverPopup, g as init_PopoverPortal, h as PopoverPortal, i as init_TabsPanel, j as TooltipPositioner, k as TooltipPopup, l as PopoverArrow, m as init_PopoverPositioner, n as init_TabsList, nt as ScrollAreaRoot, o as init_TabsTab, p as PopoverPositioner, q as init_ScrollAreaThumb, r as TabsPanel, rt as init_ScrollAreaRoot, s as TabsRoot, t as TabsList, tt as init_ScrollAreaViewport, u as init_PopoverArrow, v as init_PopoverTrigger, w as init_DialogPortal, x as DialogRoot, y as PopoverRoot } from "./globals-runtime-BKPOYSwp.js";
|
|
7
|
+
import { Ao as t, Do as e, Lr as init_LightningSlash_es, Ls as init_ArrowClockwise_es, Oo as init_CaretRight_es, Rr as t$1, Rs as r, ko as init_CaretLeft_es, l as e$1, u as init_X_es } from "./globals-runtime-BO0pfoqL.js";
|
|
8
|
+
import { d as isTestEnvironment, f as init_csf_utils, g as InvalidChannelPageError, i as init_manager_api, n as init_useMedia, o as shortcutToAriaKeyshortcuts, p as sanitize, r as useMediaQuery, s as shortcutToHumanString, u as init_animation_utils, v as init_preview_errors } from "./globals-runtime-CI_p54Ha.js";
|
|
10
9
|
//#region src/channels/main.ts
|
|
11
10
|
var isMulti, generateRandomId, Channel;
|
|
12
11
|
function init_main() {
|
|
@@ -123,8 +122,8 @@ var client_logger_exports = /* @__PURE__ */ __exportAll({
|
|
|
123
122
|
var LOGLEVEL, levels, currentLogLevelNumber, logger, logged, once, deprecate, pretty;
|
|
124
123
|
function init_client_logger() {
|
|
125
124
|
return (init_client_logger = __esmMin((() => {
|
|
126
|
-
|
|
127
|
-
({LOGLEVEL} =
|
|
125
|
+
init_global();
|
|
126
|
+
({LOGLEVEL} = global);
|
|
128
127
|
levels = {
|
|
129
128
|
trace: 1,
|
|
130
129
|
debug: 2,
|
|
@@ -202,6 +201,7 @@ var core_events_exports = /* @__PURE__ */ __exportAll({
|
|
|
202
201
|
CHANNEL_WS_DISCONNECT: () => CHANNEL_WS_DISCONNECT,
|
|
203
202
|
CONFIG_ERROR: () => CONFIG_ERROR,
|
|
204
203
|
CURRENT_STORY_WAS_SET: () => CURRENT_STORY_WAS_SET,
|
|
204
|
+
DOCS_PAGE_IN_VIEW: () => DOCS_PAGE_IN_VIEW,
|
|
205
205
|
DOCS_PREPARED: () => DOCS_PREPARED,
|
|
206
206
|
DOCS_RENDERED: () => DOCS_RENDERED,
|
|
207
207
|
FORCE_REMOUNT: () => FORCE_REMOUNT,
|
|
@@ -259,7 +259,7 @@ var core_events_exports = /* @__PURE__ */ __exportAll({
|
|
|
259
259
|
UPDATE_STORY_ARGS: () => UPDATE_STORY_ARGS,
|
|
260
260
|
default: () => events
|
|
261
261
|
});
|
|
262
|
-
var events, CHANNEL_WS_DISCONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, GHOST_STORIES_REQUEST, GHOST_STORIES_RESPONSE, AI_SETUP_ANALYTICS_RESPONSE, AI_SETUP_ANALYTICS_REQUEST, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, MANAGER_INERT_ATTRIBUTE_CHANGED, SHARE_ISOLATE_MODE, AI_PROMPT_NUDGE, SIDEBAR_FILTER_CHANGED;
|
|
262
|
+
var events, CHANNEL_WS_DISCONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, DOCS_PAGE_IN_VIEW, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, GHOST_STORIES_REQUEST, GHOST_STORIES_RESPONSE, AI_SETUP_ANALYTICS_RESPONSE, AI_SETUP_ANALYTICS_REQUEST, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, MANAGER_INERT_ATTRIBUTE_CHANGED, SHARE_ISOLATE_MODE, AI_PROMPT_NUDGE, SIDEBAR_FILTER_CHANGED;
|
|
263
263
|
function init_core_events() {
|
|
264
264
|
return (init_core_events = __esmMin((() => {
|
|
265
265
|
events = /* @__PURE__ */ function(events) {
|
|
@@ -304,6 +304,7 @@ function init_core_events() {
|
|
|
304
304
|
events["STORIES_COLLAPSE_ALL"] = "storiesCollapseAll";
|
|
305
305
|
events["STORIES_EXPAND_ALL"] = "storiesExpandAll";
|
|
306
306
|
events["DOCS_RENDERED"] = "docsRendered";
|
|
307
|
+
events["DOCS_PAGE_IN_VIEW"] = "docsPageInView";
|
|
307
308
|
events["SHARED_STATE_CHANGED"] = "sharedStateChanged";
|
|
308
309
|
events["SHARED_STATE_SET"] = "sharedStateSet";
|
|
309
310
|
events["NAVIGATE_URL"] = "navigateUrl";
|
|
@@ -329,7 +330,7 @@ function init_core_events() {
|
|
|
329
330
|
events["SIDEBAR_FILTER_CHANGED"] = "sidebarFilterChanged";
|
|
330
331
|
return events;
|
|
331
332
|
}(events || {});
|
|
332
|
-
({CHANNEL_WS_DISCONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, GHOST_STORIES_REQUEST, GHOST_STORIES_RESPONSE, AI_SETUP_ANALYTICS_RESPONSE, AI_SETUP_ANALYTICS_REQUEST, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, MANAGER_INERT_ATTRIBUTE_CHANGED, SHARE_ISOLATE_MODE, AI_PROMPT_NUDGE, SIDEBAR_FILTER_CHANGED} = events);
|
|
333
|
+
({CHANNEL_WS_DISCONNECT, CHANNEL_CREATED, CONFIG_ERROR, CURRENT_STORY_WAS_SET, DOCS_PREPARED, DOCS_RENDERED, DOCS_PAGE_IN_VIEW, FORCE_RE_RENDER, FORCE_REMOUNT, GLOBALS_UPDATED, NAVIGATE_URL, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, PRELOAD_ENTRIES, PREVIEW_INITIALIZED, PREVIEW_BUILDER_PROGRESS, PREVIEW_KEYDOWN, REGISTER_SUBSCRIPTION, RESET_STORY_ARGS, SELECT_STORY, SET_CONFIG, SET_CURRENT_STORY, SET_FILTER, SET_GLOBALS, SET_INDEX, SET_STORIES, SHARED_STATE_CHANGED, SHARED_STATE_SET, STORIES_COLLAPSE_ALL, STORIES_EXPAND_ALL, STORY_ARGS_UPDATED, STORY_CHANGED, STORY_ERRORED, STORY_INDEX_INVALIDATED, STORY_MISSING, STORY_PREPARED, STORY_RENDER_PHASE_CHANGED, STORY_RENDERED, STORY_FINISHED, STORY_SPECIFIED, STORY_THREW_EXCEPTION, STORY_UNCHANGED, STORY_HOT_UPDATED, UPDATE_GLOBALS, UPDATE_QUERY_PARAMS, UPDATE_STORY_ARGS, REQUEST_WHATS_NEW_DATA, RESULT_WHATS_NEW_DATA, SET_WHATS_NEW_CACHE, TOGGLE_WHATS_NEW_NOTIFICATIONS, TELEMETRY_ERROR, SAVE_STORY_REQUEST, SAVE_STORY_RESPONSE, ARGTYPES_INFO_REQUEST, ARGTYPES_INFO_RESPONSE, GHOST_STORIES_REQUEST, GHOST_STORIES_RESPONSE, AI_SETUP_ANALYTICS_RESPONSE, AI_SETUP_ANALYTICS_REQUEST, OPEN_IN_EDITOR_REQUEST, OPEN_IN_EDITOR_RESPONSE, MANAGER_INERT_ATTRIBUTE_CHANGED, SHARE_ISOLATE_MODE, AI_PROMPT_NUDGE, SIDEBAR_FILTER_CHANGED} = events);
|
|
333
334
|
})))();
|
|
334
335
|
}
|
|
335
336
|
//#endregion
|
|
@@ -811,11 +812,11 @@ function init_common_module() {
|
|
|
811
812
|
document.head.appendChild(style);
|
|
812
813
|
}
|
|
813
814
|
common_module_default = {
|
|
815
|
+
"anchor": "fb-9V_Jya-anchor",
|
|
814
816
|
"headerCommon": "fb-9V_Jya-headerCommon",
|
|
815
817
|
"withReset": "fb-9V_Jya-withReset",
|
|
816
|
-
"codeCommon": "fb-9V_Jya-codeCommon",
|
|
817
818
|
"withMargin": "fb-9V_Jya-withMargin",
|
|
818
|
-
"
|
|
819
|
+
"codeCommon": "fb-9V_Jya-codeCommon"
|
|
819
820
|
};
|
|
820
821
|
})))();
|
|
821
822
|
}
|
|
@@ -995,10 +996,10 @@ function init_ScrollArea_module() {
|
|
|
995
996
|
document.head.appendChild(style);
|
|
996
997
|
}
|
|
997
998
|
ScrollArea_module_default = {
|
|
998
|
-
"viewport": "fb-L_srpa-viewport",
|
|
999
|
-
"thumb": "fb-L_srpa-thumb",
|
|
1000
999
|
"root": "fb-L_srpa-root",
|
|
1001
|
-
"scrollbar": "fb-L_srpa-scrollbar"
|
|
1000
|
+
"scrollbar": "fb-L_srpa-scrollbar",
|
|
1001
|
+
"thumb": "fb-L_srpa-thumb",
|
|
1002
|
+
"viewport": "fb-L_srpa-viewport"
|
|
1002
1003
|
};
|
|
1003
1004
|
})))();
|
|
1004
1005
|
}
|
|
@@ -1011,7 +1012,7 @@ function init_ScrollArea() {
|
|
|
1011
1012
|
init_ScrollAreaRoot(), init_ScrollAreaViewport(), init_ScrollAreaContent(), init_ScrollAreaScrollbar(), init_ScrollAreaThumb(), init_ScrollAreaCorner();
|
|
1012
1013
|
init_clsx();
|
|
1013
1014
|
init_ScrollArea_module();
|
|
1014
|
-
ScrollArea = (0, import_react$63.forwardRef)(({ children, horizontal = false, vertical = false, offset = 2, scrollbarSize =
|
|
1015
|
+
ScrollArea = (0, import_react$63.forwardRef)(({ children, horizontal = false, vertical = false, offset = 2, scrollbarSize = 3, scrollPadding = 0, className, focusable = false }, ref) => /* @__PURE__ */ import_react$63.default.createElement(ScrollAreaRoot, {
|
|
1015
1016
|
className: clsx(ScrollArea_module_default.root, className),
|
|
1016
1017
|
style: {
|
|
1017
1018
|
"--scrollbar-size": `${scrollbarSize + offset}px`,
|
|
@@ -1064,8 +1065,8 @@ function init_syntaxhighlighter_module() {
|
|
|
1064
1065
|
document.head.appendChild(style);
|
|
1065
1066
|
}
|
|
1066
1067
|
syntaxhighlighter_module_default = {
|
|
1067
|
-
"wrapper": "fb-ze8Wja-wrapper",
|
|
1068
1068
|
"pre": "fb-ze8Wja-pre",
|
|
1069
|
+
"wrapper": "fb-ze8Wja-wrapper",
|
|
1069
1070
|
"scroller": "fb-ze8Wja-scroller"
|
|
1070
1071
|
};
|
|
1071
1072
|
})))();
|
|
@@ -1706,8 +1707,8 @@ function init_link_module() {
|
|
|
1706
1707
|
document.head.appendChild(style);
|
|
1707
1708
|
}
|
|
1708
1709
|
link_module_default = {
|
|
1709
|
-
"
|
|
1710
|
-
"
|
|
1710
|
+
"inner": "fb-ptwF_G-inner",
|
|
1711
|
+
"link": "fb-ptwF_G-link"
|
|
1711
1712
|
};
|
|
1712
1713
|
})))();
|
|
1713
1714
|
}
|
|
@@ -1802,8 +1803,8 @@ function createCopyToClipboardFunction() {
|
|
|
1802
1803
|
var document$3, globalWindow;
|
|
1803
1804
|
function init_clipboard() {
|
|
1804
1805
|
return (init_clipboard = __esmMin((() => {
|
|
1805
|
-
|
|
1806
|
-
({document: document$3, window: globalWindow} =
|
|
1806
|
+
init_global();
|
|
1807
|
+
({document: document$3, window: globalWindow} = global);
|
|
1807
1808
|
})))();
|
|
1808
1809
|
}
|
|
1809
1810
|
//#endregion
|
|
@@ -1996,10 +1997,10 @@ function init_Button_module() {
|
|
|
1996
1997
|
document.head.appendChild(style);
|
|
1997
1998
|
}
|
|
1998
1999
|
Button_module_default$1 = {
|
|
1999
|
-
"button": "fb-5dSTsW-button",
|
|
2000
|
-
"glow": "fb-5dSTsW-glow",
|
|
2001
2000
|
"rotate360": "fb-5dSTsW-rotate360",
|
|
2002
|
-
"
|
|
2001
|
+
"glow": "fb-5dSTsW-glow",
|
|
2002
|
+
"jiggle": "fb-5dSTsW-jiggle",
|
|
2003
|
+
"button": "fb-5dSTsW-button"
|
|
2003
2004
|
};
|
|
2004
2005
|
})))();
|
|
2005
2006
|
}
|
|
@@ -2135,13 +2136,13 @@ function init_ActionList_module() {
|
|
|
2135
2136
|
document.head.appendChild(style);
|
|
2136
2137
|
}
|
|
2137
2138
|
ActionList_module_default = {
|
|
2138
|
-
"icon": "fb-N1EqIq-icon",
|
|
2139
2139
|
"hoverItem": "fb-N1EqIq-hoverItem",
|
|
2140
|
-
"
|
|
2140
|
+
"button": "fb-N1EqIq-button",
|
|
2141
|
+
"list": "fb-N1EqIq-list",
|
|
2141
2142
|
"text": "fb-N1EqIq-text",
|
|
2143
|
+
"action": "fb-N1EqIq-action",
|
|
2142
2144
|
"item": "fb-N1EqIq-item",
|
|
2143
|
-
"
|
|
2144
|
-
"list": "fb-N1EqIq-list"
|
|
2145
|
+
"icon": "fb-N1EqIq-icon"
|
|
2145
2146
|
};
|
|
2146
2147
|
})))();
|
|
2147
2148
|
}
|
|
@@ -2332,11 +2333,11 @@ function init_Card_module() {
|
|
|
2332
2333
|
document.head.appendChild(style);
|
|
2333
2334
|
}
|
|
2334
2335
|
Card_module_default = {
|
|
2335
|
-
"
|
|
2336
|
+
"content": "fb-PqILIq-content",
|
|
2337
|
+
"fadeInOut": "fb-PqILIq-fadeInOut",
|
|
2336
2338
|
"outline": "fb-PqILIq-outline",
|
|
2337
2339
|
"slide": "fb-PqILIq-slide",
|
|
2338
|
-
"
|
|
2339
|
-
"fadeInOut": "fb-PqILIq-fadeInOut"
|
|
2340
|
+
"spin": "fb-PqILIq-spin"
|
|
2340
2341
|
};
|
|
2341
2342
|
})))();
|
|
2342
2343
|
}
|
|
@@ -2437,22 +2438,22 @@ function init_Modal_module() {
|
|
|
2437
2438
|
document.head.appendChild(style);
|
|
2438
2439
|
}
|
|
2439
2440
|
Modal_module_default = {
|
|
2440
|
-
"slideToBottom": "fb-t9bqoG-slideToBottom",
|
|
2441
2441
|
"col": "fb-t9bqoG-col",
|
|
2442
|
-
"errorWrapper": "fb-t9bqoG-errorWrapper",
|
|
2443
|
-
"fadeOut": "fb-t9bqoG-fadeOut",
|
|
2444
|
-
"container": "fb-t9bqoG-container",
|
|
2445
|
-
"overlay": "fb-t9bqoG-overlay",
|
|
2446
|
-
"actions": "fb-t9bqoG-actions",
|
|
2447
2442
|
"zoomOut": "fb-t9bqoG-zoomOut",
|
|
2448
|
-
"
|
|
2443
|
+
"container": "fb-t9bqoG-container",
|
|
2449
2444
|
"fadeIn": "fb-t9bqoG-fadeIn",
|
|
2450
|
-
"
|
|
2445
|
+
"slideToBottom": "fb-t9bqoG-slideToBottom",
|
|
2446
|
+
"title": "fb-t9bqoG-title",
|
|
2447
|
+
"overlay": "fb-t9bqoG-overlay",
|
|
2451
2448
|
"zoomIn": "fb-t9bqoG-zoomIn",
|
|
2452
2449
|
"content": "fb-t9bqoG-content",
|
|
2453
|
-
"
|
|
2454
|
-
"
|
|
2455
|
-
"
|
|
2450
|
+
"actions": "fb-t9bqoG-actions",
|
|
2451
|
+
"description": "fb-t9bqoG-description",
|
|
2452
|
+
"expand": "fb-t9bqoG-expand",
|
|
2453
|
+
"errorWrapper": "fb-t9bqoG-errorWrapper",
|
|
2454
|
+
"fadeOut": "fb-t9bqoG-fadeOut",
|
|
2455
|
+
"slideFromBottom": "fb-t9bqoG-slideFromBottom",
|
|
2456
|
+
"row": "fb-t9bqoG-row"
|
|
2456
2457
|
};
|
|
2457
2458
|
})))();
|
|
2458
2459
|
}
|
|
@@ -2721,8 +2722,8 @@ function init_Spaced_module() {
|
|
|
2721
2722
|
Spaced_module_default = {
|
|
2722
2723
|
"col": "fb-yP698W-col",
|
|
2723
2724
|
"row": "fb-yP698W-row",
|
|
2724
|
-
"
|
|
2725
|
-
"
|
|
2725
|
+
"outerRow": "fb-yP698W-outerRow",
|
|
2726
|
+
"outerCol": "fb-yP698W-outerCol"
|
|
2726
2727
|
};
|
|
2727
2728
|
})))();
|
|
2728
2729
|
}
|
|
@@ -2762,8 +2763,8 @@ function init_placeholder_module() {
|
|
|
2762
2763
|
document.head.appendChild(style);
|
|
2763
2764
|
}
|
|
2764
2765
|
placeholder_module_default = {
|
|
2765
|
-
"
|
|
2766
|
-
"
|
|
2766
|
+
"message": "fb-8XhwOW-message",
|
|
2767
|
+
"title": "fb-8XhwOW-title"
|
|
2767
2768
|
};
|
|
2768
2769
|
})))();
|
|
2769
2770
|
}
|
|
@@ -2889,8 +2890,8 @@ function init_ErrorFormatter_module() {
|
|
|
2889
2890
|
}
|
|
2890
2891
|
ErrorFormatter_module_default = {
|
|
2891
2892
|
"important": "fb-bPMLda-important",
|
|
2892
|
-
"
|
|
2893
|
-
"
|
|
2893
|
+
"name": "fb-bPMLda-name",
|
|
2894
|
+
"detail": "fb-bPMLda-detail"
|
|
2894
2895
|
};
|
|
2895
2896
|
})))();
|
|
2896
2897
|
}
|
|
@@ -2900,9 +2901,9 @@ var import_react$40, document$2, firstLineRegex, linesRegexChromium, linesRegexF
|
|
|
2900
2901
|
function init_ErrorFormatter() {
|
|
2901
2902
|
return (init_ErrorFormatter = __esmMin((() => {
|
|
2902
2903
|
import_react$40 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2903
|
-
|
|
2904
|
+
init_global();
|
|
2904
2905
|
init_ErrorFormatter_module();
|
|
2905
|
-
({document: document$2} =
|
|
2906
|
+
({document: document$2} = global);
|
|
2906
2907
|
firstLineRegex = /(Error): (.*)\n/;
|
|
2907
2908
|
linesRegexChromium = /at (?:(.*) )?\(?(.+)\)?/;
|
|
2908
2909
|
linesRegexFirefox = /([^@]+)?(?:\/<)?@(.+)?/;
|
|
@@ -2972,8 +2973,8 @@ function init_Field_module() {
|
|
|
2972
2973
|
document.head.appendChild(style);
|
|
2973
2974
|
}
|
|
2974
2975
|
Field_module_default = {
|
|
2975
|
-
"
|
|
2976
|
-
"
|
|
2976
|
+
"field": "fb-Rm0-QW-field",
|
|
2977
|
+
"label": "fb-Rm0-QW-label"
|
|
2977
2978
|
};
|
|
2978
2979
|
})))();
|
|
2979
2980
|
}
|
|
@@ -3004,8 +3005,8 @@ function init_styles_module() {
|
|
|
3004
3005
|
document.head.appendChild(style);
|
|
3005
3006
|
}
|
|
3006
3007
|
styles_module_default = {
|
|
3007
|
-
"
|
|
3008
|
-
"
|
|
3008
|
+
"control": "fb-jfzVDq-control",
|
|
3009
|
+
"size": "fb-jfzVDq-size"
|
|
3009
3010
|
};
|
|
3010
3011
|
})))();
|
|
3011
3012
|
}
|
|
@@ -3031,9 +3032,9 @@ function init_Input_module() {
|
|
|
3031
3032
|
document.head.appendChild(style);
|
|
3032
3033
|
}
|
|
3033
3034
|
Input_module_default = {
|
|
3034
|
-
"input": "fb-1G-00W-input",
|
|
3035
3035
|
"wrapper": "fb-1G-00W-wrapper",
|
|
3036
|
-
"mask": "fb-1G-00W-mask"
|
|
3036
|
+
"mask": "fb-1G-00W-mask",
|
|
3037
|
+
"input": "fb-1G-00W-input"
|
|
3037
3038
|
};
|
|
3038
3039
|
})))();
|
|
3039
3040
|
}
|
|
@@ -3317,9 +3318,9 @@ function init_Select_module$1() {
|
|
|
3317
3318
|
document.head.appendChild(style);
|
|
3318
3319
|
}
|
|
3319
3320
|
Select_module_default = {
|
|
3320
|
-
"
|
|
3321
|
+
"underlay": "fb-mklNNG-underlay",
|
|
3321
3322
|
"highlightedButton": "fb-mklNNG-highlightedButton",
|
|
3322
|
-
"
|
|
3323
|
+
"selectedOptionCount": "fb-mklNNG-selectedOptionCount"
|
|
3323
3324
|
};
|
|
3324
3325
|
})))();
|
|
3325
3326
|
}
|
|
@@ -3761,8 +3762,8 @@ function init_TooltipMessage_module() {
|
|
|
3761
3762
|
TooltipMessage_module_default = {
|
|
3762
3763
|
"title": "fb-Jdn35W-title",
|
|
3763
3764
|
"message": "fb-Jdn35W-message",
|
|
3764
|
-
"
|
|
3765
|
-
"
|
|
3765
|
+
"links": "fb-Jdn35W-links",
|
|
3766
|
+
"messageWrapper": "fb-Jdn35W-messageWrapper"
|
|
3766
3767
|
};
|
|
3767
3768
|
})))();
|
|
3768
3769
|
}
|
|
@@ -3800,13 +3801,13 @@ function init_ListItem_module() {
|
|
|
3800
3801
|
document.head.appendChild(style);
|
|
3801
3802
|
}
|
|
3802
3803
|
ListItem_module_default = {
|
|
3803
|
-
"item": "fb-2LErEa-item",
|
|
3804
|
-
"centerText": "fb-2LErEa-centerText",
|
|
3805
3804
|
"center": "fb-2LErEa-center",
|
|
3805
|
+
"centerText": "fb-2LErEa-centerText",
|
|
3806
|
+
"right": "fb-2LErEa-right",
|
|
3806
3807
|
"title": "fb-2LErEa-title",
|
|
3808
|
+
"left": "fb-2LErEa-left",
|
|
3807
3809
|
"glow": "fb-2LErEa-glow",
|
|
3808
|
-
"
|
|
3809
|
-
"left": "fb-2LErEa-left"
|
|
3810
|
+
"item": "fb-2LErEa-item"
|
|
3810
3811
|
};
|
|
3811
3812
|
})))();
|
|
3812
3813
|
}
|
|
@@ -3885,8 +3886,8 @@ function init_TooltipLinkList_module() {
|
|
|
3885
3886
|
document.head.appendChild(style);
|
|
3886
3887
|
}
|
|
3887
3888
|
TooltipLinkList_module_default = {
|
|
3888
|
-
"
|
|
3889
|
-
"
|
|
3889
|
+
"list": "fb-vw1HRW-list",
|
|
3890
|
+
"group": "fb-vw1HRW-group"
|
|
3890
3891
|
};
|
|
3891
3892
|
})))();
|
|
3892
3893
|
}
|
|
@@ -3960,10 +3961,10 @@ function init_Bar_module() {
|
|
|
3960
3961
|
}
|
|
3961
3962
|
Bar_module_default = {
|
|
3962
3963
|
"heightPreserver": "fb-zWlpQq-heightPreserver",
|
|
3964
|
+
"barWithoutPadding": "fb-zWlpQq-barWithoutPadding",
|
|
3963
3965
|
"bar": "fb-zWlpQq-bar",
|
|
3964
|
-
"barInner": "fb-zWlpQq-barInner",
|
|
3965
3966
|
"side": "fb-zWlpQq-side",
|
|
3966
|
-
"
|
|
3967
|
+
"barInner": "fb-zWlpQq-barInner"
|
|
3967
3968
|
};
|
|
3968
3969
|
})))();
|
|
3969
3970
|
}
|
|
@@ -4099,11 +4100,11 @@ function init_EmptyTabContent_module() {
|
|
|
4099
4100
|
document.head.appendChild(style);
|
|
4100
4101
|
}
|
|
4101
4102
|
EmptyTabContent_module_default = {
|
|
4102
|
-
"description": "fb-CwTYpq-description",
|
|
4103
|
-
"wrapper": "fb-CwTYpq-wrapper",
|
|
4104
4103
|
"title": "fb-CwTYpq-title",
|
|
4105
|
-
"
|
|
4106
|
-
"
|
|
4104
|
+
"wrapper": "fb-CwTYpq-wrapper",
|
|
4105
|
+
"description": "fb-CwTYpq-description",
|
|
4106
|
+
"footer": "fb-CwTYpq-footer",
|
|
4107
|
+
"content": "fb-CwTYpq-content"
|
|
4107
4108
|
};
|
|
4108
4109
|
})))();
|
|
4109
4110
|
}
|
|
@@ -4296,9 +4297,9 @@ function init_Tabs_module() {
|
|
|
4296
4297
|
}
|
|
4297
4298
|
Tabs_module_default = {
|
|
4298
4299
|
"wrapper": "fb-yAqY1G-wrapper",
|
|
4299
|
-
"
|
|
4300
|
+
"tabBar": "fb-yAqY1G-tabBar",
|
|
4300
4301
|
"content": "fb-yAqY1G-content",
|
|
4301
|
-
"
|
|
4302
|
+
"tab-content": "fb-yAqY1G-tab-content"
|
|
4302
4303
|
};
|
|
4303
4304
|
})))();
|
|
4304
4305
|
}
|
|
@@ -4615,11 +4616,11 @@ function init_StatelessTabList_module() {
|
|
|
4615
4616
|
document.head.appendChild(style);
|
|
4616
4617
|
}
|
|
4617
4618
|
StatelessTabList_module_default = {
|
|
4618
|
-
"scrollContainer": "fb-pPoemq-scrollContainer",
|
|
4619
4619
|
"root": "fb-pPoemq-root",
|
|
4620
|
+
"scrollContainer": "fb-pPoemq-scrollContainer",
|
|
4621
|
+
"tabList": "fb-pPoemq-tabList",
|
|
4620
4622
|
"scrollButtonContainer": "fb-pPoemq-scrollButtonContainer",
|
|
4621
|
-
"scrollButton": "fb-pPoemq-scrollButton"
|
|
4622
|
-
"tabList": "fb-pPoemq-tabList"
|
|
4623
|
+
"scrollButton": "fb-pPoemq-scrollButton"
|
|
4623
4624
|
};
|
|
4624
4625
|
})))();
|
|
4625
4626
|
}
|
|
@@ -4818,11 +4819,11 @@ function init_TabsView_module() {
|
|
|
4818
4819
|
document.head.appendChild(style);
|
|
4819
4820
|
}
|
|
4820
4821
|
TabsView_module_default = {
|
|
4822
|
+
"container": "fb-voB9ZG-container",
|
|
4821
4823
|
"flexTabList": "fb-voB9ZG-flexTabList",
|
|
4824
|
+
"statelessContainer": "fb-voB9ZG-statelessContainer",
|
|
4822
4825
|
"bar": "fb-voB9ZG-bar",
|
|
4823
|
-
"
|
|
4824
|
-
"flexTabPanel": "fb-voB9ZG-flexTabPanel",
|
|
4825
|
-
"statelessContainer": "fb-voB9ZG-statelessContainer"
|
|
4826
|
+
"flexTabPanel": "fb-voB9ZG-flexTabPanel"
|
|
4826
4827
|
};
|
|
4827
4828
|
})))();
|
|
4828
4829
|
}
|
|
@@ -5016,12 +5017,12 @@ function init_Loader_module() {
|
|
|
5016
5017
|
Loader_module_default = {
|
|
5017
5018
|
"ellipsis": "fb--QAWhG-ellipsis",
|
|
5018
5019
|
"progressMessage": "fb--QAWhG-progressMessage",
|
|
5020
|
+
"progressTrack": "fb--QAWhG-progressTrack",
|
|
5019
5021
|
"rotate360": "fb--QAWhG-rotate360",
|
|
5020
|
-
"progressWrapper": "fb--QAWhG-progressWrapper",
|
|
5021
5022
|
"progressBar": "fb--QAWhG-progressBar",
|
|
5022
5023
|
"loader": "fb--QAWhG-loader",
|
|
5023
|
-
"
|
|
5024
|
-
"
|
|
5024
|
+
"progressWrapper": "fb--QAWhG-progressWrapper",
|
|
5025
|
+
"errorIcon": "fb--QAWhG-errorIcon"
|
|
5025
5026
|
};
|
|
5026
5027
|
})))();
|
|
5027
5028
|
}
|
|
@@ -5091,8 +5092,8 @@ function init_ProgressSpinner_module() {
|
|
|
5091
5092
|
}
|
|
5092
5093
|
ProgressSpinner_module_default = {
|
|
5093
5094
|
"wrapper": "fb-ignx4a-wrapper",
|
|
5094
|
-
"
|
|
5095
|
-
"
|
|
5095
|
+
"rotate": "fb-ignx4a-rotate",
|
|
5096
|
+
"circle": "fb-ignx4a-circle"
|
|
5096
5097
|
};
|
|
5097
5098
|
})))();
|
|
5098
5099
|
}
|
|
@@ -5390,9 +5391,9 @@ function init_WithTooltip_module() {
|
|
|
5390
5391
|
document.head.appendChild(style);
|
|
5391
5392
|
}
|
|
5392
5393
|
WithTooltip_module_default = {
|
|
5393
|
-
"targetSvg": "fb-QoytUq-targetSvg",
|
|
5394
|
-
"target": "fb-QoytUq-target",
|
|
5395
5394
|
"wrapper": "fb-QoytUq-wrapper",
|
|
5395
|
+
"target": "fb-QoytUq-target",
|
|
5396
|
+
"targetSvg": "fb-QoytUq-targetSvg",
|
|
5396
5397
|
"arrow": "fb-QoytUq-arrow"
|
|
5397
5398
|
};
|
|
5398
5399
|
})))();
|
|
@@ -5403,17 +5404,17 @@ var WithTooltip_exports = /* @__PURE__ */ __exportAll({
|
|
|
5403
5404
|
WithTooltip: () => WithToolTipState,
|
|
5404
5405
|
WithTooltipPure: () => DeprecatedPure
|
|
5405
5406
|
});
|
|
5406
|
-
var import_react,
|
|
5407
|
+
var import_react, document$1, Tooltip, toSideAndAlign, WithTooltipPure, WithToolTipState, DeprecatedPure;
|
|
5407
5408
|
function init_WithTooltip() {
|
|
5408
5409
|
return (init_WithTooltip = __esmMin((() => {
|
|
5409
5410
|
import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
5410
|
-
import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
5411
5411
|
init_client_logger();
|
|
5412
|
-
|
|
5413
|
-
|
|
5412
|
+
init_global();
|
|
5413
|
+
init_PopoverRoot(), init_PopoverTrigger(), init_PopoverPortal(), init_PopoverPositioner(), init_PopoverPopup(), init_PopoverArrow();
|
|
5414
|
+
init_overlayHelpers();
|
|
5414
5415
|
init_PortalTheme();
|
|
5415
5416
|
init_WithTooltip_module();
|
|
5416
|
-
({document: document$1} =
|
|
5417
|
+
({document: document$1} = global);
|
|
5417
5418
|
Tooltip = import_react.forwardRef(({ placement = "top", hasChrome = true, children, arrowProps = {}, tooltipRef, color, withArrows, hidden, className, style, ...props }, ref) => {
|
|
5418
5419
|
return /* @__PURE__ */ import_react.default.createElement("div", {
|
|
5419
5420
|
"data-testid": "tooltip",
|
|
@@ -5435,55 +5436,66 @@ function init_WithTooltip() {
|
|
|
5435
5436
|
}), children);
|
|
5436
5437
|
});
|
|
5437
5438
|
Tooltip.displayName = "Tooltip";
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
},
|
|
5447
|
-
{
|
|
5448
|
-
name: "arrow",
|
|
5449
|
-
options: { padding: 8 }
|
|
5450
|
-
}
|
|
5451
|
-
], hasChrome = true, defaultVisible = false, withArrows, offset, tooltip, children, closeOnTriggerHidden, mutationObserverOptions, delayHide = trigger === "hover" ? 200 : 0, visible, interactive, delayShow = trigger === "hover" ? 400 : 0, strategy, followCursor, onVisibleChange, portalContainer, ...props }) => {
|
|
5439
|
+
toSideAndAlign = (placement) => {
|
|
5440
|
+
const [side, align = "center"] = placement.split("-");
|
|
5441
|
+
return {
|
|
5442
|
+
side: side === "auto" ? "top" : side,
|
|
5443
|
+
align
|
|
5444
|
+
};
|
|
5445
|
+
};
|
|
5446
|
+
WithTooltipPure = ({ svg = false, trigger = "click", closeOnOutsideClick = false, placement = "top", hasChrome = true, defaultVisible = false, withArrows, offset = [0, 8], tooltip, children, delayHide = trigger === "hover" ? 200 : 0, visible, interactive: _interactive, delayShow = trigger === "hover" ? 400 : 0, strategy, onVisibleChange, portalContainer, ...props }) => {
|
|
5452
5447
|
const Container = svg ? "g" : "div";
|
|
5453
|
-
const
|
|
5454
|
-
const
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5448
|
+
const triggers = trigger === null ? [] : Array.isArray(trigger) ? trigger : [trigger];
|
|
5449
|
+
const isHover = triggers.includes("hover");
|
|
5450
|
+
const isClick = triggers.includes("click");
|
|
5451
|
+
const isFocus = triggers.includes("focus");
|
|
5452
|
+
const triggerId = (0, import_react.useId)();
|
|
5453
|
+
const [shown, setShown] = (0, import_react.useState)(defaultVisible);
|
|
5454
|
+
const isVisible = visible ?? shown;
|
|
5455
|
+
const setVisible = (0, import_react.useCallback)((next) => {
|
|
5456
|
+
setShown(next);
|
|
5457
|
+
onVisibleChange?.(next);
|
|
5458
|
+
}, [onVisibleChange]);
|
|
5459
|
+
const onOpenChange = (0, import_react.useCallback)((open, { reason }) => {
|
|
5460
|
+
if (reason === "trigger-press" && !isClick || reason === "trigger-hover" && !isHover || reason === "trigger-focus" && !isFocus || reason === "outside-press" && !closeOnOutsideClick) return;
|
|
5461
|
+
setVisible(open);
|
|
5462
|
+
}, [
|
|
5463
|
+
isClick,
|
|
5464
|
+
isHover,
|
|
5465
|
+
isFocus,
|
|
5460
5466
|
closeOnOutsideClick,
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
},
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5467
|
+
setVisible
|
|
5468
|
+
]);
|
|
5469
|
+
const contextContainer = (0, import_react.useContext)(PortalContainerContext);
|
|
5470
|
+
const portalTarget = (typeof portalContainer === "string" ? document$1.querySelector(portalContainer) : portalContainer) || contextContainer || document$1.body;
|
|
5471
|
+
return /* @__PURE__ */ import_react.default.createElement(PopoverRoot, {
|
|
5472
|
+
open: isVisible,
|
|
5473
|
+
onOpenChange,
|
|
5474
|
+
triggerId
|
|
5475
|
+
}, /* @__PURE__ */ import_react.default.createElement(PopoverTrigger, {
|
|
5476
|
+
id: triggerId,
|
|
5477
|
+
nativeButton: false,
|
|
5478
|
+
openOnHover: isHover,
|
|
5479
|
+
delay: delayShow,
|
|
5480
|
+
closeDelay: delayHide,
|
|
5481
|
+
render: /* @__PURE__ */ import_react.default.createElement(Container, {
|
|
5482
|
+
className: svg ? WithTooltip_module_default.targetSvg : WithTooltip_module_default.target,
|
|
5483
|
+
"data-hover": isHover || void 0,
|
|
5484
|
+
...props
|
|
5485
|
+
})
|
|
5486
|
+
}, children), /* @__PURE__ */ import_react.default.createElement(PopoverPortal, { container: portalTarget }, /* @__PURE__ */ import_react.default.createElement(PortalTheme, null, /* @__PURE__ */ import_react.default.createElement(PopoverPositioner, {
|
|
5487
|
+
...toSideAndAlign(placement),
|
|
5488
|
+
sideOffset: offset[1],
|
|
5489
|
+
alignOffset: offset[0],
|
|
5490
|
+
collisionPadding: 8,
|
|
5491
|
+
arrowPadding: 8,
|
|
5492
|
+
positionMethod: strategy,
|
|
5493
|
+
style: { zIndex: 2147483647 }
|
|
5494
|
+
}, /* @__PURE__ */ import_react.default.createElement(PopoverPopup, {
|
|
5495
|
+
initialFocus: false,
|
|
5496
|
+
finalFocus: false,
|
|
5497
|
+
render: /* @__PURE__ */ import_react.default.createElement(Tooltip, { hasChrome })
|
|
5498
|
+
}, hasChrome && withArrows && /* @__PURE__ */ import_react.default.createElement(PopoverArrow, { render: /* @__PURE__ */ import_react.default.createElement("div", { className: WithTooltip_module_default.arrow }) }), typeof tooltip === "function" ? tooltip({ onHide: () => setVisible(false) }) : tooltip)))));
|
|
5487
5499
|
};
|
|
5488
5500
|
WithToolTipState = ({ startOpen = false, onVisibleChange: onChange, ...rest }) => {
|
|
5489
5501
|
const [tooltipShown, setTooltipShown] = (0, import_react.useState)(startOpen);
|