@veritone-ce/design-system 2.8.13-next.1 → 2.8.13

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 (694) hide show
  1. package/dist/cjs/Dialog/components.js +90 -29
  2. package/dist/cjs/Dialog/state.js +8 -2
  3. package/dist/cjs/Dialog/styles.module.scss.js +2 -2
  4. package/dist/cjs/FileUploader/controlled.js +0 -7
  5. package/dist/cjs/Menu/controlled.js +77 -2
  6. package/dist/cjs/Select/controlled.js +3 -0
  7. package/dist/cjs/Table/AutoTable/controlled.js +1 -2
  8. package/dist/cjs/Table/AutoTable/styles.module.scss.js +1 -1
  9. package/dist/cjs/TablePagination/index.js +8 -21
  10. package/dist/cjs/index.js +0 -11
  11. package/dist/cjs/styles/createPalette.js +0 -11
  12. package/dist/cjs/styles.css +1 -1
  13. package/dist/cjs/unstable/Card/index.js +33 -0
  14. package/dist/cjs/unstable/Card/styles.module.scss.js +1 -1
  15. package/dist/cjs/unstable/index.js +13 -39
  16. package/dist/esm/Dialog/components.js +89 -28
  17. package/dist/esm/Dialog/state.js +8 -2
  18. package/dist/esm/Dialog/styles.module.scss.js +2 -2
  19. package/dist/esm/FileUploader/controlled.js +0 -7
  20. package/dist/esm/Menu/controlled.js +77 -2
  21. package/dist/esm/Select/controlled.js +3 -0
  22. package/dist/esm/Table/AutoTable/controlled.js +1 -2
  23. package/dist/esm/Table/AutoTable/styles.module.scss.js +1 -1
  24. package/dist/esm/TablePagination/index.js +8 -21
  25. package/dist/esm/index.js +1 -1
  26. package/dist/esm/styles/createPalette.js +1 -1
  27. package/dist/esm/styles.css +1 -1
  28. package/dist/esm/unstable/Card/index.js +29 -0
  29. package/dist/esm/unstable/Card/styles.module.scss.js +1 -1
  30. package/dist/esm/unstable/index.js +1 -5
  31. package/dist/types/Dialog/components.d.ts +20 -27
  32. package/dist/types/Dialog/factory.d.ts +5 -4
  33. package/dist/types/Dialog/state.d.ts +15 -1
  34. package/dist/types/Menu/controlled.d.ts +9 -1
  35. package/dist/types/Select/types.d.ts +8 -0
  36. package/dist/types/TablePagination/index.d.ts +1 -1
  37. package/dist/types/styles/createPalette.d.ts +2 -13
  38. package/dist/types/unstable/Card/index.d.ts +11 -2
  39. package/dist/types/unstable/extras/chart/index.d.ts +33 -15
  40. package/dist/types/unstable/index.d.ts +0 -3
  41. package/package.json +7 -1
  42. package/dist/cjs/bundled_modules/d3-array/src/ascending.js +0 -9
  43. package/dist/cjs/bundled_modules/d3-array/src/bisect.js +0 -16
  44. package/dist/cjs/bundled_modules/d3-array/src/bisector.js +0 -62
  45. package/dist/cjs/bundled_modules/d3-array/src/descending.js +0 -13
  46. package/dist/cjs/bundled_modules/d3-array/src/deviation.js +0 -12
  47. package/dist/cjs/bundled_modules/d3-array/src/fsum.js +0 -45
  48. package/dist/cjs/bundled_modules/d3-array/src/intersection.js +0 -25
  49. package/dist/cjs/bundled_modules/d3-array/src/max.js +0 -26
  50. package/dist/cjs/bundled_modules/d3-array/src/mean.js +0 -25
  51. package/dist/cjs/bundled_modules/d3-array/src/median.js +0 -11
  52. package/dist/cjs/bundled_modules/d3-array/src/merge.js +0 -15
  53. package/dist/cjs/bundled_modules/d3-array/src/min.js +0 -26
  54. package/dist/cjs/bundled_modules/d3-array/src/number.js +0 -27
  55. package/dist/cjs/bundled_modules/d3-array/src/permute.js +0 -9
  56. package/dist/cjs/bundled_modules/d3-array/src/quantile.js +0 -36
  57. package/dist/cjs/bundled_modules/d3-array/src/quickselect.js +0 -59
  58. package/dist/cjs/bundled_modules/d3-array/src/range.js +0 -19
  59. package/dist/cjs/bundled_modules/d3-array/src/sort.js +0 -20
  60. package/dist/cjs/bundled_modules/d3-array/src/sum.js +0 -17
  61. package/dist/cjs/bundled_modules/d3-array/src/ticks.js +0 -63
  62. package/dist/cjs/bundled_modules/d3-array/src/union.js +0 -17
  63. package/dist/cjs/bundled_modules/d3-array/src/variance.js +0 -31
  64. package/dist/cjs/bundled_modules/d3-color/src/color.js +0 -410
  65. package/dist/cjs/bundled_modules/d3-color/src/cubehelix.js +0 -68
  66. package/dist/cjs/bundled_modules/d3-color/src/define.js +0 -17
  67. package/dist/cjs/bundled_modules/d3-color/src/lab.js +0 -124
  68. package/dist/cjs/bundled_modules/d3-color/src/math.js +0 -7
  69. package/dist/cjs/bundled_modules/d3-delaunay/src/delaunay.js +0 -254
  70. package/dist/cjs/bundled_modules/d3-delaunay/src/path.js +0 -43
  71. package/dist/cjs/bundled_modules/d3-delaunay/src/polygon.js +0 -23
  72. package/dist/cjs/bundled_modules/d3-delaunay/src/voronoi.js +0 -338
  73. package/dist/cjs/bundled_modules/d3-dispatch/src/dispatch.js +0 -88
  74. package/dist/cjs/bundled_modules/d3-dsv/src/dsv.js +0 -170
  75. package/dist/cjs/bundled_modules/d3-force/src/center.js +0 -46
  76. package/dist/cjs/bundled_modules/d3-force/src/collide.js +0 -106
  77. package/dist/cjs/bundled_modules/d3-force/src/constant.js +0 -11
  78. package/dist/cjs/bundled_modules/d3-force/src/jiggle.js +0 -9
  79. package/dist/cjs/bundled_modules/d3-force/src/lcg.js +0 -15
  80. package/dist/cjs/bundled_modules/d3-force/src/link.js +0 -123
  81. package/dist/cjs/bundled_modules/d3-force/src/manyBody.js +0 -122
  82. package/dist/cjs/bundled_modules/d3-force/src/simulation.js +0 -164
  83. package/dist/cjs/bundled_modules/d3-force/src/x.js +0 -47
  84. package/dist/cjs/bundled_modules/d3-force/src/y.js +0 -47
  85. package/dist/cjs/bundled_modules/d3-format/src/defaultLocale.js +0 -24
  86. package/dist/cjs/bundled_modules/d3-format/src/exponent.js +0 -11
  87. package/dist/cjs/bundled_modules/d3-format/src/formatDecimal.js +0 -27
  88. package/dist/cjs/bundled_modules/d3-format/src/formatGroup.js +0 -24
  89. package/dist/cjs/bundled_modules/d3-format/src/formatNumerals.js +0 -13
  90. package/dist/cjs/bundled_modules/d3-format/src/formatPrefixAuto.js +0 -22
  91. package/dist/cjs/bundled_modules/d3-format/src/formatRounded.js +0 -17
  92. package/dist/cjs/bundled_modules/d3-format/src/formatSpecifier.js +0 -54
  93. package/dist/cjs/bundled_modules/d3-format/src/formatTrim.js +0 -17
  94. package/dist/cjs/bundled_modules/d3-format/src/formatTypes.js +0 -25
  95. package/dist/cjs/bundled_modules/d3-format/src/identity.js +0 -9
  96. package/dist/cjs/bundled_modules/d3-format/src/locale.js +0 -154
  97. package/dist/cjs/bundled_modules/d3-format/src/precisionFixed.js +0 -11
  98. package/dist/cjs/bundled_modules/d3-format/src/precisionPrefix.js +0 -11
  99. package/dist/cjs/bundled_modules/d3-format/src/precisionRound.js +0 -12
  100. package/dist/cjs/bundled_modules/d3-geo/src/area.js +0 -83
  101. package/dist/cjs/bundled_modules/d3-geo/src/bounds.js +0 -185
  102. package/dist/cjs/bundled_modules/d3-geo/src/cartesian.js +0 -43
  103. package/dist/cjs/bundled_modules/d3-geo/src/centroid.js +0 -149
  104. package/dist/cjs/bundled_modules/d3-geo/src/circle.js +0 -35
  105. package/dist/cjs/bundled_modules/d3-geo/src/clip/antimeridian.js +0 -98
  106. package/dist/cjs/bundled_modules/d3-geo/src/clip/buffer.js +0 -30
  107. package/dist/cjs/bundled_modules/d3-geo/src/clip/circle.js +0 -183
  108. package/dist/cjs/bundled_modules/d3-geo/src/clip/index.js +0 -137
  109. package/dist/cjs/bundled_modules/d3-geo/src/clip/line.js +0 -65
  110. package/dist/cjs/bundled_modules/d3-geo/src/clip/rectangle.js +0 -174
  111. package/dist/cjs/bundled_modules/d3-geo/src/clip/rejoin.js +0 -109
  112. package/dist/cjs/bundled_modules/d3-geo/src/compose.js +0 -18
  113. package/dist/cjs/bundled_modules/d3-geo/src/graticule.js +0 -107
  114. package/dist/cjs/bundled_modules/d3-geo/src/identity.js +0 -7
  115. package/dist/cjs/bundled_modules/d3-geo/src/math.js +0 -57
  116. package/dist/cjs/bundled_modules/d3-geo/src/noop.js +0 -7
  117. package/dist/cjs/bundled_modules/d3-geo/src/path/area.js +0 -54
  118. package/dist/cjs/bundled_modules/d3-geo/src/path/bounds.js +0 -32
  119. package/dist/cjs/bundled_modules/d3-geo/src/path/centroid.js +0 -104
  120. package/dist/cjs/bundled_modules/d3-geo/src/path/context.js +0 -51
  121. package/dist/cjs/bundled_modules/d3-geo/src/path/index.js +0 -82
  122. package/dist/cjs/bundled_modules/d3-geo/src/path/measure.js +0 -49
  123. package/dist/cjs/bundled_modules/d3-geo/src/path/string.js +0 -92
  124. package/dist/cjs/bundled_modules/d3-geo/src/pointEqual.js +0 -11
  125. package/dist/cjs/bundled_modules/d3-geo/src/polygonContains.js +0 -80
  126. package/dist/cjs/bundled_modules/d3-geo/src/projection/albers.js +0 -16
  127. package/dist/cjs/bundled_modules/d3-geo/src/projection/albersUsa.js +0 -117
  128. package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthal.js +0 -32
  129. package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -24
  130. package/dist/cjs/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -24
  131. package/dist/cjs/bundled_modules/d3-geo/src/projection/conic.js +0 -19
  132. package/dist/cjs/bundled_modules/d3-geo/src/projection/conicConformal.js +0 -45
  133. package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEqualArea.js +0 -40
  134. package/dist/cjs/bundled_modules/d3-geo/src/projection/conicEquidistant.js +0 -39
  135. package/dist/cjs/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -19
  136. package/dist/cjs/bundled_modules/d3-geo/src/projection/equalEarth.js +0 -43
  137. package/dist/cjs/bundled_modules/d3-geo/src/projection/equirectangular.js +0 -19
  138. package/dist/cjs/bundled_modules/d3-geo/src/projection/fit.js +0 -54
  139. package/dist/cjs/bundled_modules/d3-geo/src/projection/gnomonic.js +0 -23
  140. package/dist/cjs/bundled_modules/d3-geo/src/projection/identity.js +0 -91
  141. package/dist/cjs/bundled_modules/d3-geo/src/projection/index.js +0 -184
  142. package/dist/cjs/bundled_modules/d3-geo/src/projection/mercator.js +0 -60
  143. package/dist/cjs/bundled_modules/d3-geo/src/projection/naturalEarth1.js +0 -35
  144. package/dist/cjs/bundled_modules/d3-geo/src/projection/orthographic.js +0 -22
  145. package/dist/cjs/bundled_modules/d3-geo/src/projection/resample.js +0 -108
  146. package/dist/cjs/bundled_modules/d3-geo/src/projection/stereographic.js +0 -25
  147. package/dist/cjs/bundled_modules/d3-geo/src/projection/transverseMercator.js +0 -34
  148. package/dist/cjs/bundled_modules/d3-geo/src/rotation.js +0 -86
  149. package/dist/cjs/bundled_modules/d3-geo/src/stream.js +0 -75
  150. package/dist/cjs/bundled_modules/d3-geo/src/transform.js +0 -24
  151. package/dist/cjs/bundled_modules/d3-geo-projection/src/math.js +0 -28
  152. package/dist/cjs/bundled_modules/d3-geo-projection/src/mollweide.js +0 -38
  153. package/dist/cjs/bundled_modules/d3-hierarchy/src/accessors.js +0 -13
  154. package/dist/cjs/bundled_modules/d3-hierarchy/src/array.js +0 -27
  155. package/dist/cjs/bundled_modules/d3-hierarchy/src/cluster.js +0 -90
  156. package/dist/cjs/bundled_modules/d3-hierarchy/src/constant.js +0 -16
  157. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +0 -13
  158. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/count.js +0 -18
  159. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +0 -9
  160. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/each.js +0 -13
  161. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +0 -21
  162. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +0 -18
  163. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/find.js +0 -14
  164. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/index.js +0 -99
  165. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +0 -20
  166. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +0 -15
  167. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/links.js +0 -15
  168. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/path.js +0 -36
  169. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +0 -13
  170. package/dist/cjs/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +0 -15
  171. package/dist/cjs/bundled_modules/d3-hierarchy/src/lcg.js +0 -15
  172. package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/enclose.js +0 -122
  173. package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/index.js +0 -87
  174. package/dist/cjs/bundled_modules/d3-hierarchy/src/pack/siblings.js +0 -118
  175. package/dist/cjs/bundled_modules/d3-hierarchy/src/partition.js +0 -58
  176. package/dist/cjs/bundled_modules/d3-hierarchy/src/stratify.js +0 -151
  177. package/dist/cjs/bundled_modules/d3-hierarchy/src/tree.js +0 -243
  178. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/binary.js +0 -52
  179. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/dice.js +0 -18
  180. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/index.js +0 -100
  181. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +0 -42
  182. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/round.js +0 -12
  183. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/slice.js +0 -18
  184. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +0 -12
  185. package/dist/cjs/bundled_modules/d3-hierarchy/src/treemap/squarify.js +0 -74
  186. package/dist/cjs/bundled_modules/d3-interpolate/src/array.js +0 -29
  187. package/dist/cjs/bundled_modules/d3-interpolate/src/basis.js +0 -26
  188. package/dist/cjs/bundled_modules/d3-interpolate/src/basisClosed.js +0 -19
  189. package/dist/cjs/bundled_modules/d3-interpolate/src/color.js +0 -37
  190. package/dist/cjs/bundled_modules/d3-interpolate/src/constant.js +0 -7
  191. package/dist/cjs/bundled_modules/d3-interpolate/src/cubehelix.js +0 -36
  192. package/dist/cjs/bundled_modules/d3-interpolate/src/date.js +0 -12
  193. package/dist/cjs/bundled_modules/d3-interpolate/src/discrete.js +0 -12
  194. package/dist/cjs/bundled_modules/d3-interpolate/src/hcl.js +0 -28
  195. package/dist/cjs/bundled_modules/d3-interpolate/src/hsl.js +0 -28
  196. package/dist/cjs/bundled_modules/d3-interpolate/src/hue.js +0 -15
  197. package/dist/cjs/bundled_modules/d3-interpolate/src/index.js +0 -53
  198. package/dist/cjs/bundled_modules/d3-interpolate/src/lab.js +0 -22
  199. package/dist/cjs/bundled_modules/d3-interpolate/src/number.js +0 -11
  200. package/dist/cjs/bundled_modules/d3-interpolate/src/numberArray.js +0 -21
  201. package/dist/cjs/bundled_modules/d3-interpolate/src/object.js +0 -29
  202. package/dist/cjs/bundled_modules/d3-interpolate/src/piecewise.js +0 -17
  203. package/dist/cjs/bundled_modules/d3-interpolate/src/quantize.js +0 -11
  204. package/dist/cjs/bundled_modules/d3-interpolate/src/rgb.js +0 -63
  205. package/dist/cjs/bundled_modules/d3-interpolate/src/round.js +0 -11
  206. package/dist/cjs/bundled_modules/d3-interpolate/src/string.js +0 -70
  207. package/dist/cjs/bundled_modules/d3-interpolate/src/transform/decompose.js +0 -33
  208. package/dist/cjs/bundled_modules/d3-interpolate/src/transform/index.js +0 -68
  209. package/dist/cjs/bundled_modules/d3-interpolate/src/transform/parse.js +0 -23
  210. package/dist/cjs/bundled_modules/d3-interpolate/src/value.js +0 -28
  211. package/dist/cjs/bundled_modules/d3-interpolate/src/zoom.js +0 -77
  212. package/dist/cjs/bundled_modules/d3-path/src/path.js +0 -157
  213. package/dist/cjs/bundled_modules/d3-quadtree/src/add.js +0 -91
  214. package/dist/cjs/bundled_modules/d3-quadtree/src/cover.js +0 -49
  215. package/dist/cjs/bundled_modules/d3-quadtree/src/data.js +0 -13
  216. package/dist/cjs/bundled_modules/d3-quadtree/src/extent.js +0 -11
  217. package/dist/cjs/bundled_modules/d3-quadtree/src/find.js +0 -76
  218. package/dist/cjs/bundled_modules/d3-quadtree/src/quad.js +0 -13
  219. package/dist/cjs/bundled_modules/d3-quadtree/src/quadtree.js +0 -79
  220. package/dist/cjs/bundled_modules/d3-quadtree/src/remove.js +0 -69
  221. package/dist/cjs/bundled_modules/d3-quadtree/src/root.js +0 -9
  222. package/dist/cjs/bundled_modules/d3-quadtree/src/size.js +0 -13
  223. package/dist/cjs/bundled_modules/d3-quadtree/src/visit.js +0 -22
  224. package/dist/cjs/bundled_modules/d3-quadtree/src/visitAfter.js +0 -27
  225. package/dist/cjs/bundled_modules/d3-quadtree/src/x.js +0 -14
  226. package/dist/cjs/bundled_modules/d3-quadtree/src/y.js +0 -14
  227. package/dist/cjs/bundled_modules/d3-scale/src/constant.js +0 -11
  228. package/dist/cjs/bundled_modules/d3-scale/src/continuous.js +0 -136
  229. package/dist/cjs/bundled_modules/d3-scale/src/diverging.js +0 -116
  230. package/dist/cjs/bundled_modules/d3-scale/src/identity.js +0 -34
  231. package/dist/cjs/bundled_modules/d3-scale/src/init.js +0 -31
  232. package/dist/cjs/bundled_modules/d3-scale/src/linear.js +0 -77
  233. package/dist/cjs/bundled_modules/d3-scale/src/log.js +0 -148
  234. package/dist/cjs/bundled_modules/d3-scale/src/nice.js +0 -24
  235. package/dist/cjs/bundled_modules/d3-scale/src/number.js +0 -9
  236. package/dist/cjs/bundled_modules/d3-scale/src/ordinal.js +0 -53
  237. package/dist/cjs/bundled_modules/d3-scale/src/pow.js +0 -58
  238. package/dist/cjs/bundled_modules/d3-scale/src/quantile.js +0 -65
  239. package/dist/cjs/bundled_modules/d3-scale/src/quantize.js +0 -62
  240. package/dist/cjs/bundled_modules/d3-scale/src/sequential.js +0 -119
  241. package/dist/cjs/bundled_modules/d3-scale/src/symlog.js +0 -42
  242. package/dist/cjs/bundled_modules/d3-scale/src/threshold.js +0 -45
  243. package/dist/cjs/bundled_modules/d3-scale/src/tickFormat.js +0 -39
  244. package/dist/cjs/bundled_modules/d3-scale/src/time.js +0 -85
  245. package/dist/cjs/bundled_modules/d3-scale/src/utcTime.js +0 -21
  246. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +0 -9
  247. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +0 -9
  248. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +0 -9
  249. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +0 -9
  250. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +0 -9
  251. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +0 -9
  252. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +0 -9
  253. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +0 -9
  254. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +0 -9
  255. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +0 -9
  256. package/dist/cjs/bundled_modules/d3-scale-chromatic/src/colors.js +0 -11
  257. package/dist/cjs/bundled_modules/d3-shape/src/arc.js +0 -274
  258. package/dist/cjs/bundled_modules/d3-shape/src/area.js +0 -118
  259. package/dist/cjs/bundled_modules/d3-shape/src/array.js +0 -11
  260. package/dist/cjs/bundled_modules/d3-shape/src/constant.js +0 -11
  261. package/dist/cjs/bundled_modules/d3-shape/src/curve/basis.js +0 -59
  262. package/dist/cjs/bundled_modules/d3-shape/src/curve/basisClosed.js +0 -58
  263. package/dist/cjs/bundled_modules/d3-shape/src/curve/basisOpen.js +0 -45
  264. package/dist/cjs/bundled_modules/d3-shape/src/curve/bundle.js +0 -62
  265. package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinal.js +0 -69
  266. package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalClosed.js +0 -68
  267. package/dist/cjs/bundled_modules/d3-shape/src/curve/cardinalOpen.js +0 -56
  268. package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRom.js +0 -95
  269. package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +0 -80
  270. package/dist/cjs/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +0 -68
  271. package/dist/cjs/bundled_modules/d3-shape/src/curve/linear.js +0 -37
  272. package/dist/cjs/bundled_modules/d3-shape/src/curve/linearClosed.js +0 -31
  273. package/dist/cjs/bundled_modules/d3-shape/src/curve/monotone.js +0 -109
  274. package/dist/cjs/bundled_modules/d3-shape/src/curve/natural.js +0 -71
  275. package/dist/cjs/bundled_modules/d3-shape/src/curve/step.js +0 -61
  276. package/dist/cjs/bundled_modules/d3-shape/src/line.js +0 -64
  277. package/dist/cjs/bundled_modules/d3-shape/src/math.js +0 -36
  278. package/dist/cjs/bundled_modules/d3-shape/src/noop.js +0 -7
  279. package/dist/cjs/bundled_modules/d3-shape/src/path.js +0 -23
  280. package/dist/cjs/bundled_modules/d3-shape/src/point.js +0 -12
  281. package/dist/cjs/bundled_modules/d3-shape/src/symbol/circle.js +0 -15
  282. package/dist/cjs/bundled_modules/d3-shape/src/symbol.js +0 -38
  283. package/dist/cjs/bundled_modules/d3-time/src/day.js +0 -41
  284. package/dist/cjs/bundled_modules/d3-time/src/duration.js +0 -17
  285. package/dist/cjs/bundled_modules/d3-time/src/hour.js +0 -31
  286. package/dist/cjs/bundled_modules/d3-time/src/interval.js +0 -73
  287. package/dist/cjs/bundled_modules/d3-time/src/millisecond.js +0 -29
  288. package/dist/cjs/bundled_modules/d3-time/src/minute.js +0 -31
  289. package/dist/cjs/bundled_modules/d3-time/src/month.js +0 -32
  290. package/dist/cjs/bundled_modules/d3-time/src/second.js +0 -18
  291. package/dist/cjs/bundled_modules/d3-time/src/ticks.js +0 -64
  292. package/dist/cjs/bundled_modules/d3-time/src/week.js +0 -73
  293. package/dist/cjs/bundled_modules/d3-time/src/year.js +0 -54
  294. package/dist/cjs/bundled_modules/d3-time-format/src/defaultLocale.js +0 -33
  295. package/dist/cjs/bundled_modules/d3-time-format/src/locale.js +0 -694
  296. package/dist/cjs/bundled_modules/d3-timer/src/interval.js +0 -23
  297. package/dist/cjs/bundled_modules/d3-timer/src/timer.js +0 -117
  298. package/dist/cjs/bundled_modules/delaunator/index.js +0 -485
  299. package/dist/cjs/bundled_modules/internmap/src/index.js +0 -66
  300. package/dist/cjs/bundled_modules/json-stringify-pretty-compact/index.js +0 -104
  301. package/dist/cjs/bundled_modules/robust-predicates/esm/orient2d.js +0 -184
  302. package/dist/cjs/bundled_modules/robust-predicates/esm/util.js +0 -95
  303. package/dist/cjs/bundled_modules/topojson-client/src/feature.js +0 -77
  304. package/dist/cjs/bundled_modules/topojson-client/src/identity.js +0 -9
  305. package/dist/cjs/bundled_modules/topojson-client/src/mesh.js +0 -60
  306. package/dist/cjs/bundled_modules/topojson-client/src/reverse.js +0 -10
  307. package/dist/cjs/bundled_modules/topojson-client/src/stitch.js +0 -79
  308. package/dist/cjs/bundled_modules/topojson-client/src/transform.js +0 -25
  309. package/dist/cjs/bundled_modules/vega/build/vega.module.js +0 -272
  310. package/dist/cjs/bundled_modules/vega-canvas/build/vega-canvas.browser.js +0 -18
  311. package/dist/cjs/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +0 -676
  312. package/dist/cjs/bundled_modules/vega-dataflow/build/vega-dataflow.js +0 -2102
  313. package/dist/cjs/bundled_modules/vega-embed/build/embed.js +0 -2939
  314. package/dist/cjs/bundled_modules/vega-encode/build/vega-encode.js +0 -962
  315. package/dist/cjs/bundled_modules/vega-event-selector/build/vega-event-selector.js +0 -192
  316. package/dist/cjs/bundled_modules/vega-expression/build/vega-expression.js +0 -1615
  317. package/dist/cjs/bundled_modules/vega-force/build/vega-force.js +0 -295
  318. package/dist/cjs/bundled_modules/vega-format/build/vega-format.js +0 -201
  319. package/dist/cjs/bundled_modules/vega-functions/build/vega-functions.js +0 -842
  320. package/dist/cjs/bundled_modules/vega-geo/build/vega-geo.js +0 -1333
  321. package/dist/cjs/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +0 -580
  322. package/dist/cjs/bundled_modules/vega-interpreter/build/vega-interpreter.js +0 -310
  323. package/dist/cjs/bundled_modules/vega-label/build/vega-label.js +0 -876
  324. package/dist/cjs/bundled_modules/vega-lite/build/index.js +0 -20157
  325. package/dist/cjs/bundled_modules/vega-loader/build/vega-loader.browser.js +0 -337
  326. package/dist/cjs/bundled_modules/vega-parser/build/vega-parser.js +0 -3805
  327. package/dist/cjs/bundled_modules/vega-projection/build/vega-projection.js +0 -90
  328. package/dist/cjs/bundled_modules/vega-regression/build/vega-regression.js +0 -236
  329. package/dist/cjs/bundled_modules/vega-runtime/build/vega-runtime.js +0 -588
  330. package/dist/cjs/bundled_modules/vega-scale/build/vega-scale.js +0 -846
  331. package/dist/cjs/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +0 -5040
  332. package/dist/cjs/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +0 -7
  333. package/dist/cjs/bundled_modules/vega-selections/build/vega-selection.js +0 -342
  334. package/dist/cjs/bundled_modules/vega-statistics/build/vega-statistics.js +0 -1193
  335. package/dist/cjs/bundled_modules/vega-themes/build/index.js +0 -853
  336. package/dist/cjs/bundled_modules/vega-time/build/vega-time.js +0 -342
  337. package/dist/cjs/bundled_modules/vega-tooltip/build/index.js +0 -353
  338. package/dist/cjs/bundled_modules/vega-transforms/build/vega-transforms.js +0 -3781
  339. package/dist/cjs/bundled_modules/vega-util/build/vega-util.js +0 -824
  340. package/dist/cjs/bundled_modules/vega-view/build/vega-view.js +0 -1306
  341. package/dist/cjs/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +0 -1313
  342. package/dist/cjs/bundled_modules/vega-voronoi/build/vega-voronoi.js +0 -80
  343. package/dist/cjs/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +0 -540
  344. package/dist/cjs/styles/entrypoint.scss.js +0 -7
  345. package/dist/cjs/unstable/Card/components.js +0 -213
  346. package/dist/cjs/unstable/Card/state.js +0 -53
  347. package/dist/cjs/unstable/StatCard/index.js +0 -124
  348. package/dist/cjs/unstable/StatCard/index.module.scss.js +0 -7
  349. package/dist/cjs/unstable/extras/chart/BarChart.js +0 -42
  350. package/dist/cjs/unstable/extras/chart/Chart.js +0 -100
  351. package/dist/cjs/unstable/extras/chart/DistributionChart.js +0 -84
  352. package/dist/cjs/unstable/extras/chart/DonutChart.js +0 -43
  353. package/dist/cjs/unstable/extras/chart/LineChart.js +0 -45
  354. package/dist/cjs/unstable/extras/chart/PieChart.js +0 -39
  355. package/dist/cjs/unstable/extras/chart/TimelineChart.js +0 -48
  356. package/dist/cjs/unstable/extras/chart/index.js +0 -23
  357. package/dist/cjs/unstable/skeleton/index.js +0 -74
  358. package/dist/cjs/unstable/skeleton/index.module.scss.js +0 -7
  359. package/dist/cjs/unstable/suspense/index.js +0 -18
  360. package/dist/cjs/unstable/suspense/index.module.scss.js +0 -7
  361. package/dist/cjs/unstable/suspense/loader.js +0 -23
  362. package/dist/esm/bundled_modules/d3-array/src/ascending.js +0 -5
  363. package/dist/esm/bundled_modules/d3-array/src/bisect.js +0 -10
  364. package/dist/esm/bundled_modules/d3-array/src/bisector.js +0 -58
  365. package/dist/esm/bundled_modules/d3-array/src/descending.js +0 -9
  366. package/dist/esm/bundled_modules/d3-array/src/deviation.js +0 -8
  367. package/dist/esm/bundled_modules/d3-array/src/fsum.js +0 -43
  368. package/dist/esm/bundled_modules/d3-array/src/intersection.js +0 -21
  369. package/dist/esm/bundled_modules/d3-array/src/max.js +0 -22
  370. package/dist/esm/bundled_modules/d3-array/src/mean.js +0 -21
  371. package/dist/esm/bundled_modules/d3-array/src/median.js +0 -7
  372. package/dist/esm/bundled_modules/d3-array/src/merge.js +0 -11
  373. package/dist/esm/bundled_modules/d3-array/src/min.js +0 -22
  374. package/dist/esm/bundled_modules/d3-array/src/number.js +0 -22
  375. package/dist/esm/bundled_modules/d3-array/src/permute.js +0 -5
  376. package/dist/esm/bundled_modules/d3-array/src/quantile.js +0 -31
  377. package/dist/esm/bundled_modules/d3-array/src/quickselect.js +0 -55
  378. package/dist/esm/bundled_modules/d3-array/src/range.js +0 -15
  379. package/dist/esm/bundled_modules/d3-array/src/sort.js +0 -17
  380. package/dist/esm/bundled_modules/d3-array/src/sum.js +0 -13
  381. package/dist/esm/bundled_modules/d3-array/src/ticks.js +0 -57
  382. package/dist/esm/bundled_modules/d3-array/src/union.js +0 -13
  383. package/dist/esm/bundled_modules/d3-array/src/variance.js +0 -27
  384. package/dist/esm/bundled_modules/d3-color/src/color.js +0 -398
  385. package/dist/esm/bundled_modules/d3-color/src/cubehelix.js +0 -63
  386. package/dist/esm/bundled_modules/d3-color/src/define.js +0 -12
  387. package/dist/esm/bundled_modules/d3-color/src/lab.js +0 -117
  388. package/dist/esm/bundled_modules/d3-color/src/math.js +0 -4
  389. package/dist/esm/bundled_modules/d3-delaunay/src/delaunay.js +0 -250
  390. package/dist/esm/bundled_modules/d3-delaunay/src/path.js +0 -39
  391. package/dist/esm/bundled_modules/d3-delaunay/src/polygon.js +0 -19
  392. package/dist/esm/bundled_modules/d3-delaunay/src/voronoi.js +0 -334
  393. package/dist/esm/bundled_modules/d3-dispatch/src/dispatch.js +0 -84
  394. package/dist/esm/bundled_modules/d3-dsv/src/dsv.js +0 -166
  395. package/dist/esm/bundled_modules/d3-force/src/center.js +0 -42
  396. package/dist/esm/bundled_modules/d3-force/src/collide.js +0 -102
  397. package/dist/esm/bundled_modules/d3-force/src/constant.js +0 -7
  398. package/dist/esm/bundled_modules/d3-force/src/jiggle.js +0 -5
  399. package/dist/esm/bundled_modules/d3-force/src/lcg.js +0 -11
  400. package/dist/esm/bundled_modules/d3-force/src/link.js +0 -119
  401. package/dist/esm/bundled_modules/d3-force/src/manyBody.js +0 -118
  402. package/dist/esm/bundled_modules/d3-force/src/simulation.js +0 -158
  403. package/dist/esm/bundled_modules/d3-force/src/x.js +0 -43
  404. package/dist/esm/bundled_modules/d3-force/src/y.js +0 -43
  405. package/dist/esm/bundled_modules/d3-format/src/defaultLocale.js +0 -20
  406. package/dist/esm/bundled_modules/d3-format/src/exponent.js +0 -7
  407. package/dist/esm/bundled_modules/d3-format/src/formatDecimal.js +0 -22
  408. package/dist/esm/bundled_modules/d3-format/src/formatGroup.js +0 -20
  409. package/dist/esm/bundled_modules/d3-format/src/formatNumerals.js +0 -9
  410. package/dist/esm/bundled_modules/d3-format/src/formatPrefixAuto.js +0 -18
  411. package/dist/esm/bundled_modules/d3-format/src/formatRounded.js +0 -13
  412. package/dist/esm/bundled_modules/d3-format/src/formatSpecifier.js +0 -49
  413. package/dist/esm/bundled_modules/d3-format/src/formatTrim.js +0 -13
  414. package/dist/esm/bundled_modules/d3-format/src/formatTypes.js +0 -21
  415. package/dist/esm/bundled_modules/d3-format/src/identity.js +0 -5
  416. package/dist/esm/bundled_modules/d3-format/src/locale.js +0 -150
  417. package/dist/esm/bundled_modules/d3-format/src/precisionFixed.js +0 -7
  418. package/dist/esm/bundled_modules/d3-format/src/precisionPrefix.js +0 -7
  419. package/dist/esm/bundled_modules/d3-format/src/precisionRound.js +0 -8
  420. package/dist/esm/bundled_modules/d3-geo/src/area.js +0 -78
  421. package/dist/esm/bundled_modules/d3-geo/src/bounds.js +0 -181
  422. package/dist/esm/bundled_modules/d3-geo/src/cartesian.js +0 -35
  423. package/dist/esm/bundled_modules/d3-geo/src/centroid.js +0 -145
  424. package/dist/esm/bundled_modules/d3-geo/src/circle.js +0 -33
  425. package/dist/esm/bundled_modules/d3-geo/src/clip/antimeridian.js +0 -94
  426. package/dist/esm/bundled_modules/d3-geo/src/clip/buffer.js +0 -26
  427. package/dist/esm/bundled_modules/d3-geo/src/clip/circle.js +0 -179
  428. package/dist/esm/bundled_modules/d3-geo/src/clip/index.js +0 -133
  429. package/dist/esm/bundled_modules/d3-geo/src/clip/line.js +0 -61
  430. package/dist/esm/bundled_modules/d3-geo/src/clip/rectangle.js +0 -170
  431. package/dist/esm/bundled_modules/d3-geo/src/clip/rejoin.js +0 -105
  432. package/dist/esm/bundled_modules/d3-geo/src/compose.js +0 -14
  433. package/dist/esm/bundled_modules/d3-geo/src/graticule.js +0 -103
  434. package/dist/esm/bundled_modules/d3-geo/src/identity.js +0 -3
  435. package/dist/esm/bundled_modules/d3-geo/src/math.js +0 -33
  436. package/dist/esm/bundled_modules/d3-geo/src/noop.js +0 -3
  437. package/dist/esm/bundled_modules/d3-geo/src/path/area.js +0 -50
  438. package/dist/esm/bundled_modules/d3-geo/src/path/bounds.js +0 -28
  439. package/dist/esm/bundled_modules/d3-geo/src/path/centroid.js +0 -100
  440. package/dist/esm/bundled_modules/d3-geo/src/path/context.js +0 -47
  441. package/dist/esm/bundled_modules/d3-geo/src/path/index.js +0 -78
  442. package/dist/esm/bundled_modules/d3-geo/src/path/measure.js +0 -45
  443. package/dist/esm/bundled_modules/d3-geo/src/path/string.js +0 -88
  444. package/dist/esm/bundled_modules/d3-geo/src/pointEqual.js +0 -7
  445. package/dist/esm/bundled_modules/d3-geo/src/polygonContains.js +0 -76
  446. package/dist/esm/bundled_modules/d3-geo/src/projection/albers.js +0 -12
  447. package/dist/esm/bundled_modules/d3-geo/src/projection/albersUsa.js +0 -113
  448. package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthal.js +0 -29
  449. package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEqualArea.js +0 -19
  450. package/dist/esm/bundled_modules/d3-geo/src/projection/azimuthalEquidistant.js +0 -19
  451. package/dist/esm/bundled_modules/d3-geo/src/projection/conic.js +0 -17
  452. package/dist/esm/bundled_modules/d3-geo/src/projection/conicConformal.js +0 -40
  453. package/dist/esm/bundled_modules/d3-geo/src/projection/conicEqualArea.js +0 -35
  454. package/dist/esm/bundled_modules/d3-geo/src/projection/conicEquidistant.js +0 -34
  455. package/dist/esm/bundled_modules/d3-geo/src/projection/cylindricalEqualArea.js +0 -17
  456. package/dist/esm/bundled_modules/d3-geo/src/projection/equalEarth.js +0 -38
  457. package/dist/esm/bundled_modules/d3-geo/src/projection/equirectangular.js +0 -14
  458. package/dist/esm/bundled_modules/d3-geo/src/projection/fit.js +0 -49
  459. package/dist/esm/bundled_modules/d3-geo/src/projection/gnomonic.js +0 -18
  460. package/dist/esm/bundled_modules/d3-geo/src/projection/identity.js +0 -87
  461. package/dist/esm/bundled_modules/d3-geo/src/projection/index.js +0 -179
  462. package/dist/esm/bundled_modules/d3-geo/src/projection/mercator.js +0 -54
  463. package/dist/esm/bundled_modules/d3-geo/src/projection/naturalEarth1.js +0 -30
  464. package/dist/esm/bundled_modules/d3-geo/src/projection/orthographic.js +0 -17
  465. package/dist/esm/bundled_modules/d3-geo/src/projection/resample.js +0 -104
  466. package/dist/esm/bundled_modules/d3-geo/src/projection/stereographic.js +0 -20
  467. package/dist/esm/bundled_modules/d3-geo/src/projection/transverseMercator.js +0 -29
  468. package/dist/esm/bundled_modules/d3-geo/src/rotation.js +0 -81
  469. package/dist/esm/bundled_modules/d3-geo/src/stream.js +0 -71
  470. package/dist/esm/bundled_modules/d3-geo/src/transform.js +0 -22
  471. package/dist/esm/bundled_modules/d3-geo-projection/src/math.js +0 -18
  472. package/dist/esm/bundled_modules/d3-geo-projection/src/mollweide.js +0 -31
  473. package/dist/esm/bundled_modules/d3-hierarchy/src/accessors.js +0 -10
  474. package/dist/esm/bundled_modules/d3-hierarchy/src/array.js +0 -22
  475. package/dist/esm/bundled_modules/d3-hierarchy/src/cluster.js +0 -86
  476. package/dist/esm/bundled_modules/d3-hierarchy/src/constant.js +0 -11
  477. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/ancestors.js +0 -9
  478. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/count.js +0 -14
  479. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/descendants.js +0 -5
  480. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/each.js +0 -9
  481. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachAfter.js +0 -17
  482. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/eachBefore.js +0 -14
  483. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/find.js +0 -10
  484. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/index.js +0 -93
  485. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/iterator.js +0 -16
  486. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/leaves.js +0 -11
  487. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/links.js +0 -11
  488. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/path.js +0 -32
  489. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sort.js +0 -9
  490. package/dist/esm/bundled_modules/d3-hierarchy/src/hierarchy/sum.js +0 -11
  491. package/dist/esm/bundled_modules/d3-hierarchy/src/lcg.js +0 -11
  492. package/dist/esm/bundled_modules/d3-hierarchy/src/pack/enclose.js +0 -120
  493. package/dist/esm/bundled_modules/d3-hierarchy/src/pack/index.js +0 -83
  494. package/dist/esm/bundled_modules/d3-hierarchy/src/pack/siblings.js +0 -116
  495. package/dist/esm/bundled_modules/d3-hierarchy/src/partition.js +0 -54
  496. package/dist/esm/bundled_modules/d3-hierarchy/src/stratify.js +0 -147
  497. package/dist/esm/bundled_modules/d3-hierarchy/src/tree.js +0 -239
  498. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/binary.js +0 -48
  499. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/dice.js +0 -14
  500. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/index.js +0 -96
  501. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/resquarify.js +0 -38
  502. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/round.js +0 -8
  503. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/slice.js +0 -14
  504. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/sliceDice.js +0 -8
  505. package/dist/esm/bundled_modules/d3-hierarchy/src/treemap/squarify.js +0 -68
  506. package/dist/esm/bundled_modules/d3-interpolate/src/array.js +0 -24
  507. package/dist/esm/bundled_modules/d3-interpolate/src/basis.js +0 -21
  508. package/dist/esm/bundled_modules/d3-interpolate/src/basisClosed.js +0 -15
  509. package/dist/esm/bundled_modules/d3-interpolate/src/color.js +0 -31
  510. package/dist/esm/bundled_modules/d3-interpolate/src/constant.js +0 -3
  511. package/dist/esm/bundled_modules/d3-interpolate/src/cubehelix.js +0 -31
  512. package/dist/esm/bundled_modules/d3-interpolate/src/date.js +0 -8
  513. package/dist/esm/bundled_modules/d3-interpolate/src/discrete.js +0 -8
  514. package/dist/esm/bundled_modules/d3-interpolate/src/hcl.js +0 -23
  515. package/dist/esm/bundled_modules/d3-interpolate/src/hsl.js +0 -23
  516. package/dist/esm/bundled_modules/d3-interpolate/src/hue.js +0 -11
  517. package/dist/esm/bundled_modules/d3-interpolate/src/index.js +0 -21
  518. package/dist/esm/bundled_modules/d3-interpolate/src/lab.js +0 -18
  519. package/dist/esm/bundled_modules/d3-interpolate/src/number.js +0 -7
  520. package/dist/esm/bundled_modules/d3-interpolate/src/numberArray.js +0 -16
  521. package/dist/esm/bundled_modules/d3-interpolate/src/object.js +0 -25
  522. package/dist/esm/bundled_modules/d3-interpolate/src/piecewise.js +0 -13
  523. package/dist/esm/bundled_modules/d3-interpolate/src/quantize.js +0 -7
  524. package/dist/esm/bundled_modules/d3-interpolate/src/rgb.js +0 -57
  525. package/dist/esm/bundled_modules/d3-interpolate/src/round.js +0 -7
  526. package/dist/esm/bundled_modules/d3-interpolate/src/string.js +0 -66
  527. package/dist/esm/bundled_modules/d3-interpolate/src/transform/decompose.js +0 -28
  528. package/dist/esm/bundled_modules/d3-interpolate/src/transform/index.js +0 -65
  529. package/dist/esm/bundled_modules/d3-interpolate/src/transform/parse.js +0 -20
  530. package/dist/esm/bundled_modules/d3-interpolate/src/value.js +0 -24
  531. package/dist/esm/bundled_modules/d3-interpolate/src/zoom.js +0 -73
  532. package/dist/esm/bundled_modules/d3-path/src/path.js +0 -154
  533. package/dist/esm/bundled_modules/d3-quadtree/src/add.js +0 -86
  534. package/dist/esm/bundled_modules/d3-quadtree/src/cover.js +0 -45
  535. package/dist/esm/bundled_modules/d3-quadtree/src/data.js +0 -9
  536. package/dist/esm/bundled_modules/d3-quadtree/src/extent.js +0 -7
  537. package/dist/esm/bundled_modules/d3-quadtree/src/find.js +0 -72
  538. package/dist/esm/bundled_modules/d3-quadtree/src/quad.js +0 -9
  539. package/dist/esm/bundled_modules/d3-quadtree/src/quadtree.js +0 -75
  540. package/dist/esm/bundled_modules/d3-quadtree/src/remove.js +0 -64
  541. package/dist/esm/bundled_modules/d3-quadtree/src/root.js +0 -5
  542. package/dist/esm/bundled_modules/d3-quadtree/src/size.js +0 -9
  543. package/dist/esm/bundled_modules/d3-quadtree/src/visit.js +0 -18
  544. package/dist/esm/bundled_modules/d3-quadtree/src/visitAfter.js +0 -23
  545. package/dist/esm/bundled_modules/d3-quadtree/src/x.js +0 -9
  546. package/dist/esm/bundled_modules/d3-quadtree/src/y.js +0 -9
  547. package/dist/esm/bundled_modules/d3-scale/src/constant.js +0 -7
  548. package/dist/esm/bundled_modules/d3-scale/src/continuous.js +0 -129
  549. package/dist/esm/bundled_modules/d3-scale/src/diverging.js +0 -108
  550. package/dist/esm/bundled_modules/d3-scale/src/identity.js +0 -30
  551. package/dist/esm/bundled_modules/d3-scale/src/init.js +0 -28
  552. package/dist/esm/bundled_modules/d3-scale/src/linear.js +0 -72
  553. package/dist/esm/bundled_modules/d3-scale/src/log.js +0 -143
  554. package/dist/esm/bundled_modules/d3-scale/src/nice.js +0 -20
  555. package/dist/esm/bundled_modules/d3-scale/src/number.js +0 -5
  556. package/dist/esm/bundled_modules/d3-scale/src/ordinal.js +0 -48
  557. package/dist/esm/bundled_modules/d3-scale/src/pow.js +0 -52
  558. package/dist/esm/bundled_modules/d3-scale/src/quantile.js +0 -61
  559. package/dist/esm/bundled_modules/d3-scale/src/quantize.js +0 -58
  560. package/dist/esm/bundled_modules/d3-scale/src/sequential.js +0 -110
  561. package/dist/esm/bundled_modules/d3-scale/src/symlog.js +0 -37
  562. package/dist/esm/bundled_modules/d3-scale/src/threshold.js +0 -41
  563. package/dist/esm/bundled_modules/d3-scale/src/tickFormat.js +0 -35
  564. package/dist/esm/bundled_modules/d3-scale/src/time.js +0 -80
  565. package/dist/esm/bundled_modules/d3-scale/src/utcTime.js +0 -17
  566. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Accent.js +0 -5
  567. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Dark2.js +0 -5
  568. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Paired.js +0 -5
  569. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel1.js +0 -5
  570. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Pastel2.js +0 -5
  571. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set1.js +0 -5
  572. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set2.js +0 -5
  573. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/Set3.js +0 -5
  574. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/category10.js +0 -5
  575. package/dist/esm/bundled_modules/d3-scale-chromatic/src/categorical/observable10.js +0 -5
  576. package/dist/esm/bundled_modules/d3-scale-chromatic/src/colors.js +0 -7
  577. package/dist/esm/bundled_modules/d3-shape/src/arc.js +0 -270
  578. package/dist/esm/bundled_modules/d3-shape/src/area.js +0 -114
  579. package/dist/esm/bundled_modules/d3-shape/src/array.js +0 -7
  580. package/dist/esm/bundled_modules/d3-shape/src/constant.js +0 -7
  581. package/dist/esm/bundled_modules/d3-shape/src/curve/basis.js +0 -53
  582. package/dist/esm/bundled_modules/d3-shape/src/curve/basisClosed.js +0 -54
  583. package/dist/esm/bundled_modules/d3-shape/src/curve/basisOpen.js +0 -41
  584. package/dist/esm/bundled_modules/d3-shape/src/curve/bundle.js +0 -58
  585. package/dist/esm/bundled_modules/d3-shape/src/curve/cardinal.js +0 -63
  586. package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalClosed.js +0 -63
  587. package/dist/esm/bundled_modules/d3-shape/src/curve/cardinalOpen.js +0 -51
  588. package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRom.js +0 -90
  589. package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomClosed.js +0 -76
  590. package/dist/esm/bundled_modules/d3-shape/src/curve/catmullRomOpen.js +0 -64
  591. package/dist/esm/bundled_modules/d3-shape/src/curve/linear.js +0 -33
  592. package/dist/esm/bundled_modules/d3-shape/src/curve/linearClosed.js +0 -27
  593. package/dist/esm/bundled_modules/d3-shape/src/curve/monotone.js +0 -106
  594. package/dist/esm/bundled_modules/d3-shape/src/curve/natural.js +0 -67
  595. package/dist/esm/bundled_modules/d3-shape/src/curve/step.js +0 -55
  596. package/dist/esm/bundled_modules/d3-shape/src/line.js +0 -60
  597. package/dist/esm/bundled_modules/d3-shape/src/math.js +0 -22
  598. package/dist/esm/bundled_modules/d3-shape/src/noop.js +0 -3
  599. package/dist/esm/bundled_modules/d3-shape/src/path.js +0 -21
  600. package/dist/esm/bundled_modules/d3-shape/src/point.js +0 -9
  601. package/dist/esm/bundled_modules/d3-shape/src/symbol/circle.js +0 -11
  602. package/dist/esm/bundled_modules/d3-shape/src/symbol.js +0 -34
  603. package/dist/esm/bundled_modules/d3-time/src/day.js +0 -37
  604. package/dist/esm/bundled_modules/d3-time/src/duration.js +0 -9
  605. package/dist/esm/bundled_modules/d3-time/src/hour.js +0 -28
  606. package/dist/esm/bundled_modules/d3-time/src/interval.js +0 -71
  607. package/dist/esm/bundled_modules/d3-time/src/millisecond.js +0 -27
  608. package/dist/esm/bundled_modules/d3-time/src/minute.js +0 -28
  609. package/dist/esm/bundled_modules/d3-time/src/month.js +0 -29
  610. package/dist/esm/bundled_modules/d3-time/src/second.js +0 -16
  611. package/dist/esm/bundled_modules/d3-time/src/ticks.js +0 -59
  612. package/dist/esm/bundled_modules/d3-time/src/week.js +0 -58
  613. package/dist/esm/bundled_modules/d3-time/src/year.js +0 -51
  614. package/dist/esm/bundled_modules/d3-time-format/src/defaultLocale.js +0 -29
  615. package/dist/esm/bundled_modules/d3-time-format/src/locale.js +0 -690
  616. package/dist/esm/bundled_modules/d3-timer/src/interval.js +0 -19
  617. package/dist/esm/bundled_modules/d3-timer/src/timer.js +0 -112
  618. package/dist/esm/bundled_modules/delaunator/index.js +0 -481
  619. package/dist/esm/bundled_modules/internmap/src/index.js +0 -63
  620. package/dist/esm/bundled_modules/json-stringify-pretty-compact/index.js +0 -100
  621. package/dist/esm/bundled_modules/robust-predicates/esm/orient2d.js +0 -182
  622. package/dist/esm/bundled_modules/robust-predicates/esm/util.js +0 -88
  623. package/dist/esm/bundled_modules/topojson-client/src/feature.js +0 -72
  624. package/dist/esm/bundled_modules/topojson-client/src/identity.js +0 -5
  625. package/dist/esm/bundled_modules/topojson-client/src/mesh.js +0 -55
  626. package/dist/esm/bundled_modules/topojson-client/src/reverse.js +0 -6
  627. package/dist/esm/bundled_modules/topojson-client/src/stitch.js +0 -75
  628. package/dist/esm/bundled_modules/topojson-client/src/transform.js +0 -21
  629. package/dist/esm/bundled_modules/vega/build/vega.module.js +0 -38
  630. package/dist/esm/bundled_modules/vega-canvas/build/vega-canvas.browser.js +0 -14
  631. package/dist/esm/bundled_modules/vega-crossfilter/build/vega-crossfilter.js +0 -673
  632. package/dist/esm/bundled_modules/vega-dataflow/build/vega-dataflow.js +0 -2080
  633. package/dist/esm/bundled_modules/vega-embed/build/embed.js +0 -2932
  634. package/dist/esm/bundled_modules/vega-encode/build/vega-encode.js +0 -952
  635. package/dist/esm/bundled_modules/vega-event-selector/build/vega-event-selector.js +0 -190
  636. package/dist/esm/bundled_modules/vega-expression/build/vega-expression.js +0 -1597
  637. package/dist/esm/bundled_modules/vega-force/build/vega-force.js +0 -293
  638. package/dist/esm/bundled_modules/vega-format/build/vega-format.js +0 -191
  639. package/dist/esm/bundled_modules/vega-functions/build/vega-functions.js +0 -779
  640. package/dist/esm/bundled_modules/vega-geo/build/vega-geo.js +0 -1322
  641. package/dist/esm/bundled_modules/vega-hierarchy/build/vega-hierarchy.js +0 -572
  642. package/dist/esm/bundled_modules/vega-interpreter/build/vega-interpreter.js +0 -308
  643. package/dist/esm/bundled_modules/vega-label/build/vega-label.js +0 -874
  644. package/dist/esm/bundled_modules/vega-lite/build/index.js +0 -20110
  645. package/dist/esm/bundled_modules/vega-loader/build/vega-loader.browser.js +0 -328
  646. package/dist/esm/bundled_modules/vega-parser/build/vega-parser.js +0 -3783
  647. package/dist/esm/bundled_modules/vega-projection/build/vega-projection.js +0 -86
  648. package/dist/esm/bundled_modules/vega-regression/build/vega-regression.js +0 -233
  649. package/dist/esm/bundled_modules/vega-runtime/build/vega-runtime.js +0 -586
  650. package/dist/esm/bundled_modules/vega-scale/build/vega-scale.js +0 -799
  651. package/dist/esm/bundled_modules/vega-scenegraph/build/vega-scenegraph.js +0 -4982
  652. package/dist/esm/bundled_modules/vega-schema-url-parser/dist/parser.modern.js +0 -3
  653. package/dist/esm/bundled_modules/vega-selections/build/vega-selection.js +0 -336
  654. package/dist/esm/bundled_modules/vega-statistics/build/vega-statistics.js +0 -1157
  655. package/dist/esm/bundled_modules/vega-themes/build/index.js +0 -837
  656. package/dist/esm/bundled_modules/vega-time/build/vega-time.js +0 -314
  657. package/dist/esm/bundled_modules/vega-tooltip/build/index.js +0 -339
  658. package/dist/esm/bundled_modules/vega-transforms/build/vega-transforms.js +0 -3740
  659. package/dist/esm/bundled_modules/vega-util/build/vega-util.js +0 -753
  660. package/dist/esm/bundled_modules/vega-view/build/vega-view.js +0 -1304
  661. package/dist/esm/bundled_modules/vega-view-transforms/build/vega-view-transforms.js +0 -1306
  662. package/dist/esm/bundled_modules/vega-voronoi/build/vega-voronoi.js +0 -78
  663. package/dist/esm/bundled_modules/vega-wordcloud/build/vega-wordcloud.js +0 -538
  664. package/dist/esm/styles/entrypoint.scss.js +0 -3
  665. package/dist/esm/unstable/Card/components.js +0 -182
  666. package/dist/esm/unstable/Card/state.js +0 -30
  667. package/dist/esm/unstable/StatCard/index.js +0 -116
  668. package/dist/esm/unstable/StatCard/index.module.scss.js +0 -3
  669. package/dist/esm/unstable/extras/chart/BarChart.js +0 -40
  670. package/dist/esm/unstable/extras/chart/Chart.js +0 -96
  671. package/dist/esm/unstable/extras/chart/DistributionChart.js +0 -82
  672. package/dist/esm/unstable/extras/chart/DonutChart.js +0 -41
  673. package/dist/esm/unstable/extras/chart/LineChart.js +0 -43
  674. package/dist/esm/unstable/extras/chart/PieChart.js +0 -37
  675. package/dist/esm/unstable/extras/chart/TimelineChart.js +0 -46
  676. package/dist/esm/unstable/extras/chart/index.js +0 -8
  677. package/dist/esm/unstable/skeleton/index.js +0 -69
  678. package/dist/esm/unstable/skeleton/index.module.scss.js +0 -3
  679. package/dist/esm/unstable/suspense/index.js +0 -15
  680. package/dist/esm/unstable/suspense/index.module.scss.js +0 -3
  681. package/dist/esm/unstable/suspense/loader.js +0 -20
  682. package/dist/types/unstable/Card/components.d.ts +0 -90
  683. package/dist/types/unstable/Card/state.d.ts +0 -20
  684. package/dist/types/unstable/StatCard/index.d.ts +0 -33
  685. package/dist/types/unstable/extras/chart/BarChart.d.ts +0 -16
  686. package/dist/types/unstable/extras/chart/Chart.d.ts +0 -33
  687. package/dist/types/unstable/extras/chart/DistributionChart.d.ts +0 -18
  688. package/dist/types/unstable/extras/chart/DonutChart.d.ts +0 -16
  689. package/dist/types/unstable/extras/chart/LineChart.d.ts +0 -16
  690. package/dist/types/unstable/extras/chart/PieChart.d.ts +0 -14
  691. package/dist/types/unstable/extras/chart/TimelineChart.d.ts +0 -15
  692. package/dist/types/unstable/skeleton/index.d.ts +0 -15
  693. package/dist/types/unstable/suspense/index.d.ts +0 -9
  694. package/dist/types/unstable/suspense/loader.d.ts +0 -7
