@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.
- package/native/index.d.mts +2 -0
- package/native/index.d.ts +2 -0
- package/package.json +1 -1
- package/web/index.d.mts +2 -0
- package/web/index.d.ts +2 -0
- package/web/index.js +2 -1
- package/web/index.js.map +1 -1
- package/web/index.mjs +2 -1
- package/web/index.mjs.map +1 -1
package/native/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/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
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),
|