@graphysdk/react-renderer 1.8.1-beta.1788418998006 → 1.9.0-beta.1788545270301

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.
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./dev.utils-Cu9g-Xx9.cjs");let s=require("@graphysdk/viz-engine/graph-config");var v=(e,n)=>{const r=e.appearance?.textStyle;return{...f(e.themeOverrides),...n&&r?l(r,n):void 0}},l=(e,n)=>{const r=i=>i===void 0?void 0:n.find(d=>d.id===i)?.fontFamily,o=r(e.body?.fontId),t=r(e.heading?.fontId);return{...o?{fontFamilyDefault:o}:void 0,...t?{fontFamilyHeading:t}:void 0}},f=e=>{if(e===void 0)return;const n={};for(const[r,o]of Object.entries(e))if(a.isMeasuredFontTokenKey(r)&&typeof o=="string"){const t=(0,s.parseFontShorthand)(o);if(t===null){c(r,o);continue}n[r]=t}else n[r]=o;return n},c=(e,n)=>{a.IS_DEV&&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;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./dev.utils-C5W6wbHd.cjs");let s=require("@graphysdk/viz-engine/graph-config");var v=(e,n)=>{const r=e.appearance?.textStyle;return{...f(e.themeOverrides),...n&&r?l(r,n):void 0}},l=(e,n)=>{const r=i=>i===void 0?void 0:n.find(d=>d.id===i)?.fontFamily,o=r(e.body?.fontId),t=r(e.heading?.fontId);return{...o?{fontFamilyDefault:o}:void 0,...t?{fontFamilyHeading:t}:void 0}},f=e=>{if(e===void 0)return;const n={};for(const[r,o]of Object.entries(e))if(a.isMeasuredFontTokenKey(r)&&typeof o=="string"){const t=(0,s.parseFontShorthand)(o);if(t===null){c(r,o);continue}n[r]=t}else n[r]=o;return n},c=(e,n)=>{a.IS_DEV&&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;
@@ -105,11 +105,6 @@ declare const vars: {
105
105
  legendBorderColor: `var(--${string})`;
106
106
  legendFocusOutlineColor: `var(--${string})`;
107
107
  legendTextColor: `var(--${string})`;
108
- dimmedSeriesLabelTextColor: `var(--${string})`;
109
- dimmedSeriesLabelLineColor: `var(--${string})`;
110
- trendNegativeColor: `var(--${string})`;
111
- trendPositiveColor: `var(--${string})`;
112
- trendNeutralColor: `var(--${string})`;
113
108
  annotationFrameBorderColor: `var(--${string})`;
114
109
  editMenuTriggerIconColor: `var(--${string})`;
115
110
  heatmapEmptyTileBackground: `var(--${string})`;
@@ -120,15 +115,11 @@ declare const vars: {
120
115
  tooltipRowGap: `var(--${string})`;
121
116
  tooltipShadow: `var(--${string})`;
122
117
  editorControlHeight: `var(--${string})`;
123
- legendItemGap: `var(--${string})`;
124
118
  legendSwatchGap: `var(--${string})`;
125
- legendSwatchWidth: `var(--${string})`;
126
- legendSwatchHeight: `var(--${string})`;
127
119
  legendPillPaddingInline: `var(--${string})`;
128
120
  legendPillPaddingBlock: `var(--${string})`;
129
121
  legendPillBorderWidth: `var(--${string})`;
130
122
  headlineRowGap: `var(--${string})`;
131
- headlineItemGap: `var(--${string})`;
132
123
  canvasDefault: `var(--${string})`;
133
124
  canvasBlue: `var(--${string})`;
134
125
  canvasCyan: `var(--${string})`;
@@ -175,7 +166,6 @@ declare const vars: {
175
166
  fontWeightSemibold: `var(--${string})`;
176
167
  fontWeightBold: `var(--${string})`;
177
168
  fontWeightExtraBold: `var(--${string})`;
178
- fontWeightBlack: `var(--${string})`;
179
169
  textScale: `var(--${string})`;
180
170
  fontSizeXxs: `var(--${string})`;
181
171
  fontSizeXs: `var(--${string})`;
@@ -199,8 +189,6 @@ declare const vars: {
199
189
  fontLineHeightHeadingLg: `var(--${string})`;
200
190
  fontLegendLabel: `var(--${string})`;
201
191
  fontSeriesLabel: `var(--${string})`;
202
- fontTrendTag: `var(--${string})`;
203
- fontTrendTagSmall: `var(--${string})`;
204
192
  fontPieLabel: `var(--${string})`;
205
193
  fontPieChartTotal: `var(--${string})`;
206
194
  fontButton: `var(--${string})`;
@@ -1,4 +1,4 @@
1
- import { c as d, t as s } from "./dev.utils-DepuGtOF.js";
1
+ import { c as d, t as s } from "./dev.utils-HBVa4Fj9.js";
2
2
  import { parseFontShorthand as v } from "@graphysdk/viz-engine/graph-config";
3
3
  var y = (e, n) => {
4
4
  const r = e.appearance?.textStyle;