@vaadin/tooltip 25.0.0-rc1 → 25.0.0

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-rc1",
3
+ "version": "25.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,24 +34,24 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-rc1",
38
- "@vaadin/component-base": "25.0.0-rc1",
39
- "@vaadin/markdown": "25.0.0-rc1",
40
- "@vaadin/overlay": "25.0.0-rc1",
41
- "@vaadin/popover": "25.0.0-rc1",
42
- "@vaadin/vaadin-themable-mixin": "25.0.0-rc1",
37
+ "@vaadin/a11y-base": "~25.0.0",
38
+ "@vaadin/component-base": "~25.0.0",
39
+ "@vaadin/markdown": "~25.0.0",
40
+ "@vaadin/overlay": "~25.0.0",
41
+ "@vaadin/popover": "~25.0.0",
42
+ "@vaadin/vaadin-themable-mixin": "~25.0.0",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/chai-plugins": "25.0.0-rc1",
47
- "@vaadin/test-runner-commands": "25.0.0-rc1",
46
+ "@vaadin/chai-plugins": "~25.0.0",
47
+ "@vaadin/test-runner-commands": "~25.0.0",
48
48
  "@vaadin/testing-helpers": "^2.0.0",
49
- "@vaadin/vaadin-lumo-styles": "25.0.0-rc1",
49
+ "@vaadin/vaadin-lumo-styles": "~25.0.0",
50
50
  "sinon": "^21.0.0"
51
51
  },
52
52
  "web-types": [
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "cea5e86ad18824e5631b63c11150b4d7701869c5"
56
+ "gitHead": "c979f7ca278b6412095176ada230eb07eb4456bf"
57
57
  }
@@ -57,16 +57,25 @@ export interface TooltipEventMap extends HTMLElementEventMap, TooltipCustomEvent
57
57
  * `markdown` | Reflects the `markdown` property value.
58
58
  * `position` | Reflects the `position` property value.
59
59
  *
60
- * ### Custom CSS Properties
61
- *
62
60
  * The following custom CSS properties are available for styling:
63
61
  *
64
- * Custom CSS property | Description
65
- * ---------------------------------|-------------
66
- * `--vaadin-tooltip-offset-top` | Used as an offset when the tooltip is aligned vertically below the target
67
- * `--vaadin-tooltip-offset-bottom` | Used as an offset when the tooltip is aligned vertically above the target
68
- * `--vaadin-tooltip-offset-start` | Used as an offset when the tooltip is aligned horizontally after the target
69
- * `--vaadin-tooltip-offset-end` | Used as an offset when the tooltip is aligned horizontally before the target
62
+ * Custom CSS property |
63
+ * :----------------------------------|
64
+ * | `--vaadin-tooltip-background` |
65
+ * | `--vaadin-tooltip-border-color` |
66
+ * | `--vaadin-tooltip-border-radius` |
67
+ * | `--vaadin-tooltip-border-width` |
68
+ * | `--vaadin-tooltip-font-size` |
69
+ * | `--vaadin-tooltip-font-weight` |
70
+ * | `--vaadin-tooltip-line-height` |
71
+ * | `--vaadin-tooltip-max-width` |
72
+ * | `--vaadin-tooltip-offset-bottom` |
73
+ * | `--vaadin-tooltip-offset-end` |
74
+ * | `--vaadin-tooltip-offset-start` |
75
+ * | `--vaadin-tooltip-offset-top` |
76
+ * | `--vaadin-tooltip-padding` |
77
+ * | `--vaadin-tooltip-shadow` |
78
+ * | `--vaadin-tooltip-text-color` |
70
79
  *
71
80
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
72
81
  *
@@ -49,16 +49,25 @@ import { TooltipMixin } from './vaadin-tooltip-mixin.js';
49
49
  * `markdown` | Reflects the `markdown` property value.
50
50
  * `position` | Reflects the `position` property value.
51
51
  *
52
- * ### Custom CSS Properties
53
- *
54
52
  * The following custom CSS properties are available for styling:
55
53
  *
