Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/select

Package Overview
Dependencies
Maintainers
14
Versions
398
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/select - npm Package Compare versions

Comparing version 23.2.0-alpha2 to 23.2.0-alpha3

30

package.json
{
"name": "@vaadin/select",
"version": "23.2.0-alpha2",
"version": "23.2.0-alpha3",
"publishConfig": {

@@ -39,18 +39,18 @@ "access": "public"

"@polymer/polymer": "^3.2.0",
"@vaadin/button": "23.2.0-alpha2",
"@vaadin/component-base": "23.2.0-alpha2",
"@vaadin/field-base": "23.2.0-alpha2",
"@vaadin/input-container": "23.2.0-alpha2",
"@vaadin/item": "23.2.0-alpha2",
"@vaadin/list-box": "23.2.0-alpha2",
"@vaadin/lit-renderer": "23.2.0-alpha2",
"@vaadin/vaadin-list-mixin": "23.2.0-alpha2",
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha2",
"@vaadin/vaadin-material-styles": "23.2.0-alpha2",
"@vaadin/vaadin-overlay": "23.2.0-alpha2",
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha2"
"@vaadin/button": "23.2.0-alpha3",
"@vaadin/component-base": "23.2.0-alpha3",
"@vaadin/field-base": "23.2.0-alpha3",
"@vaadin/input-container": "23.2.0-alpha3",
"@vaadin/item": "23.2.0-alpha3",
"@vaadin/list-box": "23.2.0-alpha3",
"@vaadin/lit-renderer": "23.2.0-alpha3",
"@vaadin/vaadin-list-mixin": "23.2.0-alpha3",
"@vaadin/vaadin-lumo-styles": "23.2.0-alpha3",
"@vaadin/vaadin-material-styles": "23.2.0-alpha3",
"@vaadin/vaadin-overlay": "23.2.0-alpha3",
"@vaadin/vaadin-themable-mixin": "23.2.0-alpha3"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4",
"@vaadin/polymer-legacy-adapter": "23.2.0-alpha2",
"@vaadin/polymer-legacy-adapter": "23.2.0-alpha3",
"@vaadin/testing-helpers": "^0.3.2",

@@ -60,3 +60,3 @@ "lit": "^2.0.0",

},
"gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df"
"gitHead": "06e5875be93ca50da2846dafc65a8531010c0576"
}

@@ -6,6 +6,6 @@ /**

*/
import { TemplateResult } from 'lit';
import { DirectiveResult } from 'lit/directive.js';
import type { TemplateResult } from 'lit';
import type { DirectiveResult } from 'lit/directive.js';
import { LitRendererDirective } from '@vaadin/lit-renderer';
import { Select } from '../vaadin-select.js';
import type { Select } from '../vaadin-select.js';

@@ -12,0 +12,0 @@ export type SelectLitRenderer = (select: Select) => TemplateResult;

@@ -50,2 +50,7 @@ /**

/**
* Fired whenever the field is validated.
*/
export type SelectValidatedEvent = CustomEvent<{ valid: boolean }>;
export interface SelectCustomEventMap {

@@ -57,2 +62,4 @@ 'opened-changed': SelectOpenedChangedEvent;

'value-changed': SelectValueChangedEvent;
validated: SelectValidatedEvent;
}

@@ -167,2 +174,3 @@

* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
* @fires {CustomEvent} validated - Fired whenever the field is validated.
*/

@@ -250,9 +258,2 @@ declare class Select extends DelegateFocusMixin(FieldMixin(ElementMixin(ThemableMixin(HTMLElement)))) {

/**
* Returns true if `value` is valid, and sets the `invalid` flag appropriately.
*
* @returns True if the value is valid and sets the `invalid` flag appropriately
*/
validate(): boolean;
addEventListener<K extends keyof SelectEventMap>(

@@ -259,0 +260,0 @@ type: K,

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

* @fires {CustomEvent} value-changed - Fired when the `value` property changes.
* @fires {CustomEvent} validated - Fired whenever the field is validated.
*

@@ -701,8 +702,8 @@ * @extends HTMLElement

/**
* Returns true if `value` is valid, and sets the `invalid` flag appropriately.
* Returns true if the current value satisfies all constraints (if any)
*
* @return {boolean} True if the value is valid and sets the `invalid` flag appropriately
* @return {boolean}
*/
validate() {
return !(this.invalid = !(this.disabled || !this.required || this.value));
checkValidity() {
return this.disabled || !this.required || !!this.value;
}

@@ -709,0 +710,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