@react-native-vector-icons/feather 12.0.0-alpha.25 → 12.0.0-beta.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/android/src/main/java/VectorIconsFeatherPackage.kt +1 -17
- package/package.json +5 -4
- package/android/src/main/java/VectorIconsFeatherModule.kt +0 -13
- package/android/src/main/java/VectorIconsFeatherSpec.kt +0 -14
- package/lib/commonjs/NativeVectorIconsFeather.js +0 -10
- package/lib/commonjs/NativeVectorIconsFeather.js.map +0 -1
- package/lib/module/NativeVectorIconsFeather.js +0 -8
- package/lib/module/NativeVectorIconsFeather.js.map +0 -1
- package/lib/typescript/commonjs/src/NativeVectorIconsFeather.d.ts +0 -6
- package/lib/typescript/commonjs/src/NativeVectorIconsFeather.d.ts.map +0 -1
- package/lib/typescript/module/src/NativeVectorIconsFeather.d.ts +0 -6
- package/lib/typescript/module/src/NativeVectorIconsFeather.d.ts.map +0 -1
- package/src/NativeVectorIconsFeather.ts +0 -7
|
@@ -10,27 +10,11 @@ class VectorIconsFeatherPackage : TurboReactPackage() {
|
|
|
10
10
|
override fun getModule(
|
|
11
11
|
name: String,
|
|
12
12
|
reactContext: ReactApplicationContext,
|
|
13
|
-
): NativeModule? =
|
|
14
|
-
if (name == VectorIconsModule.NAME) {
|
|
15
|
-
VectorIconsModule(reactContext)
|
|
16
|
-
} else {
|
|
17
|
-
null
|
|
18
|
-
}
|
|
13
|
+
): NativeModule? = null
|
|
19
14
|
|
|
20
15
|
override fun getReactModuleInfoProvider(): ReactModuleInfoProvider =
|
|
21
16
|
ReactModuleInfoProvider {
|
|
22
17
|
val moduleInfos: MutableMap<String, ReactModuleInfo> = HashMap()
|
|
23
|
-
// val isTurboModule: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
|
|
24
|
-
moduleInfos[VectorIconsModule.NAME] =
|
|
25
|
-
ReactModuleInfo(
|
|
26
|
-
VectorIconsModule.NAME, // name
|
|
27
|
-
VectorIconsModule.NAME, // className
|
|
28
|
-
false, // canOverrideExistingModule
|
|
29
|
-
false, // needsEagerInit
|
|
30
|
-
false, // hasConstants NOTE: This is deprecated but we need it to keep compatability with RN <= 0.72
|
|
31
|
-
false, // isCxxModule
|
|
32
|
-
false, // isTurboModule,
|
|
33
|
-
)
|
|
34
18
|
moduleInfos
|
|
35
19
|
}
|
|
36
20
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-vector-icons/feather",
|
|
3
|
-
"version": "12.0.0-
|
|
3
|
+
"version": "12.0.0-beta.1",
|
|
4
4
|
"description": "Feather font for react native vector icons",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -76,14 +76,15 @@
|
|
|
76
76
|
"registry": "https://registry.npmjs.org/"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@react-native-vector-icons/common": "^12.0.0-
|
|
79
|
+
"@react-native-vector-icons/common": "^12.0.0-beta.1"
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
+
"@types/react": "^18.3.18",
|
|
82
83
|
"del-cli": "^6.0.0",
|
|
83
|
-
"feather-icons": "4.29.2",
|
|
84
84
|
"onchange": "^7.1.0",
|
|
85
85
|
"react-native-builder-bob": "^0.35.2",
|
|
86
|
-
"typescript": "^5.7.2"
|
|
86
|
+
"typescript": "^5.7.2",
|
|
87
|
+
"feather-icons": "4.29.2"
|
|
87
88
|
},
|
|
88
89
|
"peerDependencies": {
|
|
89
90
|
"react": "*",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
package com.reactnativevectoricons.feather
|
|
2
|
-
|
|
3
|
-
import com.facebook.react.bridge.ReactApplicationContext
|
|
4
|
-
|
|
5
|
-
class VectorIconsModule internal constructor(
|
|
6
|
-
context: ReactApplicationContext,
|
|
7
|
-
) : VectorIconsSpec(context) {
|
|
8
|
-
override fun getName(): String = NAME
|
|
9
|
-
|
|
10
|
-
companion object {
|
|
11
|
-
const val NAME = "VectorIconsFeather"
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
package com.reactnativevectoricons.feather
|
|
2
|
-
|
|
3
|
-
import com.facebook.react.bridge.ReactApplicationContext
|
|
4
|
-
import com.facebook.react.bridge.ReactContextBaseJavaModule
|
|
5
|
-
|
|
6
|
-
abstract class VectorIconsSpec internal constructor(
|
|
7
|
-
context: ReactApplicationContext,
|
|
8
|
-
) : ReactContextBaseJavaModule(context) {
|
|
9
|
-
companion object {
|
|
10
|
-
const val NAME = "VectorIconsFeather"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
override fun getName(): String = NAME
|
|
14
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
9
|
-
var _default = exports.default = _reactNative.TurboModuleRegistry.get('VectorIconsFeather') || {};
|
|
10
|
-
//# sourceMappingURL=NativeVectorIconsFeather.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","get"],"sourceRoot":"../../src","sources":["NativeVectorIconsFeather.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAEA;AAAA,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAGeC,gCAAmB,CAACC,GAAG,CAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
4
|
-
|
|
5
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
6
|
-
|
|
7
|
-
export default TurboModuleRegistry.get('VectorIconsFeather') || {};
|
|
8
|
-
//# sourceMappingURL=NativeVectorIconsFeather.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","get"],"sourceRoot":"../../src","sources":["NativeVectorIconsFeather.ts"],"mappings":";;AACA,SAASA,mBAAmB,QAAQ,cAAc;;AAElD;;AAGA,eAAeA,mBAAmB,CAACC,GAAG,CAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeVectorIconsFeather.d.ts","sourceRoot":"","sources":["../../../../src/NativeVectorIconsFeather.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAIhD,MAAM,WAAW,IAAK,SAAQ,WAAW;CAAG;;AAE5C,wBAAyE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeVectorIconsFeather.d.ts","sourceRoot":"","sources":["../../../../src/NativeVectorIconsFeather.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAIhD,MAAM,WAAW,IAAK,SAAQ,WAAW;CAAG;;AAE5C,wBAAyE"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
import { TurboModuleRegistry } from 'react-native';
|
|
3
|
-
|
|
4
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
5
|
-
export interface Spec extends TurboModule {}
|
|
6
|
-
|
|
7
|
-
export default TurboModuleRegistry.get<Spec>('VectorIconsFeather') || {};
|