@synnaxlabs/pluto 0.12.0

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 (612) hide show
  1. package/LICENSE +4 -0
  2. package/README.md +34 -0
  3. package/dist/Center-ZAcURh-3.cjs +148 -0
  4. package/dist/Center-ZAcURh-3.cjs.map +1 -0
  5. package/dist/Center-gEKkAkdh.js +149 -0
  6. package/dist/Center-gEKkAkdh.js.map +1 -0
  7. package/dist/Header-5YX6FUn6.cjs +35 -0
  8. package/dist/Header-5YX6FUn6.cjs.map +1 -0
  9. package/dist/Header-7x6367IV.js +36 -0
  10. package/dist/Header-7x6367IV.js.map +1 -0
  11. package/dist/Item-EDdYN2NK.js +171 -0
  12. package/dist/Item-EDdYN2NK.js.map +1 -0
  13. package/dist/Item-HWzX7RK2.cjs +170 -0
  14. package/dist/Item-HWzX7RK2.cjs.map +1 -0
  15. package/dist/Item-owLU4Xop.js +97 -0
  16. package/dist/Item-owLU4Xop.js.map +1 -0
  17. package/dist/Item-rkSKzZoh.cjs +96 -0
  18. package/dist/Item-rkSKzZoh.cjs.map +1 -0
  19. package/dist/Keyboard-mE03PKwA.js +14 -0
  20. package/dist/Keyboard-mE03PKwA.js.map +1 -0
  21. package/dist/Keyboard-w372197S.cjs +13 -0
  22. package/dist/Keyboard-w372197S.cjs.map +1 -0
  23. package/dist/Link-laNlv47N.js +13 -0
  24. package/dist/Link-laNlv47N.js.map +1 -0
  25. package/dist/Link-xlTZan29.cjs +12 -0
  26. package/dist/Link-xlTZan29.cjs.map +1 -0
  27. package/dist/SelectLevel-bGb0dRXh.cjs +152 -0
  28. package/dist/SelectLevel-bGb0dRXh.cjs.map +1 -0
  29. package/dist/SelectLevel-cewIWtOv.js +153 -0
  30. package/dist/SelectLevel-cewIWtOv.js.map +1 -0
  31. package/dist/Selector-R3lL41_i.js +267 -0
  32. package/dist/Selector-R3lL41_i.js.map +1 -0
  33. package/dist/Selector-hQLSIYum.cjs +266 -0
  34. package/dist/Selector-hQLSIYum.cjs.map +1 -0
  35. package/dist/TimeRangeChip-XXXLMCrf.cjs +9316 -0
  36. package/dist/TimeRangeChip-XXXLMCrf.cjs.map +1 -0
  37. package/dist/TimeRangeChip-eDCX5pUC.js +9301 -0
  38. package/dist/TimeRangeChip-eDCX5pUC.js.map +1 -0
  39. package/dist/Toggle-eOKYw1OT.cjs +13664 -0
  40. package/dist/Toggle-eOKYw1OT.cjs.map +1 -0
  41. package/dist/Toggle-kLunfJtR.js +13665 -0
  42. package/dist/Toggle-kLunfJtR.js.map +1 -0
  43. package/dist/Video-Vpwp5ao1.js +12 -0
  44. package/dist/Video-Vpwp5ao1.js.map +1 -0
  45. package/dist/Video-a7BUKvzF.cjs +11 -0
  46. package/dist/Video-a7BUKvzF.cjs.map +1 -0
  47. package/dist/Video-k52RqIHf.cjs +2 -0
  48. package/dist/Video-k52RqIHf.cjs.map +1 -0
  49. package/dist/Video-w40geAFS.js +2 -0
  50. package/dist/Video-w40geAFS.js.map +1 -0
  51. package/dist/accordion/Accordion.d.ts +38 -0
  52. package/dist/accordion/Accordion.spec.d.ts +1 -0
  53. package/dist/accordion/Accordion.stories.d.ts +5 -0
  54. package/dist/accordion/index.d.ts +1 -0
  55. package/dist/aether/aether/aether.d.ts +247 -0
  56. package/dist/aether/aether/index.d.ts +2 -0
  57. package/dist/aether/aether/worker.spec.d.ts +8 -0
  58. package/dist/aether/index.d.ts +1 -0
  59. package/dist/aether/main.d.ts +96 -0
  60. package/dist/aether/main.spec.d.ts +8 -0
  61. package/dist/aether/message.d.ts +17 -0
  62. package/dist/aether.cjs +90 -0
  63. package/dist/aether.cjs.map +1 -0
  64. package/dist/aether.js +93 -0
  65. package/dist/aether.js.map +1 -0
  66. package/dist/aetherIndex.d.ts +14 -0
  67. package/dist/alamos/Provider.d.ts +12 -0
  68. package/dist/alamos/aether/alamos.d.ts +39 -0
  69. package/dist/alamos/aether/index.d.ts +1 -0
  70. package/dist/alamos/index.d.ts +1 -0
  71. package/dist/align/Center.d.ts +8 -0
  72. package/dist/align/Pack.d.ts +23 -0
  73. package/dist/align/Pack.stories.d.ts +8 -0
  74. package/dist/align/Space.d.ts +54 -0
  75. package/dist/align/Space.spec.d.ts +1 -0
  76. package/dist/align/Space.stories.d.ts +5 -0
  77. package/dist/align/external.d.ts +3 -0
  78. package/dist/align/index.d.ts +1 -0
  79. package/dist/align.cjs +10 -0
  80. package/dist/align.cjs.map +1 -0
  81. package/dist/align.js +10 -0
  82. package/dist/align.js.map +1 -0
  83. package/dist/button/Button.d.ts +46 -0
  84. package/dist/button/Button.spec.d.ts +1 -0
  85. package/dist/button/Button.stories.d.ts +9 -0
  86. package/dist/button/Icon.d.ts +19 -0
  87. package/dist/button/Link.d.ts +16 -0
  88. package/dist/button/Toggle.d.ts +34 -0
  89. package/dist/button/color.d.ts +3 -0
  90. package/dist/button/external.d.ts +4 -0
  91. package/dist/button/index.d.ts +1 -0
  92. package/dist/button.cjs +15 -0
  93. package/dist/button.cjs.map +1 -0
  94. package/dist/button.js +15 -0
  95. package/dist/button.js.map +1 -0
  96. package/dist/channel/AliasProvider.d.ts +24 -0
  97. package/dist/channel/ChannelSelect.stories.d.ts +7 -0
  98. package/dist/channel/LinePlot.d.ts +72 -0
  99. package/dist/channel/LinePlot.stories.d.ts +6 -0
  100. package/dist/channel/Select.d.ts +11 -0
  101. package/dist/channel/external.d.ts +3 -0
  102. package/dist/channel/index.d.ts +1 -0
  103. package/dist/channel/types.d.ts +1 -0
  104. package/dist/color/Picker/Picker.d.ts +6 -0
  105. package/dist/color/Picker/Picker.stories.d.ts +6 -0
  106. package/dist/color/Picker/index.d.ts +1 -0
  107. package/dist/color/Swatch/Swatch.d.ts +8 -0
  108. package/dist/color/Swatch/index.d.ts +1 -0
  109. package/dist/color/core/color.d.ts +128 -0
  110. package/dist/color/core/color.spec.d.ts +1 -0
  111. package/dist/color/core/index.d.ts +2 -0
  112. package/dist/color/external.d.ts +4 -0
  113. package/dist/color/index.d.ts +1 -0
  114. package/dist/component-joFaJiQW.cjs +24719 -0
  115. package/dist/component-joFaJiQW.cjs.map +1 -0
  116. package/dist/component-k78Jq9I7.js +24720 -0
  117. package/dist/component-k78Jq9I7.js.map +1 -0
  118. package/dist/css/bem.d.ts +14 -0
  119. package/dist/css/bem.spec.d.ts +1 -0
  120. package/dist/css/color.d.ts +10 -0
  121. package/dist/css/css.d.ts +27 -0
  122. package/dist/css/grid.d.ts +14 -0
  123. package/dist/css/index.d.ts +4 -0
  124. package/dist/css/units.d.ts +1 -0
  125. package/dist/css/vars.d.ts +1 -0
  126. package/dist/css-NTD4Xm8x.js +9206 -0
  127. package/dist/css-NTD4Xm8x.js.map +1 -0
  128. package/dist/css-V3VUT_Js.cjs +9204 -0
  129. package/dist/css-V3VUT_Js.cjs.map +1 -0
  130. package/dist/cursor/cursor.d.ts +3 -0
  131. package/dist/cursor/index.d.ts +1 -0
  132. package/dist/dimensions-Sej0Zly9.cjs +26 -0
  133. package/dist/dimensions-Sej0Zly9.cjs.map +1 -0
  134. package/dist/dimensions-guJ5PHmb.js +27 -0
  135. package/dist/dimensions-guJ5PHmb.js.map +1 -0
  136. package/dist/divider/Divider.d.ts +14 -0
  137. package/dist/divider/index.d.ts +2 -0
  138. package/dist/dropdown/Dropdown.d.ts +49 -0
  139. package/dist/dropdown/Dropdown.spec.d.ts +1 -0
  140. package/dist/dropdown/Dropdown.stories.d.ts +5 -0
  141. package/dist/dropdown/index.d.ts +2 -0
  142. package/dist/dropdown.cjs +13 -0
  143. package/dist/dropdown.cjs.map +1 -0
  144. package/dist/dropdown.js +13 -0
  145. package/dist/dropdown.js.map +1 -0
  146. package/dist/external-2Aicsb3l.js +88 -0
  147. package/dist/external-2Aicsb3l.js.map +1 -0
  148. package/dist/external-9Ncn2J9B.cjs +93 -0
  149. package/dist/external-9Ncn2J9B.cjs.map +1 -0
  150. package/dist/external-9RCzxzgZ.js +30 -0
  151. package/dist/external-9RCzxzgZ.js.map +1 -0
  152. package/dist/external-9pS8-DvV.js +15 -0
  153. package/dist/external-9pS8-DvV.js.map +1 -0
  154. package/dist/external-KxlyA74C.js +20 -0
  155. package/dist/external-KxlyA74C.js.map +1 -0
  156. package/dist/external-OSLzuRs1.cjs +14 -0
  157. package/dist/external-OSLzuRs1.cjs.map +1 -0
  158. package/dist/external-PS3nzqUn.cjs +23 -0
  159. package/dist/external-PS3nzqUn.cjs.map +1 -0
  160. package/dist/external-QRmqSjV0.js +18 -0
  161. package/dist/external-QRmqSjV0.js.map +1 -0
  162. package/dist/external-QuVTCnGl.js +71 -0
  163. package/dist/external-QuVTCnGl.js.map +1 -0
  164. package/dist/external-U5HRPaDI.cjs +17 -0
  165. package/dist/external-U5HRPaDI.cjs.map +1 -0
  166. package/dist/external-_CtRDtih.js +17 -0
  167. package/dist/external-_CtRDtih.js.map +1 -0
  168. package/dist/external-eQU48hM4.cjs +87 -0
  169. package/dist/external-eQU48hM4.cjs.map +1 -0
  170. package/dist/external-kbDFnfuk.js +24 -0
  171. package/dist/external-kbDFnfuk.js.map +1 -0
  172. package/dist/external-oX1JmOFf.js +17 -0
  173. package/dist/external-oX1JmOFf.js.map +1 -0
  174. package/dist/external-oZe6tF4A.cjs +14 -0
  175. package/dist/external-oZe6tF4A.cjs.map +1 -0
  176. package/dist/external-tVcmKSsT.cjs +19 -0
  177. package/dist/external-tVcmKSsT.cjs.map +1 -0
  178. package/dist/external-up1sE3F6.js +94 -0
  179. package/dist/external-up1sE3F6.js.map +1 -0
  180. package/dist/external-uvx0b-Jw.cjs +16 -0
  181. package/dist/external-uvx0b-Jw.cjs.map +1 -0
  182. package/dist/external-vXBQOmKv.js +15 -0
  183. package/dist/external-vXBQOmKv.js.map +1 -0
  184. package/dist/external-yiqRIIvW.cjs +16 -0
  185. package/dist/external-yiqRIIvW.cjs.map +1 -0
  186. package/dist/external-zBiIxeDG.cjs +70 -0
  187. package/dist/external-zBiIxeDG.cjs.map +1 -0
  188. package/dist/external-zw9fckWT.cjs +29 -0
  189. package/dist/external-zw9fckWT.cjs.map +1 -0
  190. package/dist/font-t7KoGNFX.js +17 -0
  191. package/dist/font-t7KoGNFX.js.map +1 -0
  192. package/dist/font-wlgaMRYN.cjs +16 -0
  193. package/dist/font-wlgaMRYN.cjs.map +1 -0
  194. package/dist/fontString-RKvYIr5H.js +13 -0
  195. package/dist/fontString-RKvYIr5H.js.map +1 -0
  196. package/dist/fontString-i24UxKCQ.cjs +12 -0
  197. package/dist/fontString-i24UxKCQ.cjs.map +1 -0
  198. package/dist/generic/Generic.d.ts +13 -0
  199. package/dist/generic/index.d.ts +1 -0
  200. package/dist/haul/Haul.d.ts +60 -0
  201. package/dist/haul/index.d.ts +1 -0
  202. package/dist/header/Actions.d.ts +15 -0
  203. package/dist/header/ButtonTitle.d.ts +13 -0
  204. package/dist/header/Header.d.ts +28 -0
  205. package/dist/header/Header.spec.d.ts +1 -0
  206. package/dist/header/Header.stories.d.ts +6 -0
  207. package/dist/header/Title.d.ts +13 -0
  208. package/dist/header/external.d.ts +4 -0
  209. package/dist/header/index.d.ts +1 -0
  210. package/dist/header.cjs +15 -0
  211. package/dist/header.cjs.map +1 -0
  212. package/dist/header.js +15 -0
  213. package/dist/header.js.map +1 -0
  214. package/dist/hooks/effect.d.ts +14 -0
  215. package/dist/hooks/index.d.ts +8 -0
  216. package/dist/hooks/ref.d.ts +31 -0
  217. package/dist/hooks/useClickOutside.d.ts +9 -0
  218. package/dist/hooks/useCursorDrag/index.d.ts +2 -0
  219. package/dist/hooks/useCursorDrag/types.d.ts +5 -0
  220. package/dist/hooks/useCursorDrag/useCursorDrag.d.ts +10 -0
  221. package/dist/hooks/useCursorDrag/useVirtualCursorDrag.d.ts +1 -0
  222. package/dist/hooks/useCursorDrag/useVirtualCursorDragWebKit.d.ts +2 -0
  223. package/dist/hooks/useCursorDrag/useVirtualCursorDragWebView.d.ts +2 -0
  224. package/dist/hooks/useDebouncedCallback.d.ts +2 -0
  225. package/dist/hooks/useFilter.d.ts +21 -0
  226. package/dist/hooks/useResize.d.ts +24 -0
  227. package/dist/hooks/useSelectMultiple.d.ts +51 -0
  228. package/dist/hooks/useTransforms.d.ts +15 -0
  229. package/dist/hooks/useUniqueKey.d.ts +6 -0
  230. package/dist/index.cjs +1175 -0
  231. package/dist/index.cjs.map +1 -0
  232. package/dist/index.d.ts +51 -0
  233. package/dist/index.js +1182 -0
  234. package/dist/index.js.map +1 -0
  235. package/dist/input/Date.d.ts +28 -0
  236. package/dist/input/DragButton.d.ts +14 -0
  237. package/dist/input/HelpText.d.ts +19 -0
  238. package/dist/input/Input.spec.d.ts +1 -0
  239. package/dist/input/Input.stories.d.ts +9 -0
  240. package/dist/input/Item.d.ts +23 -0
  241. package/dist/input/Label.d.ts +13 -0
  242. package/dist/input/Number.d.ts +30 -0
  243. package/dist/input/Switch.d.ts +15 -0
  244. package/dist/input/Text.d.ts +18 -0
  245. package/dist/input/Time.d.ts +30 -0
  246. package/dist/input/Time.spec.d.ts +1 -0
  247. package/dist/input/external.d.ts +10 -0
  248. package/dist/input/index.d.ts +1 -0
  249. package/dist/input/types.d.ts +19 -0
  250. package/dist/input.cjs +15 -0
  251. package/dist/input.cjs.map +1 -0
  252. package/dist/input.js +15 -0
  253. package/dist/input.js.map +1 -0
  254. package/dist/jsx-runtime-N1ikfypN.cjs +931 -0
  255. package/dist/jsx-runtime-N1ikfypN.cjs.map +1 -0
  256. package/dist/jsx-runtime-rX5tAIG2.js +932 -0
  257. package/dist/jsx-runtime-rX5tAIG2.js.map +1 -0
  258. package/dist/list/Column.d.ts +24 -0
  259. package/dist/list/Context.d.ts +45 -0
  260. package/dist/list/Core.d.ts +40 -0
  261. package/dist/list/Filter.d.ts +22 -0
  262. package/dist/list/KeyHover.d.ts +4 -0
  263. package/dist/list/List.d.ts +19 -0
  264. package/dist/list/List.spec.d.ts +1 -0
  265. package/dist/list/List.stories.d.ts +7 -0
  266. package/dist/list/Search.d.ts +12 -0
  267. package/dist/list/Selector.d.ts +11 -0
  268. package/dist/list/external.d.ts +9 -0
  269. package/dist/list/index.d.ts +1 -0
  270. package/dist/list/types.d.ts +38 -0
  271. package/dist/list.cjs +27 -0
  272. package/dist/list.cjs.map +1 -0
  273. package/dist/list.js +27 -0
  274. package/dist/list.js.map +1 -0
  275. package/dist/memo/index.d.ts +2 -0
  276. package/dist/memo/proxyMemo.d.ts +2 -0
  277. package/dist/memo/useMemoCompare.d.ts +5 -0
  278. package/dist/menu/ContextMenu.d.ts +78 -0
  279. package/dist/menu/Item.d.ts +35 -0
  280. package/dist/menu/Menu.d.ts +26 -0
  281. package/dist/menu/external.d.ts +3 -0
  282. package/dist/menu/index.d.ts +1 -0
  283. package/dist/menu.cjs +16 -0
  284. package/dist/menu.cjs.map +1 -0
  285. package/dist/menu.js +16 -0
  286. package/dist/menu.js.map +1 -0
  287. package/dist/mock/MockGLBufferController.d.ts +20 -0
  288. package/dist/mock/setuptests.d.ts +1 -0
  289. package/dist/mosaic/Mosaic.d.ts +35 -0
  290. package/dist/mosaic/Mosaic.spec.d.ts +1 -0
  291. package/dist/mosaic/Mosaic.stories.d.ts +5 -0
  292. package/dist/mosaic/external.d.ts +4 -0
  293. package/dist/mosaic/index.d.ts +1 -0
  294. package/dist/mosaic/tree.d.ts +70 -0
  295. package/dist/mosaic/types.d.ts +50 -0
  296. package/dist/mosaic/use.d.ts +24 -0
  297. package/dist/nav/Bar.d.ts +25 -0
  298. package/dist/nav/Drawer.d.ts +24 -0
  299. package/dist/nav/Nav.spec.d.ts +1 -0
  300. package/dist/nav/Nav.stories.d.ts +6 -0
  301. package/dist/nav/external.d.ts +2 -0
  302. package/dist/nav/index.d.ts +1 -0
  303. package/dist/os/Controls/Controls.d.ts +7 -0
  304. package/dist/os/Controls/Controls.stories.d.ts +6 -0
  305. package/dist/os/Controls/Mac.d.ts +8 -0
  306. package/dist/os/Controls/Windows.d.ts +3 -0
  307. package/dist/os/Controls/index.d.ts +3 -0
  308. package/dist/os/Controls/types.d.ts +12 -0
  309. package/dist/os/external.d.ts +2 -0
  310. package/dist/os/index.d.ts +1 -0
  311. package/dist/os/use.d.ts +2 -0
  312. package/dist/pluto/Pluto.d.ts +18 -0
  313. package/dist/pluto/aether/ pluto.d.ts +1 -0
  314. package/dist/pluto/aether/index.d.ts +1 -0
  315. package/dist/pluto/defaultWorker.d.ts +1 -0
  316. package/dist/pluto/index.d.ts +1 -0
  317. package/dist/ranger/SelectLabel.d.ts +6 -0
  318. package/dist/ranger/TimeRangeChip.d.ts +6 -0
  319. package/dist/ranger/TimeRangeChip.stories.d.ts +6 -0
  320. package/dist/ranger/external.d.ts +2 -0
  321. package/dist/ranger/index.d.ts +1 -0
  322. package/dist/resize/Core.d.ts +10 -0
  323. package/dist/resize/Multiple.d.ts +63 -0
  324. package/dist/resize/Single.d.ts +23 -0
  325. package/dist/resize/Single.spec.d.ts +1 -0
  326. package/dist/resize/Single.stories.d.ts +6 -0
  327. package/dist/resize/external.d.ts +3 -0
  328. package/dist/resize/index.d.ts +1 -0
  329. package/dist/select/Button.d.ts +18 -0
  330. package/dist/select/ClearButton.d.ts +3 -0
  331. package/dist/select/Direction.d.ts +11 -0
  332. package/dist/select/List.d.ts +7 -0
  333. package/dist/select/Multiple.d.ts +45 -0
  334. package/dist/select/Select.spec.d.ts +1 -0
  335. package/dist/select/Select.stories.d.ts +14 -0
  336. package/dist/select/Single.d.ts +37 -0
  337. package/dist/select/external.d.ts +4 -0
  338. package/dist/select/index.d.ts +1 -0
  339. package/dist/state/index.d.ts +1 -0
  340. package/dist/state/state.d.ts +27 -0
  341. package/dist/status/Aggregator.d.ts +27 -0
  342. package/dist/status/Circle.d.ts +6 -0
  343. package/dist/status/Text.d.ts +21 -0
  344. package/dist/status/aether/aggregator.d.ts +86 -0
  345. package/dist/status/aether/external.d.ts +2 -0
  346. package/dist/status/aether/index.d.ts +1 -0
  347. package/dist/status/aether/types.d.ts +26 -0
  348. package/dist/status/colors.d.ts +2 -0
  349. package/dist/status/external.d.ts +4 -0
  350. package/dist/status/index.d.ts +1 -0
  351. package/dist/style.css +3119 -0
  352. package/dist/synnax/Provider.d.ts +10 -0
  353. package/dist/synnax/aether/index.d.ts +1 -0
  354. package/dist/synnax/aether/provider.d.ts +225 -0
  355. package/dist/synnax/index.d.ts +1 -0
  356. package/dist/table-8MFXzE4C.js +13664 -0
  357. package/dist/table-8MFXzE4C.js.map +1 -0
  358. package/dist/table-VNkSG_Cj.cjs +13661 -0
  359. package/dist/table-VNkSG_Cj.cjs.map +1 -0
  360. package/dist/tabs/Selector.d.ts +23 -0
  361. package/dist/tabs/Tabs.d.ts +40 -0
  362. package/dist/tabs/Tabs.spec.d.ts +1 -0
  363. package/dist/tabs/Tabs.stories.d.ts +5 -0
  364. package/dist/tabs/external.d.ts +2 -0
  365. package/dist/tabs/index.d.ts +1 -0
  366. package/dist/tabs.cjs +15 -0
  367. package/dist/tabs.cjs.map +1 -0
  368. package/dist/tabs.js +15 -0
  369. package/dist/tabs.js.map +1 -0
  370. package/dist/tag/Tag.d.ts +12 -0
  371. package/dist/tag/Tag.spec.d.ts +1 -0
  372. package/dist/tag/Tag.stories.d.ts +5 -0
  373. package/dist/tag/index.d.ts +1 -0
  374. package/dist/telem/Pipeline.d.ts +2 -0
  375. package/dist/telem/Provider.d.ts +6 -0
  376. package/dist/telem/aether/context.d.ts +16 -0
  377. package/dist/telem/aether/convertSeries.d.ts +9 -0
  378. package/dist/telem/aether/external.d.ts +9 -0
  379. package/dist/telem/aether/factory.d.ts +14 -0
  380. package/dist/telem/aether/index.d.ts +1 -0
  381. package/dist/telem/aether/noop.d.ts +12 -0
  382. package/dist/telem/aether/pipeline.d.ts +263 -0
  383. package/dist/telem/aether/provider.d.ts +24 -0
  384. package/dist/telem/aether/remote.d.ts +154 -0
  385. package/dist/telem/aether/remote.spec.d.ts +1 -0
  386. package/dist/telem/aether/static.d.ts +98 -0
  387. package/dist/telem/aether/telem.d.ts +376 -0
  388. package/dist/telem/aether/telem.spec.d.ts +1 -0
  389. package/dist/telem/aether/transformers.d.ts +197 -0
  390. package/dist/telem/client/cache/cache.d.ts +14 -0
  391. package/dist/telem/client/cache/dynamic.d.ts +32 -0
  392. package/dist/telem/client/cache/dynamic.spec.d.ts +1 -0
  393. package/dist/telem/client/cache/external.d.ts +1 -0
  394. package/dist/telem/client/cache/index.d.ts +2 -0
  395. package/dist/telem/client/cache/static.d.ts +31 -0
  396. package/dist/telem/client/cache/static.spec.d.ts +1 -0
  397. package/dist/telem/client/client.d.ts +104 -0
  398. package/dist/telem/client/index.d.ts +1 -0
  399. package/dist/telem/control/Chip.d.ts +8 -0
  400. package/dist/telem/control/Controller.d.ts +15 -0
  401. package/dist/telem/control/Indicator.d.ts +8 -0
  402. package/dist/telem/control/Legend.d.ts +7 -0
  403. package/dist/telem/control/StateProvider.d.ts +8 -0
  404. package/dist/telem/control/aether/chip.d.ts +229 -0
  405. package/dist/telem/control/aether/controller.d.ts +166 -0
  406. package/dist/telem/control/aether/external.d.ts +6 -0
  407. package/dist/telem/control/aether/index.d.ts +1 -0
  408. package/dist/telem/control/aether/indicator.d.ts +248 -0
  409. package/dist/telem/control/aether/legend.d.ts +216 -0
  410. package/dist/telem/control/aether/registry.d.ts +2 -0
  411. package/dist/telem/control/aether/state.d.ts +113 -0
  412. package/dist/telem/control/external.d.ts +6 -0
  413. package/dist/telem/control/index.d.ts +1 -0
  414. package/dist/telem/index.d.ts +1 -0
  415. package/dist/testutil/dom.d.ts +2 -0
  416. package/dist/text/DateTime.d.ts +19 -0
  417. package/dist/text/Editable.d.ts +15 -0
  418. package/dist/text/Keyboard.d.ts +5 -0
  419. package/dist/text/Link.d.ts +17 -0
  420. package/dist/text/SelectLevel.d.ts +11 -0
  421. package/dist/text/Text.d.ts +12 -0
  422. package/dist/text/Text.spec.d.ts +1 -0
  423. package/dist/text/Text.stories.d.ts +8 -0
  424. package/dist/text/WithIcon.d.ts +13 -0
  425. package/dist/text/dimensions.d.ts +2 -0
  426. package/dist/text/external.d.ts +10 -0
  427. package/dist/text/index.d.ts +1 -0
  428. package/dist/text/symbols.d.ts +5 -0
  429. package/dist/text/types.d.ts +24 -0
  430. package/dist/text.cjs +17 -0
  431. package/dist/text.cjs.map +1 -0
  432. package/dist/text.js +17 -0
  433. package/dist/text.js.map +1 -0
  434. package/dist/theming/aether/external.d.ts +3 -0
  435. package/dist/theming/aether/index.d.ts +2 -0
  436. package/dist/theming/aether/provider.d.ts +9808 -0
  437. package/dist/theming/context.d.ts +22 -0
  438. package/dist/theming/core/fontString.d.ts +4 -0
  439. package/dist/theming/core/theme.d.ts +3830 -0
  440. package/dist/theming/css.d.ts +2 -0
  441. package/dist/theming/external.d.ts +5 -0
  442. package/dist/theming/font.d.ts +8 -0
  443. package/dist/theming/index.d.ts +1 -0
  444. package/dist/theming/theming.spec.d.ts +1 -0
  445. package/dist/theming.cjs +16 -0
  446. package/dist/theming.cjs.map +1 -0
  447. package/dist/theming.js +16 -0
  448. package/dist/theming.js.map +1 -0
  449. package/dist/tooltip/Config.d.ts +29 -0
  450. package/dist/tooltip/Dialog.d.ts +36 -0
  451. package/dist/tooltip/Tooltip.stories.d.ts +5 -0
  452. package/dist/tooltip/external.d.ts +3 -0
  453. package/dist/tooltip/index.d.ts +1 -0
  454. package/dist/tooltip/wrap.d.ts +29 -0
  455. package/dist/tree/Tree.d.ts +73 -0
  456. package/dist/tree/Tree.stories.d.ts +5 -0
  457. package/dist/tree/index.d.ts +1 -0
  458. package/dist/tree.cjs +26 -0
  459. package/dist/tree.cjs.map +1 -0
  460. package/dist/tree.js +26 -0
  461. package/dist/tree.js.map +1 -0
  462. package/dist/triggers/Provider.d.ts +13 -0
  463. package/dist/triggers/Status.d.ts +5 -0
  464. package/dist/triggers/Text.d.ts +7 -0
  465. package/dist/triggers/Triggers.spec.d.ts +1 -0
  466. package/dist/triggers/Triggers.stories.d.ts +6 -0
  467. package/dist/triggers/external.d.ts +6 -0
  468. package/dist/triggers/hooks.d.ts +25 -0
  469. package/dist/triggers/index.d.ts +1 -0
  470. package/dist/triggers/triggers.d.ts +130 -0
  471. package/dist/triggers/useDrag.d.ts +17 -0
  472. package/dist/triggers.cjs +16 -0
  473. package/dist/triggers.cjs.map +1 -0
  474. package/dist/triggers.js +16 -0
  475. package/dist/triggers.js.map +1 -0
  476. package/dist/useDrag-KRQ7DTg1.cjs +48 -0
  477. package/dist/useDrag-KRQ7DTg1.cjs.map +1 -0
  478. package/dist/useDrag-rQt5hv4R.js +49 -0
  479. package/dist/useDrag-rQt5hv4R.js.map +1 -0
  480. package/dist/util/case.d.ts +1 -0
  481. package/dist/util/children.d.ts +3 -0
  482. package/dist/util/component.d.ts +5 -0
  483. package/dist/util/event.d.ts +6 -0
  484. package/dist/util/renderProp.d.ts +7 -0
  485. package/dist/util/zod.d.ts +2 -0
  486. package/dist/video/Video.d.ts +5 -0
  487. package/dist/video/Video.stories.d.ts +5 -0
  488. package/dist/video/index.d.ts +1 -0
  489. package/dist/video.cjs +10 -0
  490. package/dist/video.cjs.map +1 -0
  491. package/dist/video.js +10 -0
  492. package/dist/video.js.map +1 -0
  493. package/dist/viewport/Mask.d.ts +7 -0
  494. package/dist/viewport/SelectMode.d.ts +8 -0
  495. package/dist/viewport/Viewport.stories.d.ts +6 -0
  496. package/dist/viewport/external.d.ts +3 -0
  497. package/dist/viewport/index.d.ts +1 -0
  498. package/dist/viewport/use.d.ts +35 -0
  499. package/dist/vis/axis/axis.d.ts +97 -0
  500. package/dist/vis/axis/canvas.d.ts +18 -0
  501. package/dist/vis/axis/external.d.ts +3 -0
  502. package/dist/vis/axis/index.d.ts +1 -0
  503. package/dist/vis/axis/ticks.d.ts +33 -0
  504. package/dist/vis/button/aether/button.d.ts +94 -0
  505. package/dist/vis/button/aether/index.d.ts +1 -0
  506. package/dist/vis/button/index.d.ts +1 -0
  507. package/dist/vis/button/use.d.ts +9 -0
  508. package/dist/vis/canvas/Canvas.d.ts +11 -0
  509. package/dist/vis/canvas/aether/canvas.d.ts +230 -0
  510. package/dist/vis/canvas/aether/index.d.ts +1 -0
  511. package/dist/vis/canvas/index.d.ts +1 -0
  512. package/dist/vis/diagram/Diagram.d.ts +52 -0
  513. package/dist/vis/diagram/Diagram.stories.d.ts +5 -0
  514. package/dist/vis/diagram/aether/Diagram.d.ts +587 -0
  515. package/dist/vis/diagram/aether/index.d.ts +1 -0
  516. package/dist/vis/diagram/align.d.ts +3 -0
  517. package/dist/vis/diagram/align.spec.d.ts +1 -0
  518. package/dist/vis/diagram/edge/Edge.d.ts +14 -0
  519. package/dist/vis/diagram/edge/connector/connector.d.ts +59 -0
  520. package/dist/vis/diagram/edge/connector/connector.spec.d.ts +1 -0
  521. package/dist/vis/diagram/edge/connector/index.d.ts +1 -0
  522. package/dist/vis/diagram/edge/index.d.ts +1 -0
  523. package/dist/vis/diagram/external.d.ts +4 -0
  524. package/dist/vis/diagram/index.d.ts +1 -0
  525. package/dist/vis/diagram/types.d.ts +71 -0
  526. package/dist/vis/diagram/util.d.ts +21 -0
  527. package/dist/vis/draw2d/canvas.d.ts +106 -0
  528. package/dist/vis/draw2d/index.d.ts +60 -0
  529. package/dist/vis/eraser/aether/eraser.d.ts +194 -0
  530. package/dist/vis/eraser/aether/index.d.ts +1 -0
  531. package/dist/vis/eraser/index.d.ts +1 -0
  532. package/dist/vis/eraser/use.d.ts +11 -0
  533. package/dist/vis/legend/Container.d.ts +11 -0
  534. package/dist/vis/legend/Simple.d.ts +16 -0
  535. package/dist/vis/legend/external.d.ts +2 -0
  536. package/dist/vis/legend/index.d.ts +1 -0
  537. package/dist/vis/line/Line.d.ts +8 -0
  538. package/dist/vis/line/aether/index.d.ts +1 -0
  539. package/dist/vis/line/aether/line.d.ts +184 -0
  540. package/dist/vis/line/index.d.ts +1 -0
  541. package/dist/vis/lineplot/Axis.d.ts +17 -0
  542. package/dist/vis/lineplot/Legend.d.ts +7 -0
  543. package/dist/vis/lineplot/Line.d.ts +7 -0
  544. package/dist/vis/lineplot/LinePlot.d.ts +32 -0
  545. package/dist/vis/lineplot/LinePlot.stories.d.ts +5 -0
  546. package/dist/vis/lineplot/Title.d.ts +4 -0
  547. package/dist/vis/lineplot/Viewport.d.ts +6 -0
  548. package/dist/vis/lineplot/aether/LinePlot.d.ts +622 -0
  549. package/dist/vis/lineplot/aether/XAxis.d.ts +211 -0
  550. package/dist/vis/lineplot/aether/YAxis.d.ts +218 -0
  551. package/dist/vis/lineplot/aether/axis.d.ts +144 -0
  552. package/dist/vis/lineplot/aether/external.d.ts +3 -0
  553. package/dist/vis/lineplot/aether/grid.d.ts +22 -0
  554. package/dist/vis/lineplot/aether/index.d.ts +2 -0
  555. package/dist/vis/lineplot/external.d.ts +6 -0
  556. package/dist/vis/lineplot/index.d.ts +1 -0
  557. package/dist/vis/lineplot/tooltip/Tooltip.d.ts +8 -0
  558. package/dist/vis/lineplot/tooltip/aether/index.d.ts +1 -0
  559. package/dist/vis/lineplot/tooltip/aether/tooltip.d.ts +185 -0
  560. package/dist/vis/lineplot/tooltip/index.d.ts +1 -0
  561. package/dist/vis/measure/Measure.d.ts +6 -0
  562. package/dist/vis/measure/aether/index.d.ts +1 -0
  563. package/dist/vis/measure/aether/measure.d.ts +307 -0
  564. package/dist/vis/measure/index.d.ts +1 -0
  565. package/dist/vis/pid/Forms.d.ts +32 -0
  566. package/dist/vis/pid/Labeled.d.ts +15 -0
  567. package/dist/vis/pid/SelectOrientation.d.ts +15 -0
  568. package/dist/vis/pid/SelectOrientation.stories.d.ts +5 -0
  569. package/dist/vis/pid/Symbols.d.ts +205 -0
  570. package/dist/vis/pid/index.d.ts +1 -0
  571. package/dist/vis/pid/primitives/Primitives.d.ts +98 -0
  572. package/dist/vis/pid/primitives/Primitives.stories.d.ts +5 -0
  573. package/dist/vis/pid/primitives/index.d.ts +1 -0
  574. package/dist/vis/pid/registry.d.ts +17 -0
  575. package/dist/vis/render/GLProgram.d.ts +44 -0
  576. package/dist/vis/render/clear/index.d.ts +1 -0
  577. package/dist/vis/render/clear/program.d.ts +14 -0
  578. package/dist/vis/render/context.d.ts +61 -0
  579. package/dist/vis/render/controller.d.ts +14 -0
  580. package/dist/vis/render/eraser.d.ts +19 -0
  581. package/dist/vis/render/external.d.ts +5 -0
  582. package/dist/vis/render/index.d.ts +1 -0
  583. package/dist/vis/render/loop.d.ts +73 -0
  584. package/dist/vis/rule/Rule.d.ts +12 -0
  585. package/dist/vis/rule/aether/aether.d.ts +121 -0
  586. package/dist/vis/rule/aether/index.d.ts +1 -0
  587. package/dist/vis/rule/index.d.ts +1 -0
  588. package/dist/vis/table/Table.d.ts +25 -0
  589. package/dist/vis/table/Table.stories.d.ts +5 -0
  590. package/dist/vis/table/aether/index.d.ts +1 -0
  591. package/dist/vis/table/aether/table.d.ts +353 -0
  592. package/dist/vis/table/cell/Label.d.ts +7 -0
  593. package/dist/vis/table/cell/element.d.ts +18 -0
  594. package/dist/vis/table/cell/external.d.ts +3 -0
  595. package/dist/vis/table/cell/index.d.ts +1 -0
  596. package/dist/vis/table/cell/registry.d.ts +2 -0
  597. package/dist/vis/table/cell/value.d.ts +9 -0
  598. package/dist/vis/table/external.d.ts +2 -0
  599. package/dist/vis/table/index.d.ts +1 -0
  600. package/dist/vis/table/use.d.ts +101 -0
  601. package/dist/vis/toggle/aether/index.d.ts +1 -0
  602. package/dist/vis/toggle/aether/toggle.d.ts +170 -0
  603. package/dist/vis/toggle/index.d.ts +1 -0
  604. package/dist/vis/toggle/use.d.ts +9 -0
  605. package/dist/vis/value/aether/index.d.ts +1 -0
  606. package/dist/vis/value/aether/value.d.ts +462 -0
  607. package/dist/vis/value/external.d.ts +1 -0
  608. package/dist/vis/value/index.d.ts +1 -0
  609. package/dist/vis/value/use.d.ts +151 -0
  610. package/dist/worker/Context.d.ts +15 -0
  611. package/dist/worker/index.d.ts +1 -0
  612. package/package.json +181 -0
package/dist/aether.js ADDED
@@ -0,0 +1,93 @@
1
+ import { R as RoutedWorker } from "./css-NTD4Xm8x.js";
2
+ import { c } from "./css-NTD4Xm8x.js";
3
+ import { P as Provider, R as REGISTRY, s as synnaxDark, a as synnaxLight, t as themeZ, b as themes, u as use, e as REGISTRY$d, r as render$1 } from "./component-k78Jq9I7.js";
4
+ import { f } from "./component-k78Jq9I7.js";
5
+ import { aq as Context$1, ar as Controller, as as Eraser$1, at as GLProgram, au as Loop, av as REASON_DATA, aw as REASON_LAYOUT, ax as REASON_TOOL, ay as LinePlot, az as REGISTRY$1, aA as XAxis, aB as YAxis, aC as linePlotStateZ, aD as xAxisStateZ, aE as yAxisStateZ, aF as REGISTRY$2, aG as REGISTRY$3, R as REGISTRY$4, aH as REGISTRY$5, aI as REGISTRY$6, aJ as REGISTRY$7, aK as REGISTRY$8, aL as REGISTRY$9, aM as REGISTRY$a, aN as REGISTRY$b, aO as REGISTRY$c, aP as REGISTRY$e, aQ as REGISTRY$f, aR as REGISTRY$g, aS as REGISTRY$h } from "./table-8MFXzE4C.js";
6
+ import { aZ, aV, aU, aW, aT, aX, aY } from "./table-8MFXzE4C.js";
7
+ import { f as fontString } from "./fontString-RKvYIr5H.js";
8
+ import { e } from "./external-2Aicsb3l.js";
9
+ import "zod";
10
+ import "react";
11
+ import "react-dom";
12
+ import "./dimensions-guJ5PHmb.js";
13
+ const external$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
+ __proto__: null,
15
+ Provider,
16
+ REGISTRY,
17
+ fontString,
18
+ synnaxDark,
19
+ synnaxLight,
20
+ themeZ,
21
+ themes,
22
+ use
23
+ }, Symbol.toStringTag, { value: "Module" }));
24
+ const external$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
+ __proto__: null,
26
+ Context: Context$1,
27
+ Controller,
28
+ Eraser: Eraser$1,
29
+ GLProgram,
30
+ Loop,
31
+ REASON_DATA,
32
+ REASON_LAYOUT,
33
+ REASON_TOOL
34
+ }, Symbol.toStringTag, { value: "Module" }));
35
+ const external = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
+ __proto__: null,
37
+ LinePlot,
38
+ REGISTRY: REGISTRY$1,
39
+ XAxis,
40
+ YAxis,
41
+ linePlotStateZ,
42
+ xAxisStateZ,
43
+ yAxisStateZ
44
+ }, Symbol.toStringTag, { value: "Module" }));
45
+ const render = () => {
46
+ const w = new RoutedWorker((data, transfer) => postMessage(data, transfer));
47
+ onmessage = w.handle.bind(w);
48
+ const REGISTRY$i = {
49
+ ...REGISTRY$1,
50
+ ...REGISTRY$2,
51
+ ...REGISTRY$3,
52
+ ...REGISTRY$4,
53
+ ...REGISTRY$5,
54
+ ...REGISTRY$6,
55
+ ...REGISTRY$7,
56
+ ...REGISTRY$8,
57
+ ...REGISTRY$9,
58
+ ...REGISTRY$a,
59
+ ...REGISTRY$b,
60
+ ...REGISTRY$c,
61
+ ...REGISTRY,
62
+ ...REGISTRY$d,
63
+ ...REGISTRY$e,
64
+ ...REGISTRY$f,
65
+ ...REGISTRY$g,
66
+ ...REGISTRY$h
67
+ };
68
+ render$1({
69
+ worker: w.route("vis"),
70
+ registry: REGISTRY$i
71
+ });
72
+ };
73
+ const _pluto = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
74
+ __proto__: null,
75
+ render
76
+ }, Symbol.toStringTag, { value: "Module" }));
77
+ export {
78
+ f as aether,
79
+ aZ as canvas,
80
+ c as color,
81
+ aV as diagram,
82
+ external as lineplot,
83
+ aU as measure,
84
+ _pluto as pluto,
85
+ external$1 as render,
86
+ aW as rule,
87
+ aT as synnax,
88
+ e as telem,
89
+ external$2 as theming,
90
+ aX as tooltip,
91
+ aY as value
92
+ };
93
+ //# sourceMappingURL=aether.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aether.js","sources":["../src/pluto/aether/ pluto.ts"],"sourcesContent":["// Copyright 2023 Synnax Labs, Inc.\n//\n// Use of this software is governed by the Business Source License included in the file\n// licenses/BSL.txt.\n//\n// As of the Change Date specified in that file, in accordance with the Business Source\n// License, use of this software will be governed by the Apache License, Version 2.0,\n// included in the file licenses/APL.txt.\n\nimport { RoutedWorker } from \"@synnaxlabs/x\";\n\nimport { aether } from \"@/aether/aether\";\nimport { alamos } from \"@/alamos/aether\";\nimport { status } from \"@/status/aether\";\nimport { synnax } from \"@/synnax/aether\";\nimport { telem } from \"@/telem/aether\";\nimport { control } from \"@/telem/control/aether\";\nimport { theming } from \"@/theming/aether\";\nimport { button } from \"@/vis/button/aether\";\nimport { canvas } from \"@/vis/canvas/aether\";\nimport { diagram } from \"@/vis/diagram/aether\";\nimport { eraser } from \"@/vis/eraser/aether\";\nimport { line } from \"@/vis/line/aether\";\nimport { lineplot } from \"@/vis/lineplot/aether\";\nimport { tooltip } from \"@/vis/lineplot/tooltip/aether\";\nimport { measure } from \"@/vis/measure/aether\";\nimport { rule } from \"@/vis/rule/aether\";\nimport { table } from \"@/vis/table/aether\";\nimport { toggle } from \"@/vis/toggle/aether\";\nimport { value } from \"@/vis/value/aether\";\n\nexport const render = (): void => {\n // @ts-expect-error - for some reason post-message can't type transfer correctly\n const w = new RoutedWorker((data, transfer) => postMessage(data, transfer));\n onmessage = w.handle.bind(w);\n\n const REGISTRY: aether.ComponentRegistry = {\n ...lineplot.REGISTRY,\n ...canvas.REGISTRY,\n ...synnax.REGISTRY,\n ...telem.REGISTRY,\n ...line.REGISTRY,\n ...value.REGISTRY,\n ...toggle.REGISTRY,\n ...diagram.REGISTRY,\n ...rule.REGISTRY,\n ...tooltip.REGISTRY,\n ...measure.REGISTRY,\n ...control.REGISTRY,\n ...theming.REGISTRY,\n ...status.REGISTRY,\n ...button.REGISTRY,\n ...alamos.REGISTRY,\n ...eraser.REGISTRY,\n ...table.REGISTRY,\n };\n\n aether.render({\n worker: w.route(\"vis\"),\n registry: REGISTRY,\n });\n};\n"],"names":["REGISTRY","lineplot.REGISTRY","canvas.REGISTRY","synnax.REGISTRY","telem.REGISTRY","line.REGISTRY","value.REGISTRY","toggle.REGISTRY","diagram.REGISTRY","rule.REGISTRY","tooltip.REGISTRY","measure.REGISTRY","control.REGISTRY","theming.REGISTRY","status.REGISTRY","button.REGISTRY","alamos.REGISTRY","eraser.REGISTRY","table.REGISTRY","aether.render"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BO,MAAM,SAAS,MAAY;AAE1B,QAAA,IAAI,IAAI,aAAa,CAAC,MAAM,aAAa,YAAY,MAAM,QAAQ,CAAC;AAC9D,cAAA,EAAE,OAAO,KAAK,CAAC;AAE3B,QAAMA,aAAqC;AAAA,IACzC,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,IACH,GAAGC;AAAAA,EAAM;AAGXC,WAAc;AAAA,IACZ,QAAQ,EAAE,MAAM,KAAK;AAAA,IACrB,UAAUnB;AAAAA,EAAA,CACX;AACH;;;;;"}
@@ -0,0 +1,14 @@
1
+ export { pluto } from './pluto/aether';
2
+ export { aether } from './aether/aether';
3
+ export { color } from './color/core';
4
+ export { synnax } from './synnax/aether';
5
+ export { theming } from './theming/aether';
6
+ export { measure } from './vis/measure/aether';
7
+ export { diagram } from './vis/diagram/aether';
8
+ export { telem } from './telem/aether';
9
+ export { rule } from './vis/rule/aether';
10
+ export { tooltip } from './vis/lineplot/tooltip/aether';
11
+ export { render } from './vis/render';
12
+ export { value } from './vis/value/aether';
13
+ export { lineplot } from './vis/lineplot/aether';
14
+ export { canvas } from './vis/canvas/aether';
@@ -0,0 +1,12 @@
1
+ import { type PropsWithChildren } from "react";
2
+ import { Instrumentation } from "@synnaxlabs/alamos";
3
+ import { alamos } from '../alamos/aether';
4
+ export interface ContextValue {
5
+ instrumentation: Instrumentation;
6
+ }
7
+ export interface ProviderProps extends PropsWithChildren, alamos.ProviderState {
8
+ }
9
+ export declare const useInstrumentation: () => Instrumentation;
10
+ export declare const Provider: import("react").FC<ProviderProps & {
11
+ aetherKey?: string | undefined;
12
+ }>;
@@ -0,0 +1,39 @@
1
+ import { alamos } from "@synnaxlabs/alamos";
2
+ import { z } from "zod";
3
+ import { aether } from '../../aether/aether';
4
+ export declare const providerStateZ: z.ZodObject<{
5
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["debug", "info", "warn", "error"]>>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ level: "error" | "info" | "debug" | "warn";
10
+ include?: string[] | undefined;
11
+ exclude?: string[] | undefined;
12
+ }, {
13
+ include?: string[] | undefined;
14
+ exclude?: string[] | undefined;
15
+ level?: "error" | "info" | "debug" | "warn" | undefined;
16
+ }>;
17
+ export type ProviderState = z.input<typeof providerStateZ>;
18
+ export interface InternalState {
19
+ ins: alamos.Instrumentation;
20
+ }
21
+ export declare class Provider extends aether.Composite<typeof providerStateZ, InternalState> {
22
+ static readonly TYPE = "AlamosProvider";
23
+ schema: z.ZodObject<{
24
+ include: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
25
+ exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
26
+ level: z.ZodDefault<z.ZodOptional<z.ZodEnum<["debug", "info", "warn", "error"]>>>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ level: "error" | "info" | "debug" | "warn";
29
+ include?: string[] | undefined;
30
+ exclude?: string[] | undefined;
31
+ }, {
32
+ include?: string[] | undefined;
33
+ exclude?: string[] | undefined;
34
+ level?: "error" | "info" | "debug" | "warn" | undefined;
35
+ }>;
36
+ afterUpdate(): void;
37
+ }
38
+ export declare const useInstrumentation: (ctx: aether.Context, name?: string) => alamos.Instrumentation;
39
+ export declare const REGISTRY: aether.ComponentRegistry;
@@ -0,0 +1 @@
1
+ export * as alamos from '../../alamos/aether/alamos';
@@ -0,0 +1 @@
1
+ export * as Alamos from '../alamos/Provider';
@@ -0,0 +1,8 @@
1
+ import { type ForwardedRef, type ReactElement } from "react";
2
+ import { type SpaceElementType, type SpaceProps } from '../align/Space';
3
+ export declare const CoreCenter: <E extends SpaceElementType = "div">({ className, justify, align, ...props }: SpaceProps<E>, ref: ForwardedRef<JSX.IntrinsicElements[E]>) => ReactElement;
4
+ /**
5
+ * An element whose width and height is 100% and whose alignment and justification
6
+ * is centered. Props are the same as {@link Space}.
7
+ */
8
+ export declare const Center: <E extends SpaceElementType = "div">(props: SpaceProps<E>) => ReactElement;
@@ -0,0 +1,23 @@
1
+ import { type ReactElement } from "react";
2
+ import { type SpaceElementType, type SpaceProps } from '../align/Space';
3
+ /** Props for the {@link Pack} component. */
4
+ export type PackProps<E extends SpaceElementType = "div"> = Omit<SpaceProps<E>, "empty"> & {
5
+ shadow?: boolean;
6
+ };
7
+ /**
8
+ * Packs elements together, setting their size and styling the borders between them so
9
+ * that they appear as a single element. This is useful for buttons that represent a
10
+ * selection state, for example.
11
+ *
12
+ * @param props - The props for the pack. Any extra props will be passed to the
13
+ * underlying Space component.
14
+ * @param props.children - The children to pack together. These must satisfy the
15
+ * {@link PackChildProps} interface.
16
+ * @param props.direction - The direction to pack the children in. Defaults to
17
+ * "x".
18
+ * @param props.size - The size to set on the children. Any sizes already set on the
19
+ * children will be overridden. Defaults to "medium".
20
+ * @param props.el - The element type to use as the root element for the Pack.
21
+ * Defaults to "div".
22
+ */
23
+ export declare const Pack: <E extends SpaceElementType = "div">(props: PackProps<E>) => ReactElement;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryFn } from "@storybook/react";
2
+ import { Align } from '../align';
3
+ declare const story: Meta<typeof Align.Pack>;
4
+ export declare const Horizontal: StoryFn<typeof Align.Pack>;
5
+ export declare const Vertical: StoryFn<typeof Align.Pack>;
6
+ export declare const Nested: StoryFn<typeof Align.Pack>;
7
+ export declare const NestedX: StoryFn<typeof Align.Pack>;
8
+ export default story;
@@ -0,0 +1,54 @@
1
+ import { type ReactElement } from "react";
2
+ import { direction } from "@synnaxlabs/x";
3
+ import { Generic } from '../generic';
4
+ import { type ComponentSize } from '../util/component';
5
+ /** All possible alignments for the cross axis of a space */
6
+ export declare const ALIGNMENTS: readonly ["start", "center", "end", "stretch"];
7
+ /** The alignments for the cross axis of a space */
8
+ export type Alignment = (typeof ALIGNMENTS)[number];
9
+ /** All possible justifications for the main axis of a space */
10
+ export declare const JUSTIFICATIONS: readonly ["start", "center", "end", "spaceBetween", "spaceAround", "spaceEvenly"];
11
+ /** The justification for the main axis of a space */
12
+ export type Justification = (typeof JUSTIFICATIONS)[number];
13
+ export type SpaceElementType = "div" | "header" | "nav" | "section" | "article" | "aside" | "footer" | "button" | "dialog" | "a";
14
+ export interface SpaceExtensionProps {
15
+ empty?: boolean;
16
+ size?: ComponentSize | number;
17
+ direction?: direction.Crude;
18
+ reverse?: boolean;
19
+ justify?: Justification;
20
+ align?: Alignment;
21
+ grow?: boolean | number;
22
+ shrink?: boolean | number;
23
+ wrap?: boolean;
24
+ el?: SpaceElementType;
25
+ bordered?: boolean;
26
+ rounded?: boolean;
27
+ }
28
+ export type SpaceProps<E extends SpaceElementType = "div"> = Omit<Generic.ElementProps<E>, "el"> & SpaceExtensionProps;
29
+ export declare const shouldReverse: (direction: "bottom" | "left" | "right" | "top" | "x" | "y" | "center", reverse?: boolean) => boolean;
30
+ /**
31
+ * A component that orients its children in a row or column and adds
32
+ * space between them. This is essentially a thin wrapped around a
33
+ * flex component that makes it more 'reacty' to use.
34
+ *
35
+ * @param props - The props for the component. All unlisted props will be passed
36
+ * to the underlying root element.
37
+ * @param props.align - The off axis alignment of the children. The 'off' axis is the
38
+ * opposite direction of props.direction. For example, if direction is 'x', then the
39
+ * off axis is 'y'. See the {@link Alignment} for available options.
40
+ * @param props.justify - The main axis justification of the children. The 'main' axis
41
+ * is the same direction as props.direction. For example, if direction is 'x', then the
42
+ * main axis is 'x'. See the {@link Justification} for available options.
43
+ * @param props.grow - A boolean or number value that determines if the space should
44
+ * grow in the flex-box sense. A value of true will set css flex-grow to 1. A value of
45
+ * false will leave the css flex-grow unset. A number value will set the css flex-grow
46
+ * to that number.
47
+ * @param props.size - A string or number value that determines the amount of spacing
48
+ * between items. If set to "small", "medium", or "large", the spacing will be determined
49
+ * by the theme. If set to a number, the spacing will be that number of rem.
50
+ * @param props.wrap - A boolean value that determines if the space should wrap its
51
+ * children.
52
+ * @param props.el - The element type to render as. Defaults to 'div'.
53
+ */
54
+ export declare const Space: <E extends SpaceElementType = "div">(props: SpaceProps<E>) => ReactElement;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { Meta, StoryFn } from "@storybook/react";
2
+ import { Align } from '../align';
3
+ declare const story: Meta<typeof Align.Space>;
4
+ export declare const Basic: StoryFn;
5
+ export default story;
@@ -0,0 +1,3 @@
1
+ export * from '../align/Space';
2
+ export * from '../align/Pack';
3
+ export * from '../align/Center';
@@ -0,0 +1 @@
1
+ export * as Align from '../align/external';
package/dist/align.cjs ADDED
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const external = require("./external-OSLzuRs1.cjs");
4
+ require("./Center-ZAcURh-3.cjs");
5
+ require("./jsx-runtime-N1ikfypN.cjs");
6
+ require("react");
7
+ require("./css-V3VUT_Js.cjs");
8
+ require("zod");
9
+ exports.Align = external.external;
10
+ //# sourceMappingURL=align.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"align.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
package/dist/align.js ADDED
@@ -0,0 +1,10 @@
1
+ import { e } from "./external-vXBQOmKv.js";
2
+ import "./Center-gEKkAkdh.js";
3
+ import "./jsx-runtime-rX5tAIG2.js";
4
+ import "react";
5
+ import "./css-NTD4Xm8x.js";
6
+ import "zod";
7
+ export {
8
+ e as Align
9
+ };
10
+ //# sourceMappingURL=align.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"align.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -0,0 +1,46 @@
1
+ import { type ComponentPropsWithoutRef, type ReactElement } from "react";
2
+ import { type Optional } from "@synnaxlabs/x";
3
+ import { type Align } from '../align';
4
+ import { type SpaceElementType } from '../align/Space';
5
+ import { Text } from '../text';
6
+ import { Tooltip } from '../tooltip';
7
+ import { type ComponentSize } from '../util/component';
8
+ /** The variant of button */
9
+ export type Variant = "filled" | "outlined" | "text";
10
+ export interface ButtonExtensionProps {
11
+ variant?: Variant;
12
+ size?: ComponentSize;
13
+ sharp?: boolean;
14
+ loading?: boolean;
15
+ }
16
+ /** The base props accepted by all button types in this directory. */
17
+ export interface BaseProps extends ComponentPropsWithoutRef<"button">, ButtonExtensionProps {
18
+ }
19
+ /** The props for the {@link Button} component. */
20
+ export type ButtonProps<E extends SpaceElementType = "button"> = Optional<Omit<Text.WithIconProps<E>, "size" | "startIcon" | "endIcon">, "level"> & ButtonExtensionProps & {
21
+ startIcon?: ReactElement | ReactElement[];
22
+ endIcon?: ReactElement | ReactElement[];
23
+ iconSpacing?: Align.SpaceProps["size"];
24
+ disabled?: boolean;
25
+ };
26
+ /**
27
+ * Use is a basic button component.
28
+ *
29
+ * @param props - Props for the component, which are passed down to the underlying button
30
+ * element.
31
+ * @param props.size - The size of button render.
32
+ * @param props.variant - The variant to render for the button. Options are "filled"
33
+ * (default), "outlined", and "text".
34
+ * @param props.startIcon - An optional icon to render before the start of the button
35
+ * text. This can be a single icon or an array of icons. The icons will be formatted
36
+ * to match the color and size of the button.
37
+ * @param props.endIcon - The same as {@link startIcon}, but renders after the button
38
+ * text.
39
+ */
40
+ export declare const Core: import("react").ForwardRefExoticComponent<Omit<Pick<Partial<Omit<Text.WithIconProps<Align.SpaceElementType, "h1">, "size" | "startIcon" | "endIcon">>, "level"> & Omit<Omit<Text.WithIconProps<Align.SpaceElementType, "h1">, "size" | "startIcon" | "endIcon">, "level"> & ButtonExtensionProps & {
41
+ startIcon?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | ReactElement<any, string | import("react").JSXElementConstructor<any>>[] | undefined;
42
+ endIcon?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | ReactElement<any, string | import("react").JSXElementConstructor<any>>[] | undefined;
43
+ iconSpacing?: Align.SpaceProps["size"];
44
+ disabled?: boolean | undefined;
45
+ } & Tooltip.WrapProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
46
+ export declare const Button: <E extends Align.SpaceElementType = "button">(props: ButtonProps<E>) => ReactElement;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ import { type ReactElement } from "react";
2
+ import type { Meta, StoryFn } from "@storybook/react";
3
+ import { Button } from '../button';
4
+ declare const story: Meta<typeof Button.Button>;
5
+ export declare const Primary: StoryFn<typeof Button.Button>;
6
+ export declare const Outlined: () => ReactElement;
7
+ export declare const Toggle: () => ReactElement;
8
+ export declare const IconOnly: () => ReactElement;
9
+ export default story;
@@ -0,0 +1,19 @@
1
+ import { type ReactElement } from "react";
2
+ import type { BaseProps } from '../button/Button';
3
+ import { Tooltip } from '../tooltip';
4
+ /** The props for the {@link Icon} */
5
+ export interface IconProps extends BaseProps {
6
+ children: ReactElement;
7
+ loading?: boolean;
8
+ }
9
+ /**
10
+ * Use.Icon a button that only renders an icon without any text.
11
+ *
12
+ * @param props - Props for the component, which are passed down to the underlying
13
+ * element.
14
+ * @param props.size - The size of button to render.
15
+ * @param props.variant - The variant of button to render. Options are "filled" (default),
16
+ * "outlined", and "text".
17
+ * @param props.children - A ReactElement representing the icon to render.
18
+ */
19
+ export declare const Icon: import("react").ForwardRefExoticComponent<Omit<IconProps & import("react").RefAttributes<HTMLButtonElement> & Tooltip.WrapProps, "ref"> & import("react").RefAttributes<HTMLElement>>;
@@ -0,0 +1,16 @@
1
+ import { type ReactElement } from "react";
2
+ import { type ButtonProps } from '../button/Button';
3
+ import { type Text } from '../text';
4
+ /** Props for the {@link Link} component. */
5
+ export interface LinkProps<L extends Text.Level = "h1"> extends ButtonProps, Pick<Text.LinkProps<L>, "href" | "target"> {
6
+ }
7
+ /**
8
+ * Use.Link renders a button that looks like a link and redirects to the given href
9
+ * when clicked.
10
+ *
11
+ * @param props - Props for the component. Identical to the props for the Use component,
12
+ * excluding 'variant', and adding the following:
13
+ * @param props.href - The URL to redirect to when the button is clicked.
14
+ * @param props.target - The target of the link. Defaults to "_self".
15
+ */
16
+ export declare const Link: <L extends "small" | "h1" | "h2" | "h3" | "h4" | "h5" | "p" = "h1">({ href, target, ...props }: LinkProps<L>) => ReactElement;
@@ -0,0 +1,34 @@
1
+ import { type FunctionComponent } from "react";
2
+ import { type ButtonProps } from '../button/Button';
3
+ import { type Input } from '../input';
4
+ export interface ToggleExtensionProps extends Input.Control<boolean> {
5
+ checkedVariant?: ButtonProps["variant"];
6
+ uncheckedVariant?: ButtonProps["variant"];
7
+ }
8
+ /**
9
+ * Use.Toggle renders a button that can be toggled on and off. It implements the
10
+ * InputControlProps interface, so it can be used as an input control in a form.
11
+ *
12
+ * @param props - Props for the component. Identical to the props for the Use
13
+ * component, excluding 'variant', and adding the following:
14
+ * @param props.value - The boolean value of the button. If true, the button will be
15
+ * rendered as "filled". If false, it will be rendered as "outlined".
16
+ * @param props.onChange - A callback function that will be called when the button is
17
+ * toggled. The callback will be passed the new value of the button.
18
+ */
19
+ export declare const Toggle: FunctionComponent<Omit<ButtonProps<import("../align/Space").SpaceElementType>, "value" | "onChange"> & ToggleExtensionProps>;
20
+ export type ToggleProps = Omit<Parameters<typeof Toggle>[0], "value" | "onChange"> & ToggleExtensionProps;
21
+ /**
22
+ * Use.IconToggle renders a button that can be toggled on and off, and only
23
+ * renders an icon. It implements the InputControlProps interface, so it can be used
24
+ * as an input control in a form.
25
+ *
26
+ * @param props - Props for the component. Identical to the props for the Use.Icon
27
+ * component, excluding 'variant', and adding the following:
28
+ * @param props.value - The boolean value of the button. If true, the button will be
29
+ * rendered as "filled". If false, it will be rendered as "outlined".
30
+ * @param props.onChange - A callback function that will be called when the button is
31
+ * toggled. The callback will be passed the new value of the button.
32
+ */
33
+ export declare const ToggleIcon: FunctionComponent<Omit<Omit<import('../button/Icon').IconProps & import("react").RefAttributes<HTMLButtonElement> & import("../tooltip/wrap").WrapProps, "ref"> & import("react").RefAttributes<HTMLElement>, "value" | "onChange"> & ToggleExtensionProps>;
34
+ export type ToggleIconProps = Omit<Parameters<typeof ToggleIcon>[0], "value" | "onChange"> & ToggleExtensionProps;
@@ -0,0 +1,3 @@
1
+ import { type Variant } from '../button/Button';
2
+ import { type Color } from "..";
3
+ export declare const color: (variant: Variant, disabled?: boolean, color?: Color.Crude) => Color.Crude;
@@ -0,0 +1,4 @@
1
+ export * from '../button/Button';
2
+ export * from '../button/Icon';
3
+ export * from '../button/Link';
4
+ export * from '../button/Toggle';
@@ -0,0 +1 @@
1
+ export * as Button from '../button/external';
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const external = require("./external-oZe6tF4A.cjs");
4
+ require("./Toggle-eOKYw1OT.cjs");
5
+ require("./jsx-runtime-N1ikfypN.cjs");
6
+ require("react");
7
+ require("./css-V3VUT_Js.cjs");
8
+ require("zod");
9
+ require("./component-joFaJiQW.cjs");
10
+ require("react-dom");
11
+ require("./Center-ZAcURh-3.cjs");
12
+ require("react-hook-form");
13
+ require("./Link-xlTZan29.cjs");
14
+ exports.Button = external.external;
15
+ //# sourceMappingURL=button.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
package/dist/button.js ADDED
@@ -0,0 +1,15 @@
1
+ import { e } from "./external-9pS8-DvV.js";
2
+ import "./Toggle-kLunfJtR.js";
3
+ import "./jsx-runtime-rX5tAIG2.js";
4
+ import "react";
5
+ import "./css-NTD4Xm8x.js";
6
+ import "zod";
7
+ import "./component-k78Jq9I7.js";
8
+ import "react-dom";
9
+ import "./Center-gEKkAkdh.js";
10
+ import "react-hook-form";
11
+ import "./Link-laNlv47N.js";
12
+ export {
13
+ e as Button
14
+ };
15
+ //# sourceMappingURL=button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,24 @@
1
+ import { type PropsWithChildren, type ReactElement } from "react";
2
+ import { type channel } from "@synnaxlabs/client";
3
+ import { Input } from '../input';
4
+ interface AliasContextValue {
5
+ aliases: Record<channel.Key, string>;
6
+ getName: (key: channel.Key) => Promise<string | undefined>;
7
+ setAlias: ((key: channel.Key, alias: string) => Promise<void>) | null;
8
+ activeRange?: string | null;
9
+ }
10
+ export declare const useContext: () => AliasContextValue;
11
+ export interface AliasProviderProps extends PropsWithChildren {
12
+ activeRange?: string | null;
13
+ }
14
+ export declare const useAlias: (key: channel.Key) => string | null;
15
+ export declare const useAliases: () => Record<channel.Key, string>;
16
+ export declare const useName: (key: channel.Key, def?: string) => string;
17
+ export declare const useActiveRange: () => string | undefined;
18
+ export declare const AliasProvider: ({ activeRange, children, }: AliasProviderProps) => ReactElement;
19
+ export interface AliasInputProps extends Input.TextProps {
20
+ channelKey: channel.Key;
21
+ shadow?: boolean;
22
+ }
23
+ export declare const AliasInput: ({ channelKey, value, shadow, className, ...props }: AliasInputProps) => ReactElement;
24
+ export {};
@@ -0,0 +1,7 @@
1
+ import { type ReactElement } from "react";
2
+ import type { Meta } from "@storybook/react";
3
+ import { SelectMultiple } from "./Select";
4
+ declare const story: Meta<typeof SelectMultiple>;
5
+ export declare const Multiple: () => ReactElement;
6
+ export declare const Default: () => ReactElement;
7
+ export default story;
@@ -0,0 +1,72 @@
1
+ import { type ReactElement } from "react";
2
+ import { type channel } from "@synnaxlabs/client";
3
+ import { type TimeRange, type TimeSpan } from "@synnaxlabs/x";
4
+ import { type Color } from '../color';
5
+ import { type Text } from '../text';
6
+ import { type Viewport } from '../viewport';
7
+ import { LinePlot as Core } from '../vis/lineplot';
8
+ /** Props for an axis in {@link LinePlot} */
9
+ export interface AxisProps extends Core.AxisProps {
10
+ /** A unique identifier for the axis */
11
+ key: string;
12
+ }
13
+ export interface BaseLineProps {
14
+ key: string;
15
+ axes: {
16
+ x: string;
17
+ y: string;
18
+ };
19
+ channels: {
20
+ y: number;
21
+ x?: number;
22
+ };
23
+ color: Color.Crude;
24
+ strokeWidth?: number;
25
+ label?: string;
26
+ downsample?: number;
27
+ }
28
+ export interface StaticLineProps extends BaseLineProps {
29
+ variant: "static";
30
+ timeRange: TimeRange;
31
+ }
32
+ export interface DynamicLineProps extends BaseLineProps {
33
+ variant: "dynamic";
34
+ timeSpan: TimeSpan;
35
+ }
36
+ export type LineProps = StaticLineProps | DynamicLineProps;
37
+ export interface RuleProps {
38
+ key: string;
39
+ position: number;
40
+ color: Color.Crude;
41
+ axis: string;
42
+ label: string;
43
+ lineWidth?: number;
44
+ lineDash?: number;
45
+ units?: string;
46
+ }
47
+ export interface LinePlotProps extends Core.LinePlotProps {
48
+ axes: AxisProps[];
49
+ onAxisChannelDrop?: (axis: string, channels: channel.Key[]) => void;
50
+ onAxisChange?: (axis: Partial<AxisProps> & {
51
+ key: string;
52
+ }) => void;
53
+ lines: LineProps[];
54
+ onLineChange?: (line: Partial<LineProps> & {
55
+ key: string;
56
+ }) => void;
57
+ rules?: RuleProps[];
58
+ onRuleChange?: (rule: Partial<RuleProps> & {
59
+ key: string;
60
+ }) => void;
61
+ title?: string;
62
+ showTitle?: boolean;
63
+ onTitleChange?: (value: string) => void;
64
+ titleLevel?: Text.Level;
65
+ showLegend?: boolean;
66
+ enableTooltip?: boolean;
67
+ enableMeasure?: boolean;
68
+ initialViewport?: Viewport.UseProps["initial"];
69
+ onViewportChange?: Viewport.UseProps["onChange"];
70
+ viewportTriggers?: Viewport.UseProps["triggers"];
71
+ }
72
+ export declare const LinePlot: ({ lines, axes, showTitle, title, onTitleChange, showLegend, titleLevel, onLineChange, onRuleChange, onAxisChannelDrop, onAxisChange, rules, enableTooltip, enableMeasure, initialViewport, onViewportChange, viewportTriggers, ...restProps }: LinePlotProps) => ReactElement;
@@ -0,0 +1,6 @@
1
+ import { type ReactElement } from "react";
2
+ import { type Meta } from "@storybook/react";
3
+ import { LinePlot } from '../channel/LinePlot';
4
+ declare const story: Meta<typeof LinePlot>;
5
+ export declare const Primary: () => ReactElement;
6
+ export default story;