kdu-router 3.1.7 → 3.5.4
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 +2 -11
- package/dist/kdu-router.common.js +640 -410
- package/dist/kdu-router.esm.browser.js +617 -371
- package/dist/kdu-router.esm.browser.min.js +3 -3
- package/dist/kdu-router.esm.js +640 -410
- package/dist/kdu-router.js +644 -415
- package/dist/kdu-router.min.js +3 -3
- package/ketur/attributes.json +38 -0
- package/ketur/tags.json +20 -0
- package/package.json +23 -14
- package/src/components/link.js +38 -4
- package/src/components/view.js +7 -1
- package/src/create-matcher.js +28 -2
- package/src/create-route-map.js +18 -3
- package/src/history/abstract.js +6 -3
- package/src/history/base.js +91 -64
- package/src/history/hash.js +25 -27
- package/src/history/html5.js +25 -6
- package/src/index.js +76 -44
- package/src/util/errors.js +86 -0
- package/src/util/path.js +1 -1
- package/src/util/push-state.js +1 -1
- package/src/util/query.js +49 -31
- package/src/util/resolve-components.js +2 -1
- package/src/util/route.js +29 -10
- package/src/util/scroll.js +26 -7
- package/src/util/warn.js +1 -12
- package/types/index.d.ts +6 -1
- package/types/router.d.ts +77 -11
- package/src/history/errors.js +0 -22
package/README.md
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
# kdu-router
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
---
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
- Nested route/view mapping
|
|
8
|
-
- Modular, component-based router configuration
|
|
9
|
-
- Route params, query, wildcards
|
|
10
|
-
- View transition effects powered by Kdu.js' transition system
|
|
11
|
-
- Fine-grained navigation control
|
|
12
|
-
- Links with automatic active CSS classes
|
|
13
|
-
- HTML5 history mode or hash mode, with auto-fallback in IE9
|
|
14
|
-
- Customizable Scroll Behavior
|
|
5
|
+
Get started with the [documentation](http://kdujs-router.web.app).
|
|
15
6
|
|
|
16
7
|
## License
|
|
17
8
|
|