@xsolla/xui-b2c-side-navigation 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/native/index.js +4 -1
- package/native/index.js.map +1 -1
- package/native/index.mjs +4 -1
- package/native/index.mjs.map +1 -1
- package/package.json +4 -4
- package/web/index.d.mts +2 -0
- package/web/index.d.ts +2 -0
- package/web/index.js +5 -1
- package/web/index.js.map +1 -1
- package/web/index.mjs +5 -1
- package/web/index.mjs.map +1 -1
package/web/index.mjs
CHANGED
|
@@ -3781,6 +3781,8 @@ var Text = ({
|
|
|
3781
3781
|
className,
|
|
3782
3782
|
id,
|
|
3783
3783
|
role,
|
|
3784
|
+
testID,
|
|
3785
|
+
"data-testid": dataTestId,
|
|
3784
3786
|
numberOfLines: _numberOfLines,
|
|
3785
3787
|
...props
|
|
3786
3788
|
}) => {
|
|
@@ -3791,7 +3793,8 @@ var Text = ({
|
|
|
3791
3793
|
style,
|
|
3792
3794
|
className,
|
|
3793
3795
|
id,
|
|
3794
|
-
role
|
|
3796
|
+
role,
|
|
3797
|
+
"data-testid": dataTestId || testID
|
|
3795
3798
|
}
|
|
3796
3799
|
);
|
|
3797
3800
|
};
|
|
@@ -3851,6 +3854,7 @@ var SideNavigationItem = ({
|
|
|
3851
3854
|
isActive,
|
|
3852
3855
|
onItemClick,
|
|
3853
3856
|
linkComponent: LinkComponent,
|
|
3857
|
+
testID,
|
|
3854
3858
|
themeMode,
|
|
3855
3859
|
themeProductContext = "b2c"
|
|
3856
3860
|
}) => {
|