@symbiote-native/navigation 5.0.3 → 5.0.5
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.
|
@@ -30,23 +30,9 @@ const SHEET_CONTENT_WRAPPER_STYLE = {
|
|
|
30
30
|
end: 0,
|
|
31
31
|
bottom: undefined,
|
|
32
32
|
};
|
|
33
|
-
// Android's native header
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
// = if (translucent) null else ScrollingViewBehavior()`). A plain (non-translucent) header gets
|
|
37
|
-
// this offset for free and needs no JS compensation. `headerTranslucent: true` removes that
|
|
38
|
-
// behavior: react-native-screens' contract for translucent is "background goes away AND content
|
|
39
|
-
// is no longer auto-pushed below it", meant for a screen painting under a see-through header. An
|
|
40
|
-
// app that sets headerTranslucent just for a custom (still opaque) header look, while relying on
|
|
41
|
-
// its own SafeAreaView for safe-area content, loses the free offset and gets clipped:
|
|
42
|
-
// SafeAreaView's Android inset only reflects WindowInsetsCompat's systemBars() (status
|
|
43
|
-
// bar/cutout), with no awareness of the sibling Toolbar, so content paints its first 56dp under
|
|
44
|
-
// the header. Verified empirically (2026-07-10) via `adb shell uiautomator dump`: a
|
|
45
|
-
// translucent-header screen's content measured starting at y=0 (see the
|
|
46
|
-
// navigation-header-content-offset skill for the full incident). iOS's UINavigationController
|
|
47
|
-
// already lays out below its real nav bar regardless of translucency, so this compensation is
|
|
48
|
-
// Android-only and applies only when translucent (a non-translucent header already gets the
|
|
49
|
-
// native offset; padding there would double it).
|
|
33
|
+
// Android's native header auto-offsets content via `AppBarLayout.ScrollingViewBehavior`, removed
|
|
34
|
+
// by `headerTranslucent: true`. An opaque custom header relying on SafeAreaView (blind to the
|
|
35
|
+
// sibling Toolbar) then clips its first 56dp — Android-only, and only when translucent.
|
|
50
36
|
const ANDROID_HEADER_TOOLBAR_HEIGHT = 56;
|
|
51
37
|
// react-native-screens' own Screen.tsx picks a different Fabric component for a modally-presented
|
|
52
38
|
// screen ('RNSModalScreen' instead of plain 'RNSScreen') because "there is a need for different
|
|
@@ -30,23 +30,9 @@ const SHEET_CONTENT_WRAPPER_STYLE = {
|
|
|
30
30
|
end: 0,
|
|
31
31
|
bottom: undefined,
|
|
32
32
|
};
|
|
33
|
-
// Android's native header
|
|
34
|
-
//
|
|
35
|
-
//
|
|
36
|
-
// = if (translucent) null else ScrollingViewBehavior()`). A plain (non-translucent) header gets
|
|
37
|
-
// this offset for free and needs no JS compensation. `headerTranslucent: true` removes that
|
|
38
|
-
// behavior: react-native-screens' contract for translucent is "background goes away AND content
|
|
39
|
-
// is no longer auto-pushed below it", meant for a screen painting under a see-through header. An
|
|
40
|
-
// app that sets headerTranslucent just for a custom (still opaque) header look, while relying on
|
|
41
|
-
// its own SafeAreaView for safe-area content, loses the free offset and gets clipped:
|
|
42
|
-
// SafeAreaView's Android inset only reflects WindowInsetsCompat's systemBars() (status
|
|
43
|
-
// bar/cutout), with no awareness of the sibling Toolbar, so content paints its first 56dp under
|
|
44
|
-
// the header. Verified empirically (2026-07-10) via `adb shell uiautomator dump`: a
|
|
45
|
-
// translucent-header screen's content measured starting at y=0 (see the
|
|
46
|
-
// navigation-header-content-offset skill for the full incident). iOS's UINavigationController
|
|
47
|
-
// already lays out below its real nav bar regardless of translucency, so this compensation is
|
|
48
|
-
// Android-only and applies only when translucent (a non-translucent header already gets the
|
|
49
|
-
// native offset; padding there would double it).
|
|
33
|
+
// Android's native header auto-offsets content via `AppBarLayout.ScrollingViewBehavior`, removed
|
|
34
|
+
// by `headerTranslucent: true`. An opaque custom header relying on SafeAreaView (blind to the
|
|
35
|
+
// sibling Toolbar) then clips its first 56dp — Android-only, and only when translucent.
|
|
50
36
|
const ANDROID_HEADER_TOOLBAR_HEIGHT = 56;
|
|
51
37
|
// react-native-screens' own Screen.tsx picks a different Fabric component for a modally-presented
|
|
52
38
|
// screen ('RNSModalScreen' instead of plain 'RNSScreen') because "there is a need for different
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-stack.js","sourceRoot":"","sources":["../../src/core/render-stack.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,+FAA+F;AAC/F,kGAAkG;AAClG,8FAA8F;AAC9F,iGAAiG;AACjG,iGAAiG;AACjG,yFAAyF;AACzF,oGAAoG;AACpG,6EAA6E;AAC7E,0FAA0F;AAE1F,OAAO,EAAE,EAAE,EAAE,MAAM,6BAA6B,CAAC;AAGjD,OAAO,EACL,+BAA+B,EAC/B,oCAAoC,EACpC,0BAA0B,EAC1B,wCAAwC,EACxC,yCAAyC,EACzC,oBAAoB,EACpB,wBAAwB,EACxB,kBAAkB,EAClB,iCAAiC,EACjC,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,iCAAiC,EACjC,uBAAuB,EACvB,0BAA0B,GAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAWzD,OAAO,EACL,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,kBAAkB,CAAC;AAE1B,iGAAiG;AACjG,kGAAkG;AAClG,+FAA+F;AAC/F,4FAA4F;AAC5F,mGAAmG;AACnG,oGAAoG;AACpG,mFAAmF;AACnF,iGAAiG;AACjG,6FAA6F;AAC7F,+DAA+D;AAC/D,MAAM,iCAAiC,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AACtD,MAAM,2BAA2B,GAAG;IAClC,QAAQ,EAAE,UAAU;IACpB,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,GAAG,EAAE,CAAC;IACN,MAAM,EAAE,SAAS;CAClB,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"render-stack.js","sourceRoot":"","sources":["../../src/core/render-stack.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,+FAA+F;AAC/F,kGAAkG;AAClG,8FAA8F;AAC9F,iGAAiG;AACjG,iGAAiG;AACjG,yFAAyF;A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qBAAqB,CACnC,OAAO,EAAE,iBAAiB,EAC1B,SAAS,CACV;QACD,WAAW;QACX,YAAY;QACZ,cAAc;QACd,mBAAmB,EAAE;YACnB,KAAK,EAAE,gCAAgC,CACrC,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EACZ,OAAO,EAAE,iBAAiB,EAC1B,SAAS,CACV;YACD,WAAW,EAAE,KAAK;SACnB;QACD,OAAO,EAAE,eAAe,CACtB,OAAO,EAAE,iBAAiB,EAC1B,YAAY,EACZ,SAAS,CACV;QACD,eAAe,EAAE,8BAA8B,EAAE;QACjD,gBAAgB,EAAE,+BAA+B,EAAE;KACpD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/navigation",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "Native stack navigator for SymbioteNative, built on react-native-screens' native view primitives (RNSScreen/RNSScreenStack) — one framework-agnostic core, reachable from the React, Vue, Svelte, Solid, and Angular adapters.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
},
|
|
161
161
|
"dependencies": {
|
|
162
162
|
"react-native-screens": "4.26.0",
|
|
163
|
-
"@symbiote-native/components": "3.1.
|
|
163
|
+
"@symbiote-native/components": "3.1.3"
|
|
164
164
|
},
|
|
165
165
|
"peerDependencies": {
|
|
166
166
|
"@angular/common": ">=20",
|
|
@@ -171,12 +171,12 @@
|
|
|
171
171
|
"solid-js": ">=1.9.0",
|
|
172
172
|
"svelte": ">=5.56.0",
|
|
173
173
|
"vue": ">=3.5.0",
|
|
174
|
-
"@symbiote-native/angular": "^3.1.
|
|
175
|
-
"@symbiote-native/engine": "^1.
|
|
176
|
-
"@symbiote-native/react": "^3.0
|
|
177
|
-
"@symbiote-native/solid": "^3.0.
|
|
178
|
-
"@symbiote-native/svelte": "^3.0.
|
|
179
|
-
"@symbiote-native/vue": "^3.0
|
|
174
|
+
"@symbiote-native/angular": "^3.1.3",
|
|
175
|
+
"@symbiote-native/engine": "^1.4.0",
|
|
176
|
+
"@symbiote-native/react": "^3.1.0",
|
|
177
|
+
"@symbiote-native/solid": "^3.0.5",
|
|
178
|
+
"@symbiote-native/svelte": "^3.0.5",
|
|
179
|
+
"@symbiote-native/vue": "^3.1.0"
|
|
180
180
|
},
|
|
181
181
|
"peerDependenciesMeta": {
|
|
182
182
|
"@angular/common": {
|
|
@@ -228,13 +228,13 @@
|
|
|
228
228
|
"solid-js": "^1.9.14",
|
|
229
229
|
"svelte": "^5.56.0",
|
|
230
230
|
"typescript": "~6.0.0",
|
|
231
|
-
"@symbiote-native/angular": "3.1.
|
|
232
|
-
"@symbiote-native/engine": "1.
|
|
233
|
-
"@symbiote-native/react": "3.0
|
|
234
|
-
"@symbiote-native/solid": "3.0.
|
|
235
|
-
"@symbiote-native/svelte": "3.0.
|
|
236
|
-
"@symbiote-native/test-utils": "0.4.
|
|
237
|
-
"@symbiote-native/vue": "3.0
|
|
231
|
+
"@symbiote-native/angular": "3.1.3",
|
|
232
|
+
"@symbiote-native/engine": "1.4.0",
|
|
233
|
+
"@symbiote-native/react": "3.1.0",
|
|
234
|
+
"@symbiote-native/solid": "3.0.5",
|
|
235
|
+
"@symbiote-native/svelte": "3.0.5",
|
|
236
|
+
"@symbiote-native/test-utils": "0.4.5",
|
|
237
|
+
"@symbiote-native/vue": "3.1.0"
|
|
238
238
|
},
|
|
239
239
|
"scripts": {
|
|
240
240
|
"clean": "rm -rf build-ngc",
|
package/src/core/render-stack.ts
CHANGED
|
@@ -66,23 +66,9 @@ const SHEET_CONTENT_WRAPPER_STYLE = {
|
|
|
66
66
|
bottom: undefined,
|
|
67
67
|
};
|
|
68
68
|
|
|
69
|
-
// Android's native header
|
|
70
|
-
//
|
|
71
|
-
//
|
|
72
|
-
// = if (translucent) null else ScrollingViewBehavior()`). A plain (non-translucent) header gets
|
|
73
|
-
// this offset for free and needs no JS compensation. `headerTranslucent: true` removes that
|
|
74
|
-
// behavior: react-native-screens' contract for translucent is "background goes away AND content
|
|
75
|
-
// is no longer auto-pushed below it", meant for a screen painting under a see-through header. An
|
|
76
|
-
// app that sets headerTranslucent just for a custom (still opaque) header look, while relying on
|
|
77
|
-
// its own SafeAreaView for safe-area content, loses the free offset and gets clipped:
|
|
78
|
-
// SafeAreaView's Android inset only reflects WindowInsetsCompat's systemBars() (status
|
|
79
|
-
// bar/cutout), with no awareness of the sibling Toolbar, so content paints its first 56dp under
|
|
80
|
-
// the header. Verified empirically (2026-07-10) via `adb shell uiautomator dump`: a
|
|
81
|
-
// translucent-header screen's content measured starting at y=0 (see the
|
|
82
|
-
// navigation-header-content-offset skill for the full incident). iOS's UINavigationController
|
|
83
|
-
// already lays out below its real nav bar regardless of translucency, so this compensation is
|
|
84
|
-
// Android-only and applies only when translucent (a non-translucent header already gets the
|
|
85
|
-
// native offset; padding there would double it).
|
|
69
|
+
// Android's native header auto-offsets content via `AppBarLayout.ScrollingViewBehavior`, removed
|
|
70
|
+
// by `headerTranslucent: true`. An opaque custom header relying on SafeAreaView (blind to the
|
|
71
|
+
// sibling Toolbar) then clips its first 56dp — Android-only, and only when translucent.
|
|
86
72
|
const ANDROID_HEADER_TOOLBAR_HEIGHT = 56;
|
|
87
73
|
|
|
88
74
|
// react-native-screens' own Screen.tsx picks a different Fabric component for a modally-presented
|