@graphysdk/react-renderer 1.8.1-beta.1787065194945 → 1.8.1-beta.1787131914625
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/README.md +12 -15
- package/dist/editable.cjs +1 -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-CNo52BtC.js → history-chords-C4TL1n1Y.js} +2 -2
- package/dist/{history-chords-dypHVOOL.cjs → history-chords-GxrZEsFj.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{typography-DUFp65Tx.js → typography-DblWp_Sx.js} +1 -1
- package/dist/typography-pSq8wmhI.cjs +2 -0
- package/package.json +2 -2
- package/dist/typography-CsG_IWDd.cjs +0 -2
- package/dist/typography.css +0 -1
package/dist/editable.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as U, C as Y, D as Tr, F as Je, H as Ee, I as Ar, J as L, L as nt, M as Ne, N as tt, O as Ir, P as Qe, Q as rt, R as Pr, S as T, V as Lr, W as be, X as kr, Z as Mr, _ as Or, b as Er, c as at, d as ot, f as ye, ft as Nr, g as _r, gt as K, h as it, i as Rr, j as B, k as $, l as Dr, m as Hr, mt as zr, n as D, nt as q, o as Vr, p as Fr, pt as Br, q as v1, r as Gr, s as Kr, t as Wr, tt as en, u as lt, vt as z, w as se, x as nn, z as Ur } from "./history-chords-
|
|
2
|
-
import { p as Zr } from "./typography-
|
|
1
|
+
import { A as U, C as Y, D as Tr, F as Je, H as Ee, I as Ar, J as L, L as nt, M as Ne, N as tt, O as Ir, P as Qe, Q as rt, R as Pr, S as T, V as Lr, W as be, X as kr, Z as Mr, _ as Or, b as Er, c as at, d as ot, f as ye, ft as Nr, g as _r, gt as K, h as it, i as Rr, j as B, k as $, l as Dr, m as Hr, mt as zr, n as D, nt as q, o as Vr, p as Fr, pt as Br, q as v1, r as Gr, s as Kr, t as Wr, tt as en, u as lt, vt as z, w as se, x as nn, z as Ur } from "./history-chords-C4TL1n1Y.js";
|
|
2
|
+
import { p as Zr } from "./typography-DblWp_Sx.js";
|
|
3
3
|
import { ARROW_DEFAULTS as $r, AddAnnotationCommand as ee, AddHighlightCommand as qr, BORDER_RADIUS_TOKENS as Cn, CONSTANT_VARIABLES as Xr, DEFAULT_BAR_BORDER_RADIUS as jr, DEFAULT_POINT_SIZE as Yr, DEFAULT_STROKE_WIDTH as Jr, DIFFERENCE_ARROW_DEFAULTS as st, MAX_BAR_WIDTH as Qr, MIN_BAR_WIDTH as ea, MoveAnnotationCommand as na, RESTING_HOVER_STATE as ct, RemoveAnnotationCommand as Se, RemoveHighlightCommand as ta, SHAPE_DEFAULTS as ra, SetAppearanceTextScaleCommand as aa, SetAxisLabelCommand as oa, SetAxisPositionCommand as ia, SetAxisTickModeCommand as la, SetAxisTicksVisibilityCommand as sa, SetAxisVisibilityCommand as ca, SetBarBorderRadiusCommand as da, SetBarWidthCommand as ha, SetChartTypeCommand as ua, SetContentCaptionCommand as pa, SetContentSourceCommand as ma, SetContentSubtitleCommand as ga, SetContentTitleCommand as va, SetDataLabelsFormatCommand as fa, SetGridLineStyleCommand as Ca, SetGridLineWidthCommand as ba, SetGridVisibilityCommand as ya, SetHeadlineCompareWithCommand as Sa, SetHeadlinePositionCommand as wa, SetHeadlineShowCommand as bn, SetHeadlineSizeCommand as xa, SetHighlightDimStyleCommand as Ta, SetLegendAlignCommand as Aa, SetLegendDisplayCommand as Ia, SetLegendPositionCommand as Pa, SetLineInterpolationCommand as La, SetLineMissingValuesCommand as ka, SetLineWidthCommand as yn, SetMappingCommand as Ma, SetNumberFormatAbbreviationCommand as Oa, SetNumberFormatDecimalsCommand as Sn, SetPointSizeCommand as Ea, SetPolarInnerRadiusCommand as Na, SetPolarStartAngleCommand as _a, SetRuleLabelCommand as Ra, SetRuleValueCommand as Da, SetScaleDomainCommand as Ae, SetScaleReverseCommand as Ha, SetScaleTransformCommand as za, SetScaleZeroCommand as wn, SetStatLineCommand as Va, SetStyleRuleCommand as Fa, TEXT_ANNOTATION_DEFAULTS as Ba, ToggleCategoryLabelsCommand as Ga, ToggleContentVisibilityCommand as _e, ToggleDataLabelsCommand as Ka, ToggleGoalLineCommand as Wa, ToggleLineFillCommand as Ua, ToggleLinePointsVisibilityCommand as Za, ToggleStackTotalsCommand as $a, UpdateAnnotationCommand as ae, areAnchorsEqual as dt, areEndpointsComparable as qa, buildEditMenuTriggerRegion as Xa, buildLayerStyleAddress as ja, buildObservationAnchor as Ya, buildObservationPredicate as Ja, canAnchorDirectLabels as Qa, canPlaceDataLabels as eo, clampAnnotationTranslation as no, computeArrow as ht, createObservationAnchorParser as to, createStyleResolver as ut, createValueFormatter as ro, extractConstantValue as ao, extractVariableName as oo, filterLayersByGeoms as Ue, findAnnotation as io, findAverageLineLayer as lo, findGoalLineLayer as so, findHighlightsAtObservation as co, findKindStyleDeclarations as ho, findLayerByGeom as pt, findObservationAttachment as uo, findStyleRule as po, findTrendLineLayer as mo, formatDifferenceLabel as go, getColor as vo, hasMultipleGroups as fo, inferDefaultDifferenceArrowEndpoints as Co, inferDifferenceArrowEndpoints as bo, isCompanionLayer as mt, isObservationAttachmentKind as yo, isPointWithinEditMenuTrigger as gt, isSafeUrl as So, projectAnchorToPanel as wo, readChartType as xo, readHighlightDimStyle as To, readMappableAesthetics as Ao, readMappedVariable as Io, resolveComparisonBasis as Po, resolveObservationPoint as Ze, stepDifferenceArrowEndpoint as Lo, toPanelCursor as tn } from "@graphysdk/viz-engine";
|
|
4
4
|
import { createContext as we, useCallback as te, useContext as me, useEffect as N, useId as ue, useMemo as _, useRef as le, useState as J } from "react";
|
|
5
5
|
import { Fragment as Z, jsx as t, jsxs as g } from "react/jsx-runtime";
|
package/dist/graph-config.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./typography-
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./typography-pSq8wmhI.cjs");let s=require("@graphysdk/viz-engine/graph-config");var v=(e,n)=>{const r=e.appearance?.textStyle;return{...c(e.themeOverrides),...n&&r?l(r,n):void 0}},l=(e,n)=>{const r=a=>a===void 0?void 0:n.find(i=>i.id===a)?.fontFamily,o=r(e.body?.fontId),t=r(e.heading?.fontId);return{...o?{fontFamilyDefault:o}:void 0,...t?{fontFamilyHeading:t}:void 0}},c=e=>{if(e===void 0)return;const n={};for(const[r,o]of Object.entries(e))if(d.isMeasuredFontTokenKey(r)&&typeof o=="string"){const t=(0,s.parseFontShorthand)(o);if(t===null){f(r,o);continue}n[r]=t}else n[r]=o;return n},f=(e,n)=>{process.env.NODE_ENV!=="production"&&console.warn(`[react-renderer] Ignoring GraphConfig themeOverrides."${e}": "${n}" is not a measurable font shorthand (needs a px/em size and a family).`)};exports.convertGraphConfigTheme=v;
|
package/dist/graph-config.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as Ha, c as cn, d as Ga, f as dn, i as Wa, l as Va, n as za, o as un, p as m, r as Ua, s as Qa, t as St, u as hn } from "./typography-
|
|
1
|
+
import { a as Ha, c as cn, d as Ga, f as dn, i as Wa, l as Va, n as za, o as un, p as m, r as Ua, s as Qa, t as St, u as hn } from "./typography-DblWp_Sx.js";
|
|
2
2
|
import { ANNOTATION_TOOLTIP_MARKER_GAP as Ka, AXIS_KEYS as Jt, CachedTextMeasurer as wr, DATA_LABEL_POSITIONS as Ya, DATA_LABEL_ROLES as ja, DEFAULT_GEOM_COLOR as pn, DEFAULT_HOVER_AFFORDANCE_COLOR as Zt, GROUP_VARIABLES as ge, HeuristicTextMeasurer as qa, HoverEngine as Xa, InternalError as Ja, LayoutCompiler as Za, POLAR_RIM_LABEL_GAP_PX as $a, RESTING_HOVER_STATE as pt, SetContentCaptionCommand as _a, SetContentSubtitleCommand as ei, SetContentTitleCommand as ti, TAU as kr, alignUnitFractions as gn, areAnchorsEqual as ri, areEditMenuTriggersEqual as ni, areEndpointsComparable as Pr, arePointerRegionListsEqual as oi, buildAverageLineSymbols as ai, buildCalloutHitRegions as ii, buildColumnKey as $t, buildDataLabelsContent as li, buildFontString as si, buildLayerIntroPlan as ci, buildLayerYValueFormatter as di, buildPinnedNumberValueFormatter as ui, buildPolarBarArcPath as Se, buildSliceGroupKey as _t, buildTooltipContent as hi, computeArrow as pi, computeDifferenceArrow as gi, computeDirectLabelsLayout as mi, computeLineBoxHeight as mn, computePanelBorderPaths as vi, computePanelBorderSizes as fi, countLayerGeoms as bi, createAreaPathGenerators as vn, createHeadlineItemRows as fn, createLineFillAreaGenerator as Ai, createLinePathGenerator as bn, createSegmentYReader as yi, createStableKeyGenerator as ae, createStyleResolver as er, findAnnotation as xi, findPointerRegion as Cr, formatHeadline as Si, formatLegends as wi, formatRuleValue as ki, getAestheticFromScaleAestheticKey as Ie, getAlpha as An, getAngleExtent as tr, getBarRectBounds as je, getBoundingRect as yn, getChromeDashArray as rr, getDashArray as De, getDifferenceArrowDimensions as Pi, getDifferenceArrowLabelBox as Ci, getGroup as wt, getHoverGuideLineProps as Ei, getHoverGuideRectProps as Ri, getPolarHoverGuideArcProps as Li, getRadiusExtent as kt, getRuleDashPattern as Ti, getRuleLabelTextColor as Bi, getSize as Ni, getStackRole as Ii, getUnionExtent as Di, getX as q, getXMax as Fi, getY as ne, getYMax as xn, isAnnotationMovable as Mi, isDefined as Sn, isFullTurnSweep as wn, isSafeUrl as nr, orderPointerRegions as Oi, placeCallouts as Hi, polarToUnit as Gi, positionToAngle as Wi, prepareAreaObservations as kn, prepareLineObservations as Pn, resolveArrowColor as Vi, resolveAxisLabelStyle as zi, resolveBarBorderRadiusPx as Cn, resolveBarBorderTreatment as qe, resolveBarCornerRadiiPx as Ui, resolveDataLabelStyle as Qi, resolveDeferredAnchors as Ki, resolveGraphChromeStyle as En, resolveGridLineStyle as Wt, resolveHeadlinePlacement as Yi, resolvePanelBorderStyle as Rn, resolvePolarBarCornerRadiusUnit as Ln, resolveRuleLabelStyle as ji, resolveTickLabelStyle as qi, resolveTickLineStyle as Xi, toFontSpec as Xe, toPanelCursor as Ji, toPercent as w, toViewBoxX as Tn, toViewBoxY as Bn, truncateToWidth as Zi } from "@graphysdk/viz-engine";
|
|
3
3
|
import { Fragment as or, createContext as z, memo as ie, useCallback as re, useContext as M, useEffect as T, useId as V, useMemo as x, useRef as L, useState as I, useSyncExternalStore as $i } from "react";
|
|
4
4
|
import { Fragment as C, jsx as a, jsxs as A } from "react/jsx-runtime";
|
|
@@ -45,7 +45,7 @@ import './history-chords.css';var Er = Object.defineProperty, vl = (e, t) => {
|
|
|
45
45
|
});
|
|
46
46
|
return t || Er(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
47
47
|
};
|
|
48
|
-
typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.8.1-beta.
|
|
48
|
+
typeof window < "u" && (window.__GRAPHY_SDK__ ??= {}, window.__GRAPHY_SDK__.reactRenderer = "1.8.1-beta.1787131914625");
|
|
49
49
|
var jn = z(null), J = () => {
|
|
50
50
|
const e = M(jn);
|
|
51
51
|
if (!e) throw new Error("useGraph* hooks must be used inside a <GraphProvider>");
|