@xsolla/xui-status-dropdown 0.158.0 → 0.160.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.js +13 -4
- package/native/index.js.map +1 -1
- package/native/index.mjs +13 -4
- package/native/index.mjs.map +1 -1
- package/package.json +6 -6
- package/web/index.js +13 -4
- package/web/index.js.map +1 -1
- package/web/index.mjs +13 -4
- package/web/index.mjs.map +1 -1
package/web/index.mjs
CHANGED
|
@@ -271,6 +271,8 @@ var Text = ({
|
|
|
271
271
|
className,
|
|
272
272
|
id,
|
|
273
273
|
role,
|
|
274
|
+
testID,
|
|
275
|
+
"data-testid": dataTestId,
|
|
274
276
|
numberOfLines: _numberOfLines,
|
|
275
277
|
...props
|
|
276
278
|
}) => {
|
|
@@ -281,7 +283,8 @@ var Text = ({
|
|
|
281
283
|
style,
|
|
282
284
|
className,
|
|
283
285
|
id,
|
|
284
|
-
role
|
|
286
|
+
role,
|
|
287
|
+
"data-testid": dataTestId || testID
|
|
285
288
|
}
|
|
286
289
|
);
|
|
287
290
|
};
|
|
@@ -305,8 +308,13 @@ var StyledIcon = styled3(FilteredDiv2)`
|
|
|
305
308
|
stroke: currentColor;
|
|
306
309
|
}
|
|
307
310
|
`;
|
|
308
|
-
var Icon = ({
|
|
309
|
-
|
|
311
|
+
var Icon = ({
|
|
312
|
+
children,
|
|
313
|
+
testID,
|
|
314
|
+
"data-testid": dataTestId,
|
|
315
|
+
...props
|
|
316
|
+
}) => {
|
|
317
|
+
return /* @__PURE__ */ jsx3(StyledIcon, { "data-testid": dataTestId || testID, ...props, children });
|
|
310
318
|
};
|
|
311
319
|
|
|
312
320
|
// ../../foundation/primitives-web/src/index.tsx
|
|
@@ -1061,6 +1069,7 @@ var BaseIcon = ({
|
|
|
1061
1069
|
className,
|
|
1062
1070
|
style,
|
|
1063
1071
|
"data-testid": testId,
|
|
1072
|
+
testID,
|
|
1064
1073
|
"aria-label": ariaLabel,
|
|
1065
1074
|
"aria-hidden": ariaHidden
|
|
1066
1075
|
}) => {
|
|
@@ -1073,7 +1082,7 @@ var BaseIcon = ({
|
|
|
1073
1082
|
$color: color,
|
|
1074
1083
|
className,
|
|
1075
1084
|
style,
|
|
1076
|
-
"data-testid": testId,
|
|
1085
|
+
"data-testid": testId || testID,
|
|
1077
1086
|
role: ariaLabel ? "img" : void 0,
|
|
1078
1087
|
"aria-label": ariaLabel,
|
|
1079
1088
|
"aria-hidden": ariaHidden != null ? ariaHidden : ariaLabel ? void 0 : true,
|