@lisergia/core 12.0.0 → 14.0.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/CHANGELOG.md +22 -0
- package/package.json +2 -2
- package/src/App.ts +3 -1
- package/src/Page.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @lisergia/core
|
|
2
2
|
|
|
3
|
+
## 14.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Avoid route to contain pathname.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @lisergia/config-tsconfig@14.0.0
|
|
13
|
+
|
|
14
|
+
## 13.0.0
|
|
15
|
+
|
|
16
|
+
### Major Changes
|
|
17
|
+
|
|
18
|
+
- Add missing ScrollTrigger dependency.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @lisergia/config-tsconfig@13.0.0
|
|
24
|
+
|
|
3
25
|
## 12.0.0
|
|
4
26
|
|
|
5
27
|
### Major Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lisergia/core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@lisergia/config-tsconfig": "
|
|
12
|
+
"@lisergia/config-tsconfig": "14.0.0",
|
|
13
13
|
"auto-bind": "^5.0.1",
|
|
14
14
|
"gsap": "^3.13.0",
|
|
15
15
|
"lenis": "^1.3.1",
|
package/src/App.ts
CHANGED
|
@@ -206,8 +206,10 @@ export class ApplicationManager extends Component {
|
|
|
206
206
|
route: string = window.location.pathname
|
|
207
207
|
|
|
208
208
|
onRouteChange({ oldValue, newValue }: IValueDidChange<string>) {
|
|
209
|
+
const href = newValue.replace(window.location.origin, '')
|
|
210
|
+
|
|
209
211
|
this.onRouteChangeRequest({
|
|
210
|
-
href
|
|
212
|
+
href,
|
|
211
213
|
pushState: true,
|
|
212
214
|
})
|
|
213
215
|
}
|
package/src/Page.ts
CHANGED