exodeui 6.2.4 → 6.2.5

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/index.mjs CHANGED
@@ -8149,12 +8149,15 @@ class hi {
8149
8149
  let D = g;
8150
8150
  I === "underline" ? D = g + E * 0.12 : I === "line-through" && (D = g - E * 0.3), A.lineWidth = i, A.strokeStyle = A.fillStyle, A.moveTo(C - Q / 2, D), A.lineTo(C + Q / 2, D), A.stroke();
8151
8151
  }
8152
- getFontLeadingFactor(A) {
8153
- const I = (A || "Inter").trim();
8154
- for (const [C, g] of Object.entries(this.fontLeadingFactors))
8155
- if (I.toLowerCase() === C.toLowerCase()) return g;
8156
- return 0.5;
8152
+ /* Unused:
8153
+ private getFontLeadingFactor(fontFamily: string): number {
8154
+ const name = (fontFamily || 'Inter').trim();
8155
+ for (const [key, value] of Object.entries(this.fontLeadingFactors)) {
8156
+ if (name.toLowerCase() === key.toLowerCase()) return value;
8157
+ }
8158
+ return 0.5; // Mathematical Default
8157
8159
  }
8160
+ */
8158
8161
  renderObject(A, I, C) {
8159
8162
  var O, b, d, X, iA, v, CA, KA, yA, m, gA, EA, BA;
8160
8163
  const g = this.objectStates.get(I.id);
@@ -10140,7 +10143,7 @@ function ei() {
10140
10143
  updateObjectOptions: D
10141
10144
  };
10142
10145
  }
10143
- const Gi = "6.2.4", Ki = {
10146
+ const Gi = "6.2.5", Ki = {
10144
10147
  version: Gi
10145
10148
  }, Fi = Ki.version;
10146
10149
  export {
@@ -126,7 +126,6 @@ export declare class ExodeUIEngine {
126
126
  private calculateTransform;
127
127
  private mapFontWeight;
128
128
  private drawTextDecoration;
129
- private getFontLeadingFactor;
130
129
  private renderObject;
131
130
  private _renderText;
132
131
  private applyStrokeAlignment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "6.2.4",
3
+ "version": "6.2.5",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",