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.
- package/dist/types.d.ts +3 -1
- 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
|
|
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) */
|