@onekeyfe/react-native-segment-slider 3.0.86 → 3.0.88
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/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/Func_void.kt +0 -2
- package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/Func_void_double.kt +0 -2
- package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/HybridSegmentSliderSpec.kt +2 -0
- package/lib/nitrogen/generated/ios/SegmentSlider+autolinking.rb +2 -0
- package/lib/nitrogen/generated/shared/c++/views/HybridSegmentSliderComponent.cpp +1 -1
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/Func_void.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/Func_void_double.kt +0 -2
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/HybridSegmentSliderSpec.kt +2 -0
- package/nitrogen/generated/ios/SegmentSlider+autolinking.rb +2 -0
- package/nitrogen/generated/shared/c++/views/HybridSegmentSliderComponent.cpp +1 -1
- package/package.json +4 -4
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.segmentslider
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_cxx: Func_void {
|
|
|
59
58
|
override fun invoke(): Unit
|
|
60
59
|
= invoke_cxx()
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(): Unit
|
|
64
62
|
}
|
|
65
63
|
|
package/lib/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/Func_void_double.kt
CHANGED
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.segmentslider
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_double_cxx: Func_void_double {
|
|
|
59
58
|
override fun invoke(value: Double): Unit
|
|
60
59
|
= invoke_cxx(value)
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(value: Double): Unit
|
|
64
62
|
}
|
|
65
63
|
|
|
@@ -10,6 +10,7 @@ package com.margelo.nitro.segmentslider
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
+
import dalvik.annotation.optimization.FastNative
|
|
13
14
|
import com.margelo.nitro.core.HybridObject
|
|
14
15
|
import com.margelo.nitro.views.HybridView
|
|
15
16
|
|
|
@@ -191,6 +192,7 @@ abstract class HybridSegmentSliderSpec: HybridView() {
|
|
|
191
192
|
@Keep
|
|
192
193
|
protected open class CxxPart(javaPart: HybridSegmentSliderSpec): HybridObject.CxxPart(javaPart) {
|
|
193
194
|
// C++ JHybridSegmentSliderSpec::CxxPart::initHybrid(...)
|
|
195
|
+
@FastNative
|
|
194
196
|
external override fun initHybrid(): HybridData
|
|
195
197
|
}
|
|
196
198
|
override fun createCxxPart(): CxxPart {
|
|
@@ -56,5 +56,7 @@ def add_nitrogen_files(spec)
|
|
|
56
56
|
"SWIFT_OBJC_INTEROP_MODE" => "objcxx",
|
|
57
57
|
# Enables stricter modular headers
|
|
58
58
|
"DEFINES_MODULE" => "YES",
|
|
59
|
+
# Disable auto-generated ObjC header for Swift (Static linkage on Xcode 26.4 breaks here)
|
|
60
|
+
"SWIFT_INSTALL_OBJC_HEADER" => "NO",
|
|
59
61
|
})
|
|
60
62
|
end
|
|
@@ -277,7 +277,7 @@ namespace margelo::nitro::segmentslider::views {
|
|
|
277
277
|
|
|
278
278
|
HybridSegmentSliderComponentDescriptor::HybridSegmentSliderComponentDescriptor(const react::ComponentDescriptorParameters& parameters)
|
|
279
279
|
: ConcreteComponentDescriptor(parameters,
|
|
280
|
-
react::RawPropsParser(
|
|
280
|
+
react::RawPropsParser()) {}
|
|
281
281
|
|
|
282
282
|
std::shared_ptr<const react::Props> HybridSegmentSliderComponentDescriptor::cloneProps(const react::PropsParserContext& context,
|
|
283
283
|
const std::shared_ptr<const react::Props>& props,
|
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.segmentslider
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_cxx: Func_void {
|
|
|
59
58
|
override fun invoke(): Unit
|
|
60
59
|
= invoke_cxx()
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(): Unit
|
|
64
62
|
}
|
|
65
63
|
|
package/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/Func_void_double.kt
CHANGED
|
@@ -10,7 +10,6 @@ package com.margelo.nitro.segmentslider
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
-
import dalvik.annotation.optimization.FastNative
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
/**
|
|
@@ -59,7 +58,6 @@ class Func_void_double_cxx: Func_void_double {
|
|
|
59
58
|
override fun invoke(value: Double): Unit
|
|
60
59
|
= invoke_cxx(value)
|
|
61
60
|
|
|
62
|
-
@FastNative
|
|
63
61
|
private external fun invoke_cxx(value: Double): Unit
|
|
64
62
|
}
|
|
65
63
|
|
package/nitrogen/generated/android/kotlin/com/margelo/nitro/segmentslider/HybridSegmentSliderSpec.kt
CHANGED
|
@@ -10,6 +10,7 @@ package com.margelo.nitro.segmentslider
|
|
|
10
10
|
import androidx.annotation.Keep
|
|
11
11
|
import com.facebook.jni.HybridData
|
|
12
12
|
import com.facebook.proguard.annotations.DoNotStrip
|
|
13
|
+
import dalvik.annotation.optimization.FastNative
|
|
13
14
|
import com.margelo.nitro.core.HybridObject
|
|
14
15
|
import com.margelo.nitro.views.HybridView
|
|
15
16
|
|
|
@@ -191,6 +192,7 @@ abstract class HybridSegmentSliderSpec: HybridView() {
|
|
|
191
192
|
@Keep
|
|
192
193
|
protected open class CxxPart(javaPart: HybridSegmentSliderSpec): HybridObject.CxxPart(javaPart) {
|
|
193
194
|
// C++ JHybridSegmentSliderSpec::CxxPart::initHybrid(...)
|
|
195
|
+
@FastNative
|
|
194
196
|
external override fun initHybrid(): HybridData
|
|
195
197
|
}
|
|
196
198
|
override fun createCxxPart(): CxxPart {
|
|
@@ -56,5 +56,7 @@ def add_nitrogen_files(spec)
|
|
|
56
56
|
"SWIFT_OBJC_INTEROP_MODE" => "objcxx",
|
|
57
57
|
# Enables stricter modular headers
|
|
58
58
|
"DEFINES_MODULE" => "YES",
|
|
59
|
+
# Disable auto-generated ObjC header for Swift (Static linkage on Xcode 26.4 breaks here)
|
|
60
|
+
"SWIFT_INSTALL_OBJC_HEADER" => "NO",
|
|
59
61
|
})
|
|
60
62
|
end
|
|
@@ -277,7 +277,7 @@ namespace margelo::nitro::segmentslider::views {
|
|
|
277
277
|
|
|
278
278
|
HybridSegmentSliderComponentDescriptor::HybridSegmentSliderComponentDescriptor(const react::ComponentDescriptorParameters& parameters)
|
|
279
279
|
: ConcreteComponentDescriptor(parameters,
|
|
280
|
-
react::RawPropsParser(
|
|
280
|
+
react::RawPropsParser()) {}
|
|
281
281
|
|
|
282
282
|
std::shared_ptr<const react::Props> HybridSegmentSliderComponentDescriptor::cloneProps(const react::PropsParserContext& context,
|
|
283
283
|
const std::shared_ptr<const react::Props>& props,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onekeyfe/react-native-segment-slider",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.88",
|
|
4
4
|
"description": "react-native-segment-slider",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -77,12 +77,12 @@
|
|
|
77
77
|
"eslint-plugin-prettier": "^5.5.4",
|
|
78
78
|
"jest": "^29.7.0",
|
|
79
79
|
"lefthook": "^2.0.3",
|
|
80
|
-
"nitrogen": "0.
|
|
80
|
+
"nitrogen": "0.36.5",
|
|
81
81
|
"prettier": "^2.8.8",
|
|
82
82
|
"react": "19.2.0",
|
|
83
83
|
"react-native": "patch:react-native@npm%3A0.83.0#~/.yarn/patches/react-native-npm-0.83.0-577d0f2d83.patch",
|
|
84
84
|
"react-native-builder-bob": "^0.40.13",
|
|
85
|
-
"react-native-nitro-modules": "0.
|
|
85
|
+
"react-native-nitro-modules": "0.36.5",
|
|
86
86
|
"release-it": "^19.0.4",
|
|
87
87
|
"turbo": "^2.5.6",
|
|
88
88
|
"typescript": "^5.9.2"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"peerDependencies": {
|
|
91
91
|
"react": "*",
|
|
92
92
|
"react-native": "*",
|
|
93
|
-
"react-native-nitro-modules": "0.
|
|
93
|
+
"react-native-nitro-modules": "0.36.5"
|
|
94
94
|
},
|
|
95
95
|
"packageManager": "yarn@4.11.0",
|
|
96
96
|
"react-native-builder-bob": {
|