New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/avatar-group

Package Overview
Dependencies
Maintainers
14
Versions
428
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/avatar-group - npm Package Compare versions

Comparing version 23.1.0-beta1 to 23.1.0-beta2

20

package.json
{
"name": "@vaadin/avatar-group",
"version": "23.1.0-beta1",
"version": "23.1.0-beta2",
"publishConfig": {

@@ -38,10 +38,10 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/avatar": "23.1.0-beta1",
"@vaadin/component-base": "23.1.0-beta1",
"@vaadin/item": "23.1.0-beta1",
"@vaadin/list-box": "23.1.0-beta1",
"@vaadin/vaadin-lumo-styles": "23.1.0-beta1",
"@vaadin/vaadin-material-styles": "23.1.0-beta1",
"@vaadin/vaadin-overlay": "23.1.0-beta1",
"@vaadin/vaadin-themable-mixin": "23.1.0-beta1"
"@vaadin/avatar": "23.1.0-beta2",
"@vaadin/component-base": "23.1.0-beta2",
"@vaadin/item": "23.1.0-beta2",
"@vaadin/list-box": "23.1.0-beta2",
"@vaadin/vaadin-lumo-styles": "23.1.0-beta2",
"@vaadin/vaadin-material-styles": "23.1.0-beta2",
"@vaadin/vaadin-overlay": "23.1.0-beta2",
"@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
},

@@ -53,3 +53,3 @@ "devDependencies": {

},
"gitHead": "8be43cf83102a6b9ccf309687446e590ce0164e8"
"gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
}

@@ -402,3 +402,3 @@ /**

}
// override generated title attribute
// Override generated title attribute
this.$.overflow.setAttribute('title', result.join('\n'));

@@ -410,3 +410,3 @@ }

let limit = null;
// handle max set to 0 or 1
// Handle max set to 0 or 1
const adjustedMax = this.__getMax(maxItemsVisible);

@@ -433,3 +433,3 @@ if (maxItemsVisible != null && adjustedMax < items) {

// mutation using group.splice('items')
// Mutation using group.splice('items')
if (splices && Array.isArray(splices.indexSplices)) {

@@ -440,3 +440,3 @@ splices.indexSplices.forEach((mutation) => {

} else if (Array.isArray(items) && Array.isArray(this.__oldItems)) {
// mutation using group.set('items')
// Mutation using group.set('items')
const diff = calculateSplices(items, this.__oldItems);

@@ -514,3 +514,3 @@ diff.forEach((mutation) => {

// always show at least two avatars
// Always show at least two avatars
if (!items || !avatars || avatars.length < 3) {

@@ -522,3 +522,3 @@ return;

// only show overlay if two or more avatars don't fit
// Only show overlay if two or more avatars don't fit
if (result === items.length - 1) {

@@ -528,3 +528,3 @@ result = items.length;

// close overlay if all avatars become visible
// Close overlay if all avatars become visible
if (result >= items.length && this._opened) {

@@ -536,3 +536,3 @@ this.$.overlay.close();

// reserve space for overflow avatar
// Reserve space for overflow avatar
this.__itemsInView = result;

@@ -549,6 +549,6 @@ }

// assume all the avatars have the same width
// Assume all the avatars have the same width
const avatarWidth = avatars[0].clientWidth;
// take negative margin into account
// Take negative margin into account
const { marginLeft, marginRight } = getComputedStyle(avatars[1]);

@@ -555,0 +555,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc