@vaadin/popover
Advanced tools
Comparing version 24.5.0-alpha8 to 24.5.0-alpha9
{ | ||
"name": "@vaadin/popover", | ||
"version": "24.5.0-alpha8", | ||
"version": "24.5.0-alpha9", | ||
"publishConfig": { | ||
@@ -40,13 +40,13 @@ "access": "public" | ||
"@open-wc/dedupe-mixin": "^1.3.0", | ||
"@vaadin/a11y-base": "24.5.0-alpha8", | ||
"@vaadin/component-base": "24.5.0-alpha8", | ||
"@vaadin/lit-renderer": "24.5.0-alpha8", | ||
"@vaadin/overlay": "24.5.0-alpha8", | ||
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha8", | ||
"@vaadin/vaadin-material-styles": "24.5.0-alpha8", | ||
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha8", | ||
"@vaadin/a11y-base": "24.5.0-alpha9", | ||
"@vaadin/component-base": "24.5.0-alpha9", | ||
"@vaadin/lit-renderer": "24.5.0-alpha9", | ||
"@vaadin/overlay": "24.5.0-alpha9", | ||
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha9", | ||
"@vaadin/vaadin-material-styles": "24.5.0-alpha9", | ||
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha9", | ||
"lit": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@vaadin/chai-plugins": "24.5.0-alpha8", | ||
"@vaadin/chai-plugins": "24.5.0-alpha9", | ||
"@vaadin/testing-helpers": "^1.0.0", | ||
@@ -59,3 +59,3 @@ "sinon": "^18.0.0" | ||
], | ||
"gitHead": "1e227aaa55df3f5dae3d477b9afb5fce4f5ece33" | ||
"gitHead": "804744762f3bec0a2247c4bbcbbb204dbcd78bc0" | ||
} |
@@ -46,3 +46,3 @@ # @vaadin/popover | ||
Read the [contributing guide](https://vaadin.com/docs/latest/contributing/overview) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components. | ||
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components. | ||
@@ -49,0 +49,0 @@ ## License |
@@ -81,2 +81,20 @@ /** | ||
/** | ||
* Sets the default focus delay to be used by all popover instances, | ||
* except for those that have focus delay configured using property. | ||
*/ | ||
static setDefaultFocusDelay(focusDelay: number): void; | ||
/** | ||
* Sets the default hide delay to be used by all popover instances, | ||
* except for those that have hide delay configured using property. | ||
*/ | ||
static setDefaultHideDelay(hideDelay: number): void; | ||
/** | ||
* Sets the default hover delay to be used by all popover instances, | ||
* except for those that have hover delay configured using property. | ||
*/ | ||
static setDefaultHoverDelay(delay: number): void; | ||
/** | ||
* String used to label the overlay to screen reader users. | ||
@@ -118,2 +136,5 @@ * | ||
* on focus when the corresponding trigger is used. | ||
* | ||
* When not specified, the global default (500ms) is used. | ||
* | ||
* @attr {number} focus-delay | ||
@@ -127,2 +148,5 @@ */ | ||
* On blur, the popover is closed immediately. | ||
* | ||
* When not specified, the global default (500ms) is used. | ||
* | ||
* @attr {number} hide-delay | ||
@@ -135,2 +159,5 @@ */ | ||
* on hover when the corresponding trigger is used. | ||
* | ||
* When not specified, the global default (500ms) is used. | ||
* | ||
* @attr {number} hover-delay | ||
@@ -137,0 +164,0 @@ */ |
@@ -7,3 +7,3 @@ /** | ||
import './vaadin-popover-overlay.js'; | ||
import { html, LitElement } from 'lit'; | ||
import { css, html, LitElement } from 'lit'; | ||
import { ifDefined } from 'lit/directives/if-defined.js'; | ||
@@ -26,2 +26,8 @@ import { | ||
const DEFAULT_DELAY = 500; | ||
let defaultFocusDelay = DEFAULT_DELAY; | ||
let defaultHoverDelay = DEFAULT_DELAY; | ||
let defaultHideDelay = DEFAULT_DELAY; | ||
/** | ||
@@ -45,3 +51,4 @@ * Controller for handling popover opened state. | ||
get __focusDelay() { | ||
return this.host.focusDelay || 0; | ||
const popover = this.host; | ||
return popover.focusDelay != null && popover.focusDelay > 0 ? popover.focusDelay : defaultFocusDelay; | ||
} | ||
@@ -51,3 +58,4 @@ | ||
get __hoverDelay() { | ||
return this.host.hoverDelay || 0; | ||
const popover = this.host; | ||
return popover.hoverDelay != null && popover.hoverDelay > 0 ? popover.hoverDelay : defaultHoverDelay; | ||
} | ||
@@ -57,3 +65,4 @@ | ||
get __hideDelay() { | ||
return this.host.hideDelay || 0; | ||
const popover = this.host; | ||
return popover.hideDelay != null && popover.hideDelay > 0 ? popover.hideDelay : defaultHideDelay; | ||
} | ||
@@ -186,3 +195,3 @@ | ||
* @mixes ElementMixin | ||
* @mixes ElementMixin | ||
* @mixes OverlayClassMixin | ||
* @mixes PopoverPositionMixin | ||
@@ -199,2 +208,10 @@ * @mixes PopoverTargetMixin | ||
static get styles() { | ||
return css` | ||
:host { | ||
display: none !important; | ||
} | ||
`; | ||
} | ||
static get properties() { | ||
@@ -249,2 +266,5 @@ return { | ||
* on focus when the corresponding trigger is used. | ||
* | ||
* When not specified, the global default (500ms) is used. | ||
* | ||
* @attr {number} focus-delay | ||
@@ -260,2 +280,5 @@ */ | ||
* On blur, the popover is closed immediately. | ||
* | ||
* When not specified, the global default (500ms) is used. | ||
* | ||
* @attr {number} hide-delay | ||
@@ -270,2 +293,5 @@ */ | ||
* on hover when the corresponding trigger is used. | ||
* | ||
* When not specified, the global default (500ms) is used. | ||
* | ||
* @attr {number} hover-delay | ||
@@ -398,2 +424,32 @@ */ | ||
/** | ||
* Sets the default focus delay to be used by all popover instances, | ||
* except for those that have focus delay configured using property. | ||
* | ||
* @param {number} delay | ||
*/ | ||
static setDefaultFocusDelay(focusDelay) { | ||
defaultFocusDelay = focusDelay != null && focusDelay >= 0 ? focusDelay : DEFAULT_DELAY; | ||
} | ||
/** | ||
* Sets the default hide delay to be used by all popover instances, | ||
* except for those that have hide delay configured using property. | ||
* | ||
* @param {number} hideDelay | ||
*/ | ||
static setDefaultHideDelay(hideDelay) { | ||
defaultHideDelay = hideDelay != null && hideDelay >= 0 ? hideDelay : DEFAULT_DELAY; | ||
} | ||
/** | ||
* Sets the default hover delay to be used by all popover instances, | ||
* except for those that have hover delay configured using property. | ||
* | ||
* @param {number} delay | ||
*/ | ||
static setDefaultHoverDelay(hoverDelay) { | ||
defaultHoverDelay = hoverDelay != null && hoverDelay >= 0 ? hoverDelay : DEFAULT_DELAY; | ||
} | ||
constructor() { | ||
@@ -438,2 +494,3 @@ super(); | ||
.verticalAlign="${this.__computeVerticalAlign(effectivePosition)}" | ||
@mousedown="${this.__onOverlayMouseDown}" | ||
@mouseenter="${this.__onOverlayMouseEnter}" | ||
@@ -654,2 +711,8 @@ @mouseleave="${this.__onOverlayMouseLeave}" | ||
// Prevent restoring focus after target blur on Shift + Tab | ||
if (this.target && isElementFocused(this.target) && this.__shouldRestoreFocus) { | ||
this.__shouldRestoreFocus = false; | ||
return; | ||
} | ||
// Move focus back to the target on overlay content Shift + Tab | ||
@@ -708,6 +771,13 @@ if (this.target && isElementFocused(overlayPart)) { | ||
__onTargetFocusOut(event) { | ||
if (this._overlayElement.contains(event.relatedTarget)) { | ||
// Do not close the popover on overlay focusout if it's not the last one. | ||
// This covers the case when focus moves to the nested popover opened | ||
// without focusing parent popover overlay (e.g. using hover trigger). | ||
if (!isLastOverlay(this._overlayElement)) { | ||
return; | ||
} | ||
if ((this.__hasTrigger('focus') && this.__mouseDownInside) || this._overlayElement.contains(event.relatedTarget)) { | ||
return; | ||
} | ||
this.__handleFocusout(); | ||
@@ -731,2 +801,8 @@ } | ||
__onTargetMouseLeave(event) { | ||
// Do not close the popover on target focusout if the overlay is not the last one. | ||
// This happens e.g. when opening the nested popover that uses non-modal overlay. | ||
if (!isLastOverlay(this._overlayElement)) { | ||
return; | ||
} | ||
if (this._overlayElement.contains(event.relatedTarget)) { | ||
@@ -752,6 +828,18 @@ return; | ||
__onOverlayFocusOut(event) { | ||
if (event.relatedTarget === this.target || this._overlayElement.contains(event.relatedTarget)) { | ||
// Do not close the popover on overlay focusout if it's not the last one. | ||
// This covers the following cases of nested overlay based components: | ||
// 1. Moving focus to the nested overlay (e.g. vaadin-select, vaadin-menu-bar) | ||
// 2. Closing not focused nested overlay on outside (e.g. vaadin-combo-box) | ||
if (!isLastOverlay(this._overlayElement)) { | ||
return; | ||
} | ||
if ( | ||
(this.__hasTrigger('focus') && this.__mouseDownInside) || | ||
event.relatedTarget === this.target || | ||
this._overlayElement.contains(event.relatedTarget) | ||
) { | ||
return; | ||
} | ||
this.__handleFocusout(); | ||
@@ -761,2 +849,17 @@ } | ||
/** @private */ | ||
__onOverlayMouseDown() { | ||
if (this.__hasTrigger('focus')) { | ||
this.__mouseDownInside = true; | ||
document.addEventListener( | ||
'mouseup', | ||
() => { | ||
this.__mouseDownInside = false; | ||
}, | ||
{ once: true }, | ||
); | ||
} | ||
} | ||
/** @private */ | ||
__onOverlayMouseEnter() { | ||
@@ -773,2 +876,9 @@ this.__hoverInside = true; | ||
__onOverlayMouseLeave(event) { | ||
// Do not close the popover on overlay focusout if it's not the last one. | ||
// This happens when opening the nested component that uses "modal" overlay | ||
// setting `pointer-events: none` on the body (combo-box, date-picker etc). | ||
if (!isLastOverlay(this._overlayElement)) { | ||
return; | ||
} | ||
if (event.relatedTarget === this.target) { | ||
@@ -775,0 +885,0 @@ return; |
@@ -18,2 +18,6 @@ import '@vaadin/vaadin-lumo-styles/color.js'; | ||
[part='overlay'] { | ||
outline: none; | ||
} | ||
[part='content'] { | ||
@@ -23,2 +27,6 @@ padding: var(--lumo-space-xs) var(--lumo-space-s); | ||
:host([theme~='no-padding']) [part='content'] { | ||
padding: 0; | ||
} | ||
:host([theme~='arrow']) { | ||
@@ -25,0 +33,0 @@ --_vaadin-popover-default-offset: calc(var(--lumo-space-s) + var(--vaadin-popover-arrow-size) / 2); |
@@ -15,2 +15,6 @@ import '@vaadin/vaadin-material-styles/color.js'; | ||
[part='overlay'] { | ||
outline: none; | ||
} | ||
[part='content'] { | ||
@@ -20,2 +24,6 @@ padding: 0.25rem 0.5rem; | ||
:host([theme~='no-padding']) [part='content'] { | ||
padding: 0; | ||
} | ||
:host([theme~='arrow']) { | ||
@@ -22,0 +30,0 @@ --_vaadin-popover-default-offset: calc(0.25rem + var(--vaadin-popover-arrow-size) / 1.25); |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/popover", | ||
"version": "24.5.0-alpha8", | ||
"version": "24.5.0-alpha9", | ||
"description-markup": "markdown", | ||
@@ -11,5 +11,16 @@ "contributions": { | ||
"name": "vaadin-popover", | ||
"description": "`<vaadin-popover>` is a Web Component for creating overlays\nthat are positioned next to specified DOM element (target).\n\nUnlike `<vaadin-tooltip>`, the popover supports rich content\nthat can be provided by using `renderer` function.\n\n### Styling\n\n`<vaadin-popover>` uses `<vaadin-popover-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha8/#/elements/vaadin-overlay) documentation\nfor `<vaadin-popover-overlay>` parts.\n\nIn addition to `<vaadin-overlay>` parts, the following parts are available for styling:\n\nPart name | Description\n-----------------|-------------------------------------------\n`arrow` | Optional arrow pointing to the target when using `theme=\"arrow\"`\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-popover>` is\npropagated to the internal `<vaadin-popover-overlay>` component.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available on the `<vaadin-popover>` element:\n\nCustom CSS property | Description\n---------------------------------|-------------\n`--vaadin-popover-offset-top` | Used as an offset when the popover is aligned vertically below the target\n`--vaadin-popover-offset-bottom` | Used as an offset when the popover is aligned vertically above the target\n`--vaadin-popover-offset-start` | Used as an offset when the popover is aligned horizontally after the target\n`--vaadin-popover-offset-end` | Used as an offset when the popover is aligned horizontally before the target\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"description": "`<vaadin-popover>` is a Web Component for creating overlays\nthat are positioned next to specified DOM element (target).\n\nUnlike `<vaadin-tooltip>`, the popover supports rich content\nthat can be provided by using `renderer` function.\n\n### Styling\n\n`<vaadin-popover>` uses `<vaadin-popover-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha9/#/elements/vaadin-overlay) documentation\nfor `<vaadin-popover-overlay>` parts.\n\nIn addition to `<vaadin-overlay>` parts, the following parts are available for styling:\n\nPart name | Description\n-----------------|-------------------------------------------\n`arrow` | Optional arrow pointing to the target when using `theme=\"arrow\"`\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-popover>` is\npropagated to the internal `<vaadin-popover-overlay>` component.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available on the `<vaadin-popover>` element:\n\nCustom CSS property | Description\n---------------------------------|-------------\n`--vaadin-popover-offset-top` | Used as an offset when the popover is aligned vertically below the target\n`--vaadin-popover-offset-bottom` | Used as an offset when the popover is aligned vertically above the target\n`--vaadin-popover-offset-start` | Used as an offset when the popover is aligned horizontally after the target\n`--vaadin-popover-offset-end` | Used as an offset when the popover is aligned horizontally before the target\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"attributes": [ | ||
{ | ||
"name": "overlay-class", | ||
"description": "A space-delimited list of CSS class names to set on the overlay element.\nThis property does not affect other CSS class names set manually via JS.\n\nNote, if the CSS class name was set with this property, clearing it will\nremove it from the overlay, even if the same class name was also added\nmanually, e.g. by using `classList.add()` in the `renderer` function.", | ||
"value": { | ||
"type": [ | ||
"string", | ||
"null", | ||
"undefined" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "position", | ||
@@ -93,3 +104,3 @@ "description": "Position of the overlay with respect to the target.\nSupported values: `top-start`, `top`, `top-end`,\n`bottom-start`, `bottom`, `bottom-end`, `start-top`,\n`start`, `start-bottom`, `end-top`, `end`, `end-bottom`.", | ||
"name": "focus-delay", | ||
"description": "The delay in milliseconds before the popover is opened\non focus when the corresponding trigger is used.", | ||
"description": "The delay in milliseconds before the popover is opened\non focus when the corresponding trigger is used.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -105,3 +116,3 @@ "type": [ | ||
"name": "hide-delay", | ||
"description": "The delay in milliseconds before the popover is closed\non losing hover, when the corresponding trigger is used.\nOn blur, the popover is closed immediately.", | ||
"description": "The delay in milliseconds before the popover is closed\non losing hover, when the corresponding trigger is used.\nOn blur, the popover is closed immediately.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -117,3 +128,3 @@ "type": [ | ||
"name": "hover-delay", | ||
"description": "The delay in milliseconds before the popover is opened\non hover when the corresponding trigger is used.", | ||
"description": "The delay in milliseconds before the popover is opened\non hover when the corresponding trigger is used.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -208,2 +219,13 @@ "type": [ | ||
{ | ||
"name": "overlayClass", | ||
"description": "A space-delimited list of CSS class names to set on the overlay element.\nThis property does not affect other CSS class names set manually via JS.\n\nNote, if the CSS class name was set with this property, clearing it will\nremove it from the overlay, even if the same class name was also added\nmanually, e.g. by using `classList.add()` in the `renderer` function.", | ||
"value": { | ||
"type": [ | ||
"string", | ||
"null", | ||
"undefined" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "position", | ||
@@ -298,3 +320,3 @@ "description": "Position of the overlay with respect to the target.\nSupported values: `top-start`, `top`, `top-end`,\n`bottom-start`, `bottom`, `bottom-end`, `start-top`,\n`start`, `start-bottom`, `end-top`, `end`, `end-bottom`.", | ||
"name": "focusDelay", | ||
"description": "The delay in milliseconds before the popover is opened\non focus when the corresponding trigger is used.", | ||
"description": "The delay in milliseconds before the popover is opened\non focus when the corresponding trigger is used.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -310,3 +332,3 @@ "type": [ | ||
"name": "hideDelay", | ||
"description": "The delay in milliseconds before the popover is closed\non losing hover, when the corresponding trigger is used.\nOn blur, the popover is closed immediately.", | ||
"description": "The delay in milliseconds before the popover is closed\non losing hover, when the corresponding trigger is used.\nOn blur, the popover is closed immediately.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -322,3 +344,3 @@ "type": [ | ||
"name": "hoverDelay", | ||
"description": "The delay in milliseconds before the popover is opened\non hover when the corresponding trigger is used.", | ||
"description": "The delay in milliseconds before the popover is opened\non hover when the corresponding trigger is used.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -325,0 +347,0 @@ "type": [ |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/popover", | ||
"version": "24.5.0-alpha8", | ||
"version": "24.5.0-alpha9", | ||
"description-markup": "markdown", | ||
@@ -19,3 +19,3 @@ "framework": "lit", | ||
"name": "vaadin-popover", | ||
"description": "`<vaadin-popover>` is a Web Component for creating overlays\nthat are positioned next to specified DOM element (target).\n\nUnlike `<vaadin-tooltip>`, the popover supports rich content\nthat can be provided by using `renderer` function.\n\n### Styling\n\n`<vaadin-popover>` uses `<vaadin-popover-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha8/#/elements/vaadin-overlay) documentation\nfor `<vaadin-popover-overlay>` parts.\n\nIn addition to `<vaadin-overlay>` parts, the following parts are available for styling:\n\nPart name | Description\n-----------------|-------------------------------------------\n`arrow` | Optional arrow pointing to the target when using `theme=\"arrow\"`\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-popover>` is\npropagated to the internal `<vaadin-popover-overlay>` component.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available on the `<vaadin-popover>` element:\n\nCustom CSS property | Description\n---------------------------------|-------------\n`--vaadin-popover-offset-top` | Used as an offset when the popover is aligned vertically below the target\n`--vaadin-popover-offset-bottom` | Used as an offset when the popover is aligned vertically above the target\n`--vaadin-popover-offset-start` | Used as an offset when the popover is aligned horizontally after the target\n`--vaadin-popover-offset-end` | Used as an offset when the popover is aligned horizontally before the target\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"description": "`<vaadin-popover>` is a Web Component for creating overlays\nthat are positioned next to specified DOM element (target).\n\nUnlike `<vaadin-tooltip>`, the popover supports rich content\nthat can be provided by using `renderer` function.\n\n### Styling\n\n`<vaadin-popover>` uses `<vaadin-popover-overlay>` internal\nthemable component as the actual visible overlay.\n\nSee [`<vaadin-overlay>`](https://cdn.vaadin.com/vaadin-web-components/24.5.0-alpha9/#/elements/vaadin-overlay) documentation\nfor `<vaadin-popover-overlay>` parts.\n\nIn addition to `<vaadin-overlay>` parts, the following parts are available for styling:\n\nPart name | Description\n-----------------|-------------------------------------------\n`arrow` | Optional arrow pointing to the target when using `theme=\"arrow\"`\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-popover>` is\npropagated to the internal `<vaadin-popover-overlay>` component.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available on the `<vaadin-popover>` element:\n\nCustom CSS property | Description\n---------------------------------|-------------\n`--vaadin-popover-offset-top` | Used as an offset when the popover is aligned vertically below the target\n`--vaadin-popover-offset-bottom` | Used as an offset when the popover is aligned vertically above the target\n`--vaadin-popover-offset-start` | Used as an offset when the popover is aligned horizontally after the target\n`--vaadin-popover-offset-end` | Used as an offset when the popover is aligned horizontally before the target\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.", | ||
"extension": true, | ||
@@ -66,2 +66,9 @@ "attributes": [ | ||
{ | ||
"name": ".overlayClass", | ||
"description": "A space-delimited list of CSS class names to set on the overlay element.\nThis property does not affect other CSS class names set manually via JS.\n\nNote, if the CSS class name was set with this property, clearing it will\nremove it from the overlay, even if the same class name was also added\nmanually, e.g. by using `classList.add()` in the `renderer` function.", | ||
"value": { | ||
"kind": "expression" | ||
} | ||
}, | ||
{ | ||
"name": ".position", | ||
@@ -117,3 +124,3 @@ "description": "Position of the overlay with respect to the target.\nSupported values: `top-start`, `top`, `top-end`,\n`bottom-start`, `bottom`, `bottom-end`, `start-top`,\n`start`, `start-bottom`, `end-top`, `end`, `end-bottom`.", | ||
"name": ".focusDelay", | ||
"description": "The delay in milliseconds before the popover is opened\non focus when the corresponding trigger is used.", | ||
"description": "The delay in milliseconds before the popover is opened\non focus when the corresponding trigger is used.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -125,3 +132,3 @@ "kind": "expression" | ||
"name": ".hideDelay", | ||
"description": "The delay in milliseconds before the popover is closed\non losing hover, when the corresponding trigger is used.\nOn blur, the popover is closed immediately.", | ||
"description": "The delay in milliseconds before the popover is closed\non losing hover, when the corresponding trigger is used.\nOn blur, the popover is closed immediately.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -133,3 +140,3 @@ "kind": "expression" | ||
"name": ".hoverDelay", | ||
"description": "The delay in milliseconds before the popover is opened\non hover when the corresponding trigger is used.", | ||
"description": "The delay in milliseconds before the popover is opened\non hover when the corresponding trigger is used.\n\nWhen not specified, the global default (500ms) is used.", | ||
"value": { | ||
@@ -136,0 +143,0 @@ "kind": "expression" |
108041
2464
+ Added@vaadin/a11y-base@24.5.0-alpha9(transitive)
+ Added@vaadin/component-base@24.5.0-alpha9(transitive)
+ Added@vaadin/icon@24.5.0-alpha9(transitive)
+ Added@vaadin/lit-renderer@24.5.0-alpha9(transitive)
+ Added@vaadin/overlay@24.5.0-alpha9(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.5.0-alpha9(transitive)
+ Added@vaadin/vaadin-material-styles@24.5.0-alpha9(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.5.0-alpha9(transitive)
- Removed@vaadin/a11y-base@24.5.0-alpha8(transitive)
- Removed@vaadin/component-base@24.5.0-alpha8(transitive)
- Removed@vaadin/icon@24.5.0-alpha8(transitive)
- Removed@vaadin/lit-renderer@24.5.0-alpha8(transitive)
- Removed@vaadin/overlay@24.5.0-alpha8(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.5.0-alpha8(transitive)
- Removed@vaadin/vaadin-material-styles@24.5.0-alpha8(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.5.0-alpha8(transitive)