expressive-charts 0.12.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +62 -16
- package/README.md +26 -27
- package/dist/{define-DeZLs1h7.js → define-ClDM4DNz.js} +13 -5
- package/dist/define-ClDM4DNz.js.map +1 -0
- package/dist/{drawing-OmQV-0BB.d.ts → drawing-qGmuUkoL.d.ts} +4 -3
- package/dist/{effect-HCWnmB72.d.ts → effect-GgFkjYSV.d.ts} +1 -1
- package/dist/expressive-charts.global.js +10 -10
- package/dist/expressive-charts.global.js.map +1 -1
- package/dist/icons/sport.cjs +12 -4
- package/dist/icons/sport.cjs.map +1 -1
- package/dist/icons/sport.d.cts +1 -1
- package/dist/icons/sport.d.ts +1 -1
- package/dist/icons/sport.js +1 -1
- package/dist/{index-CmnxlWkB.d.cts → index-DLdz-1iE.d.cts} +4 -3
- package/dist/index.cjs +191 -72
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +48 -11
- package/dist/index.d.ts +48 -11
- package/dist/index.js +170 -61
- package/dist/index.js.map +1 -1
- package/dist/runner-DZP831pq.d.cts +1 -0
- package/dist/testing.d.cts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +1 -1
- package/dist/{transition-BFd3ktZY.js → transition-BxWp6BVX.js} +2 -2
- package/dist/{transition-BFd3ktZY.js.map → transition-BxWp6BVX.js.map} +1 -1
- package/package.json +3 -3
- package/dist/define-DeZLs1h7.js.map +0 -1
- package/dist/runner-C87v9F_y.d.cts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index-DLdz-1iE.cjs";
|
package/dist/testing.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as MarkStyle, C as TextSpace, F as TextStyle, I as Icon, M as Paint, O as Layer, T as TransitionEffect, b as EffectContext, et as MarkGeometry, j as Matrix, k as MarkHandle, kt as ManualClock, lt as Motion, mt as ScalingOverrides, rt as Rect, ut as MotionMode, x as GeometryEffect, y as DataEffect, z as MarkData } from "./index-
|
|
2
|
-
import "./runner-
|
|
1
|
+
import { A as MarkStyle, C as TextSpace, F as TextStyle, I as Icon, M as Paint, O as Layer, T as TransitionEffect, b as EffectContext, et as MarkGeometry, j as Matrix, k as MarkHandle, kt as ManualClock, lt as Motion, mt as ScalingOverrides, rt as Rect, ut as MotionMode, x as GeometryEffect, y as DataEffect, z as MarkData } from "./index-DLdz-1iE.cjs";
|
|
2
|
+
import "./runner-DZP831pq.cjs";
|
|
3
3
|
interface CheckEffectOptions<D = unknown> {
|
|
4
4
|
/**
|
|
5
5
|
* The marks to check on: named, or a list such as a chart's `marks()` (each named by its key in the
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as ManualClock, S as ScalingOverrides, _ as Motion, a as GeometryEffect, i as EffectContext, l as TransitionEffect, r as DataEffect, s as TextSpace, u as MarkData, v as MotionMode } from "./effect-
|
|
2
|
-
import { _ as Rect, a as MarkStyle, d as Icon, i as MarkHandle, m as MarkGeometry, o as Matrix, r as Layer, s as Paint, u as TextStyle } from "./drawing-
|
|
1
|
+
import { L as ManualClock, S as ScalingOverrides, _ as Motion, a as GeometryEffect, i as EffectContext, l as TransitionEffect, r as DataEffect, s as TextSpace, u as MarkData, v as MotionMode } from "./effect-GgFkjYSV.js";
|
|
2
|
+
import { _ as Rect, a as MarkStyle, d as Icon, i as MarkHandle, m as MarkGeometry, o as Matrix, r as Layer, s as Paint, u as TextStyle } from "./drawing-qGmuUkoL.js";
|
|
3
3
|
interface CheckEffectOptions<D = unknown> {
|
|
4
4
|
/**
|
|
5
5
|
* The marks to check on: named, or a list such as a chart's `marks()` (each named by its key in the
|
package/dist/testing.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as createMotion, U as manualClock, c as estimatedBox, f as describeValue, h as describe, i as runScope, l as mergeFields, p as isMarkEffect, t as isTransitionEffect } from "./transition-BxWp6BVX.js";
|
|
2
2
|
// src/core/testing/recording.ts
|
|
3
3
|
function recordingLayer() {
|
|
4
4
|
const drawn = /* @__PURE__ */ new Map();
|
|
@@ -2120,6 +2120,6 @@ function describeEffect(value) {
|
|
|
2120
2120
|
if (kind === "transition") return "a transition effect without run(), end() and clear()";
|
|
2121
2121
|
return kind === void 0 ? "an object with no kind" : `an effect of kind ${JSON.stringify(kind)}`;
|
|
2122
2122
|
}
|
|
2123
|
-
export {
|
|
2123
|
+
export { tween as A, unease as B, flattenPath as C, describeArc as D, describeBar as E, motion as F, defaultClock as H, scaleDuration as I, easeInOutCubic as L, createMotion as M, defaultScaling as N, labelBoxes as O, mediaReducedMotion as P, easeOutCubic as R, cubicPieces as S, describeLine as T, manualClock as U, createClock as V, report as W, formatPath as _, AVERAGE_WIDTH as a, transformPath as b, estimatedBox as c, createRegistry as d, describeValue as f, describeShape as g, describe as h, runScope as i, TIMINGS as j, loopOutline as k, mergeFields as l, resolveEffects as m, playTransition as n, TEXT_SIZE as o, isMarkEffect as p, createRunner as r, boxAround as s, isTransitionEffect as t, EFFECT_SLOTS as u, parsePath as v, describePoint as w, FLAT as x, shapeOutline as y, linear as z };
|
|
2124
2124
|
|
|
2125
|
-
//# sourceMappingURL=transition-
|
|
2125
|
+
//# sourceMappingURL=transition-BxWp6BVX.js.map
|