merge release-6.1.7

Release 6.1.7
This commit is contained in:
Liam DeBeasi
2022-05-26 17:18:03 -04:00
committed by GitHub
267 changed files with 1479 additions and 794 deletions

View File

@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [6.1.7](https://github.com/ionic-team/ionic/compare/v6.1.6...v6.1.7) (2022-05-26)
### Bug Fixes
* **vue:** correct views are now unmounted in tabs ([#25270](https://github.com/ionic-team/ionic/issues/25270)) ([5e23fb1](https://github.com/ionic-team/ionic/commit/5e23fb1ce4e5b6e53828bde59268170f604167ba)), closes [#25255](https://github.com/ionic-team/ionic/issues/25255)
## [6.1.6](https://github.com/ionic-team/ionic/compare/v6.1.5...v6.1.6) (2022-05-18)
**Note:** Version bump only for package @ionic/vue-router

View File

@ -1,15 +1,15 @@
{
"name": "@ionic/vue-router",
"version": "6.1.6",
"version": "6.1.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/vue-router",
"version": "6.1.6",
"version": "6.1.7",
"license": "MIT",
"dependencies": {
"@ionic/vue": "^6.1.6"
"@ionic/vue": "^6.1.7"
},
"devDependencies": {
"@types/jest": "^26.0.13",
@ -563,9 +563,9 @@
"license": "MIT"
},
"node_modules/@ionic/core": {
"version": "6.1.6",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.1.6.tgz",
"integrity": "sha512-AsYGEHKVHy082RST3RBrIiOZX6VXNy6qYSYtf6TwOwmF/YV+/ASaB1TqVO/jP658ML106nNcjUM0fTkbm9UXRA==",
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.1.7.tgz",
"integrity": "sha512-CUbH7xtKcPejHTyMvvUJZq4GIyLbL2YflzFH+mad1PoLN4TLwFTTKTDB1oeFNqwnTzaByeBvhEWSayxCbLgvjQ==",
"dependencies": {
"@stencil/core": "^2.14.2",
"ionicons": "^6.0.0",
@ -573,11 +573,11 @@
}
},
"node_modules/@ionic/vue": {
"version": "6.1.6",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.1.6.tgz",
"integrity": "sha512-j0dELNjYTropC7UiZsgy3UN9mnQhXLD2Od/W92SQqKXx4tbvXOM7NLYuTrio7u2oZVagKnXmK19dpurp6Q0M0Q==",
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.1.7.tgz",
"integrity": "sha512-TXVFkajBsmNBhMdlQ1P6JV/8aPIOvnR4d3lj8Mo9UVidp9Z7Qc992f2wti/bsdiBUm3iXoDK5YjQridPSPS7pQ==",
"dependencies": {
"@ionic/core": "^6.1.6",
"@ionic/core": "^6.1.7",
"ionicons": "^6.0.0"
}
},
@ -6630,9 +6630,9 @@
"dev": true
},
"@ionic/core": {
"version": "6.1.6",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.1.6.tgz",
"integrity": "sha512-AsYGEHKVHy082RST3RBrIiOZX6VXNy6qYSYtf6TwOwmF/YV+/ASaB1TqVO/jP658ML106nNcjUM0fTkbm9UXRA==",
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.1.7.tgz",
"integrity": "sha512-CUbH7xtKcPejHTyMvvUJZq4GIyLbL2YflzFH+mad1PoLN4TLwFTTKTDB1oeFNqwnTzaByeBvhEWSayxCbLgvjQ==",
"requires": {
"@stencil/core": "^2.14.2",
"ionicons": "^6.0.0",
@ -6640,11 +6640,11 @@
}
},
"@ionic/vue": {
"version": "6.1.6",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.1.6.tgz",
"integrity": "sha512-j0dELNjYTropC7UiZsgy3UN9mnQhXLD2Od/W92SQqKXx4tbvXOM7NLYuTrio7u2oZVagKnXmK19dpurp6Q0M0Q==",
"version": "6.1.7",
"resolved": "https://registry.npmjs.org/@ionic/vue/-/vue-6.1.7.tgz",
"integrity": "sha512-TXVFkajBsmNBhMdlQ1P6JV/8aPIOvnR4d3lj8Mo9UVidp9Z7Qc992f2wti/bsdiBUm3iXoDK5YjQridPSPS7pQ==",
"requires": {
"@ionic/core": "^6.1.6",
"@ionic/core": "^6.1.7",
"ionicons": "^6.0.0"
}
},

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/vue-router",
"version": "6.1.6",
"version": "6.1.7",
"description": "Vue Router integration for @ionic/vue",
"scripts": {
"prepublishOnly": "npm run build",
@ -44,7 +44,7 @@
},
"homepage": "https://github.com/ionic-team/ionic#readme",
"dependencies": {
"@ionic/vue": "^6.1.6"
"@ionic/vue": "^6.1.7"
},
"devDependencies": {
"@types/jest": "^26.0.13",

View File

@ -9,6 +9,15 @@ import { shallowRef } from 'vue';
export const createViewStacks = (router: Router) => {
let viewStacks: ViewStacks = {};
/**
* Returns the number of active stacks.
* This is useful for determining if an app
* is using linear navigation only or non-linear
* navigation. Multiple stacks indiciate an app
* is using non-linear navigation.
*/
const size = () => Object.keys(viewStacks).length;
const clear = (outletId: number) => {
delete viewStacks[outletId];
}
@ -211,6 +220,7 @@ export const createViewStacks = (router: Router) => {
add,
remove,
registerIonPage,
getViewStack
getViewStack,
size
}
}