@graphysdk/react-renderer 1.9.0-beta.1790865062136 → 1.9.0-beta.1790931976211
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/dist/editable.cjs +1 -1
- package/dist/editable.d.ts +7 -1
- package/dist/editable.mjs +2 -2
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.mjs +1 -1
- package/dist/history-chords-BI99rjyp.cjs +2 -0
- package/dist/{history-chords-DaIRp1Db.js → history-chords-CzRA4lfb.js} +1679 -1644
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.mjs +2 -2
- package/dist/{theme.contract.css-AyXDNf0F.js → theme.contract.css-DRIwwcHW.js} +1 -1
- package/dist/theme.contract.css-VQwFtkVc.cjs +1 -0
- package/package.json +2 -2
- package/dist/history-chords-BbkuBx7Q.cjs +0 -2
- package/dist/theme.contract.css +0 -1
- package/dist/theme.contract.css-DKDKSByt.cjs +0 -1
package/dist/editable.d.ts
CHANGED
|
@@ -752,7 +752,8 @@ declare type GraphAnimation = boolean | GraphAnimationProps;
|
|
|
752
752
|
/** Per-kind animation settings. Each kind is independent: turning one off leaves the other running. */
|
|
753
753
|
declare interface GraphAnimationProps {
|
|
754
754
|
/**
|
|
755
|
-
* Settings for the intro animation played when the chart first mounts or
|
|
755
|
+
* Settings for the intro animation played when the chart first mounts, or when its panel comes into view
|
|
756
|
+
* with `trigger: 'inView'`.
|
|
756
757
|
* `false` disables it, an object overrides individual intro settings. Defaults on.
|
|
757
758
|
*/
|
|
758
759
|
intro?: boolean | Partial<IntroAnimationOptions>;
|
|
@@ -998,6 +999,8 @@ declare interface IntlProviderProps {
|
|
|
998
999
|
declare interface IntroAnimationOptions {
|
|
999
1000
|
/** Whether the entrance plays at all */
|
|
1000
1001
|
enabled: boolean;
|
|
1002
|
+
/** When the entrance starts: as the graph mounts, or once its panel, where the geoms paint, is in view. */
|
|
1003
|
+
trigger: IntroTrigger;
|
|
1001
1004
|
/** Multiplier applied to every entrance duration and stagger delay. */
|
|
1002
1005
|
durationScale: number;
|
|
1003
1006
|
/** Whether geoms that support staggered entrance (bars) enter staggered rather than all at once. */
|
|
@@ -1006,6 +1009,9 @@ declare interface IntroAnimationOptions {
|
|
|
1006
1009
|
staggerOrder: IntroStaggerOrder;
|
|
1007
1010
|
}
|
|
1008
1011
|
|
|
1012
|
+
/** Without an IntersectionObserver, as in a test environment, `inView` plays on mount. */
|
|
1013
|
+
declare type IntroTrigger = 'mount' | 'inView';
|
|
1014
|
+
|
|
1009
1015
|
/** Where the legend sits relative to the chart, and how it names its series. */
|
|
1010
1016
|
export declare const LegendSection: ({ positions, title, layout, preview }: LegendSectionProps) => JSX.Element | null;
|
|
1011
1017
|
|
package/dist/editable.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as nn, $t as De, At as li, C as si, Ct as ci, D as di, Dt as Ue, E as ui, F as k, G as hi, Gt as pi, H as mi, J as gi, Jt as vi, K as En, Kt as fi, Lt as bi, N as yi, O as _r, Ot as j, P as Si, Q as Fr, Qt as rn, R as Ci, Rt as zr, S as xi, St as wi, T as xe, U as X, V as Ti, Vt as Ai, W as H, X as an, Y as $, Yt as ki, Z as on, Zt as Br, _ as Ie, _t as Li, an as Pi, at as Ii, b as Hr, c as Gr, cn as Vr, ct as Ei, d as Oi, dt as ln, et as ut, f as Mi, fn as D, g as $r, gt as E, h as sn, ht as Ni, i as Ri, k as ht, kt as Di, l as _i, lt as re, m as Fi, mn as z, mt as zi, n as he, nn as Bi, nt as Ur, o as Hi, ot as Gi, p as Wr, q as Vi, qt as $i, r as W, rn as Ui, rt as Kr, st as On, t as Wi, tt as Ki, u as qi, un as Q, v as Xi, wt as pe, x as Zi, xt as ji, y as Yi, yt as Ee } from "./history-chords-
|
|
2
|
-
import { n as ge, t as qr } from "./theme.contract.css-
|
|
1
|
+
import { $ as nn, $t as De, At as li, C as si, Ct as ci, D as di, Dt as Ue, E as ui, F as k, G as hi, Gt as pi, H as mi, J as gi, Jt as vi, K as En, Kt as fi, Lt as bi, N as yi, O as _r, Ot as j, P as Si, Q as Fr, Qt as rn, R as Ci, Rt as zr, S as xi, St as wi, T as xe, U as X, V as Ti, Vt as Ai, W as H, X as an, Y as $, Yt as ki, Z as on, Zt as Br, _ as Ie, _t as Li, an as Pi, at as Ii, b as Hr, c as Gr, cn as Vr, ct as Ei, d as Oi, dt as ln, et as ut, f as Mi, fn as D, g as $r, gt as E, h as sn, ht as Ni, i as Ri, k as ht, kt as Di, l as _i, lt as re, m as Fi, mn as z, mt as zi, n as he, nn as Bi, nt as Ur, o as Hi, ot as Gi, p as Wr, q as Vi, qt as $i, r as W, rn as Ui, rt as Kr, st as On, t as Wi, tt as Ki, u as qi, un as Q, v as Xi, wt as pe, x as Zi, xt as ji, y as Yi, yt as Ee } from "./history-chords-CzRA4lfb.js";
|
|
2
|
+
import { n as ge, t as qr } from "./theme.contract.css-DRIwwcHW.js";
|
|
3
3
|
import { ARROW_DEFAULTS as Ji, ARROW_STICKER_DECLARATIONS as Qi, ARROW_STROKE_WIDTHS_PX as Ot, AddAnnotationCommand as ye, AddHighlightCommand as el, BORDER_RADIUS_TOKENS as Mn, COMBO_TYPES as Nn, CONSTANT_VARIABLES as tl, DASH_PRESETS as nl, DEFAULT_BAR_CORNER_RADIUS as rl, DEFAULT_GEOM_COLOR as al, DEFAULT_POINT_SIZE_PX as ol, DEFAULT_STROKE_WIDTH_PX as il, DIFFERENCE_ARROW_DEFAULTS as Xr, DIFFERENCE_ARROW_SIZE_DECLARATIONS as Rn, InternalError as ll, MAX_BAR_WIDTH_FRACTION as sl, MIN_BAR_WIDTH_FRACTION as cl, MoveAnnotationCommand as dl, RESTING_HOVER_STATE as cn, RemoveAnnotationCommand as ze, RemoveHighlightCommand as ul, SHAPE_DEFAULTS as hl, SetAxisLabelCommand as pl, SetAxisPositionCommand as ml, SetAxisTickModeCommand as gl, SetAxisTicksVisibilityCommand as vl, SetAxisVisibilityCommand as fl, SetBarCornerRadiusCommand as bl, SetBarWidthCommand as yl, SetChartTypeCommand as Zr, SetContentCaptionCommand as jr, SetContentSourceCommand as Sl, SetContentSubtitleCommand as Yr, SetContentTitleCommand as Jr, SetDataLabelsFormatCommand as Cl, SetDifferenceArrowStyleCommand as xl, SetGridLineStyleCommand as wl, SetGridLineWidthCommand as Tl, SetGridVisibilityCommand as Al, SetHeadlineCompareWithCommand as kl, SetHeadlinePositionCommand as Ll, SetHeadlineShowCommand as Dn, SetHeadlineSizeCommand as Pl, SetHighlightDimStyleCommand as Il, SetLayerYScaleTypeCommand as El, SetLegendAlignCommand as Ol, SetLegendDisplayCommand as Ml, SetLegendPositionCommand as Nl, SetLineCurveCommand as Rl, SetLineMissingValuesCommand as Dl, SetLineWidthCommand as _n, SetMappingCommand as _l, SetNumberFormatAbbreviationCommand as Fl, SetNumberFormatDecimalsCommand as Fn, SetPointSizeCommand as zl, SetPolarInnerRadiusCommand as Bl, SetPolarStartAngleCommand as Hl, SetRuleLabelCommand as Gl, SetRuleValueCommand as Vl, SetScaleDomainCommand as Mt, SetScaleReverseCommand as $l, SetScaleTransformCommand as Ul, SetStatLineCommand as Wl, SetStyleRuleCommand as ke, TEXT_ANNOTATION_DEFAULTS as Kl, TEXT_ANNOTATION_FADE_ALPHA as ql, ToggleCategoryLabelsCommand as Xl, ToggleContentVisibilityCommand as pt, ToggleDataLabelsCommand as Zl, ToggleGoalLineCommand as jl, ToggleLineFillCommand as Yl, ToggleLinePointsCommand as Jl, ToggleStackTotalsCommand as Ql, UpdateAnnotationCommand as le, alignUnitFractions as es, areAnchorsEqual as Qr, areEditTargetsEqual as ea, areEndpointsComparable as ts, buildEditMenuTriggerRegion as ns, buildLayerStyleAddress as rs, buildObservationPredicate as as, buildObservationsTarget as mt, buildObservationsTargetAtValue as ta, canAnchorDirectLabels as os, canBecomeCombo as is, canBecomeHeatmap as ls, clampAnnotationTranslation as ss, computeArrow as na, createObservationAnchorBuilder as cs, createObservationAnchorParser as ds, createStyleResolver as us, createValueFormatter as ra, createXValueReader as hs, filterLayersByGeoms as zt, findAnnotation as ps, findAverageLineLayer as ms, findAxisGuide as gs, findCompanionLayers as aa, findGoalLineLayer as vs, findHighlightsAtObservation as fs, findKindStyleDeclarations as bs, findLayerByGeom as oa, findLayerById as ve, findObservationAttachment as ys, findStyleRule as Ce, findTrendLineLayer as Ss, formatDifferenceLabel as Cs, getBoundingRect as Bt, getGroupVariables as xs, getXBand as ws, getYBand as Ts, hasMainAxisBand as As, hasMultipleGroups as ks, inferDefaultDifferenceArrowEndpoints as Ls, inferDifferenceArrowEndpoints as Ps, isComboChartType as Ae, isCompanionLayer as dn, isObservationAttachmentKind as Is, isPointWithinEditMenuTrigger as un, isSafeUrl as Es, isZeroAnchoredAxis as Os, measureObservationsBoxes as ia, projectAnchorToPanel as nt, readBroadestObservationsScope as Ms, readChartType as la, readComboLineLayerId as Ns, readCompanionRowsAtScopeKey as Rs, readConstantValue as Ds, readEditTargetKey as gt, readGeomColor as _s, readHighlightDimStyle as Fs, readMainAxis as zs, readMappableAesthetics as Bs, readMappedVariable as Hs, readObservationIndex as sa, readReachableLevels as Gs, readRowScopeKey as Vs, readRowsAtScopeKey as $s, readScopeXVariable as Us, readVariableName as vt, resolveArrowAnnotationStyle as hn, resolveBarBandFraction as Ws, resolveComparisonBasis as Ks, resolveDifferenceArrowAnnotationStyle as qs, resolveEditOutlineStyle as Xs, resolveObservationPoint as ca, resolveObservationsTarget as zn, stepDifferenceArrowEndpoint as Zs, toDashPreset as Ht, toPaintColor as rt, toPanelCursor as ft } from "@graphysdk/viz-engine";
|
|
4
4
|
import { Fragment as js, createContext as Be, memo as da, useCallback as oe, useContext as we, useEffect as F, useId as Le, useLayoutEffect as Pe, useMemo as I, useRef as ne, useState as te } from "react";
|
|
5
5
|
import { Fragment as Y, jsx as r, jsxs as m } from "react/jsx-runtime";
|
package/dist/graph-config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.contract.css-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./theme.contract.css-VQwFtkVc.cjs");require("@graphysdk/viz-engine/graph-config");var c=e=>{const r={};for(const[t,n]of Object.entries(e.themeOverrides??{}))typeof n!="string"||!i(t)||(r[t]=n);return r},i=e=>Object.hasOwn(o.vars,e);exports.convertGraphConfigTheme=c;
|
package/dist/graph-config.mjs
CHANGED