@synnaxlabs/pluto 0.13.0 → 0.14.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 (290) hide show
  1. package/dist/Center-8mBjm1cO.js +126 -0
  2. package/dist/{Center-gEKkAkdh.js.map → Center-8mBjm1cO.js.map} +1 -1
  3. package/dist/Center-ER_owvfX.cjs +2 -0
  4. package/dist/{Center-ZAcURh-3.cjs.map → Center-ER_owvfX.cjs.map} +1 -1
  5. package/dist/Header-9CR1VnwV.js +34 -0
  6. package/dist/{Header-7x6367IV.js.map → Header-9CR1VnwV.js.map} +1 -1
  7. package/dist/Header-PpcdP7hn.cjs +2 -0
  8. package/dist/{Header-5YX6FUn6.cjs.map → Header-PpcdP7hn.cjs.map} +1 -1
  9. package/dist/Item--h4UWJZo.js +80 -0
  10. package/dist/{Item-owLU4Xop.js.map → Item--h4UWJZo.js.map} +1 -1
  11. package/dist/Item-EBiM5yGJ.cjs +2 -0
  12. package/dist/{Item-HWzX7RK2.cjs.map → Item-EBiM5yGJ.cjs.map} +1 -1
  13. package/dist/Item-_og4CdwZ.cjs +2 -0
  14. package/dist/{Item-rkSKzZoh.cjs.map → Item-_og4CdwZ.cjs.map} +1 -1
  15. package/dist/Item-kbCoFEj2.js +137 -0
  16. package/dist/{Item-EDdYN2NK.js.map → Item-kbCoFEj2.js.map} +1 -1
  17. package/dist/Keyboard-IWRXgioJ.js +14 -0
  18. package/dist/{Keyboard-mE03PKwA.js.map → Keyboard-IWRXgioJ.js.map} +1 -1
  19. package/dist/Keyboard-bXNOi0bP.cjs +2 -0
  20. package/dist/{Keyboard-w372197S.cjs.map → Keyboard-bXNOi0bP.cjs.map} +1 -1
  21. package/dist/Link-16dbGK7G.cjs +2 -0
  22. package/dist/{Link-xlTZan29.cjs.map → Link-16dbGK7G.cjs.map} +1 -1
  23. package/dist/Link-fRQvqiYx.js +11 -0
  24. package/dist/{Link-laNlv47N.js.map → Link-fRQvqiYx.js.map} +1 -1
  25. package/dist/SelectLevel-DrdlLBOs.cjs +2 -0
  26. package/dist/{SelectLevel-bGb0dRXh.cjs.map → SelectLevel-DrdlLBOs.cjs.map} +1 -1
  27. package/dist/SelectLevel-Uod3Ez6y.js +121 -0
  28. package/dist/{SelectLevel-cewIWtOv.js.map → SelectLevel-Uod3Ez6y.js.map} +1 -1
  29. package/dist/Selector-8rTHUToj.cjs +2 -0
  30. package/dist/{Selector-hQLSIYum.cjs.map → Selector-8rTHUToj.cjs.map} +1 -1
  31. package/dist/Selector-R4SumEUV.js +233 -0
  32. package/dist/{Selector-R3lL41_i.js.map → Selector-R4SumEUV.js.map} +1 -1
  33. package/dist/Swatch--Prmb5q_.cjs +2 -0
  34. package/dist/Swatch--Prmb5q_.cjs.map +1 -0
  35. package/dist/Swatch-IH4OmVdd.js +82 -0
  36. package/dist/Swatch-IH4OmVdd.js.map +1 -0
  37. package/dist/TimeRangeChip-jI9Nn9z8.js +7384 -0
  38. package/dist/TimeRangeChip-jI9Nn9z8.js.map +1 -0
  39. package/dist/TimeRangeChip-jQH9NacG.cjs +50 -0
  40. package/dist/TimeRangeChip-jQH9NacG.cjs.map +1 -0
  41. package/dist/Toggle-HVxv8bv2.js +10648 -0
  42. package/dist/Toggle-HVxv8bv2.js.map +1 -0
  43. package/dist/Toggle-QnKinMl4.cjs +73 -0
  44. package/dist/Toggle-QnKinMl4.cjs.map +1 -0
  45. package/dist/Video-iiPAk_ej.cjs +2 -0
  46. package/dist/{Video-a7BUKvzF.cjs.map → Video-iiPAk_ej.cjs.map} +1 -1
  47. package/dist/Video-vyIORMaH.js +11 -0
  48. package/dist/{Video-Vpwp5ao1.js.map → Video-vyIORMaH.js.map} +1 -1
  49. package/dist/aether.cjs +1 -89
  50. package/dist/aether.cjs.map +1 -1
  51. package/dist/aether.js +76 -80
  52. package/dist/aether.js.map +1 -1
  53. package/dist/align.cjs +1 -9
  54. package/dist/align.cjs.map +1 -1
  55. package/dist/align.js +5 -5
  56. package/dist/button.cjs +1 -14
  57. package/dist/button.cjs.map +1 -1
  58. package/dist/button.js +9 -8
  59. package/dist/button.js.map +1 -1
  60. package/dist/color-9QRifwqk.js +9 -0
  61. package/dist/color-9QRifwqk.js.map +1 -0
  62. package/dist/color-gJTR__ef.cjs +2 -0
  63. package/dist/color-gJTR__ef.cjs.map +1 -0
  64. package/dist/color.cjs +2 -0
  65. package/dist/color.cjs.map +1 -0
  66. package/dist/color.js +16 -0
  67. package/dist/color.js.map +1 -0
  68. package/dist/component-LA8IXGSG.js +17961 -0
  69. package/dist/component-LA8IXGSG.js.map +1 -0
  70. package/dist/component-dgLAEMbt.cjs +23 -0
  71. package/dist/component-dgLAEMbt.cjs.map +1 -0
  72. package/dist/css-5RvvUhjr.js +6414 -0
  73. package/dist/{css-NTD4Xm8x.js.map → css-5RvvUhjr.js.map} +1 -1
  74. package/dist/css-s9KpanYu.cjs +8 -0
  75. package/dist/{css-V3VUT_Js.cjs.map → css-s9KpanYu.cjs.map} +1 -1
  76. package/dist/css.cjs +2 -0
  77. package/dist/css.cjs.map +1 -0
  78. package/dist/css.js +10 -0
  79. package/dist/css.js.map +1 -0
  80. package/dist/dimensions--C45ahLe.js +20 -0
  81. package/dist/{dimensions-guJ5PHmb.js.map → dimensions--C45ahLe.js.map} +1 -1
  82. package/dist/dimensions-HfZjDJQz.cjs +2 -0
  83. package/dist/{dimensions-Sej0Zly9.cjs.map → dimensions-HfZjDJQz.cjs.map} +1 -1
  84. package/dist/dropdown.cjs +1 -12
  85. package/dist/dropdown.cjs.map +1 -1
  86. package/dist/dropdown.js +7 -6
  87. package/dist/dropdown.js.map +1 -1
  88. package/dist/external--jsfNkbo.cjs +2 -0
  89. package/dist/external--jsfNkbo.cjs.map +1 -0
  90. package/dist/external-1DGLK9F2.js +17 -0
  91. package/dist/external-1DGLK9F2.js.map +1 -0
  92. package/dist/external-4h9H4Y_N.js +21 -0
  93. package/dist/external-4h9H4Y_N.js.map +1 -0
  94. package/dist/external-4uqucf0m.js +67 -0
  95. package/dist/{external-QuVTCnGl.js.map → external-4uqucf0m.js.map} +1 -1
  96. package/dist/external-A_eQgT5T.cjs +2 -0
  97. package/dist/external-A_eQgT5T.cjs.map +1 -0
  98. package/dist/external-FCO_hdNr.js +24 -0
  99. package/dist/external-FCO_hdNr.js.map +1 -0
  100. package/dist/external-HZ6f2KvU.cjs +2 -0
  101. package/dist/external-HZ6f2KvU.cjs.map +1 -0
  102. package/dist/external-LPdjowBG.cjs +2 -0
  103. package/dist/external-LPdjowBG.cjs.map +1 -0
  104. package/dist/external-O1b3FJKI.cjs +2 -0
  105. package/dist/external-O1b3FJKI.cjs.map +1 -0
  106. package/dist/external-RGdrJX7y.cjs +2 -0
  107. package/dist/{external-9Ncn2J9B.cjs.map → external-RGdrJX7y.cjs.map} +1 -1
  108. package/dist/external-WiHGqQPA.js +30 -0
  109. package/dist/external-WiHGqQPA.js.map +1 -0
  110. package/dist/external-eWu6hCLU.cjs +2 -0
  111. package/dist/external-eWu6hCLU.cjs.map +1 -0
  112. package/dist/external-kvAz85mu.js +18 -0
  113. package/dist/external-kvAz85mu.js.map +1 -0
  114. package/dist/external-mpVdVPF1.js +88 -0
  115. package/dist/external-mpVdVPF1.js.map +1 -0
  116. package/dist/external-nTDD8IMd.cjs +2 -0
  117. package/dist/external-nTDD8IMd.cjs.map +1 -0
  118. package/dist/external-phknItOL.js +15 -0
  119. package/dist/external-phknItOL.js.map +1 -0
  120. package/dist/external-rGcWjp84.cjs +2 -0
  121. package/dist/{external-zBiIxeDG.cjs.map → external-rGcWjp84.cjs.map} +1 -1
  122. package/dist/external-r_2-tYfC.js +88 -0
  123. package/dist/{external-up1sE3F6.js.map → external-r_2-tYfC.js.map} +1 -1
  124. package/dist/external-sHbzLUrP.js +17 -0
  125. package/dist/external-sHbzLUrP.js.map +1 -0
  126. package/dist/external-tZiYBM94.cjs +2 -0
  127. package/dist/external-tZiYBM94.cjs.map +1 -0
  128. package/dist/external-tnCo64yx.cjs +2 -0
  129. package/dist/external-tnCo64yx.cjs.map +1 -0
  130. package/dist/external-uR-7_68y.js +16 -0
  131. package/dist/external-uR-7_68y.js.map +1 -0
  132. package/dist/external-uSIsCKNG.js +15 -0
  133. package/dist/external-uSIsCKNG.js.map +1 -0
  134. package/dist/external-z6BLlxur.cjs +2 -0
  135. package/dist/external-z6BLlxur.cjs.map +1 -0
  136. package/dist/font-HpLrwPSD.js +16 -0
  137. package/dist/{font-t7KoGNFX.js.map → font-HpLrwPSD.js.map} +1 -1
  138. package/dist/font-yosRgv9n.cjs +2 -0
  139. package/dist/{font-wlgaMRYN.cjs.map → font-yosRgv9n.cjs.map} +1 -1
  140. package/dist/fontString-_dtZSiPk.cjs +2 -0
  141. package/dist/{fontString-i24UxKCQ.cjs.map → fontString-_dtZSiPk.cjs.map} +1 -1
  142. package/dist/fontString-lodjYTYz.js +12 -0
  143. package/dist/{fontString-RKvYIr5H.js.map → fontString-lodjYTYz.js.map} +1 -1
  144. package/dist/header.cjs +1 -14
  145. package/dist/header.cjs.map +1 -1
  146. package/dist/header.js +9 -8
  147. package/dist/header.js.map +1 -1
  148. package/dist/index.cjs +1 -1174
  149. package/dist/index.cjs.map +1 -1
  150. package/dist/index.js +737 -930
  151. package/dist/index.js.map +1 -1
  152. package/dist/input/Input.stories.d.ts +1 -0
  153. package/dist/input/TextArea.d.ts +20 -0
  154. package/dist/input/external.d.ts +1 -0
  155. package/dist/input/types.d.ts +4 -2
  156. package/dist/input.cjs +1 -14
  157. package/dist/input.cjs.map +1 -1
  158. package/dist/input.js +9 -8
  159. package/dist/input.js.map +1 -1
  160. package/dist/jsx-runtime-NmMXPjeo.js +632 -0
  161. package/dist/{jsx-runtime-rX5tAIG2.js.map → jsx-runtime-NmMXPjeo.js.map} +1 -1
  162. package/dist/jsx-runtime-evvPGacs.cjs +28 -0
  163. package/dist/{jsx-runtime-N1ikfypN.cjs.map → jsx-runtime-evvPGacs.cjs.map} +1 -1
  164. package/dist/list.cjs +1 -26
  165. package/dist/list.cjs.map +1 -1
  166. package/dist/list.js +21 -19
  167. package/dist/list.js.map +1 -1
  168. package/dist/menu.cjs +1 -15
  169. package/dist/menu.cjs.map +1 -1
  170. package/dist/menu.js +10 -9
  171. package/dist/menu.js.map +1 -1
  172. package/dist/style.css +1 -3119
  173. package/dist/table-MJysJcCC.js +10312 -0
  174. package/dist/table-MJysJcCC.js.map +1 -0
  175. package/dist/table-NIrLpFOm.cjs +69 -0
  176. package/dist/table-NIrLpFOm.cjs.map +1 -0
  177. package/dist/tabs.cjs +1 -14
  178. package/dist/tabs.cjs.map +1 -1
  179. package/dist/tabs.js +9 -8
  180. package/dist/tabs.js.map +1 -1
  181. package/dist/text.cjs +1 -16
  182. package/dist/text.cjs.map +1 -1
  183. package/dist/text.js +11 -10
  184. package/dist/text.js.map +1 -1
  185. package/dist/theming.cjs +1 -15
  186. package/dist/theming.cjs.map +1 -1
  187. package/dist/theming.js +10 -9
  188. package/dist/theming.js.map +1 -1
  189. package/dist/tree.cjs +1 -25
  190. package/dist/tree.cjs.map +1 -1
  191. package/dist/tree.js +20 -18
  192. package/dist/tree.js.map +1 -1
  193. package/dist/triggers.cjs +1 -15
  194. package/dist/triggers.cjs.map +1 -1
  195. package/dist/triggers.js +10 -9
  196. package/dist/triggers.js.map +1 -1
  197. package/dist/useDrag-4o21IpGy.js +36 -0
  198. package/dist/{useDrag-rQt5hv4R.js.map → useDrag-4o21IpGy.js.map} +1 -1
  199. package/dist/useDrag-l_moa7e3.cjs +2 -0
  200. package/dist/{useDrag-KRQ7DTg1.cjs.map → useDrag-l_moa7e3.cjs.map} +1 -1
  201. package/dist/video.cjs +1 -9
  202. package/dist/video.cjs.map +1 -1
  203. package/dist/video.js +3 -3
  204. package/package.json +15 -5
  205. package/dist/Center-ZAcURh-3.cjs +0 -148
  206. package/dist/Center-gEKkAkdh.js +0 -149
  207. package/dist/Header-5YX6FUn6.cjs +0 -35
  208. package/dist/Header-7x6367IV.js +0 -36
  209. package/dist/Item-EDdYN2NK.js +0 -171
  210. package/dist/Item-HWzX7RK2.cjs +0 -170
  211. package/dist/Item-owLU4Xop.js +0 -97
  212. package/dist/Item-rkSKzZoh.cjs +0 -96
  213. package/dist/Keyboard-mE03PKwA.js +0 -14
  214. package/dist/Keyboard-w372197S.cjs +0 -13
  215. package/dist/Link-laNlv47N.js +0 -13
  216. package/dist/Link-xlTZan29.cjs +0 -12
  217. package/dist/SelectLevel-bGb0dRXh.cjs +0 -152
  218. package/dist/SelectLevel-cewIWtOv.js +0 -153
  219. package/dist/Selector-R3lL41_i.js +0 -267
  220. package/dist/Selector-hQLSIYum.cjs +0 -266
  221. package/dist/TimeRangeChip-XXXLMCrf.cjs +0 -9316
  222. package/dist/TimeRangeChip-XXXLMCrf.cjs.map +0 -1
  223. package/dist/TimeRangeChip-eDCX5pUC.js +0 -9301
  224. package/dist/TimeRangeChip-eDCX5pUC.js.map +0 -1
  225. package/dist/Toggle-eOKYw1OT.cjs +0 -13664
  226. package/dist/Toggle-eOKYw1OT.cjs.map +0 -1
  227. package/dist/Toggle-kLunfJtR.js +0 -13665
  228. package/dist/Toggle-kLunfJtR.js.map +0 -1
  229. package/dist/Video-Vpwp5ao1.js +0 -12
  230. package/dist/Video-a7BUKvzF.cjs +0 -11
  231. package/dist/component-joFaJiQW.cjs +0 -24719
  232. package/dist/component-joFaJiQW.cjs.map +0 -1
  233. package/dist/component-k78Jq9I7.js +0 -24720
  234. package/dist/component-k78Jq9I7.js.map +0 -1
  235. package/dist/css-NTD4Xm8x.js +0 -9206
  236. package/dist/css-V3VUT_Js.cjs +0 -9204
  237. package/dist/dimensions-Sej0Zly9.cjs +0 -26
  238. package/dist/dimensions-guJ5PHmb.js +0 -27
  239. package/dist/external-2Aicsb3l.js +0 -88
  240. package/dist/external-2Aicsb3l.js.map +0 -1
  241. package/dist/external-9Ncn2J9B.cjs +0 -93
  242. package/dist/external-9RCzxzgZ.js +0 -30
  243. package/dist/external-9RCzxzgZ.js.map +0 -1
  244. package/dist/external-9pS8-DvV.js +0 -15
  245. package/dist/external-9pS8-DvV.js.map +0 -1
  246. package/dist/external-KxlyA74C.js +0 -20
  247. package/dist/external-KxlyA74C.js.map +0 -1
  248. package/dist/external-OSLzuRs1.cjs +0 -14
  249. package/dist/external-OSLzuRs1.cjs.map +0 -1
  250. package/dist/external-PS3nzqUn.cjs +0 -23
  251. package/dist/external-PS3nzqUn.cjs.map +0 -1
  252. package/dist/external-QRmqSjV0.js +0 -18
  253. package/dist/external-QRmqSjV0.js.map +0 -1
  254. package/dist/external-QuVTCnGl.js +0 -71
  255. package/dist/external-U5HRPaDI.cjs +0 -17
  256. package/dist/external-U5HRPaDI.cjs.map +0 -1
  257. package/dist/external-_CtRDtih.js +0 -17
  258. package/dist/external-_CtRDtih.js.map +0 -1
  259. package/dist/external-eQU48hM4.cjs +0 -87
  260. package/dist/external-eQU48hM4.cjs.map +0 -1
  261. package/dist/external-kbDFnfuk.js +0 -24
  262. package/dist/external-kbDFnfuk.js.map +0 -1
  263. package/dist/external-oX1JmOFf.js +0 -17
  264. package/dist/external-oX1JmOFf.js.map +0 -1
  265. package/dist/external-oZe6tF4A.cjs +0 -14
  266. package/dist/external-oZe6tF4A.cjs.map +0 -1
  267. package/dist/external-tVcmKSsT.cjs +0 -19
  268. package/dist/external-tVcmKSsT.cjs.map +0 -1
  269. package/dist/external-up1sE3F6.js +0 -94
  270. package/dist/external-uvx0b-Jw.cjs +0 -16
  271. package/dist/external-uvx0b-Jw.cjs.map +0 -1
  272. package/dist/external-vXBQOmKv.js +0 -15
  273. package/dist/external-vXBQOmKv.js.map +0 -1
  274. package/dist/external-yiqRIIvW.cjs +0 -16
  275. package/dist/external-yiqRIIvW.cjs.map +0 -1
  276. package/dist/external-zBiIxeDG.cjs +0 -70
  277. package/dist/external-zw9fckWT.cjs +0 -29
  278. package/dist/external-zw9fckWT.cjs.map +0 -1
  279. package/dist/font-t7KoGNFX.js +0 -17
  280. package/dist/font-wlgaMRYN.cjs +0 -16
  281. package/dist/fontString-RKvYIr5H.js +0 -13
  282. package/dist/fontString-i24UxKCQ.cjs +0 -12
  283. package/dist/jsx-runtime-N1ikfypN.cjs +0 -931
  284. package/dist/jsx-runtime-rX5tAIG2.js +0 -932
  285. package/dist/table-8MFXzE4C.js +0 -13664
  286. package/dist/table-8MFXzE4C.js.map +0 -1
  287. package/dist/table-VNkSG_Cj.cjs +0 -13661
  288. package/dist/table-VNkSG_Cj.cjs.map +0 -1
  289. package/dist/useDrag-KRQ7DTg1.cjs +0 -48
  290. package/dist/useDrag-rQt5hv4R.js +0 -49
