@vaadin/item 25.0.0-alpha17 → 25.0.0-alpha18

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/item",
3
- "version": "25.0.0-alpha17",
3
+ "version": "25.0.0-alpha18",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,21 +34,21 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-alpha17",
38
- "@vaadin/component-base": "25.0.0-alpha17",
39
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha17",
37
+ "@vaadin/a11y-base": "25.0.0-alpha18",
38
+ "@vaadin/component-base": "25.0.0-alpha18",
39
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha18",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/chai-plugins": "25.0.0-alpha17",
44
- "@vaadin/test-runner-commands": "25.0.0-alpha17",
43
+ "@vaadin/chai-plugins": "25.0.0-alpha18",
44
+ "@vaadin/test-runner-commands": "25.0.0-alpha18",
45
45
  "@vaadin/testing-helpers": "^2.0.0",
46
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha17",
46
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha18",
47
47
  "sinon": "^21.0.0"
48
48
  },
49
49
  "web-types": [
50
50
  "web-types.json",
51
51
  "web-types.lit.json"
52
52
  ],
53
- "gitHead": "8264c71309907be99368b09414f0f8d7f591e0b9"
53
+ "gitHead": "cb5cafb5687a117ebead1b81e2116991cec13abe"
54
54
  }
@@ -83,18 +83,16 @@ export const ItemMixin = (superClass) =>
83
83
  }
84
84
 
85
85
  /**
86
- * Override native `focus` to set focused attribute
87
- * when focusing the item programmatically.
86
+ * @param {FocusOptions=} options
88
87
  * @protected
89
88
  * @override
90
89
  */
91
- focus() {
90
+ focus(options) {
92
91
  if (this.disabled) {
93
92
  return;
94
93
  }
95
94
 
96
- super.focus();
97
- this._setFocused(true);
95
+ super.focus(options);
98
96
  }
99
97
 
100
98
  /**
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/item",
4
- "version": "25.0.0-alpha17",
4
+ "version": "25.0.0-alpha18",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/item",
4
- "version": "25.0.0-alpha17",
4
+ "version": "25.0.0-alpha18",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {