From 19fbfd566022370a6c62e2436d34b5ac9a9d9c7c Mon Sep 17 00:00:00 2001 From: AnmiTaliDev Date: Sat, 3 Oct 2026 21:54:36 +0500 Subject: [PATCH] feat(native-libs): add react-native-teleport rule and icon Closes #1379 --- .../android/ic_lib_react_native_teleport.xml | 11 ++++ icons/ic_lib_react_native_teleport.svg | 1 + icons/index.json | 4 ++ .../EC981174-0B9C-4057-AD44-973A1514C615.json | 52 +++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 icons/android/ic_lib_react_native_teleport.xml create mode 100644 icons/ic_lib_react_native_teleport.svg create mode 100644 libraries/EC981174-0B9C-4057-AD44-973A1514C615.json diff --git a/icons/android/ic_lib_react_native_teleport.xml b/icons/android/ic_lib_react_native_teleport.xml new file mode 100644 index 00000000..47014a52 --- /dev/null +++ b/icons/android/ic_lib_react_native_teleport.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/icons/ic_lib_react_native_teleport.svg b/icons/ic_lib_react_native_teleport.svg new file mode 100644 index 00000000..89be9226 --- /dev/null +++ b/icons/ic_lib_react_native_teleport.svg @@ -0,0 +1 @@ + diff --git a/icons/index.json b/icons/index.json index ab8d5e14..545fb7ee 100644 --- a/icons/index.json +++ b/icons/index.json @@ -695,6 +695,10 @@ "iconId": "ic_lib_liftoff", "isSimpleColorIcon": true }, + "174": { + "iconId": "ic_lib_react_native_teleport", + "isSimpleColorIcon": false + }, "-1": { "iconId": null, "isSimpleColorIcon": true diff --git a/libraries/EC981174-0B9C-4057-AD44-973A1514C615.json b/libraries/EC981174-0B9C-4057-AD44-973A1514C615.json new file mode 100644 index 00000000..8c434183 --- /dev/null +++ b/libraries/EC981174-0B9C-4057-AD44-973A1514C615.json @@ -0,0 +1,52 @@ +{ + "schemaVersion": 5, + "uuid": "EC981174-0B9C-4057-AD44-973A1514C615", + "iconId": "ic_lib_react_native_teleport", + "data": [ + { + "locale": "zh-Hans", + "data": { + "label": "react-native-teleport", + "dev_team": "kirillzyusko", + "rule_contributors": [ + "sebastien46" + ], + "description": "react-native-teleport 为 React Native 提供缺失的原生 Portal 实现,可在组件树中传送视图,用于实现无缝过渡和复杂的 UI 模式。", + "source_link": "https://github.com/kirillzyusko/react-native-teleport" + } + }, + { + "locale": "en", + "data": { + "label": "react-native-teleport", + "dev_team": "kirillzyusko", + "rule_contributors": [ + "sebastien46" + ], + "description": "Missing native portal implementation for react-native. Teleport views across your component tree for seamless transitions and powerful UI patterns.", + "source_link": "https://github.com/kirillzyusko/react-native-teleport" + } + } + ], + "matchers": [ + { + "id": 2934, + "type": 0, + "name": "libreact_codegen_TeleportViewSpec.so", + "mode": "exact", + "priority": 2934, + "label": "react-native-teleport", + "iconId": "ic_lib_react_native_teleport", + "regexName": null, + "hasDetail": true, + "legacyPath": "native-libs/libreact_codegen_TeleportViewSpec.so.json", + "examples": { + "positive": [ + "libreact_codegen_TeleportViewSpec.so" + ], + "negative": [] + } + } + ], + "unreferencedDescriptions": [] +}