@@ -0,0 +1,2 @@
1
+ "use strict";const e=require("./jsx-runtime-evvPGacs.cjs"),o=require("./css-s9KpanYu.cjs");require("./Video-k52RqIHf.cjs");const i=({href:s,className:t,...r})=>e.jsxRuntimeExports.jsx("video",{className:o.CSS(o.CSS.B("video"),t),...r,children:e.jsxRuntimeExports.jsx("source",{src:s,type:"video/mp4"})}),c=Object.freeze(Object.defineProperty({__proto__:null,Video:i},Symbol.toStringTag,{value:"Module"}));exports.Video=c;
2
+ //# sourceMappingURL=Video-iiPAk_ej.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Video-a7BUKvzF.cjs","sources":["../src/video/Video.tsx"],"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 { type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = ({ href, className, ...props }: VideoProps): ReactElement => (\n <video className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source src={href} type=\"video/mp4\" />\n </video>\n);\n"],"names":["jsx","CSS"],"mappings":";;;;AAmBa,MAAA,QAAQ,CAAC,EAAE,MAAM,WAAW,GAAG,MAAA,MAC1CA,2BAAA,kBAAA,IAAC,SAAM,EAAA,WAAWC,IAAI,IAAAA,IAAA,IAAI,EAAE,OAAO,GAAG,SAAS,GAAI,GAAG,OACpD,UAACD,2BAAAA,kBAAAA,IAAA,UAAA,EAAO,KAAK,MAAM,MAAK,YAAA,CAAY,EACtC,CAAA;;;;;;"}
1
+ {"version":3,"file":"Video-iiPAk_ej.cjs","sources":["../src/video/Video.tsx"],"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 { type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = ({ href, className, ...props }: VideoProps): ReactElement => (\n <video className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source src={href} type=\"video/mp4\" />\n </video>\n);\n"],"names":["Video","href","className","props","jsx","CSS"],"mappings":"2HAmBa,MAAAA,EAAQ,CAAC,CAAE,KAAAC,EAAM,UAAAC,EAAW,GAAGC,CAAA,IAC1CC,EAAA,kBAAA,IAAC,QAAM,CAAA,UAAWC,EAAI,IAAAA,EAAA,IAAI,EAAE,OAAO,EAAGH,CAAS,EAAI,GAAGC,EACpD,SAACC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,IAAKH,EAAM,KAAK,WAAA,CAAY,CACtC,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { j as e } from "./jsx-runtime-NmMXPjeo.js";
2
+ import { C as o } from "./css-5RvvUhjr.js";
3
+ import "./Video-w40geAFS.js";
4
+ const i = ({ href: r, className: t, ...s }) => /* @__PURE__ */ e.jsx("video", { className: o(o.B("video"), t), ...s, children: /* @__PURE__ */ e.jsx("source", { src: r, type: "video/mp4" }) }), d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5
+ __proto__: null,
6
+ Video: i
7
+ }, Symbol.toStringTag, { value: "Module" }));
8
+ export {
9
+ d as V
10
+ };
11
+ //# sourceMappingURL=Video-vyIORMaH.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Video-Vpwp5ao1.js","sources":["../src/video/Video.tsx"],"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 { type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = ({ href, className, ...props }: VideoProps): ReactElement => (\n <video className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source src={href} type=\"video/mp4\" />\n </video>\n);\n"],"names":["jsx"],"mappings":";;;AAmBa,MAAA,QAAQ,CAAC,EAAE,MAAM,WAAW,GAAG,MAAA,MAC1CA,kCAAA,IAAC,SAAM,EAAA,WAAW,IAAI,IAAI,EAAE,OAAO,GAAG,SAAS,GAAI,GAAG,OACpD,UAACA,kCAAAA,IAAA,UAAA,EAAO,KAAK,MAAM,MAAK,YAAA,CAAY,EACtC,CAAA;;;;;"}
1
+ {"version":3,"file":"Video-vyIORMaH.js","sources":["../src/video/Video.tsx"],"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 { type ComponentPropsWithoutRef, type ReactElement } from \"react\";\n\nimport { CSS } from \"@/css\";\n\nimport \"@/video/Video.css\";\n\nexport interface VideoProps extends ComponentPropsWithoutRef<\"video\"> {\n href: string;\n}\n\nexport const Video = ({ href, className, ...props }: VideoProps): ReactElement => (\n <video className={CSS(CSS.B(\"video\"), className)} {...props}>\n <source src={href} type=\"video/mp4\" />\n </video>\n);\n"],"names":["Video","href","className","props","jsx","CSS"],"mappings":";;;AAmBa,MAAAA,IAAQ,CAAC,EAAE,MAAAC,GAAM,WAAAC,GAAW,GAAGC,EAAA,MAC1CC,gBAAAA,EAAA,IAAC,SAAM,EAAA,WAAWC,EAAIA,EAAI,EAAE,OAAO,GAAGH,CAAS,GAAI,GAAGC,GACpD,UAACC,gBAAAA,EAAAA,IAAA,UAAA,EAAO,KAAKH,GAAM,MAAK,YAAA,CAAY,EACtC,CAAA;;;;"}
package/dist/aether.cjs CHANGED
@@ -1,90 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const css = require("./css-V3VUT_Js.cjs");
4
- const component = require("./component-joFaJiQW.cjs");
5
- const table = require("./table-VNkSG_Cj.cjs");
6
- const fontString = require("./fontString-i24UxKCQ.cjs");
7
- const external$3 = require("./external-eQU48hM4.cjs");
8
- require("zod");
9
- require("react");
10
- require("react-dom");
11
- require("./dimensions-Sej0Zly9.cjs");
12
- const external$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13
- __proto__: null,
14
- Provider: component.Provider,
15
- REGISTRY: component.REGISTRY,
16
- fontString: fontString.fontString,
17
- synnaxDark: component.synnaxDark,
18
- synnaxLight: component.synnaxLight,
19
- themeZ: component.themeZ,
20
- themes: component.themes,
21
- use: component.use
22
- }, Symbol.toStringTag, { value: "Module" }));
23
- const external$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24
- __proto__: null,
25
- Context: table.Context,
26
- Controller: table.Controller,
27
- Eraser: table.Eraser,
28
- GLProgram: table.GLProgram,
29
- Loop: table.Loop,
30
- REASON_DATA: table.REASON_DATA,
31
- REASON_LAYOUT: table.REASON_LAYOUT,
32
- REASON_TOOL: table.REASON_TOOL
33
- }, Symbol.toStringTag, { value: "Module" }));
34
- const external = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
- __proto__: null,
36
- LinePlot: table.LinePlot,
37
- REGISTRY: table.REGISTRY$1,
38
- XAxis: table.XAxis,
39
- YAxis: table.YAxis,
40
- linePlotStateZ: table.linePlotStateZ,
41
- xAxisStateZ: table.xAxisStateZ,
42
- yAxisStateZ: table.yAxisStateZ
43
- }, Symbol.toStringTag, { value: "Module" }));
44
- const render = () => {
45
- const w = new css.RoutedWorker((data, transfer) => postMessage(data, transfer));
46
- onmessage = w.handle.bind(w);
47
- const REGISTRY = {
48
- ...table.REGISTRY$1,
49
- ...table.REGISTRY$2,
50
- ...table.REGISTRY$3,
51
- ...table.REGISTRY,
52
- ...table.REGISTRY$4,
53
- ...table.REGISTRY$5,
54
- ...table.REGISTRY$6,
55
- ...table.REGISTRY$7,
56
- ...table.REGISTRY$8,
57
- ...table.REGISTRY$9,
58
- ...table.REGISTRY$10,
59
- ...table.REGISTRY$11,
60
- ...component.REGISTRY,
61
- ...component.REGISTRY$1,
62
- ...table.REGISTRY$12,
63
- ...table.REGISTRY$13,
64
- ...table.REGISTRY$14,
65
- ...table.REGISTRY$15
66
- };
67
- component.render({
68
- worker: w.route("vis"),
69
- registry: REGISTRY
70
- });
71
- };
72
- const _pluto = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
73
- __proto__: null,
74
- render
75
- }, Symbol.toStringTag, { value: "Module" }));
76
- exports.color = css.color;
77
- exports.aether = component.aether;
78
- exports.canvas = table.canvas;
79
- exports.diagram = table.Diagram;
80
- exports.measure = table.measure;
81
- exports.rule = table.aether;
82
- exports.synnax = table.provider;
83
- exports.tooltip = table.tooltip;
84
- exports.value = table.value;
85
- exports.telem = external$3.external;
86
- exports.lineplot = external;
87
- exports.pluto = _pluto;
88
- exports.render = external$1;
89
- exports.theming = external$2;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./css-s9KpanYu.cjs"),t=require("./component-dgLAEMbt.cjs"),e=require("./table-NIrLpFOm.cjs"),a=require("./fontString-_dtZSiPk.cjs"),i=require("./external-nTDD8IMd.cjs");require("zod");require("react");require("react-dom");require("./dimensions-HfZjDJQz.cjs");const S=Object.freeze(Object.defineProperty({__proto__:null,Provider:t.Provider,REGISTRY:t.REGISTRY,fontString:a.fontString,synnaxDark:t.synnaxDark,synnaxLight:t.synnaxLight,themeZ:t.themeZ,themes:t.themes,use:t.use},Symbol.toStringTag,{value:"Module"})),s=Object.freeze(Object.defineProperty({__proto__:null,Context:e.Context,Controller:e.Controller,Eraser:e.Eraser,GLProgram:e.GLProgram,Loop:e.Loop,REASON_DATA:e.REASON_DATA,REASON_LAYOUT:e.REASON_LAYOUT,REASON_TOOL:e.REASON_TOOL},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,LinePlot:e.LinePlot,REGISTRY:e.REGISTRY$1,XAxis:e.XAxis,YAxis:e.YAxis,linePlotStateZ:e.linePlotStateZ,xAxisStateZ:e.xAxisStateZ,yAxisStateZ:e.yAxisStateZ},Symbol.toStringTag,{value:"Module"})),T=()=>{const r=new o.RoutedWorker((R,l)=>postMessage(R,l));onmessage=r.handle.bind(r);const n={...e.REGISTRY$1,...e.REGISTRY$2,...e.REGISTRY$3,...e.REGISTRY,...e.REGISTRY$4,...e.REGISTRY$5,...e.REGISTRY$6,...e.REGISTRY$7,...e.REGISTRY$8,...e.REGISTRY$9,...e.REGISTRY$10,...e.REGISTRY$11,...t.REGISTRY,...t.REGISTRY$1,...e.REGISTRY$12,...e.REGISTRY$13,...e.REGISTRY$14,...e.REGISTRY$15};t.render({worker:r.route("vis"),registry:n})},E=Object.freeze(Object.defineProperty({__proto__:null,render:T},Symbol.toStringTag,{value:"Module"}));exports.color=o.color;exports.aether=t.aether;exports.canvas=e.canvas;exports.diagram=e.Diagram;exports.measure=e.measure;exports.rule=e.aether;exports.synnax=e.provider;exports.tooltip=e.tooltip;exports.value=e.value;exports.telem=i.external;exports.lineplot=u;exports.pluto=E;exports.render=s;exports.theming=S;
90
2
  //# sourceMappingURL=aether.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"aether.cjs","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":["RoutedWorker","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,IAAIA,IAAa,aAAA,CAAC,MAAM,aAAa,YAAY,MAAM,QAAQ,CAAC;AAC9D,cAAA,EAAE,OAAO,KAAK,CAAC;AAE3B,QAAM,WAAqC;AAAA,IACzC,GAAGC,MAAS;AAAA,IACZ,GAAGC,MAAO;AAAA,IACV,GAAGC,MAAO;AAAA,IACV,GAAGC,MAAM;AAAA,IACT,GAAGC,MAAK;AAAA,IACR,GAAGC,MAAM;AAAA,IACT,GAAGC,MAAO;AAAA,IACV,GAAGC,MAAQ;AAAA,IACX,GAAGC,MAAK;AAAA,IACR,GAAGC,MAAQ;AAAA,IACX,GAAGC,MAAQ;AAAA,IACX,GAAGC,MAAQ;AAAA,IACX,GAAGC,UAAQ;AAAA,IACX,GAAGC,UAAO;AAAA,IACV,GAAGC,MAAO;AAAA,IACV,GAAGC,MAAO;AAAA,IACV,GAAGC,MAAO;AAAA,IACV,GAAGC,MAAM;AAAA,EAAA;AAGXC,mBAAc;AAAA,IACZ,QAAQ,EAAE,MAAM,KAAK;AAAA,IACrB,UAAU;AAAA,EAAA,CACX;AACH;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"aether.cjs","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":["render","w","RoutedWorker","data","transfer","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":"qmCA+BaA,EAAS,IAAY,CAE1B,MAAAC,EAAI,IAAIC,EAAa,aAAA,CAACC,EAAMC,IAAa,YAAYD,EAAMC,CAAQ,CAAC,EAC9D,UAAAH,EAAE,OAAO,KAAKA,CAAC,EAE3B,MAAMI,EAAqC,CACzC,GAAGC,EAAS,WACZ,GAAGC,EAAO,WACV,GAAGC,EAAO,WACV,GAAGC,EAAM,SACT,GAAGC,EAAK,WACR,GAAGC,EAAM,WACT,GAAGC,EAAO,WACV,GAAGC,EAAQ,WACX,GAAGC,EAAK,WACR,GAAGC,EAAQ,WACX,GAAGC,EAAQ,YACX,GAAGC,EAAQ,YACX,GAAGC,EAAQ,SACX,GAAGC,EAAO,WACV,GAAGC,EAAO,YACV,GAAGC,EAAO,YACV,GAAGC,EAAO,YACV,GAAGC,EAAM,WAAA,EAGXC,SAAc,CACZ,OAAQvB,EAAE,MAAM,KAAK,EACrB,SAAUI,CAAA,CACX,CACH"}
