From becf8009d7380e5e99608d77cdb2c7f6ffd54603 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 31 May 2023 14:39:28 -0400
Subject: [PATCH] chore(deps): Bump @stencil/core from 3.2.2 to 3.3.0 in /core
(#27539)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [@stencil/core](https://github.com/ionic-team/stencil) from 3.2.2
to 3.3.0.
Release notes
Sourced from @stencil/core's
releases.
🍭 3.3.0 (2023-05-23)
Bug Fixes
Features
Changelog
Sourced from @stencil/core's
changelog.
🍭 3.3.0
(2023-05-23)
Bug Fixes
Features
Commits
7515c4b
🍭 v3.3.0
b34a88d
chore(karma): update package-lock format (#4417)
15e4743
chore(readme): add discord to readme (#4408)
9a02075
chore(deps): update dependency webpack to v5.83.1 (#4413)
db39b03
chore(deps): update dependency npm to v9.6.7 (#4410)
a422f93
chore(deps): update dependency eslint to v8.41.0 (#4416)
a690e48
chore(deps): update dependency eslint-plugin-jsdoc to v44.2.4 (#4409)
a0bd934
chore(deps): update typescript-eslint to v5.59.6 (#4411)
bb329c9
chore(deps): update dependency @types/node to v20.2.1 (#4412)
0673f72
chore(snc): remove in-memory-fs.spec snc violations (#4401)
- Additional commits viewable in compare
view
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
---------
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Liam DeBeasi
---
core/package-lock.json | 14 +++++------
core/package.json | 2 +-
.../utils/animation/animation-interface.ts | 18 ++++++++++++++
core/src/utils/animation/animation.ts | 24 ++++---------------
4 files changed, 31 insertions(+), 27 deletions(-)
diff --git a/core/package-lock.json b/core/package-lock.json
index affab7a005..5c2daaa060 100644
--- a/core/package-lock.json
+++ b/core/package-lock.json
@@ -9,7 +9,7 @@
"version": "7.0.10",
"license": "MIT",
"dependencies": {
- "@stencil/core": "^3.2.2",
+ "@stencil/core": "^3.3.0",
"ionicons": "^7.1.0",
"tslib": "^2.1.0"
},
@@ -1594,9 +1594,9 @@
}
},
"node_modules/@stencil/core": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-3.2.2.tgz",
- "integrity": "sha512-wXb9cVWL0T3cTwYLveekdTFCRGx6+9hpVDEXna+N8K8OPoW6xtFAHRLv+LjOM7k59PkA8MG3IinAfV7Y+xa0Hw==",
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-3.3.0.tgz",
+ "integrity": "sha512-+3hqJ8RmUvxz8FgvMP9lxYJdjb4EnZrkdo6ln5fUqGju62ORS5/Ch9m6OAIjlEn6CbDb5Uf1OdeMjO87DJwIAA==",
"bin": {
"stencil": "bin/stencil"
},
@@ -11467,9 +11467,9 @@
"requires": {}
},
"@stencil/core": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/@stencil/core/-/core-3.2.2.tgz",
- "integrity": "sha512-wXb9cVWL0T3cTwYLveekdTFCRGx6+9hpVDEXna+N8K8OPoW6xtFAHRLv+LjOM7k59PkA8MG3IinAfV7Y+xa0Hw=="
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/@stencil/core/-/core-3.3.0.tgz",
+ "integrity": "sha512-+3hqJ8RmUvxz8FgvMP9lxYJdjb4EnZrkdo6ln5fUqGju62ORS5/Ch9m6OAIjlEn6CbDb5Uf1OdeMjO87DJwIAA=="
},
"@stencil/react-output-target": {
"version": "0.5.0",
diff --git a/core/package.json b/core/package.json
index be7a959e9a..3014518410 100644
--- a/core/package.json
+++ b/core/package.json
@@ -31,7 +31,7 @@
"loader/"
],
"dependencies": {
- "@stencil/core": "^3.2.2",
+ "@stencil/core": "^3.3.0",
"ionicons": "^7.1.0",
"tslib": "^2.1.0"
},
diff --git a/core/src/utils/animation/animation-interface.ts b/core/src/utils/animation/animation-interface.ts
index 7a65f52157..b28b9fdd3d 100644
--- a/core/src/utils/animation/animation-interface.ts
+++ b/core/src/utils/animation/animation-interface.ts
@@ -220,6 +220,24 @@ export interface Animation {
* Returns `false` otherwise.
*/
isRunning(): boolean;
+
+ /**
+ * Sets the parent animation.
+ * @internal
+ */
+ parent(animation: Animation): Animation;
+
+ /**
+ * Updates any existing animations.
+ * @internal
+ */
+ update(deep: boolean, toggleAnimationName: boolean, step?: number): Animation;
+
+ /**
+ * Forcibly finishes the animation.
+ * @internal
+ */
+ animationFinish(): void;
}
export type AnimationLifecycle = (currentStep: 0 | 1, animation: Animation) => void;
diff --git a/core/src/utils/animation/animation.ts b/core/src/utils/animation/animation.ts
index df3eeece63..8d7b358bed 100644
--- a/core/src/utils/animation/animation.ts
+++ b/core/src/utils/animation/animation.ts
@@ -30,20 +30,6 @@ interface AnimationOnFinishCallback {
o?: AnimationCallbackOptions;
}
-interface AnimationInternal extends Animation {
- /**
- * Sets the parent animation.
- */
- parent(animation: Animation): Animation;
-
- /**
- * Updates any existing animations.
- */
- update(deep: boolean, toggleAnimationName: boolean, step?: number): Animation;
-
- animationFinish(): void;
-}
-
export const createAnimation = (animationId?: string): Animation => {
let _delay: number | undefined;
let _duration: number | undefined;
@@ -55,7 +41,7 @@ export const createAnimation = (animationId?: string): Animation => {
let beforeAddClasses: string[] = [];
let beforeRemoveClasses: string[] = [];
let initialized = false;
- let parentAnimation: AnimationInternal | undefined;
+ let parentAnimation: Animation | undefined;
let beforeStylesValue: { [property: string]: any } = {};
let afterAddClasses: string[] = [];
let afterRemoveClasses: string[] = [];
@@ -71,14 +57,14 @@ export const createAnimation = (animationId?: string): Animation => {
let finished = false;
let shouldCalculateNumAnimations = true;
let keyframeName: string | undefined;
- let ani: AnimationInternal;
+ let ani: Animation;
let paused = false;
const id: string | undefined = animationId;
const onFinishCallbacks: AnimationOnFinishCallback[] = [];
const onFinishOneTimeCallbacks: AnimationOnFinishCallback[] = [];
const elements: HTMLElement[] = [];
- const childAnimations: AnimationInternal[] = [];
+ const childAnimations: Animation[] = [];
const stylesheets: HTMLElement[] = [];
const _beforeAddReadFunctions: any[] = [];
const _beforeAddWriteFunctions: any[] = [];
@@ -436,7 +422,7 @@ export const createAnimation = (animationId?: string): Animation => {
return ani;
};
- const parent = (animation: AnimationInternal) => {
+ const parent = (animation: Animation) => {
parentAnimation = animation;
return ani;
@@ -458,7 +444,7 @@ export const createAnimation = (animationId?: string): Animation => {
return ani;
};
- const addAnimation = (animationToAdd: AnimationInternal | AnimationInternal[]) => {
+ const addAnimation = (animationToAdd: Animation | Animation[]) => {
if ((animationToAdd as any) != null) {
if (Array.isArray(animationToAdd)) {
for (const animation of animationToAdd) {