merge release-6.5.0

Release 6.5.0
This commit is contained in:
Liam DeBeasi
2023-01-18 11:33:38 -05:00
committed by GitHub
149 changed files with 477 additions and 216 deletions

View File

@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [6.5.0](https://github.com/ionic-team/ionic/compare/v6.4.3...v6.5.0) (2023-01-18)
### Features
* **deps:** update ionicons to 6.1.0 ([#26617](https://github.com/ionic-team/ionic/issues/26617)) ([ccd2a92](https://github.com/ionic-team/ionic/commit/ccd2a9224e018ad0d67903d44ec312934c3b35ec))
* **deps:** update ionicons to 6.1.1 ([#26626](https://github.com/ionic-team/ionic/issues/26626)) ([90405eb](https://github.com/ionic-team/ionic/commit/90405eb0af69ce04faf5855189449d0b7518288c))
## [6.4.3](https://github.com/ionic-team/ionic/compare/v6.4.2...v6.4.3) (2023-01-18)
**Note:** Version bump only for package @ionic/vue

View File

@ -1,16 +1,16 @@
{
"name": "@ionic/vue",
"version": "6.4.3",
"version": "6.5.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ionic/vue",
"version": "6.4.3",
"version": "6.5.0",
"license": "MIT",
"dependencies": {
"@ionic/core": "^6.4.3",
"ionicons": "^6.0.2"
"@ionic/core": "^6.5.0",
"ionicons": "^6.1.1"
},
"devDependencies": {
"@babel/types": "^7.18.4",
@ -59,12 +59,12 @@
}
},
"node_modules/@ionic/core": {
"version": "6.4.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.4.3.tgz",
"integrity": "sha512-CBtDO2kbFzwB3UcmOsp6hizK2Wm/FuhfQhvqPz4D8cv2TotNHZ1oOvF224g6dw8Djw+v5baebDzS1h2ckYx+kw==",
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.5.0.tgz",
"integrity": "sha512-vefrnd1WYZJnjSXwsY1sn3HJpBDKPGnwtO2US55Qrjz0d9HyUwocHgVvkvLAAKZG+LGErJbVeV8aTmdYEydRgg==",
"dependencies": {
"@stencil/core": "^2.18.0",
"ionicons": "^6.0.4",
"ionicons": "^6.1.1",
"tslib": "^2.1.0"
}
},
@ -421,9 +421,9 @@
"dev": true
},
"node_modules/ionicons": {
"version": "6.0.4",
"resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.0.4.tgz",
"integrity": "sha512-uDNOkBo0OVYV+kIhb51g9mb7r3Z0b+78GPZQBsjXuaetNmrB/mNTqN/uFtO+vxL/rQySKjzk8qeKJI5NWL9Ueg==",
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.1.tgz",
"integrity": "sha512-Qe6mx25DFNwA9UL1rhewI5StI3uD4+BqB2KdvLjyWhtvoUXwyAsmfHLZuDANAHQowIKtTt6BZCt5/g5NIQ635Q==",
"dependencies": {
"@stencil/core": "^2.18.0"
}
@ -768,12 +768,12 @@
}
},
"@ionic/core": {
"version": "6.4.3",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.4.3.tgz",
"integrity": "sha512-CBtDO2kbFzwB3UcmOsp6hizK2Wm/FuhfQhvqPz4D8cv2TotNHZ1oOvF224g6dw8Djw+v5baebDzS1h2ckYx+kw==",
"version": "6.5.0",
"resolved": "https://registry.npmjs.org/@ionic/core/-/core-6.5.0.tgz",
"integrity": "sha512-vefrnd1WYZJnjSXwsY1sn3HJpBDKPGnwtO2US55Qrjz0d9HyUwocHgVvkvLAAKZG+LGErJbVeV8aTmdYEydRgg==",
"requires": {
"@stencil/core": "^2.18.0",
"ionicons": "^6.0.4",
"ionicons": "^6.1.1",
"tslib": "^2.1.0"
},
"dependencies": {
@ -1095,9 +1095,9 @@
"dev": true
},
"ionicons": {
"version": "6.0.4",
"resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.0.4.tgz",
"integrity": "sha512-uDNOkBo0OVYV+kIhb51g9mb7r3Z0b+78GPZQBsjXuaetNmrB/mNTqN/uFtO+vxL/rQySKjzk8qeKJI5NWL9Ueg==",
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/ionicons/-/ionicons-6.1.1.tgz",
"integrity": "sha512-Qe6mx25DFNwA9UL1rhewI5StI3uD4+BqB2KdvLjyWhtvoUXwyAsmfHLZuDANAHQowIKtTt6BZCt5/g5NIQ635Q==",
"requires": {
"@stencil/core": "^2.18.0"
},

View File

@ -1,6 +1,6 @@
{
"name": "@ionic/vue",
"version": "6.4.3",
"version": "6.5.0",
"description": "Vue specific wrapper for @ionic/core",
"scripts": {
"lint": "echo add linter",
@ -60,8 +60,8 @@
"vue-router": "^4.0.16"
},
"dependencies": {
"@ionic/core": "^6.4.3",
"ionicons": "^6.0.2"
"@ionic/core": "^6.5.0",
"ionicons": "^6.1.1"
},
"vetur": {
"tags": "dist/vetur/tags.json",

View File

@ -4,6 +4,7 @@ import { defineCustomElement } from '@ionic/core/components/ion-back-button.js';
export const IonBackButton = /*@__PURE__*/ defineComponent((_, { attrs, slots }) => {
defineCustomElement();
// TODO(FW-2969): type
const ionRouter: any = inject('navManager');
const onClick = () => {

View File

@ -16,6 +16,8 @@ import { defineCustomElement } from '@ionic/core/components/ion-router-outlet.js
import { matchedRouteKey, routeLocationKey, useRoute } from 'vue-router';
import { fireLifecycle, generateId, getConfig } from '../utils';
// TODO(FW-2969): types
const isViewVisible = (enteringEl: HTMLElement) => {
return !enteringEl.classList.contains('ion-page-hidden') && !enteringEl.classList.contains('ion-page-invisible');
}

View File

@ -1,6 +1,8 @@
import { h, defineComponent, getCurrentInstance, inject, VNode } from 'vue';
import { defineCustomElement } from '@ionic/core/components/ion-tab-bar.js';
// TODO(FW-2969): types
interface TabState {
activeTab?: string;
tabs: { [k: string]: Tab };

View File

@ -17,6 +17,7 @@ export const IonTabButton = /*@__PURE__*/ defineComponent({
setup(props, { slots }) {
defineCustomElement();
// TODO(FW-2969): type
const ionRouter: any = inject('navManager');
const onClick = (ev: Event) => {
if (ev.cancelable) {

View File

@ -3,6 +3,8 @@ import { h, defineComponent, VNode } from 'vue';
const WILL_CHANGE = 'ionTabsWillChange';
const DID_CHANGE = 'ionTabsDidChange';
// TODO(FW-2969): types
export const IonTabs = /*@__PURE__*/ defineComponent({
name: 'IonTabs',
emits: [WILL_CHANGE, DID_CHANGE],

View File

@ -18,6 +18,8 @@ import { defineCustomElement as defineIonToastCustomElement } from '@ionic/core/
import { defineCustomElement as defineIonModalCustomElement } from '@ionic/core/components/ion-modal.js'
import { defineCustomElement as defineIonPopoverCustomElement } from '@ionic/core/components/ion-popover.js'
// TODO(FW-2969): types
/**
* Wrap the controllers export from @ionic/core
* register the underlying Web Component and

View File

@ -5,6 +5,7 @@ import { addTeleportedUserComponent, removeTeleportedUserComponent } from './com
export const VueDelegate = (addFn = addTeleportedUserComponent, removeFn = removeTeleportedUserComponent): FrameworkDelegate => {
let Component: VNode | undefined;
// TODO(FW-2969): types
const attachViewToDom = (parentElement: HTMLElement, component: any, componentProps: any = {}, classes?: string[]) => {
/**
* Ionic Framework passes in modal and popover element

View File

@ -1,6 +1,8 @@
import { App, Plugin } from 'vue';
import { IonicConfig, initialize } from '@ionic/core/components';
// TODO(FW-2969): types
/**
* We need to make sure that the web component fires an event
* that will not conflict with the user's @ionChange binding,

View File

@ -3,6 +3,8 @@ import { Config as CoreConfig, LIFECYCLE_DID_ENTER, LIFECYCLE_DID_LEAVE, LIFECYC
type LIFECYCLE_EVENTS = typeof LIFECYCLE_WILL_ENTER | typeof LIFECYCLE_DID_ENTER | typeof LIFECYCLE_WILL_LEAVE | typeof LIFECYCLE_DID_LEAVE;
// TODO(FW-2969): types
export enum LifecycleHooks {
WillEnter = 'onIonViewWillEnter',
DidEnter = 'onIonViewDidEnter',

View File

@ -1,5 +1,7 @@
import { defineComponent, h, ref, VNode, onMounted } from 'vue';
// TODO(FW-2969): types
export interface OverlayProps {
isOpen?: boolean;
}