package/dist/aether.js CHANGED
@@ -1,93 +1,89 @@
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";
1
+ import { R } from "./css-5RvvUhjr.js";
2
+ import { d as Ra } from "./css-5RvvUhjr.js";
3
+ import { P as n, R as e, s as l, a as S, t as i, b as m, u as T, e as p, r as E } from "./component-LA8IXGSG.js";
4
+ import { f as la } from "./component-LA8IXGSG.js";
5
+ import { aq as Y, ar as $, as as u, at as G, au as I, av as f, aw as _, ax as x, ay as c, az as s, aA as d, aB as g, aC as b, aD as O, aE as y, aF as A, aG as P, R as v, aH as j, aI as h, aJ as L, aK as M, aL as z, aM as Z, aN as w, aO as C, aP as N, aQ as k, aR as D, aS as U } from "./table-MJysJcCC.js";
6
+ import { aZ as ia, aV as ma, aU as Ta, aW as pa, aT as Ea, aX as Ya, aY as $a } from "./table-MJysJcCC.js";
7
+ import { f as W } from "./fontString-lodjYTYz.js";
8
+ import { e as Ga } from "./external-mpVdVPF1.js";
9
9
  import "zod";
10
10
  import "react";
11
11
  import "react-dom";
12
- import "./dimensions-guJ5PHmb.js";
13
- const external$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12
+ import "./dimensions--C45ahLe.js";
13
+ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14
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({
15
+ Provider: n,
16
+ REGISTRY: e,
17
+ fontString: W,
18
+ synnaxDark: l,
19
+ synnaxLight: S,
20
+ themeZ: i,
21
+ themes: m,
22
+ use: T
23
+ }, Symbol.toStringTag, { value: "Module" })), ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
25
24
  __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({
25
+ Context: Y,
26
+ Controller: $,
27
+ Eraser: u,
28
+ GLProgram: G,
29
+ Loop: I,
30
+ REASON_DATA: f,
31
+ REASON_LAYOUT: _,
32
+ REASON_TOOL: x
33
+ }, Symbol.toStringTag, { value: "Module" })), sa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
34
  __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
