@vaadin/button 24.9.0-alpha2 → 24.9.0-beta2

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/button",
3
- "version": "24.9.0-alpha2",
3
+ "version": "24.9.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,17 +36,17 @@
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/a11y-base": "24.9.0-alpha2",
40
- "@vaadin/component-base": "24.9.0-alpha2",
41
- "@vaadin/vaadin-lumo-styles": "24.9.0-alpha2",
42
- "@vaadin/vaadin-material-styles": "24.9.0-alpha2",
43
- "@vaadin/vaadin-themable-mixin": "24.9.0-alpha2",
39
+ "@vaadin/a11y-base": "24.9.0-beta2",
40
+ "@vaadin/component-base": "24.9.0-beta2",
41
+ "@vaadin/vaadin-lumo-styles": "24.9.0-beta2",
42
+ "@vaadin/vaadin-material-styles": "24.9.0-beta2",
43
+ "@vaadin/vaadin-themable-mixin": "24.9.0-beta2",
44
44
  "lit": "^3.0.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@vaadin/chai-plugins": "24.9.0-alpha2",
48
- "@vaadin/icon": "24.9.0-alpha2",
49
- "@vaadin/test-runner-commands": "24.9.0-alpha2",
47
+ "@vaadin/chai-plugins": "24.9.0-beta2",
48
+ "@vaadin/icon": "24.9.0-beta2",
49
+ "@vaadin/test-runner-commands": "24.9.0-beta2",
50
50
  "@vaadin/testing-helpers": "^1.1.0",
51
51
  "sinon": "^18.0.0"
52
52
  },
@@ -54,5 +54,5 @@
54
54
  "web-types.json",
55
55
  "web-types.lit.json"
56
56
  ],
57
- "gitHead": "dd99dece1b54942ab0e421892b089e506822c5f5"
57
+ "gitHead": "cf8def153fcf724b305f9ad823dc9af27e31ad07"
58
58
  }
@@ -25,14 +25,15 @@ import { ButtonMixin } from './vaadin-button-mixin.js';
25
25
  * `prefix` | A slot for content before the label (e.g. an icon).
26
26
  * `suffix` | A slot for content after the label (e.g. an icon).
27
27
  *
28
- * The following attributes are available for styling:
28
+ * The following state attributes are available for styling:
29
29
  *
30
- * Attribute | Description
31
- * -------------|-------------
32
- * `active` | Set when the button is pressed down, either with mouse, touch or the keyboard.
33
- * `disabled` | Set when the button is disabled.
34
- * `focus-ring` | Set when the button is focused using the keyboard.
35
- * `focused` | Set when the button is focused.
30
+ * Attribute | Description
31
+ * ---------------|-------------
32
+ * `active` | Set when the button is pressed down, either with mouse, touch or the keyboard
33
+ * `disabled` | Set when the button is disabled
34
+ * `focus-ring` | Set when the button is focused using the keyboard
35
+ * `focused` | Set when the button is focused
36
+ * `has-tooltip` | Set when the button has a slotted tooltip
36
37
  *
37
38
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
38
39
  */
@@ -31,14 +31,15 @@ registerStyles('vaadin-button', buttonStyles, { moduleId: 'vaadin-button-styles'
31
31
  * `prefix` | A slot for content before the label (e.g. an icon).
32
32
  * `suffix` | A slot for content after the label (e.g. an icon).
33
33
  *
34
- * The following attributes are available for styling:
34
+ * The following state attributes are available for styling:
35
35
  *
36
- * Attribute | Description
37
- * -------------|-------------
38
- * `active` | Set when the button is pressed down, either with mouse, touch or the keyboard.
39
- * `disabled` | Set when the button is disabled.
40
- * `focus-ring` | Set when the button is focused using the keyboard.
41
- * `focused` | Set when the button is focused.
36
+ * Attribute | Description
37
+ * ---------------|-------------
38
+ * `active` | Set when the button is pressed down, either with mouse, touch or the keyboard
39
+ * `disabled` | Set when the button is disabled
40
+ * `focus-ring` | Set when the button is focused using the keyboard
41
+ * `focused` | Set when the button is focused
42
+ * `has-tooltip` | Set when the button has a slotted tooltip
42
43
  *
43
44
  * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
44
45
  *
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/button",
4
- "version": "24.9.0-alpha2",
4
+ "version": "24.9.0-beta2",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-button",
11
- "description": "`<vaadin-button>` is an accessible and customizable button that allows users to perform actions.\n\n```html\n<vaadin-button>Press me</vaadin-button>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------|-------------\n`label` | The label (text) inside the button.\n`prefix` | A slot for content before the label (e.g. an icon).\n`suffix` | A slot for content after the label (e.g. an icon).\n\nThe following attributes are available for styling:\n\nAttribute | Description\n-------------|-------------\n`active` | Set when the button is pressed down, either with mouse, touch or the keyboard.\n`disabled` | Set when the button is disabled.\n`focus-ring` | Set when the button is focused using the keyboard.\n`focused` | Set when the button is focused.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
11
+ "description": "`<vaadin-button>` is an accessible and customizable button that allows users to perform actions.\n\n```html\n<vaadin-button>Press me</vaadin-button>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------|-------------\n`label` | The label (text) inside the button.\n`prefix` | A slot for content before the label (e.g. an icon).\n`suffix` | A slot for content after the label (e.g. an icon).\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------|-------------\n`active` | Set when the button is pressed down, either with mouse, touch or the keyboard\n`disabled` | Set when the button is disabled\n`focus-ring` | Set when the button is focused using the keyboard\n`focused` | Set when the button is focused\n`has-tooltip` | Set when the button has a slotted tooltip\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "disabled",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/button",
4
- "version": "24.9.0-alpha2",
4
+ "version": "24.9.0-beta2",
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-button",
19
- "description": "`<vaadin-button>` is an accessible and customizable button that allows users to perform actions.\n\n```html\n<vaadin-button>Press me</vaadin-button>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------|-------------\n`label` | The label (text) inside the button.\n`prefix` | A slot for content before the label (e.g. an icon).\n`suffix` | A slot for content after the label (e.g. an icon).\n\nThe following attributes are available for styling:\n\nAttribute | Description\n-------------|-------------\n`active` | Set when the button is pressed down, either with mouse, touch or the keyboard.\n`disabled` | Set when the button is disabled.\n`focus-ring` | Set when the button is focused using the keyboard.\n`focused` | Set when the button is focused.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
19
+ "description": "`<vaadin-button>` is an accessible and customizable button that allows users to perform actions.\n\n```html\n<vaadin-button>Press me</vaadin-button>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------|-------------\n`label` | The label (text) inside the button.\n`prefix` | A slot for content before the label (e.g. an icon).\n`suffix` | A slot for content after the label (e.g. an icon).\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n---------------|-------------\n`active` | Set when the button is pressed down, either with mouse, touch or the keyboard\n`disabled` | Set when the button is disabled\n`focus-ring` | Set when the button is focused using the keyboard\n`focused` | Set when the button is focused\n`has-tooltip` | Set when the button has a slotted tooltip\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
20
20
  "extension": true,
21
21
  "attributes": [
22
22
  {