@testerpaykit/expo 0.10.0 → 0.10.1
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 +10 -0
- package/dist/index.js +22 -9
- package/dist/index.mjs +22 -9
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `@testerpaykit/expo` are documented here.
|
|
4
4
|
|
|
5
|
+
## 0.10.1 — 2026-10-31
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
- **First-tap widget tour was unreadable**: the cards collapsed inside
|
|
9
|
+
the sheet, so the tour showed only a sliver of the first emoji and
|
|
10
|
+
could not be enlarged (reported from the Kinpal beta, iPhone 16 Pro
|
|
11
|
+
Max). The cards now take their content height; the sheet stays below
|
|
12
|
+
90 % of the screen and the tour's text scales with Dynamic Type up to
|
|
13
|
+
1.5×, so it also fits at the largest text sizes.
|
|
14
|
+
|
|
5
15
|
## 0.10.0 — 2026-10-30
|
|
6
16
|
|
|
7
17
|
Requires `@testerpaykit/core` 1.3.0 and `@testerpaykit/api-client` 1.5.0
|
package/dist/index.js
CHANGED
|
@@ -1211,7 +1211,7 @@ function findAssignmentForTask(tasks, key) {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
|
|
1213
1213
|
// package.json
|
|
1214
|
-
var version = "0.10.
|
|
1214
|
+
var version = "0.10.1";
|
|
1215
1215
|
|
|
1216
1216
|
// src/version.ts
|
|
1217
1217
|
var SDK_VERSION = `@testerpaykit/expo/${version}`;
|
|
@@ -2604,7 +2604,7 @@ function WidgetTour({
|
|
|
2604
2604
|
style: styles.skipButton,
|
|
2605
2605
|
hitSlop: 8
|
|
2606
2606
|
},
|
|
2607
|
-
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { style: styles.skipLabel }, t.skip)
|
|
2607
|
+
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.skipLabel }, t.skip)
|
|
2608
2608
|
)),
|
|
2609
2609
|
/* @__PURE__ */ import_react6.default.createElement(
|
|
2610
2610
|
import_react_native4.ScrollView,
|
|
@@ -2652,7 +2652,7 @@ function WidgetTour({
|
|
|
2652
2652
|
onPress: () => goTo(index - 1),
|
|
2653
2653
|
style: [styles.backButton, isFirst && styles.backButtonHidden]
|
|
2654
2654
|
},
|
|
2655
|
-
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { style: styles.backLabel }, t.back)
|
|
2655
|
+
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.backLabel }, t.back)
|
|
2656
2656
|
), /* @__PURE__ */ import_react6.default.createElement(
|
|
2657
2657
|
import_react_native4.Pressable,
|
|
2658
2658
|
{
|
|
@@ -2664,7 +2664,7 @@ function WidgetTour({
|
|
|
2664
2664
|
pressed && styles.primaryButtonPressed
|
|
2665
2665
|
]
|
|
2666
2666
|
},
|
|
2667
|
-
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { style: styles.primaryLabel }, isLast ? t.done : t.next)
|
|
2667
|
+
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.primaryLabel }, isLast ? t.done : t.next)
|
|
2668
2668
|
))
|
|
2669
2669
|
))
|
|
2670
2670
|
);
|
|
@@ -2681,13 +2681,21 @@ function Card({
|
|
|
2681
2681
|
accessibilityLabel: `${card.title}. ${card.body}`,
|
|
2682
2682
|
style: [styles.card, card.hero && styles.cardHero]
|
|
2683
2683
|
},
|
|
2684
|
-
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.View, { style: [styles.emojiWrap, card.hero && styles.emojiWrapHero] }, /* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { style: styles.emoji }, card.emoji)),
|
|
2685
|
-
card.hero && /* @__PURE__ */ import_react6.default.createElement(import_react_native4.View, { style: styles.heroBadge }, /* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { style: styles.heroBadgeLabel }, newBadge)),
|
|
2686
|
-
/* @__PURE__ */ import_react6.default.createElement(
|
|
2687
|
-
|
|
2684
|
+
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.View, { style: [styles.emojiWrap, card.hero && styles.emojiWrapHero] }, /* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { allowFontScaling: false, style: styles.emoji }, card.emoji)),
|
|
2685
|
+
card.hero && /* @__PURE__ */ import_react6.default.createElement(import_react_native4.View, { style: styles.heroBadge }, /* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.heroBadgeLabel }, newBadge)),
|
|
2686
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
|
2687
|
+
import_react_native4.Text,
|
|
2688
|
+
{
|
|
2689
|
+
maxFontSizeMultiplier: MAX_FONT_SCALE,
|
|
2690
|
+
style: [styles.cardTitle, card.hero && styles.cardTitleHero]
|
|
2691
|
+
},
|
|
2692
|
+
card.title
|
|
2693
|
+
),
|
|
2694
|
+
/* @__PURE__ */ import_react6.default.createElement(import_react_native4.Text, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.cardBody }, card.body)
|
|
2688
2695
|
));
|
|
2689
2696
|
}
|
|
2690
2697
|
var SHEET_PADDING = 20;
|
|
2698
|
+
var MAX_FONT_SCALE = 1.5;
|
|
2691
2699
|
var styles = import_react_native4.StyleSheet.create({
|
|
2692
2700
|
backdrop: {
|
|
2693
2701
|
flex: 1,
|
|
@@ -2698,6 +2706,8 @@ var styles = import_react_native4.StyleSheet.create({
|
|
|
2698
2706
|
sheet: {
|
|
2699
2707
|
width: "100%",
|
|
2700
2708
|
maxWidth: 420,
|
|
2709
|
+
// Very large text sizes must not push "Überspringen" off the top.
|
|
2710
|
+
maxHeight: "90%",
|
|
2701
2711
|
backgroundColor: "#FFFFFF",
|
|
2702
2712
|
borderTopLeftRadius: 24,
|
|
2703
2713
|
borderTopRightRadius: 24,
|
|
@@ -2735,7 +2745,10 @@ var styles = import_react_native4.StyleSheet.create({
|
|
|
2735
2745
|
alignItems: "stretch"
|
|
2736
2746
|
},
|
|
2737
2747
|
card: {
|
|
2738
|
-
flex: 1,
|
|
2748
|
+
// flexGrow, not flex: 1 — flex: 1 sets flexBasis 0, and inside the
|
|
2749
|
+
// horizontal ScrollView (no fixed height) every card then collapses
|
|
2750
|
+
// to its padding, so the tour showed only a sliver of the emoji.
|
|
2751
|
+
flexGrow: 1,
|
|
2739
2752
|
alignItems: "center",
|
|
2740
2753
|
paddingVertical: 28,
|
|
2741
2754
|
paddingHorizontal: 20,
|
package/dist/index.mjs
CHANGED
|
@@ -1003,7 +1003,7 @@ function findAssignmentForTask(tasks, key) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
1005
|
// package.json
|
|
1006
|
-
var version = "0.10.
|
|
1006
|
+
var version = "0.10.1";
|
|
1007
1007
|
|
|
1008
1008
|
// src/version.ts
|
|
1009
1009
|
var SDK_VERSION = `@testerpaykit/expo/${version}`;
|
|
@@ -2421,7 +2421,7 @@ function WidgetTour({
|
|
|
2421
2421
|
style: styles.skipButton,
|
|
2422
2422
|
hitSlop: 8
|
|
2423
2423
|
},
|
|
2424
|
-
/* @__PURE__ */ React5.createElement(Text2, { style: styles.skipLabel }, t.skip)
|
|
2424
|
+
/* @__PURE__ */ React5.createElement(Text2, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.skipLabel }, t.skip)
|
|
2425
2425
|
)),
|
|
2426
2426
|
/* @__PURE__ */ React5.createElement(
|
|
2427
2427
|
ScrollView,
|
|
@@ -2469,7 +2469,7 @@ function WidgetTour({
|
|
|
2469
2469
|
onPress: () => goTo(index - 1),
|
|
2470
2470
|
style: [styles.backButton, isFirst && styles.backButtonHidden]
|
|
2471
2471
|
},
|
|
2472
|
-
/* @__PURE__ */ React5.createElement(Text2, { style: styles.backLabel }, t.back)
|
|
2472
|
+
/* @__PURE__ */ React5.createElement(Text2, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.backLabel }, t.back)
|
|
2473
2473
|
), /* @__PURE__ */ React5.createElement(
|
|
2474
2474
|
Pressable,
|
|
2475
2475
|
{
|
|
@@ -2481,7 +2481,7 @@ function WidgetTour({
|
|
|
2481
2481
|
pressed && styles.primaryButtonPressed
|
|
2482
2482
|
]
|
|
2483
2483
|
},
|
|
2484
|
-
/* @__PURE__ */ React5.createElement(Text2, { style: styles.primaryLabel }, isLast ? t.done : t.next)
|
|
2484
|
+
/* @__PURE__ */ React5.createElement(Text2, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.primaryLabel }, isLast ? t.done : t.next)
|
|
2485
2485
|
))
|
|
2486
2486
|
))
|
|
2487
2487
|
);
|
|
@@ -2498,13 +2498,21 @@ function Card({
|
|
|
2498
2498
|
accessibilityLabel: `${card.title}. ${card.body}`,
|
|
2499
2499
|
style: [styles.card, card.hero && styles.cardHero]
|
|
2500
2500
|
},
|
|
2501
|
-
/* @__PURE__ */ React5.createElement(View, { style: [styles.emojiWrap, card.hero && styles.emojiWrapHero] }, /* @__PURE__ */ React5.createElement(Text2, { style: styles.emoji }, card.emoji)),
|
|
2502
|
-
card.hero && /* @__PURE__ */ React5.createElement(View, { style: styles.heroBadge }, /* @__PURE__ */ React5.createElement(Text2, { style: styles.heroBadgeLabel }, newBadge)),
|
|
2503
|
-
/* @__PURE__ */ React5.createElement(
|
|
2504
|
-
|
|
2501
|
+
/* @__PURE__ */ React5.createElement(View, { style: [styles.emojiWrap, card.hero && styles.emojiWrapHero] }, /* @__PURE__ */ React5.createElement(Text2, { allowFontScaling: false, style: styles.emoji }, card.emoji)),
|
|
2502
|
+
card.hero && /* @__PURE__ */ React5.createElement(View, { style: styles.heroBadge }, /* @__PURE__ */ React5.createElement(Text2, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.heroBadgeLabel }, newBadge)),
|
|
2503
|
+
/* @__PURE__ */ React5.createElement(
|
|
2504
|
+
Text2,
|
|
2505
|
+
{
|
|
2506
|
+
maxFontSizeMultiplier: MAX_FONT_SCALE,
|
|
2507
|
+
style: [styles.cardTitle, card.hero && styles.cardTitleHero]
|
|
2508
|
+
},
|
|
2509
|
+
card.title
|
|
2510
|
+
),
|
|
2511
|
+
/* @__PURE__ */ React5.createElement(Text2, { maxFontSizeMultiplier: MAX_FONT_SCALE, style: styles.cardBody }, card.body)
|
|
2505
2512
|
));
|
|
2506
2513
|
}
|
|
2507
2514
|
var SHEET_PADDING = 20;
|
|
2515
|
+
var MAX_FONT_SCALE = 1.5;
|
|
2508
2516
|
var styles = StyleSheet.create({
|
|
2509
2517
|
backdrop: {
|
|
2510
2518
|
flex: 1,
|
|
@@ -2515,6 +2523,8 @@ var styles = StyleSheet.create({
|
|
|
2515
2523
|
sheet: {
|
|
2516
2524
|
width: "100%",
|
|
2517
2525
|
maxWidth: 420,
|
|
2526
|
+
// Very large text sizes must not push "Überspringen" off the top.
|
|
2527
|
+
maxHeight: "90%",
|
|
2518
2528
|
backgroundColor: "#FFFFFF",
|
|
2519
2529
|
borderTopLeftRadius: 24,
|
|
2520
2530
|
borderTopRightRadius: 24,
|
|
@@ -2552,7 +2562,10 @@ var styles = StyleSheet.create({
|
|
|
2552
2562
|
alignItems: "stretch"
|
|
2553
2563
|
},
|
|
2554
2564
|
card: {
|
|
2555
|
-
flex: 1,
|
|
2565
|
+
// flexGrow, not flex: 1 — flex: 1 sets flexBasis 0, and inside the
|
|
2566
|
+
// horizontal ScrollView (no fixed height) every card then collapses
|
|
2567
|
+
// to its padding, so the tour showed only a sliver of the emoji.
|
|
2568
|
+
flexGrow: 1,
|
|
2556
2569
|
alignItems: "center",
|
|
2557
2570
|
paddingVertical: 28,
|
|
2558
2571
|
paddingHorizontal: 20,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testerpaykit/expo",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "TesterPayKit Expo / React-Native bindings — shake-to-report, device info, bug-report hook",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@testerpaykit/ai-tester": "0.5.0",
|
|
24
|
-
"@testerpaykit/
|
|
25
|
-
"@testerpaykit/
|
|
24
|
+
"@testerpaykit/core": "1.3.0",
|
|
25
|
+
"@testerpaykit/api-client": "1.5.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"@expo/vector-icons": ">=14.0.0",
|