35
+ LinePlot: c,
36
+ REGISTRY: s,
37
+ XAxis: d,
38
+ YAxis: g,
39
+ linePlotStateZ: b,
40
+ xAxisStateZ: O,
41
+ yAxisStateZ: y
42
+ }, Symbol.toStringTag, { value: "Module" })), X = () => {
43
+ const a = new R((o, r) => postMessage(o, r));
44
+ onmessage = a.handle.bind(a);
45
+ const t = {
46
+ ...s,
47
+ ...A,
48
+ ...P,
49
+ ...v,
50
+ ...j,
51
+ ...h,
52
+ ...L,
53
+ ...M,
54
+ ...z,
55
+ ...Z,
56
+ ...w,
57
+ ...C,
58
+ ...e,
59
+ ...p,
60
+ ...N,
61
+ ...k,
62
+ ...D,
63
+ ...U
67
64
  };
68
- render$1({
69
- worker: w.route("vis"),
70
- registry: REGISTRY$i
65
+ E({
66
+ worker: a.route("vis"),
67
+ registry: t
71
68
  });
72
- };
73
- const _pluto = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69
+ }, ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
74
70
  __proto__: null,
75
- render
71
+ render: X
76
72
  }, Symbol.toStringTag, { value: "Module" }));
77
73
  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
