@aussieljk/forkbook 0.0.1-4 → 0.0.1-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -0
- package/README.md +35 -53
- package/dist/_browser-chunks/{Color-KRDPNBZS.js → Color-GTF4GM7L.js} +3 -3
- package/dist/_browser-chunks/{WithTooltip-523JD6VH.js → WithTooltip-V55S6YCY.js} +1 -1
- package/dist/_browser-chunks/{chunk-BZGX2THJ.js → chunk-HOSBMS2F.js} +3 -3
- package/dist/_browser-chunks/{chunk-LXQPPHMD.js → chunk-MJY6ITYT.js} +27 -27
- package/dist/_node-chunks/{attached-runtime-CYMSKF3A.js → attached-runtime-IOE3BXIY.js} +29 -29
- package/dist/_node-chunks/{builder-manager-RMLSIO45.js → builder-manager-GDFEGD72.js} +170 -215
- package/dist/_node-chunks/{chunk-M2UZP5GC.js → chunk-2GY2FKLH.js} +7 -7
- package/dist/_node-chunks/{chunk-UAALLQAQ.js → chunk-3DCJB2D4.js} +6 -6
- package/dist/_node-chunks/{chunk-ILFIERUB.js → chunk-3DX6THMV.js} +8 -8
- package/dist/_node-chunks/{chunk-IBO346NQ.js → chunk-45LRLOYO.js} +23 -23
- package/dist/_node-chunks/{chunk-CGWACHNW.js → chunk-4WO3GNZQ.js} +6 -6
- package/dist/_node-chunks/{chunk-ESZVID7Q.js → chunk-5KAJVK4E.js} +7 -7
- package/dist/_node-chunks/{chunk-QU5ANYM7.js → chunk-5LE7GXEC.js} +6 -6
- package/dist/_node-chunks/{chunk-F2N6BJRH.js → chunk-6DOJKR3V.js} +10 -10
- package/dist/_node-chunks/{chunk-RNF3Z4ZJ.js → chunk-6QQTZT3Z.js} +6 -6
- package/dist/_node-chunks/{chunk-GZBUCUF7.js → chunk-7TUSIVWS.js} +6 -6
- package/dist/_node-chunks/{chunk-VPOJCHKM.js → chunk-7XUQM6SR.js} +14 -14
- package/dist/_node-chunks/{chunk-2QWFS23O.js → chunk-A4XRNDN4.js} +7 -7
- package/dist/_node-chunks/{chunk-GEMKJCEE.js → chunk-AAAUVDWT.js} +10 -10
- package/dist/_node-chunks/{chunk-POXTROIX.js → chunk-AX2ALHBK.js} +6 -6
- package/dist/_node-chunks/{chunk-P6QAFJ5M.js → chunk-AXG3EMKS.js} +6 -6
- package/dist/_node-chunks/{chunk-NAYTBC72.js → chunk-AXJJB2K6.js} +8 -8
- package/dist/_node-chunks/{chunk-SQMCVWOR.js → chunk-AXQ6LLSE.js} +8 -8
- package/dist/_node-chunks/{chunk-AY6B2C46.js → chunk-B2IOB2V3.js} +7 -7
- package/dist/_node-chunks/{chunk-4LPAWP5S.js → chunk-BBD2KUV4.js} +19 -19
- package/dist/_node-chunks/{chunk-DVLFCSDG.js → chunk-BFZG4UTW.js} +7 -7
- package/dist/_node-chunks/{chunk-SSZ5REKS.js → chunk-BRD332PB.js} +8 -8
- package/dist/_node-chunks/{chunk-B5VFV3ZW.js → chunk-BTFSFATC.js} +7 -7
- package/dist/_node-chunks/{chunk-FNGLVURC.js → chunk-BV3QRFE6.js} +6 -6
- package/dist/_node-chunks/{chunk-FJDJE7XC.js → chunk-CGXW2HFE.js} +6 -6
- package/dist/_node-chunks/{chunk-XD5SYXAU.js → chunk-CK4EHW3K.js} +23 -23
- package/dist/_node-chunks/{chunk-RMLENEZC.js → chunk-D6B2DRQZ.js} +8 -8
- package/dist/_node-chunks/{chunk-K3I3G4VL.js → chunk-E2XKJLXK.js} +7 -7
- package/dist/_node-chunks/{chunk-DD2S4BFV.js → chunk-E4C2H45J.js} +6 -6
- package/dist/_node-chunks/{chunk-74IEHSIR.js → chunk-E4TBS4MV.js} +8 -8
- package/dist/_node-chunks/{chunk-WBTLBIED.js → chunk-E6KXSYWR.js} +6 -6
- package/dist/_node-chunks/{chunk-KN2S7JF2.js → chunk-ES5QZBSB.js} +6 -6
- package/dist/_node-chunks/{chunk-DIUBMAMV.js → chunk-EWAGCBER.js} +8 -8
- package/dist/_node-chunks/{chunk-MZMPFII2.js → chunk-F2LQJXAB.js} +6 -6
- package/dist/_node-chunks/{chunk-BOUA7OB7.js → chunk-F4Q7OCCN.js} +8 -8
- package/dist/_node-chunks/{chunk-YYIZ2PC4.js → chunk-FA36CEN4.js} +6 -6
- package/dist/_node-chunks/{chunk-7XCJ7RAJ.js → chunk-GR65OLAH.js} +7 -7
- package/dist/_node-chunks/{chunk-2IJCISIB.js → chunk-GS4VNNSS.js} +6 -6
- package/dist/_node-chunks/{chunk-YU2WFBFL.js → chunk-HCX5R46Q.js} +7 -7
- package/dist/_node-chunks/{chunk-LGUMVMBA.js → chunk-HWY2CAUH.js} +6 -6
- package/dist/_node-chunks/{chunk-B3LK7C7B.js → chunk-I3DKGHVD.js} +9 -9
- package/dist/_node-chunks/{chunk-NHIRHARE.js → chunk-J64XMUPF.js} +10 -10
- package/dist/_node-chunks/{chunk-KZBZYQTZ.js → chunk-JJNO3SFI.js} +9 -9
- package/dist/_node-chunks/{chunk-X2KWNNFB.js → chunk-KCAPE7OJ.js} +6 -6
- package/dist/_node-chunks/{chunk-X3E55W5S.js → chunk-KQFHT7SW.js} +6 -6
- package/dist/_node-chunks/{chunk-4GD7MMLJ.js → chunk-L5CY6HKG.js} +7 -7
- package/dist/_node-chunks/{chunk-JEEXR245.js → chunk-LCXIUTOU.js} +7 -7
- package/dist/_node-chunks/{chunk-6Y6RBJD7.js → chunk-LSP54OYM.js} +8 -8
- package/dist/_node-chunks/{chunk-5ZLOPVTG.js → chunk-M2QB5ALN.js} +6 -6
- package/dist/_node-chunks/{chunk-2NWHHNNI.js → chunk-MCZZMBPA.js} +6 -6
- package/dist/_node-chunks/{chunk-V2JDVM46.js → chunk-MDGNN3FJ.js} +6 -6
- package/dist/_node-chunks/{chunk-MRZD5SBV.js → chunk-MHDKWHOA.js} +6 -6
- package/dist/_node-chunks/{chunk-NYRUWAL3.js → chunk-MMFUHYSU.js} +6 -6
- package/dist/_node-chunks/{chunk-FAZ3MUOI.js → chunk-N4FLP7AO.js} +7 -7
- package/dist/_node-chunks/{chunk-UIFLXDUL.js → chunk-NDGTNFUN.js} +12 -12
- package/dist/_node-chunks/{chunk-STRSG3GT.js → chunk-NYWD5LYM.js} +6 -6
- package/dist/_node-chunks/{chunk-WHZWLJGO.js → chunk-OB2XHL53.js} +27 -27
- package/dist/_node-chunks/{chunk-HP5UY6OY.js → chunk-OSJFTZ5N.js} +6 -6
- package/dist/_node-chunks/{chunk-3XDIBUGD.js → chunk-OTFIQXHR.js} +8 -8
- package/dist/_node-chunks/{chunk-QDLR4JF5.js → chunk-PHXCOTMO.js} +10 -10
- package/dist/_node-chunks/{chunk-OS5LQEC6.js → chunk-Q33BYVLY.js} +7 -7
- package/dist/_node-chunks/{chunk-KINEBDMM.js → chunk-QQXFB4YA.js} +9 -9
- package/dist/_node-chunks/{chunk-AU3SF2WM.js → chunk-QZVFIEOM.js} +6 -6
- package/dist/_node-chunks/{chunk-2APY2YSW.js → chunk-RCPKLP3X.js} +7 -7
- package/dist/_node-chunks/{chunk-OQ4NCWE4.js → chunk-RECGEABN.js} +7 -7
- package/dist/_node-chunks/{chunk-653BSJIX.js → chunk-SAAQFJL4.js} +6 -6
- package/dist/_node-chunks/{chunk-UMZSNFWM.js → chunk-SDXU22OH.js} +6 -6
- package/dist/_node-chunks/{chunk-XBXGLD3K.js → chunk-SJZQ44OR.js} +6 -6
- package/dist/_node-chunks/{chunk-A4YELYR3.js → chunk-SR3BCYEH.js} +6 -6
- package/dist/_node-chunks/{chunk-INEYTOWF.js → chunk-SUJXQU74.js} +8 -8
- package/dist/_node-chunks/{chunk-A2UMIN5B.js → chunk-T2I453AJ.js} +7 -7
- package/dist/_node-chunks/{chunk-XH6TDVML.js → chunk-TYCDPVIH.js} +6 -6
- package/dist/_node-chunks/{chunk-WS367FSJ.js → chunk-TZ2TZW2K.js} +6 -6
- package/dist/_node-chunks/{chunk-SBQT3LMM.js → chunk-U47PBQZ3.js} +10 -10
- package/dist/_node-chunks/chunk-UGFY5LEG.js +18 -0
- package/dist/_node-chunks/{chunk-U5QMVW3H.js → chunk-UKEJISQU.js} +7 -7
- package/dist/_node-chunks/{chunk-YGXJOSRU.js → chunk-UM5G27IC.js} +7 -7
- package/dist/_node-chunks/{chunk-WEW23EEE.js → chunk-UO5ZOCSQ.js} +8 -8
- package/dist/_node-chunks/{chunk-HUFAUSEX.js → chunk-UW35FCXF.js} +6 -6
- package/dist/_node-chunks/{chunk-MOITZTEA.js → chunk-V45RRBTK.js} +8 -8
- package/dist/_node-chunks/{chunk-OIIORQX5.js → chunk-VBSVLIXU.js} +6 -6
- package/dist/_node-chunks/{chunk-7JA2DMCJ.js → chunk-VJSOHPVD.js} +6 -6
- package/dist/_node-chunks/{chunk-EGS2SAD2.js → chunk-VMUXW2E2.js} +12 -12
- package/dist/_node-chunks/{chunk-IR34HUSL.js → chunk-VN3A5CEH.js} +7 -7
- package/dist/_node-chunks/{chunk-XWQEWRFD.js → chunk-VNXE7UJL.js} +6 -6
- package/dist/_node-chunks/chunk-VRJJ43P2.js +11 -0
- package/dist/_node-chunks/{chunk-HENM5ZK3.js → chunk-WCJUS7OC.js} +7 -7
- package/dist/_node-chunks/{chunk-UXW4I2CN.js → chunk-WHDCECIV.js} +7 -7
- package/dist/_node-chunks/{chunk-GKTCJPLL.js → chunk-WMBMSNB7.js} +6 -6
- package/dist/_node-chunks/{chunk-KXDJ77EW.js → chunk-WMQ2VCTF.js} +7 -7
- package/dist/_node-chunks/{chunk-AFKKN27O.js → chunk-XUHEL63G.js} +6 -6
- package/dist/_node-chunks/{chunk-5TPSYG4L.js → chunk-YLKS7U3M.js} +8 -8
- package/dist/_node-chunks/{chunk-TLVEPWBN.js → chunk-YTBTCM22.js} +6 -6
- package/dist/_node-chunks/{chunk-NYAWUR6L.js → chunk-YV2QBXU6.js} +8 -8
- package/dist/_node-chunks/{chunk-J3M3X7GO.js → chunk-ZPPVG262.js} +6 -6
- package/dist/_node-chunks/{chunk-PDCSUZ4L.js → chunk-ZZNBVMBU.js} +7 -7
- package/dist/_node-chunks/dist-VFUGPNLK.js +16 -0
- package/dist/_node-chunks/{globby-HRQV5N3V.js → globby-N7LO32D3.js} +10 -10
- package/dist/_node-chunks/{jiti-WE7NHS2Y.js → jiti-SJDZ7LQB.js} +7 -7
- package/dist/_node-chunks/{lib-7MVA6CTW.js → lib-4HD6QL5R.js} +7 -7
- package/dist/_node-chunks/{local-runtime-KTI3DH6X.js → local-runtime-RW6AAWSX.js} +20 -20
- package/dist/_node-chunks/{mdx-plugin-2E3SW5TL.js → mdx-plugin-BKWCT6CB.js} +14 -14
- package/dist/_node-chunks/{monorepo-MWAMFHKY.js → monorepo-ZFJ6HM34.js} +11 -11
- package/dist/_node-chunks/{monorepo-optimized-tests-relaxed-limits-no-story-deletion-MGORG6W7.js → monorepo-optimized-tests-relaxed-limits-no-story-deletion-C3EW4VJW.js} +11 -11
- package/dist/_node-chunks/optimized-tests-LVKXZ3HQ.js +22 -0
- package/dist/_node-chunks/{pattern-copy-play-QTQOY7E7.js → pattern-copy-play-2ZMJNCBS.js} +9 -9
- package/dist/_node-chunks/postinstallAddon-I6MAL6PW.js +20 -0
- package/dist/_node-chunks/{rehype-external-links-T7DZNKMB.js → rehype-external-links-RT5Z62RV.js} +9 -9
- package/dist/_node-chunks/{rehype-slug-CSHI5WYI.js → rehype-slug-H5TWHJ6G.js} +9 -9
- package/dist/_node-chunks/{relaxed-limits-RAZD36YR.js → relaxed-limits-DYLWZGE4.js} +11 -11
- package/dist/_node-chunks/{run-S6XSLPEB.js → run-65LLGSVR.js} +13 -13
- package/dist/_node-chunks/{run-KJ3Z2TTY.js → run-BQQLK454.js} +17 -17
- package/dist/_node-chunks/session-id-6Z2RXBTG.js +23 -0
- package/dist/_node-chunks/{setup-35J66GFB.js → setup-NEO7XX66.js} +8 -8
- package/dist/_node-chunks/{vitest.config.4.template-Z7OCRDKD.js → vitest.config.4.template-6P3FZQTY.js} +7 -7
- package/dist/addon-a11y/manager.js +24 -18
- package/dist/addon-a11y/preset.js +7 -7
- package/dist/addon-docs/blocks.js +28 -21
- package/dist/addon-docs/manager.js +1 -1
- package/dist/addon-docs/preset.js +10 -10
- package/dist/addon-links/preview.d.ts +1 -1
- package/dist/addon-mcp/preset.js +8 -8
- package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +2 -2
- package/dist/addon-pseudo-states/manager.js +2 -2
- package/dist/addon-pseudo-states/preview.d.ts +1 -1
- package/dist/addon-themes/manager.js +1 -1
- package/dist/addon-themes/postinstall.js +7 -7
- package/dist/addon-vitest/constants.js +8 -8
- package/dist/addon-vitest/manager.js +7 -7
- package/dist/addon-vitest/node/coverage-reporter.js +8 -8
- package/dist/addon-vitest/node/vitest.js +16 -16
- package/dist/addon-vitest/postinstall.js +10 -10
- package/dist/addon-vitest/preset.js +14 -14
- package/dist/addon-vitest/vitest-plugin/global-setup.js +7 -7
- package/dist/addon-vitest/vitest-plugin/index.js +13 -13
- package/dist/babel/index.js +12 -12
- package/dist/bin/core.js +58 -58
- package/dist/bin/dispatcher.js +10 -10
- package/dist/bin/loader.js +8 -8
- package/dist/builder-vite/index.js +15 -15
- package/dist/builder-vite/preset.js +13 -13
- package/dist/{chunk-BYnH2sbb.d.ts → chunk-CZHsX9Zo.d.ts} +1 -1
- package/dist/{chunk-DvufcbCc.d.ts → chunk-Ce6uhJuR.d.ts} +1 -1
- package/dist/{chunk-B2xylxt5.d.ts → chunk-DROZ9oel.d.ts} +7 -271
- package/dist/{chunk-DIz17UEJ.d.ts → chunk-DpljNJTz.d.ts} +1 -1
- package/dist/{chunk-DF6btpT3.d.ts → chunk-Jf7j2Ot0.d.ts} +1 -1
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +24 -24
- package/dist/cli/tools/sdk/child-host.d.ts +1 -1
- package/dist/cli/tools/sdk/child-host.js +17 -17
- package/dist/cli/tools/sdk/index.d.ts +1 -1
- package/dist/cli/tools/sdk/index.js +18 -18
- package/dist/cli-commands/bin/index.js +7 -7
- package/dist/common/index.d.ts +2 -2
- package/dist/common/index.js +37 -37
- package/dist/components/index.js +40 -40
- package/dist/core-events/index.d.ts +1 -1
- package/dist/core-server/index.d.ts +2 -2
- package/dist/core-server/index.js +71 -71
- package/dist/core-server/presets/common-manager.js +43 -37
- package/dist/core-server/presets/common-override-preset.js +9 -9
- package/dist/core-server/presets/common-preset.js +40 -40
- package/dist/create/bin/index.js +7 -7
- package/dist/create/index.js +15 -15
- package/dist/csf/index.d.ts +2 -2
- package/dist/csf-tools/index.js +12 -12
- package/dist/manager/_manager-chunks/{globals-runtime-eLPTIfX-.js → globals-runtime-ALpzCL93.js} +2 -2
- package/dist/manager/_manager-chunks/globals-runtime-BMCaBukU.js +413 -0
- package/dist/manager/_manager-chunks/globals-runtime-BcNHymiF.js +1960 -0
- package/dist/manager/_manager-chunks/globals-runtime-BgVwdR45.js +1396 -0
- package/dist/manager/_manager-chunks/globals-runtime-Bke4A4DG.js +2093 -0
- package/dist/manager/_manager-chunks/{globals-runtime-DkAPXCvc.js → globals-runtime-Bon7UvQk.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-FC201B7s.js → globals-runtime-CF4o9_wT.js} +1 -1
- package/dist/manager/_manager-chunks/{globals-runtime-BmphMP6z.js → globals-runtime-CTB3rhS1.js} +4 -4
- package/dist/manager/_manager-chunks/globals-runtime-CUBVmgcG.js +3414 -0
- package/dist/manager/_manager-chunks/{globals-runtime-C9P2ZbMM.js → globals-runtime-CXKb33hg.js} +10 -10
- package/dist/manager/_manager-chunks/globals-runtime-CiLcg4q9.js +41 -0
- package/dist/manager/_manager-chunks/{globals-runtime-dKGpUUSb.js → globals-runtime-Cr3nYYcT.js} +241 -16
- package/dist/manager/_manager-chunks/globals-runtime-DCOX9nD5.js +462 -0
- package/dist/manager/_manager-chunks/globals-runtime-DDOIxI_l.js +1584 -0
- package/dist/manager/_manager-chunks/{globals-runtime-q5R9dawi.js → globals-runtime-DMvB3-IM.js} +89 -88
- package/dist/manager/_manager-chunks/{globals-runtime-C02fvgcd.js → globals-runtime-DW1HVuLt.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-ZHrQFa3-.js → globals-runtime-D_YKR9nf.js} +3 -3
- package/dist/manager/_manager-chunks/{globals-runtime-8HkdnU2F.js → globals-runtime-DqNrRmOM.js} +4 -4
- package/dist/manager/_manager-chunks/{globals-runtime-BvM-NY2g.js → globals-runtime-m07udJ_K.js} +2 -2
- package/dist/manager/_manager-chunks/{globals-runtime-DuLFjsF4.js → globals-runtime-zVfMhZAt.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-B-eSQdxk.js +691 -0
- package/dist/manager/_manager-chunks/{runtime-DdCaBowH.js → runtime-Bldwclun.js} +6 -6
- package/dist/manager/_manager-chunks/{runtime-CE2sHVqs.js → runtime-Cdz2BHhM.js} +31 -31
- package/dist/manager/_manager-chunks/{runtime-BdLdsHca.js → runtime-Cmu7D8A0.js} +210 -235
- package/dist/manager/_manager-chunks/{runtime-CKP1i0--.js → runtime-CuJiHYCp.js} +1 -1
- package/dist/manager/_manager-chunks/runtime-DFhLVh8q.js +456 -0
- package/dist/manager/_manager-chunks/{runtime-50_aob4S.js → runtime-DGHNKNQl.js} +2 -2
- package/dist/manager/_manager-chunks/{runtime-BGvLm94o.js → runtime-DrjpEyLM.js} +3 -3
- package/dist/manager/_manager-chunks/{runtime-B9QzcYO3.js → runtime-a5zd7km2.js} +3 -3
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager/globals.d.ts +1 -1
- package/dist/manager/globals.js +1 -1
- package/dist/manager/runtime.js +1 -1
- package/dist/manager-api/index.d.ts +1 -1
- package/dist/manager-api/index.js +2 -2
- package/dist/manager-errors.d.ts +1 -1
- package/dist/mcp/index.js +8 -8
- package/dist/mocking-utils/index.js +9 -9
- package/dist/nextjs-vite/node/index.js +7 -7
- package/dist/nextjs-vite/preset.js +11 -11
- package/dist/nextjs-vite/vite-plugin/index.js +7 -7
- package/dist/nextjs-vite-plugin/index.js +8 -8
- package/dist/nextjs-vite-plugin/mocks/storybook.global.js +8 -8
- package/dist/node-logger/index.js +9 -9
- package/dist/oxc-parser/index.js +10 -10
- package/dist/oxc-parser/worker.js +10 -10
- package/dist/preview-api/index.d.ts +1 -1
- package/dist/preview-errors.d.ts +1 -1
- package/dist/react/docgen/docgen-worker.js +12 -12
- package/dist/react/preset.js +14 -14
- package/dist/react-native/bin/get-stories.js +8 -8
- package/dist/react-native/metro/node.js +9 -9
- package/dist/react-native/metro/withStorybook.js +10 -10
- package/dist/react-native/scripts/generate.js +8 -8
- package/dist/react-vite/node/index.js +7 -7
- package/dist/react-vite/preset.js +7 -7
- package/dist/server-errors.d.ts +1 -1
- package/dist/server-errors.js +9 -9
- package/dist/shared/open-service/index.d.ts +1 -1
- package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +9 -9
- package/dist/telemetry/index.js +45 -45
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
- package/dist/_node-chunks/chunk-7XCEKQGV.js +0 -18
- package/dist/_node-chunks/chunk-HQM4ISVU.js +0 -11
- package/dist/_node-chunks/dist-CNA633FI.js +0 -16
- package/dist/_node-chunks/optimized-tests-IAX6YURR.js +0 -22
- package/dist/_node-chunks/postinstallAddon-ROH2TBJX.js +0 -20
- package/dist/_node-chunks/session-id-GM226DGP.js +0 -23
- package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +0 -3389
- package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +0 -5357
- package/dist/manager/_manager-chunks/runtime-89Cb0A8U.js +0 -998
- package/dist/manager/_manager-chunks/runtime-wL4UO7YO.js +0 -452
|
@@ -1,452 +0,0 @@
|
|
|
1
|
-
import { n as __esmMin } from "./runtime-EITvVbkG.js";
|
|
2
|
-
import { E as logger, Rn as icons_exports, Sr as useState, T as init_client_logger, _t as useTheme, ar as createContext, cr as forwardRef, dr as memo, gr as useId, ht as init_theming, lr as init__storybook_global_react, nr as _storybook_global_react_default, pr as useContext, ut as ThemeProvider, w as deprecate, zn as init_icons } from "./runtime-89Cb0A8U.js";
|
|
3
|
-
import { _ as TooltipTrigger, b as init_TooltipRoot, d as TooltipPopup, f as init_TooltipPopup, g as init_TooltipPortal, h as TooltipPortal, m as init_TooltipPositioner, p as TooltipPositioner, v as init_TooltipTrigger, y as TooltipRoot } from "./runtime-50_aob4S.js";
|
|
4
|
-
//#region src/components/components/icon/icon.module.css
|
|
5
|
-
var id$1, icon_module_default;
|
|
6
|
-
function init_icon_module() {
|
|
7
|
-
return (init_icon_module = __esmMin((() => {
|
|
8
|
-
id$1 = "core/src/components/components/icon/icon.module.css";
|
|
9
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id$1}"]`)) {
|
|
10
|
-
const style = document.createElement("style");
|
|
11
|
-
style.setAttribute("data-fb-css", id$1);
|
|
12
|
-
style.textContent = ".fb-SpsHCG-svg{shape-rendering:inherit;vertical-align:middle;fill:currentColor;display:inline-block;& path{fill:currentColor}}";
|
|
13
|
-
document.head.appendChild(style);
|
|
14
|
-
}
|
|
15
|
-
icon_module_default = { "svg": "fb-SpsHCG-svg" };
|
|
16
|
-
})))();
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
//#region src/components/components/icon/icon.tsx
|
|
20
|
-
var NEW_ICON_MAP, Icons, icons;
|
|
21
|
-
function init_icon() {
|
|
22
|
-
return (init_icon = __esmMin((() => {
|
|
23
|
-
init__storybook_global_react();
|
|
24
|
-
init_client_logger();
|
|
25
|
-
init_icons();
|
|
26
|
-
init_icon_module();
|
|
27
|
-
NEW_ICON_MAP = icons_exports;
|
|
28
|
-
Icons = ({ icon, useSymbol, __suppressDeprecationWarning = false, ...props }) => {
|
|
29
|
-
if (!__suppressDeprecationWarning) deprecate(`Use of the deprecated Icons ${`(${icon})` || ""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://forkbook.ljk.dev/docs/migration#icons-is-deprecated`);
|
|
30
|
-
const findIcon = icons[icon] || null;
|
|
31
|
-
if (!findIcon) {
|
|
32
|
-
logger.warn(`Use of an unknown prop ${`(${icon})` || ""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://forkbook.ljk.dev/docs/migration#icons-is-deprecated`);
|
|
33
|
-
return null;
|
|
34
|
-
}
|
|
35
|
-
const Icon = NEW_ICON_MAP[findIcon];
|
|
36
|
-
return /* @__PURE__ */ _storybook_global_react_default.createElement(Icon, props);
|
|
37
|
-
};
|
|
38
|
-
memo(function Symbols({ icons: keys = Object.keys(icons) }) {
|
|
39
|
-
return /* @__PURE__ */ _storybook_global_react_default.createElement("svg", {
|
|
40
|
-
className: icon_module_default.svg,
|
|
41
|
-
viewBox: "0 0 14 14",
|
|
42
|
-
style: {
|
|
43
|
-
position: "absolute",
|
|
44
|
-
width: 0,
|
|
45
|
-
height: 0
|
|
46
|
-
},
|
|
47
|
-
"data-chromatic": "ignore"
|
|
48
|
-
}, keys.map((key) => /* @__PURE__ */ _storybook_global_react_default.createElement("symbol", {
|
|
49
|
-
id: `icon--${key}`,
|
|
50
|
-
key
|
|
51
|
-
}, icons[key])));
|
|
52
|
-
});
|
|
53
|
-
icons = {
|
|
54
|
-
user: "UserIcon",
|
|
55
|
-
useralt: "UserAltIcon",
|
|
56
|
-
useradd: "UserAddIcon",
|
|
57
|
-
users: "UsersIcon",
|
|
58
|
-
profile: "ProfileIcon",
|
|
59
|
-
facehappy: "FaceHappyIcon",
|
|
60
|
-
faceneutral: "FaceNeutralIcon",
|
|
61
|
-
facesad: "FaceSadIcon",
|
|
62
|
-
accessibility: "AccessibilityIcon",
|
|
63
|
-
accessibilityalt: "AccessibilityAltIcon",
|
|
64
|
-
accessibilityignored: "AccessibilityIgnoredIcon",
|
|
65
|
-
arrowup: "ChevronUpIcon",
|
|
66
|
-
arrowdown: "ChevronDownIcon",
|
|
67
|
-
arrowleft: "ChevronLeftIcon",
|
|
68
|
-
arrowright: "ChevronRightIcon",
|
|
69
|
-
arrowupalt: "ArrowUpIcon",
|
|
70
|
-
arrowdownalt: "ArrowDownIcon",
|
|
71
|
-
arrowleftalt: "ArrowLeftIcon",
|
|
72
|
-
arrowrightalt: "ArrowRightIcon",
|
|
73
|
-
arrowtopleft: "ArrowTopLeftIcon",
|
|
74
|
-
arrowtopright: "ArrowTopRightIcon",
|
|
75
|
-
arrowbottomleft: "ArrowBottomLeftIcon",
|
|
76
|
-
arrowbottomright: "ArrowBottomRightIcon",
|
|
77
|
-
arrowsolidup: "ArrowSolidUpIcon",
|
|
78
|
-
arrowsoliddown: "ArrowSolidDownIcon",
|
|
79
|
-
arrowsolidleft: "ArrowSolidLeftIcon",
|
|
80
|
-
arrowsolidright: "ArrowSolidRightIcon",
|
|
81
|
-
chevronsmallup: "ChevronSmallUpIcon",
|
|
82
|
-
chevronsmalldown: "ChevronSmallDownIcon",
|
|
83
|
-
chevronsmallleft: "ChevronSmallLeftIcon",
|
|
84
|
-
chevronsmallright: "ChevronSmallRightIcon",
|
|
85
|
-
expandalt: "ExpandAltIcon",
|
|
86
|
-
collapse: "CollapseIcon",
|
|
87
|
-
expand: "ExpandIcon",
|
|
88
|
-
unfold: "UnfoldIcon",
|
|
89
|
-
transfer: "TransferIcon",
|
|
90
|
-
redirect: "RedirectIcon",
|
|
91
|
-
jumpto: "JumpToIcon",
|
|
92
|
-
popout: "PopOutIcon",
|
|
93
|
-
undo: "UndoIcon",
|
|
94
|
-
reply: "ReplyIcon",
|
|
95
|
-
sync: "SyncIcon",
|
|
96
|
-
upload: "UploadIcon",
|
|
97
|
-
download: "DownloadIcon",
|
|
98
|
-
save: "SaveIcon",
|
|
99
|
-
back: "BackIcon",
|
|
100
|
-
proceed: "ProceedIcon",
|
|
101
|
-
refresh: "RefreshIcon",
|
|
102
|
-
globe: "GlobeIcon",
|
|
103
|
-
compass: "CompassIcon",
|
|
104
|
-
direction: "DirectionIcon",
|
|
105
|
-
location: "LocationIcon",
|
|
106
|
-
pin: "PinIcon",
|
|
107
|
-
time: "TimeIcon",
|
|
108
|
-
dashboard: "DashboardIcon",
|
|
109
|
-
timer: "TimerIcon",
|
|
110
|
-
home: "HomeIcon",
|
|
111
|
-
admin: "AdminIcon",
|
|
112
|
-
info: "InfoIcon",
|
|
113
|
-
question: "QuestionIcon",
|
|
114
|
-
support: "SupportIcon",
|
|
115
|
-
bug: "BugIcon",
|
|
116
|
-
alert: "AlertIcon",
|
|
117
|
-
alertalt: "AlertAltIcon",
|
|
118
|
-
email: "EmailIcon",
|
|
119
|
-
phone: "PhoneIcon",
|
|
120
|
-
link: "LinkIcon",
|
|
121
|
-
unlink: "LinkBrokenIcon",
|
|
122
|
-
bell: "BellIcon",
|
|
123
|
-
rss: "RSSIcon",
|
|
124
|
-
sharealt: "ShareAltIcon",
|
|
125
|
-
share: "ShareIcon",
|
|
126
|
-
circle: "CircleIcon",
|
|
127
|
-
circlehollow: "CircleHollowIcon",
|
|
128
|
-
diamond: "DiamondIcon",
|
|
129
|
-
bookmarkhollow: "BookmarkHollowIcon",
|
|
130
|
-
bookmark: "BookmarkIcon",
|
|
131
|
-
hearthollow: "HeartHollowIcon",
|
|
132
|
-
heart: "HeartIcon",
|
|
133
|
-
starhollow: "StarHollowIcon",
|
|
134
|
-
star: "StarIcon",
|
|
135
|
-
certificate: "CertificateIcon",
|
|
136
|
-
verified: "VerifiedIcon",
|
|
137
|
-
thumbsup: "ThumbsUpIcon",
|
|
138
|
-
shield: "ShieldIcon",
|
|
139
|
-
basket: "BasketIcon",
|
|
140
|
-
beaker: "BeakerIcon",
|
|
141
|
-
hourglass: "HourglassIcon",
|
|
142
|
-
flag: "FlagIcon",
|
|
143
|
-
gift: "GiftIcon",
|
|
144
|
-
sticker: "StickerIcon",
|
|
145
|
-
cloudhollow: "CloudHollowIcon",
|
|
146
|
-
cloud: "CloudIcon",
|
|
147
|
-
edit: "EditIcon",
|
|
148
|
-
editor: "EditorIcon",
|
|
149
|
-
cog: "CogIcon",
|
|
150
|
-
nut: "NutIcon",
|
|
151
|
-
wrench: "WrenchIcon",
|
|
152
|
-
wand: "WandIcon",
|
|
153
|
-
ellipsis: "EllipsisIcon",
|
|
154
|
-
check: "CheckIcon",
|
|
155
|
-
checklist: "ChecklistIcon",
|
|
156
|
-
form: "FormIcon",
|
|
157
|
-
batchdeny: "BatchDenyIcon",
|
|
158
|
-
batchaccept: "BatchAcceptIcon",
|
|
159
|
-
controls: "ControlsIcon",
|
|
160
|
-
plus: "PlusIcon",
|
|
161
|
-
closeAlt: "CloseAltIcon",
|
|
162
|
-
cross: "CrossIcon",
|
|
163
|
-
trash: "TrashIcon",
|
|
164
|
-
pinalt: "PinAltIcon",
|
|
165
|
-
unpin: "UnpinIcon",
|
|
166
|
-
add: "AddIcon",
|
|
167
|
-
subtract: "SubtractIcon",
|
|
168
|
-
close: "CloseIcon",
|
|
169
|
-
delete: "DeleteIcon",
|
|
170
|
-
passed: "PassedIcon",
|
|
171
|
-
changed: "ChangedIcon",
|
|
172
|
-
failed: "FailedIcon",
|
|
173
|
-
status: "StatusIcon",
|
|
174
|
-
statuspass: "StatusPassIcon",
|
|
175
|
-
statusfail: "StatusFailIcon",
|
|
176
|
-
statuswarn: "StatusWarnIcon",
|
|
177
|
-
statusnew: "StatusAddIcon",
|
|
178
|
-
clear: "ClearIcon",
|
|
179
|
-
sweep: "SweepIcon",
|
|
180
|
-
comment: "CommentIcon",
|
|
181
|
-
commentadd: "CommentAddIcon",
|
|
182
|
-
requestchange: "RequestChangeIcon",
|
|
183
|
-
comments: "CommentsIcon",
|
|
184
|
-
chat: "ChatIcon",
|
|
185
|
-
lock: "LockIcon",
|
|
186
|
-
unlock: "UnlockIcon",
|
|
187
|
-
key: "KeyIcon",
|
|
188
|
-
command: "CommandIcon",
|
|
189
|
-
outbox: "OutboxIcon",
|
|
190
|
-
credit: "CreditIcon",
|
|
191
|
-
button: "ButtonIcon",
|
|
192
|
-
type: "TypeIcon",
|
|
193
|
-
pointerdefault: "PointerDefaultIcon",
|
|
194
|
-
pointerhand: "PointerHandIcon",
|
|
195
|
-
browser: "BrowserIcon",
|
|
196
|
-
tablet: "TabletIcon",
|
|
197
|
-
mobile: "MobileIcon",
|
|
198
|
-
watch: "WatchIcon",
|
|
199
|
-
sidebar: "SidebarIcon",
|
|
200
|
-
sidebaralt: "SidebarAltIcon",
|
|
201
|
-
sidebaralttoggle: "SidebarAltToggleIcon",
|
|
202
|
-
sidebartoggle: "SidebarToggleIcon",
|
|
203
|
-
bottombar: "BottomBarIcon",
|
|
204
|
-
bottombartoggle: "BottomBarToggleIcon",
|
|
205
|
-
cpu: "CPUIcon",
|
|
206
|
-
database: "DatabaseIcon",
|
|
207
|
-
memory: "MemoryIcon",
|
|
208
|
-
structure: "StructureIcon",
|
|
209
|
-
box: "BoxIcon",
|
|
210
|
-
power: "PowerIcon",
|
|
211
|
-
photo: "PhotoIcon",
|
|
212
|
-
component: "ComponentIcon",
|
|
213
|
-
grid: "GridIcon",
|
|
214
|
-
gridalt: "GridAltIcon",
|
|
215
|
-
outline: "OutlineIcon",
|
|
216
|
-
photodrag: "PhotoDragIcon",
|
|
217
|
-
photostabilize: "PhotoStabilizeIcon",
|
|
218
|
-
drag: "DragIcon",
|
|
219
|
-
search: "SearchIcon",
|
|
220
|
-
zoom: "ZoomIcon",
|
|
221
|
-
zoomout: "ZoomOutIcon",
|
|
222
|
-
zoomreset: "ZoomResetIcon",
|
|
223
|
-
eye: "EyeIcon",
|
|
224
|
-
eyeclose: "EyeCloseIcon",
|
|
225
|
-
lightning: "LightningIcon",
|
|
226
|
-
lightningoff: "LightningOffIcon",
|
|
227
|
-
contrast: "ContrastIcon",
|
|
228
|
-
contrastignored: "ContrastIgnoredIcon",
|
|
229
|
-
switchalt: "SwitchAltIcon",
|
|
230
|
-
mirror: "MirrorIcon",
|
|
231
|
-
grow: "GrowIcon",
|
|
232
|
-
paintbrush: "PaintBrushIcon",
|
|
233
|
-
paintbrushalt: "PaintBrushAltIcon",
|
|
234
|
-
ruler: "RulerIcon",
|
|
235
|
-
stop: "StopIcon",
|
|
236
|
-
camera: "CameraIcon",
|
|
237
|
-
camerastabilize: "CameraStabilizeIcon",
|
|
238
|
-
video: "VideoIcon",
|
|
239
|
-
speaker: "SpeakerIcon",
|
|
240
|
-
play: "PlayIcon",
|
|
241
|
-
playback: "PlayBackIcon",
|
|
242
|
-
playnext: "PlayNextIcon",
|
|
243
|
-
playhollow: "PlayHollowIcon",
|
|
244
|
-
playallhollow: "PlayAllHollowIcon",
|
|
245
|
-
rewind: "RewindIcon",
|
|
246
|
-
fastforward: "FastForwardIcon",
|
|
247
|
-
stopalt: "StopAltIcon",
|
|
248
|
-
stopalthollow: "StopAltHollowIcon",
|
|
249
|
-
sidebyside: "SideBySideIcon",
|
|
250
|
-
stacked: "StackedIcon",
|
|
251
|
-
sun: "SunIcon",
|
|
252
|
-
moon: "MoonIcon",
|
|
253
|
-
book: "BookIcon",
|
|
254
|
-
document: "DocumentIcon",
|
|
255
|
-
copy: "CopyIcon",
|
|
256
|
-
category: "CategoryIcon",
|
|
257
|
-
folder: "FolderIcon",
|
|
258
|
-
files: "FilesIcon",
|
|
259
|
-
print: "PrintIcon",
|
|
260
|
-
graphline: "GraphLineIcon",
|
|
261
|
-
calendar: "CalendarIcon",
|
|
262
|
-
graphbar: "GraphBarIcon",
|
|
263
|
-
menu: "MenuIcon",
|
|
264
|
-
menualt: "MenuIcon",
|
|
265
|
-
filter: "FilterIcon",
|
|
266
|
-
sortup: "SortUpIcon",
|
|
267
|
-
sortdown: "SortDownIcon",
|
|
268
|
-
docchart: "DocChartIcon",
|
|
269
|
-
doclist: "DocListIcon",
|
|
270
|
-
markup: "MarkupIcon",
|
|
271
|
-
bold: "BoldIcon",
|
|
272
|
-
italic: "ItalicIcon",
|
|
273
|
-
alignleft: "AlignLeftIcon",
|
|
274
|
-
alignright: "AlignRightIcon",
|
|
275
|
-
paperclip: "PaperClipIcon",
|
|
276
|
-
listordered: "ListOrderedIcon",
|
|
277
|
-
listunordered: "ListUnorderedIcon",
|
|
278
|
-
paragraph: "ParagraphIcon",
|
|
279
|
-
markdown: "MarkdownIcon",
|
|
280
|
-
repository: "RepoIcon",
|
|
281
|
-
commit: "CommitIcon",
|
|
282
|
-
branch: "BranchIcon",
|
|
283
|
-
pullrequest: "PullRequestIcon",
|
|
284
|
-
merge: "MergeIcon",
|
|
285
|
-
apple: "AppleIcon",
|
|
286
|
-
linux: "LinuxIcon",
|
|
287
|
-
ubuntu: "UbuntuIcon",
|
|
288
|
-
windows: "WindowsIcon",
|
|
289
|
-
storybook: "StorybookIcon",
|
|
290
|
-
azuredevops: "AzureDevOpsIcon",
|
|
291
|
-
bitbucket: "BitbucketIcon",
|
|
292
|
-
chrome: "ChromeIcon",
|
|
293
|
-
chromatic: "ChromaticIcon",
|
|
294
|
-
componentdriven: "ComponentDrivenIcon",
|
|
295
|
-
discord: "DiscordIcon",
|
|
296
|
-
facebook: "FacebookIcon",
|
|
297
|
-
figma: "FigmaIcon",
|
|
298
|
-
gdrive: "GDriveIcon",
|
|
299
|
-
github: "GithubIcon",
|
|
300
|
-
gitlab: "GitlabIcon",
|
|
301
|
-
google: "GoogleIcon",
|
|
302
|
-
graphql: "GraphqlIcon",
|
|
303
|
-
linkedin: "LinkedinIcon",
|
|
304
|
-
medium: "MediumIcon",
|
|
305
|
-
redux: "ReduxIcon",
|
|
306
|
-
twitter: "TwitterIcon",
|
|
307
|
-
x: "XIcon",
|
|
308
|
-
youtube: "YoutubeIcon",
|
|
309
|
-
vscode: "VSCodeIcon"
|
|
310
|
-
};
|
|
311
|
-
})))();
|
|
312
|
-
}
|
|
313
|
-
//#endregion
|
|
314
|
-
//#region src/components/components/shared/trapTabKey.ts
|
|
315
|
-
/**
|
|
316
|
-
* Keeps Tab and Shift+Tab inside a container: from the last tabbable element, Tab goes to the first
|
|
317
|
-
* one, and from the first, Shift+Tab goes to the last one. Call it from a keydown handler.
|
|
318
|
-
*/
|
|
319
|
-
function trapTabKey(event, container) {
|
|
320
|
-
if (event.key !== "Tab" || event.defaultPrevented || !container.contains(event.target)) return;
|
|
321
|
-
const tabbables = getTabbables(container);
|
|
322
|
-
const first = tabbables[0];
|
|
323
|
-
const last = tabbables[tabbables.length - 1];
|
|
324
|
-
if (!first) event.preventDefault();
|
|
325
|
-
else if (event.shiftKey && event.target === first) {
|
|
326
|
-
event.preventDefault();
|
|
327
|
-
last.focus();
|
|
328
|
-
} else if (!event.shiftKey && event.target === last) {
|
|
329
|
-
event.preventDefault();
|
|
330
|
-
first.focus();
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
var TABBABLE, getTabbables;
|
|
334
|
-
function init_trapTabKey() {
|
|
335
|
-
return (init_trapTabKey = __esmMin((() => {
|
|
336
|
-
TABBABLE = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
|
|
337
|
-
getTabbables = (container) => Array.from(container.querySelectorAll(TABBABLE)).filter((element) => element.getClientRects().length > 0 && !element.hasAttribute("data-base-ui-focus-guard"));
|
|
338
|
-
})))();
|
|
339
|
-
}
|
|
340
|
-
//#endregion
|
|
341
|
-
//#region src/components/components/tooltip/TooltipNote.module.css
|
|
342
|
-
var id, TooltipNote_module_default;
|
|
343
|
-
function init_TooltipNote_module() {
|
|
344
|
-
return (init_TooltipNote_module = __esmMin((() => {
|
|
345
|
-
id = "core/src/components/components/tooltip/TooltipNote.module.css";
|
|
346
|
-
if (typeof document !== "undefined" && !document.querySelector(`style[data-fb-css="${id}"]`)) {
|
|
347
|
-
const style = document.createElement("style");
|
|
348
|
-
style.setAttribute("data-fb-css", id);
|
|
349
|
-
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}";
|
|
350
|
-
document.head.appendChild(style);
|
|
351
|
-
}
|
|
352
|
-
TooltipNote_module_default = { "note": "fb-owKRYa-note" };
|
|
353
|
-
})))();
|
|
354
|
-
}
|
|
355
|
-
//#endregion
|
|
356
|
-
//#region src/components/components/tooltip/TooltipNote.tsx
|
|
357
|
-
var DEFAULT_MAX_WIDTH, TooltipNote;
|
|
358
|
-
function init_TooltipNote() {
|
|
359
|
-
return (init_TooltipNote = __esmMin((() => {
|
|
360
|
-
init__storybook_global_react();
|
|
361
|
-
init_TooltipNote_module();
|
|
362
|
-
DEFAULT_MAX_WIDTH = 260;
|
|
363
|
-
TooltipNote = ({ note, maxWidth = DEFAULT_MAX_WIDTH, shortcut, ...props }) => {
|
|
364
|
-
return /* @__PURE__ */ _storybook_global_react_default.createElement("div", {
|
|
365
|
-
className: TooltipNote_module_default.note,
|
|
366
|
-
style: { maxWidth },
|
|
367
|
-
...props
|
|
368
|
-
}, note && /* @__PURE__ */ _storybook_global_react_default.createElement("span", null, note), shortcut && /* @__PURE__ */ _storybook_global_react_default.createElement("code", null, shortcut));
|
|
369
|
-
};
|
|
370
|
-
})))();
|
|
371
|
-
}
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region src/components/components/shared/overlayHelpers.tsx
|
|
374
|
-
var convertToBaseUiPlacement, PortalContainerContext, Trigger;
|
|
375
|
-
function init_overlayHelpers() {
|
|
376
|
-
return (init_overlayHelpers = __esmMin((() => {
|
|
377
|
-
init__storybook_global_react();
|
|
378
|
-
convertToBaseUiPlacement = (placement) => {
|
|
379
|
-
const [side, align = "center"] = placement.split("-");
|
|
380
|
-
return {
|
|
381
|
-
side,
|
|
382
|
-
align
|
|
383
|
-
};
|
|
384
|
-
};
|
|
385
|
-
PortalContainerContext = createContext(void 0);
|
|
386
|
-
Trigger = forwardRef((props, ref) => /* @__PURE__ */ _storybook_global_react_default.createElement("button", {
|
|
387
|
-
...props,
|
|
388
|
-
ref,
|
|
389
|
-
style: {
|
|
390
|
-
width: 120,
|
|
391
|
-
height: 50,
|
|
392
|
-
margin: 10
|
|
393
|
-
}
|
|
394
|
-
}));
|
|
395
|
-
Trigger.displayName = "Trigger";
|
|
396
|
-
})))();
|
|
397
|
-
}
|
|
398
|
-
//#endregion
|
|
399
|
-
//#region src/components/components/shared/PortalTheme.tsx
|
|
400
|
-
var PortalTheme;
|
|
401
|
-
function init_PortalTheme() {
|
|
402
|
-
return (init_PortalTheme = __esmMin((() => {
|
|
403
|
-
init__storybook_global_react();
|
|
404
|
-
init_theming();
|
|
405
|
-
PortalTheme = ({ children }) => /* @__PURE__ */ _storybook_global_react_default.createElement(ThemeProvider, { theme: useTheme() }, children);
|
|
406
|
-
})))();
|
|
407
|
-
}
|
|
408
|
-
//#endregion
|
|
409
|
-
//#region src/components/components/tooltip/TooltipProvider.tsx
|
|
410
|
-
var TooltipProvider;
|
|
411
|
-
function init_TooltipProvider() {
|
|
412
|
-
return (init_TooltipProvider = __esmMin((() => {
|
|
413
|
-
init__storybook_global_react();
|
|
414
|
-
init_client_logger();
|
|
415
|
-
init_TooltipRoot(), init_TooltipTrigger(), init_TooltipPortal(), init_TooltipPositioner(), init_TooltipPopup();
|
|
416
|
-
init_overlayHelpers();
|
|
417
|
-
init_PortalTheme();
|
|
418
|
-
TooltipProvider = ({ triggerOnFocusOnly = false, placement = "top", offset = 8, tooltip, children, defaultVisible, startOpen, delayShow = 400, delayHide = 200, visible, onVisibleChange }) => {
|
|
419
|
-
const portalContainer = useContext(PortalContainerContext);
|
|
420
|
-
const child = _storybook_global_react_default.Children.only(children);
|
|
421
|
-
const generatedId = useId();
|
|
422
|
-
const triggerId = child.props.id ?? generatedId;
|
|
423
|
-
if (startOpen !== void 0) deprecate("The `startOpen` prop is deprecated. Please use `defaultVisible` instead.");
|
|
424
|
-
const [isOpen, setIsOpen] = useState(defaultVisible ?? startOpen ?? false);
|
|
425
|
-
const onOpenChange = (open, { reason }) => {
|
|
426
|
-
if (open && triggerOnFocusOnly && reason === "trigger-hover") return;
|
|
427
|
-
setIsOpen(open);
|
|
428
|
-
onVisibleChange?.(open);
|
|
429
|
-
};
|
|
430
|
-
return /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipRoot, {
|
|
431
|
-
open: visible ?? isOpen,
|
|
432
|
-
onOpenChange,
|
|
433
|
-
triggerId
|
|
434
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipTrigger, {
|
|
435
|
-
id: triggerId,
|
|
436
|
-
delay: delayShow,
|
|
437
|
-
closeDelay: delayHide,
|
|
438
|
-
render: child
|
|
439
|
-
}), /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipPortal, { container: portalContainer }, /* @__PURE__ */ _storybook_global_react_default.createElement(PortalTheme, null, /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipPositioner, {
|
|
440
|
-
...convertToBaseUiPlacement(placement),
|
|
441
|
-
sideOffset: offset,
|
|
442
|
-
style: { zIndex: 1e5 }
|
|
443
|
-
}, /* @__PURE__ */ _storybook_global_react_default.createElement(TooltipPopup, {
|
|
444
|
-
role: "tooltip",
|
|
445
|
-
"data-testid": "tooltip",
|
|
446
|
-
style: { outline: "none" }
|
|
447
|
-
}, tooltip)))));
|
|
448
|
-
};
|
|
449
|
-
})))();
|
|
450
|
-
}
|
|
451
|
-
//#endregion
|
|
452
|
-
export { getTabbables as a, Icons as c, init_TooltipNote as i, init_icon as l, init_TooltipProvider as n, init_trapTabKey as o, TooltipNote as r, trapTabKey as s, TooltipProvider as t };
|