@graphysdk/react-renderer 1.8.1-beta.1786707936521 → 1.8.1-beta.1786951728553

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 d=require("./typography-Bd5awt67.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;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./typography-CsG_IWDd.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;
@@ -111,7 +111,6 @@ declare const vars: {
111
111
  trendPositiveColor: `var(--${string})`;
112
112
  trendNeutralColor: `var(--${string})`;
113
113
  defaultAnnotationArrowStroke: `var(--${string})`;
114
- defaultAnnotationShapeStroke: `var(--${string})`;
115
114
  defaultAnnotationShapeFill: `var(--${string})`;
116
115
  arrowAnnotationStickerOutlineColor: `var(--${string})`;
117
116
  arrowAnnotationStickerOutlineColorInverse: `var(--${string})`;
@@ -1,4 +1,4 @@
1
- import { l as d } from "./typography-CiDZDGza.js";
1
+ import { l as d } from "./typography-DUFp65Tx.js";
2
2
  import { parseFontShorthand as s } from "@graphysdk/viz-engine/graph-config";
3
3
  var p = (e, n) => {
4
4
  const r = e.appearance?.textStyle;