74
+ la as aether,
75
+ ia as canvas,
76
+ Ra as color,
77
+ ma as diagram,
78
+ sa as lineplot,
79
+ Ta as measure,
80
+ ta as pluto,
81
+ ea as render,
82
+ pa as rule,
83
+ Ea as synnax,
84
+ Ga as telem,
85
+ aa as theming,
86
+ Ya as tooltip,
87
+ $a as value
92
88
  };
93
89
  //# sourceMappingURL=aether.js.map
@@ -1 +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;;;;;"}
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":["render","w","RoutedWorker","data","transfer","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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CA+BaA,IAAS,MAAY;AAE1B,QAAAC,IAAI,IAAIC,EAAa,CAACC,GAAMC,MAAa,YAAYD,GAAMC,CAAQ,CAAC;AAC9D,cAAAH,EAAE,OAAO,KAAKA,CAAC;AAE3B,QAAMI,IAAqC;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,EAAAA,EAAc;AAAA,IACZ,QAAQvB,EAAE,MAAM,KAAK;AAAA,IACrB,UAAUI;AAAAA,EAAA,CACX;AACH;;;;"}
package/dist/align.cjs CHANGED
@@ -1,10 +1,2 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-tnCo64yx.cjs");require("./Center-ER_owvfX.cjs");require("./jsx-runtime-evvPGacs.cjs");require("react");require("./css-s9KpanYu.cjs");require("zod");exports.Align=e.external;
10
2
  //# sourceMappingURL=align.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"align.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
