Skip to content

Commit 5617059

Browse files
TommertomTommertom
Tommertom
authored and
Tommertom
committed
Ionic 7.0.3
1 parent e2efa55 commit 5617059

File tree

14 files changed

+22284
-22092
lines changed

14 files changed

+22284
-22092
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log Ionic-Svelte-NPM
22
All notable changes to this project will be documented in this file.
33

4+
## 0.5.77
5+
- Bumped to 7.0.3 - including creator scripts
6+
- Fix on MenuI
7+
- IonPage.svelte now holds a secret
8+
49
## 0.5.74/75/76 Ionic 7 (Ionic 7.0.2)
510
- Ionic 7 package landed - demo app is not upgraded yet
611
- Creator scripts are updated to 7.0.2 as well - fixing to that version as I assume there will be updates on core

components/IonPage.svelte

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
export const ionViewDidEnter = () => {};
99
export const ionViewWillLeave = undefined; // unsupported as we cannot use beforeNavigate in npm library
1010
export const ionViewDidLeave = () => {};
11-
export let animation = {in: { x: 1000, duration: 300 }, out: { x: -1000, duration: 300 }};
11+
12+
// put export in front, copy to your $lib and then you have your custom IonPage!
13+
let animation = { in: { x: 1000, duration: 300 }, out: { x: -1000, duration: 300 } };
1214
1315
ionViewWillEnter();
1416
@@ -33,10 +35,6 @@
3335
});
3436
</script>
3537

36-
<div
37-
class="ion-page"
38-
in:fly={animation.in}
39-
out:fly={animation.out}
40-
>
38+
<div class="ion-page" in:fly={animation.in} out:fly={animation.out}>
4139
<slot />
4240
</div>

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionic-svelte",
3-
"version": "0.5.76",
3+
"version": "0.5.77",
44
"private": false,
55
"homepage": "https://ionicsvelte.firebaseapp.com",
66
"repository": {
@@ -33,4 +33,4 @@
3333
"dependencies": {
3434
"@ionic/core": "^7.0.3"
3535
}
36-
}
36+
}

package.json.bak

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "ionic-svelte",
3+
"version": "0.5.77",
4+
"private": false,
5+
"homepage": "https://ionicsvelte.firebaseapp.com",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/Tommertom/svelte-ionic-app.git"
9+
},
10+
"keywords": [
11+
"ui library",
12+
"ui",
13+
"ionic",
14+
"svelte",
15+
"sveltekit",
16+
"vite"
17+
],
18+
"main": "index.ts",
19+
"module": "index.ts",
20+
"types": "index.d.ts",
21+
"bugs": {
22+
"url": "https://github.com/Tommertom/svelte-ionic-app/issues"
23+
},
24+
"description": "The NPM library to implement Ionic in any Svelte project - supporting SvelteKit and Svelte with Vite",
25+
"scripts": {
26+
"lint": "prettier --plugin-search-dir . --check . && eslint .",
27+
"format": "prettier --plugin-search-dir . --write ."
28+
},
29+
"type": "module",
30+
"devDependencies": {
31+
"svelte": "^3.55.1"
32+
},
33+
"dependencies": {
34+
"@ionic/core": "^7.0.3"
35+
}
36+
}

packages/create-capacitor-svelte-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-capacitor-svelte-app",
3-
"version": "0.0.19",
3+
"version": "0.0.21",
44
"description": "Use this CLI app to setup a new Capacitor application in a new SvelteKit project.",
55
"keywords": [
66
"capacitor",

packages/create-capacitor-svelte-app/src/creator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export async function createIonicSvelte(opts) {
113113

114114

115115
packages = [];
116-
if (opts?.ionic) packages = ['@ionic/[email protected].2', 'ionic-svelte'];
116+
if (opts?.ionic) packages = ['@ionic/[email protected].3', 'ionic-svelte'];
117117
if (opts?.capacitor) packages.push('@capacitor/core');
118118
// packages = [];
119119
if (opts?.ionicons) packages.push('ionicons');

packages/create-capacitor-svelte-app/src/creator.js.bak

Whitespace-only changes.

packages/create-ionic-svelte-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-ionic-svelte-app",
3-
"version": "0.0.32",
3+
"version": "0.0.34",
44
"description": "Use this CLI app to setup a new Ionic application in a new SvelteKit project.",
55
"keywords": [
66
"ionic",

packages/create-ionic-svelte-app/src/creator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export async function createIonicSvelte(opts) {
112112
}
113113

114114

115-
packages = ['@ionic/[email protected].2', 'ionic-svelte'];
115+
packages = ['@ionic/[email protected].3', 'ionic-svelte'];
116116
if (opts?.capacitor) packages.push('@capacitor/core');
117117
// packages = [];
118118
if (opts?.ionicons) packages.push('ionicons');

0 commit comments

Comments
 (0)