@onekeyfe/react-native-bottom-tabs 6.7.0-alpha.394 → 6.7.0-alpha.396

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.
@@ -5,6 +5,7 @@ import android.view.View
5
5
  import android.view.ViewGroup
6
6
  import com.facebook.react.bridge.ReactApplicationContext
7
7
  import com.facebook.react.bridge.ReadableArray
8
+ import com.facebook.react.bridge.ReadableMap
8
9
  import com.facebook.react.module.annotations.ReactModule
9
10
  import com.facebook.react.uimanager.ThemedReactContext
10
11
  import com.facebook.react.uimanager.UIManagerHelper
@@ -213,6 +214,8 @@ class BottomTabsViewManager(context: ReactApplicationContext) :
213
214
  override fun setSidebarAdaptable(view: BottomTabsView?, value: Boolean) {}
214
215
  override fun setScrollEdgeAppearance(view: BottomTabsView?, value: String?) {}
215
216
  override fun setMinimizeBehavior(view: BottomTabsView?, value: String?) {}
217
+ override fun setSideAccessoryIcon(view: BottomTabsView?, value: ReadableMap?) {}
218
+ override fun setSideAccessoryLabel(view: BottomTabsView?, value: String?) {}
216
219
 
217
220
  companion object {
218
221
  const val NAME = "RNBottomTabsView"
package/docs/SPEC.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Status: implemented in module source. Package TypeScript, iOS/Android Fabric
6
6
  code generation, iOS Objective-C++ Fabric bridge compilation against RN 0.86.2,
7
- 13 React wrapper checks, eleven Android API 36 native tests and four real-Fabric
7
+ 13 React wrapper checks, twelve Android API 36 native tests and four real-Fabric
8
8
  iOS review cases passed (shared-header/body arbitration and bar-height switches).
9
9
  The static Home example also passed a focused TypeScript check.
10
10
  Detailed iOS runtime evidence is recorded separately; physical-device and exact
@@ -110,6 +110,8 @@ disable/remove-content, resize, detach, accessibility, RTL and bottom-bar
110
110
  gesture ownership, including a real pager, nested horizontal list and vertical
111
111
  scrolling in the complete Fabric example. Source checks and emulator checks do not establish physical
112
112
  device smoothness or exact reference-video fidelity.
113
+ The Android native suite also exercises generated drawer prop forwarding in RTL,
114
+ physical-left placement, and closing pans while opening swipes are disabled.
113
115
 
114
116
  The standalone `example/react-native/pages/BottomTabsHomeDrawerExample.tsx`
115
117
  reproduces Home’s wallet toolbar, balance/actions/banner shared header and
@@ -278,6 +280,10 @@ placement and can draw one round accessory button above the vertical bar.
278
280
  `sideAccessoryLabel` (accessibility label), and `onSideAccessoryPress`. The
279
281
  button is 48 pt, a Liquid Glass capsule on iOS 26+, centered horizontally on
280
282
  the vertical bar's item platter and 12 pt above it.
283
+ - Android MUST accept `sideAccessoryIcon` and `sideAccessoryLabel`, including
284
+ null resets, as no-ops through its generated ViewManager interface. It MUST
285
+ NOT create a side accessory or emit placement/accessory events. Shared Fabric
286
+ props still require Android setters even when the feature is iOS-only.
281
287
  - The button shows only when all hold: the placement is `leading` or
282
288
  `trailing`, the tab bar is not hidden, the icon has loaded, and the platter
283
289
  is found. Otherwise it is hidden; a bottom bar never shows it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-bottom-tabs",
3
- "version": "6.7.0-alpha.394",
3
+ "version": "6.7.0-alpha.396",
4
4
  "description": "Native bottom tabs (tab bar + scene container) for React Native on iOS and Android",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/module/index.js",