@aussieljk/forkbook 0.0.0-stage → 0.0.1-2

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.
Files changed (598) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +77 -2
  3. package/assets/addon-vitest/templates/vitest.config.4.template.ts +36 -0
  4. package/assets/browser/favicon-wrapper.svg +46 -0
  5. package/assets/browser/favicon.svg +1 -0
  6. package/assets/browser/nunito-sans-bold-italic.woff2 +0 -0
  7. package/assets/browser/nunito-sans-bold.woff2 +0 -0
  8. package/assets/browser/nunito-sans-italic.woff2 +0 -0
  9. package/assets/browser/nunito-sans-regular.woff2 +0 -0
  10. package/assets/builder-vite/iframe.html +99 -0
  11. package/assets/create/rendererAssets/.eslintrc.json +16 -0
  12. package/assets/create/rendererAssets/common/Configure.mdx +388 -0
  13. package/assets/create/rendererAssets/common/assets/accessibility.png +0 -0
  14. package/assets/create/rendererAssets/common/assets/accessibility.svg +1 -0
  15. package/assets/create/rendererAssets/common/assets/addon-library.png +0 -0
  16. package/assets/create/rendererAssets/common/assets/assets.png +0 -0
  17. package/assets/create/rendererAssets/common/assets/avif-test-image.avif +0 -0
  18. package/assets/create/rendererAssets/common/assets/context.png +0 -0
  19. package/assets/create/rendererAssets/common/assets/discord.svg +1 -0
  20. package/assets/create/rendererAssets/common/assets/docs.png +0 -0
  21. package/assets/create/rendererAssets/common/assets/figma-plugin.png +0 -0
  22. package/assets/create/rendererAssets/common/assets/github.svg +1 -0
  23. package/assets/create/rendererAssets/common/assets/share.png +0 -0
  24. package/assets/create/rendererAssets/common/assets/styling.png +0 -0
  25. package/assets/create/rendererAssets/common/assets/testing.png +0 -0
  26. package/assets/create/rendererAssets/common/assets/theming.png +0 -0
  27. package/assets/create/rendererAssets/common/assets/tutorials.svg +1 -0
  28. package/assets/create/rendererAssets/common/assets/youtube.svg +1 -0
  29. package/assets/create/rendererAssets/common/button.css +30 -0
  30. package/assets/create/rendererAssets/common/header.css +32 -0
  31. package/assets/create/rendererAssets/common/page.css +68 -0
  32. package/assets/create/templates/react-native/index.expo.js +20 -0
  33. package/assets/create/templates/react-native/index.js +25 -0
  34. package/assets/docs/addon-backgrounds.gif +0 -0
  35. package/assets/docs/addon-controls-args-annotated.png +0 -0
  36. package/assets/docs/addon-controls-args-background-color.png +0 -0
  37. package/assets/docs/addon-controls-args-background-string.png +0 -0
  38. package/assets/docs/addon-controls-args-docs.png +0 -0
  39. package/assets/docs/addon-controls-args-logging.png +0 -0
  40. package/assets/docs/addon-controls-args-no-annotation.png +0 -0
  41. package/assets/docs/addon-controls-args-reflow-slider.png +0 -0
  42. package/assets/docs/addon-controls-args-reflow.png +0 -0
  43. package/assets/docs/addon-controls-args-template.png +0 -0
  44. package/assets/docs/addon-controls-expanded.png +0 -0
  45. package/assets/docs/addon-controls-hero.gif +0 -0
  46. package/assets/docs/addon-controls-install.png +0 -0
  47. package/assets/docs/hero.gif +0 -0
  48. package/assets/docs/highlight.png +0 -0
  49. package/assets/docs/message-reference.png +0 -0
  50. package/assets/docs/viewport.png +0 -0
  51. package/assets/react-native/metro-env.d.ts +69 -0
  52. package/assets/server/addon.tsconfig.json +6 -0
  53. package/assets/server/base-preview-body.html +116 -0
  54. package/assets/server/base-preview-head.html +494 -0
  55. package/assets/server/openBrowser.applescript +94 -0
  56. package/assets/server/template.ejs +87 -0
  57. package/dist/.build-stamp +0 -0
  58. package/dist/_browser-chunks/Color-PCLE2J36.js +1025 -0
  59. package/dist/_browser-chunks/DocsRenderer-JXND3PVQ.js +10 -0
  60. package/dist/_browser-chunks/WithTooltip-XSQFTBMB.js +1619 -0
  61. package/dist/_browser-chunks/chunk-2JDQ35OA.js +247 -0
  62. package/dist/_browser-chunks/chunk-2JT76G3E.js +104 -0
  63. package/dist/_browser-chunks/chunk-2MEPHP35.js +17 -0
  64. package/dist/_browser-chunks/chunk-2SCZVUKW.js +24 -0
  65. package/dist/_browser-chunks/chunk-46Z7NGAS.js +41 -0
  66. package/dist/_browser-chunks/chunk-4ATQOMJB.js +30 -0
  67. package/dist/_browser-chunks/chunk-52CW7FF7.js +49 -0
  68. package/dist/_browser-chunks/chunk-5I7E4GMO.js +62 -0
  69. package/dist/_browser-chunks/chunk-5P4QA6MY.js +20 -0
  70. package/dist/_browser-chunks/chunk-5WMXI5GW.js +816 -0
  71. package/dist/_browser-chunks/chunk-66OCZ54D.js +2604 -0
  72. package/dist/_browser-chunks/chunk-6SXYJQST.js +253 -0
  73. package/dist/_browser-chunks/chunk-AYRF6EJB.js +36 -0
  74. package/dist/_browser-chunks/chunk-B4AUNNU4.js +156 -0
  75. package/dist/_browser-chunks/chunk-BCP2FFXF.js +369 -0
  76. package/dist/_browser-chunks/chunk-C3D4HEFY.js +3396 -0
  77. package/dist/_browser-chunks/chunk-CFAOWGL7.js +43 -0
  78. package/dist/_browser-chunks/chunk-CFWWCCZV.js +223 -0
  79. package/dist/_browser-chunks/chunk-CNED6RYH.js +18 -0
  80. package/dist/_browser-chunks/chunk-DRQKCCAG.js +136 -0
  81. package/dist/_browser-chunks/chunk-ECQ75MKQ.js +0 -0
  82. package/dist/_browser-chunks/chunk-EIYAKDGP.js +302 -0
  83. package/dist/_browser-chunks/chunk-ENKK74N4.js +12 -0
  84. package/dist/_browser-chunks/chunk-FENFYI4X.js +698 -0
  85. package/dist/_browser-chunks/chunk-FJGWSWL5.js +155 -0
  86. package/dist/_browser-chunks/chunk-FVSEPWWX.js +2810 -0
  87. package/dist/_browser-chunks/chunk-GNZY6LOW.js +10116 -0
  88. package/dist/_browser-chunks/chunk-IE4ULIOQ.js +14 -0
  89. package/dist/_browser-chunks/chunk-IMSF75WX.js +42 -0
  90. package/dist/_browser-chunks/chunk-IWQGIXJS.js +14 -0
  91. package/dist/_browser-chunks/chunk-JMC7AIKT.js +108 -0
  92. package/dist/_browser-chunks/chunk-JPUOQJUI.js +8 -0
  93. package/dist/_browser-chunks/chunk-JSBKXXXF.js +218 -0
  94. package/dist/_browser-chunks/chunk-JWSKPMPC.js +73 -0
  95. package/dist/_browser-chunks/chunk-JYVGARBG.js +2943 -0
  96. package/dist/_browser-chunks/chunk-KBK7GKBN.js +35 -0
  97. package/dist/_browser-chunks/chunk-KQ7CRO2B.js +108 -0
  98. package/dist/_browser-chunks/chunk-LAWXTSXK.js +18 -0
  99. package/dist/_browser-chunks/chunk-LE2LTDW3.js +14 -0
  100. package/dist/_browser-chunks/chunk-LEVSOOLQ.js +48 -0
  101. package/dist/_browser-chunks/chunk-LV5PIKV4.js +93 -0
  102. package/dist/_browser-chunks/chunk-MDOL7KML.js +56 -0
  103. package/dist/_browser-chunks/chunk-MFMDGWP6.js +34 -0
  104. package/dist/_browser-chunks/chunk-MLBOOZL4.js +67 -0
  105. package/dist/_browser-chunks/chunk-NQUD4B7H.js +91 -0
  106. package/dist/_browser-chunks/chunk-NULBREPZ.js +43 -0
  107. package/dist/_browser-chunks/chunk-NZMVUW5T.js +7 -0
  108. package/dist/_browser-chunks/chunk-OD6IBQCC.js +117 -0
  109. package/dist/_browser-chunks/chunk-ODVJ3XZJ.js +157 -0
  110. package/dist/_browser-chunks/chunk-OQWFVDIN.js +386 -0
  111. package/dist/_browser-chunks/chunk-OVH3USFB.js +20 -0
  112. package/dist/_browser-chunks/chunk-OZZPSYQR.js +14 -0
  113. package/dist/_browser-chunks/chunk-P6PK47TQ.js +1970 -0
  114. package/dist/_browser-chunks/chunk-PFRNG3UC.js +22 -0
  115. package/dist/_browser-chunks/chunk-PJSMZ27A.js +13 -0
  116. package/dist/_browser-chunks/chunk-QC4HFS6K.js +41 -0
  117. package/dist/_browser-chunks/chunk-QDXFODK4.js +274 -0
  118. package/dist/_browser-chunks/chunk-RBCHTR7C.js +28 -0
  119. package/dist/_browser-chunks/chunk-RMYQ3QN3.js +294 -0
  120. package/dist/_browser-chunks/chunk-RNTIV5CE.js +411 -0
  121. package/dist/_browser-chunks/chunk-RSPAQWVJ.js +80 -0
  122. package/dist/_browser-chunks/chunk-S6TK43XQ.js +836 -0
  123. package/dist/_browser-chunks/chunk-SC67XZST.js +18 -0
  124. package/dist/_browser-chunks/chunk-SFVA4SBT.js +683 -0
  125. package/dist/_browser-chunks/chunk-SZYFOQMT.js +25 -0
  126. package/dist/_browser-chunks/chunk-TBJCJXK4.js +18 -0
  127. package/dist/_browser-chunks/chunk-UMDO3KB7.js +205 -0
  128. package/dist/_browser-chunks/chunk-V2G23FV7.js +11 -0
  129. package/dist/_browser-chunks/chunk-V5M7Q4HT.js +88 -0
  130. package/dist/_browser-chunks/chunk-W5M6NPS3.js +198 -0
  131. package/dist/_browser-chunks/chunk-W7NE2JXW.js +84 -0
  132. package/dist/_browser-chunks/chunk-WGVAAM43.js +1110 -0
  133. package/dist/_browser-chunks/chunk-WHQRNHXD.js +8 -0
  134. package/dist/_browser-chunks/chunk-WOSOWBCA.js +12 -0
  135. package/dist/_browser-chunks/chunk-WZ7KR7SH.js +85 -0
  136. package/dist/_browser-chunks/chunk-YEKO6BHJ.js +20 -0
  137. package/dist/_browser-chunks/chunk-YI2IBIQS.js +7 -0
  138. package/dist/_browser-chunks/chunk-YTIT5NA5.js +1966 -0
  139. package/dist/_browser-chunks/chunk-ZEHRUHTA.js +6 -0
  140. package/dist/_browser-chunks/chunk-ZTQ5MEJ5.js +203 -0
  141. package/dist/_browser-chunks/matchers-YLBYSYAF.js +1263 -0
  142. package/dist/_browser-chunks/react-dom-client-4OHE3QDV.js +9 -0
  143. package/dist/_node-chunks/attached-runtime-I2G4WLJI.js +282 -0
  144. package/dist/_node-chunks/builder-manager-VVHYQXCH.js +1661 -0
  145. package/dist/_node-chunks/chunk-2BUPBPFB.js +82 -0
  146. package/dist/_node-chunks/chunk-2DSIDINN.js +884 -0
  147. package/dist/_node-chunks/chunk-2RU7BKEW.js +23 -0
  148. package/dist/_node-chunks/chunk-34EO2PUT.js +26 -0
  149. package/dist/_node-chunks/chunk-3BKIBF5S.js +3008 -0
  150. package/dist/_node-chunks/chunk-3SDUYDXH.js +98 -0
  151. package/dist/_node-chunks/chunk-3T4ZSNPH.js +662 -0
  152. package/dist/_node-chunks/chunk-3W7F2B7P.js +79 -0
  153. package/dist/_node-chunks/chunk-3Y6AAY5H.js +80 -0
  154. package/dist/_node-chunks/chunk-42UWAGPW.js +1193 -0
  155. package/dist/_node-chunks/chunk-4FEANXWU.js +1986 -0
  156. package/dist/_node-chunks/chunk-5DQFEZEA.js +40 -0
  157. package/dist/_node-chunks/chunk-6KEHV53S.js +1218 -0
  158. package/dist/_node-chunks/chunk-6LMWA44H.js +3837 -0
  159. package/dist/_node-chunks/chunk-6YKBRP72.js +20 -0
  160. package/dist/_node-chunks/chunk-7GUDZVRQ.js +110 -0
  161. package/dist/_node-chunks/chunk-B5J7Q7J4.js +21 -0
  162. package/dist/_node-chunks/chunk-BS2WMZMR.js +90 -0
  163. package/dist/_node-chunks/chunk-BSKFCWQD.js +47 -0
  164. package/dist/_node-chunks/chunk-BXVYT7SB.js +36 -0
  165. package/dist/_node-chunks/chunk-CCOTJ4FC.js +688 -0
  166. package/dist/_node-chunks/chunk-CQKMLL5J.js +33 -0
  167. package/dist/_node-chunks/chunk-CXRU72ET.js +63 -0
  168. package/dist/_node-chunks/chunk-DC7DKR5K.js +20 -0
  169. package/dist/_node-chunks/chunk-DHJFTB4K.js +25 -0
  170. package/dist/_node-chunks/chunk-DUR55DJJ.js +1094 -0
  171. package/dist/_node-chunks/chunk-E6YESGLX.js +7032 -0
  172. package/dist/_node-chunks/chunk-EHUNOMDD.js +52345 -0
  173. package/dist/_node-chunks/chunk-ET7PWEO7.js +298 -0
  174. package/dist/_node-chunks/chunk-EWOX7HPJ.js +20 -0
  175. package/dist/_node-chunks/chunk-F3ZFKBHY.js +844 -0
  176. package/dist/_node-chunks/chunk-FK7KGTV7.js +26 -0
  177. package/dist/_node-chunks/chunk-FPZB5OI7.js +35 -0
  178. package/dist/_node-chunks/chunk-FW2HQUBQ.js +25 -0
  179. package/dist/_node-chunks/chunk-FY6UXW6G.js +11 -0
  180. package/dist/_node-chunks/chunk-GEFQN7K3.js +499 -0
  181. package/dist/_node-chunks/chunk-GRBLDJCR.js +989 -0
  182. package/dist/_node-chunks/chunk-H32DYT6P.js +87 -0
  183. package/dist/_node-chunks/chunk-H4PPVMP5.js +23 -0
  184. package/dist/_node-chunks/chunk-HMP2G23X.js +25 -0
  185. package/dist/_node-chunks/chunk-ICPBH3E7.js +59 -0
  186. package/dist/_node-chunks/chunk-IDEL2J23.js +23 -0
  187. package/dist/_node-chunks/chunk-IK4FGZLR.js +223 -0
  188. package/dist/_node-chunks/chunk-JDXXX6LB.js +68 -0
  189. package/dist/_node-chunks/chunk-JGGFYIG5.js +5468 -0
  190. package/dist/_node-chunks/chunk-JPAZLYJ3.js +29 -0
  191. package/dist/_node-chunks/chunk-JZOO7GGC.js +48 -0
  192. package/dist/_node-chunks/chunk-KISMCCP5.js +4744 -0
  193. package/dist/_node-chunks/chunk-LCK4ZQKG.js +115 -0
  194. package/dist/_node-chunks/chunk-LO56I6E2.js +132 -0
  195. package/dist/_node-chunks/chunk-LXBD4UL4.js +104 -0
  196. package/dist/_node-chunks/chunk-MA24JW6C.js +7162 -0
  197. package/dist/_node-chunks/chunk-MK2KYAI6.js +5414 -0
  198. package/dist/_node-chunks/chunk-NDWKJ4CL.js +2102 -0
  199. package/dist/_node-chunks/chunk-NIBT7XDZ.js +168 -0
  200. package/dist/_node-chunks/chunk-NPO45IMH.js +33 -0
  201. package/dist/_node-chunks/chunk-OISX4AGQ.js +414 -0
  202. package/dist/_node-chunks/chunk-OUW6R7C3.js +26 -0
  203. package/dist/_node-chunks/chunk-OWNFOGTA.js +194 -0
  204. package/dist/_node-chunks/chunk-Q7QNUM5H.js +49 -0
  205. package/dist/_node-chunks/chunk-QEQLR22M.js +1877 -0
  206. package/dist/_node-chunks/chunk-RRN2V55B.js +45 -0
  207. package/dist/_node-chunks/chunk-RWFIFGO5.js +144 -0
  208. package/dist/_node-chunks/chunk-RXNJDRGO.js +209 -0
  209. package/dist/_node-chunks/chunk-RZMQ7S3L.js +92 -0
  210. package/dist/_node-chunks/chunk-SIEXZVCR.js +51 -0
  211. package/dist/_node-chunks/chunk-SLWQNBGO.js +2034 -0
  212. package/dist/_node-chunks/chunk-SVTBJ7Q3.js +35 -0
  213. package/dist/_node-chunks/chunk-SWO5CDYU.js +32 -0
  214. package/dist/_node-chunks/chunk-TD5PLLQG.js +121 -0
  215. package/dist/_node-chunks/chunk-TEQGGSP7.js +33 -0
  216. package/dist/_node-chunks/chunk-TFCEV2XX.js +155 -0
  217. package/dist/_node-chunks/chunk-TFEWM4E3.js +1073 -0
  218. package/dist/_node-chunks/chunk-TINO74G5.js +21 -0
  219. package/dist/_node-chunks/chunk-TNJIXE37.js +40 -0
  220. package/dist/_node-chunks/chunk-TWI4GVH7.js +19 -0
  221. package/dist/_node-chunks/chunk-U5W53R2J.js +1011 -0
  222. package/dist/_node-chunks/chunk-UBOGWBEA.js +148 -0
  223. package/dist/_node-chunks/chunk-UMUBKI6E.js +3787 -0
  224. package/dist/_node-chunks/chunk-UVINFLGY.js +56 -0
  225. package/dist/_node-chunks/chunk-V2DY426G.js +1133 -0
  226. package/dist/_node-chunks/chunk-VLOXOXXE.js +45 -0
  227. package/dist/_node-chunks/chunk-W4OMYLSP.js +1297 -0
  228. package/dist/_node-chunks/chunk-WAXVSN3O.js +18 -0
  229. package/dist/_node-chunks/chunk-WCULS5TP.js +3767 -0
  230. package/dist/_node-chunks/chunk-WNZ2UMFM.js +153 -0
  231. package/dist/_node-chunks/chunk-WZJF2OUH.js +74 -0
  232. package/dist/_node-chunks/chunk-XGIUVY52.js +611 -0
  233. package/dist/_node-chunks/chunk-XHL2LVBM.js +415 -0
  234. package/dist/_node-chunks/chunk-XI6B6P47.js +59 -0
  235. package/dist/_node-chunks/chunk-XLP2ZKXV.js +60 -0
  236. package/dist/_node-chunks/chunk-YCMRA6RX.js +95 -0
  237. package/dist/_node-chunks/chunk-YZFWBA5L.js +2700 -0
  238. package/dist/_node-chunks/chunk-ZMAMXQKP.js +4731 -0
  239. package/dist/_node-chunks/chunk-ZWBCQ4MJ.js +110 -0
  240. package/dist/_node-chunks/dist-VTSTZKUB.js +16 -0
  241. package/dist/_node-chunks/globby-OEMHPBFY.js +2884 -0
  242. package/dist/_node-chunks/jiti-NFX6UU74.js +3848 -0
  243. package/dist/_node-chunks/lib-MDVARD7W.js +366 -0
  244. package/dist/_node-chunks/local-runtime-NTKIN2QT.js +78 -0
  245. package/dist/_node-chunks/mdx-plugin-MWISDWDQ.js +5680 -0
  246. package/dist/_node-chunks/monorepo-LIRFMQXE.js +121 -0
  247. package/dist/_node-chunks/monorepo-optimized-tests-relaxed-limits-no-story-deletion-CPDW4XTW.js +121 -0
  248. package/dist/_node-chunks/optimized-tests-HDOLR3EY.js +22 -0
  249. package/dist/_node-chunks/pattern-copy-play-EKHIUAU2.js +807 -0
  250. package/dist/_node-chunks/postinstallAddon-GYGMWDL6.js +20 -0
  251. package/dist/_node-chunks/rehype-external-links-BUN3HUCO.js +121 -0
  252. package/dist/_node-chunks/rehype-slug-PLADX223.js +52 -0
  253. package/dist/_node-chunks/relaxed-limits-GBHW6KIQ.js +117 -0
  254. package/dist/_node-chunks/run-KDTIZNSY.js +103 -0
  255. package/dist/_node-chunks/run-NL66VTNR.js +4532 -0
  256. package/dist/_node-chunks/session-id-KIIVOQLR.js +23 -0
  257. package/dist/_node-chunks/setup-MGC7BQO6.js +278 -0
  258. package/dist/_node-chunks/vitest.config.4.template-JH2THZFG.js +54 -0
  259. package/dist/actions/decorator.d.ts +7 -0
  260. package/dist/actions/decorator.js +43 -0
  261. package/dist/actions/index.d.ts +67 -0
  262. package/dist/actions/index.js +28 -0
  263. package/dist/addon-a11y/index.d.ts +52 -0
  264. package/dist/addon-a11y/index.js +16 -0
  265. package/dist/addon-a11y/manager.js +1429 -0
  266. package/dist/addon-a11y/preset.js +18 -0
  267. package/dist/addon-a11y/preview.d.ts +17 -0
  268. package/dist/addon-a11y/preview.js +15 -0
  269. package/dist/addon-docs/blocks.d.ts +1061 -0
  270. package/dist/addon-docs/blocks.js +2461 -0
  271. package/dist/addon-docs/index.d.ts +236 -0
  272. package/dist/addon-docs/index.js +16 -0
  273. package/dist/addon-docs/manager.js +90 -0
  274. package/dist/addon-docs/mdx-react-shim.d.ts +1 -0
  275. package/dist/addon-docs/mdx-react-shim.js +2 -0
  276. package/dist/addon-docs/preset.js +378 -0
  277. package/dist/addon-docs/preview.d.ts +4 -0
  278. package/dist/addon-docs/preview.js +7 -0
  279. package/dist/addon-links/index.d.ts +22 -0
  280. package/dist/addon-links/index.js +20 -0
  281. package/dist/addon-links/manager.js +14 -0
  282. package/dist/addon-links/preview.d.ts +6 -0
  283. package/dist/addon-links/preview.js +9 -0
  284. package/dist/addon-links/react/index.d.ts +25 -0
  285. package/dist/addon-links/react/index.js +52 -0
  286. package/dist/addon-mcp/preset.js +1345 -0
  287. package/dist/addon-mcp/preview.js +29 -0
  288. package/dist/addon-mcp/tools/preview-stories/preview-stories-app-script.js +1153 -0
  289. package/dist/addon-ondevice-actions/index.d.ts +4 -0
  290. package/dist/addon-ondevice-actions/index.js +7 -0
  291. package/dist/addon-ondevice-actions/register.js +7 -0
  292. package/dist/addon-ondevice-controls/index.d.ts +6 -0
  293. package/dist/addon-ondevice-controls/index.js +14 -0
  294. package/dist/addon-ondevice-controls/register.js +10 -0
  295. package/dist/addon-pseudo-states/index.d.ts +35 -0
  296. package/dist/addon-pseudo-states/index.js +15 -0
  297. package/dist/addon-pseudo-states/manager.js +53 -0
  298. package/dist/addon-pseudo-states/preview.d.ts +9 -0
  299. package/dist/addon-pseudo-states/preview.js +10 -0
  300. package/dist/addon-themes/index.d.ts +80 -0
  301. package/dist/addon-themes/index.js +104 -0
  302. package/dist/addon-themes/manager.js +97 -0
  303. package/dist/addon-themes/postinstall.js +33 -0
  304. package/dist/addon-themes/preview.d.ts +6 -0
  305. package/dist/addon-themes/preview.js +8 -0
  306. package/dist/addon-vitest/constants.d.ts +132 -0
  307. package/dist/addon-vitest/constants.js +66 -0
  308. package/dist/addon-vitest/index.d.ts +4 -0
  309. package/dist/addon-vitest/index.js +8 -0
  310. package/dist/addon-vitest/manager.js +665 -0
  311. package/dist/addon-vitest/node/coverage-reporter.js +1284 -0
  312. package/dist/addon-vitest/node/vitest.js +674 -0
  313. package/dist/addon-vitest/postinstall.js +24 -0
  314. package/dist/addon-vitest/preset.js +943 -0
  315. package/dist/addon-vitest/vitest-plugin/global-setup.js +162 -0
  316. package/dist/addon-vitest/vitest-plugin/index.d.ts +56 -0
  317. package/dist/addon-vitest/vitest-plugin/index.js +463 -0
  318. package/dist/addon-vitest/vitest-plugin/setup-file-with-project-annotations.js +9 -0
  319. package/dist/addon-vitest/vitest-plugin/setup-file.browser.4.js +20 -0
  320. package/dist/addon-vitest/vitest-plugin/setup-file.js +50 -0
  321. package/dist/addon-vitest/vitest-plugin/test-utils.js +128 -0
  322. package/dist/babel/index.d.ts +2301 -0
  323. package/dist/babel/index.js +61 -0
  324. package/dist/backgrounds/index.d.ts +6 -0
  325. package/dist/backgrounds/index.js +15 -0
  326. package/dist/bin/core.js +1705 -0
  327. package/dist/bin/dispatcher.js +43 -0
  328. package/dist/bin/loader.js +115 -0
  329. package/dist/builder-vite/index.d.ts +50 -0
  330. package/dist/builder-vite/index.js +245 -0
  331. package/dist/builder-vite/preset.js +27 -0
  332. package/dist/channels/index.d.ts +2 -0
  333. package/dist/channels/index.js +352 -0
  334. package/dist/chunk-B2t1tGRh.d.ts +284 -0
  335. package/dist/chunk-BCoJQE-f.d.ts +602 -0
  336. package/dist/chunk-BGkgZp-H.d.ts +214 -0
  337. package/dist/chunk-BTVrWliM.d.ts +115 -0
  338. package/dist/chunk-BXLImeLy.d.ts +197 -0
  339. package/dist/chunk-BfBzpgct.d.ts +916 -0
  340. package/dist/chunk-Bpi2tz-6.d.ts +511 -0
  341. package/dist/chunk-BxWufQms.d.ts +142 -0
  342. package/dist/chunk-C-bavsOH.d.ts +34 -0
  343. package/dist/chunk-C2p5r3Vt.d.ts +13001 -0
  344. package/dist/chunk-C6PAgHLT.d.ts +12 -0
  345. package/dist/chunk-CMeX4WRe.d.ts +179 -0
  346. package/dist/chunk-Ct9xd6IM.d.ts +65 -0
  347. package/dist/chunk-CwQKNaYL.d.ts +15 -0
  348. package/dist/chunk-D7DwV41f.d.ts +3622 -0
  349. package/dist/chunk-DEVFdzxR.d.ts +253 -0
  350. package/dist/chunk-DaVb55-_.d.ts +124 -0
  351. package/dist/chunk-DgRNfmj_.d.ts +40 -0
  352. package/dist/chunk-DoIGKY33.d.ts +666 -0
  353. package/dist/chunk-Dr3R0DXk.d.ts +40 -0
  354. package/dist/chunk-DtHByo32.d.ts +55 -0
  355. package/dist/chunk-Dw1z1Pki.d.ts +933 -0
  356. package/dist/chunk-DzuY9DXg.d.ts +79 -0
  357. package/dist/chunk-FjDVzZTj.d.ts +62 -0
  358. package/dist/chunk-Kt1tW-D1.d.ts +59 -0
  359. package/dist/chunk-XP8oHzpE.d.ts +6 -0
  360. package/dist/chunk-gCX81nOr.d.ts +61 -0
  361. package/dist/chunk-pcFXCimE.d.ts +741 -0
  362. package/dist/cli/index.d.ts +1174 -0
  363. package/dist/cli/index.js +5613 -0
  364. package/dist/cli/skills/content/index.d.ts +72 -0
  365. package/dist/cli/skills/content/index.js +335 -0
  366. package/dist/cli/tools/sdk/child-host.d.ts +61 -0
  367. package/dist/cli/tools/sdk/child-host.js +131 -0
  368. package/dist/cli/tools/sdk/index.d.ts +137 -0
  369. package/dist/cli/tools/sdk/index.js +44 -0
  370. package/dist/cli-commands/bin/index.js +25 -0
  371. package/dist/client-logger/index.d.ts +31 -0
  372. package/dist/client-logger/index.js +63 -0
  373. package/dist/common/index.d.ts +1103 -0
  374. package/dist/common/index.js +364 -0
  375. package/dist/components/index.d.ts +1924 -0
  376. package/dist/components/index.js +13759 -0
  377. package/dist/core-events/index.d.ts +155 -0
  378. package/dist/core-events/index.js +136 -0
  379. package/dist/core-server/index.d.ts +2200 -0
  380. package/dist/core-server/index.js +4165 -0
  381. package/dist/core-server/presets/common-manager.css +170 -0
  382. package/dist/core-server/presets/common-manager.js +4168 -0
  383. package/dist/core-server/presets/common-override-preset.js +81 -0
  384. package/dist/core-server/presets/common-preset.js +2187 -0
  385. package/dist/create/bin/index.js +23 -0
  386. package/dist/create/index.js +25 -0
  387. package/dist/csf/csf-utils.d.ts +2 -0
  388. package/dist/csf/csf-utils.js +19 -0
  389. package/dist/csf/index.d.ts +7 -0
  390. package/dist/csf/index.js +2142 -0
  391. package/dist/csf-tools/index.d.ts +1157 -0
  392. package/dist/csf-tools/index.js +736 -0
  393. package/dist/docs-tools/index.d.ts +197 -0
  394. package/dist/docs-tools/index.js +61 -0
  395. package/dist/highlight/index.d.ts +10 -0
  396. package/dist/highlight/index.js +15 -0
  397. package/dist/instrumenter/index.d.ts +113 -0
  398. package/dist/instrumenter/index.js +2595 -0
  399. package/dist/manager/_manager-chunks/globals-runtime-8HkdnU2F.js +6144 -0
  400. package/dist/manager/_manager-chunks/globals-runtime-BIKBO23x.js +3389 -0
  401. package/dist/manager/_manager-chunks/globals-runtime-BdGkqNEt.js +45 -0
  402. package/dist/manager/_manager-chunks/globals-runtime-BmphMP6z.js +1190 -0
  403. package/dist/manager/_manager-chunks/globals-runtime-BvM-NY2g.js +13307 -0
  404. package/dist/manager/_manager-chunks/globals-runtime-C02fvgcd.js +9243 -0
  405. package/dist/manager/_manager-chunks/globals-runtime-DkAPXCvc.js +9766 -0
  406. package/dist/manager/_manager-chunks/globals-runtime-DpNYC-qi.js +5564 -0
  407. package/dist/manager/_manager-chunks/globals-runtime-DtcOnYHR.js +5357 -0
  408. package/dist/manager/_manager-chunks/globals-runtime-DwFqpqya.js +722 -0
  409. package/dist/manager/_manager-chunks/globals-runtime-FC201B7s.js +6837 -0
  410. package/dist/manager/_manager-chunks/globals-runtime-Rp_zjGnh.js +121 -0
  411. package/dist/manager/_manager-chunks/globals-runtime-ZHrQFa3-.js +10463 -0
  412. package/dist/manager/_manager-chunks/globals-runtime-eLPTIfX-.js +7759 -0
  413. package/dist/manager/_manager-chunks/globals-runtime-qKvCZHFY.js +4468 -0
  414. package/dist/manager/_manager-chunks/globals-runtime-sGpNlIJ1.js +5102 -0
  415. package/dist/manager/_manager-chunks/runtime-B1L9TH89.js +452 -0
  416. package/dist/manager/_manager-chunks/runtime-BK0zF7FN.js +22 -0
  417. package/dist/manager/_manager-chunks/runtime-BhkT2CXl.js +1408 -0
  418. package/dist/manager/_manager-chunks/runtime-Bly6WJLN.js +998 -0
  419. package/dist/manager/_manager-chunks/runtime-D0UOWx0U.js +979 -0
  420. package/dist/manager/_manager-chunks/runtime-D94Vq3oR.js +4014 -0
  421. package/dist/manager/_manager-chunks/runtime-DMig8mT7.js +77 -0
  422. package/dist/manager/_manager-chunks/runtime-EITvVbkG.js +46 -0
  423. package/dist/manager/_manager-chunks/runtime-cp5pazY2.js +8936 -0
  424. package/dist/manager/_manager-chunks/runtime-eDVAYF7N.js +6860 -0
  425. package/dist/manager/_manager-chunks/runtime-i-PDAHLR.js +2493 -0
  426. package/dist/manager/globals-runtime.js +2 -0
  427. package/dist/manager/globals.d.ts +23 -0
  428. package/dist/manager/globals.js +26 -0
  429. package/dist/manager/manager-stores.d.ts +2 -0
  430. package/dist/manager/manager-stores.js +19 -0
  431. package/dist/manager/runtime.js +2 -0
  432. package/dist/manager-api/index.d.ts +2 -0
  433. package/dist/manager-api/index.js +3257 -0
  434. package/dist/manager-errors.d.ts +89 -0
  435. package/dist/manager-errors.js +20 -0
  436. package/dist/mcp/index.d.ts +270 -0
  437. package/dist/mcp/index.js +305 -0
  438. package/dist/mocking-utils/index.d.ts +689 -0
  439. package/dist/mocking-utils/index.js +521 -0
  440. package/dist/mocking-utils/mocker-runtime.js +1254 -0
  441. package/dist/nextjs-vite/config/preview.js +3 -0
  442. package/dist/nextjs-vite/export-mocks/cache/index.d.ts +25 -0
  443. package/dist/nextjs-vite/export-mocks/cache/index.js +29 -0
  444. package/dist/nextjs-vite/export-mocks/headers/index.d.ts +37 -0
  445. package/dist/nextjs-vite/export-mocks/headers/index.js +54 -0
  446. package/dist/nextjs-vite/export-mocks/link/index.d.ts +9 -0
  447. package/dist/nextjs-vite/export-mocks/link/index.js +59 -0
  448. package/dist/nextjs-vite/export-mocks/navigation/index.d.ts +28 -0
  449. package/dist/nextjs-vite/export-mocks/navigation/index.js +58 -0
  450. package/dist/nextjs-vite/export-mocks/router/index.d.ts +34 -0
  451. package/dist/nextjs-vite/export-mocks/router/index.js +63 -0
  452. package/dist/nextjs-vite/index.d.ts +92 -0
  453. package/dist/nextjs-vite/index.js +58 -0
  454. package/dist/nextjs-vite/node/index.d.ts +6 -0
  455. package/dist/nextjs-vite/node/index.js +20 -0
  456. package/dist/nextjs-vite/preset.js +648 -0
  457. package/dist/nextjs-vite/preview.d.ts +20 -0
  458. package/dist/nextjs-vite/preview.js +11 -0
  459. package/dist/nextjs-vite/vite-plugin/index.d.ts +6 -0
  460. package/dist/nextjs-vite/vite-plugin/index.js +19 -0
  461. package/dist/nextjs-vite-plugin/index.d.ts +28 -0
  462. package/dist/nextjs-vite-plugin/index.js +923 -0
  463. package/dist/nextjs-vite-plugin/mocks/storybook.global.js +29 -0
  464. package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-context.js +8 -0
  465. package/dist/nextjs-vite-plugin/plugins/next-image/alias/image-default-loader.js +23 -0
  466. package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-image.js +28 -0
  467. package/dist/nextjs-vite-plugin/plugins/next-image/alias/next-legacy-image.js +17 -0
  468. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/cache/index.js +29 -0
  469. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/dynamic/index.js +40 -0
  470. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/headers/index.js +55 -0
  471. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/link/index.js +63 -0
  472. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/navigation/index.js +71 -0
  473. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/router/index.js +74 -0
  474. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/rsc/server-only.js +7 -0
  475. package/dist/nextjs-vite-plugin/plugins/next-mocks/alias/safe-stable-stringify/index.js +13 -0
  476. package/dist/nextjs-vite-plugin/plugins/next-mocks/compatibility/draft-mode.compat.js +7 -0
  477. package/dist/node-logger/index.d.ts +495 -0
  478. package/dist/node-logger/index.js +42 -0
  479. package/dist/oxc-parser/index.d.ts +99 -0
  480. package/dist/oxc-parser/index.js +275 -0
  481. package/dist/oxc-parser/worker.js +37 -0
  482. package/dist/preview/_chunks/runtime-BIzIdDbb.js +10263 -0
  483. package/dist/preview/_chunks/runtime-BTPtVY1p.js +1102 -0
  484. package/dist/preview/_chunks/runtime-BZSnICCg.js +8484 -0
  485. package/dist/preview/_chunks/runtime-BdGkqNEt.js +45 -0
  486. package/dist/preview/_chunks/runtime-BwSxqk3t.js +63 -0
  487. package/dist/preview/_chunks/runtime-CqHxptiK.js +6143 -0
  488. package/dist/preview/_chunks/runtime-CsV4HZPV.js +5064 -0
  489. package/dist/preview/_chunks/runtime-CxZK_Ln3.js +284 -0
  490. package/dist/preview/_chunks/runtime-DZToXfvO.js +9767 -0
  491. package/dist/preview/_chunks/runtime-DrTjJkPY.js +3872 -0
  492. package/dist/preview/_chunks/runtime-DuHdxMFA.js +387 -0
  493. package/dist/preview/_chunks/runtime-iXdo8CR8.js +3635 -0
  494. package/dist/preview/_chunks/runtime-q3wt0e_N.js +6838 -0
  495. package/dist/preview/globals.d.ts +16 -0
  496. package/dist/preview/globals.js +20 -0
  497. package/dist/preview/runtime.js +6 -0
  498. package/dist/preview-api/index.d.ts +4 -0
  499. package/dist/preview-api/index.js +147 -0
  500. package/dist/preview-errors.d.ts +186 -0
  501. package/dist/preview-errors.js +56 -0
  502. package/dist/react/docgen/docgen-worker.js +38 -0
  503. package/dist/react/entry-preview-argtypes.js +9 -0
  504. package/dist/react/entry-preview-docs.js +12 -0
  505. package/dist/react/entry-preview-rsc.js +11 -0
  506. package/dist/react/entry-preview.js +21 -0
  507. package/dist/react/index.d.ts +119 -0
  508. package/dist/react/index.js +26 -0
  509. package/dist/react/preset.js +301 -0
  510. package/dist/react/preview.d.ts +2 -0
  511. package/dist/react/preview.js +11 -0
  512. package/dist/react-native/bin/get-stories.js +34 -0
  513. package/dist/react-native/index.d.ts +160 -0
  514. package/dist/react-native/index.js +1547 -0
  515. package/dist/react-native/metro/node.d.ts +83 -0
  516. package/dist/react-native/metro/node.js +21 -0
  517. package/dist/react-native/metro/withStorybook.d.ts +2269 -0
  518. package/dist/react-native/metro/withStorybook.js +138 -0
  519. package/dist/react-native/preview.d.ts +6 -0
  520. package/dist/react-native/preview.js +20 -0
  521. package/dist/react-native/scripts/generate.d.ts +22 -0
  522. package/dist/react-native/scripts/generate.js +18 -0
  523. package/dist/react-native/stub.js +20 -0
  524. package/dist/react-native-theming/index.d.ts +175 -0
  525. package/dist/react-native-theming/index.js +2591 -0
  526. package/dist/react-native-ui/index.d.ts +130 -0
  527. package/dist/react-native-ui/index.js +1448 -0
  528. package/dist/react-native-ui-common/index.d.ts +230 -0
  529. package/dist/react-native-ui-common/index.js +514 -0
  530. package/dist/react-vite/index.d.ts +4 -0
  531. package/dist/react-vite/index.js +8 -0
  532. package/dist/react-vite/node/index.d.ts +6 -0
  533. package/dist/react-vite/node/index.js +20 -0
  534. package/dist/react-vite/preset.d.ts +6 -0
  535. package/dist/react-vite/preset.js +21 -0
  536. package/dist/router/index.d.ts +141 -0
  537. package/dist/router/index.js +1217 -0
  538. package/dist/server-errors.d.ts +2 -0
  539. package/dist/server-errors.js +149 -0
  540. package/dist/shared/open-service/index.d.ts +3 -0
  541. package/dist/shared/open-service/index.js +115 -0
  542. package/dist/shared/open-service/services/docgen/worker/docgen-worker.js +75 -0
  543. package/dist/shared/open-service/toolsets/docs/public.d.ts +1296 -0
  544. package/dist/shared/open-service/toolsets/docs/public.js +991 -0
  545. package/dist/telemetry/index.d.ts +314 -0
  546. package/dist/telemetry/index.js +103 -0
  547. package/dist/test/index.d.ts +158 -0
  548. package/dist/test/index.js +19421 -0
  549. package/dist/theming/create.d.ts +15 -0
  550. package/dist/theming/create.js +11 -0
  551. package/dist/theming/index.d.ts +54 -0
  552. package/dist/theming/index.js +511 -0
  553. package/dist/types/index.d.ts +2 -0
  554. package/dist/types/index.js +48 -0
  555. package/dist/viewport/index.d.ts +275 -0
  556. package/dist/viewport/index.js +21 -0
  557. package/package.json +1054 -4
  558. package/template/nextjs-vite/cli/.eslintrc.json +6 -0
  559. package/template/nextjs-vite/cli/js/Button.jsx +42 -0
  560. package/template/nextjs-vite/cli/js/Button.stories.js +49 -0
  561. package/template/nextjs-vite/cli/js/Configure.mdx +470 -0
  562. package/template/nextjs-vite/cli/js/Header.jsx +58 -0
  563. package/template/nextjs-vite/cli/js/Header.stories.js +30 -0
  564. package/template/nextjs-vite/cli/js/Page.jsx +68 -0
  565. package/template/nextjs-vite/cli/js/Page.stories.js +28 -0
  566. package/template/nextjs-vite/cli/ts/Button.stories.ts +54 -0
  567. package/template/nextjs-vite/cli/ts/Button.tsx +39 -0
  568. package/template/nextjs-vite/cli/ts/Configure.mdx +446 -0
  569. package/template/nextjs-vite/cli/ts/Header.stories.ts +34 -0
  570. package/template/nextjs-vite/cli/ts/Header.tsx +54 -0
  571. package/template/nextjs-vite/cli/ts/Page.stories.ts +33 -0
  572. package/template/nextjs-vite/cli/ts/Page.tsx +73 -0
  573. package/template/react/cli/.eslintrc.json +5 -0
  574. package/template/react/cli/js/Button.jsx +39 -0
  575. package/template/react/cli/js/Button.stories.js +49 -0
  576. package/template/react/cli/js/Header.jsx +56 -0
  577. package/template/react/cli/js/Header.stories.js +29 -0
  578. package/template/react/cli/js/Page.jsx +69 -0
  579. package/template/react/cli/js/Page.stories.js +28 -0
  580. package/template/react/cli/ts/Button.stories.ts +54 -0
  581. package/template/react/cli/ts/Button.tsx +37 -0
  582. package/template/react/cli/ts/Header.stories.ts +34 -0
  583. package/template/react/cli/ts/Header.tsx +56 -0
  584. package/template/react/cli/ts/Page.stories.ts +33 -0
  585. package/template/react/cli/ts/Page.tsx +73 -0
  586. package/template/react-vite/cli/.eslintrc.json +5 -0
  587. package/template/react-vite/cli/js/Button.jsx +39 -0
  588. package/template/react-vite/cli/js/Button.stories.js +49 -0
  589. package/template/react-vite/cli/js/Header.jsx +56 -0
  590. package/template/react-vite/cli/js/Header.stories.js +29 -0
  591. package/template/react-vite/cli/js/Page.jsx +69 -0
  592. package/template/react-vite/cli/js/Page.stories.js +28 -0
  593. package/template/react-vite/cli/ts/Button.stories.ts +54 -0
  594. package/template/react-vite/cli/ts/Button.tsx +37 -0
  595. package/template/react-vite/cli/ts/Header.stories.ts +34 -0
  596. package/template/react-vite/cli/ts/Header.tsx +56 -0
  597. package/template/react-vite/cli/ts/Page.stories.ts +33 -0
  598. package/template/react-vite/cli/ts/Page.tsx +73 -0