56
- * Custom CSS property | Description
57
- * ---------------------------------|-------------
58
- * `--vaadin-tooltip-offset-top` | Used as an offset when the tooltip is aligned vertically below the target
59
- * `--vaadin-tooltip-offset-bottom` | Used as an offset when the tooltip is aligned vertically above the target
60
- * `--vaadin-tooltip-offset-start` | Used as an offset when the tooltip is aligned horizontally after the target
61
- * `--vaadin-tooltip-offset-end` | Used as an offset when the tooltip is aligned horizontally before the target
54
+ * Custom CSS property |
55
+ * :----------------------------------|
56
+ * | `--vaadin-tooltip-background` |
57
+ * | `--vaadin-tooltip-border-color` |
58
+ * | `--vaadin-tooltip-border-radius` |
59
+ * | `--vaadin-tooltip-border-width` |
60
+ * | `--vaadin-tooltip-font-size` |
61
+ * | `--vaadin-tooltip-font-weight` |
62
+ * | `--vaadin-tooltip-line-height` |
63
+ * | `--vaadin-tooltip-max-width` |
64
+ * | `--vaadin-tooltip-offset-bottom` |
65
+ * | `--vaadin-tooltip-offset-end` |
66
+ * | `--vaadin-tooltip-offset-start` |
67
+ * | `--vaadin-tooltip-offset-top` |
68
+ * | `--vaadin-tooltip-padding` |
69
+ * | `--vaadin-tooltip-shadow` |
70
+ * | `--vaadin-tooltip-text-color` |
62
71
  *
63
72
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
64
73
  *
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": "25.0.0-rc1",
4
+ "version": "25.0.0",
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### Markdown Support\n\nThe tooltip supports rendering Markdown content by setting the `markdown` property:\n\n```html\n<button id=\"info\">Info</button>\n<vaadin-tooltip\n text=\"**Important:** Click to view *detailed* information\"\n markdown\n for=\"info\">\n</vaadin-tooltip>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------- | ---------------\n`overlay` | The overlay element\n`content` | The overlay content element\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|----------------------------------------\n`markdown` | Reflects the `markdown` property value.\n`position` | Reflects the `position` property value.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available for styling:\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.",
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### Markdown Support\n\nThe tooltip supports rendering Markdown content by setting the `markdown` property:\n\n```html\n<button id=\"info\">Info</button>\n<vaadin-tooltip\n text=\"**Important:** Click to view *detailed* information\"\n markdown\n for=\"info\">\n</vaadin-tooltip>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------- | ---------------\n`overlay` | The overlay element\n`content` | The overlay content element\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|----------------------------------------\n`markdown` | Reflects the `markdown` property value.\n`position` | Reflects the `position` property value.\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:----------------------------------|\n| `--vaadin-tooltip-background` |\n| `--vaadin-tooltip-border-color` |\n| `--vaadin-tooltip-border-radius` |\n| `--vaadin-tooltip-border-width` |\n| `--vaadin-tooltip-font-size` |\n| `--vaadin-tooltip-font-weight` |\n| `--vaadin-tooltip-line-height` |\n| `--vaadin-tooltip-max-width` |\n| `--vaadin-tooltip-offset-bottom` |\n| `--vaadin-tooltip-offset-end` |\n| `--vaadin-tooltip-offset-start` |\n| `--vaadin-tooltip-offset-top` |\n| `--vaadin-tooltip-padding` |\n| `--vaadin-tooltip-shadow` |\n| `--vaadin-tooltip-text-color` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "position",
@@ -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-rc1",
4
+ "version": "25.0.0",
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### Markdown Support\n\nThe tooltip supports rendering Markdown content by setting the `markdown` property:\n\n```html\n<button id=\"info\">Info</button>\n<vaadin-tooltip\n text=\"**Important:** Click to view *detailed* information\"\n markdown\n for=\"info\">\n</vaadin-tooltip>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------- | ---------------\n`overlay` | The overlay element\n`content` | The overlay content element\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|----------------------------------------\n`markdown` | Reflects the `markdown` property value.\n`position` | Reflects the `position` property value.\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available for styling:\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.",
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### Markdown Support\n\nThe tooltip supports rendering Markdown content by setting the `markdown` property:\n\n```html\n<button id=\"info\">Info</button>\n<vaadin-tooltip\n text=\"**Important:** Click to view *detailed* information\"\n markdown\n for=\"info\">\n</vaadin-tooltip>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------- | ---------------\n`overlay` | The overlay element\n`content` | The overlay content element\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n-----------------|----------------------------------------\n`markdown` | Reflects the `markdown` property value.\n`position` | Reflects the `position` property value.\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property |\n:----------------------------------|\n| `--vaadin-tooltip-background` |\n| `--vaadin-tooltip-border-color` |\n| `--vaadin-tooltip-border-radius` |\n| `--vaadin-tooltip-border-width` |\n| `--vaadin-tooltip-font-size` |\n| `--vaadin-tooltip-font-weight` |\n| `--vaadin-tooltip-line-height` |\n| `--vaadin-tooltip-max-width` |\n| `--vaadin-tooltip-offset-bottom` |\n| `--vaadin-tooltip-offset-end` |\n| `--vaadin-tooltip-offset-start` |\n| `--vaadin-tooltip-offset-top` |\n| `--vaadin-tooltip-padding` |\n| `--vaadin-tooltip-shadow` |\n| `--vaadin-tooltip-text-color` |\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {