@smart-wizard/extension-swipe 1.0.0 → 1.0.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/README.md +41 -0
- package/package.json +8 -4
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# @smart-wizard/extension-swipe
|
|
2
|
+
|
|
3
|
+
**Official touch swipe navigation extension for SmartWizard.**
|
|
4
|
+
Enables mobile and touch swipe gestures without interfering with vertical page scrolling.
|
|
5
|
+
|
|
6
|
+
> This package is part of the **[SmartWizard](https://github.com/techlab/smart-wizard)** project, the next-generation continuation of the popular jQuery SmartWizard.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📖 Documentation & Links
|
|
11
|
+
|
|
12
|
+
* 📚 **Full Documentation & Guides**: [GitHub Readme](https://github.com/techlab/smart-wizard#-extension-system)
|
|
13
|
+
* 🌐 **Official Website & Demos**: [techlaboratory.net/smart-wizard](https://techlaboratory.net/smart-wizard)
|
|
14
|
+
* 🐙 **Repository**: [github.com/techlab/smart-wizard](https://github.com/techlab/smart-wizard)
|
|
15
|
+
* 🐛 **Issue Tracker**: [github.com/techlab/smart-wizard/issues](https://github.com/techlab/smart-wizard/issues)
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 📥 Installation
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @smart-wizard/extension-swipe @smart-wizard/core
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## ⚡ Quick Example
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { SmartWizard } from '@smart-wizard/core';
|
|
31
|
+
import { createSwipeExtension } from '@smart-wizard/extension-swipe';
|
|
32
|
+
|
|
33
|
+
const wizard = new SmartWizard('#wizard', options)
|
|
34
|
+
.extend(createSwipeExtension({ threshold: 50 })); // threshold in px (default: 50)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 📝 License
|
|
40
|
+
|
|
41
|
+
Dual-licensed under [MIT](https://github.com/techlab/smart-wizard/blob/main/LICENSE) (open-source) and [Commercial License](https://techlaboratory.net/smart-wizard#license).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smart-wizard/extension-swipe",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Touch swipe navigation extension for SmartWizard",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
],
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@smart-wizard/core": ">=1.0.
|
|
17
|
+
"@smart-wizard/core": ">=1.0.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"tsup": "^8.0.0",
|
|
21
21
|
"typescript": "^5.0.0",
|
|
22
|
-
"@smart-wizard/core": "1.0.
|
|
22
|
+
"@smart-wizard/core": "1.0.1"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -30,7 +30,11 @@
|
|
|
30
30
|
"bugs": {
|
|
31
31
|
"url": "https://github.com/techlab/smart-wizard/issues"
|
|
32
32
|
},
|
|
33
|
-
"author":
|
|
33
|
+
"author": {
|
|
34
|
+
"name": "Dipu Rajendran",
|
|
35
|
+
"email": "hello.techlab@gmail.com",
|
|
36
|
+
"url": "https://github.com/techlab"
|
|
37
|
+
},
|
|
34
38
|
"publishConfig": {
|
|
35
39
|
"access": "public"
|
|
36
40
|
},
|