@xsolla/xui-icons-payment 0.158.0 → 0.159.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.
@@ -22,6 +22,8 @@ interface PaymentIconInternalProps extends PaymentIconProps {
22
22
  children?: React.ReactNode;
23
23
  /** SVG content as string for rendering */
24
24
  svgContent: string;
25
+ /** Test ID for testing frameworks */
26
+ testID?: string;
25
27
  }
26
28
 
27
29
  declare const PaymentIcon: React.FC<PaymentIconInternalProps>;
package/native/index.d.ts CHANGED
@@ -22,6 +22,8 @@ interface PaymentIconInternalProps extends PaymentIconProps {
22
22
  children?: React.ReactNode;
23
23
  /** SVG content as string for rendering */
24
24
  svgContent: string;
25
+ /** Test ID for testing frameworks */
26
+ testID?: string;
25
27
  }
26
28
 
27
29
  declare const PaymentIcon: React.FC<PaymentIconInternalProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xsolla/xui-icons-payment",
3
- "version": "0.158.0",
3
+ "version": "0.159.0",
4
4
  "main": "./web/index.js",
5
5
  "types": "./web/index.d.ts",
6
6
  "exports": {
package/web/index.d.mts CHANGED
@@ -22,6 +22,8 @@ interface PaymentIconInternalProps extends PaymentIconProps {
22
22
  children?: React.ReactNode;
23
23
  /** SVG content as string for rendering */
24
24
  svgContent: string;
25
+ /** Test ID for testing frameworks */
26
+ testID?: string;
25
27
  }
26
28
 
27
29
  declare const PaymentIcon: React.FC<PaymentIconInternalProps>;
package/web/index.d.ts CHANGED
@@ -22,6 +22,8 @@ interface PaymentIconInternalProps extends PaymentIconProps {
22
22
  children?: React.ReactNode;
23
23
  /** SVG content as string for rendering */
24
24
  svgContent: string;
25
+ /** Test ID for testing frameworks */
26
+ testID?: string;
25
27
  }
26
28
 
27
29
  declare const PaymentIcon: React.FC<PaymentIconInternalProps>;
package/web/index.js CHANGED
@@ -74,6 +74,7 @@ var PaymentIcon = ({
74
74
  className,
75
75
  style,
76
76
  "data-testid": testId,
77
+ testID,
77
78
  "aria-label": ariaLabel,
78
79
  "aria-hidden": ariaHidden
79
80
  }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
@@ -82,7 +83,7 @@ var PaymentIcon = ({
82
83
  $size: size,
83
84
  className,
84
85
  style,
85
- "data-testid": testId,
86
+ "data-testid": testId || testID,
86
87
  role: ariaLabel ? "img" : void 0,
87
88
  "aria-label": ariaLabel,
88
89
  "aria-hidden": ariaHidden ?? (ariaLabel ? void 0 : true),