Socket
Socket
Sign inDemoInstall

@vaadin/multi-select-combo-box

Package Overview
Dependencies
Maintainers
12
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/multi-select-combo-box - npm Package Compare versions

Comparing version 24.4.0-rc1 to 24.5.0-alpha1

26

package.json
{
"name": "@vaadin/multi-select-combo-box",
"version": "24.4.0-rc1",
"version": "24.5.0-alpha1",
"publishConfig": {

@@ -41,13 +41,13 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "24.4.0-rc1",
"@vaadin/combo-box": "24.4.0-rc1",
"@vaadin/component-base": "24.4.0-rc1",
"@vaadin/field-base": "24.4.0-rc1",
"@vaadin/input-container": "24.4.0-rc1",
"@vaadin/item": "24.4.0-rc1",
"@vaadin/lit-renderer": "24.4.0-rc1",
"@vaadin/overlay": "24.4.0-rc1",
"@vaadin/vaadin-lumo-styles": "24.4.0-rc1",
"@vaadin/vaadin-material-styles": "24.4.0-rc1",
"@vaadin/vaadin-themable-mixin": "24.4.0-rc1"
"@vaadin/a11y-base": "24.5.0-alpha1",
"@vaadin/combo-box": "24.5.0-alpha1",
"@vaadin/component-base": "24.5.0-alpha1",
"@vaadin/field-base": "24.5.0-alpha1",
"@vaadin/input-container": "24.5.0-alpha1",
"@vaadin/item": "24.5.0-alpha1",
"@vaadin/lit-renderer": "24.5.0-alpha1",
"@vaadin/overlay": "24.5.0-alpha1",
"@vaadin/vaadin-lumo-styles": "24.5.0-alpha1",
"@vaadin/vaadin-material-styles": "24.5.0-alpha1",
"@vaadin/vaadin-themable-mixin": "24.5.0-alpha1"
},

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

],
"gitHead": "a81e3b927d44c56613fa4e1307494a2acc81005f"
"gitHead": "57806caac5468532a3b4e3dbdda730cd0fca193a"
}

@@ -235,2 +235,10 @@ /**

/**
* A function used to generate CSS class names for dropdown
* items and selected chips based on the item. The return
* value should be the generated class name as a string, or
* multiple class names separated by whitespace characters.
*/
itemClassNameGenerator: (item: TItem) => string;
/**
* The item property used for a visual representation of the item.

@@ -237,0 +245,0 @@ * @attr {string} item-label-path

@@ -183,2 +183,3 @@ /**

selected-items-on-top="[[selectedItemsOnTop]]"
item-class-name-generator="[[itemClassNameGenerator]]"
top-group="[[_topGroup]]"

@@ -284,2 +285,13 @@ opened="{{opened}}"

/**
* A function used to generate CSS class names for dropdown
* items and selected chips based on the item. The return
* value should be the generated class name as a string, or
* multiple class names separated by whitespace characters.
*/
itemClassNameGenerator: {
type: Object,
observer: '__itemClassNameGeneratorChanged',
},
/**
* The item property used for a visual representation of the item.

@@ -767,2 +779,9 @@ * @attr {string} item-label-path

/** @private */
__itemClassNameGeneratorChanged(generator, oldGenerator) {
if (generator || oldGenerator) {
this.__updateChips();
}
}
/** @private */
_pageSizeChanged(pageSize, oldPageSize) {

@@ -940,2 +959,6 @@ if (Math.floor(pageSize) !== pageSize || pageSize <= 0) {

if (typeof this.itemClassNameGenerator === 'function') {
chip.className = this.itemClassNameGenerator(item);
}
chip.addEventListener('item-removed', (e) => this._onItemRemoved(e));

@@ -942,0 +965,0 @@ chip.addEventListener('mousedown', (e) => this._preventBlur(e));

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/multi-select-combo-box",
"version": "24.4.0-rc1",
"version": "24.5.0-alpha1",
"description-markup": "markdown",

@@ -600,2 +600,13 @@ "contributions": {

{
"name": "itemClassNameGenerator",
"description": "A function used to generate CSS class names for dropdown\nitems and selected chips based on the item. The return\nvalue should be the generated class name as a string, or\nmultiple class names separated by whitespace characters.",
"value": {
"type": [
"Object",
"null",
"undefined"
]
}
},
{
"name": "itemLabelPath",

@@ -602,0 +613,0 @@ "description": "The item property used for a visual representation of the item.",

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/multi-select-combo-box",
"version": "24.4.0-rc1",
"version": "24.5.0-alpha1",
"description-markup": "markdown",

@@ -198,2 +198,9 @@ "framework": "lit",

{
"name": ".itemClassNameGenerator",
"description": "A function used to generate CSS class names for dropdown\nitems and selected chips based on the item. The return\nvalue should be the generated class name as a string, or\nmultiple class names separated by whitespace characters.",
"value": {
"kind": "expression"
}
},
{
"name": ".itemLabelPath",

@@ -200,0 +207,0 @@ "description": "The item property used for a visual representation of the item.",

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