@vaadin/item 25.2.0-alpha10 → 25.2.0-alpha11

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.2.0-alpha10",
3
+ "version": "25.2.0-alpha11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,17 +35,17 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.2.0-alpha10",
39
- "@vaadin/component-base": "25.2.0-alpha10",
40
- "@vaadin/vaadin-themable-mixin": "25.2.0-alpha10",
38
+ "@vaadin/a11y-base": "25.2.0-alpha11",
39
+ "@vaadin/component-base": "25.2.0-alpha11",
40
+ "@vaadin/vaadin-themable-mixin": "25.2.0-alpha11",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/aura": "25.2.0-alpha10",
45
- "@vaadin/chai-plugins": "25.2.0-alpha10",
46
- "@vaadin/test-runner-commands": "25.2.0-alpha10",
44
+ "@vaadin/aura": "25.2.0-alpha11",
45
+ "@vaadin/chai-plugins": "25.2.0-alpha11",
46
+ "@vaadin/test-runner-commands": "25.2.0-alpha11",
47
47
  "@vaadin/testing-helpers": "^2.0.0",
48
- "@vaadin/vaadin-lumo-styles": "25.2.0-alpha10",
48
+ "@vaadin/vaadin-lumo-styles": "25.2.0-alpha11",
49
49
  "sinon": "^21.0.2"
50
50
  },
51
51
  "customElements": "custom-elements.json",
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "1303b6a3eeecb44a9d26f2b53cb56d9e906febdf"
56
+ "gitHead": "fdc37e932709f95491a027aeb2090911cb7528c6"
57
57
  }
@@ -10,10 +10,6 @@ import { FocusMixin } from '@vaadin/a11y-base/src/focus-mixin.js';
10
10
  * A mixin providing `focused`, `focus-ring`, `active`, `disabled` and `selected`.
11
11
  *
12
12
  * `focused`, `active` and `focus-ring` are set as only as attributes.
13
- *
14
- * @polymerMixin
15
- * @mixes ActiveMixin
16
- * @mixes FocusMixin
17
13
  */
18
14
  export const ItemMixin = (superClass) =>
19
15
  class VaadinItemMixin extends ActiveMixin(FocusMixin(superClass)) {
@@ -61,7 +57,7 @@ export const ItemMixin = (superClass) =>
61
57
  * @type {string}
62
58
  */
63
59
  get value() {
64
- return this._value !== undefined ? this._value : this.textContent.trim();
60
+ return this._value ?? this.textContent.trim();
65
61
  }
66
62
 
67
63
  set value(value) {
@@ -63,9 +63,6 @@ import { ItemMixin } from './vaadin-item-mixin.js';
63
63
  * @prop {string} label - String that can be set to visually represent the selected item in `vaadin-select`.
64
64
  * @customElement vaadin-item
65
65
  * @extends HTMLElement
66
- * @mixes ItemMixin
67
- * @mixes ThemableMixin
68
- * @mixes DirMixin
69
66
  */
70
67
  class Item extends ItemMixin(ThemableMixin(DirMixin(PolylitMixin(LumoInjectionMixin(LitElement))))) {
71
68
  static get is() {
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.2.0-alpha10",
4
+ "version": "25.2.0-alpha11",
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.2.0-alpha10",
4
+ "version": "25.2.0-alpha11",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {