3 Commits

Author SHA1 Message Date
f5fb681802 v7.0.1 2026-05-20 10:17:00 +04:00
39acbac0f1 Исправление работы анимации 2026-05-20 10:16:13 +04:00
70991f6769 Update Yarn 2026-05-19 23:57:25 +04:00
6 changed files with 947 additions and 949 deletions

940
.yarn/releases/yarn-4.14.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,3 @@
compressionLevel: mixed
enableGlobalCache: false
yarnPath: .yarn/releases/yarn-4.9.4.cjs
yarnPath: .yarn/releases/yarn-4.14.1.cjs

View File

@@ -1,3 +1,7 @@
## v7.0.1
- Исправление работы анимации
## v7.0.0
- Изменено значение по умолчанию для параметра `trigger`

View File

@@ -312,7 +312,6 @@ export const createTooltip = ($el, content, options) => {
}
try {
$el._tooltip._currentAnimation?.cancel();
const animation = $el._tooltip.$tooltip.querySelector('.tooltip__root').animate(options.animation[0], {
duration: immediately ? 0 : options.duration[0],
easing: options.easing[0],
@@ -345,7 +344,6 @@ export const createTooltip = ($el, content, options) => {
document.body.removeEventListener('click', $el._tooltip.hideOnClickListener);
try {
$el._tooltip._currentAnimation?.cancel();
const animation = $el._tooltip.$tooltip.querySelector('.tooltip__root').animate(options.animation[1], {
duration: immediately ? 0 : options.duration[1],
easing: options.easing[1],

View File

@@ -1,8 +1,8 @@
{
"name": "@advdominion/tooltip",
"version": "7.0.0",
"version": "7.0.1",
"type": "module",
"packageManager": "yarn@4.9.4",
"packageManager": "yarn@4.14.1",
"main": "index.js",
"repository": {
"type": "git",