@vaadin/tooltip
Advanced tools
Comparing version 24.0.0-alpha6 to 24.0.0-alpha7
{ | ||
"name": "@vaadin/tooltip", | ||
"version": "24.0.0-alpha6", | ||
"version": "24.0.0-alpha7", | ||
"publishConfig": { | ||
@@ -38,7 +38,7 @@ "access": "public" | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "24.0.0-alpha6", | ||
"@vaadin/overlay": "24.0.0-alpha6", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha6", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha6", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha6" | ||
"@vaadin/component-base": "24.0.0-alpha7", | ||
"@vaadin/overlay": "24.0.0-alpha7", | ||
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha7", | ||
"@vaadin/vaadin-material-styles": "24.0.0-alpha7", | ||
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha7" | ||
}, | ||
@@ -54,3 +54,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "0004ac92b6e5f415b5fa949e0582d1d11e527b1f" | ||
"gitHead": "aeb4535336813636736759e0a5de148b26bfc3b6" | ||
} |
@@ -57,2 +57,5 @@ /** | ||
memoizedTemplate.content.querySelector('[part~="overlay"]').removeAttribute('tabindex'); | ||
// Remove whitespace text nodes around the content slot to allow "white-space: pre" | ||
memoizedTemplate.content.querySelector('[part~="content"]').innerHTML = '<slot></slot>'; | ||
} | ||
@@ -59,0 +62,0 @@ |
@@ -14,3 +14,3 @@ /** | ||
const DEFAULT_DELAY = 0; | ||
const DEFAULT_DELAY = 500; | ||
@@ -17,0 +17,0 @@ let defaultFocusDelay = DEFAULT_DELAY; |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/tooltip", | ||
"version": "24.0.0-alpha6", | ||
"version": "24.0.0-alpha7", | ||
"description-markup": "markdown", | ||
@@ -11,3 +11,3 @@ "contributions": { | ||
"name": "vaadin-tooltip", | ||
"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.0.0-alpha6/#/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/custom-theme/styling-components) documentation.", | ||
"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.0.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/custom-theme/styling-components) documentation.", | ||
"attributes": [ | ||
@@ -117,2 +117,40 @@ { | ||
{ | ||
"name": "rootPath", | ||
"description": "", | ||
"value": { | ||
"type": [ | ||
"string" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "importPath", | ||
"description": "", | ||
"value": { | ||
"type": [ | ||
"string" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "root", | ||
"description": "", | ||
"value": { | ||
"type": [ | ||
"StampedTemplate", | ||
"HTMLElement", | ||
"ShadowRoot" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "$", | ||
"description": "", | ||
"value": { | ||
"type": [ | ||
"Object.<string, Element>" | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "context", | ||
@@ -119,0 +157,0 @@ "description": "Object with properties passed to `generator` and\n`shouldShow` functions for generating tooltip text\nor detecting whether to show the tooltip or not.", |
{ | ||
"$schema": "https://json.schemastore.org/web-types", | ||
"name": "@vaadin/tooltip", | ||
"version": "24.0.0-alpha6", | ||
"version": "24.0.0-alpha7", | ||
"description-markup": "markdown", | ||
@@ -19,3 +19,3 @@ "framework": "lit", | ||
"name": "vaadin-tooltip", | ||
"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.0.0-alpha6/#/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/custom-theme/styling-components) documentation.", | ||
"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.0.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/custom-theme/styling-components) documentation.", | ||
"extension": true, | ||
@@ -38,2 +38,30 @@ "attributes": [ | ||
{ | ||
"name": ".rootPath", | ||
"description": "", | ||
"value": { | ||
"kind": "expression" | ||
} | ||
}, | ||
{ | ||
"name": ".importPath", | ||
"description": "", | ||
"value": { | ||
"kind": "expression" | ||
} | ||
}, | ||
{ | ||
"name": ".root", | ||
"description": "", | ||
"value": { | ||
"kind": "expression" | ||
} | ||
}, | ||
{ | ||
"name": ".$", | ||
"description": "", | ||
"value": { | ||
"kind": "expression" | ||
} | ||
}, | ||
{ | ||
"name": ".context", | ||
@@ -40,0 +68,0 @@ "description": "Object with properties passed to `generator` and\n`shouldShow` functions for generating tooltip text\nor detecting whether to show the tooltip or not.", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64559
1416
+ Added@vaadin/component-base@24.0.0-alpha7(transitive)
+ Added@vaadin/icon@24.0.0-alpha7(transitive)
+ Added@vaadin/overlay@24.0.0-alpha7(transitive)
+ Added@vaadin/vaadin-lumo-styles@24.0.0-alpha7(transitive)
+ Added@vaadin/vaadin-material-styles@24.0.0-alpha7(transitive)
+ Added@vaadin/vaadin-themable-mixin@24.0.0-alpha7(transitive)
- Removed@vaadin/component-base@24.0.0-alpha6(transitive)
- Removed@vaadin/icon@24.0.0-alpha6(transitive)
- Removed@vaadin/overlay@24.0.0-alpha6(transitive)
- Removed@vaadin/vaadin-lumo-styles@24.0.0-alpha6(transitive)
- Removed@vaadin/vaadin-material-styles@24.0.0-alpha6(transitive)
- Removed@vaadin/vaadin-themable-mixin@24.0.0-alpha6(transitive)