@sigmela/router 0.4.0 → 0.6.0

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/dist/router.css CHANGED
@@ -278,6 +278,10 @@
278
278
  overflow: hidden;
279
279
  }
280
280
 
281
+ .router-sheet-frame-scroll--fullscreen {
282
+ height: 100%;
283
+ }
284
+
281
285
  .router-sheet-frame-scroll {
282
286
  max-height: inherit;
283
287
  overflow-y: auto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigmela/router",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "description": "Native-feeling router for React web apps: screen stacks with gesture-driven back, modals, sheets, tab bars, drawers and split views.",
5
5
  "license": "MIT",
6
6
  "author": "Sigmela",
@@ -36,7 +36,9 @@
36
36
  "test": "vitest run",
37
37
  "test:watch": "vitest",
38
38
  "lint": "eslint .",
39
- "prepublishOnly": "yarn clean && yarn typecheck && yarn test && yarn build"
39
+ "prepublishOnly": "yarn clean && yarn typecheck && yarn test && yarn build",
40
+ "example": "vite --config example/vite.config.ts",
41
+ "example:build": "vite build --config example/vite.config.ts"
40
42
  },
41
43
  "peerDependencies": {
42
44
  "react": ">=19.0.0",
@@ -55,6 +57,7 @@
55
57
  "@types/node": "^26.1.1",
56
58
  "@types/react": "19.2.14",
57
59
  "@types/react-dom": "^19.2.3",
60
+ "@vitejs/plugin-react": "^5.2.0",
58
61
  "eslint": "^9.39.1",
59
62
  "eslint-plugin-react-hooks": "^7.1.0",
60
63
  "globals": "^16.5.0",
@@ -64,6 +67,7 @@
64
67
  "tsup": "^8.5.0",
65
68
  "typescript": "~6.0.3",
66
69
  "typescript-eslint": "^8.47.0",
70
+ "vite": "^7.3.6",
67
71
  "vitest": "4.1.10"
68
72
  },
69
73
  "keywords": [