@antv/g2 5.0.0-beta.4 → 5.0.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/dist/g2-lite.min.js +5 -2
  2. package/dist/g2.min.js +5 -2
  3. package/esm/api/mark/mark.js +0 -2
  4. package/esm/api/mark/mark.js.map +1 -1
  5. package/esm/api/mark/types.d.ts +0 -2
  6. package/esm/component/axis.js +5 -4
  7. package/esm/component/axis.js.map +1 -1
  8. package/esm/component/slider.js +2 -4
  9. package/esm/component/slider.js.map +1 -1
  10. package/esm/composition/mark.js +2 -1
  11. package/esm/composition/mark.js.map +1 -1
  12. package/esm/interaction/builtin/brushHighlight.d.ts +1 -1
  13. package/esm/interaction/index.d.ts +3 -0
  14. package/esm/interaction/index.js +3 -0
  15. package/esm/interaction/index.js.map +1 -1
  16. package/esm/interaction/native/brushHighlight.d.ts +15 -0
  17. package/esm/interaction/native/brushHighlight.js +283 -0
  18. package/esm/interaction/native/brushHighlight.js.map +1 -0
  19. package/esm/interaction/native/brushXHighlight.d.ts +1 -0
  20. package/esm/interaction/native/brushXHighlight.js +8 -0
  21. package/esm/interaction/native/brushXHighlight.js.map +1 -0
  22. package/esm/interaction/native/brushYHighlight.d.ts +1 -0
  23. package/esm/interaction/native/brushYHighlight.js +8 -0
  24. package/esm/interaction/native/brushYHighlight.js.map +1 -0
  25. package/esm/interaction/native/legendFilter.js +3 -12
  26. package/esm/interaction/native/legendFilter.js.map +1 -1
  27. package/esm/interaction/native/tooltip.js +96 -28
  28. package/esm/interaction/native/tooltip.js.map +1 -1
  29. package/esm/interaction/native/utils.d.ts +4 -0
  30. package/esm/interaction/native/utils.js +23 -0
  31. package/esm/interaction/native/utils.js.map +1 -1
  32. package/esm/label-transform/contrastReverse.d.ts +9 -0
  33. package/esm/label-transform/contrastReverse.js +48 -0
  34. package/esm/label-transform/contrastReverse.js.map +1 -0
  35. package/esm/label-transform/index.d.ts +8 -8
  36. package/esm/label-transform/index.js +4 -4
  37. package/esm/label-transform/index.js.map +1 -1
  38. package/esm/label-transform/overflowHide.d.ts +7 -0
  39. package/esm/label-transform/overflowHide.js +18 -0
  40. package/esm/label-transform/overflowHide.js.map +1 -0
  41. package/esm/label-transform/overlapDodgeY.d.ts +7 -0
  42. package/esm/label-transform/{dodgeY.js → overlapDodgeY.js} +4 -4
  43. package/esm/label-transform/overlapDodgeY.js.map +1 -0
  44. package/esm/label-transform/overlapHide.d.ts +7 -0
  45. package/esm/label-transform/overlapHide.js +24 -0
  46. package/esm/label-transform/overlapHide.js.map +1 -0
  47. package/esm/runtime/plot.js +24 -6
  48. package/esm/runtime/plot.js.map +1 -1
  49. package/esm/runtime/scale.js +17 -5
  50. package/esm/runtime/scale.js.map +1 -1
  51. package/esm/runtime/transform.js +10 -4
  52. package/esm/runtime/transform.js.map +1 -1
  53. package/esm/runtime/types/common.d.ts +1 -0
  54. package/esm/runtime/types/options.d.ts +1 -0
  55. package/esm/shape/label/label.js +3 -3
  56. package/esm/shape/label/label.js.map +1 -1
  57. package/esm/shape/label/position/area.d.ts +13 -0
  58. package/esm/shape/label/position/area.js +28 -0
  59. package/esm/shape/label/position/area.js.map +1 -0
  60. package/esm/shape/label/position/bottom.d.ts +1 -0
  61. package/esm/shape/label/position/bottom.js +2 -0
  62. package/esm/shape/label/position/bottom.js.map +1 -0
  63. package/esm/shape/label/position/bottomLeft.d.ts +1 -0
  64. package/esm/shape/label/position/bottomLeft.js +2 -0
  65. package/esm/shape/label/position/bottomLeft.js.map +1 -0
  66. package/esm/shape/label/position/bottomRight.d.ts +1 -0
  67. package/esm/shape/label/position/bottomRight.js +2 -0
  68. package/esm/shape/label/position/bottomRight.js.map +1 -0
  69. package/esm/shape/label/position/default.d.ts +20 -0
  70. package/esm/shape/label/{position.js → position/default.js} +9 -45
  71. package/esm/shape/label/position/default.js.map +1 -0
  72. package/esm/shape/label/position/index.d.ts +13 -0
  73. package/esm/shape/label/position/index.js +14 -0
  74. package/esm/shape/label/position/index.js.map +1 -0
  75. package/esm/shape/label/position/inside.d.ts +1 -0
  76. package/esm/shape/label/position/inside.js +2 -0
  77. package/esm/shape/label/position/inside.js.map +1 -0
  78. package/esm/shape/label/position/left.d.ts +1 -0
  79. package/esm/shape/label/position/left.js +2 -0
  80. package/esm/shape/label/position/left.js.map +1 -0
  81. package/esm/shape/label/position/outside.d.ts +1 -0
  82. package/esm/shape/label/position/outside.js +2 -0
  83. package/esm/shape/label/position/outside.js.map +1 -0
  84. package/esm/shape/label/position/right.d.ts +1 -0
  85. package/esm/shape/label/position/right.js +2 -0
  86. package/esm/shape/label/position/right.js.map +1 -0
  87. package/esm/shape/label/position/spider.d.ts +7 -0
  88. package/esm/shape/label/position/spider.js +40 -0
  89. package/esm/shape/label/position/spider.js.map +1 -0
  90. package/esm/shape/label/position/surround.d.ts +7 -0
  91. package/esm/shape/label/position/surround.js +37 -0
  92. package/esm/shape/label/position/surround.js.map +1 -0
  93. package/esm/shape/label/position/top.d.ts +1 -0
  94. package/esm/shape/label/position/top.js +2 -0
  95. package/esm/shape/label/position/top.js.map +1 -0
  96. package/esm/shape/label/position/topLeft.d.ts +1 -0
  97. package/esm/shape/label/position/topLeft.js +2 -0
  98. package/esm/shape/label/position/topLeft.js.map +1 -0
  99. package/esm/shape/label/position/topRight.d.ts +1 -0
  100. package/esm/shape/label/position/topRight.js +2 -0
  101. package/esm/shape/label/position/topRight.js.map +1 -0
  102. package/esm/spec/composition.d.ts +2 -0
  103. package/esm/spec/geometry.d.ts +1 -1
  104. package/esm/spec/interaction.d.ts +21 -5
  105. package/esm/spec/labelTransform.d.ts +24 -11
  106. package/esm/spec/theme.d.ts +5 -2
  107. package/esm/stdlib/index.js +5 -6
  108. package/esm/stdlib/index.js.map +1 -1
  109. package/esm/theme/academy.d.ts +3 -0
  110. package/esm/theme/academy.js +402 -0
  111. package/esm/theme/academy.js.map +1 -0
  112. package/esm/theme/dark.js +3 -2
  113. package/esm/theme/dark.js.map +1 -1
  114. package/esm/theme/index.d.ts +1 -0
  115. package/esm/theme/index.js +1 -0
  116. package/esm/theme/index.js.map +1 -1
  117. package/esm/theme/light.js +4 -3
  118. package/esm/theme/light.js.map +1 -1
  119. package/esm/transform/maybeTooltip.js +3 -1
  120. package/esm/transform/maybeTooltip.js.map +1 -1
  121. package/esm/utils/bounds.d.ts +26 -0
  122. package/esm/utils/bounds.js +41 -0
  123. package/esm/utils/bounds.js.map +1 -0
  124. package/esm/utils/color.d.ts +6 -0
  125. package/esm/utils/color.js +7 -0
  126. package/esm/utils/color.js.map +1 -0
  127. package/esm/utils/coordinate.d.ts +1 -0
  128. package/esm/utils/coordinate.js +12 -0
  129. package/esm/utils/coordinate.js.map +1 -1
  130. package/esm/utils/helper.d.ts +1 -0
  131. package/esm/utils/helper.js +3 -0
  132. package/esm/utils/helper.js.map +1 -1
  133. package/lib/api/mark/mark.js +0 -2
  134. package/lib/api/mark/mark.js.map +1 -1
  135. package/lib/api/mark/types.d.ts +0 -2
  136. package/lib/component/axis.js +5 -4
  137. package/lib/component/axis.js.map +1 -1
  138. package/lib/component/slider.js +2 -4
  139. package/lib/component/slider.js.map +1 -1
  140. package/lib/composition/mark.js +2 -1
  141. package/lib/composition/mark.js.map +1 -1
  142. package/lib/interaction/builtin/brushHighlight.d.ts +1 -1
  143. package/lib/interaction/index.d.ts +3 -0
  144. package/lib/interaction/index.js +7 -1
  145. package/lib/interaction/index.js.map +1 -1
  146. package/lib/interaction/native/brushHighlight.d.ts +15 -0
  147. package/lib/interaction/native/brushHighlight.js +289 -0
  148. package/lib/interaction/native/brushHighlight.js.map +1 -0
  149. package/lib/interaction/native/brushXHighlight.d.ts +1 -0
  150. package/lib/interaction/native/brushXHighlight.js +12 -0
  151. package/lib/interaction/native/brushXHighlight.js.map +1 -0
  152. package/lib/interaction/native/brushYHighlight.d.ts +1 -0
  153. package/lib/interaction/native/brushYHighlight.js +12 -0
  154. package/lib/interaction/native/brushYHighlight.js.map +1 -0
  155. package/lib/interaction/native/legendFilter.js +4 -13
  156. package/lib/interaction/native/legendFilter.js.map +1 -1
  157. package/lib/interaction/native/tooltip.js +93 -25
  158. package/lib/interaction/native/tooltip.js.map +1 -1
  159. package/lib/interaction/native/utils.d.ts +4 -0
  160. package/lib/interaction/native/utils.js +28 -1
  161. package/lib/interaction/native/utils.js.map +1 -1
  162. package/lib/label-transform/contrastReverse.d.ts +9 -0
  163. package/lib/label-transform/contrastReverse.js +52 -0
  164. package/lib/label-transform/contrastReverse.js.map +1 -0
  165. package/lib/label-transform/index.d.ts +8 -8
  166. package/lib/label-transform/index.js +9 -9
  167. package/lib/label-transform/index.js.map +1 -1
  168. package/lib/label-transform/overflowHide.d.ts +7 -0
  169. package/lib/label-transform/overflowHide.js +22 -0
  170. package/lib/label-transform/overflowHide.js.map +1 -0
  171. package/lib/label-transform/overlapDodgeY.d.ts +7 -0
  172. package/lib/label-transform/{dodgeY.js → overlapDodgeY.js} +6 -6
  173. package/lib/label-transform/overlapDodgeY.js.map +1 -0
  174. package/lib/label-transform/overlapHide.d.ts +7 -0
  175. package/lib/label-transform/overlapHide.js +28 -0
  176. package/lib/label-transform/overlapHide.js.map +1 -0
  177. package/lib/runtime/plot.js +24 -6
  178. package/lib/runtime/plot.js.map +1 -1
  179. package/lib/runtime/scale.js +16 -4
  180. package/lib/runtime/scale.js.map +1 -1
  181. package/lib/runtime/transform.js +10 -4
  182. package/lib/runtime/transform.js.map +1 -1
  183. package/lib/runtime/types/common.d.ts +1 -0
  184. package/lib/runtime/types/options.d.ts +1 -0
  185. package/lib/shape/label/label.js +3 -3
  186. package/lib/shape/label/label.js.map +1 -1
  187. package/lib/shape/label/position/area.d.ts +13 -0
  188. package/lib/shape/label/position/area.js +32 -0
  189. package/lib/shape/label/position/area.js.map +1 -0
  190. package/lib/shape/label/position/bottom.d.ts +1 -0
  191. package/lib/shape/label/position/bottom.js +6 -0
  192. package/lib/shape/label/position/bottom.js.map +1 -0
  193. package/lib/shape/label/position/bottomLeft.d.ts +1 -0
  194. package/lib/shape/label/position/bottomLeft.js +6 -0
  195. package/lib/shape/label/position/bottomLeft.js.map +1 -0
  196. package/lib/shape/label/position/bottomRight.d.ts +1 -0
  197. package/lib/shape/label/position/bottomRight.js +6 -0
  198. package/lib/shape/label/position/bottomRight.js.map +1 -0
  199. package/lib/shape/label/position/default.d.ts +20 -0
  200. package/lib/shape/label/{position.js → position/default.js} +10 -43
  201. package/lib/shape/label/position/default.js.map +1 -0
  202. package/lib/shape/label/position/index.d.ts +13 -0
  203. package/lib/shape/label/position/index.js +30 -0
  204. package/lib/shape/label/position/index.js.map +1 -0
  205. package/lib/shape/label/position/inside.d.ts +1 -0
  206. package/lib/shape/label/position/inside.js +6 -0
  207. package/lib/shape/label/position/inside.js.map +1 -0
  208. package/lib/shape/label/position/left.d.ts +1 -0
  209. package/lib/shape/label/position/left.js +6 -0
  210. package/lib/shape/label/position/left.js.map +1 -0
  211. package/lib/shape/label/position/outside.d.ts +1 -0
  212. package/lib/shape/label/position/outside.js +6 -0
  213. package/lib/shape/label/position/outside.js.map +1 -0
  214. package/lib/shape/label/position/right.d.ts +1 -0
  215. package/lib/shape/label/position/right.js +6 -0
  216. package/lib/shape/label/position/right.js.map +1 -0
  217. package/lib/shape/label/position/spider.d.ts +7 -0
  218. package/lib/shape/label/position/spider.js +44 -0
  219. package/lib/shape/label/position/spider.js.map +1 -0
  220. package/lib/shape/label/position/surround.d.ts +7 -0
  221. package/lib/shape/label/position/surround.js +41 -0
  222. package/lib/shape/label/position/surround.js.map +1 -0
  223. package/lib/shape/label/position/top.d.ts +1 -0
  224. package/lib/shape/label/position/top.js +6 -0
  225. package/lib/shape/label/position/top.js.map +1 -0
  226. package/lib/shape/label/position/topLeft.d.ts +1 -0
  227. package/lib/shape/label/position/topLeft.js +6 -0
  228. package/lib/shape/label/position/topLeft.js.map +1 -0
  229. package/lib/shape/label/position/topRight.d.ts +1 -0
  230. package/lib/shape/label/position/topRight.js +6 -0
  231. package/lib/shape/label/position/topRight.js.map +1 -0
  232. package/lib/spec/composition.d.ts +2 -0
  233. package/lib/spec/geometry.d.ts +1 -1
  234. package/lib/spec/interaction.d.ts +21 -5
  235. package/lib/spec/labelTransform.d.ts +24 -11
  236. package/lib/spec/theme.d.ts +5 -2
  237. package/lib/stdlib/index.js +2 -3
  238. package/lib/stdlib/index.js.map +1 -1
  239. package/lib/theme/academy.d.ts +3 -0
  240. package/lib/theme/academy.js +406 -0
  241. package/lib/theme/academy.js.map +1 -0
  242. package/lib/theme/dark.js +3 -2
  243. package/lib/theme/dark.js.map +1 -1
  244. package/lib/theme/index.d.ts +1 -0
  245. package/lib/theme/index.js +3 -1
  246. package/lib/theme/index.js.map +1 -1
  247. package/lib/theme/light.js +4 -3
  248. package/lib/theme/light.js.map +1 -1
  249. package/lib/transform/maybeTooltip.js +3 -1
  250. package/lib/transform/maybeTooltip.js.map +1 -1
  251. package/lib/utils/bounds.d.ts +26 -0
  252. package/lib/utils/bounds.js +48 -0
  253. package/lib/utils/bounds.js.map +1 -0
  254. package/lib/utils/color.d.ts +6 -0
  255. package/lib/utils/color.js +11 -0
  256. package/lib/utils/color.js.map +1 -0
  257. package/lib/utils/coordinate.d.ts +1 -0
  258. package/lib/utils/coordinate.js +14 -1
  259. package/lib/utils/coordinate.js.map +1 -1
  260. package/lib/utils/helper.d.ts +1 -0
  261. package/lib/utils/helper.js +5 -1
  262. package/lib/utils/helper.js.map +1 -1
  263. package/package.json +2 -2
  264. package/src/.DS_Store +0 -0
  265. package/src/api/mark/mark.ts +0 -2
  266. package/src/api/mark/types.ts +0 -2
  267. package/src/component/axis.ts +16 -11
  268. package/src/component/slider.ts +1 -3
  269. package/src/composition/mark.ts +2 -0
  270. package/src/data/.DS_Store +0 -0
  271. package/src/interaction/index.ts +3 -0
  272. package/src/interaction/native/brushHighlight.ts +346 -0
  273. package/src/interaction/native/brushXHighlight.ts +11 -0
  274. package/src/interaction/native/brushYHighlight.ts +11 -0
  275. package/src/interaction/native/legendFilter.ts +3 -14
  276. package/src/interaction/native/tooltip.ts +119 -32
  277. package/src/interaction/native/utils.ts +31 -0
  278. package/src/label-transform/contrastReverse.ts +56 -0
  279. package/src/label-transform/index.ts +8 -8
  280. package/src/label-transform/overflowHide.ts +23 -0
  281. package/src/label-transform/{dodgeY.ts → overlapDodgeY.ts} +6 -6
  282. package/src/label-transform/overlapHide.ts +32 -0
  283. package/src/runtime/plot.ts +35 -6
  284. package/src/runtime/scale.ts +15 -7
  285. package/src/runtime/transform.ts +13 -4
  286. package/src/runtime/types/common.ts +1 -0
  287. package/src/runtime/types/options.ts +1 -0
  288. package/src/shape/.DS_Store +0 -0
  289. package/src/shape/label/label.ts +4 -3
  290. package/src/shape/label/position/area.ts +39 -0
  291. package/src/shape/label/position/bottom.ts +1 -0
  292. package/src/shape/label/position/bottomLeft.ts +1 -0
  293. package/src/shape/label/position/bottomRight.ts +1 -0
  294. package/src/shape/label/{position.ts → position/default.ts} +12 -56
  295. package/src/shape/label/position/index.ts +13 -0
  296. package/src/shape/label/position/inside.ts +1 -0
  297. package/src/shape/label/position/left.ts +1 -0
  298. package/src/shape/label/position/outside.ts +1 -0
  299. package/src/shape/label/position/right.ts +1 -0
  300. package/src/shape/label/position/spider.ts +46 -0
  301. package/src/shape/label/position/surround.ts +42 -0
  302. package/src/shape/label/position/top.ts +1 -0
  303. package/src/shape/label/position/topLeft.ts +1 -0
  304. package/src/shape/label/position/topRight.ts +1 -0
  305. package/src/spec/composition.ts +2 -0
  306. package/src/spec/geometry.ts +2 -1
  307. package/src/spec/interaction.ts +28 -4
  308. package/src/spec/labelTransform.ts +29 -11
  309. package/src/spec/theme.ts +6 -2
  310. package/src/stdlib/index.ts +19 -7
  311. package/src/theme/academy.ts +408 -0
  312. package/src/theme/dark.ts +3 -2
  313. package/src/theme/index.ts +1 -0
  314. package/src/theme/light.ts +4 -3
  315. package/src/transform/maybeTooltip.ts +3 -1
  316. package/src/utils/bounds.ts +52 -0
  317. package/src/utils/color.ts +12 -0
  318. package/src/utils/coordinate.ts +12 -0
  319. package/src/utils/helper.ts +4 -0
  320. package/esm/label-transform/dodgeY.d.ts +0 -7
  321. package/esm/label-transform/dodgeY.js.map +0 -1
  322. package/esm/label-transform/hideOverlap.d.ts +0 -4
  323. package/esm/label-transform/hideOverlap.js +0 -48
  324. package/esm/label-transform/hideOverlap.js.map +0 -1
  325. package/esm/label-transform/spider.d.ts +0 -7
  326. package/esm/label-transform/spider.js +0 -30
  327. package/esm/label-transform/spider.js.map +0 -1
  328. package/esm/label-transform/surround.d.ts +0 -7
  329. package/esm/label-transform/surround.js +0 -30
  330. package/esm/label-transform/surround.js.map +0 -1
  331. package/esm/shape/label/position.d.ts +0 -25
  332. package/esm/shape/label/position.js.map +0 -1
  333. package/lib/label-transform/dodgeY.d.ts +0 -7
  334. package/lib/label-transform/dodgeY.js.map +0 -1
  335. package/lib/label-transform/hideOverlap.d.ts +0 -4
  336. package/lib/label-transform/hideOverlap.js +0 -52
  337. package/lib/label-transform/hideOverlap.js.map +0 -1
  338. package/lib/label-transform/spider.d.ts +0 -7
  339. package/lib/label-transform/spider.js +0 -34
  340. package/lib/label-transform/spider.js.map +0 -1
  341. package/lib/label-transform/surround.d.ts +0 -7
  342. package/lib/label-transform/surround.js +0 -34
  343. package/lib/label-transform/surround.js.map +0 -1
  344. package/lib/shape/label/position.d.ts +0 -25
  345. package/lib/shape/label/position.js.map +0 -1
  346. package/src/label-transform/hideOverlap.ts +0 -62
  347. package/src/label-transform/spider.ts +0 -37
  348. package/src/label-transform/surround.ts +0 -37
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.js","sourceRoot":"src/","sources":["shape/label/position/default.ts"],"names":[],"mappings":";;;AAEA,gDAAoD;AACpD,0DAAiE;AACjE,kDAAwD;AACxD,kDAA4C;AAiB5C,SAAgB,qBAAqB,CACnC,QAAuB,EACvB,MAAiB,EACjB,KAA0B,EAC1B,UAAsB;IAEtB,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,C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AC;AACJ,CAAC;AAED,SAAgB,eAAe,CAC7B,QAAuB,EACvB,MAAiB,EACjB,KAA0B,EAC1B,UAAsB;IAEtB,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,yBAAyB;IACzB,0CAA0C;IAC1C,sDAAsD;IACtD,wCAAwC;IACxC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE;QACvB,OAAO,kBAAkB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;KAChE;IAED,MAAM,iBAAiB,GAAG,IAAA,qBAAQ,EAAC,UAAU,CAAC;QAC5C,CAAC,CAAC,gBAAgB;QAClB,CAAC,CAAC,IAAA,uBAAU,EAAC,UAAU,CAAC;YACxB,CAAC,CAAC,kBAAkB;YACpB,CAAC,CAAC,qBAAqB,CAAC;IAE1B,OAAO,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC;AAChE,CAAC;AAtBD,0CAsBC"}
@@ -0,0 +1,13 @@
1
+ export { area } from './area';
2
+ export { bottom } from './bottom';
3
+ export { bottomLeft } from './bottomLeft';
4
+ export { bottomRight } from './bottomRight';
5
+ export { inside } from './inside';
6
+ export { left } from './left';
7
+ export { outside } from './outside';
8
+ export { right } from './right';
9
+ export { spider } from './spider';
10
+ export { surround } from './surround';
11
+ export { top } from './top';
12
+ export { topLeft } from './topLeft';
13
+ export { topRight } from './topRight';
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.topRight = exports.topLeft = exports.top = exports.surround = exports.spider = exports.right = exports.outside = exports.left = exports.inside = exports.bottomRight = exports.bottomLeft = exports.bottom = exports.area = void 0;
4
+ var area_1 = require("./area");
5
+ Object.defineProperty(exports, "area", { enumerable: true, get: function () { return area_1.area; } });
6
+ var bottom_1 = require("./bottom");
7
+ Object.defineProperty(exports, "bottom", { enumerable: true, get: function () { return bottom_1.bottom; } });
8
+ var bottomLeft_1 = require("./bottomLeft");
9
+ Object.defineProperty(exports, "bottomLeft", { enumerable: true, get: function () { return bottomLeft_1.bottomLeft; } });
10
+ var bottomRight_1 = require("./bottomRight");
11
+ Object.defineProperty(exports, "bottomRight", { enumerable: true, get: function () { return bottomRight_1.bottomRight; } });
12
+ var inside_1 = require("./inside");
13
+ Object.defineProperty(exports, "inside", { enumerable: true, get: function () { return inside_1.inside; } });
14
+ var left_1 = require("./left");
15
+ Object.defineProperty(exports, "left", { enumerable: true, get: function () { return left_1.left; } });
16
+ var outside_1 = require("./outside");
17
+ Object.defineProperty(exports, "outside", { enumerable: true, get: function () { return outside_1.outside; } });
18
+ var right_1 = require("./right");
19
+ Object.defineProperty(exports, "right", { enumerable: true, get: function () { return right_1.right; } });
20
+ var spider_1 = require("./spider");
21
+ Object.defineProperty(exports, "spider", { enumerable: true, get: function () { return spider_1.spider; } });
22
+ var surround_1 = require("./surround");
23
+ Object.defineProperty(exports, "surround", { enumerable: true, get: function () { return surround_1.surround; } });
24
+ var top_1 = require("./top");
25
+ Object.defineProperty(exports, "top", { enumerable: true, get: function () { return top_1.top; } });
26
+ var topLeft_1 = require("./topLeft");
27
+ Object.defineProperty(exports, "topLeft", { enumerable: true, get: function () { return topLeft_1.topLeft; } });
28
+ var topRight_1 = require("./topRight");
29
+ Object.defineProperty(exports, "topRight", { enumerable: true, get: function () { return topRight_1.topRight; } });
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"src/","sources":["shape/label/position/index.ts"],"names":[],"mappings":";;;AAAA,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,6CAA4C;AAAnC,0GAAA,WAAW,OAAA;AACpB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,6BAA4B;AAAnB,0FAAA,GAAG,OAAA;AACZ,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as inside } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.inside = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "inside", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=inside.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inside.js","sourceRoot":"src/","sources":["shape/label/position/inside.ts"],"names":[],"mappings":";;;AAAA,qCAAsD;AAA7C,iGAAA,eAAe,OAAU"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as left } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.left = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "left", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=left.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"left.js","sourceRoot":"src/","sources":["shape/label/position/left.ts"],"names":[],"mappings":";;;AAAA,qCAAoD;AAA3C,+FAAA,eAAe,OAAQ"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as outside } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.outside = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "outside", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=outside.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outside.js","sourceRoot":"src/","sources":["shape/label/position/outside.ts"],"names":[],"mappings":";;;AAAA,qCAAuD;AAA9C,kGAAA,eAAe,OAAW"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as right } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.right = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "right", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=right.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"right.js","sourceRoot":"src/","sources":["shape/label/position/right.ts"],"names":[],"mappings":";;;AAAA,qCAAqD;AAA5C,gGAAA,eAAe,OAAS"}
@@ -0,0 +1,7 @@
1
+ import { Coordinate } from '@antv/coord';
2
+ import { Vector2 } from '../../../runtime';
3
+ import { LabelPosition } from './default';
4
+ /**
5
+ * Spider label transform only suitable for the labels in polar coordinate, labels should distinguish coordinate type.
6
+ */
7
+ export declare function spider(position: LabelPosition, points: Vector2[], value: Record<string, any>, coordinate: Coordinate, options: any): any;
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.spider = void 0;
15
+ const vector_1 = require("../../../utils/vector");
16
+ const coordinate_1 = require("../../../utils/coordinate");
17
+ const helper_1 = require("../../../utils/helper");
18
+ const default_1 = require("./default");
19
+ /**
20
+ * Spider label transform only suitable for the labels in polar coordinate, labels should distinguish coordinate type.
21
+ */
22
+ function spider(position, points, value, coordinate, options) {
23
+ if (!(0, coordinate_1.isCircular)(coordinate))
24
+ return {};
25
+ const { edgeDistance = 0 } = options;
26
+ const style = __rest((0, default_1.inferCircularStyle)('outside', points, value, coordinate), []);
27
+ const { x: coordX, width } = coordinate.getOptions();
28
+ const center = coordinate.getCenter();
29
+ // todo: How to configure spider.
30
+ const margin = (0, helper_1.maybePercentage)(edgeDistance, width);
31
+ const edgeX = coordX + margin;
32
+ const edgeX1 = coordX + width - margin;
33
+ const { x: originX, x0, y0 } = style;
34
+ const dx = originX <= center[0] ? edgeX - originX : edgeX1 - originX;
35
+ style.x += dx;
36
+ const { x, y } = style;
37
+ const p0 = (0, vector_1.sub)([x0, y0], center);
38
+ const p1 = (0, vector_1.sub)([0, y], center);
39
+ const p1x = p0[1] ? (p0[0] * p1[1]) / p0[1] + center[0] : x;
40
+ style.connectorPoints = [[p1x - x, 0]];
41
+ return style;
42
+ }
43
+ exports.spider = spider;
44
+ //# sourceMappingURL=spider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spider.js","sourceRoot":"src/","sources":["shape/label/position/spider.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,kDAA4C;AAE5C,0DAAuD;AACvD,kDAAwD;AACxD,uCAA8D;AAE9D;;GAEG;AACH,SAAgB,MAAM,CACpB,QAAuB,EACvB,MAAiB,EACjB,KAA0B,EAC1B,UAAsB,EACtB,OAAO;IAEP,IAAI,CAAC,IAAA,uBAAU,EAAC,UAAU,CAAC;QAAE,OAAO,EAAE,CAAC;IACvC,MAAM,EAAE,YAAY,GAAG,CAAC,EAAE,GAAG,OAAO,CAAC;IAErC,MAAW,KAAK,UAAU,IAAA,4BAAkB,EAC1C,SAAS,EACT,MAAM,EACN,KAAK,EACL,UAAU,CACX,EALK,EAAY,CAKjB,CAAC;IACF,MAAM,EAAE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
1
+ import { Coordinate } from '@antv/coord';
2
+ import { Vector2 } from '../../../runtime';
3
+ import { LabelPosition } from './default';
4
+ /**
5
+ * Surround label transform is used to make labels surround circular.
6
+ */
7
+ export declare function surround(position: LabelPosition, points: Vector2[], value: Record<string, any>, coordinate: Coordinate, options: any): any;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.surround = void 0;
15
+ const coordinate_1 = require("../../../utils/coordinate");
16
+ const vector_1 = require("../../../utils/vector");
17
+ const default_1 = require("./default");
18
+ /**
19
+ * Surround label transform is used to make labels surround circular.
20
+ */
21
+ function surround(position, points, value, coordinate, options) {
22
+ if (!(0, coordinate_1.isCircular)(coordinate))
23
+ return {};
24
+ const { offset = 12 } = options;
25
+ const style = __rest((0, default_1.inferCircularStyle)('outside', points, value, coordinate), []);
26
+ const center = coordinate.getCenter();
27
+ const radius = (0, coordinate_1.getRadius)(coordinate) + offset;
28
+ const { x0, y0, connector, connectorLength2 = 0 } = style;
29
+ const labelAngle = (0, vector_1.angleWithQuadrant)([x0 - center[0], y0 - center[1]]);
30
+ const length2 = connector
31
+ ? connectorLength2 * (Math.sin(labelAngle) < 0 ? -1 : 1)
32
+ : 0;
33
+ const newX = center[0] + Math.sin(labelAngle) * radius;
34
+ const newY = center[1] - Math.cos(labelAngle) * radius;
35
+ style.x = newX + length2;
36
+ style.y = newY;
37
+ style.connectorPoints = [[-length2, 0]];
38
+ return style;
39
+ }
40
+ exports.surround = surround;
41
+ //# sourceMappingURL=surround.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surround.js","sourceRoot":"src/","sources":["shape/label/position/surround.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAGA,0DAAkE;AAClE,kDAA0D;AAC1D,uCAA8D;AAE9D;;GAEG;AACH,SAAgB,QAAQ,CACtB,QAAuB,EACvB,MAAiB,EACjB,KAA0B,EAC1B,UAAsB,EACtB,OAAO;IAEP,IAAI,CAAC,IAAA,uBAAU,EAAC,UAAU,CAAC;QAAE,OAAO,EAAE,CAAC;IAEvC,MAAM,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IAChC,MAAW,KAAK,UAAU,IAAA,4BAAkB,EAC1C,SAAS,EACT,MAAM,EACN,KAAK,EACL,UAAU,CACX,EALK,EAAY,CAKjB,CAAC;IACF,MAAM,MAAM,GAAG,UAAU,CAAC,SAAS,EAAE,CAAC;IACtC,MAAM,MAAM,GAAG,IAAA,sBAAS,EAAC,UAAU,CAAC,GAAG,MAAM,CAAC;IAE9C,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,gBAAgB,GAAG,CAAC,EAAE,GAAG,KAAK,CAAC;IAC1D,MAAM,UAAU,GAAG,IAAA,0BAAiB,EAAC,CAAC,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACvE,MAAM,OAAO,GAAG,SAAS;QACvB,CAAC,CAAC,gBAAgB,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACxD,CAAC,CAAC,CAAC,CAAC;IACN,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC;IACvD,MAAM,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC;IACvD,KAAK,CAAC,CAAC,GAAG,IAAI,GAAG,OAAO,CAAC;IACzB,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC;IACf,KAAK,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;IAExC,OAAO,KAAK,CAAC;AACf,CAAC;AA/BD,4BA+BC"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as top } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.top = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "top", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=top.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"top.js","sourceRoot":"src/","sources":["shape/label/position/top.ts"],"names":[],"mappings":";;;AAAA,qCAAmD;AAA1C,8FAAA,eAAe,OAAO"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as topLeft } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.topLeft = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "topLeft", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=topLeft.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topLeft.js","sourceRoot":"src/","sources":["shape/label/position/topLeft.ts"],"names":[],"mappings":";;;AAAA,qCAAuD;AAA9C,kGAAA,eAAe,OAAW"}
@@ -0,0 +1 @@
1
+ export { getDefaultStyle as topRight } from './default';
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.topRight = void 0;
4
+ var default_1 = require("./default");
5
+ Object.defineProperty(exports, "topRight", { enumerable: true, get: function () { return default_1.getDefaultStyle; } });
6
+ //# sourceMappingURL=topRight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topRight.js","sourceRoot":"src/","sources":["shape/label/position/topRight.ts"],"names":[],"mappings":";;;AAAA,qCAAwD;AAA/C,mGAAA,eAAe,OAAY"}
@@ -12,6 +12,7 @@ type EventType = (...args: any[]) => void;
12
12
  export type Node = MarkComposition | ViewComposition | SpaceLayerComposition | SpaceFlexComposition | RepeatMatrixComposition | FacetRectComposition | FacetCircleComposition | GeoViewComposition | TimingKeyframeComposition;
