@vaadin/avatar 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/avatar",
3
- "version": "25.2.0-alpha10",
3
+ "version": "25.2.0-alpha11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,18 +36,18 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@open-wc/dedupe-mixin": "^1.3.0",
39
- "@vaadin/a11y-base": "25.2.0-alpha10",
40
- "@vaadin/component-base": "25.2.0-alpha10",
41
- "@vaadin/tooltip": "25.2.0-alpha10",
42
- "@vaadin/vaadin-themable-mixin": "25.2.0-alpha10",
39
+ "@vaadin/a11y-base": "25.2.0-alpha11",
40
+ "@vaadin/component-base": "25.2.0-alpha11",
41
+ "@vaadin/tooltip": "25.2.0-alpha11",
42
+ "@vaadin/vaadin-themable-mixin": "25.2.0-alpha11",
43
43
  "lit": "^3.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@vaadin/aura": "25.2.0-alpha10",
47
- "@vaadin/chai-plugins": "25.2.0-alpha10",
48
- "@vaadin/test-runner-commands": "25.2.0-alpha10",
46
+ "@vaadin/aura": "25.2.0-alpha11",
47
+ "@vaadin/chai-plugins": "25.2.0-alpha11",
48
+ "@vaadin/test-runner-commands": "25.2.0-alpha11",
49
49
  "@vaadin/testing-helpers": "^2.0.0",
50
- "@vaadin/vaadin-lumo-styles": "25.2.0-alpha10",
50
+ "@vaadin/vaadin-lumo-styles": "25.2.0-alpha11",
51
51
  "sinon": "^21.0.2"
52
52
  },
53
53
  "customElements": "custom-elements.json",
@@ -55,5 +55,5 @@
55
55
  "web-types.json",
56
56
  "web-types.lit.json"
57
57
  ],
58
- "gitHead": "1303b6a3eeecb44a9d26f2b53cb56d9e906febdf"
58
+ "gitHead": "fdc37e932709f95491a027aeb2090911cb7528c6"
59
59
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2026 Vaadin Ltd.
3
+ * Copyright (c) 2020 - 2026 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import '@vaadin/component-base/src/styles/style-props.js';
@@ -12,12 +12,9 @@ const DEFAULT_I18N = {
12
12
 
13
13
  /**
14
14
  * A mixin providing common avatar functionality.
15
- *
16
- * @polymerMixin
17
- * @mixes FocusMixin
18
15
  */
19
16
  export const AvatarMixin = (superClass) =>
20
- class AvatarMixinClass extends I18nMixin(DEFAULT_I18N, FocusMixin(superClass)) {
17
+ class AvatarMixinClass extends I18nMixin(FocusMixin(superClass)) {
21
18
  static get properties() {
22
19
  return {
23
20
  /**
@@ -90,6 +87,10 @@ export const AvatarMixin = (superClass) =>
90
87
  ];
91
88
  }
92
89
 
90
+ static get defaultI18n() {
91
+ return DEFAULT_I18N;
92
+ }
93
+
93
94
  /**
94
95
  * The object used to localize this component. To change the default
95
96
  * localization, replace this with an object that provides all properties, or
@@ -56,9 +56,6 @@ import { AvatarMixin } from './vaadin-avatar-mixin.js';
56
56
  *
57
57
  * @customElement vaadin-avatar
58
58
  * @extends HTMLElement
59
- * @mixes AvatarMixin
60
- * @mixes ElementMixin
61
- * @mixes ThemableMixin
62
59
  */
63
60
  class Avatar extends AvatarMixin(ElementMixin(ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))))) {
64
61
  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/avatar",
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/avatar",
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": {