exodeui 6.0.38 → 6.1.13

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.
@@ -125,6 +125,7 @@ export declare class ExodeUIEngine {
125
125
  render(ctx: CanvasRenderingContext2D, width: number, height: number): void;
126
126
  private calculateTransform;
127
127
  private mapFontWeight;
128
+ private drawTextDecoration;
128
129
  private getFontLeadingFactor;
129
130
  private renderObject;
130
131
  private _renderText;
@@ -214,6 +214,7 @@ export type Geometry = {
214
214
  height?: number;
215
215
  lineHeight?: number;
216
216
  letterSpacing?: number;
217
+ textDecoration?: 'none' | 'underline' | 'line-through';
217
218
  textCase?: 'none' | 'uppercase' | 'lowercase' | 'capitalize';
218
219
  paragraphSpacing?: number;
219
220
  textInputId?: string;
@@ -223,6 +224,8 @@ export type Geometry = {
223
224
  fontSize?: number;
224
225
  fontFamily?: string;
225
226
  fontWeight?: string | number;
227
+ fontStyle?: 'normal' | 'italic';
228
+ textDecoration?: 'none' | 'underline' | 'line-through';
226
229
  }[];
227
230
  enableSegments?: boolean;
228
231
  isMask?: boolean;
@@ -241,6 +244,7 @@ export type Geometry = {
241
244
  };
242
245
  isEnabled: boolean;
243
246
  };
247
+ fontStyle?: 'normal' | 'italic';
244
248
  } | {
245
249
  type: 'Triangle';
246
250
  width: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodeui",
3
- "version": "6.0.38",
3
+ "version": "6.1.13",
4
4
  "description": "React Runtime for ExodeUI Animation Engine",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",