13
13
  export type MarkComposition = Geometry & {
14
14
  title?: Title;
15
+ clip?: boolean;
15
16
  };
16
17
  export type ViewComposition = {
17
18
  type?: 'view';
@@ -47,6 +48,7 @@ export type ViewComposition = {
47
48
  legend?: Record<string, any>;
48
49
  on?: Record<string, EventType | EventType[]>;
49
50
  style?: Record<string, any>;
51
+ clip?: boolean;
50
52
  };
51
53
  export type SpaceLayerComposition = {
52
54
  type?: 'spaceLayer';
@@ -9,7 +9,7 @@ import { Theme } from './theme';
9
9
  import { ClusterTransform, Data } from './data';
10
10
  export type Geometry = IntervalGeometry | RectGeometry | LineGeometry | PointGeometry | TextGeometry | CellGeometry | AreaGeometry | NodeGeometry | EdgeGeometry | ImageGeometry | PolygonGeometry | BoxGeometry | VectorGeometry | LineXMark | LineYMark | RangeMark | RangeXMark | RangeYMark | ConnectorMark | SankeyMark | PathMark | TreemapMark | PackMark | BoxPlotMark | ShapeMark | ForceGraphMark | TreeMark | WordCloudMark | CustomComponent;
11
11
  export type GeometryTypes = 'interval' | 'rect' | 'line' | 'point' | 'text' | 'cell' | 'area' | 'node' | 'edge' | 'link' | 'image' | 'polygon' | 'box' | 'vector' | 'lineX' | 'lineY' | 'connector' | 'range' | 'rangeX' | 'rangeY' | 'sankey' | 'path' | 'treemap' | 'pack' | 'boxplot' | 'shape' | 'forceGraph' | 'tree' | 'wordCloud' | MarkComponent;
12
- export type ChannelTypes = 'x' | 'y' | 'x1' | 'y1' | 'series' | 'color' | 'opacity' | 'shape' | 'enterType' | 'enterEasing' | 'enterDuration' | 'enterDelay' | 'enter' | 'size' | 'tooltip' | 'title' | 'key' | 'groupKey' | 'label' | 'position' | 'series';
12
+ export type ChannelTypes = 'x' | 'y' | 'x1' | 'y1' | 'series' | 'color' | 'opacity' | 'shape' | 'enterType' | 'enterEasing' | 'enterDuration' | 'enterDelay' | 'enter' | 'size' | 'tooltip' | 'title' | 'key' | 'groupKey' | 'label' | 'position' | 'series' | `tooltip${number}`;
13
13
  export type BaseGeometry<T extends GeometryTypes, C extends string = ChannelTypes> = {
14
14
  type?: T | string;
15
15
  class?: string;
@@ -2,17 +2,33 @@ import { ChannelTypes } from 'spec';
2
2
  import { InteractionComponent } from '../runtime';
3
3
  import { ActiveRegionAction, PoptipAction, TooltipAction } from './action';
4
4
  import { FisheyeCoordinate } from './coordinate';
5
- export type Interaction = ElementHighlightInteraction | ElementHighlightByColorInteraction | ElementHighlightByXInteraction | ElementSelectByColorInteraction | ElementSelectByXInteraction | ElementSelectInteraction | TooltipInteraction | FisheyeInteraction | ChartIndex | CustomInteraction | LegendFilterInteraction;
6
- export type InteractionTypes = 'elementHighlight' | 'elementHighlightByX' | 'elementHighlightByColor' | 'fisheye' | 'chartIndex' | 'elementSelect' | 'elementSelectByX' | 'elementSelectByColor' | 'fisheye' | 'tooltip' | 'legendFilter' | InteractionComponent;
5
+ export type Interaction = ElementHighlightInteraction | ElementHighlightByColorInteraction | ElementHighlightByXInteraction | ElementSelectByColorInteraction | ElementSelectByXInteraction | ElementSelectInteraction | TooltipInteraction | FisheyeInteraction | ChartIndex | CustomInteraction | LegendFilterInteraction | BrushHighlightInteraction | BrushXHighlightInteraction | BrushYHighlightInteraction;
6
+ export type InteractionTypes = 'elementHighlight' | 'elementHighlightByX' | 'elementHighlightByColor' | 'fisheye' | 'chartIndex' | 'elementSelect' | 'elementSelectByX' | 'elementSelectByColor' | 'fisheye' | 'tooltip' | 'legendFilter' | 'brushXHighlight' | 'brushYHighlight' | 'brushHighlight' | InteractionComponent;
7
7
  export type BrushInteraction = {
8
8
  type?: 'brush';
9
9
  brushType?: 'rect' | 'rectX' | 'rectY' | 'polygon';
10
10
  };
11
11
  export type BrushHighlightInteraction = {
12
12
  type?: 'brushHighlight';
13
- brushType?: 'rect' | 'rectX' | 'rectY' | 'polygon';
14
- multiple?: boolean;
15
- };
13
+ reverse?: boolean;
14
+ shared?: boolean;
15
+ series?: boolean;
16
+ facet?: boolean;
17
+ } & Record<`${'mask' | 'highlighted' | 'unhighlighted'}${any}`, any>;
18
+ export type BrushXHighlightInteraction = {
19
+ type?: 'brushXHighlight';
20
+ reverse?: boolean;
21
+ shared?: boolean;
22
+ series?: boolean;
23
+ facet?: boolean;
24
+ } & Record<`${'mask' | 'highlighted' | 'unhighlighted'}${any}`, any>;
25
+ export type BrushYHighlightInteraction = {
26
+ type?: 'brushYHighlight';
27
+ reverse?: boolean;
28
+ shared?: boolean;
29
+ series?: boolean;
30
+ facet?: boolean;
31
+ } & Record<`${'mask' | 'highlighted' | 'unhighlighted'}${any}`, any>;
16
32
  export type BrushVisibleInteraction = {
17
33
  type?: 'brushVisible';
18
34
  brushType?: 'rect' | 'rectX' | 'rectY' | 'polygon';
@@ -1,17 +1,30 @@
1
- export type LabelTransform = HideOverlapLabelTransform | DodgeYLabelTransform;
2
- export type HideOverlapLabelTransform = {
3
- type?: 'hideOverlap';
1
+ import { DisplayObject } from '@antv/g';
2
+ export type LabelTransform = OverlapHideTransform | OverlapDodgeYTransform | ContrastReverseTransform | OverflowHideTransform;
3
+ export type OverlapHideTransform = {
4
+ type?: 'overlapHide';
5
+ /**
6
+ * The hide priority, is the comparator for label.sort().
7
+ */
8
+ priority?: (a: DisplayObject, b: DisplayObject) => number;
4
9
  };
5
- export type DodgeYLabelTransform = {
6
- type?: 'dodgeY';
7
- maxIter?: number;
10
+ export type OverlapDodgeYTransform = {
11
+ type?: 'overlapDodgeY';
12
+ maxIterations?: number;
8
13
  maxError?: number;
9
14
  padding?: number;
10
15
  };
11
- export type SpiderLabelTransform = {
12
- type?: 'spider';
13
- edgeDistance?: string | number;
16
+ export type ContrastReverseTransform = {
17
+ type: 'contrastReverse';
18
+ /**
19
+ * Transform when the contrast ratio < threshold.
20
+ * Default is `4.5`.
21
+ */
22
+ threshold?: number;
23
+ /**
24
+ * The optional color palette, default is [#000, #fff].
25
+ */
26
+ palette?: string[];
14
27
  };
15
- export type SurroundLabelTransform = {
16
- type?: 'surround';
28
+ export type OverflowHideTransform = {
29
+ type: 'overflowHide';
17
30
  };
@@ -1,12 +1,15 @@
1
1
  import { Theme as ThemeOptions, ThemeComponent } from '../runtime/types/component';
2
- export type Theme = LightTheme | DarkTheme | CustomTheme;
3
- export type ThemeTypes = 'light' | 'dark' | ThemeComponent;
2
+ export type Theme = LightTheme | DarkTheme | AcademyTheme | CustomTheme;
3
+ export type ThemeTypes = 'light' | 'dark' | 'academy' | ThemeComponent;
4
4
  export type LightTheme = {
5
5
  type?: 'light';
6
6
  } & ThemeOptions;
7
7
  export type DarkTheme = {
8
8
  type?: 'dark';
9
9
  } & ThemeOptions;
10
+ export type AcademyTheme = {
11
+ type?: 'academy';
12
+ } & ThemeOptions;
10
13
  export type CustomTheme = {
11
14
  type?: ThemeComponent;
12
15
  } & ThemeOptions;
@@ -19,7 +19,7 @@ const geo_1 = require("../geo");
19
19
  function createLibrary() {
20
20
  return Object.assign({ 'data.fetch': data_1.Fetch, 'data.inline': data_1.Inline, 'data.sortBy': data_1.SortBy, 'data.sort': data_1.Sort, 'data.filter': data_1.Filter, 'data.pick': data_1.Pick, 'data.rename': data_1.Rename, 'data.subset': data_1.Subset, 'data.fold': data_1.Fold, 'data.custom': data_1.Custom, 'data.map': data_1.Map, 'data.cluster': data_1.Cluster, 'data.tree': data_1.Tree, 'data.sankey': data_1.Sankey, 'data.arc': data_1.Arc, 'data.wordCloud': data_1.WordCloud, 'data.join': data_1.Join,
21
21
  // 'transform.voronoi': Voronoi,
22
- 'transform.maybeZeroY1': transform_1.MaybeZeroY1, 'transform.maybeZeroX': transform_1.MaybeZeroX, 'transform.maybeStackY': transform_1.MaybeStackY, 'transform.maybeTitle': transform_1.MaybeTitle, 'transform.maybeSeries': transform_1.MaybeSeries, 'transform.maybeZeroPadding': transform_1.MaybeZeroPadding, 'transform.stackY': transform_1.StackY, 'transform.binX': transform_1.BinX, 'transform.bin': transform_1.Bin, 'transform.dodgeX': transform_1.DodgeX, 'transform.jitter': transform_1.Jitter, 'transform.jitterX': transform_1.JitterX, 'transform.symmetryY': transform_1.SymmetryY, 'transform.diffY': transform_1.DiffY, 'transform.stackEnter': transform_1.StackEnter, 'transform.normalizeY': transform_1.NormalizeY, 'transform.select': transform_1.Select, 'transform.selectX': transform_1.SelectX, 'transform.selectY': transform_1.SelectY, 'transform.groupX': transform_1.GroupX, 'transform.groupY': transform_1.GroupY, 'transform.groupColor': transform_1.GroupColor, 'transform.group': transform_1.Group, 'transform.maybeSize': transform_1.MaybeSize, 'transform.maybeZeroY': transform_1.MaybeZeroY, 'transform.maybeKey': transform_1.MaybeKey, 'transform.sortX': transform_1.SortX, 'transform.sortY': transform_1.SortY, 'transform.sortColor': transform_1.SortColor, 'transform.flexX': transform_1.FlexX, 'transform.maybeTupleY': transform_1.MaybeTupleY, 'transform.maybeTupleX': transform_1.MaybeTupleX, 'transform.maybeIdentityY': transform_1.MaybeIdentityY, 'transform.maybeIdentityX': transform_1.MaybeIdentityX, 'transform.maybeTuple': transform_1.MaybeTuple, 'transform.maybeVisualPosition': transform_1.MaybeVisualPosition, 'transform.maybeFunctionAttribute': transform_1.MaybeFunctionAttribute, 'transform.maybeGradient': transform_1.MaybeGradient, 'transform.maybeTooltip': transform_1.MaybeTooltip, 'transform.pack': transform_1.Pack, 'transform.sample': transform_1.Sample, 'transform.filter': transform_1.Filter, 'coordinate.cartesian': coordinate_1.Cartesian, 'coordinate.polar': coordinate_1.Polar, 'coordinate.helix': coordinate_1.Helix, 'coordinate.transpose': coordinate_1.Transpose, 'coordinate.theta': coordinate_1.Theta, 'coordinate.reflect': coordinate_1.Reflect, 'coordinate.reflectX': coordinate_1.ReflectX, 'coordinate.reflectY': coordinate_1.ReflectY, 'coordinate.parallel': coordinate_1.Parallel, 'coordinate.fisheye': coordinate_1.Fisheye, 'coordinate.fisheyeX': coordinate_1.FisheyeX, 'coordinate.fisheyeY': coordinate_1.FisheyeY, 'coordinate.radial': coordinate_1.Radial, 'encode.constant': encode_1.Constant, 'encode.field': encode_1.Field, 'encode.transform': encode_1.Transform, 'encode.column': encode_1.Column, 'mark.interval': mark_1.Interval, 'mark.rect': mark_1.Rect, 'mark.line': mark_1.Line, 'mark.point': mark_1.Point, 'mark.text': mark_1.Text, 'mark.cell': mark_1.Cell, 'mark.area': mark_1.Area, 'mark.link': mark_1.Link, 'mark.image': mark_1.Image, 'mark.polygon': mark_1.Polygon, 'mark.box': mark_1.Box, 'mark.vector': mark_1.Vector, 'mark.lineX': mark_1.LineX, 'mark.lineY': mark_1.LineY, 'mark.connector': mark_1.Connector, 'mark.range': mark_1.Range, 'mark.rangeX': mark_1.RangeX, 'mark.rangeY': mark_1.RangeY, 'mark.sankey': mark_1.Sankey, 'mark.path': mark_1.Path, 'mark.treemap': mark_1.Treemap, 'mark.pack': mark_1.Pack, 'mark.boxplot': mark_1.Boxplot, 'mark.shape': mark_1.Shape, 'mark.forceGraph': mark_1.ForceGraph, 'mark.tree': mark_1.Tree, 'mark.wordCloud': mark_1.WordCloud, 'palette.category10': palette_1.Category10, 'palette.category20': palette_1.Category20, 'palette.sequentialBlue': palette_1.SequentialBlue, 'palette.sequentialDarkBlue': palette_1.SequentialDarkBlue, 'palette.sequentialGreen': palette_1.SequentialGreen, 'palette.sequentialDarkGreen': palette_1.SequentialDarkGreen, 'palette.sequentialGrey': palette_1.SequentialGrey, 'palette.sequentialOrange': palette_1.SequentialOrange, 'palette.sequentialPink': palette_1.SequentialPink, 'palette.sequentialRed': palette_1.SequentialRed, 'palette.sequentialYellow': palette_1.SequentialYellow, 'palette.sequentialPurple': palette_1.SequentialPurple, 'palette.sequentialYellowOrange': palette_1.SequentialYellowOrange, 'palette.sequentialYellowGreen': palette_1.SequentialYellowGreen, 'palette.sequentialPinkPurple': palette_1.SequentialPinkPurple, 'palette.sequentialGreenBlue': palette_1.SequentialGreenBlue, 'palette.divergingGreenYellow': palette_1.DivergingGreenYellow, 'palette.divergingRedBlue': palette_1.DivergingRedBlue, 'palette.divergingGreenRed': palette_1.DivergingGreenRed, 'palette.divergingRedPurple': palette_1.DivergingRedPurple, 'scale.linear': scale_1.Linear, 'scale.ordinal': scale_1.Ordinal, 'scale.band': scale_1.Band, 'scale.identity': scale_1.Identity, 'scale.point': scale_1.Point, 'scale.time': scale_1.Time, 'scale.log': scale_1.Log, 'scale.pow': scale_1.Pow, 'scale.sqrt': scale_1.Sqrt, 'scale.threshold': scale_1.Threshold, 'scale.quantile': scale_1.Quantile, 'scale.quantize': scale_1.Quantize, 'scale.sequential': scale_1.Sequential, 'shape.interval.rect': shape_1.Rect, 'shape.interval.hollow': shape_1.HollowRect, 'shape.interval.funnel': shape_1.Funnel, 'shape.interval.pyramid': shape_1.Pyramid, 'shape.rect.rect': shape_1.Rect, 'shape.rect.hollow': shape_1.HollowRect, 'shape.cell.cell': shape_1.Rect, 'shape.cell.hollow': shape_1.HollowRect, 'shape.line.line': shape_1.Line, 'shape.line.hv': shape_1.HV, 'shape.line.vh': shape_1.VH, 'shape.line.hvh': shape_1.HVH, 'shape.line.smooth': shape_1.Smooth, 'shape.point.bowtie': shape_1.Bowtie, 'shape.point.cross': shape_1.Cross, 'shape.point.diamond': shape_1.Diamond, 'shape.point.hexagon': shape_1.Hexagon, 'shape.point.hollowBowtie': shape_1.HollowBowtie, 'shape.point.hollowDiamond': shape_1.HollowDiamond, 'shape.point.hollowHexagon': shape_1.HollowHexagon, 'shape.point.hollow': shape_1.HollowPoint, 'shape.point.hollowSquare': shape_1.HollowSquare, 'shape.point.hollowTriangle': shape_1.HollowTriangle, 'shape.point.hollowTriangleDown': shape_1.HollowTriangleDown, 'shape.point.hyphen': shape_1.Hyphen, 'shape.point.line': shape_1.LinePoint, 'shape.point.plus': shape_1.Plus, 'shape.point.point': shape_1.Point, 'shape.point.square': shape_1.Square, 'shape.point.tick': shape_1.Tick, 'shape.point.triangle': shape_1.Triangle, 'shape.point.triangleDown': shape_1.TriangleDown, 'shape.text.text': shape_1.Text, 'shape.area.area': shape_1.Area, 'shape.area.smooth': shape_1.SmoothArea, 'shape.area.step': shape_1.Step, 'shape.link.smooth': shape_1.SmoothEdge, 'shape.link.vhv': shape_1.VHVEdge, 'shape.link.arc': shape_1.Arc, 'shape.link.link': shape_1.Link, 'shape.image.image': shape_1.Image, 'shape.polygon.polygon': shape_1.Polygon, 'shape.polygon.ribbon': shape_1.Ribbon, 'shape.box.box': shape_1.Box, 'shape.vector.vector': shape_1.Vector, 'shape.label.label': shape_1.Label, 'shape.text.badge': shape_1.Badge, 'shape.lineX.line': shape_1.LineXY, 'shape.lineY.line': shape_1.LineXY, 'shape.shape.shape': shape_1.Shape, 'shape.connector.connector': shape_1.Connector, 'shape.range.range': shape_1.Rect, 'shape.rangeX.range': shape_1.Rect, 'shape.rangeY.range': shape_1.Rect, 'shape.path.path': shape_1.Path, 'shape.path.hollow': shape_1.HollowPath, 'theme.light': theme_1.Light, 'theme.dark': theme_1.Dark, 'component.axisX': component_1.AxisX, 'component.axisY': component_1.AxisY, 'component.legendCategory': component_1.LegendCategory, 'component.legendContinuous': component_1.LegendContinuous, 'component.title': component_1.TitleComponent, 'component.sliderX': component_1.SliderX, 'component.sliderY': component_1.SliderY, 'animation.scaleInX': animation_1.ScaleInX, 'animation.scaleOutX': animation_1.ScaleOutX, 'animation.scaleInY': animation_1.ScaleInY, 'animation.scaleOutY': animation_1.ScaleOutY, 'animation.waveIn': animation_1.WaveIn, 'animation.fadeIn': animation_1.FadeIn, 'animation.fadeOut': animation_1.FadeOut, 'animation.zoomIn': animation_1.ZoomIn, 'animation.zoomOut': animation_1.ZoomOut, 'animation.pathIn': animation_1.PathIn, 'animation.morphing': animation_1.Morphing, 'animation.growInX': animation_1.GrowInX, 'animation.growInY': animation_1.GrowInY, 'interaction.elementHighlight': interaction_1.ElementHighlight, 'interaction.elementHighlightByX': interaction_1.ElementHighlightByX, 'interaction.elementHighlightByColor': interaction_1.ElementHighlightByColor, 'interaction.elementSelect': interaction_1.ElementSelect, 'interaction.elementSelectByX': interaction_1.ElementSelectByX, 'interaction.elementSelectByColor': interaction_1.ElementSelectByColor, 'interaction.fisheye': interaction_1.Fisheye, 'interaction.chartIndex': interaction_1.ChartIndex, 'interaction.tooltip': interaction_1.Tooltip, 'interaction.legendFilter': interaction_1.LegendFilter,
22
+ 'transform.maybeZeroY1': transform_1.MaybeZeroY1, 'transform.maybeZeroX': transform_1.MaybeZeroX, 'transform.maybeStackY': transform_1.MaybeStackY, 'transform.maybeTitle': transform_1.MaybeTitle, 'transform.maybeSeries': transform_1.MaybeSeries, 'transform.maybeZeroPadding': transform_1.MaybeZeroPadding, 'transform.stackY': transform_1.StackY, 'transform.binX': transform_1.BinX, 'transform.bin': transform_1.Bin, 'transform.dodgeX': transform_1.DodgeX, 'transform.jitter': transform_1.Jitter, 'transform.jitterX': transform_1.JitterX, 'transform.symmetryY': transform_1.SymmetryY, 'transform.diffY': transform_1.DiffY, 'transform.stackEnter': transform_1.StackEnter, 'transform.normalizeY': transform_1.NormalizeY, 'transform.select': transform_1.Select, 'transform.selectX': transform_1.SelectX, 'transform.selectY': transform_1.SelectY, 'transform.groupX': transform_1.GroupX, 'transform.groupY': transform_1.GroupY, 'transform.groupColor': transform_1.GroupColor, 'transform.group': transform_1.Group, 'transform.maybeSize': transform_1.MaybeSize, 'transform.maybeZeroY': transform_1.MaybeZeroY, 'transform.maybeKey': transform_1.MaybeKey, 'transform.sortX': transform_1.SortX, 'transform.sortY': transform_1.SortY, 'transform.sortColor': transform_1.SortColor, 'transform.flexX': transform_1.FlexX, 'transform.maybeTupleY': transform_1.MaybeTupleY, 'transform.maybeTupleX': transform_1.MaybeTupleX, 'transform.maybeIdentityY': transform_1.MaybeIdentityY, 'transform.maybeIdentityX': transform_1.MaybeIdentityX, 'transform.maybeTuple': transform_1.MaybeTuple, 'transform.maybeVisualPosition': transform_1.MaybeVisualPosition, 'transform.maybeFunctionAttribute': transform_1.MaybeFunctionAttribute, 'transform.maybeGradient': transform_1.MaybeGradient, 'transform.maybeTooltip': transform_1.MaybeTooltip, 'transform.pack': transform_1.Pack, 'transform.sample': transform_1.Sample, 'transform.filter': transform_1.Filter, 'coordinate.cartesian': coordinate_1.Cartesian, 'coordinate.polar': coordinate_1.Polar, 'coordinate.helix': coordinate_1.Helix, 'coordinate.transpose': coordinate_1.Transpose, 'coordinate.theta': coordinate_1.Theta, 'coordinate.reflect': coordinate_1.Reflect, 'coordinate.reflectX': coordinate_1.ReflectX, 'coordinate.reflectY': coordinate_1.ReflectY, 'coordinate.parallel': coordinate_1.Parallel, 'coordinate.fisheye': coordinate_1.Fisheye, 'coordinate.fisheyeX': coordinate_1.FisheyeX, 'coordinate.fisheyeY': coordinate_1.FisheyeY, 'coordinate.radial': coordinate_1.Radial, 'encode.constant': encode_1.Constant, 'encode.field': encode_1.Field, 'encode.transform': encode_1.Transform, 'encode.column': encode_1.Column, 'mark.interval': mark_1.Interval, 'mark.rect': mark_1.Rect, 'mark.line': mark_1.Line, 'mark.point': mark_1.Point, 'mark.text': mark_1.Text, 'mark.cell': mark_1.Cell, 'mark.area': mark_1.Area, 'mark.link': mark_1.Link, 'mark.image': mark_1.Image, 'mark.polygon': mark_1.Polygon, 'mark.box': mark_1.Box, 'mark.vector': mark_1.Vector, 'mark.lineX': mark_1.LineX, 'mark.lineY': mark_1.LineY, 'mark.connector': mark_1.Connector, 'mark.range': mark_1.Range, 'mark.rangeX': mark_1.RangeX, 'mark.rangeY': mark_1.RangeY, 'mark.sankey': mark_1.Sankey, 'mark.path': mark_1.Path, 'mark.treemap': mark_1.Treemap, 'mark.pack': mark_1.Pack, 'mark.boxplot': mark_1.Boxplot, 'mark.shape': mark_1.Shape, 'mark.forceGraph': mark_1.ForceGraph, 'mark.tree': mark_1.Tree, 'mark.wordCloud': mark_1.WordCloud, 'palette.category10': palette_1.Category10, 'palette.category20': palette_1.Category20, 'palette.sequentialBlue': palette_1.SequentialBlue, 'palette.sequentialDarkBlue': palette_1.SequentialDarkBlue, 'palette.sequentialGreen': palette_1.SequentialGreen, 'palette.sequentialDarkGreen': palette_1.SequentialDarkGreen, 'palette.sequentialGrey': palette_1.SequentialGrey, 'palette.sequentialOrange': palette_1.SequentialOrange, 'palette.sequentialPink': palette_1.SequentialPink, 'palette.sequentialRed': palette_1.SequentialRed, 'palette.sequentialYellow': palette_1.SequentialYellow, 'palette.sequentialPurple': palette_1.SequentialPurple, 'palette.sequentialYellowOrange': palette_1.SequentialYellowOrange, 'palette.sequentialYellowGreen': palette_1.SequentialYellowGreen, 'palette.sequentialPinkPurple': palette_1.SequentialPinkPurple, 'palette.sequentialGreenBlue': palette_1.SequentialGreenBlue, 'palette.divergingGreenYellow': palette_1.DivergingGreenYellow, 'palette.divergingRedBlue': palette_1.DivergingRedBlue, 'palette.divergingGreenRed': palette_1.DivergingGreenRed, 'palette.divergingRedPurple': palette_1.DivergingRedPurple, 'scale.linear': scale_1.Linear, 'scale.ordinal': scale_1.Ordinal, 'scale.band': scale_1.Band, 'scale.identity': scale_1.Identity, 'scale.point': scale_1.Point, 'scale.time': scale_1.Time, 'scale.log': scale_1.Log, 'scale.pow': scale_1.Pow, 'scale.sqrt': scale_1.Sqrt, 'scale.threshold': scale_1.Threshold, 'scale.quantile': scale_1.Quantile, 'scale.quantize': scale_1.Quantize, 'scale.sequential': scale_1.Sequential, 'shape.interval.rect': shape_1.Rect, 'shape.interval.hollow': shape_1.HollowRect, 'shape.interval.funnel': shape_1.Funnel, 'shape.interval.pyramid': shape_1.Pyramid, 'shape.rect.rect': shape_1.Rect, 'shape.rect.hollow': shape_1.HollowRect, 'shape.cell.cell': shape_1.Rect, 'shape.cell.hollow': shape_1.HollowRect, 'shape.line.line': shape_1.Line, 'shape.line.hv': shape_1.HV, 'shape.line.vh': shape_1.VH, 'shape.line.hvh': shape_1.HVH, 'shape.line.smooth': shape_1.Smooth, 'shape.point.bowtie': shape_1.Bowtie, 'shape.point.cross': shape_1.Cross, 'shape.point.diamond': shape_1.Diamond, 'shape.point.hexagon': shape_1.Hexagon, 'shape.point.hollowBowtie': shape_1.HollowBowtie, 'shape.point.hollowDiamond': shape_1.HollowDiamond, 'shape.point.hollowHexagon': shape_1.HollowHexagon, 'shape.point.hollow': shape_1.HollowPoint, 'shape.point.hollowSquare': shape_1.HollowSquare, 'shape.point.hollowTriangle': shape_1.HollowTriangle, 'shape.point.hollowTriangleDown': shape_1.HollowTriangleDown, 'shape.point.hyphen': shape_1.Hyphen, 'shape.point.line': shape_1.LinePoint, 'shape.point.plus': shape_1.Plus, 'shape.point.point': shape_1.Point, 'shape.point.square': shape_1.Square, 'shape.point.tick': shape_1.Tick, 'shape.point.triangle': shape_1.Triangle, 'shape.point.triangleDown': shape_1.TriangleDown, 'shape.text.text': shape_1.Text, 'shape.area.area': shape_1.Area, 'shape.area.smooth': shape_1.SmoothArea, 'shape.area.step': shape_1.Step, 'shape.link.smooth': shape_1.SmoothEdge, 'shape.link.vhv': shape_1.VHVEdge, 'shape.link.arc': shape_1.Arc, 'shape.link.link': shape_1.Link, 'shape.image.image': shape_1.Image, 'shape.polygon.polygon': shape_1.Polygon, 'shape.polygon.ribbon': shape_1.Ribbon, 'shape.box.box': shape_1.Box, 'shape.vector.vector': shape_1.Vector, 'shape.label.label': shape_1.Label, 'shape.text.badge': shape_1.Badge, 'shape.lineX.line': shape_1.LineXY, 'shape.lineY.line': shape_1.LineXY, 'shape.shape.shape': shape_1.Shape, 'shape.connector.connector': shape_1.Connector, 'shape.range.range': shape_1.Rect, 'shape.rangeX.range': shape_1.Rect, 'shape.rangeY.range': shape_1.Rect, 'shape.path.path': shape_1.Path, 'shape.path.hollow': shape_1.HollowPath, 'theme.light': theme_1.Light, 'theme.dark': theme_1.Dark, 'theme.academy': theme_1.Academy, 'component.axisX': component_1.AxisX, 'component.axisY': component_1.AxisY, 'component.legendCategory': component_1.LegendCategory, 'component.legendContinuous': component_1.LegendContinuous, 'component.title': component_1.TitleComponent, 'component.sliderX': component_1.SliderX, 'component.sliderY': component_1.SliderY, 'animation.scaleInX': animation_1.ScaleInX, 'animation.scaleOutX': animation_1.ScaleOutX, 'animation.scaleInY': animation_1.ScaleInY, 'animation.scaleOutY': animation_1.ScaleOutY, 'animation.waveIn': animation_1.WaveIn, 'animation.fadeIn': animation_1.FadeIn, 'animation.fadeOut': animation_1.FadeOut, 'animation.zoomIn': animation_1.ZoomIn, 'animation.zoomOut': animation_1.ZoomOut, 'animation.pathIn': animation_1.PathIn, 'animation.morphing': animation_1.Morphing, 'animation.growInX': animation_1.GrowInX, 'animation.growInY': animation_1.GrowInY, 'interaction.elementHighlight': interaction_1.ElementHighlight, 'interaction.elementHighlightByX': interaction_1.ElementHighlightByX, 'interaction.elementHighlightByColor': interaction_1.ElementHighlightByColor, 'interaction.elementSelect': interaction_1.ElementSelect, 'interaction.elementSelectByX': interaction_1.ElementSelectByX, 'interaction.elementSelectByColor': interaction_1.ElementSelectByColor, 'interaction.fisheye': interaction_1.Fisheye, 'interaction.chartIndex': interaction_1.ChartIndex, 'interaction.tooltip': interaction_1.Tooltip, 'interaction.legendFilter': interaction_1.LegendFilter, 'interaction.brushHighlight': interaction_1.BrushHighlight, 'interaction.brushXHighlight': interaction_1.BrushXHighlight, 'interaction.brushYHighlight': interaction_1.BrushYHighlight,
23
23
  // 'interaction.elementSelected': ElementSelected,
24
24
  // 'interaction.elementHighlight': ElementHighlight,
25
25
  // 'interaction.elementHighlightByX': ElementHighlightByX,
@@ -30,11 +30,10 @@ function createLibrary() {
30
30
  // 'interaction.tooltip': Tooltip,
31
31
  // 'interaction.fisheye': FisheyeInteraction,
32
32
  // 'interaction.brush': Brush,
33
- // 'interaction.brushHighlight': BrushHighlight,
34
33
  // 'interaction.brushVisible': BrushVisible,
35
34
  // 'interaction.activeRegion': ActiveRegion,
36
35
  // 'interaction.ellipsisText': EllipsisText,
37
- 'composition.spaceLayer': composition_1.SpaceLayer, 'composition.spaceFlex': composition_1.SpaceFlex, 'composition.mark': composition_1.Mark, 'composition.view': composition_1.View, 'composition.facetRect': composition_1.FacetRect, 'composition.repeatMatrix': composition_1.RepeatMatrix, 'composition.facetCircle': composition_1.FacetCircle, 'composition.timingKeyframe': composition_1.TimingKeyframe, 'labelTransform.hideOverlap': label_transform_1.HideOverlap, 'labelTransform.dodgeY': label_transform_1.DodgeY, 'labelTransform.spider': label_transform_1.Spider, 'labelTransform.surround': label_transform_1.Surround }, geo_1.geoLibrary);
36
+ 'composition.spaceLayer': composition_1.SpaceLayer, 'composition.spaceFlex': composition_1.SpaceFlex, 'composition.mark': composition_1.Mark, 'composition.view': composition_1.View, 'composition.facetRect': composition_1.FacetRect, 'composition.repeatMatrix': composition_1.RepeatMatrix, 'composition.facetCircle': composition_1.FacetCircle, 'composition.timingKeyframe': composition_1.TimingKeyframe, 'labelTransform.overlapHide': label_transform_1.OverlapHide, 'labelTransform.overlapDodgeY': label_transform_1.OverlapDodgeY, 'labelTransform.overflowHide': label_transform_1.OverflowHide, 'labelTransform.contrastReverse': label_transform_1.ContrastReverse }, geo_1.geoLibrary);
38
37
  }
39
38
  exports.createLibrary = createLibrary;
40
39
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"src/","sources":["stdlib/index.ts"],"names":[],"mappings":";;;AACA,8CAcuB;AACvB,sCAA+D;AAC/D,kCA4BiB;AACjB,wCAqBoB;AACpB,oCAckB;AAClB,oCAiDkB;AAClB,oCAAuC;AACvC,4CAQsB;AACtB,4CAcsB;AACtB,gDAyBwB;AACxB,gDASwB;AACxB,4CA2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4C;QAC5C,wBAAwB,EAAE,wBAAU,EACpC,uBAAuB,EAAE,uBAAS,EAClC,kBAAkB,EAAE,kBAAI,EACxB,kBAAkB,EAAE,kBAAI,EACxB,uBAAuB,EAAE,uBAAS,EAClC,0BAA0B,EAAE,0BAAY,EACxC,yBAAyB,EAAE,yBAAW,EACtC,4BAA4B,EAAE,4BAAc,EAC5C,4BAA4B,EAAE,6BAAW,EACzC,8BAA8B,EAAE,+BAAa,EAC7C,6BAA6B,EAAE,8BAAY,EAC3C,gCAAgC,EAAE,iCAAe,IAC9C,gBAAU,EACb;AACJ,CAAC;AAnQD,sCAmQC"}
@@ -0,0 +1,3 @@
1
+ import { ThemeComponent as TC, Theme } from '../runtime';
2
+ export type AcademyOptions = Theme;
3
+ export declare const Academy: TC<AcademyOptions>;