rn-searchable-textinput 2.0.0 → 2.0.2
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/README.md
CHANGED
|
@@ -9,14 +9,17 @@ A lightning-fast, highly customizable, and strictly typed searchable dropdown fo
|
|
|
9
9
|
|
|
10
10
|
## 🎥 Demo
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
<img src="https://raw.githubusercontent.com/dev-pratik-sanap/rn-searchable-textinput/main/src/docs/rn-searchable-textinput-demo.gif" alt="Demo of rn-searchable-textinput" width="600" />
|
|
13
13
|
|
|
14
14
|
## ✨ Why this library?
|
|
15
15
|
|
|
16
16
|
- **Android Safe:** Bypasses Android's notorious `overflow: hidden` clipping bugs using smart absolute positioning and elevation.
|
|
17
|
+
|
|
17
18
|
- **Smart Flip Layout:** Automatically flips the dropdown above the input if it detects the keyboard or screen edge blocking the view.
|
|
19
|
+
|
|
18
20
|
- **60fps Performance:** Built-in debouncing (`useDebounce`) and memoization means zero typing lag, even with 5,000+ items.
|
|
19
21
|
- **Async & API Ready:** First-class support for loading spinners and empty states.
|
|
22
|
+
|
|
20
23
|
- **Type Safe:** Fully written in TypeScript with generic support. Autocomplete your custom data models directly in your IDE.
|
|
21
24
|
|
|
22
25
|
## 📦 Installation
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rn-searchable-textinput",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "A lightweight, zero-dependency, highly customizable searchable text input for React Native.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"types": "./lib/typescript/src/index.d.ts",
|
|
@@ -54,14 +54,14 @@
|
|
|
54
54
|
],
|
|
55
55
|
"repository": {
|
|
56
56
|
"type": "git",
|
|
57
|
-
"url": "git+https://github.com/dev-pratik-sanap.git"
|
|
57
|
+
"url": "git+https://github.com/dev-pratik-sanap/rn-searchable-textinput.git"
|
|
58
58
|
},
|
|
59
59
|
"author": "Pratik <pratiksanap007@gmail.com> (https://www.npmjs.com/~pratik8442)",
|
|
60
60
|
"license": "MIT",
|
|
61
61
|
"bugs": {
|
|
62
62
|
"url": "https://github.com/dev-pratik-sanap/issues"
|
|
63
63
|
},
|
|
64
|
-
"homepage": "https://github.com/dev-pratik-sanap#readme",
|
|
64
|
+
"homepage": "https://github.com/dev-pratik-sanap/rn-searchable-textinput#readme",
|
|
65
65
|
"publishConfig": {
|
|
66
66
|
"registry": "https://registry.npmjs.org/"
|
|
67
67
|
},
|
|
Binary file
|