swipe-row 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -3,14 +3,24 @@
3
3
  A highly customizable, iOS-style swipeable row component for React applications. Built with `framer-motion` for buttery-smooth spring physics animations. Perfect for creating lists with interactive hidden actions like "Archive", "Delete", or "Reply".
4
4
 
5
5
  ![npm version](https://img.shields.io/npm/v/swipe-row)
6
+ [![Live Demo](https://img.shields.io/badge/Live%20Demo-Render-blueviolet)](https://swipe-row.onrender.com/)
6
7
  ![React](https://img.shields.io/badge/react-%5E18.2.0-blue)
7
8
  ![TypeScript](https://img.shields.io/badge/TypeScript-%5E5.2.2-blue)
8
9
  ![License](https://img.shields.io/badge/license-MIT-green)
9
10
 
10
11
  ---
11
12
 
13
+ <br />
14
+ <div align="center">
15
+ <img src="./demo.gif" alt="SwipeRow Demo Animation" width="400" />
16
+ </div>
17
+ <br />
18
+
19
+ ---
20
+
12
21
  ## ✨ Features
13
22
 
23
+ - **👀 Live Demo:** Try it out instantly at **[swipe-row.onrender.com](https://swipe-row.onrender.com/)**
14
24
  - **Fluid Animations:** Powered by [Framer Motion](https://www.framer.com/motion/) with native-feeling spring physics.
15
25
  - **Dynamic Actions:** Pass an unlimited number of custom action buttons (Edit, Delete, Archive, etc.).
16
26
  - **Automatic Styling:** Built-in basic styling with CSS Modules so it just works out of the box without polluting global scopes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swipe-row",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "A highly customizable, iOS-style swipeable row component for React applications.",
5
5
  "type": "module",
6
6
  "main": "./dist/swipe-row.cjs.js",
@@ -20,6 +20,7 @@
20
20
  "scripts": {
21
21
  "dev": "vite",
22
22
  "build": "tsc && vite build",
23
+ "build:demo": "vite build -c vite.demo.config.ts",
23
24
  "test": "vitest run",
24
25
  "test:ui": "vitest --ui"
25
26
  },