@vaadin/tooltip 25.0.0-alpha15 → 25.0.0-alpha16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/tooltip",
3
- "version": "25.0.0-alpha15",
3
+ "version": "25.0.0-alpha16",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,23 +34,23 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-alpha15",
38
- "@vaadin/component-base": "25.0.0-alpha15",
39
- "@vaadin/overlay": "25.0.0-alpha15",
40
- "@vaadin/popover": "25.0.0-alpha15",
41
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha15",
37
+ "@vaadin/a11y-base": "25.0.0-alpha16",
38
+ "@vaadin/component-base": "25.0.0-alpha16",
39
+ "@vaadin/overlay": "25.0.0-alpha16",
40
+ "@vaadin/popover": "25.0.0-alpha16",
41
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha16",
42
42
  "lit": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@vaadin/chai-plugins": "25.0.0-alpha15",
46
- "@vaadin/test-runner-commands": "25.0.0-alpha15",
45
+ "@vaadin/chai-plugins": "25.0.0-alpha16",
46
+ "@vaadin/test-runner-commands": "25.0.0-alpha16",
47
47
  "@vaadin/testing-helpers": "^2.0.0",
48
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha15",
48
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha16",
49
49
  "sinon": "^18.0.0"
50
50
  },
51
51
  "web-types": [
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "1ad98437e7600769bf66f870929feefbeef16edf"
55
+ "gitHead": "4b316158a4a4f702f032bc9940fc82f0faa840f4"
56
56
  }
@@ -22,7 +22,7 @@ export declare class TooltipMixinClass {
22
22
  * attribute. Supports array of multiple elements.
23
23
  * When not set, defaults to `target`.
24
24
  */
25
- ariaTarget: HTMLElement | HTMLElement[] | undefined;
25
+ ariaTarget: HTMLElement | HTMLElement[] | null | undefined;
26
26
 
27
27
  /**
28
28
  * Object with properties passed to `generator` and
@@ -675,7 +675,7 @@ export const TooltipMixin = (superClass) =>
675
675
  __computeAriaTarget(ariaTarget, target) {
676
676
  const isElementNode = (el) => el && el.nodeType === Node.ELEMENT_NODE;
677
677
  const isAriaTargetSet = Array.isArray(ariaTarget) ? ariaTarget.some(isElementNode) : ariaTarget;
678
- return isAriaTargetSet ? ariaTarget : target;
678
+ return ariaTarget === null || isAriaTargetSet ? ariaTarget : target;
679
679
  }
680
680
 
681
681
  /** @private */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tooltip",
4
- "version": "25.0.0-alpha15",
4
+ "version": "25.0.0-alpha16",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/tooltip",
4
- "version": "25.0.0-alpha15",
4
+ "version": "25.0.0-alpha16",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {