@xsolla/xui-quest-card 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/README.md +64 -63
- 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 +3 -3
- package/web/index.js +15 -5
- package/web/index.js.map +1 -1
- package/web/index.mjs +15 -5
- package/web/index.mjs.map +1 -1
package/web/index.mjs
CHANGED
|
@@ -210,7 +210,8 @@ var Box = React2.forwardRef(
|
|
|
210
210
|
top: typeof props.top === "number" ? `${props.top}px` : props.top,
|
|
211
211
|
left: typeof props.left === "number" ? `${props.left}px` : props.left,
|
|
212
212
|
right: typeof props.right === "number" ? `${props.right}px` : props.right,
|
|
213
|
-
bottom: typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom
|
|
213
|
+
bottom: typeof props.bottom === "number" ? `${props.bottom}px` : props.bottom,
|
|
214
|
+
...props.style
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
217
|
);
|
|
@@ -267,6 +268,8 @@ var Text = ({
|
|
|
267
268
|
className,
|
|
268
269
|
id,
|
|
269
270
|
role,
|
|
271
|
+
testID,
|
|
272
|
+
"data-testid": dataTestId,
|
|
270
273
|
numberOfLines: _numberOfLines,
|
|
271
274
|
...props
|
|
272
275
|
}) => {
|
|
@@ -277,7 +280,8 @@ var Text = ({
|
|
|
277
280
|
style,
|
|
278
281
|
className,
|
|
279
282
|
id,
|
|
280
|
-
role
|
|
283
|
+
role,
|
|
284
|
+
"data-testid": dataTestId || testID
|
|
281
285
|
}
|
|
282
286
|
);
|
|
283
287
|
};
|
|
@@ -301,8 +305,13 @@ var StyledIcon = styled3(FilteredDiv2)`
|
|
|
301
305
|
stroke: currentColor;
|
|
302
306
|
}
|
|
303
307
|
`;
|
|
304
|
-
var Icon = ({
|
|
305
|
-
|
|
308
|
+
var Icon = ({
|
|
309
|
+
children,
|
|
310
|
+
testID,
|
|
311
|
+
"data-testid": dataTestId,
|
|
312
|
+
...props
|
|
313
|
+
}) => {
|
|
314
|
+
return /* @__PURE__ */ jsx3(StyledIcon, { "data-testid": dataTestId || testID, ...props, children });
|
|
306
315
|
};
|
|
307
316
|
|
|
308
317
|
// ../../foundation/primitives-web/src/index.tsx
|
|
@@ -1056,6 +1065,7 @@ var BaseIcon = ({
|
|
|
1056
1065
|
className,
|
|
1057
1066
|
style,
|
|
1058
1067
|
"data-testid": testId,
|
|
1068
|
+
testID,
|
|
1059
1069
|
"aria-label": ariaLabel,
|
|
1060
1070
|
"aria-hidden": ariaHidden
|
|
1061
1071
|
}) => {
|
|
@@ -1068,7 +1078,7 @@ var BaseIcon = ({
|
|
|
1068
1078
|
$color: color,
|
|
1069
1079
|
className,
|
|
1070
1080
|
style,
|
|
1071
|
-
"data-testid": testId,
|
|
1081
|
+
"data-testid": testId || testID,
|
|
1072
1082
|
role: ariaLabel ? "img" : void 0,
|
|
1073
1083
|
"aria-label": ariaLabel,
|
|
1074
1084
|
"aria-hidden": ariaHidden != null ? ariaHidden : ariaLabel ? void 0 : true,
|