@aussieljk/forkbook 0.0.1-8 → 0.0.1-9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/server/template.ejs +13 -0
- package/dist/_browser-chunks/{Color-ZG7LKYDZ.js → Color-GEC6HRBY.js} +2 -2
- package/dist/_browser-chunks/{WithTooltip-YZ36EZ4X.js → WithTooltip-CS3HPMGA.js} +6 -4
- package/dist/_browser-chunks/{chunk-MZVQEZOB.js → chunk-6QEYM2YW.js} +24 -24
- package/dist/_browser-chunks/chunk-C5TKXHTM.js +82 -0
- package/dist/_browser-chunks/{chunk-WVF42CP2.js → chunk-DNJ3OSLB.js} +46 -52
- package/dist/_browser-chunks/{chunk-E47B5255.js → chunk-IFADVEQE.js} +63 -543
- package/dist/_browser-chunks/chunk-NPNIBOPF.js +18 -0
- package/dist/_browser-chunks/{chunk-YYWKZ7O3.js → chunk-NTUHL5NS.js} +5 -2
- package/dist/_browser-chunks/chunk-OOETBSA7.js +502 -0
- package/dist/_browser-chunks/{chunk-SK6S7ZXD.js → chunk-PFCGVFP6.js} +3 -3
- package/dist/_browser-chunks/{chunk-H4ZHAXN3.js → chunk-V5U45XXZ.js} +1 -1
- package/dist/_browser-chunks/chunk-XKTORVEQ.js +255 -0
- package/dist/_browser-chunks/{chunk-DAUHYZUB.js → chunk-XTQCLWVH.js} +255 -494
- package/dist/_browser-chunks/{chunk-SFMQDIN2.js → chunk-ZHKZKFY4.js} +1 -1
- package/dist/_node-chunks/{attached-runtime-SRP2RPCT.js → attached-runtime-OI5IEIR7.js} +29 -29
- package/dist/_node-chunks/builder-manager-JEIVVV43.js +1139 -0
- package/dist/_node-chunks/{chunk-A73YRJPA.js → chunk-2FWH7OUZ.js} +6 -6
- package/dist/_node-chunks/{chunk-DGA2Q7TE.js → chunk-2QPSOAHI.js} +6 -6
- package/dist/_node-chunks/{chunk-QQKVXB5Q.js → chunk-2T2S3YYS.js} +6 -6
- package/dist/_node-chunks/{chunk-7GLNBVQO.js → chunk-35JF5BS4.js} +6 -6
- package/dist/_node-chunks/{chunk-JB5Q4WGX.js → chunk-3I43FMZC.js} +7 -7
- package/dist/_node-chunks/{chunk-WF7RDUU7.js → chunk-3R57KO3F.js} +10 -10
- package/dist/_node-chunks/chunk-4CWEAS2M.js +11 -0
- package/dist/_node-chunks/{chunk-TLB2LNUO.js → chunk-4HYKKRBM.js} +8 -8
- package/dist/_node-chunks/{chunk-YBRV5FIK.js → chunk-4W6HJYYC.js} +7 -7
- package/dist/_node-chunks/{chunk-VV6CPF3T.js → chunk-57BBVTHQ.js} +6 -6
- package/dist/_node-chunks/{chunk-MGFH4KGP.js → chunk-5MDE2KCS.js} +6 -6
- package/dist/_node-chunks/{chunk-TBLZESXE.js → chunk-5NCRCPYK.js} +6 -6
- package/dist/_node-chunks/{chunk-QEDRYWP7.js → chunk-6O6BHNDO.js} +6 -6
- package/dist/_node-chunks/chunk-7PZDRNVT.js +19 -0
- package/dist/_node-chunks/{chunk-M74NU6PU.js → chunk-7X5WP3UJ.js} +6 -6
- package/dist/_node-chunks/{chunk-DSWCMXKR.js → chunk-7XYURNT2.js} +10 -10
- package/dist/_node-chunks/{chunk-SNQKCFKN.js → chunk-AONRQAQP.js} +6 -6
- package/dist/_node-chunks/chunk-ASFRQHZH.js +20 -0
- package/dist/_node-chunks/{chunk-54WGE5OK.js → chunk-AUY6EZPA.js} +8 -8
- package/dist/_node-chunks/{chunk-I5Y7NDAM.js → chunk-BCFTMBAH.js} +7 -7
- package/dist/_node-chunks/{chunk-6GBMB2E4.js → chunk-BEHNZYWF.js} +8 -8
- package/dist/_node-chunks/chunk-BZNVRJ6H.js +25 -0
- package/dist/_node-chunks/chunk-CHLWJ5F5.js +20 -0
- package/dist/_node-chunks/{chunk-D4IL5V6A.js → chunk-CMDR42D7.js} +6 -6
- package/dist/_node-chunks/{chunk-LF7EC235.js → chunk-CP646EXE.js} +8 -8
- package/dist/_node-chunks/chunk-DDRGY4RJ.js +57 -0
- package/dist/_node-chunks/{chunk-UCBUYT7S.js → chunk-DMDIIGJ4.js} +7 -7
- package/dist/_node-chunks/{chunk-DADJTKJT.js → chunk-DTZELAXT.js} +7 -7
- package/dist/_node-chunks/{chunk-6YDXCU32.js → chunk-ELMANXC3.js} +6 -6
- package/dist/_node-chunks/{chunk-VTLGMRU5.js → chunk-ELXK72IJ.js} +6 -6
- package/dist/_node-chunks/{chunk-GXSB54NU.js → chunk-F6RXCQF6.js} +6 -6
- package/dist/_node-chunks/{chunk-4T3WPVSQ.js → chunk-FKQHIPUA.js} +6 -6
- package/dist/_node-chunks/{chunk-2WPUJ7UM.js → chunk-FPWDVE2V.js} +7 -7
- package/dist/_node-chunks/{chunk-HNMHTOKI.js → chunk-FVJLKXNS.js} +23 -23
- package/dist/_node-chunks/{chunk-ICGRYYV7.js → chunk-GABGLW7D.js} +7 -7
- package/dist/_node-chunks/{chunk-BPMXWGDX.js → chunk-GOZDHTIK.js} +6 -6
- package/dist/_node-chunks/{chunk-3NXJBXBF.js → chunk-GPSR4MZL.js} +14 -14
- package/dist/_node-chunks/{chunk-T62LXT34.js → chunk-GZ2YC6US.js} +6 -6
- package/dist/_node-chunks/chunk-H5HD6EW2.js +28 -0
- package/dist/_node-chunks/{chunk-3KY2GA5X.js → chunk-I6ANUF4J.js} +7 -7
- package/dist/_node-chunks/{chunk-CZDEJ7DD.js → chunk-ICIP5FB5.js} +9 -9
- package/dist/_node-chunks/{chunk-CL4T6DGA.js → chunk-IK35TZRH.js} +7 -7
- package/dist/_node-chunks/{chunk-CHPKBTH7.js → chunk-IOJ6NYLD.js} +7 -7
- package/dist/_node-chunks/{chunk-77YIWZPS.js → chunk-IWEZ5KSJ.js} +7 -7
- package/dist/_node-chunks/{chunk-UBEILYLL.js → chunk-JOOZKSBS.js} +7 -7
- package/dist/_node-chunks/{chunk-I26RWAW3.js → chunk-JXVJAA3U.js} +6 -6
- package/dist/_node-chunks/{chunk-GUKZDREX.js → chunk-K6VX4GUH.js} +8 -8
- package/dist/_node-chunks/{chunk-VPGX2PAB.js → chunk-L7US6VLX.js} +6 -6
- package/dist/_node-chunks/{chunk-JCLP42A7.js → chunk-LKMHU2P3.js} +7 -7
- package/dist/_node-chunks/{chunk-IVU4D6LF.js → chunk-LMWS7NDR.js} +7 -7
- package/dist/_node-chunks/{chunk-M3F5R2JO.js → chunk-LPDII6WJ.js} +6 -6
- package/dist/_node-chunks/{chunk-RR3WLRNQ.js → chunk-MBJ2CUVU.js} +7 -7
- package/dist/_node-chunks/{chunk-KQBTXUT5.js → chunk-MGXABKCL.js} +6 -6
- package/dist/_node-chunks/{chunk-BY65FGKD.js → chunk-MHLTWQGQ.js} +8 -8
- package/dist/_node-chunks/{chunk-7YBOQWWR.js → chunk-MMMKY3DA.js} +8 -8
- package/dist/_node-chunks/{chunk-NV6HM53D.js → chunk-MXNT3HBF.js} +6 -6
- package/dist/_node-chunks/{chunk-LPLXO4HE.js → chunk-O7WMRMVJ.js} +6 -6
- package/dist/_node-chunks/{chunk-BLAPFOIX.js → chunk-OPLD7FOE.js} +6 -6
- package/dist/_node-chunks/{chunk-XTCOGCTP.js → chunk-P4CWOISW.js} +7 -7
- package/dist/_node-chunks/{chunk-IFF53QVX.js → chunk-POXIO453.js} +7 -7
- package/dist/_node-chunks/{chunk-4U5ZQZJ4.js → chunk-PRTTCG3N.js} +6 -6
- package/dist/_node-chunks/{chunk-27R37QFW.js → chunk-QE3NKWUX.js} +7 -7
- package/dist/_node-chunks/{chunk-LYMYDMEK.js → chunk-QMERCCIQ.js} +6 -6
- package/dist/_node-chunks/{chunk-4CPTSXU6.js → chunk-QVF2NJK4.js} +10 -10
- package/dist/_node-chunks/{chunk-Y2HWZ262.js → chunk-R33EXC6B.js} +12 -12
- package/dist/_node-chunks/{chunk-ZKS2H56J.js → chunk-R3BJJGEG.js} +6 -6
- package/dist/_node-chunks/chunk-REDMAZRP.js +18 -0
- package/dist/_node-chunks/{chunk-DVSKRIH3.js → chunk-RJV4QWRP.js} +7 -7
- package/dist/_node-chunks/{chunk-3KKSPEAE.js → chunk-RXEMA2TT.js} +6 -6
- package/dist/_node-chunks/{chunk-XGMO4SW2.js → chunk-TKOUTJWX.js} +6 -6
- package/dist/_node-chunks/{chunk-LSKOVF6F.js → chunk-TRZWEDUE.js} +6 -6
- package/dist/_node-chunks/{chunk-2ZB3ZVDY.js → chunk-U3BEYEZ5.js} +8 -8
- package/dist/_node-chunks/{chunk-HF6FRLS6.js → chunk-UI6NW64P.js} +19 -19
- package/dist/_node-chunks/chunk-UK2NKD4E.js +532 -0
- package/dist/_node-chunks/{chunk-II4SIIJW.js → chunk-VF6725VX.js} +7 -7
- package/dist/_node-chunks/{chunk-YMVL55QY.js → chunk-VJJTMS2R.js} +9 -9
- package/dist/_node-chunks/{chunk-62PEOH4P.js → chunk-VQBXHU2T.js} +8 -8
- package/dist/_node-chunks/{chunk-5BQKMZYJ.js → chunk-VZ3PQJKF.js} +23 -23
- package/dist/_node-chunks/{chunk-G6UTEYYQ.js → chunk-WI6FDUOM.js} +8 -8
- package/dist/_node-chunks/{chunk-4QYNOSOA.js → chunk-WTS7HYGM.js} +7 -7
- package/dist/_node-chunks/{chunk-VQ2NW4OR.js → chunk-WXMIR2F2.js} +8 -8
- package/dist/_node-chunks/{chunk-G3J2VAY4.js → chunk-XA2UQNP3.js} +10 -10
- package/dist/_node-chunks/{chunk-VTVQ5TKB.js → chunk-Y2FWEOIW.js} +8 -8
- package/dist/_node-chunks/{chunk-526SOV2Y.js → chunk-Y5JLYH6J.js} +6 -6
- package/dist/_node-chunks/{chunk-X5IJ42Q2.js → chunk-YELBVH4K.js} +7 -7
- package/dist/_node-chunks/{chunk-QQ7GEJNY.js → chunk-YK5N35SR.js} +9 -9
- package/dist/_node-chunks/{chunk-UEWCGYSE.js → chunk-YLXOGJX6.js} +21 -9
- package/dist/_node-chunks/{chunk-OZBNKCKM.js → chunk-YSVJU5VZ.js} +6 -6
- package/dist/_node-chunks/{chunk-F2XPZVCK.js → chunk-ZFTEHWNT.js} +8 -8
- package/dist/_node-chunks/{chunk-6DZY675E.js → chunk-ZLBDSC7U.js} +9 -9
- package/dist/_node-chunks/{chunk-6DCYMQX2.js → chunk-ZMI35R7E.js} +45 -34
- package/dist/_node-chunks/{chunk-QVIC3UDL.js → chunk-ZOE2QQSS.js} +8 -8
- package/dist/_node-chunks/{chunk-OFZX45ZR.js → chunk-ZST2SPBX.js} +6 -6
- package/dist/_node-chunks/{chunk-IAYHJZOR.js → chunk-ZUYRTHXN.js} +6 -6
- package/dist/_node-chunks/dist-FABQFQ76.js +27 -0
- package/dist/_node-chunks/dist-ZUXZVI3A.js +16 -0
- package/dist/_node-chunks/{local-runtime-Y6OH2SFM.js → local-runtime-LKT5I6NG.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-R6GNGQP2.js → mdx-plugin-2YIBFVCV.js} +13 -13
- package/dist/_node-chunks/{monorepo-R2CLQIWG.js → monorepo-HROZW452.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-PTWFSPXD.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-MUIOTVJR.js} +11 -11
- package/dist/_node-chunks/optimized-tests-EK5H7MUQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-5VCD6ED3.js → pattern-copy-play-VQNMME5S.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-T4RENREB.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-SKSQEDUP.js → rehype-external-links-WXD3NVWK.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-27WNXM7U.js → rehype-slug-LWBEJBWR.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-PDGCGDW4.js → relaxed-limits-MKV6OE3S.js} +11 -11
- package/dist/_node-chunks/{run-BD52SWQC.js → run-A4A2HQDT.js} +17 -17
- package/dist/_node-chunks/{run-IKBDOUY2.js → run-UBPF7ZUG.js} +15 -15
- package/dist/_node-chunks/session-id-YZZIHNID.js +23 -0
- package/dist/_node-chunks/{setup-7ECNMG4A.js → setup-SMMCS2Q5.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-J4YODMMP.js → vitest.config.4.template-PYSDGPB4.js} +7 -7
- package/dist/addon-a11y/index.js +1 -1
- package/dist/addon-a11y/manager.js +20 -24
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-a11y/preview.js +1 -1
- package/dist/addon-docs/blocks.js +20 -26
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/index.js +4 -2
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-links/preview.js +4 -2
- package/dist/addon-links/react/index.js +3 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +3 -3
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-themes/manager.js +3 -3
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +9 -9
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/addon-vitest/vitest-plugin/setup-file.js +1 -1
- package/dist/babel/index.js +11 -11
- package/dist/bin/core.js +59 -59
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-CJY2njs4.d.ts → chunk-BhAPwdVB.d.ts} +1 -1
- package/dist/{chunk-pFH9P91a.d.ts → chunk-DXsI731B.d.ts} +1 -1
- package/dist/{chunk-DktrsDd6.d.ts → chunk-PdOIKm0H.d.ts} +35 -2
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +22 -22
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +35 -35
- package/dist/components/index.d.ts +38 -1
- package/dist/components/index.js +593 -518
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +282 -173
- package/dist/core-server/presets/common-manager.js +491 -117
- package/dist/core-server/presets/common-override-preset.js +10 -10
- package/dist/core-server/presets/common-preset.js +51 -43
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf-tools/index.d.ts +3 -1
- package/dist/csf-tools/index.js +14 -12
- package/dist/manager/_manager-chunks/{globals-runtime-z143vedu.js → globals-runtime-B1q30If4.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-4fCHtNC6.js → globals-runtime-BY3epqww.js} +413 -2
- package/dist/manager/_manager-chunks/globals-runtime-Bj5KDUJi.js +8935 -0
- package/dist/manager/_manager-chunks/{globals-runtime-Bpc_ftuT.js → globals-runtime-Bs75QQ_I.js} +3 -1192
- package/dist/manager/_manager-chunks/{globals-runtime-D82vqOGq.js → globals-runtime-BweHuXkK.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-BKW-4ztO.js → globals-runtime-C4GdZS7_.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-DB8fVA5g.js → globals-runtime-CA8AuIRT.js} +2 -1
- package/dist/manager/_manager-chunks/{globals-runtime-DZN_3ZLm.js → globals-runtime-CnfHMZV0.js} +153 -27
- package/dist/manager/_manager-chunks/{globals-runtime-WhJXr5R1.js → globals-runtime-DgHSAUIB.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-kmPSyf3j.js → globals-runtime-DvV_TF3-.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DgUeynuu.js → globals-runtime-FcobHVj9.js} +475 -370
- package/dist/manager/_manager-chunks/{globals-runtime-CoCzM1V_.js → globals-runtime-WZKaeKm9.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-CIcNS9TG.js → globals-runtime-dh5vgpgm.js} +238 -232
- package/dist/manager/_manager-chunks/{globals-runtime-DOPUchia.js → globals-runtime-wjkxyMn0.js} +4 -3
- package/dist/manager/_manager-chunks/{runtime-DEHcqyTM.js → runtime-BSkBrZa7.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-C-s1miBr.js → runtime-Bdda1ODD.js} +1 -1
- package/dist/manager/_manager-chunks/{runtime-DuptfEhw.js → runtime-Bp_XtatN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BrwmuSZ1.js → runtime-D-bkVc6v.js} +31 -30
- package/dist/manager/_manager-chunks/{runtime-CHQZzIX6.js → runtime-DP_7wWTN.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-Dtpc5s3G.js → runtime-DlX-MKi1.js} +335 -327
- package/dist/manager/_manager-chunks/{runtime-B_U-7omv.js → runtime-TytMkKcC.js} +340 -241
- package/dist/manager/_manager-chunks/{runtime-BrlctLSK.js → runtime-jOBCBZ66.js} +100 -63
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +34 -9
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +10 -10
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +11 -11
- package/dist/react/preset.js +13 -13
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +10 -10
- package/dist/react-native/metro/withForkbook.js +11 -11
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/router/index.d.ts +69 -1
- package/dist/router/index.js +48 -8
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +43 -43
- package/dist/theming/index.js +13 -9
- package/dist/types/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/_node-chunks/builder-manager-V7M6SFEM.js +0 -1623
- package/dist/_node-chunks/chunk-27KT3BJI.js +0 -25
- package/dist/_node-chunks/chunk-4XNKH2BY.js +0 -18
- package/dist/_node-chunks/chunk-CT3L2NXZ.js +0 -20
- package/dist/_node-chunks/chunk-NORBEBNM.js +0 -19
- package/dist/_node-chunks/chunk-SBNQ6YGM.js +0 -11
- package/dist/_node-chunks/chunk-YHWOGAFM.js +0 -20
- package/dist/_node-chunks/dist-GJ53PFWF.js +0 -27
- package/dist/_node-chunks/dist-TLMACGH6.js +0 -16
- package/dist/_node-chunks/optimized-tests-DIPB4OM6.js +0 -22
- package/dist/_node-chunks/postinstallAddon-PSN7XRSV.js +0 -20
- package/dist/_node-chunks/session-id-K7PM5ZGL.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +0 -413
- package/dist/manager/_manager-chunks/globals-runtime-BO0pfoqL.js +0 -3414
- package/dist/manager/_manager-chunks/globals-runtime-BZKYJxYC.js +0 -2093
- package/dist/manager/_manager-chunks/globals-runtime-CTyYXvUm.js +0 -41
- package/dist/manager/_manager-chunks/globals-runtime-Dbt08xWQ.js +0 -1960
package/dist/manager/_manager-chunks/{globals-runtime-DgUeynuu.js → globals-runtime-FcobHVj9.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as __toESM, n as __esmMin, r as __exportAll } from "./globals-runtime-BdGkqNEt.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-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { H as clsx, U as init_clsx } from "./globals-runtime-
|
|
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-
|
|
7
|
-
import {
|
|
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-
|
|
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-CA8AuIRT.js";
|
|
3
|
+
import { a as useTheme, at as useCopyButton, ct as destroyAnnouncer, dt as init_local_hosts, ft as matchesHostname, gt as init_universal_store, ht as UniversalStore, it as init_useCopyButton, lt as init_announce, mt as init_global, ot as announce, pt as global, r as ThemeProvider, s as themeToCssVars, st as clearAnnouncer, t as init_theming, ut as LOOPBACK_HOSTNAMES } from "./globals-runtime-CnfHMZV0.js";
|
|
4
|
+
import { i as useTransitionState, k as require_react, n as init_react_textarea_autosize_browser_esm, r as init_useTransitionState, t as index } from "./globals-runtime-Bs75QQ_I.js";
|
|
5
|
+
import { H as clsx, U as init_clsx } from "./globals-runtime-DvV_TF3-.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-C4GdZS7_.js";
|
|
7
|
+
import { Do as init_chevron_left, Eo as ChevronLeft, To as init_chevron_right, Ws as require_memoizerific, _ as init_x, g as X, h as init_zap_off, m as ZapOff, on as RotateCw, sn as init_rotate_cw, wo as ChevronRight } from "./globals-runtime-Bj5KDUJi.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-dh5vgpgm.js";
|
|
9
9
|
//#region src/channels/main.ts
|
|
10
10
|
var isMulti, generateRandomId, Channel;
|
|
11
11
|
function init_main() {
|
|
@@ -801,22 +801,22 @@ function init_DocumentFormatting() {
|
|
|
801
801
|
}
|
|
802
802
|
//#endregion
|
|
803
803
|
//#region src/components/components/typography/lib/common.module.css
|
|
804
|
-
var id$
|
|
804
|
+
var id$65, common_module_default;
|
|
805
805
|
function init_common_module() {
|
|
806
806
|
return (init_common_module = __esmMin((() => {
|
|
807
|
-
id$
|
|
808
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
807
|
+
id$65 = "core/src/components/components/typography/lib/common.module.css";
|
|
808
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$65}"]`)) {
|
|
809
809
|
const style = document.createElement("style");
|
|
810
|
-
style.setAttribute("data-fb-css", id$
|
|
810
|
+
style.setAttribute("data-fb-css", id$65);
|
|
811
811
|
style.textContent = ".fb-9V_Jya-headerCommon{cursor:text;color:var(--fb-color-default-text);margin:20px 0 8px;padding:0;position:relative;&:first-of-type{margin-top:0;padding-top:0}&:hover a.fb-9V_Jya-anchor{text-decoration:none}& tt,& code{font-size:inherit}}.fb-9V_Jya-codeCommon{white-space:nowrap;line-height:1;font-size:calc(var(--fb-size-s2) - 1px);color:var(--fb-color-default-text);background-color:#00000003;border:1px solid #0000000d;border-radius:3px;margin:0 2px;padding:3px 5px}:where([data-fb-theme=dark]) .fb-9V_Jya-codeCommon{background-color:#ffffff05;border:1px solid #ffffff0d}.fb-9V_Jya-withReset{font-family:var(--fb-font-base);font-size:var(--fb-size-s3);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:#0000;-webkit-overflow-scrolling:touch;margin:0}.fb-9V_Jya-withMargin{margin:16px 0}";
|
|
812
812
|
document.head.appendChild(style);
|
|
813
813
|
}
|
|
814
814
|
common_module_default = {
|
|
815
|
-
"headerCommon": "fb-9V_Jya-headerCommon",
|
|
816
815
|
"codeCommon": "fb-9V_Jya-codeCommon",
|
|
816
|
+
"headerCommon": "fb-9V_Jya-headerCommon",
|
|
817
|
+
"anchor": "fb-9V_Jya-anchor",
|
|
817
818
|
"withReset": "fb-9V_Jya-withReset",
|
|
818
|
-
"withMargin": "fb-9V_Jya-withMargin"
|
|
819
|
-
"anchor": "fb-9V_Jya-anchor"
|
|
819
|
+
"withMargin": "fb-9V_Jya-withMargin"
|
|
820
820
|
};
|
|
821
821
|
})))();
|
|
822
822
|
}
|
|
@@ -831,13 +831,13 @@ function init_common() {
|
|
|
831
831
|
}
|
|
832
832
|
//#endregion
|
|
833
833
|
//#region src/components/components/typography/ResetWrapper.tsx
|
|
834
|
-
var import_react$
|
|
834
|
+
var import_react$69, ResetWrapper;
|
|
835
835
|
function init_ResetWrapper() {
|
|
836
836
|
return (init_ResetWrapper = __esmMin((() => {
|
|
837
|
-
import_react$
|
|
837
|
+
import_react$69 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
838
838
|
init_clsx();
|
|
839
839
|
init_common();
|
|
840
|
-
ResetWrapper = (0, import_react$
|
|
840
|
+
ResetWrapper = (0, import_react$69.forwardRef)(({ className, ...props }, ref) => /* @__PURE__ */ import_react$69.default.createElement("div", {
|
|
841
841
|
ref,
|
|
842
842
|
className: clsx(withReset, className),
|
|
843
843
|
...props
|
|
@@ -847,14 +847,14 @@ function init_ResetWrapper() {
|
|
|
847
847
|
}
|
|
848
848
|
//#endregion
|
|
849
849
|
//#region src/components/components/typography/elements/Link.tsx
|
|
850
|
-
var import_react$
|
|
850
|
+
var import_react$68, Link$1;
|
|
851
851
|
function init_Link() {
|
|
852
852
|
return (init_Link = __esmMin((() => {
|
|
853
|
-
import_react$
|
|
853
|
+
import_react$68 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
854
854
|
Link$1 = ({ href: input = "", ...props }) => {
|
|
855
|
-
const href = /^\//.test(input) ?
|
|
855
|
+
const href = /^\//.test(input) ? `.${input.replace(/^\/(story|docs)\//, "/_$1/")}` : input;
|
|
856
856
|
const target = /^#.*/.test(input) ? "_self" : "_top";
|
|
857
|
-
return /* @__PURE__ */ import_react$
|
|
857
|
+
return /* @__PURE__ */ import_react$68.default.createElement("a", {
|
|
858
858
|
href,
|
|
859
859
|
target,
|
|
860
860
|
...props
|
|
@@ -864,13 +864,13 @@ function init_Link() {
|
|
|
864
864
|
}
|
|
865
865
|
//#endregion
|
|
866
866
|
//#region src/components/components/typography/elements/A.module.css
|
|
867
|
-
var id$
|
|
867
|
+
var id$64, A_module_default;
|
|
868
868
|
function init_A_module() {
|
|
869
869
|
return (init_A_module = __esmMin((() => {
|
|
870
|
-
id$
|
|
871
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
870
|
+
id$64 = "core/src/components/components/typography/elements/A.module.css";
|
|
871
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$64}"]`)) {
|
|
872
872
|
const style = document.createElement("style");
|
|
873
|
-
style.setAttribute("data-fb-css", id$
|
|
873
|
+
style.setAttribute("data-fb-css", id$64);
|
|
874
874
|
style.textContent = ".fb-TsyR8G-a{font-size:inherit;color:var(--fb-color-secondary);text-underline-offset:.11em;line-height:24px;text-decoration:underline .03125rem;&.absent{color:#c00}&.anchor{cursor:pointer;margin-left:-30px;padding-left:30px;text-decoration:none;display:block;position:absolute;top:0;bottom:0;left:0}&.anchor:hover,&.anchor:focus{text-decoration:underline}& code{color:inherit;padding-left:0;padding-right:0;text-decoration:underline .03125rem;&:before,&:after{content:\"\xA0\";font-size:.5em}}}";
|
|
875
875
|
document.head.appendChild(style);
|
|
876
876
|
}
|
|
@@ -879,15 +879,15 @@ function init_A_module() {
|
|
|
879
879
|
}
|
|
880
880
|
//#endregion
|
|
881
881
|
//#region src/components/components/typography/elements/A.tsx
|
|
882
|
-
var import_react$
|
|
882
|
+
var import_react$67, A;
|
|
883
883
|
function init_A() {
|
|
884
884
|
return (init_A = __esmMin((() => {
|
|
885
|
-
import_react$
|
|
885
|
+
import_react$67 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
886
886
|
init_clsx();
|
|
887
887
|
init_common();
|
|
888
888
|
init_Link();
|
|
889
889
|
init_A_module();
|
|
890
|
-
A = ({ className, ...props }) => /* @__PURE__ */ import_react$
|
|
890
|
+
A = ({ className, ...props }) => /* @__PURE__ */ import_react$67.default.createElement(Link$1, {
|
|
891
891
|
className: clsx(withReset, A_module_default.a, className),
|
|
892
892
|
...props
|
|
893
893
|
});
|
|
@@ -895,13 +895,13 @@ function init_A() {
|
|
|
895
895
|
}
|
|
896
896
|
//#endregion
|
|
897
897
|
//#region src/components/components/typography/lib/withClassName.tsx
|
|
898
|
-
var import_react$
|
|
898
|
+
var import_react$66, withClassName;
|
|
899
899
|
function init_withClassName() {
|
|
900
900
|
return (init_withClassName = __esmMin((() => {
|
|
901
|
-
import_react$
|
|
901
|
+
import_react$66 = require_react();
|
|
902
902
|
init_clsx();
|
|
903
903
|
withClassName = (tag, ...classNames) => {
|
|
904
|
-
const Component = (0, import_react$
|
|
904
|
+
const Component = (0, import_react$66.forwardRef)(({ className, ...props }, ref) => (0, import_react$66.createElement)(tag, {
|
|
905
905
|
...props,
|
|
906
906
|
ref,
|
|
907
907
|
className: clsx(...classNames, className)
|
|
@@ -913,13 +913,13 @@ function init_withClassName() {
|
|
|
913
913
|
}
|
|
914
914
|
//#endregion
|
|
915
915
|
//#region src/components/components/typography/elements/Blockquote.module.css
|
|
916
|
-
var id$
|
|
916
|
+
var id$63, Blockquote_module_default;
|
|
917
917
|
function init_Blockquote_module() {
|
|
918
918
|
return (init_Blockquote_module = __esmMin((() => {
|
|
919
|
-
id$
|
|
920
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
919
|
+
id$63 = "core/src/components/components/typography/elements/Blockquote.module.css";
|
|
920
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$63}"]`)) {
|
|
921
921
|
const style = document.createElement("style");
|
|
922
|
-
style.setAttribute("data-fb-css", id$
|
|
922
|
+
style.setAttribute("data-fb-css", id$63);
|
|
923
923
|
style.textContent = ".fb-ytoYdG-blockquote{border-left:4px solid var(--fb-color-medium);color:var(--fb-color-dark);padding:0 15px;&>:first-of-type{margin-top:0}&>:last-child{margin-bottom:0}}";
|
|
924
924
|
document.head.appendChild(style);
|
|
925
925
|
}
|
|
@@ -939,13 +939,13 @@ function init_Blockquote() {
|
|
|
939
939
|
}
|
|
940
940
|
//#endregion
|
|
941
941
|
//#region src/components/components/ActionBar/ActionBar.module.css
|
|
942
|
-
var id$
|
|
942
|
+
var id$62, ActionBar_module_default;
|
|
943
943
|
function init_ActionBar_module() {
|
|
944
944
|
return (init_ActionBar_module = __esmMin((() => {
|
|
945
|
-
id$
|
|
946
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
945
|
+
id$62 = "core/src/components/components/ActionBar/ActionBar.module.css";
|
|
946
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$62}"]`)) {
|
|
947
947
|
const style = document.createElement("style");
|
|
948
|
-
style.setAttribute("data-fb-css", id$
|
|
948
|
+
style.setAttribute("data-fb-css", id$62);
|
|
949
949
|
style.textContent = ".fb-e5xiIW-container{background:var(--fb-background-content);z-index:1;max-width:100%;display:flex;position:absolute;bottom:0;right:0}.fb-e5xiIW-container[data-flex-layout]{z-index:auto;align-self:flex-end;max-width:none;margin-inline-start:auto;display:inline-flex;position:static}.fb-e5xiIW-actionButton{cursor:pointer;color:var(--fb-color-default-text);background:var(--fb-background-content);font-size:12px;line-height:16px;font-family:var(--fb-font-base);font-weight:var(--fb-weight-bold);border:0;border-top:1px solid var(--fb-app-border-color);border-left:1px solid var(--fb-app-border-color);margin:0;border-radius:4px 0 0;align-items:center;margin-left:-1px;padding:4px 10px;display:flex;&:not(:last-child){border-right:1px solid var(--fb-app-border-color)}&+*{border-left:1px solid var(--fb-app-border-color);border-radius:0}&:focus{box-shadow:var(--fb-color-secondary) 0 -3px 0 0 inset;outline:0;@media (forced-colors:active){outline-offset:2px;outline:2px solid buttonborder}}&:disabled{cursor:not-allowed;opacity:.5}}";
|
|
950
950
|
document.head.appendChild(style);
|
|
951
951
|
}
|
|
@@ -957,23 +957,23 @@ function init_ActionBar_module() {
|
|
|
957
957
|
}
|
|
958
958
|
//#endregion
|
|
959
959
|
//#region src/components/components/ActionBar/ActionBar.tsx
|
|
960
|
-
var import_react$
|
|
960
|
+
var import_react$65, ActionButton, ActionBar;
|
|
961
961
|
function init_ActionBar() {
|
|
962
962
|
return (init_ActionBar = __esmMin((() => {
|
|
963
|
-
import_react$
|
|
963
|
+
import_react$65 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
964
964
|
init_clsx();
|
|
965
965
|
init_ActionBar_module();
|
|
966
|
-
ActionButton = ({ className, ...props }) => /* @__PURE__ */ import_react$
|
|
966
|
+
ActionButton = ({ className, ...props }) => /* @__PURE__ */ import_react$65.default.createElement("button", {
|
|
967
967
|
className: clsx(ActionBar_module_default.actionButton, className),
|
|
968
968
|
...props
|
|
969
969
|
});
|
|
970
970
|
ActionButton.displayName = "ActionButton";
|
|
971
971
|
ActionBar = ({ actionItems, flexLayout = false, ...props }) => {
|
|
972
|
-
return /* @__PURE__ */ import_react$
|
|
972
|
+
return /* @__PURE__ */ import_react$65.default.createElement("div", {
|
|
973
973
|
...props,
|
|
974
974
|
className: ActionBar_module_default.container,
|
|
975
975
|
"data-flex-layout": flexLayout || void 0
|
|
976
|
-
}, actionItems.map(({ title, ariaLabel, className, onClick, disabled }, index) => /* @__PURE__ */ import_react$
|
|
976
|
+
}, actionItems.map(({ title, ariaLabel, className, onClick, disabled }, index) => /* @__PURE__ */ import_react$65.default.createElement(ActionButton, {
|
|
977
977
|
key: index,
|
|
978
978
|
"aria-label": ariaLabel,
|
|
979
979
|
className,
|
|
@@ -985,41 +985,41 @@ function init_ActionBar() {
|
|
|
985
985
|
}
|
|
986
986
|
//#endregion
|
|
987
987
|
//#region src/components/components/ScrollArea/ScrollArea.module.css
|
|
988
|
-
var id$
|
|
988
|
+
var id$61, ScrollArea_module_default;
|
|
989
989
|
function init_ScrollArea_module() {
|
|
990
990
|
return (init_ScrollArea_module = __esmMin((() => {
|
|
991
|
-
id$
|
|
992
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
991
|
+
id$61 = "core/src/components/components/ScrollArea/ScrollArea.module.css";
|
|
992
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$61}"]`)) {
|
|
993
993
|
const style = document.createElement("style");
|
|
994
|
-
style.setAttribute("data-fb-css", id$
|
|
994
|
+
style.setAttribute("data-fb-css", id$61);
|
|
995
995
|
style.textContent = ".fb-L_srpa-root{width:100%;height:100%;overflow:hidden}.fb-L_srpa-viewport{width:100%;height:100%;&[data-focusable]:focus{outline:2px solid var(--fb-color-secondary);outline-offset:-2px}}.fb-L_srpa-scrollbar{user-select:none;touch-action:none;border-radius:var(--scrollbar-size);z-index:1;opacity:0;pointer-events:none;background:0 0;transition:all .2s ease-out;display:flex;&[data-hovering],&[data-scrolling]{opacity:1;pointer-events:auto}&[data-orientation=vertical]{width:var(--scrollbar-size);padding-right:var(--scrollbar-offset);margin-top:var(--scrollbar-offset);margin-bottom:var(--scrollbar-offset)}&[data-orientation=horizontal]{height:var(--scrollbar-size);padding-bottom:var(--scrollbar-offset);margin-left:var(--scrollbar-offset);margin-right:var(--scrollbar-offset);flex-direction:column}}.fb-L_srpa-root[data-both]>.fb-L_srpa-scrollbar{&[data-orientation=vertical]{margin-bottom:0}&[data-orientation=horizontal]{margin-right:0}}.fb-L_srpa-thumb{background:var(--fb-text-muted-color);opacity:.5;border-radius:var(--scrollbar-size);z-index:1;flex:1;transition:opacity .2s ease-out;position:relative;&:hover{opacity:.8}&:before{content:\"\";width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}}";
|
|
996
996
|
document.head.appendChild(style);
|
|
997
997
|
}
|
|
998
998
|
ScrollArea_module_default = {
|
|
999
999
|
"viewport": "fb-L_srpa-viewport",
|
|
1000
|
-
"root": "fb-L_srpa-root",
|
|
1001
1000
|
"scrollbar": "fb-L_srpa-scrollbar",
|
|
1002
|
-
"thumb": "fb-L_srpa-thumb"
|
|
1001
|
+
"thumb": "fb-L_srpa-thumb",
|
|
1002
|
+
"root": "fb-L_srpa-root"
|
|
1003
1003
|
};
|
|
1004
1004
|
})))();
|
|
1005
1005
|
}
|
|
1006
1006
|
//#endregion
|
|
1007
1007
|
//#region src/components/components/ScrollArea/ScrollArea.tsx
|
|
1008
|
-
var import_react$
|
|
1008
|
+
var import_react$64, ScrollArea;
|
|
1009
1009
|
function init_ScrollArea() {
|
|
1010
1010
|
return (init_ScrollArea = __esmMin((() => {
|
|
1011
|
-
import_react$
|
|
1011
|
+
import_react$64 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1012
1012
|
init_ScrollAreaRoot(), init_ScrollAreaViewport(), init_ScrollAreaContent(), init_ScrollAreaScrollbar(), init_ScrollAreaThumb(), init_ScrollAreaCorner();
|
|
1013
1013
|
init_clsx();
|
|
1014
1014
|
init_ScrollArea_module();
|
|
1015
|
-
ScrollArea = (0, import_react$
|
|
1015
|
+
ScrollArea = (0, import_react$64.forwardRef)(({ children, horizontal = false, vertical = false, offset = 2, scrollbarSize = 1, scrollPadding = 0, className, focusable = false }, ref) => /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaRoot, {
|
|
1016
1016
|
className: clsx(ScrollArea_module_default.root, className),
|
|
1017
1017
|
style: {
|
|
1018
1018
|
"--scrollbar-size": `${scrollbarSize + offset}px`,
|
|
1019
1019
|
"--scrollbar-offset": `${offset}px`
|
|
1020
1020
|
},
|
|
1021
1021
|
"data-both": horizontal && vertical || void 0
|
|
1022
|
-
}, /* @__PURE__ */ import_react$
|
|
1022
|
+
}, /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaViewport, {
|
|
1023
1023
|
ref,
|
|
1024
1024
|
className: ScrollArea_module_default.viewport,
|
|
1025
1025
|
"data-focusable": focusable || void 0,
|
|
@@ -1029,13 +1029,13 @@ function init_ScrollArea() {
|
|
|
1029
1029
|
overflowY: vertical ? "scroll" : "hidden"
|
|
1030
1030
|
},
|
|
1031
1031
|
tabIndex: focusable ? 0 : void 0
|
|
1032
|
-
}, /* @__PURE__ */ import_react$
|
|
1032
|
+
}, /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaContent, null, children)), horizontal && /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaScrollbar, {
|
|
1033
1033
|
className: ScrollArea_module_default.scrollbar,
|
|
1034
1034
|
orientation: "horizontal"
|
|
1035
|
-
}, /* @__PURE__ */ import_react$
|
|
1035
|
+
}, /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaThumb, { className: ScrollArea_module_default.thumb })), vertical && /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaScrollbar, {
|
|
1036
1036
|
className: ScrollArea_module_default.scrollbar,
|
|
1037
1037
|
orientation: "vertical"
|
|
1038
|
-
}, /* @__PURE__ */ import_react$
|
|
1038
|
+
}, /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaThumb, { className: ScrollArea_module_default.thumb })), horizontal && vertical && /* @__PURE__ */ import_react$64.default.createElement(ScrollAreaCorner, null)));
|
|
1039
1039
|
ScrollArea.displayName = "ScrollArea";
|
|
1040
1040
|
})))();
|
|
1041
1041
|
}
|
|
@@ -1054,13 +1054,13 @@ function init_formatter() {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
//#endregion
|
|
1056
1056
|
//#region src/components/components/syntaxhighlighter/syntaxhighlighter.module.css
|
|
1057
|
-
var id$
|
|
1057
|
+
var id$60, syntaxhighlighter_module_default;
|
|
1058
1058
|
function init_syntaxhighlighter_module() {
|
|
1059
1059
|
return (init_syntaxhighlighter_module = __esmMin((() => {
|
|
1060
|
-
id$
|
|
1061
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1060
|
+
id$60 = "core/src/components/components/syntaxhighlighter/syntaxhighlighter.module.css";
|
|
1061
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$60}"]`)) {
|
|
1062
1062
|
const style = document.createElement("style");
|
|
1063
|
-
style.setAttribute("data-fb-css", id$
|
|
1063
|
+
style.setAttribute("data-fb-css", id$60);
|
|
1064
1064
|
style.textContent = ".fb-ze8Wja-wrapper{color:var(--fb-color-default-text);color-scheme:light;flex-wrap:wrap;display:flex;position:relative;overflow:hidden;&[data-bordered]{border:1px solid var(--fb-app-border-color);background:var(--fb-background-content)}}:where([data-fb-theme=dark]) .fb-ze8Wja-wrapper{color-scheme:dark}.fb-ze8Wja-scroller{flex:1 0;flex-basis:fit-content;max-width:100%}.fb-ze8Wja-pre{padding:0;padding-right:var(--fb-layout-margin);font-family:var(--fb-font-mono);white-space:pre;counter-reset:sh-line;margin:0;&[data-padded]{padding:var(--fb-layout-margin)}&[data-wrap]{white-space:pre-wrap}& .sh__line{display:block}& .sh__token--comment{font-style:italic}&[data-line-numbers] .sh__line:before{counter-increment:sh-line;content:counter(sh-line);text-align:right;opacity:.5;min-width:2.25em;padding-right:1em;display:inline-block}}";
|
|
1065
1065
|
document.head.appendChild(style);
|
|
1066
1066
|
}
|
|
@@ -1073,10 +1073,10 @@ function init_syntaxhighlighter_module() {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
//#endregion
|
|
1075
1075
|
//#region src/components/components/syntaxhighlighter/syntaxhighlighter.tsx
|
|
1076
|
-
var import_react$
|
|
1076
|
+
var import_react$63, SyntaxHighlighter;
|
|
1077
1077
|
function init_syntaxhighlighter() {
|
|
1078
1078
|
return (init_syntaxhighlighter = __esmMin((() => {
|
|
1079
|
-
import_react$
|
|
1079
|
+
import_react$63 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1080
1080
|
init_clsx();
|
|
1081
1081
|
init_lib();
|
|
1082
1082
|
init_lang();
|
|
@@ -1086,31 +1086,31 @@ function init_syntaxhighlighter() {
|
|
|
1086
1086
|
init_formatter();
|
|
1087
1087
|
init_syntaxhighlighter_module();
|
|
1088
1088
|
SyntaxHighlighter = ({ children, language = "jsx", copyable = false, bordered = false, padded = false, format = true, formatter: formatter$1 = formatter, className = void 0, showLineNumbers = false, wrapLongLines = false }) => {
|
|
1089
|
-
const [code, setCode] = (0, import_react$
|
|
1090
|
-
(0, import_react$
|
|
1089
|
+
const [code, setCode] = (0, import_react$63.useState)("");
|
|
1090
|
+
(0, import_react$63.useEffect)(() => {
|
|
1091
1091
|
if (typeof children === "string") formatter$1(format, children).then((formatted) => setCode(formatted.trim()));
|
|
1092
1092
|
}, [
|
|
1093
1093
|
children,
|
|
1094
1094
|
format,
|
|
1095
1095
|
formatter$1
|
|
1096
1096
|
]);
|
|
1097
|
-
const html = (0, import_react$
|
|
1097
|
+
const html = (0, import_react$63.useMemo)(() => highlight(code, { lang: lang(language) ?? "plaintext" }), [code, language]);
|
|
1098
1098
|
const { children: copyChildren, buttonProps: copyButtonProps } = useCopyButton({ content: code });
|
|
1099
1099
|
if (typeof children !== "string" || !children.trim()) return null;
|
|
1100
|
-
return /* @__PURE__ */ import_react$
|
|
1100
|
+
return /* @__PURE__ */ import_react$63.default.createElement("div", {
|
|
1101
1101
|
className: clsx(syntaxhighlighter_module_default.wrapper, className),
|
|
1102
1102
|
"data-bordered": bordered || void 0
|
|
1103
|
-
}, /* @__PURE__ */ import_react$
|
|
1103
|
+
}, /* @__PURE__ */ import_react$63.default.createElement(ScrollArea, {
|
|
1104
1104
|
horizontal: true,
|
|
1105
1105
|
vertical: true,
|
|
1106
1106
|
focusable: true,
|
|
1107
1107
|
className: syntaxhighlighter_module_default.scroller
|
|
1108
|
-
}, /* @__PURE__ */ import_react$
|
|
1108
|
+
}, /* @__PURE__ */ import_react$63.default.createElement("pre", {
|
|
1109
1109
|
className: clsx(syntaxhighlighter_module_default.pre, `language-${language}`),
|
|
1110
1110
|
"data-padded": padded || bordered || void 0,
|
|
1111
1111
|
"data-line-numbers": showLineNumbers || void 0,
|
|
1112
1112
|
"data-wrap": wrapLongLines || void 0
|
|
1113
|
-
}, /* @__PURE__ */ import_react$
|
|
1113
|
+
}, /* @__PURE__ */ import_react$63.default.createElement("code", { dangerouslySetInnerHTML: { __html: html } }))), copyable ? /* @__PURE__ */ import_react$63.default.createElement(ActionBar, {
|
|
1114
1114
|
actionItems: [{
|
|
1115
1115
|
title: copyChildren,
|
|
1116
1116
|
onClick: copyButtonProps.onClick
|
|
@@ -1130,13 +1130,13 @@ function init_isReactChildString() {
|
|
|
1130
1130
|
}
|
|
1131
1131
|
//#endregion
|
|
1132
1132
|
//#region src/components/components/typography/elements/Code.module.css
|
|
1133
|
-
var id$
|
|
1133
|
+
var id$59, Code_module_default;
|
|
1134
1134
|
function init_Code_module() {
|
|
1135
1135
|
return (init_Code_module = __esmMin((() => {
|
|
1136
|
-
id$
|
|
1137
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1136
|
+
id$59 = "core/src/components/components/typography/elements/Code.module.css";
|
|
1137
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$59}"]`)) {
|
|
1138
1138
|
const style = document.createElement("style");
|
|
1139
|
-
style.setAttribute("data-fb-css", id$
|
|
1139
|
+
style.setAttribute("data-fb-css", id$59);
|
|
1140
1140
|
style.textContent = ".fb-EdhePq-inlineCode{font-family:var(--fb-font-mono);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:baseline;display:inline-block}.fb-EdhePq-codeBlock{font-family:var(--fb-font-mono);font-size:calc(var(--fb-size-s2) - 1px);border-radius:var(--fb-app-border-radius);margin:25px 0 40px;line-height:19px;box-shadow:0 1px 3px #0000001a;& pre.prismjs{background:inherit;padding:20px}}:where([data-fb-theme=dark]) .fb-EdhePq-codeBlock{box-shadow:0 2px 5px #0003}";
|
|
1141
1141
|
document.head.appendChild(style);
|
|
1142
1142
|
}
|
|
@@ -1148,10 +1148,10 @@ function init_Code_module() {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
//#endregion
|
|
1150
1150
|
//#region src/components/components/typography/elements/Code.tsx
|
|
1151
|
-
var import_react$
|
|
1151
|
+
var import_react$62, isInlineCodeRegex, Code;
|
|
1152
1152
|
function init_Code() {
|
|
1153
1153
|
return (init_Code = __esmMin((() => {
|
|
1154
|
-
import_react$
|
|
1154
|
+
import_react$62 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1155
1155
|
init_clsx();
|
|
1156
1156
|
init_syntaxhighlighter();
|
|
1157
1157
|
init_common();
|
|
@@ -1160,12 +1160,12 @@ function init_Code() {
|
|
|
1160
1160
|
isInlineCodeRegex = /[\n\r]/g;
|
|
1161
1161
|
Code = ({ className, children, ...props }) => {
|
|
1162
1162
|
const language = (className || "").match(/lang-(\S+)/);
|
|
1163
|
-
const childrenArray = import_react$
|
|
1164
|
-
if (!childrenArray.filter(isReactChildString).some((child) => child.match(isInlineCodeRegex))) return /* @__PURE__ */ import_react$
|
|
1163
|
+
const childrenArray = import_react$62.Children.toArray(children);
|
|
1164
|
+
if (!childrenArray.filter(isReactChildString).some((child) => child.match(isInlineCodeRegex))) return /* @__PURE__ */ import_react$62.default.createElement("code", {
|
|
1165
1165
|
...props,
|
|
1166
1166
|
className: clsx(codeCommon, Code_module_default.inlineCode, className)
|
|
1167
1167
|
}, childrenArray);
|
|
1168
|
-
return /* @__PURE__ */ import_react$
|
|
1168
|
+
return /* @__PURE__ */ import_react$62.default.createElement(SyntaxHighlighter, {
|
|
1169
1169
|
className: Code_module_default.codeBlock,
|
|
1170
1170
|
bordered: true,
|
|
1171
1171
|
copyable: true,
|
|
@@ -1178,13 +1178,13 @@ function init_Code() {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
//#endregion
|
|
1180
1180
|
//#region src/components/components/typography/elements/DL.module.css
|
|
1181
|
-
var id$
|
|
1181
|
+
var id$58, DL_module_default;
|
|
1182
1182
|
function init_DL_module() {
|
|
1183
1183
|
return (init_DL_module = __esmMin((() => {
|
|
1184
|
-
id$
|
|
1185
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1184
|
+
id$58 = "core/src/components/components/typography/elements/DL.module.css";
|
|
1185
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$58}"]`)) {
|
|
1186
1186
|
const style = document.createElement("style");
|
|
1187
|
-
style.setAttribute("data-fb-css", id$
|
|
1187
|
+
style.setAttribute("data-fb-css", id$58);
|
|
1188
1188
|
style.textContent = ".fb-F-BVXa-dl{padding:0;& dt{margin:16px 0 4px;padding:0;font-size:14px;font-style:italic;font-weight:700}& dt:first-of-type{padding:0}& dt>:first-of-type{margin-top:0}& dt>:last-child{margin-bottom:0}& dd{margin:0 0 16px;padding:0 15px}& dd>:first-of-type{margin-top:0}& dd>:last-child{margin-bottom:0}}";
|
|
1189
1189
|
document.head.appendChild(style);
|
|
1190
1190
|
}
|
|
@@ -1214,13 +1214,13 @@ function init_Div() {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
//#endregion
|
|
1216
1216
|
//#region src/components/components/typography/elements/H1.module.css
|
|
1217
|
-
var id$
|
|
1217
|
+
var id$57, H1_module_default;
|
|
1218
1218
|
function init_H1_module() {
|
|
1219
1219
|
return (init_H1_module = __esmMin((() => {
|
|
1220
|
-
id$
|
|
1221
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1220
|
+
id$57 = "core/src/components/components/typography/elements/H1.module.css";
|
|
1221
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$57}"]`)) {
|
|
1222
1222
|
const style = document.createElement("style");
|
|
1223
|
-
style.setAttribute("data-fb-css", id$
|
|
1223
|
+
style.setAttribute("data-fb-css", id$57);
|
|
1224
1224
|
style.textContent = ".fb-nXXQfq-h1{font-size:var(--fb-size-l1);font-weight:var(--fb-weight-bold)}";
|
|
1225
1225
|
document.head.appendChild(style);
|
|
1226
1226
|
}
|
|
@@ -1240,13 +1240,13 @@ function init_H1() {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
//#endregion
|
|
1242
1242
|
//#region src/components/components/typography/elements/H2.module.css
|
|
1243
|
-
var id$
|
|
1243
|
+
var id$56, H2_module_default;
|
|
1244
1244
|
function init_H2_module() {
|
|
1245
1245
|
return (init_H2_module = __esmMin((() => {
|
|
1246
|
-
id$
|
|
1247
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1246
|
+
id$56 = "core/src/components/components/typography/elements/H2.module.css";
|
|
1247
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$56}"]`)) {
|
|
1248
1248
|
const style = document.createElement("style");
|
|
1249
|
-
style.setAttribute("data-fb-css", id$
|
|
1249
|
+
style.setAttribute("data-fb-css", id$56);
|
|
1250
1250
|
style.textContent = ".fb-jPuVnq-h2{font-size:var(--fb-size-m2);border-bottom:1px solid var(--fb-app-border-color);padding-bottom:4px}";
|
|
1251
1251
|
document.head.appendChild(style);
|
|
1252
1252
|
}
|
|
@@ -1266,13 +1266,13 @@ function init_H2() {
|
|
|
1266
1266
|
}
|
|
1267
1267
|
//#endregion
|
|
1268
1268
|
//#region src/components/components/typography/elements/H3.module.css
|
|
1269
|
-
var id$
|
|
1269
|
+
var id$55, H3_module_default;
|
|
1270
1270
|
function init_H3_module() {
|
|
1271
1271
|
return (init_H3_module = __esmMin((() => {
|
|
1272
|
-
id$
|
|
1273
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1272
|
+
id$55 = "core/src/components/components/typography/elements/H3.module.css";
|
|
1273
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$55}"]`)) {
|
|
1274
1274
|
const style = document.createElement("style");
|
|
1275
|
-
style.setAttribute("data-fb-css", id$
|
|
1275
|
+
style.setAttribute("data-fb-css", id$55);
|
|
1276
1276
|
style.textContent = ".fb-C7k4ya-h3{font-size:var(--fb-size-m1)}";
|
|
1277
1277
|
document.head.appendChild(style);
|
|
1278
1278
|
}
|
|
@@ -1292,13 +1292,13 @@ function init_H3() {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region src/components/components/typography/elements/H4.module.css
|
|
1295
|
-
var id$
|
|
1295
|
+
var id$54, H4_module_default;
|
|
1296
1296
|
function init_H4_module() {
|
|
1297
1297
|
return (init_H4_module = __esmMin((() => {
|
|
1298
|
-
id$
|
|
1299
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1298
|
+
id$54 = "core/src/components/components/typography/elements/H4.module.css";
|
|
1299
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$54}"]`)) {
|
|
1300
1300
|
const style = document.createElement("style");
|
|
1301
|
-
style.setAttribute("data-fb-css", id$
|
|
1301
|
+
style.setAttribute("data-fb-css", id$54);
|
|
1302
1302
|
style.textContent = ".fb-DFfC7a-h4{font-size:var(--fb-size-s3)}";
|
|
1303
1303
|
document.head.appendChild(style);
|
|
1304
1304
|
}
|
|
@@ -1318,13 +1318,13 @@ function init_H4() {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
//#endregion
|
|
1320
1320
|
//#region src/components/components/typography/elements/H5.module.css
|
|
1321
|
-
var id$
|
|
1321
|
+
var id$53, H5_module_default;
|
|
1322
1322
|
function init_H5_module() {
|
|
1323
1323
|
return (init_H5_module = __esmMin((() => {
|
|
1324
|
-
id$
|
|
1325
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1324
|
+
id$53 = "core/src/components/components/typography/elements/H5.module.css";
|
|
1325
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$53}"]`)) {
|
|
1326
1326
|
const style = document.createElement("style");
|
|
1327
|
-
style.setAttribute("data-fb-css", id$
|
|
1327
|
+
style.setAttribute("data-fb-css", id$53);
|
|
1328
1328
|
style.textContent = ".fb-Gy2x2W-h5{font-size:var(--fb-size-s2)}";
|
|
1329
1329
|
document.head.appendChild(style);
|
|
1330
1330
|
}
|
|
@@ -1344,13 +1344,13 @@ function init_H5() {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
//#endregion
|
|
1346
1346
|
//#region src/components/components/typography/elements/H6.module.css
|
|
1347
|
-
var id$
|
|
1347
|
+
var id$52, H6_module_default;
|
|
1348
1348
|
function init_H6_module() {
|
|
1349
1349
|
return (init_H6_module = __esmMin((() => {
|
|
1350
|
-
id$
|
|
1351
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1350
|
+
id$52 = "core/src/components/components/typography/elements/H6.module.css";
|
|
1351
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$52}"]`)) {
|
|
1352
1352
|
const style = document.createElement("style");
|
|
1353
|
-
style.setAttribute("data-fb-css", id$
|
|
1353
|
+
style.setAttribute("data-fb-css", id$52);
|
|
1354
1354
|
style.textContent = ".fb-bk0F7q-h6{font-size:var(--fb-size-s2);color:var(--fb-color-dark)}";
|
|
1355
1355
|
document.head.appendChild(style);
|
|
1356
1356
|
}
|
|
@@ -1370,13 +1370,13 @@ function init_H6() {
|
|
|
1370
1370
|
}
|
|
1371
1371
|
//#endregion
|
|
1372
1372
|
//#region src/components/components/typography/elements/HR.module.css
|
|
1373
|
-
var id$
|
|
1373
|
+
var id$51, HR_module_default;
|
|
1374
1374
|
function init_HR_module() {
|
|
1375
1375
|
return (init_HR_module = __esmMin((() => {
|
|
1376
|
-
id$
|
|
1377
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1376
|
+
id$51 = "core/src/components/components/typography/elements/HR.module.css";
|
|
1377
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$51}"]`)) {
|
|
1378
1378
|
const style = document.createElement("style");
|
|
1379
|
-
style.setAttribute("data-fb-css", id$
|
|
1379
|
+
style.setAttribute("data-fb-css", id$51);
|
|
1380
1380
|
style.textContent = ".fb-6GPMfa-hr{border:0;border-top:1px solid var(--fb-app-border-color);height:4px;padding:0}";
|
|
1381
1381
|
document.head.appendChild(style);
|
|
1382
1382
|
}
|
|
@@ -1395,13 +1395,13 @@ function init_HR() {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
//#endregion
|
|
1397
1397
|
//#region src/components/components/typography/elements/Img.module.css
|
|
1398
|
-
var id$
|
|
1398
|
+
var id$50, Img_module_default;
|
|
1399
1399
|
function init_Img_module() {
|
|
1400
1400
|
return (init_Img_module = __esmMin((() => {
|
|
1401
|
-
id$
|
|
1402
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1401
|
+
id$50 = "core/src/components/components/typography/elements/Img.module.css";
|
|
1402
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$50}"]`)) {
|
|
1403
1403
|
const style = document.createElement("style");
|
|
1404
|
-
style.setAttribute("data-fb-css", id$
|
|
1404
|
+
style.setAttribute("data-fb-css", id$50);
|
|
1405
1405
|
style.textContent = ".fb-fLR5GW-img{max-width:100%}";
|
|
1406
1406
|
document.head.appendChild(style);
|
|
1407
1407
|
}
|
|
@@ -1420,13 +1420,13 @@ function init_Img() {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
//#endregion
|
|
1422
1422
|
//#region src/components/components/typography/elements/LI.module.css
|
|
1423
|
-
var id$
|
|
1423
|
+
var id$49, LI_module_default;
|
|
1424
1424
|
function init_LI_module() {
|
|
1425
1425
|
return (init_LI_module = __esmMin((() => {
|
|
1426
|
-
id$
|
|
1427
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1426
|
+
id$49 = "core/src/components/components/typography/elements/LI.module.css";
|
|
1427
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$49}"]`)) {
|
|
1428
1428
|
const style = document.createElement("style");
|
|
1429
|
-
style.setAttribute("data-fb-css", id$
|
|
1429
|
+
style.setAttribute("data-fb-css", id$49);
|
|
1430
1430
|
style.textContent = ".fb-b0tlnq-li{font-size:var(--fb-size-s2);color:var(--fb-color-default-text);line-height:24px;&+li{margin-top:.25em}& ul,& ol{margin-top:.25em;margin-bottom:0}& code{white-space:nowrap;line-height:1;font-size:calc(var(--fb-size-s2) - 1px);color:var(--fb-color-default-text);background-color:#00000003;border:1px solid #0000000d;border-radius:3px;margin:0 2px;padding:3px 5px}}:where([data-fb-theme=dark]) .fb-b0tlnq-li code{background-color:#ffffff05;border:1px solid #ffffff0d}";
|
|
1431
1431
|
document.head.appendChild(style);
|
|
1432
1432
|
}
|
|
@@ -1446,13 +1446,13 @@ function init_LI() {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
//#endregion
|
|
1448
1448
|
//#region src/components/components/typography/elements/OL.module.css
|
|
1449
|
-
var id$
|
|
1449
|
+
var id$48, OL_module_default;
|
|
1450
1450
|
function init_OL_module() {
|
|
1451
1451
|
return (init_OL_module = __esmMin((() => {
|
|
1452
|
-
id$
|
|
1453
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1452
|
+
id$48 = "core/src/components/components/typography/elements/OL.module.css";
|
|
1453
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$48}"]`)) {
|
|
1454
1454
|
const style = document.createElement("style");
|
|
1455
|
-
style.setAttribute("data-fb-css", id$
|
|
1455
|
+
style.setAttribute("data-fb-css", id$48);
|
|
1456
1456
|
style.textContent = ".fb-igvEQq-ol{padding-left:30px;list-style:decimal;& :first-of-type{margin-top:0}& :last-child{margin-bottom:0}}";
|
|
1457
1457
|
document.head.appendChild(style);
|
|
1458
1458
|
}
|
|
@@ -1472,13 +1472,13 @@ function init_OL() {
|
|
|
1472
1472
|
}
|
|
1473
1473
|
//#endregion
|
|
1474
1474
|
//#region src/components/components/typography/elements/P.module.css
|
|
1475
|
-
var id$
|
|
1475
|
+
var id$47, P_module_default;
|
|
1476
1476
|
function init_P_module() {
|
|
1477
1477
|
return (init_P_module = __esmMin((() => {
|
|
1478
|
-
id$
|
|
1479
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1478
|
+
id$47 = "core/src/components/components/typography/elements/P.module.css";
|
|
1479
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$47}"]`)) {
|
|
1480
1480
|
const style = document.createElement("style");
|
|
1481
|
-
style.setAttribute("data-fb-css", id$
|
|
1481
|
+
style.setAttribute("data-fb-css", id$47);
|
|
1482
1482
|
style.textContent = ".fb-qGW7Pa-p{font-size:var(--fb-size-s2);color:var(--fb-color-default-text);line-height:24px;& code{white-space:nowrap;line-height:1;font-size:calc(var(--fb-size-s2) - 1px);color:var(--fb-color-default-text);background-color:#00000003;border:1px solid #0000000d;border-radius:3px;margin:0 2px;padding:3px 5px}}:where([data-fb-theme=dark]) .fb-qGW7Pa-p code{background-color:#ffffff05;border:1px solid #ffffff0d}";
|
|
1483
1483
|
document.head.appendChild(style);
|
|
1484
1484
|
}
|
|
@@ -1498,13 +1498,13 @@ function init_P() {
|
|
|
1498
1498
|
}
|
|
1499
1499
|
//#endregion
|
|
1500
1500
|
//#region src/components/components/typography/elements/Pre.module.css
|
|
1501
|
-
var id$
|
|
1501
|
+
var id$46, Pre_module_default;
|
|
1502
1502
|
function init_Pre_module() {
|
|
1503
1503
|
return (init_Pre_module = __esmMin((() => {
|
|
1504
|
-
id$
|
|
1505
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1504
|
+
id$46 = "core/src/components/components/typography/elements/Pre.module.css";
|
|
1505
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$46}"]`)) {
|
|
1506
1506
|
const style = document.createElement("style");
|
|
1507
|
-
style.setAttribute("data-fb-css", id$
|
|
1507
|
+
style.setAttribute("data-fb-css", id$46);
|
|
1508
1508
|
style.textContent = ".fb-7CiEea-pre{font-family:var(--fb-font-mono);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;white-space:pre-wrap;color:inherit;border-radius:3px;margin:1rem 0;padding:11px 1rem;line-height:18px;&:not(.prismjs){background:0 0;border:none;border-radius:0;margin:0;padding:0}& pre,&.prismjs{white-space:pre-wrap;color:inherit;margin:0;padding:15px;font-size:13px;line-height:19px;& code{color:inherit;font-size:inherit}}& code{white-space:pre}& code,& tt{border:none}}";
|
|
1509
1509
|
document.head.appendChild(style);
|
|
1510
1510
|
}
|
|
@@ -1524,13 +1524,13 @@ function init_Pre() {
|
|
|
1524
1524
|
}
|
|
1525
1525
|
//#endregion
|
|
1526
1526
|
//#region src/components/components/typography/elements/Span.module.css
|
|
1527
|
-
var id$
|
|
1527
|
+
var id$45, Span_module_default;
|
|
1528
1528
|
function init_Span_module() {
|
|
1529
1529
|
return (init_Span_module = __esmMin((() => {
|
|
1530
|
-
id$
|
|
1531
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1530
|
+
id$45 = "core/src/components/components/typography/elements/Span.module.css";
|
|
1531
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$45}"]`)) {
|
|
1532
1532
|
const style = document.createElement("style");
|
|
1533
|
-
style.setAttribute("data-fb-css", id$
|
|
1533
|
+
style.setAttribute("data-fb-css", id$45);
|
|
1534
1534
|
style.textContent = ".fb-rLuyWa-span{&.frame{display:block;overflow:hidden;&>span{border:1px solid var(--fb-color-medium);float:left;width:auto;margin:13px 0 0;padding:7px;display:block;overflow:hidden}& span img{float:left;display:block}& span span{clear:both;color:var(--fb-color-darkest);padding:5px 0 0;display:block}}&.align-center{clear:both;display:block;overflow:hidden;&>span{text-align:center;margin:13px auto 0;display:block;overflow:hidden}& span img{text-align:center;margin:0 auto}}&.align-right{clear:both;display:block;overflow:hidden;&>span{text-align:right;margin:13px 0 0;display:block;overflow:hidden}& span img{text-align:right;margin:0}}&.float-left{float:left;margin-right:13px;display:block;overflow:hidden;& span{margin:13px 0 0}}&.float-right{float:right;margin-left:13px;display:block;overflow:hidden;&>span{text-align:right;margin:13px auto 0;display:block;overflow:hidden}}}";
|
|
1535
1535
|
document.head.appendChild(style);
|
|
1536
1536
|
}
|
|
@@ -1560,13 +1560,13 @@ function init_TT() {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
//#endregion
|
|
1562
1562
|
//#region src/components/components/typography/elements/Table.module.css
|
|
1563
|
-
var id$
|
|
1563
|
+
var id$44, Table_module_default;
|
|
1564
1564
|
function init_Table_module() {
|
|
1565
1565
|
return (init_Table_module = __esmMin((() => {
|
|
1566
|
-
id$
|
|
1567
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1566
|
+
id$44 = "core/src/components/components/typography/elements/Table.module.css";
|
|
1567
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$44}"]`)) {
|
|
1568
1568
|
const style = document.createElement("style");
|
|
1569
|
-
style.setAttribute("data-fb-css", id$
|
|
1569
|
+
style.setAttribute("data-fb-css", id$44);
|
|
1570
1570
|
style.textContent = ".fb-XXnasq-table{font-size:var(--fb-size-s2);border-collapse:collapse;padding:0;line-height:24px;& tr{border-top:1px solid var(--fb-app-border-color);margin:0;padding:0}& tr:nth-of-type(2n){background-color:var(--fb-color-lighter)}& tr th{color:var(--fb-color-default-text);border:1px solid var(--fb-app-border-color);margin:0;padding:6px 13px;font-weight:700}& tr td{border:1px solid var(--fb-app-border-color);color:var(--fb-color-default-text);margin:0;padding:6px 13px}& tr th :first-of-type,& tr td :first-of-type{margin-top:0}& tr th :last-child,& tr td :last-child{margin-bottom:0}}:where([data-fb-theme=dark]) .fb-XXnasq-table tr:nth-of-type(2n){background-color:var(--fb-color-darker)}";
|
|
1571
1571
|
document.head.appendChild(style);
|
|
1572
1572
|
}
|
|
@@ -1586,13 +1586,13 @@ function init_Table() {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
//#endregion
|
|
1588
1588
|
//#region src/components/components/typography/elements/UL.module.css
|
|
1589
|
-
var id$
|
|
1589
|
+
var id$43, UL_module_default;
|
|
1590
1590
|
function init_UL_module() {
|
|
1591
1591
|
return (init_UL_module = __esmMin((() => {
|
|
1592
|
-
id$
|
|
1593
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1592
|
+
id$43 = "core/src/components/components/typography/elements/UL.module.css";
|
|
1593
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$43}"]`)) {
|
|
1594
1594
|
const style = document.createElement("style");
|
|
1595
|
-
style.setAttribute("data-fb-css", id$
|
|
1595
|
+
style.setAttribute("data-fb-css", id$43);
|
|
1596
1596
|
style.textContent = ".fb--eI1EW-ul{padding-left:30px;list-style:outside;& :first-of-type{margin-top:0}& :last-child{margin-bottom:0}}";
|
|
1597
1597
|
document.head.appendChild(style);
|
|
1598
1598
|
}
|
|
@@ -1612,10 +1612,10 @@ function init_UL() {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
//#endregion
|
|
1614
1614
|
//#region src/components/components/typography/components.tsx
|
|
1615
|
-
var import_react$
|
|
1615
|
+
var import_react$61, components$1;
|
|
1616
1616
|
function init_components() {
|
|
1617
1617
|
return (init_components = __esmMin((() => {
|
|
1618
|
-
import_react$
|
|
1618
|
+
import_react$61 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1619
1619
|
init_DocumentFormatting();
|
|
1620
1620
|
init_ResetWrapper();
|
|
1621
1621
|
init_A();
|
|
@@ -1640,40 +1640,40 @@ function init_components() {
|
|
|
1640
1640
|
init_Table();
|
|
1641
1641
|
init_UL();
|
|
1642
1642
|
components$1 = {
|
|
1643
|
-
h1: (props) => /* @__PURE__ */ import_react$
|
|
1644
|
-
h2: (props) => /* @__PURE__ */ import_react$
|
|
1645
|
-
h3: (props) => /* @__PURE__ */ import_react$
|
|
1646
|
-
h4: (props) => /* @__PURE__ */ import_react$
|
|
1647
|
-
h5: (props) => /* @__PURE__ */ import_react$
|
|
1648
|
-
h6: (props) => /* @__PURE__ */ import_react$
|
|
1649
|
-
pre: (props) => /* @__PURE__ */ import_react$
|
|
1650
|
-
a: (props) => /* @__PURE__ */ import_react$
|
|
1651
|
-
hr: (props) => /* @__PURE__ */ import_react$
|
|
1652
|
-
dl: (props) => /* @__PURE__ */ import_react$
|
|
1653
|
-
blockquote: (props) => /* @__PURE__ */ import_react$
|
|
1654
|
-
table: (props) => /* @__PURE__ */ import_react$
|
|
1655
|
-
img: (props) => /* @__PURE__ */ import_react$
|
|
1656
|
-
div: (props) => /* @__PURE__ */ import_react$
|
|
1657
|
-
span: (props) => /* @__PURE__ */ import_react$
|
|
1658
|
-
li: (props) => /* @__PURE__ */ import_react$
|
|
1659
|
-
ul: (props) => /* @__PURE__ */ import_react$
|
|
1660
|
-
ol: (props) => /* @__PURE__ */ import_react$
|
|
1661
|
-
p: (props) => /* @__PURE__ */ import_react$
|
|
1662
|
-
code: (props) => /* @__PURE__ */ import_react$
|
|
1663
|
-
tt: (props) => /* @__PURE__ */ import_react$
|
|
1664
|
-
resetwrapper: (props) => /* @__PURE__ */ import_react$
|
|
1643
|
+
h1: (props) => /* @__PURE__ */ import_react$61.default.createElement(H1, nameSpaceClassNames(props, "h1")),
|
|
1644
|
+
h2: (props) => /* @__PURE__ */ import_react$61.default.createElement(H2, nameSpaceClassNames(props, "h2")),
|
|
1645
|
+
h3: (props) => /* @__PURE__ */ import_react$61.default.createElement(H3, nameSpaceClassNames(props, "h3")),
|
|
1646
|
+
h4: (props) => /* @__PURE__ */ import_react$61.default.createElement(H4, nameSpaceClassNames(props, "h4")),
|
|
1647
|
+
h5: (props) => /* @__PURE__ */ import_react$61.default.createElement(H5, nameSpaceClassNames(props, "h5")),
|
|
1648
|
+
h6: (props) => /* @__PURE__ */ import_react$61.default.createElement(H6, nameSpaceClassNames(props, "h6")),
|
|
1649
|
+
pre: (props) => /* @__PURE__ */ import_react$61.default.createElement(Pre, nameSpaceClassNames(props, "pre")),
|
|
1650
|
+
a: (props) => /* @__PURE__ */ import_react$61.default.createElement(A, nameSpaceClassNames(props, "a")),
|
|
1651
|
+
hr: (props) => /* @__PURE__ */ import_react$61.default.createElement(HR, nameSpaceClassNames(props, "hr")),
|
|
1652
|
+
dl: (props) => /* @__PURE__ */ import_react$61.default.createElement(DL, nameSpaceClassNames(props, "dl")),
|
|
1653
|
+
blockquote: (props) => /* @__PURE__ */ import_react$61.default.createElement(Blockquote, nameSpaceClassNames(props, "blockquote")),
|
|
1654
|
+
table: (props) => /* @__PURE__ */ import_react$61.default.createElement(Table, nameSpaceClassNames(props, "table")),
|
|
1655
|
+
img: (props) => /* @__PURE__ */ import_react$61.default.createElement(Img, nameSpaceClassNames(props, "img")),
|
|
1656
|
+
div: (props) => /* @__PURE__ */ import_react$61.default.createElement(Div, nameSpaceClassNames(props, "div")),
|
|
1657
|
+
span: (props) => /* @__PURE__ */ import_react$61.default.createElement(Span, nameSpaceClassNames(props, "span")),
|
|
1658
|
+
li: (props) => /* @__PURE__ */ import_react$61.default.createElement(LI, nameSpaceClassNames(props, "li")),
|
|
1659
|
+
ul: (props) => /* @__PURE__ */ import_react$61.default.createElement(UL, nameSpaceClassNames(props, "ul")),
|
|
1660
|
+
ol: (props) => /* @__PURE__ */ import_react$61.default.createElement(OL, nameSpaceClassNames(props, "ol")),
|
|
1661
|
+
p: (props) => /* @__PURE__ */ import_react$61.default.createElement(P, nameSpaceClassNames(props, "p")),
|
|
1662
|
+
code: (props) => /* @__PURE__ */ import_react$61.default.createElement(Code, nameSpaceClassNames(props, "code")),
|
|
1663
|
+
tt: (props) => /* @__PURE__ */ import_react$61.default.createElement(TT, nameSpaceClassNames(props, "tt")),
|
|
1664
|
+
resetwrapper: (props) => /* @__PURE__ */ import_react$61.default.createElement(ResetWrapper, nameSpaceClassNames(props, "resetwrapper"))
|
|
1665
1665
|
};
|
|
1666
1666
|
})))();
|
|
1667
1667
|
}
|
|
1668
1668
|
//#endregion
|
|
1669
1669
|
//#region src/components/components/Badge/Badge.module.css
|
|
1670
|
-
var id$
|
|
1670
|
+
var id$42, Badge_module_default;
|
|
1671
1671
|
function init_Badge_module() {
|
|
1672
1672
|
return (init_Badge_module = __esmMin((() => {
|
|
1673
|
-
id$
|
|
1674
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1673
|
+
id$42 = "core/src/components/components/Badge/Badge.module.css";
|
|
1674
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$42}"]`)) {
|
|
1675
1675
|
const style = document.createElement("style");
|
|
1676
|
-
style.setAttribute("data-fb-css", id$
|
|
1676
|
+
style.setAttribute("data-fb-css", id$42);
|
|
1677
1677
|
style.textContent = ".fb-oW5DBW-badge{font-size:var(--fb-size-s1);font-weight:var(--fb-weight-bold);border-radius:20px;justify-content:center;align-items:center;min-width:20px;padding:4px 10px;line-height:12px;display:inline-flex;& svg{width:12px;height:12px;margin-top:-2px;margin-right:4px;& path{fill:currentColor}}&[data-compact]{padding:4px 7px}&[data-status=critical]{color:var(--fb-fg-color-critical);background:var(--fb-bg-color-critical);box-shadow:inset 0 0 0 1px var(--fb-border-color-critical)}&[data-status=negative]{color:var(--fb-fg-color-negative);background:var(--fb-bg-color-negative);box-shadow:inset 0 0 0 1px var(--fb-border-color-negative)}&[data-status=warning]{color:var(--fb-fg-color-warning);background:var(--fb-bg-color-warning);box-shadow:inset 0 0 0 1px var(--fb-border-color-warning)}&[data-status=neutral]{color:var(--fb-fg-color-muted);background:var(--fb-background-app);box-shadow:inset 0 0 0 1px rgb(from var(--fb-text-muted-color) r g b / calc(alpha - .8))}&[data-status=positive]{color:var(--fb-fg-color-positive);background:var(--fb-bg-color-positive);box-shadow:inset 0 0 0 1px var(--fb-border-color-positive)}&[data-status=active]{color:hsl(from var(--fb-color-secondary) h s calc(l - 10));background:var(--fb-background-hoverable);box-shadow:inset 0 0 0 1px rgb(from var(--fb-color-secondary) r g b / calc(alpha - .9))}}:where([data-fb-theme=dark]) .fb-oW5DBW-badge{&[data-status=neutral]{background:var(--fb-bar-bg)}&[data-status=active]{color:var(--fb-color-secondary)}}";
|
|
1678
1678
|
document.head.appendChild(style);
|
|
1679
1679
|
}
|
|
@@ -1682,12 +1682,12 @@ function init_Badge_module() {
|
|
|
1682
1682
|
}
|
|
1683
1683
|
//#endregion
|
|
1684
1684
|
//#region src/components/components/Badge/Badge.tsx
|
|
1685
|
-
var import_react$
|
|
1685
|
+
var import_react$60, Badge;
|
|
1686
1686
|
function init_Badge() {
|
|
1687
1687
|
return (init_Badge = __esmMin((() => {
|
|
1688
|
-
import_react$
|
|
1688
|
+
import_react$60 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1689
1689
|
init_Badge_module();
|
|
1690
|
-
Badge = ({ compact, status, children }) => /* @__PURE__ */ import_react$
|
|
1690
|
+
Badge = ({ compact, status, children }) => /* @__PURE__ */ import_react$60.default.createElement("div", {
|
|
1691
1691
|
className: Badge_module_default.badge,
|
|
1692
1692
|
"data-compact": compact || void 0,
|
|
1693
1693
|
"data-status": status
|
|
@@ -1696,13 +1696,13 @@ function init_Badge() {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
//#endregion
|
|
1698
1698
|
//#region src/components/components/typography/link/link.module.css
|
|
1699
|
-
var id$
|
|
1699
|
+
var id$41, link_module_default;
|
|
1700
1700
|
function init_link_module() {
|
|
1701
1701
|
return (init_link_module = __esmMin((() => {
|
|
1702
|
-
id$
|
|
1703
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1702
|
+
id$41 = "core/src/components/components/typography/link/link.module.css";
|
|
1703
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$41}"]`)) {
|
|
1704
1704
|
const style = document.createElement("style");
|
|
1705
|
-
style.setAttribute("data-fb-css", id$
|
|
1705
|
+
style.setAttribute("data-fb-css", id$41);
|
|
1706
1706
|
style.textContent = ".fb-ptwF_G-link{color:var(--fb-color-secondary);text-decoration:none;transition:all .15s ease-out;display:inline-block;&:hover,&:focus{cursor:pointer;color:hsl(from var(--fb-color-secondary) h s calc(l - 7));& svg path:not([fill]){fill:hsl(from var(--fb-color-secondary) h s calc(l - 7))}}&:active{color:hsl(from var(--fb-color-secondary) h s calc(l - 10));& svg path:not([fill]){fill:hsl(from var(--fb-color-secondary) h s calc(l - 10))}}&:focus-visible{outline:2px solid var(--fb-color-secondary);outline-offset:2px;border-radius:var(--fb-input-border-radius);z-index:1}& svg{vertical-align:text-top;width:1em;height:1em;margin-right:.4em;display:inline-block;position:relative;bottom:-.125em;& path{fill:var(--fb-color-secondary)}}}.fb-ptwF_G-link:where([data-secondary],[data-tertiary]){--link-color:var(--fb-text-muted-color);color:var(--link-color);& svg path:not([fill]){fill:var(--link-color)}&:hover,&:active{color:var(--fb-color-secondary);& svg path:not([fill]){fill:var(--fb-color-secondary)}}}.fb-ptwF_G-link:where([data-tertiary]){--link-color:var(--fb-color-dark)}.fb-ptwF_G-link:where([data-nochrome]){color:inherit;&:hover,&:active{color:inherit;text-decoration:underline}}.fb-ptwF_G-link:where([data-inverse]){color:var(--fb-color-lightest);&:not([fill]){fill:var(--fb-color-lightest)}&:hover{color:var(--fb-color-lighter);& svg path:not([fill]){fill:var(--fb-color-lighter)}}&:active{color:var(--fb-color-light);& svg path:not([fill]){fill:var(--fb-color-light)}}}.fb-ptwF_G-link:where([data-button]){border-radius:var(--fb-input-border-radius);font-size:inherit;line-height:inherit;background:0 0;border:0;padding:0}.fb-ptwF_G-inner:where([data-with-arrow])>svg:last-of-type{width:.7em;height:.7em;vertical-align:inherit;margin-left:.25em;margin-right:0;bottom:auto}.fb-ptwF_G-inner:where([data-contains-icon]) svg{vertical-align:middle;width:1em;height:1em;margin-right:0;position:relative;bottom:0}";
|
|
1707
1707
|
document.head.appendChild(style);
|
|
1708
1708
|
}
|
|
@@ -1714,12 +1714,12 @@ function init_link_module() {
|
|
|
1714
1714
|
}
|
|
1715
1715
|
//#endregion
|
|
1716
1716
|
//#region src/components/components/typography/link/link.tsx
|
|
1717
|
-
var import_react$
|
|
1717
|
+
var import_react$59, LEFT_BUTTON, isPlainLeftClick, cancelled, Link;
|
|
1718
1718
|
function init_link() {
|
|
1719
1719
|
return (init_link = __esmMin((() => {
|
|
1720
|
-
import_react$
|
|
1720
|
+
import_react$59 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1721
1721
|
init_client_logger();
|
|
1722
|
-
|
|
1722
|
+
init_chevron_right();
|
|
1723
1723
|
init_clsx();
|
|
1724
1724
|
init_link_module();
|
|
1725
1725
|
LEFT_BUTTON = 0;
|
|
@@ -1730,10 +1730,10 @@ function init_link() {
|
|
|
1730
1730
|
cb(e);
|
|
1731
1731
|
}
|
|
1732
1732
|
};
|
|
1733
|
-
Link = (0, import_react$
|
|
1733
|
+
Link = (0, import_react$59.forwardRef)(({ cancel = true, children, onClick = void 0, withArrow = false, containsIcon = false, className = void 0, isButton = void 0, secondary, tertiary, nochrome, inverse, href, ...rest }, ref) => {
|
|
1734
1734
|
if (isButton !== void 0) deprecate("Link: `isButton` is deprecated and will be removed in Forkbook 11. Links without a `href` are automatically rendered as buttons.");
|
|
1735
1735
|
const Comp = href ? "a" : "button";
|
|
1736
|
-
return /* @__PURE__ */ import_react$
|
|
1736
|
+
return /* @__PURE__ */ import_react$59.default.createElement(Comp, {
|
|
1737
1737
|
href,
|
|
1738
1738
|
...rest,
|
|
1739
1739
|
ref,
|
|
@@ -1744,24 +1744,24 @@ function init_link() {
|
|
|
1744
1744
|
"data-button": !href || isButton === true || void 0,
|
|
1745
1745
|
onClick: onClick && cancel ? (e) => cancelled(e, onClick) : onClick,
|
|
1746
1746
|
className: clsx(link_module_default.link, className)
|
|
1747
|
-
}, /* @__PURE__ */ import_react$
|
|
1747
|
+
}, /* @__PURE__ */ import_react$59.default.createElement("span", {
|
|
1748
1748
|
className: link_module_default.inner,
|
|
1749
1749
|
"data-with-arrow": withArrow || void 0,
|
|
1750
1750
|
"data-contains-icon": containsIcon || void 0
|
|
1751
|
-
}, children, withArrow && /* @__PURE__ */ import_react$
|
|
1751
|
+
}, children, withArrow && /* @__PURE__ */ import_react$59.default.createElement(ChevronRight, null)));
|
|
1752
1752
|
});
|
|
1753
1753
|
Link.displayName = "Link";
|
|
1754
1754
|
})))();
|
|
1755
1755
|
}
|
|
1756
1756
|
//#endregion
|
|
1757
1757
|
//#region src/components/components/typography/DocumentWrapper.module.css
|
|
1758
|
-
var id$
|
|
1758
|
+
var id$40, DocumentWrapper_module_default;
|
|
1759
1759
|
function init_DocumentWrapper_module() {
|
|
1760
1760
|
return (init_DocumentWrapper_module = __esmMin((() => {
|
|
1761
|
-
id$
|
|
1762
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1761
|
+
id$40 = "core/src/components/components/typography/DocumentWrapper.module.css";
|
|
1762
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$40}"]`)) {
|
|
1763
1763
|
const style = document.createElement("style");
|
|
1764
|
-
style.setAttribute("data-fb-css", id$
|
|
1764
|
+
style.setAttribute("data-fb-css", id$40);
|
|
1765
1765
|
style.textContent = ".fb--ChY0G-documentWrapper{font-size:var(--fb-size-s2);line-height:1.6;& h1{font-size:var(--fb-size-l1);font-weight:var(--fb-weight-bold)}& h2{font-size:var(--fb-size-m2);border-bottom:1px solid var(--fb-app-border-color)}& h3{font-size:var(--fb-size-m1)}& h4{font-size:var(--fb-size-s3)}& h5{font-size:var(--fb-size-s2)}& h6{font-size:var(--fb-size-s2);color:var(--fb-color-dark)}& pre:not(.prismjs){background:0 0;border:none;border-radius:0;margin:0;padding:0}& pre pre,& pre.prismjs{white-space:pre-wrap;color:inherit;margin:0;padding:15px;font-size:13px;line-height:19px}& pre pre code,& pre.prismjs code{color:inherit;font-size:inherit}& pre code{white-space:pre;background:0 0;border:none;margin:0;padding:0}& pre code,& pre tt{background-color:#0000;border:none}& body>:first-of-type{margin-top:0!important}& body>:last-child{margin-bottom:0!important}& a{color:var(--fb-color-secondary);text-underline-offset:.11em;text-decoration:underline .03125rem;& code{color:inherit;padding-left:0;padding-right:0;text-decoration:underline .03125rem;&:before,&:after{content:\"\xA0\";font-size:.5em}}}& a.absent{color:#c00}& a.anchor{cursor:pointer;margin-left:-30px;padding-left:30px;text-decoration:none;display:block;position:absolute;top:0;bottom:0;left:0}&.anchor:hover,&.anchor:focus{text-decoration:underline}& h1,& h2,& h3,& h4,& h5,& h6{cursor:text;margin:20px 0 10px;padding:0;position:relative;&:first-of-type{margin-top:0;padding-top:0}&:hover a.anchor{text-decoration:none}& tt,& code{font-size:inherit}}& h1:first-of-type+h2{margin-top:0;padding-top:0}& p,& blockquote,& ul,& ol,& dl,& li,& table,& pre{margin:15px 0}& hr{border:0;border-top:1px solid var(--fb-app-border-color);height:4px;padding:0}& body>h1:first-of-type,& body>h2:first-of-type,& body>h3:first-of-type,& body>h4:first-of-type,& body>h5:first-of-type,& body>h6:first-of-type,& body>h1:first-of-type+h2,& a:first-of-type h1,& a:first-of-type h2,& a:first-of-type h3,& a:first-of-type h4,& a:first-of-type h5,& a:first-of-type h6{margin-top:0;padding-top:0}& h1 p,& h2 p,& h3 p,& h4 p,& h5 p,& h6 p{margin-top:0}& li p.first{display:inline-block}& ul,& ol{padding-left:30px;& :first-of-type{margin-top:0}& :last-child{margin-bottom:0}}& dl{padding:0}& dl dt{margin:0 0 15px;padding:0 15px;font-size:14px;font-style:italic;font-weight:700;&:first-of-type{padding:0}&>:first-of-type{margin-top:0}&>:last-child{margin-bottom:0}}& blockquote{border-left:4px solid var(--fb-color-medium);color:var(--fb-color-dark);padding:0 15px;&>:first-of-type{margin-top:0}&>:last-child{margin-bottom:0}}& table{border-collapse:collapse;padding:0;& tr{border-top:1px solid var(--fb-app-border-color);background-color:#fff;margin:0;padding:0;& th{border:1px solid var(--fb-app-border-color);text-align:left;margin:0;padding:6px 13px;font-weight:700}& td{border:1px solid var(--fb-app-border-color);text-align:left;margin:0;padding:6px 13px}&:nth-of-type(2n){background-color:var(--fb-color-lighter)}& th :first-of-type,& td :first-of-type{margin-top:0}& th :last-child,& td :last-child{margin-bottom:0}}}& img{max-width:100%}& span.frame{display:block;overflow:hidden;&>span{border:1px solid var(--fb-color-medium);float:left;width:auto;margin:13px 0 0;padding:7px;display:block;overflow:hidden}& span img{float:left;display:block}& span span{clear:both;color:var(--fb-color-darkest);padding:5px 0 0;display:block}}& span.align-center{clear:both;display:block;overflow:hidden;&>span{text-align:center;margin:13px auto 0;display:block;overflow:hidden}& span img{text-align:center;margin:0 auto}}& span.align-right{clear:both;display:block;overflow:hidden;&>span{text-align:right;margin:13px 0 0;display:block;overflow:hidden}& span img{text-align:right;margin:0}}& span.float-left{float:left;margin-right:13px;display:block;overflow:hidden;& span{margin:13px 0 0}}& span.float-right{float:right;margin-left:13px;display:block;overflow:hidden;&>span{text-align:right;margin:13px auto 0;display:block;overflow:hidden}}& code,& tt{white-space:nowrap;border:1px solid var(--fb-color-mediumlight);background-color:var(--fb-color-lighter);color:var(--fb-color-dark);border-radius:3px;margin:0 2px;padding:0 5px}}:where([data-fb-theme=dark]) .fb--ChY0G-documentWrapper{& code,& tt{color:var(--fb-color-darkest)}}";
|
|
1766
1766
|
document.head.appendChild(style);
|
|
1767
1767
|
}
|
|
@@ -1823,13 +1823,13 @@ function init_mock_channel() {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
//#endregion
|
|
1825
1825
|
//#region src/components/components/tooltip/TooltipNote.module.css
|
|
1826
|
-
var id$
|
|
1826
|
+
var id$39, TooltipNote_module_default;
|
|
1827
1827
|
function init_TooltipNote_module() {
|
|
1828
1828
|
return (init_TooltipNote_module = __esmMin((() => {
|
|
1829
|
-
id$
|
|
1830
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1829
|
+
id$39 = "core/src/components/components/tooltip/TooltipNote.module.css";
|
|
1830
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$39}"]`)) {
|
|
1831
1831
|
const style = document.createElement("style");
|
|
1832
|
-
style.setAttribute("data-fb-css", id$
|
|
1832
|
+
style.setAttribute("data-fb-css", id$39);
|
|
1833
1833
|
style.textContent = ".fb-owKRYa-note{font-size:10px;line-height:16px;font-family:var(--fb-font-base);font-weight:var(--fb-weight-bold);color:var(--fb-color-lightest);pointer-events:none;z-index:-1;background:#3c3c3ce6;border-radius:4px;gap:6px;padding:4px 6px;display:flex;box-shadow:0 0 5px #0000004d;& code{background:#ffffff1a;border-radius:2px;padding:0 3px}}:where([data-fb-theme=dark]) .fb-owKRYa-note{background:#000000f2}";
|
|
1834
1834
|
document.head.appendChild(style);
|
|
1835
1835
|
}
|
|
@@ -1838,27 +1838,27 @@ function init_TooltipNote_module() {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
//#endregion
|
|
1840
1840
|
//#region src/components/components/tooltip/TooltipNote.tsx
|
|
1841
|
-
var import_react$
|
|
1841
|
+
var import_react$58, DEFAULT_MAX_WIDTH, TooltipNote;
|
|
1842
1842
|
function init_TooltipNote() {
|
|
1843
1843
|
return (init_TooltipNote = __esmMin((() => {
|
|
1844
|
-
import_react$
|
|
1844
|
+
import_react$58 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1845
1845
|
init_TooltipNote_module();
|
|
1846
1846
|
DEFAULT_MAX_WIDTH = 260;
|
|
1847
1847
|
TooltipNote = ({ note, maxWidth = DEFAULT_MAX_WIDTH, shortcut, ...props }) => {
|
|
1848
|
-
return /* @__PURE__ */ import_react$
|
|
1848
|
+
return /* @__PURE__ */ import_react$58.default.createElement("div", {
|
|
1849
1849
|
className: TooltipNote_module_default.note,
|
|
1850
1850
|
style: { maxWidth },
|
|
1851
1851
|
...props
|
|
1852
|
-
}, note && /* @__PURE__ */ import_react$
|
|
1852
|
+
}, note && /* @__PURE__ */ import_react$58.default.createElement("span", null, note), shortcut && /* @__PURE__ */ import_react$58.default.createElement("code", null, shortcut));
|
|
1853
1853
|
};
|
|
1854
1854
|
})))();
|
|
1855
1855
|
}
|
|
1856
1856
|
//#endregion
|
|
1857
1857
|
//#region src/components/components/shared/overlayHelpers.tsx
|
|
1858
|
-
var import_react$
|
|
1858
|
+
var import_react$57, convertToBaseUiPlacement, PortalContainerContext, Trigger;
|
|
1859
1859
|
function init_overlayHelpers() {
|
|
1860
1860
|
return (init_overlayHelpers = __esmMin((() => {
|
|
1861
|
-
import_react$
|
|
1861
|
+
import_react$57 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1862
1862
|
convertToBaseUiPlacement = (placement) => {
|
|
1863
1863
|
const [side, align = "center"] = placement.split("-");
|
|
1864
1864
|
return {
|
|
@@ -1866,8 +1866,8 @@ function init_overlayHelpers() {
|
|
|
1866
1866
|
align
|
|
1867
1867
|
};
|
|
1868
1868
|
};
|
|
1869
|
-
PortalContainerContext = (0, import_react$
|
|
1870
|
-
Trigger = (0, import_react$
|
|
1869
|
+
PortalContainerContext = (0, import_react$57.createContext)(void 0);
|
|
1870
|
+
Trigger = (0, import_react$57.forwardRef)((props, ref) => /* @__PURE__ */ import_react$57.default.createElement("button", {
|
|
1871
1871
|
...props,
|
|
1872
1872
|
ref,
|
|
1873
1873
|
style: {
|
|
@@ -1881,50 +1881,50 @@ function init_overlayHelpers() {
|
|
|
1881
1881
|
}
|
|
1882
1882
|
//#endregion
|
|
1883
1883
|
//#region src/components/components/shared/PortalTheme.tsx
|
|
1884
|
-
var import_react$
|
|
1884
|
+
var import_react$56, PortalTheme;
|
|
1885
1885
|
function init_PortalTheme() {
|
|
1886
1886
|
return (init_PortalTheme = __esmMin((() => {
|
|
1887
|
-
import_react$
|
|
1887
|
+
import_react$56 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1888
1888
|
init_theming();
|
|
1889
|
-
PortalTheme = ({ children }) => /* @__PURE__ */ import_react$
|
|
1889
|
+
PortalTheme = ({ children }) => /* @__PURE__ */ import_react$56.default.createElement(ThemeProvider, { theme: useTheme() }, children);
|
|
1890
1890
|
})))();
|
|
1891
1891
|
}
|
|
1892
1892
|
//#endregion
|
|
1893
1893
|
//#region src/components/components/tooltip/TooltipProvider.tsx
|
|
1894
|
-
var import_react$
|
|
1894
|
+
var import_react$55, TooltipProvider;
|
|
1895
1895
|
function init_TooltipProvider() {
|
|
1896
1896
|
return (init_TooltipProvider = __esmMin((() => {
|
|
1897
|
-
import_react$
|
|
1897
|
+
import_react$55 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1898
1898
|
init_client_logger();
|
|
1899
1899
|
init_TooltipRoot(), init_TooltipTrigger(), init_TooltipPortal(), init_TooltipPositioner(), init_TooltipPopup();
|
|
1900
1900
|
init_overlayHelpers();
|
|
1901
1901
|
init_PortalTheme();
|
|
1902
|
-
TooltipProvider = ({ triggerOnFocusOnly = false, placement = "top", offset = 8, tooltip, children, defaultVisible, startOpen, delayShow =
|
|
1903
|
-
const portalContainer = (0, import_react$
|
|
1904
|
-
const child = import_react$
|
|
1905
|
-
const generatedId = (0, import_react$
|
|
1902
|
+
TooltipProvider = ({ triggerOnFocusOnly = false, placement = "top", offset = 8, tooltip, children, defaultVisible, startOpen, delayShow = 0, delayHide = 200, visible, onVisibleChange }) => {
|
|
1903
|
+
const portalContainer = (0, import_react$55.useContext)(PortalContainerContext);
|
|
1904
|
+
const child = import_react$55.Children.only(children);
|
|
1905
|
+
const generatedId = (0, import_react$55.useId)();
|
|
1906
1906
|
const triggerId = child.props.id ?? generatedId;
|
|
1907
1907
|
if (startOpen !== void 0) deprecate("The `startOpen` prop is deprecated. Please use `defaultVisible` instead.");
|
|
1908
|
-
const [isOpen, setIsOpen] = (0, import_react$
|
|
1908
|
+
const [isOpen, setIsOpen] = (0, import_react$55.useState)(defaultVisible ?? startOpen ?? false);
|
|
1909
1909
|
const onOpenChange = (open, { reason }) => {
|
|
1910
1910
|
if (open && triggerOnFocusOnly && reason === "trigger-hover") return;
|
|
1911
1911
|
setIsOpen(open);
|
|
1912
1912
|
onVisibleChange?.(open);
|
|
1913
1913
|
};
|
|
1914
|
-
return /* @__PURE__ */ import_react$
|
|
1914
|
+
return /* @__PURE__ */ import_react$55.default.createElement(TooltipRoot, {
|
|
1915
1915
|
open: visible ?? isOpen,
|
|
1916
1916
|
onOpenChange,
|
|
1917
1917
|
triggerId
|
|
1918
|
-
}, /* @__PURE__ */ import_react$
|
|
1918
|
+
}, /* @__PURE__ */ import_react$55.default.createElement(TooltipTrigger, {
|
|
1919
1919
|
id: triggerId,
|
|
1920
1920
|
delay: delayShow,
|
|
1921
1921
|
closeDelay: delayHide,
|
|
1922
1922
|
render: child
|
|
1923
|
-
}), /* @__PURE__ */ import_react$
|
|
1923
|
+
}), /* @__PURE__ */ import_react$55.default.createElement(TooltipPortal, { container: portalContainer }, /* @__PURE__ */ import_react$55.default.createElement(PortalTheme, null, /* @__PURE__ */ import_react$55.default.createElement(TooltipPositioner, {
|
|
1924
1924
|
...convertToBaseUiPlacement(placement),
|
|
1925
1925
|
sideOffset: offset,
|
|
1926
1926
|
style: { zIndex: 1e5 }
|
|
1927
|
-
}, /* @__PURE__ */ import_react$
|
|
1927
|
+
}, /* @__PURE__ */ import_react$55.default.createElement(TooltipPopup, {
|
|
1928
1928
|
role: "tooltip",
|
|
1929
1929
|
"data-testid": "tooltip",
|
|
1930
1930
|
style: { outline: "none" }
|
|
@@ -1934,27 +1934,27 @@ function init_TooltipProvider() {
|
|
|
1934
1934
|
}
|
|
1935
1935
|
//#endregion
|
|
1936
1936
|
//#region src/components/components/Button/helpers/InteractiveTooltipWrapper.tsx
|
|
1937
|
-
var import_react$
|
|
1937
|
+
var import_react$54, InteractiveTooltipWrapper;
|
|
1938
1938
|
function init_InteractiveTooltipWrapper() {
|
|
1939
1939
|
return (init_InteractiveTooltipWrapper = __esmMin((() => {
|
|
1940
|
-
import_react$
|
|
1940
|
+
import_react$54 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1941
1941
|
init_manager_api();
|
|
1942
1942
|
init_TooltipNote();
|
|
1943
1943
|
init_TooltipProvider();
|
|
1944
1944
|
InteractiveTooltipWrapper = ({ children, disableAllTooltips, shortcut, tooltip, tooltipPlacement = "top" }) => {
|
|
1945
|
-
const shortcutLabel = (0, import_react$
|
|
1945
|
+
const shortcutLabel = (0, import_react$54.useMemo)(() => {
|
|
1946
1946
|
if (!shortcut) return;
|
|
1947
1947
|
if (!(document?.body?.getAttribute("data-shortcuts-enabled") !== "false")) return;
|
|
1948
1948
|
return shortcutToHumanString(shortcut);
|
|
1949
1949
|
}, [shortcut]);
|
|
1950
|
-
return tooltip || shortcutLabel ? /* @__PURE__ */ import_react$
|
|
1950
|
+
return tooltip || shortcutLabel ? /* @__PURE__ */ import_react$54.default.createElement(TooltipProvider, {
|
|
1951
1951
|
placement: tooltipPlacement,
|
|
1952
|
-
tooltip: /* @__PURE__ */ import_react$
|
|
1952
|
+
tooltip: /* @__PURE__ */ import_react$54.default.createElement(TooltipNote, {
|
|
1953
1953
|
note: tooltip,
|
|
1954
1954
|
shortcut: shortcutLabel
|
|
1955
1955
|
}),
|
|
1956
1956
|
visible: !disableAllTooltips ? void 0 : false
|
|
1957
|
-
}, children) : /* @__PURE__ */ import_react$
|
|
1957
|
+
}, children) : /* @__PURE__ */ import_react$54.default.createElement(import_react$54.default.Fragment, null, children);
|
|
1958
1958
|
};
|
|
1959
1959
|
InteractiveTooltipWrapper.displayName = "InteractiveTooltipWrapper";
|
|
1960
1960
|
})))();
|
|
@@ -1972,44 +1972,44 @@ function useAriaDescription(description = "") {
|
|
|
1972
1972
|
const describedbyId = description.toLowerCase().trim().replace(/\s+/g, "-");
|
|
1973
1973
|
return {
|
|
1974
1974
|
ariaDescriptionAttrs: { "aria-describedby": description ? describedbyId : void 0 },
|
|
1975
|
-
AriaDescription: () => description ? /* @__PURE__ */ import_react$
|
|
1975
|
+
AriaDescription: () => description ? /* @__PURE__ */ import_react$53.default.createElement("span", {
|
|
1976
1976
|
id: describedbyId,
|
|
1977
1977
|
hidden: true
|
|
1978
1978
|
}, description) : null
|
|
1979
1979
|
};
|
|
1980
1980
|
}
|
|
1981
|
-
var import_react$
|
|
1981
|
+
var import_react$53;
|
|
1982
1982
|
function init_useAriaDescription() {
|
|
1983
1983
|
return (init_useAriaDescription = __esmMin((() => {
|
|
1984
|
-
import_react$
|
|
1984
|
+
import_react$53 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
1985
1985
|
})))();
|
|
1986
1986
|
}
|
|
1987
1987
|
//#endregion
|
|
1988
1988
|
//#region src/components/components/Button/Button.module.css
|
|
1989
|
-
var id$
|
|
1989
|
+
var id$38, Button_module_default$1;
|
|
1990
1990
|
function init_Button_module() {
|
|
1991
1991
|
return (init_Button_module = __esmMin((() => {
|
|
1992
|
-
id$
|
|
1993
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
1992
|
+
id$38 = "core/src/components/components/Button/Button.module.css";
|
|
1993
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$38}"]`)) {
|
|
1994
1994
|
const style = document.createElement("style");
|
|
1995
|
-
style.setAttribute("data-fb-css", id$
|
|
1995
|
+
style.setAttribute("data-fb-css", id$38);
|
|
1996
1996
|
style.textContent = ".fb-5dSTsW-button{--fg:var(--fb-color-secondary);--bg:var(--fb-button-background);--outline:var(--fb-button-border);cursor:pointer;text-align:center;vertical-align:top;white-space:nowrap;user-select:none;height:28px;font-size:var(--fb-size-s1);font-weight:var(--fb-weight-bold);color:var(--fb-input-color);box-shadow:none;border-radius:var(--fb-input-border-radius);background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;gap:6px;margin:0;padding:0 10px;line-height:1;text-decoration:none;transition-property:background,box-shadow;transition-duration:.15s;transition-timing-function:ease-out;display:inline-flex;position:relative;overflow:hidden;&>svg{flex:none}}.fb-5dSTsW-button:where([data-appearance=agentic]){--fg:var(--fb-fg-color-agentic);--bg:var(--fb-bg-color-agentic);--outline:var(--fb-border-color-agentic)}.fb-5dSTsW-button:where([data-size=medium]){height:32px;padding:0 12px}.fb-5dSTsW-button:where([data-padding=small]){padding:0 7px}.fb-5dSTsW-button:where([data-padding=small][data-size=medium]){padding:0 9px}.fb-5dSTsW-button:where([data-padding=none]){padding:0}.fb-5dSTsW-button:where([data-disabled]){cursor:not-allowed;opacity:.5}.fb-5dSTsW-button:where([data-readonly]){cursor:inherit;opacity:1}.fb-5dSTsW-button:where([data-variant=solid]){background:var(--fg);color:var(--fb-color-lightest)}.fb-5dSTsW-button:where([data-variant=outline]){background:var(--bg);color:var(--fb-input-color);box-shadow:var(--outline) 0 0 0 1px inset}.fb-5dSTsW-button:where([data-variant=outline][data-appearance=agentic]){color:var(--fb-fg-color-agentic)}.fb-5dSTsW-button:where([data-variant=ghost]){color:var(--fb-text-muted-color)}.fb-5dSTsW-button:where([data-variant=ghost][data-active]){background:rgb(from var(--fb-bar-selected-color) r g b / calc(alpha - .93));color:hsl(from var(--fg) h s calc(l - 10))}.fb-5dSTsW-button:where([data-variant=ghost][data-active][data-appearance=agentic]){background:rgb(from var(--fb-bg-color-agentic) r g b / calc(alpha - .93))}.fb-5dSTsW-button:where(:not([data-readonly])){&:hover{background:hsl(from var(--fg) h s calc(l - 2))}&:where([data-variant=solid]):hover{background:hsl(from var(--fg) h s calc(l + 8))}&:where([data-variant=outline]):hover{background:hsl(from var(--bg) h s calc(l - 2))}&:where([data-variant=ghost]):hover{color:var(--fg);background:rgb(from var(--fg) r g b / calc(alpha - .86))}&:active{background:hsl(from var(--fg) h s calc(l - 2))}&:where([data-variant=outline]):active{background:hsl(from var(--bg) h s calc(l - 2))}&:where([data-variant=ghost]):active{color:var(--fg);background:var(--fb-background-hoverable)}&:where([data-variant=ghost][data-appearance=agentic]):active{background:var(--fb-bg-color-agentic)}&:focus-visible{outline:2px solid var(--fg);outline-offset:2px;z-index:1}&:where(.fb-bar *,.fb-list *):focus-visible{outline-offset:0}}:where([data-fb-theme=dark]) .fb-5dSTsW-button{&:where([data-variant=solid]){background:hsl(from var(--fg) h s calc(l - 18))}&:where([data-variant=ghost][data-active]){color:var(--fg)}&:where(:not([data-readonly])){&:hover{background:hsl(from var(--fg) h s calc(l + 3))}&:where([data-variant=solid]):hover{background:hsl(from var(--fg) h s calc(l - 27))}&:where([data-variant=outline]):hover{background:hsl(from var(--bg) h s calc(l + 3))}&:where([data-variant=ghost]):hover{background:rgb(from var(--fg) r g b / calc(alpha - .86))}&:active{background:hsl(from var(--fg) h s calc(l + 3))}&:where([data-variant=outline]):active{background:hsl(from var(--bg) h s calc(l + 3))}&:where([data-variant=ghost]):active{background:var(--fb-background-hoverable)}&:where([data-variant=ghost][data-appearance=agentic]):active{background:var(--fb-bg-color-agentic)}}}.fb-5dSTsW-button[data-animating=rotate360]>svg{animation:1s ease-out fb-5dSTsW-rotate360}.fb-5dSTsW-button[data-animating=glow]>svg{animation:1s ease-out fb-5dSTsW-glow}.fb-5dSTsW-button[data-animating=jiggle]>svg{animation:1s ease-out fb-5dSTsW-jiggle}@keyframes fb-5dSTsW-rotate360{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fb-5dSTsW-glow{0%,to{opacity:1}50%{opacity:.4}}@keyframes fb-5dSTsW-jiggle{0%,to{transform:translate(0,0)}12.5%,62.5%{transform:translate(-4px)}37.5%,87.5%{transform:translate(4px)}}";
|
|
1997
1997
|
document.head.appendChild(style);
|
|
1998
1998
|
}
|
|
1999
1999
|
Button_module_default$1 = {
|
|
2000
|
-
"
|
|
2001
|
-
"glow": "fb-5dSTsW-glow",
|
|
2000
|
+
"jiggle": "fb-5dSTsW-jiggle",
|
|
2002
2001
|
"button": "fb-5dSTsW-button",
|
|
2003
|
-
"
|
|
2002
|
+
"glow": "fb-5dSTsW-glow",
|
|
2003
|
+
"rotate360": "fb-5dSTsW-rotate360"
|
|
2004
2004
|
};
|
|
2005
2005
|
})))();
|
|
2006
2006
|
}
|
|
2007
2007
|
//#endregion
|
|
2008
2008
|
//#region src/components/components/Button/Button.tsx
|
|
2009
|
-
var import_react$
|
|
2009
|
+
var import_react$52, Slot, Button, IconButton;
|
|
2010
2010
|
function init_Button() {
|
|
2011
2011
|
return (init_Button = __esmMin((() => {
|
|
2012
|
-
import_react$
|
|
2012
|
+
import_react$52 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2013
2013
|
init_client_logger();
|
|
2014
2014
|
init_useRender();
|
|
2015
2015
|
init_clsx();
|
|
@@ -2017,13 +2017,13 @@ function init_Button() {
|
|
|
2017
2017
|
init_InteractiveTooltipWrapper();
|
|
2018
2018
|
init_useAriaDescription();
|
|
2019
2019
|
init_Button_module();
|
|
2020
|
-
Slot = (0, import_react$
|
|
2020
|
+
Slot = (0, import_react$52.forwardRef)(({ children, ...props }, ref) => useRender({
|
|
2021
2021
|
render: children,
|
|
2022
2022
|
props,
|
|
2023
2023
|
ref
|
|
2024
2024
|
}));
|
|
2025
2025
|
Slot.displayName = "Slot";
|
|
2026
|
-
Button = (0, import_react$
|
|
2026
|
+
Button = (0, import_react$52.forwardRef)(({ as = "button", asChild = false, animation = "none", size = "small", appearance = "default", variant = "outline", padding = "medium", disabled = false, readOnly = false, active, onClick, ariaLabel, ariaDescription = void 0, tooltip = void 0, tooltipPlacement = "top", shortcut = void 0, disableAllTooltips = false, className, ...props }, ref) => {
|
|
2027
2027
|
const Comp = asChild ? Slot : as;
|
|
2028
2028
|
let deprecated = void 0;
|
|
2029
2029
|
if (!readOnly && (ariaLabel === void 0 || ariaLabel === "")) {
|
|
@@ -2035,27 +2035,27 @@ function init_Button() {
|
|
|
2035
2035
|
deprecate("The `active` prop on `Button` is deprecated and will be removed in Forkbook 11. Use specialized components like `ToggleButton` or `Select` instead.");
|
|
2036
2036
|
}
|
|
2037
2037
|
const { ariaDescriptionAttrs, AriaDescription } = useAriaDescription(ariaDescription);
|
|
2038
|
-
const shortcutAttribute = (0, import_react$
|
|
2038
|
+
const shortcutAttribute = (0, import_react$52.useMemo)(() => {
|
|
2039
2039
|
return shortcut ? shortcutToAriaKeyshortcuts(shortcut) : void 0;
|
|
2040
2040
|
}, [shortcut]);
|
|
2041
|
-
const [isAnimating, setIsAnimating] = (0, import_react$
|
|
2041
|
+
const [isAnimating, setIsAnimating] = (0, import_react$52.useState)(false);
|
|
2042
2042
|
const handleClick = (event) => {
|
|
2043
2043
|
if (onClick) onClick(event);
|
|
2044
2044
|
if (animation === "none") return;
|
|
2045
2045
|
setIsAnimating(true);
|
|
2046
2046
|
};
|
|
2047
|
-
(0, import_react$
|
|
2047
|
+
(0, import_react$52.useEffect)(() => {
|
|
2048
2048
|
if (!isAnimating) return;
|
|
2049
2049
|
const timer = setTimeout(() => setIsAnimating(false), 1e3);
|
|
2050
2050
|
return () => clearTimeout(timer);
|
|
2051
2051
|
}, [isAnimating]);
|
|
2052
2052
|
const finalTooltip = tooltip || (ariaLabel !== false ? ariaLabel : void 0);
|
|
2053
|
-
return /* @__PURE__ */ import_react$
|
|
2053
|
+
return /* @__PURE__ */ import_react$52.default.createElement(import_react$52.default.Fragment, null, /* @__PURE__ */ import_react$52.default.createElement(InteractiveTooltipWrapper, {
|
|
2054
2054
|
disableAllTooltips,
|
|
2055
2055
|
shortcut,
|
|
2056
2056
|
tooltip: finalTooltip,
|
|
2057
2057
|
tooltipPlacement
|
|
2058
|
-
}, /* @__PURE__ */ import_react$
|
|
2058
|
+
}, /* @__PURE__ */ import_react$52.default.createElement(Comp, {
|
|
2059
2059
|
"data-deprecated": deprecated,
|
|
2060
2060
|
ref,
|
|
2061
2061
|
className: clsx(Button_module_default$1.button, className),
|
|
@@ -2073,12 +2073,12 @@ function init_Button() {
|
|
|
2073
2073
|
"aria-keyshortcuts": readOnly ? void 0 : shortcutAttribute,
|
|
2074
2074
|
...readOnly ? {} : ariaDescriptionAttrs,
|
|
2075
2075
|
...props
|
|
2076
|
-
})), /* @__PURE__ */ import_react$
|
|
2076
|
+
})), /* @__PURE__ */ import_react$52.default.createElement(AriaDescription, null));
|
|
2077
2077
|
});
|
|
2078
2078
|
Button.displayName = "Button";
|
|
2079
|
-
IconButton = (0, import_react$
|
|
2079
|
+
IconButton = (0, import_react$52.forwardRef)((props, ref) => {
|
|
2080
2080
|
deprecate("`IconButton` is deprecated and will be removed in Forkbook 11, use `Button` instead.");
|
|
2081
|
-
return /* @__PURE__ */ import_react$
|
|
2081
|
+
return /* @__PURE__ */ import_react$52.default.createElement(Button, {
|
|
2082
2082
|
ref,
|
|
2083
2083
|
...props,
|
|
2084
2084
|
"data-deprecated": "IconButton"
|
|
@@ -2089,13 +2089,13 @@ function init_Button() {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
//#endregion
|
|
2091
2091
|
//#region src/components/components/ToggleButton/ToggleButton.module.css
|
|
2092
|
-
var id$
|
|
2092
|
+
var id$37, ToggleButton_module_default;
|
|
2093
2093
|
function init_ToggleButton_module() {
|
|
2094
2094
|
return (init_ToggleButton_module = __esmMin((() => {
|
|
2095
|
-
id$
|
|
2096
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
2095
|
+
id$37 = "core/src/components/components/ToggleButton/ToggleButton.module.css";
|
|
2096
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$37}"]`)) {
|
|
2097
2097
|
const style = document.createElement("style");
|
|
2098
|
-
style.setAttribute("data-fb-css", id$
|
|
2098
|
+
style.setAttribute("data-fb-css", id$37);
|
|
2099
2099
|
style.textContent = ".fb-6M-aEG-toggle:where([aria-checked=true][data-variant=solid]){background:hsl(from var(--fb-color-secondary) h s calc(l - 20))}.fb-6M-aEG-toggle:where([aria-checked=true][data-variant=outline]){background:rgb(from var(--fb-bar-selected-color) r g b / calc(alpha - .94));box-shadow:var(--fb-bar-selected-color) 0 0 0 1px inset;color:var(--fb-bar-selected-color)}.fb-6M-aEG-toggle:where([aria-checked=true][data-variant=ghost]){background:rgb(from var(--fb-bar-selected-color) r g b / calc(alpha - .93));color:hsl(from var(--fb-color-secondary) h s calc(l - 10))}:where([data-fb-theme=dark]) .fb-6M-aEG-toggle:where([aria-checked=true][data-variant=ghost]){color:var(--fb-color-secondary)}";
|
|
2100
2100
|
document.head.appendChild(style);
|
|
2101
2101
|
}
|
|
@@ -2104,15 +2104,15 @@ function init_ToggleButton_module() {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
//#endregion
|
|
2106
2106
|
//#region src/components/components/ToggleButton/ToggleButton.tsx
|
|
2107
|
-
var import_react$
|
|
2107
|
+
var import_react$51, ToggleButton;
|
|
2108
2108
|
function init_ToggleButton() {
|
|
2109
2109
|
return (init_ToggleButton = __esmMin((() => {
|
|
2110
|
-
import_react$
|
|
2110
|
+
import_react$51 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2111
2111
|
init_clsx();
|
|
2112
2112
|
init_Button();
|
|
2113
2113
|
init_ToggleButton_module();
|
|
2114
|
-
ToggleButton = (0, import_react$
|
|
2115
|
-
return /* @__PURE__ */ import_react$
|
|
2114
|
+
ToggleButton = (0, import_react$51.forwardRef)(({ pressed, className, ...props }, ref) => {
|
|
2115
|
+
return /* @__PURE__ */ import_react$51.default.createElement(Button, {
|
|
2116
2116
|
role: "switch",
|
|
2117
2117
|
"aria-checked": pressed,
|
|
2118
2118
|
ref,
|
|
@@ -2125,39 +2125,39 @@ function init_ToggleButton() {
|
|
|
2125
2125
|
}
|
|
2126
2126
|
//#endregion
|
|
2127
2127
|
//#region src/components/components/ActionList/ActionList.module.css
|
|
2128
|
-
var id$
|
|
2128
|
+
var id$36, ActionList_module_default;
|
|
2129
2129
|
function init_ActionList_module() {
|
|
2130
2130
|
return (init_ActionList_module = __esmMin((() => {
|
|
2131
|
-
id$
|
|
2132
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
2131
|
+
id$36 = "core/src/components/components/ActionList/ActionList.module.css";
|
|
2132
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$36}"]`)) {
|
|
2133
2133
|
const style = document.createElement("style");
|
|
2134
|
-
style.setAttribute("data-fb-css", id$
|
|
2134
|
+
style.setAttribute("data-fb-css", id$36);
|
|
2135
2135
|
style.textContent = ".fb-N1EqIq-list{cursor:default;margin:0;padding:4px;list-style:none;&+*{border-top:1px solid var(--fb-app-border-color)}}.fb-N1EqIq-list:where([data-clickable]){cursor:pointer}.fb-N1EqIq-item{--listbox-item-active-color:hsl(from var(--fb-color-secondary) h s calc(l - 10));--listbox-item-muted-color:var(--fb-color-mediumdark);min-height:32px;font-size:var(--fb-size-s1);font-weight:var(--fb-weight-regular);color:var(--fb-color-default-text);opacity:1;content-visibility:visible;flex:none;justify-content:space-between;align-items:center;gap:4px;block-size:auto;display:flex;overflow:hidden;&:not(:hover,:has(:focus-visible)) :not(input)+input{opacity:0;position:absolute}@supports (interpolate-size:allow-keywords){interpolate-size:allow-keywords;transition-behavior:allow-discrete;transition-duration:var(--transition-duration,.2s);transition-property:opacity,block-size,content-visibility}@media (prefers-reduced-motion:reduce){transition:none}}:where([data-fb-theme=dark]) .fb-N1EqIq-item{--listbox-item-active-color:var(--fb-color-secondary)}.fb-N1EqIq-item:where([data-active]){font-weight:var(--fb-weight-bold);color:var(--listbox-item-active-color);--listbox-item-muted-color:var(--listbox-item-active-color)}.fb-N1EqIq-item:where([aria-disabled=true]){opacity:.5;cursor:not-allowed}.fb-N1EqIq-item:where([aria-selected=true]){color:var(--listbox-item-active-color);font-weight:var(--fb-weight-bold);--listbox-item-muted-color:var(--listbox-item-active-color)}.fb-N1EqIq-item:where([role=option]){cursor:pointer;border-radius:var(--fb-input-border-radius);outline-offset:-2px;gap:8px;padding:0 9px;&:hover{background:rgb(from var(--fb-color-secondary) r g b / calc(alpha - .86))}&:focus-visible{outline:2px solid var(--fb-color-secondary)}}.fb-N1EqIq-item:where([data-transition-status=preEnter],[data-transition-status=exiting],[data-transition-status=exited]){opacity:0;content-visibility:hidden;block-size:0}.fb-N1EqIq-hoverItem{gap:0;& [data-target-id]{opacity:1;inline-size:auto;margin-left:4px;@supports (interpolate-size:allow-keywords){interpolate-size:allow-keywords;transition-property:inline-size,margin-left,opacity,padding-inline;transition-duration:var(--transition-duration,.2s)}}&:not(:hover,:has(:focus-visible)) [data-target-id]{opacity:0;inline-size:0;margin-left:0;padding-inline:0}}.fb-N1EqIq-button{gap:8px;&:focus-visible{outline-offset:-2px}}.fb-N1EqIq-button:where([data-size=small]){gap:6px}.fb-N1EqIq-action{text-align:start;height:auto;min-height:32px;font-weight:inherit;color:inherit;flex:0 100%;justify-content:space-between;&:hover{color:inherit}& input:enabled:focus-visible{outline:none}&:has(input:focus-visible){outline:2px solid var(--fb-color-secondary);outline-offset:-2px}}.fb-N1EqIq-text{flex-direction:column;flex-grow:1;justify-content:center;min-width:0;padding:8px 0;line-height:16px;display:flex;&>*{white-space:normal;margin:0}&>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}& small{font-size:inherit;color:var(--fb-text-muted-color)}&:first-child{padding-left:8px}&:last-child{padding-right:8px}:is(button,[role=option])>&:first-child{padding-left:0}:is(button,[role=option])>&:last-child{padding-right:0}}.fb-N1EqIq-icon{width:14px;height:14px;color:var(--listbox-item-muted-color);flex:0 0 14px;justify-content:center;align-items:center;display:flex}";
|
|
2136
2136
|
document.head.appendChild(style);
|
|
2137
2137
|
}
|
|
2138
2138
|
ActionList_module_default = {
|
|
2139
|
-
"list": "fb-N1EqIq-list",
|
|
2140
|
-
"icon": "fb-N1EqIq-icon",
|
|
2141
|
-
"text": "fb-N1EqIq-text",
|
|
2142
2139
|
"action": "fb-N1EqIq-action",
|
|
2140
|
+
"text": "fb-N1EqIq-text",
|
|
2141
|
+
"icon": "fb-N1EqIq-icon",
|
|
2142
|
+
"button": "fb-N1EqIq-button",
|
|
2143
2143
|
"item": "fb-N1EqIq-item",
|
|
2144
|
-
"
|
|
2145
|
-
"
|
|
2144
|
+
"list": "fb-N1EqIq-list",
|
|
2145
|
+
"hoverItem": "fb-N1EqIq-hoverItem"
|
|
2146
2146
|
};
|
|
2147
2147
|
})))();
|
|
2148
2148
|
}
|
|
2149
2149
|
//#endregion
|
|
2150
2150
|
//#region src/components/components/ActionList/ActionList.tsx
|
|
2151
|
-
var import_react$
|
|
2151
|
+
var import_react$50, ActionListItem, ActionListHoverItem, ActionListButton, ActionListToggle, ActionListAction, ActionListLink, ActionListText, ActionListIcon, ActionListRoot, ActionList;
|
|
2152
2152
|
function init_ActionList() {
|
|
2153
2153
|
return (init_ActionList = __esmMin((() => {
|
|
2154
|
-
import_react$
|
|
2154
|
+
import_react$50 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2155
2155
|
init_clsx();
|
|
2156
2156
|
init_Button();
|
|
2157
2157
|
init_ToggleButton();
|
|
2158
2158
|
init_ActionList_module();
|
|
2159
|
-
ActionListItem = (0, import_react$
|
|
2160
|
-
return /* @__PURE__ */ import_react$
|
|
2159
|
+
ActionListItem = (0, import_react$50.forwardRef)(function ActionListItem({ as: Comp = "li", active, transitionStatus, className, ...props }, ref) {
|
|
2160
|
+
return /* @__PURE__ */ import_react$50.default.createElement(Comp, {
|
|
2161
2161
|
ref,
|
|
2162
2162
|
className: clsx(ActionList_module_default.item, className),
|
|
2163
2163
|
"data-active": active || void 0,
|
|
@@ -2165,15 +2165,15 @@ function init_ActionList() {
|
|
|
2165
2165
|
...props
|
|
2166
2166
|
});
|
|
2167
2167
|
});
|
|
2168
|
-
ActionListHoverItem = (0, import_react$
|
|
2169
|
-
return /* @__PURE__ */ import_react$
|
|
2168
|
+
ActionListHoverItem = (0, import_react$50.forwardRef)(function ActionListHoverItem({ targetId, className, ...props }, ref) {
|
|
2169
|
+
return /* @__PURE__ */ import_react$50.default.createElement(ActionListItem, {
|
|
2170
2170
|
ref,
|
|
2171
2171
|
className: clsx(ActionList_module_default.hoverItem, className),
|
|
2172
2172
|
...props
|
|
2173
2173
|
});
|
|
2174
2174
|
});
|
|
2175
|
-
ActionListButton = (0, import_react$
|
|
2176
|
-
return /* @__PURE__ */ import_react$
|
|
2175
|
+
ActionListButton = (0, import_react$50.forwardRef)(function ActionListButton({ padding = "small", size = "medium", variant = "ghost", className, ...props }, ref) {
|
|
2176
|
+
return /* @__PURE__ */ import_react$50.default.createElement(Button, {
|
|
2177
2177
|
...props,
|
|
2178
2178
|
variant,
|
|
2179
2179
|
padding,
|
|
@@ -2182,8 +2182,8 @@ function init_ActionList() {
|
|
|
2182
2182
|
className: clsx(ActionList_module_default.button, className)
|
|
2183
2183
|
});
|
|
2184
2184
|
});
|
|
2185
|
-
ActionListToggle = (0, import_react$
|
|
2186
|
-
return /* @__PURE__ */ import_react$
|
|
2185
|
+
ActionListToggle = (0, import_react$50.forwardRef)(function ActionListToggle({ padding = "small", size = "medium", variant = "ghost", ...props }, ref) {
|
|
2186
|
+
return /* @__PURE__ */ import_react$50.default.createElement(ToggleButton, {
|
|
2187
2187
|
...props,
|
|
2188
2188
|
variant,
|
|
2189
2189
|
padding,
|
|
@@ -2191,33 +2191,33 @@ function init_ActionList() {
|
|
|
2191
2191
|
ref
|
|
2192
2192
|
});
|
|
2193
2193
|
});
|
|
2194
|
-
ActionListAction = (0, import_react$
|
|
2195
|
-
return /* @__PURE__ */ import_react$
|
|
2194
|
+
ActionListAction = (0, import_react$50.forwardRef)(function ActionListAction({ className, ...props }, ref) {
|
|
2195
|
+
return /* @__PURE__ */ import_react$50.default.createElement(ActionListButton, {
|
|
2196
2196
|
ref,
|
|
2197
2197
|
className: clsx(ActionList_module_default.action, className),
|
|
2198
2198
|
...props
|
|
2199
2199
|
});
|
|
2200
2200
|
});
|
|
2201
|
-
ActionListLink = (props) => /* @__PURE__ */ import_react$
|
|
2201
|
+
ActionListLink = (props) => /* @__PURE__ */ import_react$50.default.createElement(ActionListAction, {
|
|
2202
2202
|
as: "a",
|
|
2203
2203
|
...props
|
|
2204
2204
|
});
|
|
2205
|
-
ActionListText = (0, import_react$
|
|
2206
|
-
return /* @__PURE__ */ import_react$
|
|
2205
|
+
ActionListText = (0, import_react$50.forwardRef)(function ActionListText({ className, ...props }, ref) {
|
|
2206
|
+
return /* @__PURE__ */ import_react$50.default.createElement("div", {
|
|
2207
2207
|
ref,
|
|
2208
2208
|
className: clsx(ActionList_module_default.text, className),
|
|
2209
2209
|
...props
|
|
2210
2210
|
});
|
|
2211
2211
|
});
|
|
2212
|
-
ActionListIcon = (0, import_react$
|
|
2213
|
-
return /* @__PURE__ */ import_react$
|
|
2212
|
+
ActionListIcon = (0, import_react$50.forwardRef)(function ActionListIcon({ className, ...props }, ref) {
|
|
2213
|
+
return /* @__PURE__ */ import_react$50.default.createElement("div", {
|
|
2214
2214
|
ref,
|
|
2215
2215
|
className: clsx(ActionList_module_default.icon, className),
|
|
2216
2216
|
...props
|
|
2217
2217
|
});
|
|
2218
2218
|
});
|
|
2219
|
-
ActionListRoot = (0, import_react$
|
|
2220
|
-
return /* @__PURE__ */ import_react$
|
|
2219
|
+
ActionListRoot = (0, import_react$50.forwardRef)(function ActionList({ as: Comp = "ul", className, ...props }, ref) {
|
|
2220
|
+
return /* @__PURE__ */ import_react$50.default.createElement(Comp, {
|
|
2221
2221
|
ref,
|
|
2222
2222
|
className: clsx(ActionList_module_default.list, className),
|
|
2223
2223
|
"data-clickable": props.onClick ? true : void 0,
|
|
@@ -2238,13 +2238,13 @@ function init_ActionList() {
|
|
|
2238
2238
|
}
|
|
2239
2239
|
//#endregion
|
|
2240
2240
|
//#region src/components/components/Collapsible/Collapsible.module.css
|
|
2241
|
-
var id$
|
|
2241
|
+
var id$35, Collapsible_module_default;
|
|
2242
2242
|
function init_Collapsible_module() {
|
|
2243
2243
|
return (init_Collapsible_module = __esmMin((() => {
|
|
2244
|
-
id$
|
|
2245
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
2244
|
+
id$35 = "core/src/components/components/Collapsible/Collapsible.module.css";
|
|
2245
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$35}"]`)) {
|
|
2246
2246
|
const style = document.createElement("style");
|
|
2247
|
-
style.setAttribute("data-fb-css", id$
|
|
2247
|
+
style.setAttribute("data-fb-css", id$35);
|
|
2248
2248
|
style.textContent = ".fb-7Fagkq-content{content-visibility:visible;opacity:1;block-size:auto;overflow:hidden;transform:translateY(0);@supports (interpolate-size:allow-keywords){interpolate-size:allow-keywords;transition:all var(--transition-duration,.2s);transition-behavior:allow-discrete}@media (prefers-reduced-motion:reduce){transition:none}}.fb-7Fagkq-content:where([data-collapsed]){content-visibility:hidden;opacity:0;block-size:0;transform:translateY(-10px)}";
|
|
2249
2249
|
document.head.appendChild(style);
|
|
2250
2250
|
}
|
|
@@ -2253,13 +2253,13 @@ function init_Collapsible_module() {
|
|
|
2253
2253
|
}
|
|
2254
2254
|
//#endregion
|
|
2255
2255
|
//#region src/components/components/Collapsible/Collapsible.tsx
|
|
2256
|
-
var import_react$
|
|
2256
|
+
var import_react$49, CollapsibleContent, Collapsible, useSessionState, useCollapsible;
|
|
2257
2257
|
function init_Collapsible() {
|
|
2258
2258
|
return (init_Collapsible = __esmMin((() => {
|
|
2259
|
-
import_react$
|
|
2259
|
+
import_react$49 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2260
2260
|
init_clsx();
|
|
2261
2261
|
init_Collapsible_module();
|
|
2262
|
-
CollapsibleContent = ({ collapsed = false, className, ...props }) => /* @__PURE__ */ import_react$
|
|
2262
|
+
CollapsibleContent = ({ collapsed = false, className, ...props }) => /* @__PURE__ */ import_react$49.default.createElement("div", {
|
|
2263
2263
|
className: clsx(Collapsible_module_default.content, className),
|
|
2264
2264
|
"data-collapsed": collapsed || void 0,
|
|
2265
2265
|
...props
|
|
@@ -2272,7 +2272,7 @@ function init_Collapsible() {
|
|
|
2272
2272
|
storageKey
|
|
2273
2273
|
});
|
|
2274
2274
|
const state = providedState || internalState;
|
|
2275
|
-
return /* @__PURE__ */ import_react$
|
|
2275
|
+
return /* @__PURE__ */ import_react$49.default.createElement(import_react$49.default.Fragment, null, typeof summary === "function" ? summary(state) : summary, /* @__PURE__ */ import_react$49.default.createElement(CollapsibleContent, {
|
|
2276
2276
|
...props,
|
|
2277
2277
|
id: state.contentId,
|
|
2278
2278
|
collapsed: state.isCollapsed,
|
|
@@ -2280,14 +2280,14 @@ function init_Collapsible() {
|
|
|
2280
2280
|
}, typeof children === "function" ? children(state) : children));
|
|
2281
2281
|
}, { Content: CollapsibleContent });
|
|
2282
2282
|
useSessionState = (key, initialValue) => {
|
|
2283
|
-
const [value, setValue] = (0, import_react$
|
|
2283
|
+
const [value, setValue] = (0, import_react$49.useState)(() => {
|
|
2284
2284
|
try {
|
|
2285
2285
|
return JSON.parse(sessionStorage.getItem(key)) ?? initialValue;
|
|
2286
2286
|
} catch {
|
|
2287
2287
|
return initialValue;
|
|
2288
2288
|
}
|
|
2289
2289
|
});
|
|
2290
|
-
(0, import_react$
|
|
2290
|
+
(0, import_react$49.useEffect)(() => {
|
|
2291
2291
|
try {
|
|
2292
2292
|
if (key) sessionStorage.setItem(key, JSON.stringify(value));
|
|
2293
2293
|
} catch {}
|
|
@@ -2296,14 +2296,14 @@ function init_Collapsible() {
|
|
|
2296
2296
|
};
|
|
2297
2297
|
useCollapsible = ({ collapsed, disabled, initialCollapsed = collapsed, storageKey }) => {
|
|
2298
2298
|
const [isCollapsed, setCollapsed] = useSessionState(storageKey && `useCollapsible:${storageKey}`, !!initialCollapsed);
|
|
2299
|
-
(0, import_react$
|
|
2299
|
+
(0, import_react$49.useEffect)(() => {
|
|
2300
2300
|
if (collapsed !== void 0) setCollapsed(collapsed);
|
|
2301
2301
|
}, [collapsed, setCollapsed]);
|
|
2302
|
-
const toggleCollapsed = (0, import_react$
|
|
2302
|
+
const toggleCollapsed = (0, import_react$49.useCallback)((event) => {
|
|
2303
2303
|
event?.stopPropagation();
|
|
2304
2304
|
if (!disabled) setCollapsed((value) => !value);
|
|
2305
2305
|
}, [disabled, setCollapsed]);
|
|
2306
|
-
const contentId = (0, import_react$
|
|
2306
|
+
const contentId = (0, import_react$49.useId)();
|
|
2307
2307
|
return {
|
|
2308
2308
|
contentId,
|
|
2309
2309
|
isCollapsed,
|
|
@@ -2322,31 +2322,31 @@ function init_Collapsible() {
|
|
|
2322
2322
|
}
|
|
2323
2323
|
//#endregion
|
|
2324
2324
|
//#region src/components/components/Card/Card.module.css
|
|
2325
|
-
var id$
|
|
2325
|
+
var id$34, Card_module_default;
|
|
2326
2326
|
function init_Card_module() {
|
|
2327
2327
|
return (init_Card_module = __esmMin((() => {
|
|
2328
|
-
id$
|
|
2329
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$
|
|
2328
|
+
id$34 = "core/src/components/components/Card/Card.module.css";
|
|
2329
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$34}"]`)) {
|
|
2330
2330
|
const style = document.createElement("style");
|
|
2331
|
-
style.setAttribute("data-fb-css", id$
|
|
2331
|
+
style.setAttribute("data-fb-css", id$34);
|
|
2332
2332
|
style.textContent = ".fb-PqILIq-content{color:var(--card-color);border-radius:var(--fb-app-border-radius);background:linear-gradient(var(--card-background), var(--card-background)), var(--fb-background-content);position:relative}.fb-PqILIq-outline{background-color:var(--card-background);border-radius:calc(var(--fb-app-border-radius) + 1px);width:100%;box-shadow:inset 0 0 0 1px var(--card-border-color,var(--fb-app-border-color)), var(--card-box-shadow,transparent 0 0);padding:1px;transition:box-shadow 1s;position:relative;overflow:hidden;@supports (interpolate-size:allow-keywords){interpolate-size:allow-keywords;transition:all var(--transition-duration,.2s), box-shadow 1s;transition-behavior:allow-discrete}@media (prefers-reduced-motion:reduce){transition:box-shadow 1s}&:before{content:\"\";opacity:1;width:100%;height:100%;display:none;position:absolute;top:0;left:0}}.fb-PqILIq-outline[data-animation=rainbow]:before{will-change:transform, opacity;background-image:linear-gradient(45deg,#ea0000,#ff9d00,#ffd000,#00ac00,#007aff,#b500b5,#ea0000,#ff9d00,#ffd000,#00ac00,#007aff,#b500b5,#ea0000);width:1000%;height:200%;animation:10s linear forwards fb-PqILIq-slide,10s linear forwards fb-PqILIq-fadeInOut;display:block;top:-100%;@media (prefers-reduced-motion:reduce){opacity:0;width:100%;height:100%;animation:none;top:0}}.fb-PqILIq-outline[data-animation=spin]:before{background-image:conic-gradient(#0000 90deg,#007aff 150deg,#37d5d3 210deg,#0000 270deg);width:max(100vw,100vh);height:max(100vw,100vh);margin-top:calc(max(100vw,100vh)/-2);margin-left:calc(max(100vw,100vh)/-2);animation:5s linear infinite fb-PqILIq-spin;display:block;top:50%;left:50%}.fb-PqILIq-outline[data-animation=spin][data-outline-color=negative]:before{background-image:conic-gradient(#0000 90deg,#fc521f 150deg,#ffae00 210deg,#0000 270deg)}.fb-PqILIq-outline[data-animation=spin][data-outline-color=agentic]:before{background-image:conic-gradient(#0000 90deg,#b6a7ff 150deg,#d8aeff 210deg,#0000 270deg)}:where([data-fb-theme=dark]) .fb-PqILIq-outline[data-animation=spin][data-outline-color=agentic]:before{background-image:conic-gradient(#0000 90deg,#723aa6a6 150deg,#9d62d699 210deg,#0000 270deg)}@keyframes fb-PqILIq-fadeInOut{0%{opacity:0}10%{opacity:1}80%{opacity:1}to{opacity:0}}@keyframes fb-PqILIq-spin{0%{transform:rotate(0)}10%{transform:rotate(20deg)}40%{transform:rotate(170deg)}50%{transform:rotate(180deg)}60%{transform:rotate(190deg)}90%{transform:rotate(340deg)}to{transform:rotate(360deg)}}@keyframes fb-PqILIq-slide{to{transform:translate(-50%,50%)}}";
|
|
2333
2333
|
document.head.appendChild(style);
|
|
2334
2334
|
}
|
|
2335
2335
|
Card_module_default = {
|
|
2336
|
-
"outline": "fb-PqILIq-outline",
|
|
2337
|
-
"spin": "fb-PqILIq-spin",
|
|
2338
|
-
"slide": "fb-PqILIq-slide",
|
|
2339
2336
|
"fadeInOut": "fb-PqILIq-fadeInOut",
|
|
2340
|
-
"
|
|
2337
|
+
"spin": "fb-PqILIq-spin",
|
|
2338
|
+
"content": "fb-PqILIq-content",
|
|
2339
|
+
"outline": "fb-PqILIq-outline",
|
|
2340
|
+
"slide": "fb-PqILIq-slide"
|
|
2341
2341
|
};
|
|
2342
2342
|
})))();
|
|
2343
2343
|
}
|
|
2344
2344
|
//#endregion
|
|
2345
2345
|
//#region src/components/components/Card/Card.tsx
|
|
2346
|
-
var import_react$
|
|
2346
|
+
var import_react$48, kebab, varChain, colorVars, CardContent, CardOutline, Card;
|
|
2347
2347
|
function init_Card() {
|
|
2348
2348
|
return (init_Card = __esmMin((() => {
|
|
2349
|
-
import_react$
|
|
2349
|
+
import_react$48 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2350
2350
|
init_clsx();
|
|
2351
2351
|
init_Card_module();
|
|
2352
2352
|
kebab = (key) => key.replace(/[A-Z]/g, (char) => `-${char.toLowerCase()}`);
|
|
@@ -2355,8 +2355,8 @@ function init_Card() {
|
|
|
2355
2355
|
"--card-color": color && varChain([`--fb-fg-color-${kebab(color)}`, `--fb-color-${kebab(color)}`]),
|
|
2356
2356
|
"--card-background": varChain([color && `--fb-bg-color-${kebab(color)}`], "var(--fb-background-content)")
|
|
2357
2357
|
});
|
|
2358
|
-
CardContent = (0, import_react$
|
|
2359
|
-
return /* @__PURE__ */ import_react$
|
|
2358
|
+
CardContent = (0, import_react$48.forwardRef)(function CardContent({ color, className, style, ...props }, ref) {
|
|
2359
|
+
return /* @__PURE__ */ import_react$48.default.createElement("div", {
|
|
2360
2360
|
ref,
|
|
2361
2361
|
className: clsx(Card_module_default.content, className),
|
|
2362
2362
|
style: {
|
|
@@ -2366,9 +2366,9 @@ function init_Card() {
|
|
|
2366
2366
|
...props
|
|
2367
2367
|
});
|
|
2368
2368
|
});
|
|
2369
|
-
CardOutline = (0, import_react$
|
|
2369
|
+
CardOutline = (0, import_react$48.forwardRef)(function CardOutline({ animation = "none", color, outlineColor = color, className, style, ...props }, ref) {
|
|
2370
2370
|
const borderColor = animation === "none" ? varChain([color && `--fb-border-color-${kebab(color)}`, outlineColor && `--fb-color-${kebab(outlineColor)}`]) : void 0;
|
|
2371
|
-
return /* @__PURE__ */ import_react$
|
|
2371
|
+
return /* @__PURE__ */ import_react$48.default.createElement("div", {
|
|
2372
2372
|
ref,
|
|
2373
2373
|
className: clsx(Card_module_default.outline, className),
|
|
2374
2374
|
"data-animation": animation,
|
|
@@ -2381,14 +2381,14 @@ function init_Card() {
|
|
|
2381
2381
|
...props
|
|
2382
2382
|
});
|
|
2383
2383
|
});
|
|
2384
|
-
Card = Object.assign((0, import_react$
|
|
2385
|
-
return /* @__PURE__ */ import_react$
|
|
2384
|
+
Card = Object.assign((0, import_react$48.forwardRef)(function Card({ outlineAnimation = "none", color, outlineColor, outlineAttrs = {}, ...props }, ref) {
|
|
2385
|
+
return /* @__PURE__ */ import_react$48.default.createElement(CardOutline, {
|
|
2386
2386
|
animation: outlineAnimation,
|
|
2387
2387
|
color,
|
|
2388
2388
|
outlineColor,
|
|
2389
2389
|
ref,
|
|
2390
2390
|
...outlineAttrs
|
|
2391
|
-
}, /* @__PURE__ */ import_react$
|
|
2391
|
+
}, /* @__PURE__ */ import_react$48.default.createElement(CardContent, {
|
|
2392
2392
|
color,
|
|
2393
2393
|
...props
|
|
2394
2394
|
}));
|
|
@@ -2399,6 +2399,108 @@ function init_Card() {
|
|
|
2399
2399
|
})))();
|
|
2400
2400
|
}
|
|
2401
2401
|
//#endregion
|
|
2402
|
+
//#region src/components/components/StoryGrid/StoryGrid.module.css
|
|
2403
|
+
var id$33, StoryGrid_module_default;
|
|
2404
|
+
function init_StoryGrid_module() {
|
|
2405
|
+
return (init_StoryGrid_module = __esmMin((() => {
|
|
2406
|
+
id$33 = "core/src/components/components/StoryGrid/StoryGrid.module.css";
|
|
2407
|
+
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$33}"]`)) {
|
|
2408
|
+
const style = document.createElement("style");
|
|
2409
|
+
style.setAttribute("data-fb-css", id$33);
|
|
2410
|
+
style.textContent = ".fb-mI2Oaa-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.fb-mI2Oaa-item{min-width:0;display:flex}.fb-mI2Oaa-card{border:1px solid var(--fb-app-border-color,#0000001a);border-radius:var(--fb-app-border-radius,6px);background:var(--fb-background-content,#fff);width:100%;color:var(--fb-color-default-text,inherit);flex-direction:column;text-decoration:none;transition:border-color .15s;display:flex;overflow:hidden;&:hover,&:focus-visible{border-color:var(--fb-color-secondary,#4f46e5)}&:focus-visible{outline:2px solid var(--fb-color-secondary,#4f46e5);outline-offset:2px}}.fb-mI2Oaa-media{aspect-ratio:16/10;background:var(--fb-background-app,#f6f9fc);border-bottom:1px solid var(--fb-app-border-color,#0000001a);position:relative;overflow:hidden}.fb-mI2Oaa-image{object-fit:cover;width:100%;height:100%;display:block}.fb-mI2Oaa-frame{transform-origin:0 0;pointer-events:none;background:0 0;border:0;width:200%;height:200%;position:absolute;top:0;left:0;transform:scale(.5)}.fb-mI2Oaa-text{flex-direction:column;gap:2px;padding:10px 12px;display:flex}.fb-mI2Oaa-title{font-weight:var(--fb-weight-bold,700);font-size:14px}.fb-mI2Oaa-path,.fb-mI2Oaa-count{color:var(--fb-text-muted-color,#73828c);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.fb-mI2Oaa-empty{color:var(--fb-text-muted-color,inherit)}";
|
|
2411
|
+
document.head.appendChild(style);
|
|
2412
|
+
}
|
|
2413
|
+
StoryGrid_module_default = {
|
|
2414
|
+
"media": "fb-mI2Oaa-media",
|
|
2415
|
+
"path": "fb-mI2Oaa-path",
|
|
2416
|
+
"card": "fb-mI2Oaa-card",
|
|
2417
|
+
"image": "fb-mI2Oaa-image",
|
|
2418
|
+
"empty": "fb-mI2Oaa-empty",
|
|
2419
|
+
"grid": "fb-mI2Oaa-grid",
|
|
2420
|
+
"item": "fb-mI2Oaa-item",
|
|
2421
|
+
"frame": "fb-mI2Oaa-frame",
|
|
2422
|
+
"title": "fb-mI2Oaa-title",
|
|
2423
|
+
"text": "fb-mI2Oaa-text",
|
|
2424
|
+
"count": "fb-mI2Oaa-count"
|
|
2425
|
+
};
|
|
2426
|
+
})))();
|
|
2427
|
+
}
|
|
2428
|
+
//#endregion
|
|
2429
|
+
//#region src/components/components/StoryGrid/StoryGrid.tsx
|
|
2430
|
+
var import_react$47, useNearView, CardPreview, StoryGrid;
|
|
2431
|
+
function init_StoryGrid() {
|
|
2432
|
+
return (init_StoryGrid = __esmMin((() => {
|
|
2433
|
+
import_react$47 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2434
|
+
init_StoryGrid_module();
|
|
2435
|
+
useNearView = (rootMargin = "200px") => {
|
|
2436
|
+
const ref = (0, import_react$47.useRef)(null);
|
|
2437
|
+
const [near, setNear] = (0, import_react$47.useState)(false);
|
|
2438
|
+
(0, import_react$47.useEffect)(() => {
|
|
2439
|
+
const element = ref.current;
|
|
2440
|
+
if (!element || near) return;
|
|
2441
|
+
if (typeof IntersectionObserver === "undefined") {
|
|
2442
|
+
setNear(true);
|
|
2443
|
+
return;
|
|
2444
|
+
}
|
|
2445
|
+
const observer = new IntersectionObserver((records) => {
|
|
2446
|
+
if (records.some((record) => record.isIntersecting)) {
|
|
2447
|
+
setNear(true);
|
|
2448
|
+
observer.disconnect();
|
|
2449
|
+
}
|
|
2450
|
+
}, { rootMargin });
|
|
2451
|
+
observer.observe(element);
|
|
2452
|
+
return () => observer.disconnect();
|
|
2453
|
+
}, [near, rootMargin]);
|
|
2454
|
+
return {
|
|
2455
|
+
ref,
|
|
2456
|
+
near
|
|
2457
|
+
};
|
|
2458
|
+
};
|
|
2459
|
+
CardPreview = ({ component, getPreviewSrc }) => {
|
|
2460
|
+
const { ref, near } = useNearView();
|
|
2461
|
+
if (component.thumbnail) return /* @__PURE__ */ import_react$47.default.createElement("div", { className: StoryGrid_module_default.media }, /* @__PURE__ */ import_react$47.default.createElement("img", {
|
|
2462
|
+
className: StoryGrid_module_default.image,
|
|
2463
|
+
src: component.thumbnail,
|
|
2464
|
+
alt: "",
|
|
2465
|
+
loading: "lazy"
|
|
2466
|
+
}));
|
|
2467
|
+
return /* @__PURE__ */ import_react$47.default.createElement("div", {
|
|
2468
|
+
className: StoryGrid_module_default.media,
|
|
2469
|
+
ref
|
|
2470
|
+
}, near && component.firstStoryId ? /* @__PURE__ */ import_react$47.default.createElement("iframe", {
|
|
2471
|
+
className: StoryGrid_module_default.frame,
|
|
2472
|
+
src: getPreviewSrc(component.firstStoryId),
|
|
2473
|
+
title: `${component.name} preview`,
|
|
2474
|
+
loading: "lazy",
|
|
2475
|
+
tabIndex: -1,
|
|
2476
|
+
"aria-hidden": true
|
|
2477
|
+
}) : null);
|
|
2478
|
+
};
|
|
2479
|
+
StoryGrid = ({ components, getHref, onSelect, getPreviewSrc }) => {
|
|
2480
|
+
const onClick = (event, component) => {
|
|
2481
|
+
if (!onSelect || event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey) return;
|
|
2482
|
+
event.preventDefault();
|
|
2483
|
+
onSelect(component);
|
|
2484
|
+
};
|
|
2485
|
+
if (components.length === 0) return /* @__PURE__ */ import_react$47.default.createElement("p", { className: StoryGrid_module_default.empty }, "No components yet.");
|
|
2486
|
+
return /* @__PURE__ */ import_react$47.default.createElement("ul", {
|
|
2487
|
+
className: StoryGrid_module_default.grid,
|
|
2488
|
+
"aria-label": "Components"
|
|
2489
|
+
}, components.map((component) => /* @__PURE__ */ import_react$47.default.createElement("li", {
|
|
2490
|
+
key: component.title,
|
|
2491
|
+
className: StoryGrid_module_default.item
|
|
2492
|
+
}, /* @__PURE__ */ import_react$47.default.createElement("a", {
|
|
2493
|
+
className: StoryGrid_module_default.card,
|
|
2494
|
+
href: getHref(component),
|
|
2495
|
+
onClick: (event) => onClick(event, component)
|
|
2496
|
+
}, /* @__PURE__ */ import_react$47.default.createElement(CardPreview, {
|
|
2497
|
+
component,
|
|
2498
|
+
getPreviewSrc
|
|
2499
|
+
}), /* @__PURE__ */ import_react$47.default.createElement("span", { className: StoryGrid_module_default.text }, /* @__PURE__ */ import_react$47.default.createElement("span", { className: StoryGrid_module_default.title }, component.name), component.title !== component.name ? /* @__PURE__ */ import_react$47.default.createElement("span", { className: StoryGrid_module_default.path }, component.title) : null, /* @__PURE__ */ import_react$47.default.createElement("span", { className: StoryGrid_module_default.count }, component.storyIds.length === 1 ? "1 story" : `${component.storyIds.length} stories`))))));
|
|
2500
|
+
};
|
|
2501
|
+
})))();
|
|
2502
|
+
}
|
|
2503
|
+
//#endregion
|
|
2402
2504
|
//#region src/components/components/shared/trapTabKey.ts
|
|
2403
2505
|
/**
|
|
2404
2506
|
* Keeps Tab and Shift+Tab inside a container: from the last tabbable element, Tab goes to the first
|
|
@@ -2438,22 +2540,22 @@ function init_Modal_module() {
|
|
|
2438
2540
|
document.head.appendChild(style);
|
|
2439
2541
|
}
|
|
2440
2542
|
Modal_module_default = {
|
|
2441
|
-
"
|
|
2442
|
-
"
|
|
2543
|
+
"fadeIn": "fb-t9bqoG-fadeIn",
|
|
2544
|
+
"actions": "fb-t9bqoG-actions",
|
|
2443
2545
|
"expand": "fb-t9bqoG-expand",
|
|
2546
|
+
"slideToBottom": "fb-t9bqoG-slideToBottom",
|
|
2547
|
+
"errorWrapper": "fb-t9bqoG-errorWrapper",
|
|
2548
|
+
"overlay": "fb-t9bqoG-overlay",
|
|
2549
|
+
"description": "fb-t9bqoG-description",
|
|
2444
2550
|
"slideFromBottom": "fb-t9bqoG-slideFromBottom",
|
|
2445
|
-
"zoomIn": "fb-t9bqoG-zoomIn",
|
|
2446
2551
|
"col": "fb-t9bqoG-col",
|
|
2447
|
-
"
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2552
|
+
"container": "fb-t9bqoG-container",
|
|
2553
|
+
"fadeOut": "fb-t9bqoG-fadeOut",
|
|
2554
|
+
"title": "fb-t9bqoG-title",
|
|
2450
2555
|
"zoomOut": "fb-t9bqoG-zoomOut",
|
|
2556
|
+
"row": "fb-t9bqoG-row",
|
|
2451
2557
|
"content": "fb-t9bqoG-content",
|
|
2452
|
-
"
|
|
2453
|
-
"description": "fb-t9bqoG-description",
|
|
2454
|
-
"overlay": "fb-t9bqoG-overlay",
|
|
2455
|
-
"container": "fb-t9bqoG-container",
|
|
2456
|
-
"errorWrapper": "fb-t9bqoG-errorWrapper"
|
|
2558
|
+
"zoomIn": "fb-t9bqoG-zoomIn"
|
|
2457
2559
|
};
|
|
2458
2560
|
})))();
|
|
2459
2561
|
}
|
|
@@ -2480,7 +2582,7 @@ function init_Modal_styled() {
|
|
|
2480
2582
|
return (init_Modal_styled = __esmMin((() => {
|
|
2481
2583
|
import_react$46 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
2482
2584
|
init_client_logger();
|
|
2483
|
-
|
|
2585
|
+
init_x();
|
|
2484
2586
|
init_clsx();
|
|
2485
2587
|
init_Button();
|
|
2486
2588
|
init_Modal();
|
|
@@ -2555,7 +2657,7 @@ function init_Modal_styled() {
|
|
|
2555
2657
|
variant: "ghost",
|
|
2556
2658
|
shortcut: ["Escape"],
|
|
2557
2659
|
onClick: close
|
|
2558
|
-
}, /* @__PURE__ */ import_react$46.default.createElement(
|
|
2660
|
+
}, /* @__PURE__ */ import_react$46.default.createElement(X, null));
|
|
2559
2661
|
};
|
|
2560
2662
|
Dialog = { Close: () => {
|
|
2561
2663
|
deprecate("Modal.Dialog.Close is deprecated, please use Modal.Close instead.");
|
|
@@ -2567,7 +2669,7 @@ function init_Modal_styled() {
|
|
|
2567
2669
|
ariaLabel: ariaLabel || "Close",
|
|
2568
2670
|
"data-deprecated": "Modal.CloseButton",
|
|
2569
2671
|
...props
|
|
2570
|
-
}, /* @__PURE__ */ import_react$46.default.createElement(
|
|
2672
|
+
}, /* @__PURE__ */ import_react$46.default.createElement(X, null)));
|
|
2571
2673
|
};
|
|
2572
2674
|
Content = divWithClass(Modal_module_default.content, "Content");
|
|
2573
2675
|
Row = divWithClass(Modal_module_default.row, "Row");
|
|
@@ -2720,10 +2822,10 @@ function init_Spaced_module() {
|
|
|
2720
2822
|
document.head.appendChild(style);
|
|
2721
2823
|
}
|
|
2722
2824
|
Spaced_module_default = {
|
|
2723
|
-
"
|
|
2724
|
-
"outerRow": "fb-yP698W-outerRow",
|
|
2825
|
+
"col": "fb-yP698W-col",
|
|
2725
2826
|
"outerCol": "fb-yP698W-outerCol",
|
|
2726
|
-
"
|
|
2827
|
+
"outerRow": "fb-yP698W-outerRow",
|
|
2828
|
+
"row": "fb-yP698W-row"
|
|
2727
2829
|
};
|
|
2728
2830
|
})))();
|
|
2729
2831
|
}
|
|
@@ -2889,9 +2991,9 @@ function init_ErrorFormatter_module() {
|
|
|
2889
2991
|
document.head.appendChild(style);
|
|
2890
2992
|
}
|
|
2891
2993
|
ErrorFormatter_module_default = {
|
|
2892
|
-
"important": "fb-bPMLda-important",
|
|
2893
2994
|
"detail": "fb-bPMLda-detail",
|
|
2894
|
-
"name": "fb-bPMLda-name"
|
|
2995
|
+
"name": "fb-bPMLda-name",
|
|
2996
|
+
"important": "fb-bPMLda-important"
|
|
2895
2997
|
};
|
|
2896
2998
|
})))();
|
|
2897
2999
|
}
|
|
@@ -3032,8 +3134,8 @@ function init_Input_module() {
|
|
|
3032
3134
|
document.head.appendChild(style);
|
|
3033
3135
|
}
|
|
3034
3136
|
Input_module_default = {
|
|
3035
|
-
"wrapper": "fb-1G-00W-wrapper",
|
|
3036
3137
|
"input": "fb-1G-00W-input",
|
|
3138
|
+
"wrapper": "fb-1G-00W-wrapper",
|
|
3037
3139
|
"mask": "fb-1G-00W-mask"
|
|
3038
3140
|
};
|
|
3039
3141
|
})))();
|
|
@@ -3243,8 +3345,8 @@ function init_Popover_module() {
|
|
|
3243
3345
|
document.head.appendChild(style);
|
|
3244
3346
|
}
|
|
3245
3347
|
Popover_module_default = {
|
|
3246
|
-
"
|
|
3247
|
-
"
|
|
3348
|
+
"popover": "fb-1mfpuG-popover",
|
|
3349
|
+
"closeButton": "fb-1mfpuG-closeButton"
|
|
3248
3350
|
};
|
|
3249
3351
|
})))();
|
|
3250
3352
|
}
|
|
@@ -3254,7 +3356,7 @@ var import_react$32, Popover;
|
|
|
3254
3356
|
function init_Popover() {
|
|
3255
3357
|
return (init_Popover = __esmMin((() => {
|
|
3256
3358
|
import_react$32 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
3257
|
-
|
|
3359
|
+
init_x();
|
|
3258
3360
|
init_clsx();
|
|
3259
3361
|
init_Button();
|
|
3260
3362
|
init_Popover_module();
|
|
@@ -3277,7 +3379,7 @@ function init_Popover() {
|
|
|
3277
3379
|
padding: "small",
|
|
3278
3380
|
variant: "ghost",
|
|
3279
3381
|
size: "small"
|
|
3280
|
-
}, /* @__PURE__ */ import_react$32.default.createElement(
|
|
3382
|
+
}, /* @__PURE__ */ import_react$32.default.createElement(X, null)));
|
|
3281
3383
|
});
|
|
3282
3384
|
Popover.displayName = "Popover";
|
|
3283
3385
|
})))();
|
|
@@ -3318,8 +3420,8 @@ function init_Select_module$1() {
|
|
|
3318
3420
|
document.head.appendChild(style);
|
|
3319
3421
|
}
|
|
3320
3422
|
Select_module_default = {
|
|
3321
|
-
"underlay": "fb-mklNNG-underlay",
|
|
3322
3423
|
"highlightedButton": "fb-mklNNG-highlightedButton",
|
|
3424
|
+
"underlay": "fb-mklNNG-underlay",
|
|
3323
3425
|
"selectedOptionCount": "fb-mklNNG-selectedOptionCount"
|
|
3324
3426
|
};
|
|
3325
3427
|
})))();
|
|
@@ -3392,7 +3494,7 @@ var import_react$29, MinimalistPopover, Select;
|
|
|
3392
3494
|
function init_Select$1() {
|
|
3393
3495
|
return (init_Select$1 = __esmMin((() => {
|
|
3394
3496
|
import_react$29 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
3395
|
-
|
|
3497
|
+
init_rotate_cw();
|
|
3396
3498
|
init_PopoverRoot(), init_PopoverPortal(), init_PopoverPositioner(), init_PopoverPopup();
|
|
3397
3499
|
init_clsx();
|
|
3398
3500
|
init_Button();
|
|
@@ -3490,7 +3592,7 @@ function init_Select$1() {
|
|
|
3490
3592
|
type: "reset",
|
|
3491
3593
|
value: void 0,
|
|
3492
3594
|
title: resetLabel ?? "Reset selection",
|
|
3493
|
-
icon: /* @__PURE__ */ import_react$29.default.createElement(
|
|
3595
|
+
icon: /* @__PURE__ */ import_react$29.default.createElement(RotateCw, null),
|
|
3494
3596
|
description: void 0,
|
|
3495
3597
|
children: void 0
|
|
3496
3598
|
} : void 0, [onReset, resetLabel]);
|
|
@@ -3760,9 +3862,9 @@ function init_TooltipMessage_module() {
|
|
|
3760
3862
|
document.head.appendChild(style);
|
|
3761
3863
|
}
|
|
3762
3864
|
TooltipMessage_module_default = {
|
|
3763
|
-
"message": "fb-Jdn35W-message",
|
|
3764
3865
|
"links": "fb-Jdn35W-links",
|
|
3765
3866
|
"messageWrapper": "fb-Jdn35W-messageWrapper",
|
|
3867
|
+
"message": "fb-Jdn35W-message",
|
|
3766
3868
|
"title": "fb-Jdn35W-title"
|
|
3767
3869
|
};
|
|
3768
3870
|
})))();
|
|
@@ -3801,13 +3903,13 @@ function init_ListItem_module() {
|
|
|
3801
3903
|
document.head.appendChild(style);
|
|
3802
3904
|
}
|
|
3803
3905
|
ListItem_module_default = {
|
|
3906
|
+
"left": "fb-2LErEa-left",
|
|
3804
3907
|
"item": "fb-2LErEa-item",
|
|
3805
3908
|
"right": "fb-2LErEa-right",
|
|
3806
|
-
"centerText": "fb-2LErEa-centerText",
|
|
3807
|
-
"glow": "fb-2LErEa-glow",
|
|
3808
3909
|
"title": "fb-2LErEa-title",
|
|
3809
|
-
"
|
|
3810
|
-
"
|
|
3910
|
+
"center": "fb-2LErEa-center",
|
|
3911
|
+
"glow": "fb-2LErEa-glow",
|
|
3912
|
+
"centerText": "fb-2LErEa-centerText"
|
|
3811
3913
|
};
|
|
3812
3914
|
})))();
|
|
3813
3915
|
}
|
|
@@ -3960,11 +4062,11 @@ function init_Bar_module() {
|
|
|
3960
4062
|
document.head.appendChild(style);
|
|
3961
4063
|
}
|
|
3962
4064
|
Bar_module_default = {
|
|
3963
|
-
"barInner": "fb-zWlpQq-barInner",
|
|
3964
|
-
"barWithoutPadding": "fb-zWlpQq-barWithoutPadding",
|
|
3965
|
-
"heightPreserver": "fb-zWlpQq-heightPreserver",
|
|
3966
4065
|
"side": "fb-zWlpQq-side",
|
|
3967
|
-
"
|
|
4066
|
+
"barWithoutPadding": "fb-zWlpQq-barWithoutPadding",
|
|
4067
|
+
"barInner": "fb-zWlpQq-barInner",
|
|
4068
|
+
"bar": "fb-zWlpQq-bar",
|
|
4069
|
+
"heightPreserver": "fb-zWlpQq-heightPreserver"
|
|
3968
4070
|
};
|
|
3969
4071
|
})))();
|
|
3970
4072
|
}
|
|
@@ -4100,11 +4202,11 @@ function init_EmptyTabContent_module() {
|
|
|
4100
4202
|
document.head.appendChild(style);
|
|
4101
4203
|
}
|
|
4102
4204
|
EmptyTabContent_module_default = {
|
|
4103
|
-
"title": "fb-CwTYpq-title",
|
|
4104
4205
|
"wrapper": "fb-CwTYpq-wrapper",
|
|
4206
|
+
"title": "fb-CwTYpq-title",
|
|
4207
|
+
"description": "fb-CwTYpq-description",
|
|
4105
4208
|
"content": "fb-CwTYpq-content",
|
|
4106
|
-
"footer": "fb-CwTYpq-footer"
|
|
4107
|
-
"description": "fb-CwTYpq-description"
|
|
4209
|
+
"footer": "fb-CwTYpq-footer"
|
|
4108
4210
|
};
|
|
4109
4211
|
})))();
|
|
4110
4212
|
}
|
|
@@ -4167,8 +4269,8 @@ function init_Tabs_hooks_module() {
|
|
|
4167
4269
|
document.head.appendChild(style);
|
|
4168
4270
|
}
|
|
4169
4271
|
Tabs_hooks_module_default = {
|
|
4170
|
-
"
|
|
4171
|
-
"
|
|
4272
|
+
"addonButton": "fb-9rvSra-addonButton",
|
|
4273
|
+
"collapseIcon": "fb-9rvSra-collapseIcon"
|
|
4172
4274
|
};
|
|
4173
4275
|
})))();
|
|
4174
4276
|
}
|
|
@@ -4296,9 +4398,9 @@ function init_Tabs_module() {
|
|
|
4296
4398
|
document.head.appendChild(style);
|
|
4297
4399
|
}
|
|
4298
4400
|
Tabs_module_default = {
|
|
4299
|
-
"tab-content": "fb-yAqY1G-tab-content",
|
|
4300
|
-
"tabBar": "fb-yAqY1G-tabBar",
|
|
4301
4401
|
"content": "fb-yAqY1G-content",
|
|
4402
|
+
"tabBar": "fb-yAqY1G-tabBar",
|
|
4403
|
+
"tab-content": "fb-yAqY1G-tab-content",
|
|
4302
4404
|
"wrapper": "fb-yAqY1G-wrapper"
|
|
4303
4405
|
};
|
|
4304
4406
|
})))();
|
|
@@ -4616,11 +4718,11 @@ function init_StatelessTabList_module() {
|
|
|
4616
4718
|
document.head.appendChild(style);
|
|
4617
4719
|
}
|
|
4618
4720
|
StatelessTabList_module_default = {
|
|
4619
|
-
"
|
|
4721
|
+
"tabList": "fb-pPoemq-tabList",
|
|
4620
4722
|
"scrollContainer": "fb-pPoemq-scrollContainer",
|
|
4621
4723
|
"scrollButtonContainer": "fb-pPoemq-scrollButtonContainer",
|
|
4622
|
-
"
|
|
4623
|
-
"
|
|
4724
|
+
"scrollButton": "fb-pPoemq-scrollButton",
|
|
4725
|
+
"root": "fb-pPoemq-root"
|
|
4624
4726
|
};
|
|
4625
4727
|
})))();
|
|
4626
4728
|
}
|
|
@@ -4630,7 +4732,7 @@ var import_react$12, StatelessTabList;
|
|
|
4630
4732
|
function init_StatelessTabList() {
|
|
4631
4733
|
return (init_StatelessTabList = __esmMin((() => {
|
|
4632
4734
|
import_react$12 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
4633
|
-
|
|
4735
|
+
init_chevron_left(), init_chevron_right();
|
|
4634
4736
|
init_TabsList();
|
|
4635
4737
|
init_Button();
|
|
4636
4738
|
init_StatelessTabList_module();
|
|
@@ -4703,7 +4805,7 @@ function init_StatelessTabList() {
|
|
|
4703
4805
|
disabled: !canScrollLeft,
|
|
4704
4806
|
onClick: scrollBackward,
|
|
4705
4807
|
tabIndex: -1
|
|
4706
|
-
}, /* @__PURE__ */ import_react$12.default.createElement(
|
|
4808
|
+
}, /* @__PURE__ */ import_react$12.default.createElement(ChevronLeft, null))), /* @__PURE__ */ import_react$12.default.createElement("div", {
|
|
4707
4809
|
className: StatelessTabList_module_default.scrollContainer,
|
|
4708
4810
|
ref: scrollContainerRef
|
|
4709
4811
|
}, /* @__PURE__ */ import_react$12.default.createElement(TabsList, {
|
|
@@ -4722,7 +4824,7 @@ function init_StatelessTabList() {
|
|
|
4722
4824
|
disabled: !canScrollRight,
|
|
4723
4825
|
onClick: scrollForward,
|
|
4724
4826
|
tabIndex: -1
|
|
4725
|
-
}, /* @__PURE__ */ import_react$12.default.createElement(
|
|
4827
|
+
}, /* @__PURE__ */ import_react$12.default.createElement(ChevronRight, null))));
|
|
4726
4828
|
};
|
|
4727
4829
|
})))();
|
|
4728
4830
|
}
|
|
@@ -4819,11 +4921,11 @@ function init_TabsView_module() {
|
|
|
4819
4921
|
document.head.appendChild(style);
|
|
4820
4922
|
}
|
|
4821
4923
|
TabsView_module_default = {
|
|
4924
|
+
"container": "fb-voB9ZG-container",
|
|
4822
4925
|
"flexTabPanel": "fb-voB9ZG-flexTabPanel",
|
|
4926
|
+
"bar": "fb-voB9ZG-bar",
|
|
4823
4927
|
"statelessContainer": "fb-voB9ZG-statelessContainer",
|
|
4824
|
-
"
|
|
4825
|
-
"flexTabList": "fb-voB9ZG-flexTabList",
|
|
4826
|
-
"bar": "fb-voB9ZG-bar"
|
|
4928
|
+
"flexTabList": "fb-voB9ZG-flexTabList"
|
|
4827
4929
|
};
|
|
4828
4930
|
})))();
|
|
4829
4931
|
}
|
|
@@ -5015,13 +5117,13 @@ function init_Loader_module() {
|
|
|
5015
5117
|
document.head.appendChild(style);
|
|
5016
5118
|
}
|
|
5017
5119
|
Loader_module_default = {
|
|
5018
|
-
"progressMessage": "fb--QAWhG-progressMessage",
|
|
5019
|
-
"progressTrack": "fb--QAWhG-progressTrack",
|
|
5020
|
-
"errorIcon": "fb--QAWhG-errorIcon",
|
|
5021
|
-
"loader": "fb--QAWhG-loader",
|
|
5022
5120
|
"progressWrapper": "fb--QAWhG-progressWrapper",
|
|
5023
|
-
"progressBar": "fb--QAWhG-progressBar",
|
|
5024
5121
|
"rotate360": "fb--QAWhG-rotate360",
|
|
5122
|
+
"progressBar": "fb--QAWhG-progressBar",
|
|
5123
|
+
"errorIcon": "fb--QAWhG-errorIcon",
|
|
5124
|
+
"progressTrack": "fb--QAWhG-progressTrack",
|
|
5125
|
+
"loader": "fb--QAWhG-loader",
|
|
5126
|
+
"progressMessage": "fb--QAWhG-progressMessage",
|
|
5025
5127
|
"ellipsis": "fb--QAWhG-ellipsis"
|
|
5026
5128
|
};
|
|
5027
5129
|
})))();
|
|
@@ -5032,7 +5134,7 @@ var import_react$4, Loader;
|
|
|
5032
5134
|
function init_Loader() {
|
|
5033
5135
|
return (init_Loader = __esmMin((() => {
|
|
5034
5136
|
import_react$4 = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
5035
|
-
|
|
5137
|
+
init_zap_off();
|
|
5036
5138
|
init_Loader_module();
|
|
5037
5139
|
Loader = ({ progress, error, size = 32, ...props }) => {
|
|
5038
5140
|
if (error) return /* @__PURE__ */ import_react$4.default.createElement("div", {
|
|
@@ -5041,7 +5143,7 @@ function init_Loader() {
|
|
|
5041
5143
|
"aria-live": "polite",
|
|
5042
5144
|
role: "status",
|
|
5043
5145
|
...props
|
|
5044
|
-
}, /* @__PURE__ */ import_react$4.default.createElement(
|
|
5146
|
+
}, /* @__PURE__ */ import_react$4.default.createElement(ZapOff, { className: Loader_module_default.errorIcon }), /* @__PURE__ */ import_react$4.default.createElement("div", { className: Loader_module_default.progressMessage }, error.message));
|
|
5045
5147
|
if (progress) {
|
|
5046
5148
|
const { value, modules } = progress;
|
|
5047
5149
|
let { message } = progress;
|
|
@@ -5251,6 +5353,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
5251
5353
|
StatelessTabList: () => StatelessTabList,
|
|
5252
5354
|
StatelessTabPanel: () => StatelessTabPanel,
|
|
5253
5355
|
StatelessTabsView: () => StatelessTabsView,
|
|
5356
|
+
StoryGrid: () => StoryGrid,
|
|
5254
5357
|
SyntaxHighlighter: () => SyntaxHighlighter,
|
|
5255
5358
|
TT: () => TT,
|
|
5256
5359
|
TabBar: () => TabBar,
|
|
@@ -5285,6 +5388,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
5285
5388
|
nameSpaceClassNames: () => nameSpaceClassNames,
|
|
5286
5389
|
resetComponents: () => resetComponents,
|
|
5287
5390
|
useCopyButton: () => useCopyButton,
|
|
5391
|
+
useNearView: () => useNearView,
|
|
5288
5392
|
useTabsState: () => useTabsState,
|
|
5289
5393
|
withReset: () => withReset
|
|
5290
5394
|
});
|
|
@@ -5323,6 +5427,7 @@ function init_components$1() {
|
|
|
5323
5427
|
init_ActionList();
|
|
5324
5428
|
init_Collapsible();
|
|
5325
5429
|
init_Card();
|
|
5430
|
+
init_StoryGrid();
|
|
5326
5431
|
init_Modal();
|
|
5327
5432
|
init_Spaced();
|
|
5328
5433
|
init_placeholder();
|
|
@@ -5392,8 +5497,8 @@ function init_WithTooltip_module() {
|
|
|
5392
5497
|
}
|
|
5393
5498
|
WithTooltip_module_default = {
|
|
5394
5499
|
"target": "fb-QoytUq-target",
|
|
5395
|
-
"wrapper": "fb-QoytUq-wrapper",
|
|
5396
5500
|
"targetSvg": "fb-QoytUq-targetSvg",
|
|
5501
|
+
"wrapper": "fb-QoytUq-wrapper",
|
|
5397
5502
|
"arrow": "fb-QoytUq-arrow"
|
|
5398
5503
|
};
|
|
5399
5504
|
})))();
|
|
@@ -5443,7 +5548,7 @@ function init_WithTooltip() {
|
|
|
5443
5548
|
align
|
|
5444
5549
|
};
|
|
5445
5550
|
};
|
|
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 =
|
|
5551
|
+
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 = 0, strategy, onVisibleChange, portalContainer, ...props }) => {
|
|
5447
5552
|
const Container = svg ? "g" : "div";
|
|
5448
5553
|
const triggers = trigger === null ? [] : Array.isArray(trigger) ? trigger : [trigger];
|
|
5449
5554
|
const isHover = triggers.includes("hover");
|