@hero-design/rn 8.63.2 → 8.63.4-alpha.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/CHANGELOG.md +9 -0
- package/es/index.js +35 -19
- package/eslint.config.js +42 -0
- package/lib/index.js +35 -19
- package/package.json +9 -5
- package/rollup.config.js +13 -0
- package/sonar-project.properties +1 -1
- package/src/components/Tabs/ScrollableTabs.tsx +10 -16
- package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +32 -0
- package/src/components/Tabs/__tests__/index.spec.tsx +32 -0
- package/src/components/Tabs/index.tsx +12 -8
- package/src/components/Tabs/useHandlePageScroll.tsx +32 -0
- package/src/components/Toast/Toast.tsx +1 -0
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +7 -0
- package/stats/8.63.3/rn-stats.html +4844 -0
- package/types/components/Tabs/index.d.ts +1 -1
- package/types/components/Tabs/useHandlePageScroll.d.ts +8 -0
- package/types/testHelpers/utils.d.ts +1 -0
- package/.eslintrc.js +0 -13
- package/.turbo/turbo-build.log +0 -5
- package/src/theme/components/.eslintrc.json +0 -10
|
@@ -32,6 +32,7 @@ exports[`Toast Icon render custom icon correctly 1`] = `
|
|
|
32
32
|
],
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
testID="toast-container"
|
|
35
36
|
themeIntent="info"
|
|
36
37
|
themeVariant="default"
|
|
37
38
|
>
|
|
@@ -166,6 +167,7 @@ exports[`Toast renders correctly when intent is error 1`] = `
|
|
|
166
167
|
],
|
|
167
168
|
}
|
|
168
169
|
}
|
|
170
|
+
testID="toast-container"
|
|
169
171
|
themeIntent="error"
|
|
170
172
|
themeVariant="default"
|
|
171
173
|
>
|
|
@@ -358,6 +360,7 @@ exports[`Toast renders correctly when intent is info 1`] = `
|
|
|
358
360
|
],
|
|
359
361
|
}
|
|
360
362
|
}
|
|
363
|
+
testID="toast-container"
|
|
361
364
|
themeIntent="info"
|
|
362
365
|
themeVariant="default"
|
|
363
366
|
>
|
|
@@ -550,6 +553,7 @@ exports[`Toast renders correctly when intent is notification 1`] = `
|
|
|
550
553
|
],
|
|
551
554
|
}
|
|
552
555
|
}
|
|
556
|
+
testID="toast-container"
|
|
553
557
|
themeIntent="notification"
|
|
554
558
|
themeVariant="default"
|
|
555
559
|
>
|
|
@@ -715,6 +719,7 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
|
|
|
715
719
|
],
|
|
716
720
|
}
|
|
717
721
|
}
|
|
722
|
+
testID="toast-container"
|
|
718
723
|
themeIntent="snackbar"
|
|
719
724
|
themeVariant="default"
|
|
720
725
|
>
|
|
@@ -880,6 +885,7 @@ exports[`Toast renders correctly when intent is success 1`] = `
|
|
|
880
885
|
],
|
|
881
886
|
}
|
|
882
887
|
}
|
|
888
|
+
testID="toast-container"
|
|
883
889
|
themeIntent="success"
|
|
884
890
|
themeVariant="default"
|
|
885
891
|
>
|
|
@@ -1072,6 +1078,7 @@ exports[`Toast renders correctly when intent is warning 1`] = `
|
|
|
1072
1078
|
],
|
|
1073
1079
|
}
|
|
1074
1080
|
}
|
|
1081
|
+
testID="toast-container"
|
|
1075
1082
|
themeIntent="warning"
|
|
1076
1083
|
themeVariant="default"
|
|
1077
1084
|
>
|