1
+ {"version":3,"file":"align.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/align.js CHANGED
@@ -1,10 +1,10 @@
1
- import { e } from "./external-vXBQOmKv.js";
2
- import "./Center-gEKkAkdh.js";
3
- import "./jsx-runtime-rX5tAIG2.js";
1
+ import { e as a } from "./external-uSIsCKNG.js";
2
+ import "./Center-8mBjm1cO.js";
3
+ import "./jsx-runtime-NmMXPjeo.js";
4
4
  import "react";
5
- import "./css-NTD4Xm8x.js";
5
+ import "./css-5RvvUhjr.js";
6
6
  import "zod";
7
7
  export {
8
- e as Align
8
+ a as Align
9
9
  };
10
10
  //# sourceMappingURL=align.js.map
package/dist/button.cjs CHANGED
@@ -1,15 +1,2 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external--jsfNkbo.cjs");require("./Toggle-QnKinMl4.cjs");require("./jsx-runtime-evvPGacs.cjs");require("react");require("./css-s9KpanYu.cjs");require("zod");require("./component-dgLAEMbt.cjs");require("react-dom");require("./Center-ER_owvfX.cjs");require("./color-gJTR__ef.cjs");require("react-hook-form");require("./Link-16dbGK7G.cjs");exports.Button=e.external;
15
2
  //# sourceMappingURL=button.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"button.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/button.js CHANGED
@@ -1,15 +1,16 @@
1
- import { e } from "./external-9pS8-DvV.js";
2
- import "./Toggle-kLunfJtR.js";
3
- import "./jsx-runtime-rX5tAIG2.js";
1
+ import { e as B } from "./external-phknItOL.js";
2
+ import "./Toggle-HVxv8bv2.js";
3
+ import "./jsx-runtime-NmMXPjeo.js";
4
4
  import "react";
5
- import "./css-NTD4Xm8x.js";
5
+ import "./css-5RvvUhjr.js";
6
6
  import "zod";
7
- import "./component-k78Jq9I7.js";
7
+ import "./component-LA8IXGSG.js";
8
8
  import "react-dom";
9
- import "./Center-gEKkAkdh.js";
9
+ import "./Center-8mBjm1cO.js";
10
+ import "./color-9QRifwqk.js";
10
11
  import "react-hook-form";
11
- import "./Link-laNlv47N.js";
12
+ import "./Link-fRQvqiYx.js";
12
13
  export {
13
- e as Button
14
+ B as Button
14
15
  };
15
16
  //# sourceMappingURL=button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"button.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -0,0 +1,9 @@
1
+ import { a as o } from "./css-5RvvUhjr.js";
2
+ const c = (t, a) => `${t}${a}`, n = (t, a, r) => Object.fromEntries(
3
+ r.map((e) => [`${t}-${e}`, new o(a).setAlpha(e).hex])
4
+ );
5
+ export {
6
+ n as c,
7
+ c as u
8
+ };
9
+ //# sourceMappingURL=color-9QRifwqk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-9QRifwqk.js","sources":["../src/css/units.ts","../src/css/color.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\nexport const unitProperty = (value: string | number, unit: string): string =>\n `${value}${unit}`;\n","// 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 { color } from \"@/color/core\";\n\n/**\n * Generates a set of CSS variables representing different opacities of a given\n * color.\n * @param prefix The prefix to use for the CSS variable names.\n * @param hex The color to generate opacities for.\n * @param opacities A list of the opacities to generate\n * @returns Record mapping the CSS variable names to their values.\n */\nexport const createHexOpacityVariants = (\n prefix: string,\n hex: color.Crude,\n opacities: readonly number[],\n): Record<string, string> =>\n Object.fromEntries(\n opacities.map((o) => [`${prefix}-${o}`, new color.Color(hex).setAlpha(o).hex]),\n );\n"],"names":["unitProperty","value","unit","createHexOpacityVariants","prefix","hex","opacities","o","color.Color"],"mappings":";AASO,MAAMA,IAAe,CAACC,GAAwBC,MACnD,GAAGD,CAAK,GAAGC,CAAI,ICSJC,IAA2B,CACtCC,GACAC,GACAC,MAEA,OAAO;AAAA,EACLA,EAAU,IAAI,CAACC,MAAM,CAAC,GAAGH,CAAM,IAAIG,CAAC,IAAI,IAAIC,EAAYH,CAAG,EAAE,SAASE,CAAC,EAAE,GAAG,CAAC;AAC/E;"}
@@ -0,0 +1,2 @@
1
+ "use strict";const a=require("./css-s9KpanYu.cjs"),c=(t,e)=>`${t}${e}`,i=(t,e,s)=>Object.fromEntries(s.map(r=>[`${t}-${r}`,new a.Color(e).setAlpha(r).hex]));exports.createHexOpacityVariants=i;exports.unitProperty=c;
2
+ //# sourceMappingURL=color-gJTR__ef.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color-gJTR__ef.cjs","sources":["../src/css/units.ts","../src/css/color.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\nexport const unitProperty = (value: string | number, unit: string): string =>\n `${value}${unit}`;\n","// 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 { color } from \"@/color/core\";\n\n/**\n * Generates a set of CSS variables representing different opacities of a given\n * color.\n * @param prefix The prefix to use for the CSS variable names.\n * @param hex The color to generate opacities for.\n * @param opacities A list of the opacities to generate\n * @returns Record mapping the CSS variable names to their values.\n */\nexport const createHexOpacityVariants = (\n prefix: string,\n hex: color.Crude,\n opacities: readonly number[],\n): Record<string, string> =>\n Object.fromEntries(\n opacities.map((o) => [`${prefix}-${o}`, new color.Color(hex).setAlpha(o).hex]),\n );\n"],"names":["unitProperty","value","unit","createHexOpacityVariants","prefix","hex","opacities","o","color.Color"],"mappings":"mDASaA,EAAe,CAACC,EAAwBC,IACnD,GAAGD,CAAK,GAAGC,CAAI,GCSJC,EAA2B,CACtCC,EACAC,EACAC,IAEA,OAAO,YACLA,EAAU,IAAKC,GAAM,CAAC,GAAGH,CAAM,IAAIG,CAAC,GAAI,IAAIC,QAAYH,CAAG,EAAE,SAASE,CAAC,EAAE,GAAG,CAAC,CAC/E"}
package/dist/color.cjs ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./external-tZiYBM94.cjs");require("./css-s9KpanYu.cjs");require("zod");require("./Swatch--Prmb5q_.cjs");require("./jsx-runtime-evvPGacs.cjs");require("react");require("./Toggle-QnKinMl4.cjs");require("./component-dgLAEMbt.cjs");require("react-dom");require("./Center-ER_owvfX.cjs");require("./color-gJTR__ef.cjs");require("react-hook-form");exports.Color=e.external;
2
+ //# sourceMappingURL=color.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/color.js ADDED
@@ -0,0 +1,16 @@
1
+ import { e as b } from "./external-uR-7_68y.js";
2
+ import "./css-5RvvUhjr.js";
3
+ import "zod";
4
+ import "./Swatch-IH4OmVdd.js";
5
+ import "./jsx-runtime-NmMXPjeo.js";
6
+ import "react";
7
+ import "./Toggle-HVxv8bv2.js";
8
+ import "./component-LA8IXGSG.js";
9
+ import "react-dom";
10
+ import "./Center-8mBjm1cO.js";
11
+ import "./color-9QRifwqk.js";
12
+ import "react-hook-form";
13
+ export {
14
+ b as Color
15
+ };
16
+ //# sourceMappingURL=color.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}