rn-floating-input 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +7 -7
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # react-native-floating-input
1
+ # rn-floating-input
2
2
 
3
3
  A performant floating label TextInput for React Native with animated label transitions, error shake animation, and full customization support.
4
4
 
@@ -7,9 +7,9 @@ Built with `react-native-reanimated` for smooth 60fps animations. No styled-comp
7
7
  ## Installation
8
8
 
9
9
  ```bash
10
- npm install react-native-floating-input
10
+ npm install rn-floating-input
11
11
  # or
12
- yarn add react-native-floating-input
12
+ yarn add rn-floating-input
13
13
  ```
14
14
 
15
15
  ### Peer Dependencies
@@ -23,7 +23,7 @@ Make sure `react-native-reanimated` is properly configured in your project (babe
23
23
  ## Basic Usage
24
24
 
25
25
  ```tsx
26
- import { FloatingInput } from 'react-native-floating-input'
26
+ import { FloatingInput } from 'rn-floating-input'
27
27
 
28
28
  function MyForm() {
29
29
  const [value, setValue] = useState('')
@@ -232,7 +232,7 @@ Pass any additional `TextInput` props via `textInputProps`:
232
232
 
233
233
  ```tsx
234
234
  // Component
235
- import { FloatingInput } from 'react-native-floating-input'
235
+ import { FloatingInput } from 'rn-floating-input'
236
236
 
237
237
  // Types
238
238
  import type {
@@ -241,10 +241,10 @@ import type {
241
241
  FloatingInputTheme,
242
242
  FloatingInputStyles,
243
243
  FloatingInputAnimationConfig,
244
- } from 'react-native-floating-input'
244
+ } from 'rn-floating-input'
245
245
 
246
246
  // Constants
247
- import { DEFAULT_THEME, DEFAULT_ANIMATION } from 'react-native-floating-input'
247
+ import { DEFAULT_THEME, DEFAULT_ANIMATION } from 'rn-floating-input'
248
248
  ```
249
249
 
250
250
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rn-floating-input",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A performant floating label TextInput for React Native with animated label, error shake, and full customization",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -29,7 +29,7 @@
29
29
  ],
30
30
  "repository": {
31
31
  "type": "git",
32
- "url": "git+https://github.com/ilhambabayev/react-native-floating-input.git"
32
+ "url": "git+https://github.com/Babayev03/rn-floating-input.git"
33
33
  },
34
34
  "author": "Ilham Babayev",
35
35
  "license": "MIT",