@foldjs/svelte 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.
- package/README.md +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# fold.js
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/foldjs)
|
|
4
|
+
[](https://bundlejs.com/?q=foldjs)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
3
7
|
**Make any web app foldable-ready.** Hinge-aware layouts for foldable phones — in React, Vue, Svelte, Solid, Angular… or plain HTML.
|
|
4
8
|
|
|
9
|
+
### [▶ Live demo](https://christophe77.github.io/foldjs/) — no foldable needed, the simulator is built in.
|
|
10
|
+
|
|
11
|
+

|
|
12
|
+
|
|
5
13
|
- 🪟 **Two-pane layouts** that put each pane on its own side of the hinge
|
|
6
14
|
- 📐 **Posture detection**: `flat`, `book`, `tabletop`, `folded`
|
|
7
15
|
- 🧪 **Built-in foldable simulator** — no device, no DevTools setup
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foldjs/svelte",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Svelte bindings for Fold.js: a `fold` store and `use:twoPane` / `use:foldWhen` actions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "christophe77",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"url": "git+https://github.com/christophe77/foldjs.git",
|
|
10
10
|
"directory": "packages/svelte"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.
|
|
12
|
+
"homepage": "https://christophe77.github.io/foldjs/",
|
|
13
13
|
"bugs": "https://github.com/christophe77/foldjs/issues",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"main": "./dist/index.cjs",
|