@vaadin/tooltip 24.3.0-alpha6 → 24.3.0-alpha7
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 +8 -8
- package/src/vaadin-tooltip-mixin.d.ts +0 -18
- package/src/vaadin-tooltip.d.ts +19 -1
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/tooltip",
|
|
3
|
-
"version": "24.3.0-
|
|
3
|
+
"version": "24.3.0-alpha7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/a11y-base": "24.3.0-
|
|
43
|
-
"@vaadin/component-base": "24.3.0-
|
|
44
|
-
"@vaadin/overlay": "24.3.0-
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "24.3.0-
|
|
46
|
-
"@vaadin/vaadin-material-styles": "24.3.0-
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "24.3.0-
|
|
42
|
+
"@vaadin/a11y-base": "24.3.0-alpha7",
|
|
43
|
+
"@vaadin/component-base": "24.3.0-alpha7",
|
|
44
|
+
"@vaadin/overlay": "24.3.0-alpha7",
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "24.3.0-alpha7",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "24.3.0-alpha7",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "24.3.0-alpha7"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"web-types.json",
|
|
56
56
|
"web-types.lit.json"
|
|
57
57
|
],
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "cf40acccb9e061debdf4d38b4149d6f2c50f8e10"
|
|
59
59
|
}
|
|
@@ -28,24 +28,6 @@ export declare function TooltipMixin<T extends Constructor<HTMLElement>>(
|
|
|
28
28
|
): Constructor<OverlayClassMixinClass> & Constructor<TooltipMixinClass> & T;
|
|
29
29
|
|
|
30
30
|
export declare class TooltipMixinClass {
|
|
31
|
-
/**
|
|
32
|
-
* Sets the default focus delay to be used by all tooltip instances,
|
|
33
|
-
* except for those that have focus delay configured using property.
|
|
34
|
-
*/
|
|
35
|
-
static setDefaultFocusDelay(focusDelay: number): void;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Sets the default hide delay to be used by all tooltip instances,
|
|
39
|
-
* except for those that have hide delay configured using property.
|
|
40
|
-
*/
|
|
41
|
-
static setDefaultHideDelay(hideDelay: number): void;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Sets the default hover delay to be used by all tooltip instances,
|
|
45
|
-
* except for those that have hover delay configured using property.
|
|
46
|
-
*/
|
|
47
|
-
static setDefaultHoverDelay(delay: number): void;
|
|
48
|
-
|
|
49
31
|
/**
|
|
50
32
|
* Element used to link with the `aria-describedby`
|
|
51
33
|
* attribute. Supports array of multiple elements.
|
package/src/vaadin-tooltip.d.ts
CHANGED
|
@@ -48,7 +48,25 @@ export { TooltipPosition } from './vaadin-tooltip-mixin.js';
|
|
|
48
48
|
*
|
|
49
49
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
50
50
|
*/
|
|
51
|
-
declare class Tooltip extends TooltipMixin(ThemePropertyMixin(ControllerMixin(ElementMixin(HTMLElement)))) {
|
|
51
|
+
declare class Tooltip extends TooltipMixin(ThemePropertyMixin(ControllerMixin(ElementMixin(HTMLElement)))) {
|
|
52
|
+
/**
|
|
53
|
+
* Sets the default focus delay to be used by all tooltip instances,
|
|
54
|
+
* except for those that have focus delay configured using property.
|
|
55
|
+
*/
|
|
56
|
+
static setDefaultFocusDelay(focusDelay: number): void;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Sets the default hide delay to be used by all tooltip instances,
|
|
60
|
+
* except for those that have hide delay configured using property.
|
|
61
|
+
*/
|
|
62
|
+
static setDefaultHideDelay(hideDelay: number): void;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Sets the default hover delay to be used by all tooltip instances,
|
|
66
|
+
* except for those that have hover delay configured using property.
|
|
67
|
+
*/
|
|
68
|
+
static setDefaultHoverDelay(delay: number): void;
|
|
69
|
+
}
|
|
52
70
|
|
|
53
71
|
declare global {
|
|
54
72
|
interface HTMLElementTagNameMap {
|
package/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/tooltip",
|
|
4
|
-
"version": "24.3.0-
|
|
4
|
+
"version": "24.3.0-alpha7",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "vaadin-tooltip",
|
|
11
|
-
"description": "`<vaadin-tooltip>` is a Web Component for creating tooltips.\n\n```html\n<button id=\"confirm\">Confirm</button>\n<vaadin-tooltip text=\"Click to save changes\" for=\"confirm\"></vaadin-tooltip>\n```\n\n### Styling\n\n`<vaadin-tooltip>` uses `<vaadin-tooltip-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.3.0-
|
|
11
|
+
"description": "`<vaadin-tooltip>` is a Web Component for creating tooltips.\n\n```html\n<button id=\"confirm\">Confirm</button>\n<vaadin-tooltip text=\"Click to save changes\" for=\"confirm\"></vaadin-tooltip>\n```\n\n### Styling\n\n`<vaadin-tooltip>` uses `<vaadin-tooltip-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.3.0-alpha7/#/elements/vaadin-overlay) documentation\nfor `<vaadin-tooltip-overlay>` parts.\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|----------------------------------------\n`position` | Reflects the `position` property value.\n\nNote: the `theme` attribute value set on `<vaadin-tooltip>` is\npropagated to the internal `<vaadin-tooltip-overlay>` component.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available on the `<vaadin-tooltip>` element:\n\nCustom CSS property | Description\n---------------------------------|-------------\n`--vaadin-tooltip-offset-top` | Used as an offset when the tooltip is aligned vertically below the target\n`--vaadin-tooltip-offset-bottom` | Used as an offset when the tooltip is aligned vertically above the target\n`--vaadin-tooltip-offset-start` | Used as an offset when the tooltip is aligned horizontally after the target\n`--vaadin-tooltip-offset-end` | Used as an offset when the tooltip is aligned horizontally before the target\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
14
|
"name": "overlay-class",
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/tooltip",
|
|
4
|
-
"version": "24.3.0-
|
|
4
|
+
"version": "24.3.0-alpha7",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"elements": [
|
|
17
17
|
{
|
|
18
18
|
"name": "vaadin-tooltip",
|
|
19
|
-
"description": "`<vaadin-tooltip>` is a Web Component for creating tooltips.\n\n```html\n<button id=\"confirm\">Confirm</button>\n<vaadin-tooltip text=\"Click to save changes\" for=\"confirm\"></vaadin-tooltip>\n```\n\n### Styling\n\n`<vaadin-tooltip>` uses `<vaadin-tooltip-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.3.0-
|
|
19
|
+
"description": "`<vaadin-tooltip>` is a Web Component for creating tooltips.\n\n```html\n<button id=\"confirm\">Confirm</button>\n<vaadin-tooltip text=\"Click to save changes\" for=\"confirm\"></vaadin-tooltip>\n```\n\n### Styling\n\n`<vaadin-tooltip>` uses `<vaadin-tooltip-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.3.0-alpha7/#/elements/vaadin-overlay) documentation\nfor `<vaadin-tooltip-overlay>` parts.\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|----------------------------------------\n`position` | Reflects the `position` property value.\n\nNote: the `theme` attribute value set on `<vaadin-tooltip>` is\npropagated to the internal `<vaadin-tooltip-overlay>` component.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available on the `<vaadin-tooltip>` element:\n\nCustom CSS property | Description\n---------------------------------|-------------\n`--vaadin-tooltip-offset-top` | Used as an offset when the tooltip is aligned vertically below the target\n`--vaadin-tooltip-offset-bottom` | Used as an offset when the tooltip is aligned vertically above the target\n`--vaadin-tooltip-offset-start` | Used as an offset when the tooltip is aligned horizontally after the target\n`--vaadin-tooltip-offset-end` | Used as an offset when the tooltip is aligned horizontally before the target\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|