@tastic/hud 0.24.0 → 0.24.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tastic/hud",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "Visual component kit for local-multiplayer React Native games: inline (non-modal) popovers, dropdowns, color pickers, gauges, ready buttons, and dialogs, built to stay scoped to one player's own zone on a shared screen",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
"@infinitetoken/jest-config": "^0.5.2",
|
|
89
89
|
"@infinitetoken/tsconfig": "^0.6.0",
|
|
90
90
|
"@rific/auto-paper": "^0.13.3",
|
|
91
|
-
"@rific/core": "^0.4.
|
|
92
|
-
"@rific/feedback-press": "^0.13.
|
|
91
|
+
"@rific/core": "^0.4.1",
|
|
92
|
+
"@rific/feedback-press": "^0.13.1",
|
|
93
93
|
"@rific/updater": "^0.7.1",
|
|
94
94
|
"@shopify/react-native-skia": "^2.14.0",
|
|
95
95
|
"@tastic/achievements": "^0.6.0",
|
|
96
96
|
"@tastic/core": "^0.14.0",
|
|
97
|
-
"@tastic/profile": "^0.
|
|
97
|
+
"@tastic/profile": "^0.16.0",
|
|
98
98
|
"@tastic/split-screen": "^0.5.2",
|
|
99
99
|
"@testing-library/dom": "^10.4.1",
|
|
100
100
|
"@testing-library/react": "^16.3.2",
|
|
@@ -157,9 +157,11 @@ export function BaseSettingsDialog({ visible, onDismiss, rotation: rotationOverr
|
|
|
157
157
|
|
|
158
158
|
const showLockOrientation = isTouchPrimary && lockOrientation !== undefined && onLockOrientationChange !== undefined
|
|
159
159
|
const showEdgeGuard = Platform.OS === 'ios' && deferBottomEdgeGestures !== undefined && onDeferBottomEdgeGestures !== undefined
|
|
160
|
-
// Only in an app that opted in by handing expo-keep-awake to @rific/core's KeepAwakeProvider
|
|
161
|
-
//
|
|
162
|
-
//
|
|
160
|
+
// Only in an app that opted in by handing expo-keep-awake to @rific/core's KeepAwakeProvider, and
|
|
161
|
+
// only where it can work: core withholds the module from a browser without the Screen Wake Lock
|
|
162
|
+
// API (from @rific/core 0.4.1), so without it the setting would do nothing. On the same devices
|
|
163
|
+
// as Lock Orientation, since a desktop/laptop browser stays awake on its own while someone plays
|
|
164
|
+
// with its keyboard or mouse.
|
|
163
165
|
const showKeepAwake = isTouchPrimary && expoKeepAwake !== undefined
|
|
164
166
|
const showHaptics = Platform.OS !== 'web' && !hideHaptics
|
|
165
167
|
const showSound = !hideSound
|