@@ -1,58 +0,0 @@
1
- import { Basis } from './basis.js';
2
-
3
- function Bundle(context, beta) {
4
- this._basis = new Basis(context);
5
- this._beta = beta;
6
- }
7
-
8
- Bundle.prototype = {
9
- lineStart: function() {
10
- this._x = [];
11
- this._y = [];
12
- this._basis.lineStart();
13
- },
14
- lineEnd: function() {
15
- var x = this._x,
16
- y = this._y,
17
- j = x.length - 1;
18
-
19
- if (j > 0) {
20
- var x0 = x[0],
21
- y0 = y[0],
22
- dx = x[j] - x0,
23
- dy = y[j] - y0,
24
- i = -1,
25
- t;
26
-
27
- while (++i <= j) {
28
- t = i / j;
29
- this._basis.point(
30
- this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),
31
- this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)
32
- );
33
- }
34
- }
35
-
36
- this._x = this._y = null;
37
- this._basis.lineEnd();
38
- },
39
- point: function(x, y) {
40
- this._x.push(+x);
41
- this._y.push(+y);
42
- }
43
- };
44
-
45
- var curveBundle = (function custom(beta) {
46
-
47
- function bundle(context) {
48
- return beta === 1 ? new Basis(context) : new Bundle(context, beta);
49
- }
50
-
51
- bundle.beta = function(beta) {
52
- return custom(+beta);
53
- };
54
-
55
- return bundle;
56
- })(0.85);
57
-
58
- export { curveBundle as default };
@@ -1,63 +0,0 @@
1
- function point(that, x, y) {
2
- that._context.bezierCurveTo(
3
- that._x1 + that._k * (that._x2 - that._x0),
4
- that._y1 + that._k * (that._y2 - that._y0),
5
- that._x2 + that._k * (that._x1 - x),
6
- that._y2 + that._k * (that._y1 - y),
7
- that._x2,
8
- that._y2
9
- );
10
- }
11
-
12
- function Cardinal(context, tension) {
13
- this._context = context;
14
- this._k = (1 - tension) / 6;
15
- }
16
-
17
- Cardinal.prototype = {
18
- areaStart: function() {
19
- this._line = 0;
20
- },
21
- areaEnd: function() {
22
- this._line = NaN;
23
- },
24
- lineStart: function() {
25
- this._x0 = this._x1 = this._x2 =
26
- this._y0 = this._y1 = this._y2 = NaN;
27
- this._point = 0;
28
- },
29
- lineEnd: function() {
30
- switch (this._point) {
31
- case 2: this._context.lineTo(this._x2, this._y2); break;
32
- case 3: point(this, this._x1, this._y1); break;
33
- }
34
- if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
35
- this._line = 1 - this._line;
36
- },
37
- point: function(x, y) {
38
- x = +x, y = +y;
39
- switch (this._point) {
40
- case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
41
- case 1: this._point = 2; this._x1 = x, this._y1 = y; break;
42
- case 2: this._point = 3; // falls through
43
- default: point(this, x, y); break;
44
- }
45
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
46
- this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
47
- }
48
- };
49
-
50
- var curveCardinal = (function custom(tension) {
51
-
52
- function cardinal(context) {
53
- return new Cardinal(context, tension);
54
- }
55
-
56
- cardinal.tension = function(tension) {
57
- return custom(+tension);
58
- };
59
-
60
- return cardinal;
61
- })(0);
62
-
63
- export { Cardinal, curveCardinal as default, point };
@@ -1,63 +0,0 @@
1
- import noop from '../noop.js';
2
- import { point } from './cardinal.js';
3
-
4
- function CardinalClosed(context, tension) {
5
- this._context = context;
6
- this._k = (1 - tension) / 6;
7
- }
8
-
9
- CardinalClosed.prototype = {
10
- areaStart: noop,
11
- areaEnd: noop,
12
- lineStart: function() {
13
- this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =
14
- this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
15
- this._point = 0;
16
- },
17
- lineEnd: function() {
18
- switch (this._point) {
19
- case 1: {
20
- this._context.moveTo(this._x3, this._y3);
21
- this._context.closePath();
22
- break;
23
- }
24
- case 2: {
25
- this._context.lineTo(this._x3, this._y3);
26
- this._context.closePath();
27
- break;
28
- }
29
- case 3: {
30
- this.point(this._x3, this._y3);
31
- this.point(this._x4, this._y4);
32
- this.point(this._x5, this._y5);
33
- break;
34
- }
35
- }
36
- },
37
- point: function(x, y) {
38
- x = +x, y = +y;
39
- switch (this._point) {
40
- case 0: this._point = 1; this._x3 = x, this._y3 = y; break;
41
- case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;
42
- case 2: this._point = 3; this._x5 = x, this._y5 = y; break;
43
- default: point(this, x, y); break;
44
- }
45
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
46
- this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
47
- }
48
- };
49
-
50
- var curveCardinalClosed = (function custom(tension) {
51
-
52
- function cardinal(context) {
53
- return new CardinalClosed(context, tension);
54
- }
55
-
56
- cardinal.tension = function(tension) {
57
- return custom(+tension);
58
- };
59
-
60
- return cardinal;
61
- })(0);
62
-
63
- export { CardinalClosed, curveCardinalClosed as default };
@@ -1,51 +0,0 @@
1
- import { point } from './cardinal.js';
2
-
3
- function CardinalOpen(context, tension) {
4
- this._context = context;
5
- this._k = (1 - tension) / 6;
6
- }
7
-
8
- CardinalOpen.prototype = {
9
- areaStart: function() {
10
- this._line = 0;
11
- },
12
- areaEnd: function() {
13
- this._line = NaN;
14
- },
15
- lineStart: function() {
16
- this._x0 = this._x1 = this._x2 =
17
- this._y0 = this._y1 = this._y2 = NaN;
18
- this._point = 0;
19
- },
20
- lineEnd: function() {
21
- if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();
22
- this._line = 1 - this._line;
23
- },
24
- point: function(x, y) {
25
- x = +x, y = +y;
26
- switch (this._point) {
27
- case 0: this._point = 1; break;
28
- case 1: this._point = 2; break;
29
- case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;
30
- case 3: this._point = 4; // falls through
31
- default: point(this, x, y); break;
32
- }
33
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
34
- this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
35
- }
36
- };
37
-
38
- var curveCardinalOpen = (function custom(tension) {
39
-
40
- function cardinal(context) {
41
- return new CardinalOpen(context, tension);
42
- }
43
-
44
- cardinal.tension = function(tension) {
45
- return custom(+tension);
46
- };
47
-
48
- return cardinal;
49
- })(0);
50
-
51
- export { CardinalOpen, curveCardinalOpen as default };
@@ -1,90 +0,0 @@
1
- import { epsilon } from '../math.js';
2
- import { Cardinal } from './cardinal.js';
3
-
4
- function point(that, x, y) {
5
- var x1 = that._x1,
6
- y1 = that._y1,
7
- x2 = that._x2,
8
- y2 = that._y2;
9
-
10
- if (that._l01_a > epsilon) {
11
- var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,
12
- n = 3 * that._l01_a * (that._l01_a + that._l12_a);
13
- x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;
14
- y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;
15
- }
16
-
17
- if (that._l23_a > epsilon) {
18
- var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,
19
- m = 3 * that._l23_a * (that._l23_a + that._l12_a);
20
- x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;
21
- y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;
22
- }
23
-
24
- that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);
25
- }
26
-
27
- function CatmullRom(context, alpha) {
28
- this._context = context;
29
- this._alpha = alpha;
30
- }
31
-
32
- CatmullRom.prototype = {
33
- areaStart: function() {
34
- this._line = 0;
35
- },
36
- areaEnd: function() {
37
- this._line = NaN;
38
- },
39
- lineStart: function() {
40
- this._x0 = this._x1 = this._x2 =
41
- this._y0 = this._y1 = this._y2 = NaN;
42
- this._l01_a = this._l12_a = this._l23_a =
43
- this._l01_2a = this._l12_2a = this._l23_2a =
44
- this._point = 0;
45
- },
46
- lineEnd: function() {
47
- switch (this._point) {
48
- case 2: this._context.lineTo(this._x2, this._y2); break;
49
- case 3: this.point(this._x2, this._y2); break;
50
- }
51
- if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
52
- this._line = 1 - this._line;
53
- },
54
- point: function(x, y) {
55
- x = +x, y = +y;
56
-
57
- if (this._point) {
58
- var x23 = this._x2 - x,
59
- y23 = this._y2 - y;
60
- this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
61
- }
62
-
63
- switch (this._point) {
64
- case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
65
- case 1: this._point = 2; break;
66
- case 2: this._point = 3; // falls through
67
- default: point(this, x, y); break;
68
- }
69
-
70
- this._l01_a = this._l12_a, this._l12_a = this._l23_a;
71
- this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
72
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
73
- this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
74
- }
75
- };
76
-
77
- var curveCatmullRom = (function custom(alpha) {
78
-
79
- function catmullRom(context) {
80
- return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);
81
- }
82
-
83
- catmullRom.alpha = function(alpha) {
84
- return custom(+alpha);
85
- };
86
-
87
- return catmullRom;
88
- })(0.5);
89
-
90
- export { curveCatmullRom as default, point };
@@ -1,76 +0,0 @@
1
- import { CardinalClosed } from './cardinalClosed.js';
2
- import noop from '../noop.js';
3
- import { point } from './catmullRom.js';
4
-
5
- function CatmullRomClosed(context, alpha) {
6
- this._context = context;
7
- this._alpha = alpha;
8
- }
9
-
10
- CatmullRomClosed.prototype = {
11
- areaStart: noop,
12
- areaEnd: noop,
13
- lineStart: function() {
14
- this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =
15
- this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;
16
- this._l01_a = this._l12_a = this._l23_a =
17
- this._l01_2a = this._l12_2a = this._l23_2a =
18
- this._point = 0;
19
- },
20
- lineEnd: function() {
21
- switch (this._point) {
22
- case 1: {
23
- this._context.moveTo(this._x3, this._y3);
24
- this._context.closePath();
25
- break;
26
- }
27
- case 2: {
28
- this._context.lineTo(this._x3, this._y3);
29
- this._context.closePath();
30
- break;
31
- }
32
- case 3: {
33
- this.point(this._x3, this._y3);
34
- this.point(this._x4, this._y4);
35
- this.point(this._x5, this._y5);
36
- break;
37
- }
38
- }
39
- },
40
- point: function(x, y) {
41
- x = +x, y = +y;
42
-
43
- if (this._point) {
44
- var x23 = this._x2 - x,
45
- y23 = this._y2 - y;
46
- this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
47
- }
48
-
49
- switch (this._point) {
50
- case 0: this._point = 1; this._x3 = x, this._y3 = y; break;
51
- case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;
52
- case 2: this._point = 3; this._x5 = x, this._y5 = y; break;
53
- default: point(this, x, y); break;
54
- }
55
-
56
- this._l01_a = this._l12_a, this._l12_a = this._l23_a;
57
- this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
58
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
59
- this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
60
- }
61
- };
62
-
63
- var curveCatmullRomClosed = (function custom(alpha) {
64
-
65
- function catmullRom(context) {
66
- return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);
67
- }
68
-
69
- catmullRom.alpha = function(alpha) {
70
- return custom(+alpha);
71
- };
72
-
73
- return catmullRom;
74
- })(0.5);
75
-
76
- export { curveCatmullRomClosed as default };
@@ -1,64 +0,0 @@
1
- import { CardinalOpen } from './cardinalOpen.js';
2
- import { point } from './catmullRom.js';
3
-
4
- function CatmullRomOpen(context, alpha) {
5
- this._context = context;
6
- this._alpha = alpha;
7
- }
8
-
9
- CatmullRomOpen.prototype = {
10
- areaStart: function() {
11
- this._line = 0;
12
- },
13
- areaEnd: function() {
14
- this._line = NaN;
15
- },
16
- lineStart: function() {
17
- this._x0 = this._x1 = this._x2 =
18
- this._y0 = this._y1 = this._y2 = NaN;
19
- this._l01_a = this._l12_a = this._l23_a =
20
- this._l01_2a = this._l12_2a = this._l23_2a =
21
- this._point = 0;
22
- },
23
- lineEnd: function() {
24
- if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();
25
- this._line = 1 - this._line;
26
- },
27
- point: function(x, y) {
28
- x = +x, y = +y;
29
-
30
- if (this._point) {
31
- var x23 = this._x2 - x,
32
- y23 = this._y2 - y;
33
- this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));
34
- }
35
-
36
- switch (this._point) {
37
- case 0: this._point = 1; break;
38
- case 1: this._point = 2; break;
39
- case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;
40
- case 3: this._point = 4; // falls through
41
- default: point(this, x, y); break;
42
- }
43
-
44
- this._l01_a = this._l12_a, this._l12_a = this._l23_a;
45
- this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;
46
- this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;
47
- this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;
48
- }
49
- };
50
-
51
- var curveCatmullRomOpen = (function custom(alpha) {
52
-
53
- function catmullRom(context) {
54
- return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);
55
- }
56
-
57
- catmullRom.alpha = function(alpha) {
58
- return custom(+alpha);
59
- };
60
-
61
- return catmullRom;
62
- })(0.5);
63
-
64
- export { curveCatmullRomOpen as default };
@@ -1,33 +0,0 @@
1
- function Linear(context) {
2
- this._context = context;
3
- }
4
-
5
- Linear.prototype = {
6
- areaStart: function() {
7
- this._line = 0;
8
- },
9
- areaEnd: function() {
10
- this._line = NaN;
11
- },
12
- lineStart: function() {
13
- this._point = 0;
14
- },
15
- lineEnd: function() {
16
- if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
17
- this._line = 1 - this._line;
18
- },
19
- point: function(x, y) {
20
- x = +x, y = +y;
21
- switch (this._point) {
22
- case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
23
- case 1: this._point = 2; // falls through
24
- default: this._context.lineTo(x, y); break;
25
- }
26
- }
27
- };
28
-
29
- function curveLinear(context) {
30
- return new Linear(context);
31
- }
32
-
33
- export { curveLinear as default };
@@ -1,27 +0,0 @@
1
- import noop from '../noop.js';
2
-
3
- function LinearClosed(context) {
4
- this._context = context;
5
- }
6
-
7
- LinearClosed.prototype = {
8
- areaStart: noop,
9
- areaEnd: noop,
10
- lineStart: function() {
11
- this._point = 0;
12
- },
13
- lineEnd: function() {
14
- if (this._point) this._context.closePath();
15
- },
16
- point: function(x, y) {
17
- x = +x, y = +y;
18
- if (this._point) this._context.lineTo(x, y);
19
- else this._point = 1, this._context.moveTo(x, y);
20
- }
21
- };
22
-
23
- function curveLinearClosed(context) {
24
- return new LinearClosed(context);
25
- }
26
-
27
- export { curveLinearClosed as default };
@@ -1,106 +0,0 @@
1
- function sign(x) {
2
- return x < 0 ? -1 : 1;
3
- }
4
-
5
- // Calculate the slopes of the tangents (Hermite-type interpolation) based on
6
- // the following paper: Steffen, M. 1990. A Simple Method for Monotonic
7
- // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.
8
- // NOV(II), P. 443, 1990.
9
- function slope3(that, x2, y2) {
10
- var h0 = that._x1 - that._x0,
11
- h1 = x2 - that._x1,
12
- s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),
13
- s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),
14
- p = (s0 * h1 + s1 * h0) / (h0 + h1);
15
- return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;
16
- }
17
-
18
- // Calculate a one-sided slope.
19
- function slope2(that, t) {
20
- var h = that._x1 - that._x0;
21
- return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;
22
- }
23
-
24
- // According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations
25
- // "you can express cubic Hermite interpolation in terms of cubic Bézier curves
26
- // with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1".
27
- function point(that, t0, t1) {
28
- var x0 = that._x0,
29
- y0 = that._y0,
30
- x1 = that._x1,
31
- y1 = that._y1,
32
- dx = (x1 - x0) / 3;
33
- that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);
34
- }
35
-
36
- function MonotoneX(context) {
37
- this._context = context;
38
- }
39
-
40
- MonotoneX.prototype = {
41
- areaStart: function() {
42
- this._line = 0;
43
- },
44
- areaEnd: function() {
45
- this._line = NaN;
46
- },
47
- lineStart: function() {
48
- this._x0 = this._x1 =
49
- this._y0 = this._y1 =
50
- this._t0 = NaN;
51
- this._point = 0;
52
- },
53
- lineEnd: function() {
54
- switch (this._point) {
55
- case 2: this._context.lineTo(this._x1, this._y1); break;
56
- case 3: point(this, this._t0, slope2(this, this._t0)); break;
57
- }
58
- if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();
59
- this._line = 1 - this._line;
60
- },
61
- point: function(x, y) {
62
- var t1 = NaN;
63
-
64
- x = +x, y = +y;
65
- if (x === this._x1 && y === this._y1) return; // Ignore coincident points.
66
- switch (this._point) {
67
- case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;
68
- case 1: this._point = 2; break;
69
- case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;
70
- default: point(this, this._t0, t1 = slope3(this, x, y)); break;
71
- }
72
-
73
- this._x0 = this._x1, this._x1 = x;
74
- this._y0 = this._y1, this._y1 = y;
75
- this._t0 = t1;
76
- }
77
- };
78
-
79
- function MonotoneY(context) {
80
- this._context = new ReflectContext(context);
81
- }
82
-
83
- (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {
84
- MonotoneX.prototype.point.call(this, y, x);
85
- };
86
-
87
- function ReflectContext(context) {
88
- this._context = context;
89
- }
90
-
91
- ReflectContext.prototype = {
92
- moveTo: function(x, y) { this._context.moveTo(y, x); },
93
- closePath: function() { this._context.closePath(); },
94
- lineTo: function(x, y) { this._context.lineTo(y, x); },
95
- bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }
96
- };
97
-
98
- function monotoneX(context) {
99
- return new MonotoneX(context);
100
- }
101
-
102
- function monotoneY(context) {
103
- return new MonotoneY(context);
104
- }
105
-
106
- export { monotoneX, monotoneY };
@@ -1,67 +0,0 @@
1
- function Natural(context) {
2
- this._context = context;
3
- }
4
-
5
- Natural.prototype = {
6
- areaStart: function() {
7
- this._line = 0;
8
- },
9
- areaEnd: function() {
10
- this._line = NaN;
11
- },
12
- lineStart: function() {
13
- this._x = [];
14
- this._y = [];
15
- },
16
- lineEnd: function() {
17
- var x = this._x,
18
- y = this._y,
19
- n = x.length;
20
-
21
- if (n) {
22
- this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);
23
- if (n === 2) {
24
- this._context.lineTo(x[1], y[1]);
25
- } else {
26
- var px = controlPoints(x),
27
- py = controlPoints(y);
28
- for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {
29
- this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);
30
- }
31
- }
32
- }
33
-
34
- if (this._line || (this._line !== 0 && n === 1)) this._context.closePath();
35
- this._line = 1 - this._line;
36
- this._x = this._y = null;
37
- },
38
- point: function(x, y) {
39
- this._x.push(+x);
40
- this._y.push(+y);
41
- }
42
- };
43
-
44
- // See https://www.particleincell.com/2012/bezier-splines/ for derivation.
45
- function controlPoints(x) {
46
- var i,
47
- n = x.length - 1,
48
- m,
49
- a = new Array(n),
50
- b = new Array(n),
51
- r = new Array(n);
52
- a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];
53
- for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];
54
- a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];
55
- for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];
56
- a[n - 1] = r[n - 1] / b[n - 1];
57
- for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];
58
- b[n - 1] = (x[n] + a[n - 1]) / 2;
59
- for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];
60
- return [a, b];
61
- }
62
-
63
- function curveNatural(context) {
64
- return new Natural(context);
65
- }
66
-
67
- export { curveNatural as default };