@@ -0,0 +1,1924 @@
1
+ import { DecoratorFunction } from "@aussieljk/forkbook/internal/csf";
2
+ import * as React$1 from "react";
3
+ import React, { AnchorHTMLAttributes, ButtonHTMLAttributes, CSSProperties, Component, ComponentProps, ComponentPropsWithoutRef, DOMAttributes, ElementType, FC, ForwardRefExoticComponent, HTMLAttributes, MouseEvent as MouseEvent$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, RefObject, SelectHTMLAttributes, SyntheticEvent } from "react";
4
+ import { Addon_RenderOptions } from "@aussieljk/forkbook/internal/types";
5
+ import { StorybookTheme } from "@aussieljk/forkbook/theming";
6
+ import { API_KeyCollection } from "@aussieljk/forkbook/manager-api";
7
+
8
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Link.d.ts
9
+ declare const Link$2: ({
10
+ href: input,
11
+ ...props
12
+ }: React.AnchorHTMLAttributes<HTMLAnchorElement>) => React.JSX.Element;
13
+ //#endregion
14
+ //#region .dts-emit/code/core/src/components/components/typography/elements/A.d.ts
15
+ declare const A: ({
16
+ className,
17
+ ...props
18
+ }: ComponentProps<typeof Link$2>) => React.JSX.Element;
19
+ //#endregion
20
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Blockquote.d.ts
21
+ declare const Blockquote: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>, "ref"> & import("react").RefAttributes<any>>;
22
+ //#endregion
23
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Code.d.ts
24
+ declare const Code: ({
25
+ className,
26
+ children,
27
+ ...props
28
+ }: ComponentProps<'code'>) => React.JSX.Element;
29
+ //#endregion
30
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Div.d.ts
31
+ declare const Div: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<any>>;
32
+ //#endregion
33
+ //#region .dts-emit/code/core/src/components/components/typography/elements/DL.d.ts
34
+ declare const DL: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>, "ref"> & import("react").RefAttributes<any>>;
35
+ //#endregion
36
+ //#region .dts-emit/code/core/src/components/components/typography/elements/H1.d.ts
37
+ declare const H1: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("react").RefAttributes<any>>;
38
+ //#endregion
39
+ //#region .dts-emit/code/core/src/components/components/typography/elements/H2.d.ts
40
+ declare const H2: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("react").RefAttributes<any>>;
41
+ //#endregion
42
+ //#region .dts-emit/code/core/src/components/components/typography/elements/H3.d.ts
43
+ declare const H3: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("react").RefAttributes<any>>;
44
+ //#endregion
45
+ //#region .dts-emit/code/core/src/components/components/typography/elements/H4.d.ts
46
+ declare const H4: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("react").RefAttributes<any>>;
47
+ //#endregion
48
+ //#region .dts-emit/code/core/src/components/components/typography/elements/H5.d.ts
49
+ declare const H5: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("react").RefAttributes<any>>;
50
+ //#endregion
51
+ //#region .dts-emit/code/core/src/components/components/typography/elements/H6.d.ts
52
+ declare const H6: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & import("react").RefAttributes<any>>;
53
+ //#endregion
54
+ //#region .dts-emit/code/core/src/components/components/typography/elements/HR.d.ts
55
+ declare const HR: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, "ref"> & import("react").RefAttributes<any>>;
56
+ //#endregion
57
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Img.d.ts
58
+ declare const Img: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & import("react").RefAttributes<any>>;
59
+ //#endregion
60
+ //#region .dts-emit/code/core/src/components/components/typography/elements/LI.d.ts
61
+ declare const LI: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & import("react").RefAttributes<any>>;
62
+ //#endregion
63
+ //#region .dts-emit/code/core/src/components/components/typography/elements/OL.d.ts
64
+ declare const OL: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & import("react").RefAttributes<any>>;
65
+ //#endregion
66
+ //#region .dts-emit/code/core/src/components/components/typography/elements/P.d.ts
67
+ declare const P: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & import("react").RefAttributes<any>>;
68
+ //#endregion
69
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Pre.d.ts
70
+ declare const Pre: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>, "ref"> & import("react").RefAttributes<any>>;
71
+ //#endregion
72
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Span.d.ts
73
+ declare const Span: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & import("react").RefAttributes<any>>;
74
+ //#endregion
75
+ //#region .dts-emit/code/core/src/components/components/typography/elements/Table.d.ts
76
+ declare const Table: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, "ref"> & import("react").RefAttributes<any>>;
77
+ //#endregion
78
+ //#region .dts-emit/code/core/src/components/components/typography/elements/TT.d.ts
79
+ declare const TT: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref"> & import("react").RefAttributes<any>>;
80
+ //#endregion
81
+ //#region .dts-emit/code/core/src/components/components/typography/elements/UL.d.ts
82
+ declare const UL: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & import("react").RefAttributes<any>>;
83
+ //#endregion
84
+ //#region .dts-emit/code/core/src/components/components/Badge/Badge.d.ts
85
+ interface BadgeProps {
86
+ compact?: boolean;
87
+ status?: 'positive' | 'negative' | 'neutral' | 'warning' | 'critical' | 'active';
88
+ children?: React.ReactNode;
89
+ }
90
+ declare const Badge: ({
91
+ compact,
92
+ status,
93
+ children
94
+ }: BadgeProps) => React.JSX.Element;
95
+ //#endregion
96
+ //#region .dts-emit/code/core/src/components/components/typography/link/link.d.ts
97
+ interface LinkStylesProps {
98
+ secondary?: boolean;
99
+ tertiary?: boolean;
100
+ nochrome?: boolean;
101
+ inverse?: boolean;
102
+ isButton?: boolean;
103
+ }
104
+ interface LinkInnerProps {
105
+ withArrow?: boolean;
106
+ containsIcon?: boolean;
107
+ }
108
+ type AProps = AnchorHTMLAttributes<HTMLAnchorElement>;
109
+ interface LinkProps extends LinkInnerProps, LinkStylesProps, AProps {
110
+ cancel?: boolean;
111
+ className?: string;
112
+ style?: React.CSSProperties;
113
+ onClick?: (e: MouseEvent$1) => void;
114
+ href?: string;
115
+ }
116
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
117
+ //#endregion
118
+ //#region .dts-emit/code/core/src/components/components/typography/DocumentWrapper.d.ts
119
+ declare const DocumentWrapper: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<any>>;
120
+ //#endregion
121
+ //#region .dts-emit/code/core/src/components/components/syntaxhighlighter/syntaxhighlighter-types.d.ts
122
+ type SyntaxHighlighterFormatTypes = boolean | 'dedent';
123
+ /** A sugar-high language name, alias or file extension, such as `tsx`, `css` or `bash`. */
124
+ type SupportedLanguage = string;
125
+ interface SyntaxHighlighterProps {
126
+ children?: ReactNode;
127
+ language?: SupportedLanguage;
128
+ copyable?: boolean;
129
+ bordered?: boolean;
130
+ padded?: boolean;
131
+ format?: SyntaxHighlighterFormatTypes;
132
+ formatter?: (type: SyntaxHighlighterFormatTypes, source: string) => Promise<string>;
133
+ className?: string;
134
+ showLineNumbers?: boolean;
135
+ wrapLongLines?: boolean;
136
+ }
137
+ //#endregion
138
+ //#region .dts-emit/code/core/src/components/components/syntaxhighlighter/syntaxhighlighter.d.ts
139
+ declare const SyntaxHighlighter: ({
140
+ children,
141
+ language,
142
+ copyable,
143
+ bordered,
144
+ padded,
145
+ format,
146
+ formatter,
147
+ className,
148
+ showLineNumbers,
149
+ wrapLongLines
150
+ }: SyntaxHighlighterProps) => React.JSX.Element | null;
151
+ //#endregion
152
+ //#region .dts-emit/code/core/src/components/components/syntaxhighlighter/clipboard.d.ts
153
+ declare function copyUsingClipboardAPI(text: string): Promise<void>;
154
+ declare function createCopyToClipboardFunction(): typeof copyUsingClipboardAPI;
155
+ //#endregion
156
+ //#region .dts-emit/code/core/src/components/components/ActionBar/ActionBar.d.ts
157
+ interface ActionItem {
158
+ title: string | ReactElement;
159
+ ariaLabel?: string;
160
+ className?: string;
161
+ onClick: (e: MouseEvent$1<HTMLButtonElement>) => void;
162
+ disabled?: boolean;
163
+ }
164
+ interface ActionBarProps {
165
+ /** Items to render in this ActionBar. */
166
+ actionItems: ActionItem[];
167
+ /**
168
+ * When true, ActionBar aligns to the flex end and inline end of a wrapping row flex container.
169
+ * When false, ActionBar is positioned absolutely at the bottom right of its relative parent.
170
+ */
171
+ flexLayout?: boolean;
172
+ }
173
+ declare const ActionBar: ({
174
+ actionItems,
175
+ flexLayout,
176
+ ...props
177
+ }: ActionBarProps) => React.JSX.Element;
178
+ //#endregion
179
+ //#region .dts-emit/code/core/src/components/components/shared/overlayHelpers.d.ts
180
+ declare const POPPER_PLACEMENTS: readonly ['top', 'top-start', 'top-end', 'bottom', 'bottom-start', 'bottom-end', 'left', 'left-start', 'left-end', 'right', 'right-start', 'right-end'];
181
+ type PopperPlacement = (typeof POPPER_PLACEMENTS)[number];
182
+ /** Converts a Popper.js placement to the `side` and `align` props of a Base UI positioner. */
183
+ declare const convertToBaseUiPlacement: (placement: PopperPlacement) => {
184
+ side: "bottom" | "left" | "right" | "top";
185
+ align: "center" | "end" | "start";
186
+ };
187
+ //#endregion
188
+ //#region .dts-emit/code/core/src/components/components/Button/Button.d.ts
189
+ interface ButtonProps extends ComponentPropsWithoutRef<'button'> {
190
+ as?: ElementType;
191
+ asChild?: boolean;
192
+ size?: 'small' | 'medium';
193
+ padding?: 'small' | 'medium' | 'none';
194
+ appearance?: 'default' | 'agentic';
195
+ variant?: 'outline' | 'solid' | 'ghost';
196
+ /** @deprecated Use specialized components like `ToggleButton` or `Select` instead. */
197
+ active?: boolean;
198
+ readOnly?: boolean;
199
+ /** An animation for the icon, played on click. */
200
+ animation?: 'none' | 'rotate360' | 'glow' | 'jiggle';
201
+ /**
202
+ * A concise action label for the button announced by screen readers. Needed for buttons without
203
+ * text or with text that relies on visual cues to be understood. Pass false to indicate that the
204
+ * Button's content is already accessible to all. When a string is passed, it is also used as the
205
+ * default tooltip text.
206
+ */
207
+ ariaLabel?: string | false;
208
+ /**
209
+ * An optional tooltip to display when the Button is hovered. If the Button has no text content,
210
+ * consider making this the same as the aria-label.
211
+ */
212
+ tooltip?: string;
213
+ /**
214
+ * The preferred placement of the tooltip.
215
+ */
216
+ tooltipPlacement?: PopperPlacement;
217
+ /**
218
+ * Only use this flag when tooltips on button interfere with other keyboard interactions, like
219
+ * when building a custom select or menu button. Disables tooltips from the `tooltip`, `shortcut`
220
+ * and `ariaLabel` props.
221
+ */
222
+ disableAllTooltips?: boolean;
223
+ /**
224
+ * A more thorough description of what the Button does, provided to non-sighted users through an
225
+ * aria-describedby attribute. Use sparingly for buttons that trigger complex actions.
226
+ */
227
+ ariaDescription?: string;
228
+ /**
229
+ * An optional keyboard shortcut to enable the button. Will be displayed in the tooltip and passed
230
+ * to aria-keyshortcuts for assistive technologies. The binding of the shortcut and action is
231
+ * managed globally in the manager's shortcuts module.
232
+ */
233
+ shortcut?: API_KeyCollection;
234
+ }
235
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
236
+ declare const IconButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
237
+ //#endregion
238
+ //#region .dts-emit/code/core/src/components/components/ToggleButton/ToggleButton.d.ts
239
+ interface ToggleButtonProps extends ButtonProps {
240
+ /** Whether the ToggleButton is currently pressed or not. */
241
+ pressed: boolean;
242
+ }
243
+ declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLButtonElement>>;
244
+ //#endregion
245
+ //#region ../../node_modules/react-transition-state/types/types.d.ts
246
+ type TransitionStatus$1 = 'preEnter' | 'entering' | 'entered' | 'preExit' | 'exiting' | 'exited' | 'unmounted';
247
+ //#endregion
248
+ //#region .dts-emit/code/core/src/components/components/ActionList/ActionList.d.ts
249
+ interface ActionListItemProps extends ComponentProps<'li'> {
250
+ as?: ElementType;
251
+ active?: boolean;
252
+ transitionStatus?: TransitionStatus$1;
253
+ }
254
+ declare const ActionListAction: React.ForwardRefExoticComponent<Omit<ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
255
+ declare const ActionListLink: (props: ComponentProps<typeof ActionListAction> & React.AnchorHTMLAttributes<HTMLAnchorElement>) => React.JSX.Element;
256
+ declare const ActionList: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLUListElement> & React.HTMLAttributes<HTMLUListElement> & {
257
+ as?: ElementType;
258
+ }, "ref"> & React.RefAttributes<HTMLUListElement>> & {
259
+ Item: React.ForwardRefExoticComponent<Omit<ActionListItemProps, "ref"> & React.RefAttributes<HTMLLIElement>>;
260
+ HoverItem: React.ForwardRefExoticComponent<Omit<ActionListItemProps & {
261
+ targetId: string;
262
+ }, "ref"> & React.RefAttributes<HTMLLIElement>>;
263
+ Button: React.ForwardRefExoticComponent<Omit<ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
264
+ Toggle: React.ForwardRefExoticComponent<Omit<ToggleButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
265
+ Action: React.ForwardRefExoticComponent<Omit<ButtonProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
266
+ Link: typeof ActionListLink;
267
+ Text: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
268
+ Icon: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
269
+ };
270
+ //#endregion
271
+ //#region .dts-emit/code/core/src/components/components/Collapsible/Collapsible.d.ts
272
+ declare const CollapsibleContent: ({
273
+ collapsed,
274
+ className,
275
+ ...props
276
+ }: ComponentProps<'div'> & {
277
+ collapsed?: boolean;
278
+ }) => React.JSX.Element;
279
+ declare const Collapsible: (({
280
+ children,
281
+ summary,
282
+ collapsed,
283
+ disabled,
284
+ initialCollapsed,
285
+ storageKey,
286
+ state: providedState,
287
+ ...props
288
+ }: {
289
+ children: ReactNode | ((state: ReturnType<typeof useCollapsible>) => ReactNode);
290
+ summary?: ReactNode | ((state: ReturnType<typeof useCollapsible>) => ReactNode);
291
+ collapsed?: boolean;
292
+ disabled?: boolean;
293
+ initialCollapsed?: boolean;
294
+ storageKey?: string;
295
+ state?: ReturnType<typeof useCollapsible>;
296
+ } & ComponentProps<typeof CollapsibleContent>) => React.JSX.Element) & {
297
+ Content: typeof CollapsibleContent;
298
+ };
299
+ declare const useCollapsible: ({
300
+ collapsed,
301
+ disabled,
302
+ initialCollapsed,
303
+ storageKey
304
+ }: {
305
+ collapsed?: boolean;
306
+ disabled?: boolean;
307
+ initialCollapsed?: boolean;
308
+ storageKey?: string;
309
+ }) => {
310
+ contentId: string;
311
+ isCollapsed: boolean;
312
+ isDisabled: boolean;
313
+ setCollapsed: React.Dispatch<React.SetStateAction<boolean>>;
314
+ toggleCollapsed: (event?: SyntheticEvent<Element, Event>) => void;
315
+ toggleProps: {
316
+ readonly disabled: boolean | undefined;
317
+ readonly onClick: (event?: SyntheticEvent<Element, Event>) => void;
318
+ readonly 'aria-controls': string;
319
+ readonly 'aria-expanded': boolean;
320
+ };
321
+ };
322
+ //#endregion
323
+ //#region .dts-emit/code/core/src/components/components/Card/Card.d.ts
324
+ type ThemeColor = keyof StorybookTheme['color'] | keyof StorybookTheme['fgColor'];
325
+ interface CardContentProps extends ComponentProps<'div'> {
326
+ color?: ThemeColor;
327
+ }
328
+ interface CardOutlineProps extends ComponentProps<'div'> {
329
+ animation?: 'none' | 'rainbow' | 'spin';
330
+ color?: ThemeColor;
331
+ outlineColor?: ThemeColor;
332
+ }
333
+ interface CardProps extends CardContentProps {
334
+ outlineAnimation?: 'none' | 'rainbow' | 'spin';
335
+ outlineColor?: ThemeColor;
336
+ outlineAttrs?: DOMAttributes<HTMLDivElement>;
337
+ }
338
+ declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>> & {
339
+ Content: React.ForwardRefExoticComponent<Omit<CardContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
340
+ Outline: React.ForwardRefExoticComponent<Omit<CardOutlineProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
341
+ };
342
+ declare namespace Modal_styled_d_exports {
343
+ export { Actions, Close, CloseButton, Col, Container, Content, Description, Dialog, Error$1 as Error, ErrorWrapper, Header, Overlay, Row, Title };
344
+ }
345
+ interface TransitionProps {
346
+ $status?: TransitionStatus$1;
347
+ $transitionDuration?: number;
348
+ }
349
+ declare const Overlay: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & TransitionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
350
+ declare const Container: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "height" | "width"> & TransitionProps & {
351
+ $variant: 'dialog' | 'bottom-drawer';
352
+ width?: number | string;
353
+ height?: number | string;
354
+ }, "ref"> & React.RefAttributes<HTMLDivElement>>;
355
+ interface CloseProps {
356
+ asChild?: boolean;
357
+ children?: React.ReactElement<{
358
+ onClick?: (event: React.MouseEvent) => void;
359
+ }, string | React.JSXElementConstructor<{
360
+ onClick?: (event: React.MouseEvent) => void;
361
+ }>>;
362
+ onClick?: (event: React.MouseEvent) => void;
363
+ }
364
+ declare const Close: ({
365
+ asChild,
366
+ children,
367
+ onClick,
368
+ ...props
369
+ }: CloseProps) => React.JSX.Element;
370
+ declare const Dialog: {
371
+ Close: () => React.JSX.Element;
372
+ };
373
+ declare const CloseButton: ({
374
+ ariaLabel,
375
+ ...props
376
+ }: React.ComponentProps<typeof Button>) => React.JSX.Element;
377
+ declare const Content: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
378
+ declare const Row: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
379
+ declare const Col: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
380
+ declare const Header: ({
381
+ hasClose,
382
+ onClose,
383
+ ...props
384
+ }: React.ComponentProps<typeof Col> & {
385
+ hasClose?: boolean;
386
+ onClose?: () => void;
387
+ }) => React.JSX.Element;
388
+ declare const Title: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
389
+ declare const Description: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
390
+ declare const Actions: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
391
+ declare const ErrorWrapper: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
392
+ declare const Error$1: ({
393
+ children,
394
+ ...props
395
+ }: {
396
+ children: React.ReactNode;
397
+ } & ComponentProps<typeof ErrorWrapper>) => React.JSX.Element;
398
+ //#endregion
399
+ //#region .dts-emit/code/core/src/components/components/Modal/Modal.d.ts
400
+ interface ModalProps extends HTMLAttributes<HTMLDivElement> {
401
+ container?: HTMLElement;
402
+ portalSelector?: string;
403
+ /** Width of the Modal. Defaults to `740`. */
404
+ width?: number | string;
405
+ /** Height of the Modal. Defaults to `auto`. */
406
+ height?: number | string;
407
+ /** Modal content. */
408
+ children: React.ReactNode;
409
+ /** Additional class names for the Modal. */
410
+ className?: string;
411
+ /** Controlled state: whether the Modal is currently open. */
412
+ open?: boolean;
413
+ /** Uncontrolled state: whether the Modal is initially open on the first. */
414
+ defaultOpen?: boolean;
415
+ /** @deprecated Use `dismissOnEscape` instead. */
416
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
417
+ /** @deprecated Use `dismissOnInteractOutside` instead. */
418
+ onInteractOutside?: (event: FocusEvent | MouseEvent | TouchEvent) => void;
419
+ /** Handler called when visibility of the Modal changes. */
420
+ onOpenChange?: (isOpen: boolean) => void;
421
+ /** The accessible name for the modal. */
422
+ ariaLabel?: string;
423
+ /** Whether the modal can be dismissed by clicking outside. Defaults to `true`. */
424
+ dismissOnClickOutside?: boolean;
425
+ /** Whether the modal can be dismissed by pressing Escape. Defaults to `true`. */
426
+ dismissOnEscape?: boolean;
427
+ /** Transition duration, so we can slow down transitions on mobile. */
428
+ transitionDuration?: number;
429
+ /** The max dimensions, initial position and animations of the Modal. Defaults to 'dialog'. */
430
+ variant?: 'dialog' | 'bottom-drawer';
431
+ }
432
+ declare function BaseModal({
433
+ container,
434
+ portalSelector,
435
+ children,
436
+ width,
437
+ height,
438
+ ariaLabel,
439
+ dismissOnClickOutside,
440
+ dismissOnEscape,
441
+ className,
442
+ open,
443
+ onEscapeKeyDown,
444
+ onInteractOutside,
445
+ onOpenChange,
446
+ defaultOpen,
447
+ transitionDuration,
448
+ variant,
449
+ ...props
450
+ }: ModalProps): React.JSX.Element | null;
451
+ declare const Modal: typeof BaseModal & typeof Modal_styled_d_exports;
452
+ /**
453
+ * Forkbook decorator to help render Modals in stories with multiple theme layouts. Internal to
454
+ * Forkbook. Use at your own risk.
455
+ */
456
+ declare const ModalDecorator: DecoratorFunction;
457
+ //#endregion
458
+ //#region .dts-emit/code/core/src/components/components/spaced/Spaced.d.ts
459
+ interface SpacedProps {
460
+ children?: React.ReactNode;
461
+ col?: number;
462
+ row?: number;
463
+ outer?: number | boolean;
464
+ className?: string;
465
+ }
466
+ declare const Spaced: ({
467
+ col,
468
+ row,
469
+ outer,
470
+ children,
471
+ className,
472
+ ...rest
473
+ }: SpacedProps) => React.JSX.Element;
474
+ //#endregion
475
+ //#region .dts-emit/code/core/src/components/components/placeholder/placeholder.d.ts
476
+ interface PlaceholderProps {
477
+ children?: React.ReactNode;
478
+ }
479
+ declare const Placeholder: ({
480
+ children,
481
+ ...props
482
+ }: PlaceholderProps) => React.JSX.Element;
483
+ //#endregion
484
+ //#region .dts-emit/code/core/src/components/components/ScrollArea/ScrollArea.d.ts
485
+ interface ScrollAreaProps {
486
+ children?: React.ReactNode;
487
+ horizontal?: boolean;
488
+ vertical?: boolean;
489
+ className?: string;
490
+ offset?: number;
491
+ scrollbarSize?: number;
492
+ scrollPadding?: number | string;
493
+ /**
494
+ * Set this to define a tabIndex on the scrollable content; only needed when content has no
495
+ * interactive elements.
496
+ */
497
+ focusable?: boolean;
498
+ }
499
+ declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
500
+ //#endregion
501
+ //#region .dts-emit/code/core/src/components/components/Zoom/ZoomElement.d.ts
502
+ type ZoomProps = {
503
+ centered?: boolean;
504
+ scale: number;
505
+ children: ReactElement | ReactElement[];
506
+ };
507
+ declare function ZoomElement({
508
+ centered,
509
+ scale,
510
+ children
511
+ }: ZoomProps): React.JSX.Element;
512
+ //#endregion
513
+ //#region .dts-emit/code/core/src/components/components/Zoom/ZoomIFrame.d.ts
514
+ type IZoomIFrameProps = {
515
+ scale: number;
516
+ children: ReactElement<HTMLIFrameElement>;
517
+ iFrameRef: RefObject<HTMLIFrameElement>;
518
+ active?: boolean;
519
+ };
520
+ declare class ZoomIFrame extends Component<IZoomIFrameProps> {
521
+ iframe: HTMLIFrameElement;
522
+ componentDidMount(): void;
523
+ shouldComponentUpdate(nextProps: IZoomIFrameProps): boolean;
524
+ setIframeInnerZoom(scale: number): void;
525
+ setIframeZoom(scale: number): void;
526
+ render(): React.JSX.Element;
527
+ }
528
+ //#endregion
529
+ //#region .dts-emit/code/core/src/components/components/Zoom/Zoom.d.ts
530
+ declare const Zoom: {
531
+ Element: typeof ZoomElement;
532
+ IFrame: typeof ZoomIFrame;
533
+ };
534
+ //#endregion
535
+ //#region .dts-emit/code/core/src/components/components/ErrorFormatter/ErrorFormatter.d.ts
536
+ interface ErrorFormatterProps {
537
+ error: Error;
538
+ }
539
+ declare const ErrorFormatter: ({
540
+ error
541
+ }: ErrorFormatterProps) => React.JSX.Element;
542
+ //#endregion
543
+ //#region .dts-emit/code/core/src/components/components/Select/helpers.d.ts
544
+ type Value = string | number | null | boolean | undefined;
545
+ interface Option {
546
+ /** Optional rendering of the option. */
547
+ children?: React.ReactNode;
548
+ title: string;
549
+ description?: string;
550
+ icon?: React.ReactNode;
551
+ aside?: React.ReactNode;
552
+ value: Value;
553
+ }
554
+ //#endregion
555
+ //#region .dts-emit/code/core/src/components/components/Select/Select.d.ts
556
+ interface SelectProps$1 extends Omit<ButtonProps, 'onClick' | 'onChange' | 'onSelect' | 'variant'> {
557
+ size?: 'small' | 'medium';
558
+ padding?: 'small' | 'medium' | 'none';
559
+ /**
560
+ * Whether multiple options can be selected. In single select mode, this component acts like a
561
+ * HTML select element where the selected option follows focus. In multi select mode, it acts like
562
+ * a combobox and does not autoclose on select or autoselect the focused option.
563
+ */
564
+ multiSelect?: boolean;
565
+ /**
566
+ * Mandatory label that explains what is being selected. Do not include "change", "toggle" or
567
+ * "select" verbs in the label. Instead, only describe the type of content with a noun.
568
+ */
569
+ ariaLabel: string;
570
+ /**
571
+ * Label for the Select component. In single-select mode, is replaced by the currently selected
572
+ * option's title.
573
+ */
574
+ children?: React.ReactNode;
575
+ /**
576
+ * Icon shown next to the Select's children, still displayed when a value is selected and Select
577
+ * shows that value instead of children.
578
+ */
579
+ icon?: React.ReactNode;
580
+ /** Whether the Select is currently disabled. */
581
+ disabled?: boolean;
582
+ /** Options available in the select. */
583
+ options: Option[];
584
+ /** IDs of the preselected options. */
585
+ defaultOptions?: Value | Value[];
586
+ /** Whether the Select should render open. */
587
+ defaultOpen?: boolean;
588
+ /** When set, a reset option is rendered in the Select listbox. */
589
+ onReset?: () => void;
590
+ /** Custom text label for the reset option when it exists. */
591
+ resetLabel?: string;
592
+ onSelect?: (option: Value) => void;
593
+ onDeselect?: (option: Value) => void;
594
+ onChange?: (selected: Value[]) => void;
595
+ /**
596
+ * Legacy option for ToolbarMenuSelect. Do not use in new code. Controls whether to show the
597
+ * selected option's title.
598
+ *
599
+ * @default true
600
+ */
601
+ showSelectedOptionTitle?: boolean;
602
+ }
603
+ declare const Select: React.ForwardRefExoticComponent<SelectProps$1 & React.RefAttributes<HTMLButtonElement>>;
604
+ //#endregion
605
+ //#region .dts-emit/code/core/src/components/components/Form/styles.d.ts
606
+ type Sizes = '100%' | 'flex' | 'auto';
607
+ type Alignments = 'end' | 'center' | 'start';
608
+ type ValidationStates = 'valid' | 'error' | 'warn';
609
+ //#endregion
610
+ //#region .dts-emit/code/core/src/components/components/Form/Textarea.d.ts
611
+ /**
612
+ * These types are copied from `react-textarea-autosize`. I copied them because of
613
+ * https://github.com/storybookjs/storybook/issues/18734 Maybe there's some bug in `tsup` or
614
+ * `react-textarea-autosize`?
615
+ */
616
+ type TextareaPropsRaw = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
617
+ type Style = Omit<NonNullable<TextareaPropsRaw['style']>, 'maxHeight' | 'minHeight'> & {
618
+ height?: number;
619
+ };
620
+ type TextareaHeightChangeMeta = {
621
+ rowHeight: number;
622
+ };
623
+ interface TextareaAutosizeProps extends Omit<TextareaPropsRaw, 'style'> {
624
+ maxRows?: number;
625
+ minRows?: number;
626
+ onHeightChange?: (height: number, meta: TextareaHeightChangeMeta) => void;
627
+ cacheMeasurements?: boolean;
628
+ style?: Style;
629
+ }
630
+ //#endregion
631
+ //#region .dts-emit/code/core/src/components/components/Form/Checkbox.d.ts
632
+ declare const Checkbox: ({
633
+ className,
634
+ ...props
635
+ }: React.InputHTMLAttributes<HTMLInputElement>) => React.JSX.Element;
636
+ //#endregion
637
+ //#region .dts-emit/code/core/src/components/components/Form/Field.d.ts
638
+ interface FieldProps extends Omit<ComponentProps<'label'>, 'children'> {
639
+ children?: ReactNode;
640
+ label?: ReactNode;
641
+ }
642
+ declare const Field: ({
643
+ label,
644
+ children,
645
+ className,
646
+ ...props
647
+ }: FieldProps) => React.JSX.Element;
648
+ //#endregion
649
+ //#region .dts-emit/code/core/src/components/components/Form/Radio.d.ts
650
+ declare const Radio: ({
651
+ className,
652
+ ...props
653
+ }: React.InputHTMLAttributes<HTMLInputElement>) => React.JSX.Element;
654
+ //#endregion
655
+ //#region .dts-emit/code/core/src/components/components/Form/Select.d.ts
656
+ type SelectProps = Omit<SelectHTMLAttributes<HTMLSelectElement>, keyof {
657
+ size?: Sizes;
658
+ align?: Alignments;
659
+ valid?: ValidationStates;
660
+ height?: number;
661
+ }> & {
662
+ size?: Sizes;
663
+ align?: Alignments;
664
+ valid?: ValidationStates;
665
+ height?: number;
666
+ };
667
+ declare const Select$1: ({
668
+ children,
669
+ size,
670
+ align,
671
+ valid,
672
+ height,
673
+ className,
674
+ ...props
675
+ }: SelectProps) => React.JSX.Element;
676
+ //#endregion
677
+ //#region .dts-emit/code/core/src/components/components/Form/Form.d.ts
678
+ declare const Form: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>> & {
679
+ Field: typeof Field;
680
+ Input: React.ForwardRefExoticComponent<Omit<Omit<React.HTMLProps<HTMLInputElement>, "align" | "height" | "size" | "valid"> & {
681
+ size?: Sizes;
682
+ align?: Alignments;
683
+ valid?: ValidationStates;
684
+ height?: number;
685
+ suffix?: string;
686
+ }, "ref"> & React.RefAttributes<any>>;
687
+ Select: typeof Select$1;
688
+ Textarea: React.ForwardRefExoticComponent<Omit<Omit<TextareaAutosizeProps, "align" | "height" | "size" | "valid"> & {
689
+ size?: Sizes;
690
+ align?: Alignments;
691
+ valid?: ValidationStates;
692
+ height?: number;
693
+ } & React.RefAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<any>>;
694
+ Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
695
+ Checkbox: typeof Checkbox;
696
+ Radio: typeof Radio;
697
+ };
698
+ //#endregion
699
+ //#region .dts-emit/code/core/src/components/components/Popover/Popover.d.ts
700
+ interface PopoverProps extends HTMLAttributes<HTMLDivElement> {
701
+ /** Content of the popover. */
702
+ children: React.ReactNode;
703
+ /** Preset popover color taken from the theme, affecting both bathground and foreground. */
704
+ color?: 'default' | 'inverse' | 'positive' | 'negative' | 'warning' | 'none';
705
+ /** Whether the popover is rendered with a decorative window-like appearance. */
706
+ hasChrome: boolean;
707
+ /** Optional callback connected to a close button. Then button is shown only when passed. */
708
+ onHide?: () => void;
709
+ /** Optional custom label for the close button, if there is one. */
710
+ hideLabel?: string;
711
+ /** Padding between the content and popover edge. */
712
+ padding?: number | string;
713
+ }
714
+ declare const Popover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<HTMLDivElement>>;
715
+ //#endregion
716
+ //#region .dts-emit/code/core/src/components/components/Popover/PopoverProvider.d.ts
717
+ interface PopoverProviderProps {
718
+ /**
719
+ * An accessible label for the popover dialog, announced by screen readers. This prop will become
720
+ * mandatory in Forkbook 11. Provide a concise description of the popover's purpose.
721
+ */
722
+ ariaLabel?: string;
723
+ /** Whether to display the Popover in a prestyled container. True by default. */
724
+ hasChrome?: boolean;
725
+ /**
726
+ * Whether to display a close button in the top right corner of the popover overlay. Can overlap
727
+ * with overlay content, make sure to test your use case. False by default.
728
+ */
729
+ hasCloseButton?: boolean;
730
+ /** Optional custom label for the close button, if there is one. */
731
+ closeLabel?: string;
732
+ /** Optional custom padding for the popover overlay. */
733
+ padding?: number | string;
734
+ /** Distance between the trigger and Popover. Customize only if you have a good reason to. */
735
+ offset?: number;
736
+ /**
737
+ * Placement of the Popover. Start and End variants involve additional JS dimension calculations
738
+ * and should be used sparingly. Left and Right get inverted in RTL.
739
+ */
740
+ placement?: PopperPlacement;
741
+ /**
742
+ * Popover content. Pass a function to receive a onHide callback to collect to your close button,
743
+ * or if you want to wait for the popover to be opened to call your content component.
744
+ */
745
+ popover: ReactNode | ((props: {
746
+ onHide: () => void;
747
+ }) => ReactNode);
748
+ /** Popover trigger, must be a single child with click/press events. Must forward refs. */
749
+ children: ReactElement<DOMAttributes<Element>, string>;
750
+ /** Uncontrolled state: whether the Popover is initially visible. */
751
+ defaultVisible?: boolean;
752
+ /** Controlled state: whether the Popover is visible. */
753
+ visible?: boolean;
754
+ /** Controlled state: fires when user interaction causes the Popover to change visibility. */
755
+ onVisibleChange?: (isVisible: boolean) => void;
756
+ }
757
+ declare const PopoverProvider: ({
758
+ ariaLabel,
759
+ placement,
760
+ hasChrome,
761
+ hasCloseButton,
762
+ closeLabel,
763
+ offset,
764
+ padding,
765
+ popover,
766
+ children,
767
+ defaultVisible,
768
+ visible,
769
+ onVisibleChange
770
+ }: PopoverProviderProps) => React.JSX.Element;
771
+ //#endregion
772
+ //#region .dts-emit/code/core/src/components/components/tooltip/Tooltip.d.ts
773
+ type TooltipProps = Omit<PopoverProps, 'onHide' | 'hideLabel'>;
774
+ declare const Tooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<HTMLDivElement>>;
775
+ //#endregion
776
+ //#region .dts-emit/code/core/src/components/components/tooltip/TooltipNote.d.ts
777
+ interface TooltipNoteProps {
778
+ note?: string;
779
+ shortcut?: string;
780
+ maxWidth?: number;
781
+ }
782
+ declare const TooltipNote: ({
783
+ note,
784
+ maxWidth,
785
+ shortcut,
786
+ ...props
787
+ }: TooltipNoteProps) => React.JSX.Element;
788
+ //#endregion
789
+ //#region .dts-emit/code/core/src/components/components/tooltip/TooltipProvider.d.ts
790
+ interface TooltipProviderProps {
791
+ /** Tooltips trigger on hover and focus by default. To trigger on focus only, set this to `true`. */
792
+ triggerOnFocusOnly?: boolean;
793
+ /** Distance between the trigger and tooltip. Customize only if you have a good reason to. */
794
+ offset?: number;
795
+ /**
796
+ * Placement of the tooltip. Start and End variants involve additional JS dimension calculations
797
+ * and should be used sparingly. Left and Right get inverted in RTL.
798
+ */
799
+ placement?: PopperPlacement;
800
+ /** Tooltip content */
801
+ tooltip: ReactNode;
802
+ /** Tooltip trigger, must be a single child that can receive focus and click/key events. */
803
+ children: ReactElement<DOMAttributes<Element>, string>;
804
+ /** Delay before showing the tooltip, defaults to 200ms. Always instant on focus. */
805
+ delayShow?: number;
806
+ /** Delay before hiding the tooltip, defaults to 400ms. */
807
+ delayHide?: number;
808
+ /** Uncontrolled state: whether the tooltip is visible by default. */
809
+ defaultVisible?: boolean;
810
+ /** Deprecated property - use defaultVisible instead. */
811
+ startOpen?: boolean;
812
+ /** Controlled state: whether the tooltip is visible. */
813
+ visible?: boolean;
814
+ /** Controlled state: fires when user interaction causes the tooltip to change visibility. */
815
+ onVisibleChange?: (isVisible: boolean) => void;
816
+ }
817
+ declare const TooltipProvider: ({
818
+ triggerOnFocusOnly,
819
+ placement,
820
+ offset,
821
+ tooltip,
822
+ children,
823
+ defaultVisible,
824
+ startOpen,
825
+ delayShow,
826
+ delayHide,
827
+ visible,
828
+ onVisibleChange
829
+ }: TooltipProviderProps) => React.JSX.Element;
830
+ //#endregion
831
+ //#region ../../node_modules/@popperjs/core/lib/enums.d.ts
832
+ declare const top: "top";
833
+ declare const bottom: "bottom";
834
+ declare const right$1: "right";
835
+ declare const left$1: "left";
836
+ declare type BasePlacement = typeof top | typeof bottom | typeof right$1 | typeof left$1;
837
+ declare type VariationPlacement = "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
838
+ declare type AutoPlacement = "auto" | "auto-start" | "auto-end";
839
+ declare type Placement = AutoPlacement | BasePlacement | VariationPlacement;
840
+ declare const beforeRead: "beforeRead";
841
+ declare const read: "read";
842
+ declare const afterRead: "afterRead";
843
+ declare const beforeMain: "beforeMain";
844
+ declare const main: "main";
845
+ declare const afterMain: "afterMain";
846
+ declare const beforeWrite: "beforeWrite";
847
+ declare const write: "write";
848
+ declare const afterWrite: "afterWrite";
849
+ declare type ModifierPhases = typeof beforeRead | typeof read | typeof afterRead | typeof beforeMain | typeof main | typeof afterMain | typeof beforeWrite | typeof write | typeof afterWrite;
850
+ //#endregion
851
+ //#region ../../node_modules/@popperjs/core/lib/types.d.ts
852
+ declare type Obj = {
853
+ [key: string]: any;
854
+ };
855
+ declare type VisualViewport = EventTarget & {
856
+ width: number;
857
+ height: number;
858
+ offsetLeft: number;
859
+ offsetTop: number;
860
+ scale: number;
861
+ };
862
+ declare type Window = {
863
+ innerHeight: number;
864
+ offsetHeight: number;
865
+ innerWidth: number;
866
+ offsetWidth: number;
867
+ pageXOffset: number;
868
+ pageYOffset: number;
869
+ getComputedStyle: typeof getComputedStyle;
870
+ addEventListener(type: any, listener: any, optionsOrUseCapture?: any): void;
871
+ removeEventListener(type: any, listener: any, optionsOrUseCapture?: any): void;
872
+ Element: Element;
873
+ HTMLElement: HTMLElement;
874
+ Node: Node;
875
+ toString(): "[object Window]";
876
+ devicePixelRatio: number;
877
+ visualViewport?: VisualViewport;
878
+ ShadowRoot: ShadowRoot;
879
+ };
880
+ declare type Rect = {
881
+ width: number;
882
+ height: number;
883
+ x: number;
884
+ y: number;
885
+ };
886
+ declare type Offsets = {
887
+ y: number;
888
+ x: number;
889
+ };
890
+ declare type PositioningStrategy = "absolute" | "fixed";
891
+ declare type StateRects = {
892
+ reference: Rect;
893
+ popper: Rect;
894
+ };
895
+ declare type OffsetData = { [key in Placement]?: Offsets };
896
+ declare type State$1 = {
897
+ elements: {
898
+ reference: Element | VirtualElement;
899
+ popper: HTMLElement;
900
+ arrow?: HTMLElement;
901
+ };
902
+ options: OptionsGeneric<any>;
903
+ placement: Placement;
904
+ strategy: PositioningStrategy;
905
+ orderedModifiers: Array<Modifier<any, any>>;
906
+ rects: StateRects;
907
+ scrollParents: {
908
+ reference: Array<Element | Window | VisualViewport>;
909
+ popper: Array<Element | Window | VisualViewport>;
910
+ };
911
+ styles: {
912
+ [key: string]: Partial<CSSStyleDeclaration>;
913
+ };
914
+ attributes: {
915
+ [key: string]: {
916
+ [key: string]: string | boolean;
917
+ };
918
+ };
919
+ modifiersData: {
920
+ arrow?: {
921
+ x?: number;
922
+ y?: number;
923
+ centerOffset: number;
924
+ };
925
+ hide?: {
926
+ isReferenceHidden: boolean;
927
+ hasPopperEscaped: boolean;
928
+ referenceClippingOffsets: SideObject;
929
+ popperEscapeOffsets: SideObject;
930
+ };
931
+ offset?: OffsetData;
932
+ preventOverflow?: Offsets;
933
+ popperOffsets?: Offsets;
934
+ [key: string]: any;
935
+ };
936
+ reset: boolean;
937
+ };
938
+ declare type SetAction<S> = S | ((prev: S) => S);
939
+ declare type Instance = {
940
+ state: State$1;
941
+ destroy: () => void;
942
+ forceUpdate: () => void;
943
+ update: () => Promise<Partial<State$1>>;
944
+ setOptions: (setOptionsAction: SetAction<Partial<OptionsGeneric<any>>>) => Promise<Partial<State$1>>;
945
+ };
946
+ declare type ModifierArguments<Options extends Obj> = {
947
+ state: State$1;
948
+ instance: Instance;
949
+ options: Partial<Options>;
950
+ name: string;
951
+ };
952
+ declare type Modifier<Name, Options extends Obj> = {
953
+ name: Name;
954
+ enabled: boolean;
955
+ phase: ModifierPhases;
956
+ requires?: Array<string>;
957
+ requiresIfExists?: Array<string>;
958
+ fn: (arg0: ModifierArguments<Options>) => State$1 | void;
959
+ effect?: (arg0: ModifierArguments<Options>) => (() => void) | void;
960
+ options?: Partial<Options>;
961
+ data?: Obj;
962
+ };
963
+ declare type Options$1 = {
964
+ placement: Placement;
965
+ modifiers: Array<Partial<Modifier<any, any>>>;
966
+ strategy: PositioningStrategy;
967
+ onFirstUpdate?: (arg0: Partial<State$1>) => void;
968
+ };
969
+ declare type OptionsGeneric<TModifier> = {
970
+ placement: Placement;
971
+ modifiers: Array<TModifier>;
972
+ strategy: PositioningStrategy;
973
+ onFirstUpdate?: (arg0: Partial<State$1>) => void;
974
+ };
975
+ declare type SideObject = {
976
+ top: number;
977
+ left: number;
978
+ right: number;
979
+ bottom: number;
980
+ };
981
+ declare type VirtualElement = {
982
+ getBoundingClientRect: () => ClientRect | DOMRect;
983
+ contextElement?: Element;
984
+ };
985
+ //#endregion
986
+ //#region ../../node_modules/@popperjs/core/lib/popper.d.ts
987
+ declare const createPopper: <TModifier extends Partial<Modifier<any, any>>>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial<OptionsGeneric<TModifier>>) => Instance;
988
+ //#endregion
989
+ //#region ../../node_modules/react-popper-tooltip/dist/types.d.ts
990
+ declare type TriggerType = 'click' | 'double-click' | 'right-click' | 'hover' | 'focus';
991
+ declare type Config = {
992
+ /**
993
+ * Whether to close the tooltip when its trigger is out of boundary
994
+ * @default false
995
+ */
996
+ closeOnTriggerHidden?: boolean;
997
+ /**
998
+ * Event or events that trigger the tooltip
999
+ * @default hover
1000
+ */
1001
+ trigger?: TriggerType | TriggerType[] | null;
1002
+ /**
1003
+ * Delay in hiding the tooltip (ms)
1004
+ * @default 0
1005
+ */
1006
+ delayHide?: number;
1007
+ /**
1008
+ * Delay in showing the tooltip (ms)
1009
+ * @default 0
1010
+ */
1011
+ delayShow?: number;
1012
+ /**
1013
+ * Whether to make the tooltip spawn at cursor position
1014
+ * @default false
1015
+ */
1016
+ followCursor?: boolean;
1017
+ /**
1018
+ * Options to MutationObserver, used internally for updating
1019
+ * tooltip position based on its DOM changes
1020
+ * @default { attributes: true, childList: true, subtree: true }
1021
+ */
1022
+ mutationObserverOptions?: MutationObserverInit | null;
1023
+ /**
1024
+ * Whether tooltip is shown by default
1025
+ * @default false
1026
+ */
1027
+ defaultVisible?: boolean;
1028
+ /**
1029
+ * Used to create controlled tooltip
1030
+ */
1031
+ visible?: boolean;
1032
+ /**
1033
+ * Called when the visibility of the tooltip changes
1034
+ */
1035
+ onVisibleChange?: (state: boolean) => void;
1036
+ /**
1037
+ * If `true`, a click outside the trigger element closes the tooltip
1038
+ * @default true
1039
+ */
1040
+ closeOnOutsideClick?: boolean;
1041
+ /**
1042
+ * If `true`, hovering the tooltip will keep it open. Normally tooltip closes when the mouse cursor moves out of
1043
+ * the trigger element. If it moves to the tooltip element, the tooltip stays open.
1044
+ * @default false
1045
+ */
1046
+ interactive?: boolean;
1047
+ /**
1048
+ * Alias for popper.js placement, see https://popper.js.org/docs/v2/constructors/#placement
1049
+ */
1050
+ placement?: Placement;
1051
+ /**
1052
+ * Shorthand for popper.js offset modifier, see https://popper.js.org/docs/v2/modifiers/offset/
1053
+ * @default [0, 6]
1054
+ */
1055
+ offset?: [number, number];
1056
+ };
1057
+ declare type PopperOptions = Partial<Options$1> & {
1058
+ createPopper?: typeof createPopper;
1059
+ };
1060
+ //#endregion
1061
+ //#region .dts-emit/code/core/src/components/components/tooltip/WithTooltip.d.ts
1062
+ interface WithHideFn {
1063
+ onHide: () => void;
1064
+ }
1065
+ interface WithTooltipPureProps extends Omit<Config, 'closeOnOutsideClick'>, Omit<HTMLAttributes<HTMLElement>, 'children'>, PopperOptions {
1066
+ svg?: boolean;
1067
+ withArrows?: boolean;
1068
+ hasChrome?: boolean;
1069
+ tooltip: ReactNode | ((p: WithHideFn) => ReactNode);
1070
+ children: ReactNode;
1071
+ onDoubleClick?: () => void;
1072
+ /**
1073
+ * If `true`, a click outside the trigger element closes the tooltip
1074
+ *
1075
+ * @default false
1076
+ */
1077
+ closeOnOutsideClick?: boolean;
1078
+ /**
1079
+ * Optional container to portal the tooltip into. Can be a CSS selector string or a DOM Element.
1080
+ * Falls back to document.body.
1081
+ */
1082
+ portalContainer?: Element | string | null;
1083
+ }
1084
+ interface WithTooltipStateProps extends Omit<WithTooltipPureProps, 'onVisibleChange'> {
1085
+ startOpen?: boolean;
1086
+ onVisibleChange?: (visible: boolean) => void | boolean;
1087
+ }
1088
+ //#endregion
1089
+ //#region .dts-emit/code/core/src/components/components/tooltip/lazy-WithTooltip.d.ts
1090
+ declare const LazyWithTooltip: React.LazyExoticComponent<({
1091
+ startOpen,
1092
+ onVisibleChange: onChange,
1093
+ ...rest
1094
+ }: WithTooltipStateProps) => React.JSX.Element>;
1095
+ declare const WithTooltip: (props: ComponentProps<typeof LazyWithTooltip>) => React.JSX.Element;
1096
+ declare const LazyWithTooltipPure: React.LazyExoticComponent<React.FC<WithTooltipPureProps>>;
1097
+ declare const WithTooltipPure: (props: ComponentProps<typeof LazyWithTooltipPure>) => React.JSX.Element;
1098
+ //#endregion
1099
+ //#region .dts-emit/code/core/src/components/components/tooltip/TooltipMessage.d.ts
1100
+ interface TooltipMessageProps {
1101
+ title?: ReactNode;
1102
+ desc?: ReactNode;
1103
+ links?: {
1104
+ title: string;
1105
+ href?: string;
1106
+ onClick?: () => void;
1107
+ }[];
1108
+ }
1109
+ declare const TooltipMessage: ({
1110
+ title,
1111
+ desc,
1112
+ links
1113
+ }: TooltipMessageProps) => React.JSX.Element;
1114
+ //#endregion
1115
+ //#region .dts-emit/code/core/src/components/components/tooltip/ListItem.d.ts
1116
+ interface ItemProps {
1117
+ disabled?: boolean;
1118
+ href?: string;
1119
+ onClick?: (event: SyntheticEvent, ...args: any[]) => any;
1120
+ }
1121
+ type LinkWrapperType = (props: any) => ReactNode;
1122
+ interface ListItemProps extends ItemProps, Omit<ComponentProps<'button'>, 'title' | 'onClick' | 'ref'> {
1123
+ loading?: boolean;
1124
+ title?: ReactNode;
1125
+ center?: ReactNode;
1126
+ right?: ReactNode;
1127
+ icon?: ReactNode;
1128
+ input?: ReactNode;
1129
+ active?: boolean;
1130
+ disabled?: boolean;
1131
+ href?: string;
1132
+ LinkWrapper?: LinkWrapperType;
1133
+ isIndented?: boolean;
1134
+ }
1135
+ declare const ListItem: React.ForwardRefExoticComponent<ListItemProps & React.RefAttributes<unknown>>;
1136
+ //#endregion
1137
+ //#region .dts-emit/code/core/src/components/components/tooltip/TooltipLinkList.d.ts
1138
+ interface NormalLink extends Omit<ListItemProps, 'onClick'> {
1139
+ id: string;
1140
+ onClick?: (event: SyntheticEvent, item: Pick<ListItemProps, 'id' | 'active' | 'disabled' | 'title' | 'href'>) => void;
1141
+ }
1142
+ type Link$1 = CustomLink | NormalLink;
1143
+ /**
1144
+ * This is a custom link that can be used in the `TooltipLinkList` component. It allows for custom
1145
+ * content to be rendered in the list; it does not have to be a link.
1146
+ */
1147
+ interface CustomLink {
1148
+ id: string;
1149
+ content: ReactNode;
1150
+ }
1151
+ interface TooltipLinkListProps extends HTMLAttributes<HTMLDivElement> {
1152
+ links: Link$1[] | Link$1[][];
1153
+ LinkWrapper?: LinkWrapperType;
1154
+ }
1155
+ declare const TooltipLinkList: ({
1156
+ links,
1157
+ LinkWrapper,
1158
+ ...props
1159
+ }: TooltipLinkListProps) => React.JSX.Element;
1160
+ //#endregion
1161
+ //#region .dts-emit/code/core/src/components/components/Tabs/Tabs.d.ts
1162
+ declare const TabBar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
1163
+ interface TabWrapperProps {
1164
+ active: boolean;
1165
+ render?: () => ReactElement;
1166
+ children?: ReactNode;
1167
+ }
1168
+ declare const TabWrapper: React.ForwardRefExoticComponent<TabWrapperProps & React.RefAttributes<HTMLDivElement>>;
1169
+ interface TabsProps {
1170
+ children?: ReactElement<{
1171
+ children: FC<Addon_RenderOptions & PropsWithChildren>;
1172
+ title: ReactNode | FC<PropsWithChildren>;
1173
+ }>[];
1174
+ id?: string;
1175
+ tools?: ReactNode;
1176
+ showToolsWhenEmpty?: boolean;
1177
+ emptyState?: ReactNode;
1178
+ selected?: string;
1179
+ actions?: {
1180
+ onSelect: (id: string) => void;
1181
+ } & Record<string, any>;
1182
+ backgroundColor?: string;
1183
+ absolute?: boolean;
1184
+ bordered?: boolean;
1185
+ menuName?: string;
1186
+ }
1187
+ declare const Tabs: FC<TabsProps>;
1188
+ interface TabsStateProps {
1189
+ children: TabsProps['children'];
1190
+ initial: string;
1191
+ absolute: boolean;
1192
+ bordered: boolean;
1193
+ backgroundColor: string;
1194
+ menuName: string;
1195
+ }
1196
+ interface TabsStateState {
1197
+ selected: string;
1198
+ }
1199
+ declare class TabsState extends Component<TabsStateProps, TabsStateState> {
1200
+ static defaultProps: TabsStateProps;
1201
+ constructor(props: TabsStateProps);
1202
+ handlers: {
1203
+ onSelect: (id: string) => void;
1204
+ };
1205
+ render(): React.JSX.Element;
1206
+ }
1207
+ //#endregion
1208
+ //#region .dts-emit/code/core/src/components/components/Tabs/Button.d.ts
1209
+ interface TabButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
1210
+ active?: boolean;
1211
+ children: ReactNode;
1212
+ id?: string;
1213
+ textColor?: string;
1214
+ }
1215
+ declare const TabButton: ForwardRefExoticComponent<TabButtonProps & RefAttributes<HTMLButtonElement>>;
1216
+ //#endregion
1217
+ //#region .dts-emit/code/core/src/components/components/Bar/Separator.d.ts
1218
+ interface SeparatorProps extends ComponentProps<'span'> {
1219
+ force?: boolean;
1220
+ }
1221
+ declare function Separator({
1222
+ force,
1223
+ className,
1224
+ ...props
1225
+ }: SeparatorProps): React.JSX.Element;
1226
+ declare namespace Separator {
1227
+ var displayName: string;
1228
+ }
1229
+ declare const interleaveSeparators: (list: any[]) => any;
1230
+ //#endregion
1231
+ //#region .dts-emit/code/core/src/components/components/Bar/Bar.d.ts
1232
+ interface BarProps extends ComponentProps<'div'> {
1233
+ backgroundColor?: string;
1234
+ border?: boolean;
1235
+ className?: string;
1236
+ children?: React.ReactNode;
1237
+ scrollable?: boolean;
1238
+ /** Inline styles for the element that holds the children. */
1239
+ innerStyle?: CSSProperties;
1240
+ }
1241
+ declare const Bar: React.ForwardRefExoticComponent<Omit<BarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1242
+ interface FlexBarProps extends BarProps {
1243
+ border?: boolean;
1244
+ backgroundColor?: string;
1245
+ }
1246
+ declare function FlexBar({
1247
+ children,
1248
+ backgroundColor,
1249
+ className,
1250
+ ...rest
1251
+ }: FlexBarProps): React.JSX.Element;
1252
+ declare namespace FlexBar {
1253
+ var displayName: string;
1254
+ }
1255
+ //#endregion
1256
+ //#region .dts-emit/code/core/src/components/components/Tabs/EmptyTabContent.d.ts
1257
+ interface Props {
1258
+ title: React.ReactNode;
1259
+ description?: React.ReactNode;
1260
+ footer?: React.ReactNode;
1261
+ }
1262
+ declare const EmptyTabContent: ({
1263
+ title,
1264
+ description,
1265
+ footer
1266
+ }: Props) => React.JSX.Element;
1267
+ //#endregion
1268
+ //#region .dts-emit/code/core/src/components/components/addon-panel/addon-panel.d.ts
1269
+ interface AddonPanelProps {
1270
+ active: boolean;
1271
+ children: ReactElement;
1272
+ /** Whether the panel has a vertical scrollbar, `true` by default. */
1273
+ hasScrollbar?: boolean;
1274
+ /** Whether the panel has an horizontal scrollbar, `false` by default */
1275
+ hasHorizontalScrollbar?: boolean;
1276
+ }
1277
+ declare const AddonPanel: ({
1278
+ active,
1279
+ children,
1280
+ hasScrollbar,
1281
+ hasHorizontalScrollbar
1282
+ }: AddonPanelProps) => React.JSX.Element;
1283
+ //#endregion
1284
+ //#region .dts-emit/code/core/src/components/components/Toolbar/Toolbar.d.ts
1285
+ interface AbstractToolbarProps {
1286
+ className?: string;
1287
+ children?: React.ReactNode;
1288
+ 'aria-label'?: string;
1289
+ 'aria-labelledby'?: string;
1290
+ lang?: string;
1291
+ }
1292
+ declare const AbstractToolbar: FC<AbstractToolbarProps>;
1293
+ interface ToolbarProps extends AbstractToolbarProps, BarProps {}
1294
+ declare const Toolbar: FC<ToolbarProps>;
1295
+ //#endregion
1296
+ //#region .dts-emit/code/core/src/components/components/Tabs/TabPanel.d.ts
1297
+ interface TabPanelProps extends HTMLAttributes<HTMLDivElement> {
1298
+ /** The state of the tab list. Primary mechanism for using the tabpanel. */
1299
+ state: TabsState$1;
1300
+ /**
1301
+ * Whether the panel adds a vertical scrollbar. Disable if you want to use fixed or sticky
1302
+ * positioning on part of the tab's content. True by default.
1303
+ */
1304
+ hasScrollbar?: boolean;
1305
+ /**
1306
+ * Whether to render only the active tab's content, or all tabs. When true, non-selected tabs are
1307
+ * rendered with the hidden attribute and do not affect the accessibility object model.
1308
+ */
1309
+ renderAllChildren?: boolean;
1310
+ }
1311
+ declare const TabPanel: FC<TabPanelProps>;
1312
+ //#endregion
1313
+ //#region .dts-emit/code/core/src/components/components/Tabs/TabsView.d.ts
1314
+ interface TabProps {
1315
+ id: string;
1316
+ 'aria-label'?: string;
1317
+ title: FC | ReactNode | string;
1318
+ children?: FC | ReactNode;
1319
+ isDisabled?: boolean;
1320
+ }
1321
+ interface useTabsStateProps {
1322
+ defaultSelected?: string;
1323
+ selected?: string;
1324
+ onSelectionChange?: (key: string) => void;
1325
+ tabs: TabProps[];
1326
+ }
1327
+ interface TabsState$1 {
1328
+ tabs: TabProps[];
1329
+ /** ID of the selected tab, or null when no tab can be selected. */
1330
+ selected: string | null;
1331
+ select: (key: string) => void;
1332
+ getTabId: (key: string) => string;
1333
+ getPanelId: (key: string) => string;
1334
+ }
1335
+ /** Shared state for a TabList and a TabPanel that render the same tabs. */
1336
+ declare const useTabsState: ({
1337
+ defaultSelected,
1338
+ onSelectionChange,
1339
+ selected,
1340
+ tabs
1341
+ }: useTabsStateProps) => TabsState$1;
1342
+ interface TabsViewProps extends HTMLAttributes<HTMLDivElement> {
1343
+ /** List of tabs and their associated panel. */
1344
+ tabs: TabProps[];
1345
+ /** ID of the tab that should be selected on first render. */
1346
+ defaultSelected?: string;
1347
+ /** ID of the current tab if in controlled rendering mode. */
1348
+ selected?: string;
1349
+ /** Called when the selected tab changes, use if you want to control the component state. */
1350
+ onSelectionChange?: (key: string) => void;
1351
+ /**
1352
+ * Optional tools to avoid rendering two toolbars in a layout.
1353
+ *
1354
+ * @warning Only use this if the tools act upon the entire layout,
1355
+ * not upon a single tab panel. If you want to edit which tools are
1356
+ * visible based on the current tab, then you musn't use `tools` and
1357
+ * should handle your own toolbar inside the tabpanel instead.
1358
+ */
1359
+ tools?: ReactElement;
1360
+ /** Background color for the bar containing the tabs and tools. */
1361
+ backgroundColor?: string;
1362
+ /** Style properties for the inner layout container in the bar containing the tabs and tools. */
1363
+ barInnerStyle?: React.CSSProperties;
1364
+ /** Show tools instead of the empty state if there are no tabs. */
1365
+ showToolsWhenEmpty?: boolean;
1366
+ /** Custom UI for the empty state shown when there are no tabs. */
1367
+ emptyState?: ReactNode;
1368
+ /** Optional ID. */
1369
+ id?: string;
1370
+ /** Props to pass to the TabPanel component. */
1371
+ panelProps?: Omit<ComponentProps<typeof TabPanel>, 'state'>;
1372
+ }
1373
+ declare const TabsView: FC<TabsViewProps>;
1374
+ //#endregion
1375
+ //#region .dts-emit/code/core/src/components/components/Tabs/TabList.d.ts
1376
+ interface TabListProps extends HTMLAttributes<HTMLDivElement> {
1377
+ state: TabsState$1;
1378
+ }
1379
+ declare const TabList: FC<TabListProps>;
1380
+ //#endregion
1381
+ //#region .dts-emit/code/core/src/components/components/Tabs/StatelessTabList.d.ts
1382
+ interface StatelessTabListProps {
1383
+ children?: ReactNode;
1384
+ }
1385
+ declare const StatelessTabList: FC<StatelessTabListProps>;
1386
+ //#endregion
1387
+ //#region ../../node_modules/@base-ui/react/internals/reason-parts.d.mts
1388
+ declare const none: 'none';
1389
+ declare const triggerPress: 'trigger-press';
1390
+ declare const triggerHover: 'trigger-hover';
1391
+ declare const triggerFocus: 'trigger-focus';
1392
+ declare const outsidePress: 'outside-press';
1393
+ declare const itemPress: 'item-press';
1394
+ declare const closePress: 'close-press';
1395
+ declare const linkPress: 'link-press';
1396
+ declare const clearPress: 'clear-press';
1397
+ declare const chipRemovePress: 'chip-remove-press';
1398
+ declare const trackPress: 'track-press';
1399
+ declare const incrementPress: 'increment-press';
1400
+ declare const decrementPress: 'decrement-press';
1401
+ declare const inputChange: 'input-change';
1402
+ declare const inputClear: 'input-clear';
1403
+ declare const inputBlur: 'input-blur';
1404
+ declare const inputPaste: 'input-paste';
1405
+ declare const inputPress: 'input-press';
1406
+ declare const focusOut: 'focus-out';
1407
+ declare const escapeKey: 'escape-key';
1408
+ declare const closeWatcher: 'close-watcher';
1409
+ declare const listNavigation: 'list-navigation';
1410
+ declare const keyboard: 'keyboard';
1411
+ declare const pointer: 'pointer';
1412
+ declare const drag: 'drag';
1413
+ declare const wheel: 'wheel';
1414
+ declare const scrub: 'scrub';
1415
+ declare const cancelOpen: 'cancel-open';
1416
+ declare const siblingOpen: 'sibling-open';
1417
+ declare const disabled$1: 'disabled';
1418
+ declare const missing: 'missing';
1419
+ declare const initial: 'initial';
1420
+ declare const imperativeAction: 'imperative-action';
1421
+ declare const swipe: 'swipe';
1422
+ declare const windowResize: 'window-resize';
1423
+ //#endregion
1424
+ //#region ../../node_modules/@base-ui/react/internals/createBaseUIEventDetails.d.mts
1425
+ interface ReasonToEventMap {
1426
+ [none]: Event;
1427
+ [triggerPress]: MouseEvent | PointerEvent | TouchEvent | KeyboardEvent;
1428
+ [triggerHover]: MouseEvent;
1429
+ [triggerFocus]: FocusEvent;
1430
+ [outsidePress]: MouseEvent | PointerEvent | TouchEvent;
1431
+ [itemPress]: MouseEvent | KeyboardEvent | PointerEvent;
1432
+ [closePress]: MouseEvent | KeyboardEvent | PointerEvent;
1433
+ [linkPress]: MouseEvent | PointerEvent;
1434
+ [clearPress]: PointerEvent | MouseEvent | KeyboardEvent;
1435
+ [chipRemovePress]: PointerEvent | MouseEvent | KeyboardEvent;
1436
+ [trackPress]: PointerEvent | MouseEvent | TouchEvent;
1437
+ [incrementPress]: PointerEvent | MouseEvent | TouchEvent;
1438
+ [decrementPress]: PointerEvent | MouseEvent | TouchEvent;
1439
+ [inputChange]: InputEvent | Event;
1440
+ [inputClear]: InputEvent | FocusEvent | Event;
1441
+ [inputBlur]: FocusEvent;
1442
+ [inputPaste]: ClipboardEvent;
1443
+ [inputPress]: MouseEvent | PointerEvent | TouchEvent | KeyboardEvent;
1444
+ [focusOut]: FocusEvent | KeyboardEvent;
1445
+ [escapeKey]: KeyboardEvent;
1446
+ [closeWatcher]: Event;
1447
+ [listNavigation]: KeyboardEvent;
1448
+ [keyboard]: KeyboardEvent;
1449
+ [pointer]: PointerEvent;
1450
+ [drag]: PointerEvent | TouchEvent;
1451
+ [swipe]: PointerEvent | TouchEvent;
1452
+ [wheel]: WheelEvent;
1453
+ [scrub]: PointerEvent;
1454
+ [cancelOpen]: MouseEvent;
1455
+ [siblingOpen]: Event;
1456
+ [disabled$1]: Event;
1457
+ [missing]: Event;
1458
+ [initial]: Event;
1459
+ [imperativeAction]: Event;
1460
+ [windowResize]: UIEvent;
1461
+ }
1462
+ /**
1463
+ * Maps a change `reason` string to the corresponding native event type.
1464
+ */
1465
+ type ReasonToEvent<Reason extends string> = Reason extends keyof ReasonToEventMap ? ReasonToEventMap[Reason] : Event;
1466
+ type BaseUIChangeEventDetail<Reason extends string, CustomProperties extends object> = {
1467
+ /**
1468
+ * The reason for the event.
1469
+ */
1470
+ reason: Reason;
1471
+ /**
1472
+ * The native event associated with the custom event.
1473
+ */
1474
+ event: ReasonToEvent<Reason>;
1475
+ /**
1476
+ * Cancels Base UI from handling the event.
1477
+ */
1478
+ cancel: () => void;
1479
+ /**
1480
+ * Allows the event to propagate in cases where Base UI will stop the propagation.
1481
+ */
1482
+ allowPropagation: () => void;
1483
+ /**
1484
+ * Indicates whether the event has been canceled.
1485
+ */
1486
+ isCanceled: boolean;
1487
+ /**
1488
+ * Indicates whether the event is allowed to propagate.
1489
+ */
1490
+ isPropagationAllowed: boolean;
1491
+ /**
1492
+ * The element that triggered the event, if applicable.
1493
+ */
1494
+ trigger: Element | undefined;
1495
+ } & CustomProperties;
1496
+ /**
1497
+ * Details of custom change events emitted by Base UI components.
1498
+ */
1499
+ type BaseUIChangeEventDetails<Reason extends string, CustomProperties extends object = {}> = Reason extends string ? BaseUIChangeEventDetail<Reason, CustomProperties> & {} : never;
1500
+ //#endregion
1501
+ //#region ../../node_modules/@base-ui/react/types/index.d.mts
1502
+ type HTMLProps<T = any> = React$1.HTMLAttributes<T> & {
1503
+ ref?: React$1.Ref<T> | undefined;
1504
+ };
1505
+ /**
1506
+ * Shape of the render prop: a function that takes props to be spread on the element and component's state and returns a React element.
1507
+ *
1508
+ * @template Props Props to be spread on the rendered element.
1509
+ * @template State Component's internal state.
1510
+ */
1511
+ type ComponentRenderFn<Props, State> = (props: Props, state: State) => React$1.ReactElement<unknown>;
1512
+ type BaseUIEvent<E extends React$1.SyntheticEvent<Element, Event>> = E & {
1513
+ preventBaseUIHandler: () => void;
1514
+ readonly baseUIHandlerPrevented?: boolean | undefined;
1515
+ };
1516
+ //#endregion
1517
+ //#region ../../node_modules/@base-ui/react/internals/types.d.mts
1518
+ type WithPreventBaseUIHandler<T> = T extends ((event: infer E) => any) ? E extends React$1.SyntheticEvent<Element, Event> ? (event: BaseUIEvent<E>) => ReturnType<T> : T : T extends undefined ? undefined : T;
1519
+ /**
1520
+ * Adds a `preventBaseUIHandler` method to all event handlers.
1521
+ */
1522
+ type WithBaseUIEvent<T> = { [K in keyof T]: WithPreventBaseUIHandler<T[K]> };
1523
+ /**
1524
+ * Props shared by all Base UI components.
1525
+ * Contains `className` (string or callback taking the component's state as an argument) and `render` (function to customize rendering).
1526
+ */
1527
+ type BaseUIComponentProps<ElementType extends React$1.ElementType, State, RenderFunctionProps = HTMLProps> = Omit<WithBaseUIEvent<React$1.ComponentPropsWithRef<ElementType>>, 'className' | 'color' | 'defaultValue' | 'defaultChecked' | 'style'> & {
1528
+ /**
1529
+ * CSS class applied to the element, or a function that
1530
+ * returns a class based on the component's state.
1531
+ */
1532
+ className?: string | ((state: State) => string | undefined) | undefined;
1533
+ /**
1534
+ * Allows you to replace the component's HTML element
1535
+ * with a different tag, or compose it with another component.
1536
+ *
1537
+ * Accepts a `ReactElement` or a function that returns the element to render.
1538
+ */
1539
+ render?: React$1.ReactElement | ComponentRenderFn<RenderFunctionProps, State> | undefined;
1540
+ /**
1541
+ * Style applied to the element, or a function that
1542
+ * returns a style object based on the component's state.
1543
+ */
1544
+ style?: React$1.CSSProperties | ((state: State) => React$1.CSSProperties | undefined) | undefined;
1545
+ };
1546
+ interface NativeButtonProps {
1547
+ /**
1548
+ * Whether the component renders a native `<button>` element when replacing it
1549
+ * via the `render` prop.
1550
+ * Set to `false` if the rendered element is not a button (for example, `<div>`).
1551
+ * @default true
1552
+ */
1553
+ nativeButton?: boolean | undefined;
1554
+ }
1555
+ type Orientation = 'horizontal' | 'vertical';
1556
+ //#endregion
1557
+ //#region ../../node_modules/@base-ui/react/tabs/tab/TabsTab.d.mts
1558
+ /**
1559
+ * An individual interactive tab button that toggles the corresponding panel.
1560
+ * Renders a `<button>` element.
1561
+ *
1562
+ * Documentation: [Base UI Tabs](https://base-ui.com/react/components/tabs)
1563
+ */
1564
+ declare const TabsTab: React$1.ForwardRefExoticComponent<Omit<TabsTabProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
1565
+ type TabsTabValue = any | null;
1566
+ type TabsTabActivationDirection = 'left' | 'right' | 'up' | 'down' | 'none';
1567
+ interface TabsTabPosition {
1568
+ left: number;
1569
+ right: number;
1570
+ top: number;
1571
+ bottom: number;
1572
+ }
1573
+ interface TabsTabSize {
1574
+ width: number;
1575
+ height: number;
1576
+ }
1577
+ interface TabsTabMetadata {
1578
+ disabled: boolean;
1579
+ id: string | undefined;
1580
+ value: TabsTab.Value | undefined;
1581
+ }
1582
+ interface TabsTabState {
1583
+ /**
1584
+ * Whether the component should ignore user interaction.
1585
+ */
1586
+ disabled: boolean;
1587
+ /**
1588
+ * Whether the component is active.
1589
+ */
1590
+ active: boolean;
1591
+ /**
1592
+ * The component orientation.
1593
+ */
1594
+ orientation: TabsRoot.Orientation;
1595
+ /**
1596
+ * The direction used for tab activation.
1597
+ */
1598
+ tabActivationDirection: TabsTab.ActivationDirection;
1599
+ }
1600
+ interface TabsTabProps extends NativeButtonProps, BaseUIComponentProps<'button', TabsTabState> {
1601
+ /**
1602
+ * The value of the Tab.
1603
+ */
1604
+ value: TabsTab.Value;
1605
+ /**
1606
+ * Whether the Tab is disabled.
1607
+ *
1608
+ * If a first Tab on a `<Tabs.List>` is disabled, it won't initially be selected.
1609
+ * Instead, the next enabled Tab will be selected.
1610
+ * However, it does not work like this during server-side rendering, as it is not known
1611
+ * during pre-rendering which Tabs are disabled.
1612
+ * To work around it, ensure that `defaultValue` or `value` on `<Tabs.Root>` is set to an enabled Tab's value.
1613
+ */
1614
+ disabled?: boolean | undefined;
1615
+ }
1616
+ declare namespace TabsTab {
1617
+ type Value = TabsTabValue;
1618
+ type ActivationDirection = TabsTabActivationDirection;
1619
+ type Position = TabsTabPosition;
1620
+ type Size = TabsTabSize;
1621
+ type Metadata = TabsTabMetadata;
1622
+ type State = TabsTabState;
1623
+ type Props = TabsTabProps;
1624
+ }
1625
+ //#endregion
1626
+ //#region ../../node_modules/@base-ui/react/tabs/root/TabsRoot.d.mts
1627
+ /**
1628
+ * Groups the tabs and the corresponding panels.
1629
+ * Renders a `<div>` element.
1630
+ *
1631
+ * Documentation: [Base UI Tabs](https://base-ui.com/react/components/tabs)
1632
+ */
1633
+ declare const TabsRoot: React$1.ForwardRefExoticComponent<Omit<TabsRootProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1634
+ type TabsRootOrientation = Orientation;
1635
+ interface TabsRootState {
1636
+ /**
1637
+ * The component orientation.
1638
+ */
1639
+ orientation: TabsRoot.Orientation;
1640
+ /**
1641
+ * The direction used for tab activation.
1642
+ */
1643
+ tabActivationDirection: TabsTab.ActivationDirection;
1644
+ }
1645
+ interface TabsRootProps extends BaseUIComponentProps<'div', TabsRootState> {
1646
+ /**
1647
+ * The value of the currently active `Tab`. Use when the component is controlled.
1648
+ * When the value is `null`, no Tab will be active.
1649
+ */
1650
+ value?: TabsTab.Value | undefined;
1651
+ /**
1652
+ * The default value. Use when the component is not controlled.
1653
+ * When the value is `null`, no Tab will be active.
1654
+ * @default 0
1655
+ */
1656
+ defaultValue?: TabsTab.Value | undefined;
1657
+ /**
1658
+ * The component orientation (layout flow direction).
1659
+ * @default 'horizontal'
1660
+ */
1661
+ orientation?: TabsRoot.Orientation | undefined;
1662
+ /**
1663
+ * Callback invoked when new value is being set.
1664
+ *
1665
+ * The event `reason` is `'none'` for user-initiated changes, such as a click
1666
+ * or keyboard navigation; `'initial'` for the first automatic selection or
1667
+ * fallback in uncontrolled roots when `defaultValue` is omitted or
1668
+ * `undefined`, including when the implicit initial value is disabled or
1669
+ * missing; `'disabled'` for automatic fallback when the selected tab becomes
1670
+ * disabled in uncontrolled roots; or `'missing'` for automatic fallback when
1671
+ * the selected tab is removed, or when an explicit `defaultValue` never
1672
+ * matches a mounted tab in uncontrolled roots.
1673
+ *
1674
+ * For automatic changes, the selected value can be `null` when no enabled Tab
1675
+ * is available as a fallback.
1676
+ *
1677
+ * Automatic changes cannot be canceled; calling `eventDetails.cancel()` for
1678
+ * `'initial'`, `'disabled'`, or `'missing'` has no effect.
1679
+ */
1680
+ onValueChange?: ((value: TabsTab.Value, eventDetails: TabsRoot.ChangeEventDetails) => void) | undefined;
1681
+ }
1682
+ type TabsRootChangeEventReason = typeof none | typeof disabled$1 | typeof missing | typeof initial;
1683
+ type TabsRootChangeEventDetails = BaseUIChangeEventDetails<TabsRoot.ChangeEventReason, {
1684
+ activationDirection: TabsTab.ActivationDirection;
1685
+ }>;
1686
+ declare namespace TabsRoot {
1687
+ type State = TabsRootState;
1688
+ type Props = TabsRootProps;
1689
+ type Orientation = TabsRootOrientation;
1690
+ type ChangeEventReason = TabsRootChangeEventReason;
1691
+ type ChangeEventDetails = TabsRootChangeEventDetails;
1692
+ }
1693
+ //#endregion
1694
+ //#region ../../node_modules/@base-ui/react/internals/useTransitionStatus.d.mts
1695
+ type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
1696
+ //#endregion
1697
+ //#region ../../node_modules/@base-ui/react/tabs/panel/TabsPanel.d.mts
1698
+ /**
1699
+ * A panel displayed when the corresponding tab is active.
1700
+ * Renders a `<div>` element.
1701
+ *
1702
+ * Documentation: [Base UI Tabs](https://base-ui.com/react/components/tabs)
1703
+ */
1704
+ declare const TabsPanel: React$1.ForwardRefExoticComponent<Omit<TabsPanelProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1705
+ interface TabsPanelMetadata {
1706
+ id?: string | undefined;
1707
+ value: TabsTab.Value;
1708
+ }
1709
+ interface TabsPanelState extends TabsRootState {
1710
+ /**
1711
+ * Whether the component is hidden.
1712
+ */
1713
+ hidden: boolean;
1714
+ /**
1715
+ * The transition status of the component.
1716
+ */
1717
+ transitionStatus: TransitionStatus;
1718
+ }
1719
+ interface TabsPanelProps extends BaseUIComponentProps<'div', TabsPanelState> {
1720
+ /**
1721
+ * The value of the TabPanel. It will be shown when the Tab with the corresponding value is active.
1722
+ */
1723
+ value: TabsTab.Value;
1724
+ /**
1725
+ * Whether to keep the HTML element in the DOM while the panel is hidden.
1726
+ * @default false
1727
+ */
1728
+ keepMounted?: boolean | undefined;
1729
+ }
1730
+ declare namespace TabsPanel {
1731
+ type Metadata = TabsPanelMetadata;
1732
+ type State = TabsPanelState;
1733
+ type Props = TabsPanelProps;
1734
+ }
1735
+ //#endregion
1736
+ //#region .dts-emit/code/core/src/components/components/Tabs/StatelessTabPanel.d.ts
1737
+ interface StatelessTabPanelProps extends Omit<ComponentProps<typeof TabsPanel>, 'value' | 'children'> {
1738
+ /** Content of the tab panel. */
1739
+ children: ReactNode;
1740
+ /** Unique id of the TabPanel, must match that of its corresponding Tab. */
1741
+ name: string;
1742
+ /**
1743
+ * Whether the panel adds a vertical scrollbar. Disable if you want to use fixed or sticky
1744
+ * positioning on part of the tab's content. True by default.
1745
+ */
1746
+ hasScrollbar?: boolean;
1747
+ }
1748
+ declare const StatelessTabPanel: FC<StatelessTabPanelProps>;
1749
+ //#endregion
1750
+ //#region .dts-emit/code/core/src/components/components/Tabs/StatelessTabsView.d.ts
1751
+ interface StatelessTabsViewProps extends Omit<TabsViewProps, 'tabs'> {
1752
+ children: ReactNode;
1753
+ }
1754
+ declare const StatelessTabsView: FC<StatelessTabsViewProps>;
1755
+ //#endregion
1756
+ //#region .dts-emit/code/core/src/components/components/Tabs/StatelessTab.d.ts
1757
+ interface StatelessTabProps extends Omit<ComponentProps<typeof TabsTab>, 'value'> {
1758
+ /** Unique id of the Tab, must match that of its corresponding TabPanel. */
1759
+ name: string;
1760
+ /** Tab button content */
1761
+ children: React.ReactNode;
1762
+ }
1763
+ declare const StatelessTab: FC<StatelessTabProps>;
1764
+ //#endregion
1765
+ //#region .dts-emit/code/core/src/components/brand/StorybookLogo.d.ts
1766
+ type StorybookLogoProps = {
1767
+ alt: string;
1768
+ } & React.SVGAttributes<SVGSVGElement>;
1769
+ declare const StorybookLogo: ({
1770
+ alt,
1771
+ ...props
1772
+ }: StorybookLogoProps) => React.JSX.Element;
1773
+ //#endregion
1774
+ //#region .dts-emit/code/core/src/components/brand/StorybookIcon.d.ts
1775
+ declare const StorybookIcon: (props: React.SVGAttributes<SVGElement>) => React.JSX.Element;
1776
+ //#endregion
1777
+ //#region .dts-emit/code/core/src/components/components/Loader/Loader.d.ts
1778
+ interface Progress {
1779
+ value: number;
1780
+ message: string;
1781
+ modules?: {
1782
+ complete: number;
1783
+ total: number;
1784
+ };
1785
+ }
1786
+ interface LoaderProps extends React.HTMLAttributes<HTMLDivElement> {
1787
+ progress?: Progress;
1788
+ error?: Error;
1789
+ size?: number;
1790
+ }
1791
+ declare const Loader: ({
1792
+ progress,
1793
+ error,
1794
+ size,
1795
+ ...props
1796
+ }: LoaderProps) => React.JSX.Element;
1797
+ //#endregion
1798
+ //#region .dts-emit/code/core/src/components/components/ProgressSpinner/ProgressSpinner.d.ts
1799
+ interface ProgressSpinnerProps extends ComponentProps<'div'> {
1800
+ percentage?: number;
1801
+ running?: boolean;
1802
+ size?: number;
1803
+ width?: number;
1804
+ children?: React.ReactNode;
1805
+ }
1806
+ declare const ProgressSpinner: ({
1807
+ percentage,
1808
+ running,
1809
+ size,
1810
+ width,
1811
+ children,
1812
+ className,
1813
+ style,
1814
+ ...props
1815
+ }: ProgressSpinnerProps) => React.JSX.Element;
1816
+ //#endregion
1817
+ //#region .dts-emit/code/core/src/components/components/utils/getStoryHref.d.ts
1818
+ /** @deprecated Use the api.getStoryHrefs method instead (from `@aussieljk/forkbook/manager-api`) */
1819
+ declare const getStoryHref: (baseUrl: string, storyId: string, additionalParams?: Record<string, string>) => string;
1820
+ //#endregion
1821
+ //#region .dts-emit/code/core/src/components/components/typography/DocumentFormatting.d.ts
1822
+ declare const nameSpaceClassNames: ({
1823
+ ...props
1824
+ }: {
1825
+ [x: string]: any;
1826
+ }, key: string) => {
1827
+ [x: string]: any;
1828
+ };
1829
+ //#endregion
1830
+ //#region .dts-emit/code/core/src/components/components/typography/ResetWrapper.d.ts
1831
+ /**
1832
+ * This is a "local" reset to style subtrees with Forkbook styles
1833
+ *
1834
+ * We can't style individual elements (e.g. h1, h2, etc.) in here because the CSS specificity is too
1835
+ * high, so those styles can too easily override child elements that are not expecting it.
1836
+ */
1837
+ declare const ResetWrapper: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
1838
+ //#endregion
1839
+ //#region .dts-emit/code/core/src/components/components/clipboard/ClipboardCode.d.ts
1840
+ interface ClipboardCodeProps {
1841
+ code: string;
1842
+ }
1843
+ declare const ClipboardCode: ({
1844
+ code,
1845
+ ...props
1846
+ }: ClipboardCodeProps) => React.JSX.Element;
1847
+ //#endregion
1848
+ //#region .dts-emit/code/core/src/shared/useCopyButton.d.ts
1849
+ interface UseCopyButtonOptions<T> {
1850
+ /** Content shown in the button by default. */
1851
+ children?: T;
1852
+ /** Content shown in the button for `duration` ms after a successful copy. */
1853
+ childrenOnCopy?: T;
1854
+ /** Text written to the clipboard when the button is clicked. */
1855
+ content: string;
1856
+ /** Optional side-effect called after the text is successfully written to the clipboard. */
1857
+ onCopy?: (e: SyntheticEvent) => void;
1858
+ /** aria-label for the button in its default state. Pass `false` to suppress. */
1859
+ ariaLabel?: false | string;
1860
+ /** aria-label for the button while in its "copied" state. Pass `false` to suppress. */
1861
+ ariaLabelOnCopy?: false | string;
1862
+ /** Duration in milliseconds to show the copied state. Defaults to 3000. */
1863
+ duration?: number;
1864
+ }
1865
+ interface UseCopyButtonResult<T> {
1866
+ /** Current label/icon — switches to `childrenOnCopy` after a copy. */
1867
+ children: T;
1868
+ /** Props to spread onto the `<Button>` element. */
1869
+ buttonProps: {
1870
+ onClick: (e: SyntheticEvent) => void;
1871
+ ariaLabel: false | string;
1872
+ };
1873
+ }
1874
+ declare function useCopyButton<T extends ReactNode>({
1875
+ children,
1876
+ childrenOnCopy,
1877
+ content,
1878
+ onCopy,
1879
+ ariaLabel,
1880
+ ariaLabelOnCopy,
1881
+ duration
1882
+ }: UseCopyButtonOptions<T>): UseCopyButtonResult<T>;
1883
+ //#endregion
1884
+ //#region .dts-emit/code/core/src/shared/announce.d.ts
1885
+ /**
1886
+ * A small screen reader announcer. It keeps one visually hidden live region per politeness level
1887
+ * at the end of the document body, and puts each message in it for a short time.
1888
+ */
1889
+ type Politeness = 'polite' | 'assertive';
1890
+ /** Announces a message to screen readers. */
1891
+ declare function announce(message: string, politeness?: Politeness): void;
1892
+ /** Removes all messages of one politeness level. */
1893
+ declare function clearAnnouncer(politeness: Politeness): void;
1894
+ /** Removes the live regions from the document. Use it to reset state between tests. */
1895
+ declare function destroyAnnouncer(): void;
1896
+ //#endregion
1897
+ //#region .dts-emit/code/core/src/components/index.d.ts
1898
+ declare const components: {
1899
+ h1: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => import("react").JSX.Element;
1900
+ h2: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => import("react").JSX.Element;
1901
+ h3: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => import("react").JSX.Element;
1902
+ h4: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => import("react").JSX.Element;
1903
+ h5: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => import("react").JSX.Element;
1904
+ h6: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>) => import("react").JSX.Element;
1905
+ pre: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLPreElement>, HTMLPreElement>) => import("react").JSX.Element;
1906
+ a: (props: import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) => import("react").JSX.Element;
1907
+ hr: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>) => import("react").JSX.Element;
1908
+ dl: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDListElement>, HTMLDListElement>) => import("react").JSX.Element;
1909
+ blockquote: (props: import("react").DetailedHTMLProps<import("react").BlockquoteHTMLAttributes<HTMLElement>, HTMLElement>) => import("react").JSX.Element;
1910
+ table: (props: import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>) => import("react").JSX.Element;
1911
+ img: (props: import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => import("react").JSX.Element;
1912
+ div: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => import("react").JSX.Element;
1913
+ span: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>) => import("react").JSX.Element;
1914
+ li: (props: import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => import("react").JSX.Element;
1915
+ ul: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => import("react").JSX.Element;
1916
+ ol: (props: import("react").DetailedHTMLProps<import("react").OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => import("react").JSX.Element;
1917
+ p: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>) => import("react").JSX.Element;
1918
+ code: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>) => import("react").JSX.Element;
1919
+ tt: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>) => import("react").JSX.Element;
1920
+ resetwrapper: (props: import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => import("react").JSX.Element;
1921
+ };
1922
+ declare const resetComponents: Record<string, ElementType>;
1923
+ //#endregion
1924
+ export { A, AbstractToolbar, ActionBar, type ActionItem, ActionList, AddonPanel, Badge, Bar, type BarProps, Blockquote, Button, type ButtonProps, Card, ClipboardCode, Code, Collapsible, DL, Div, DocumentWrapper, EmptyTabContent, ErrorFormatter, FlexBar, Form, H1, H2, H3, H4, H5, H6, HR, IconButton, Img, LI, Link, ListItem, Loader, Modal, ModalDecorator, OL, P, Placeholder, Popover, type PopoverProps, PopoverProvider, type PopoverProviderProps, type PopperPlacement, Pre, ProgressSpinner, ResetWrapper, ScrollArea, Select, Separator, Spaced, Span, StatelessTab, StatelessTabList, type StatelessTabListProps, StatelessTabPanel, type StatelessTabPanelProps, type StatelessTabProps, StatelessTabsView, type StatelessTabsViewProps, StorybookIcon, StorybookLogo, type SupportedLanguage, SyntaxHighlighter, type SyntaxHighlighterFormatTypes, type SyntaxHighlighterProps, TT, TabBar, TabButton, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, TabWrapper, Table, Tabs, TabsState, TabsView, type TabsViewProps, ToggleButton, Toolbar, Tooltip, TooltipLinkList, type Link$1 as TooltipLinkListLink, TooltipMessage, TooltipNote, type TooltipNoteProps, type TooltipProps, TooltipProvider, type TooltipProviderProps, UL, type UseCopyButtonOptions, type UseCopyButtonResult, WithTooltip, WithTooltipPure, Zoom, announce, clearAnnouncer, codeCommon, components, convertToBaseUiPlacement, createCopyToClipboardFunction, destroyAnnouncer, getStoryHref, interleaveSeparators, nameSpaceClassNames, resetComponents, useCopyButton, useTabsState, withReset };