ugcinc 2.42.0 → 2.43.0

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +3 -1
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -564,8 +564,10 @@ export interface TextSegment extends VisualSegmentProps {
564
564
  ellipsis?: string;
565
565
  /** Text color (default: '#FFFFFF') */
566
566
  color?: string;
567
- /** Background color with optional alpha (default: transparent) */
567
+ /** Background color in hex format #RRGGBB (default: transparent) */
568
568
  backgroundColor?: string;
569
+ /** Background opacity 0-100 (default: 100) */
570
+ backgroundOpacity?: number;
569
571
  /** Border radius for background box - individual corners (default: 0) */
570
572
  backgroundBorderRadius?: BorderRadiusConfig;
571
573
  /** Text outline color (default: none) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.42.0",
3
+ "version": "2.43.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",