@vaadin/avatar-group
Advanced tools
Comparing version 23.0.0-alpha1 to 23.0.0-alpha2
{ | ||
"name": "@vaadin/avatar-group", | ||
"version": "23.0.0-alpha1", | ||
"version": "23.0.0-alpha2", | ||
"publishConfig": { | ||
@@ -37,12 +37,11 @@ "access": "public" | ||
"@polymer/iron-a11y-announcer": "^3.0.0", | ||
"@polymer/iron-resizable-behavior": "^3.0.0", | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/avatar": "23.0.0-alpha1", | ||
"@vaadin/component-base": "23.0.0-alpha1", | ||
"@vaadin/item": "23.0.0-alpha1", | ||
"@vaadin/list-box": "23.0.0-alpha1", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha1", | ||
"@vaadin/vaadin-material-styles": "23.0.0-alpha1", | ||
"@vaadin/vaadin-overlay": "23.0.0-alpha1", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha1" | ||
"@vaadin/avatar": "23.0.0-alpha2", | ||
"@vaadin/component-base": "23.0.0-alpha2", | ||
"@vaadin/item": "23.0.0-alpha2", | ||
"@vaadin/list-box": "23.0.0-alpha2", | ||
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2", | ||
"@vaadin/vaadin-material-styles": "23.0.0-alpha2", | ||
"@vaadin/vaadin-overlay": "23.0.0-alpha2", | ||
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2" | ||
}, | ||
@@ -54,3 +53,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "fbcb07328fdf88260e3b461088d207426b21c710" | ||
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f" | ||
} |
@@ -11,4 +11,2 @@ /** | ||
import { IronA11yAnnouncer } from '@polymer/iron-a11y-announcer/iron-a11y-announcer.js'; | ||
import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js'; | ||
import { mixinBehaviors } from '@polymer/polymer/lib/legacy/class.js'; | ||
import { calculateSplices } from '@polymer/polymer/lib/utils/array-splice.js'; | ||
@@ -65,3 +63,3 @@ import { afterNextRender } from '@polymer/polymer/lib/utils/render-status.js'; | ||
*/ | ||
class AvatarGroup extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizableBehavior], PolymerElement))) { | ||
class AvatarGroup extends ElementMixin(ThemableMixin(PolymerElement)) { | ||
static get template() { | ||
@@ -289,3 +287,4 @@ return html` | ||
this.addEventListener('iron-resize', this._onResize.bind(this)); | ||
this.__resizeObserver = new ResizeObserver(() => this._onResize()); | ||
this.__resizeObserver.observe(this); | ||
@@ -600,2 +599,12 @@ this._overlayElement = this.shadowRoot.querySelector('vaadin-avatar-group-overlay'); | ||
} | ||
/** | ||
* @deprecated Since Vaadin 23, `notifyResize()` is deprecated. The component uses a | ||
* ResizeObserver internally and doesn't need to be explicitly notified of resizes. | ||
*/ | ||
notifyResize() { | ||
console.warn( | ||
`WARNING: Since Vaadin 23, notifyResize() is deprecated. The component uses a ResizeObserver internally and doesn't need to be explicitly notified of resizes.` | ||
); | ||
} | ||
} | ||
@@ -602,0 +611,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44805
10
864
+ Added@vaadin/avatar@23.0.0-alpha2(transitive)
+ Added@vaadin/component-base@23.0.0-alpha2(transitive)
+ Added@vaadin/icon@23.0.0-alpha2(transitive)
+ Added@vaadin/item@23.0.0-alpha2(transitive)
+ Added@vaadin/list-box@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-list-mixin@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-material-styles@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-overlay@23.0.0-alpha2(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.0.0-alpha2(transitive)
- Removed@vaadin/avatar@23.0.0-alpha1(transitive)
- Removed@vaadin/component-base@23.0.0-alpha1(transitive)
- Removed@vaadin/icon@23.0.0-alpha1(transitive)
- Removed@vaadin/item@23.0.0-alpha1(transitive)
- Removed@vaadin/list-box@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-list-mixin@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-material-styles@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-overlay@23.0.0-alpha1(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.0.0-alpha1(transitive)
Updated@vaadin/avatar@23.0.0-alpha2
Updated@vaadin/item@23.0.0-alpha2