Socket
Socket
Sign inDemoInstall

@vaadin/field-base

Package Overview
Dependencies
Maintainers
14
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/field-base - npm Package Compare versions

Comparing version 23.1.0-rc2 to 23.1.0-rc3

6

package.json
{
"name": "@vaadin/field-base",
"version": "23.1.0-rc2",
"version": "23.1.0-rc3",
"publishConfig": {

@@ -35,3 +35,3 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.1.0-rc2",
"@vaadin/component-base": "23.1.0-rc3",
"lit": "^2.0.0"

@@ -44,3 +44,3 @@ },

},
"gitHead": "154c6782c42145fed21e443559fbe2d781ad3ec7"
"gitHead": "49c312fbe0228adb559296d45655bbfd4eac6235"
}

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

import { ControllerMixinClass } from '@vaadin/component-base/src/controller-mixin.js';
import { SlotMixinClass } from '@vaadin/component-base/src/slot-mixin.js';
import { LabelMixinClass } from './label-mixin.js';

@@ -22,3 +21,2 @@ import { ValidateMixinClass } from './validate-mixin.js';

Constructor<LabelMixinClass> &
Constructor<SlotMixinClass> &
Constructor<ValidateMixinClass>;

@@ -54,9 +52,5 @@

protected _updateErrorMessage(invalid: boolean, errorMessage: string | null | undefined): void;
protected _requiredChanged(required: boolean): void;
protected _helperIdChanged(helperId: string): void;
protected _invalidChanged(invalid: boolean): void;
}

@@ -52,5 +52,2 @@ /**

},
/** @protected */
_helperId: String,
};

@@ -173,3 +170,3 @@ }

// This timeout is needed to prevent NVDA from announcing the error message twice:
// 1. Once adding the `[role=alert]` attribute by the `_updateErrorMessage` method (OK).
// 1. Once adding the `[role=alert]` attribute when updating `has-error-message` (OK).
// 2. Once linking the error ID with the ARIA target here (unwanted).

@@ -176,0 +173,0 @@ // Related issue: https://github.com/vaadin/web-components/issues/3061.

@@ -130,3 +130,3 @@ /**

* Components that extend this mixin can prevent this behavior by overriding
* this method without calling `super._onKeyDown` to provide custom logic.
* this method without calling `super._onEscape` to provide custom logic.
* @param {KeyboardEvent} event

@@ -136,6 +136,6 @@ * @protected

*/
_onKeyDown(event) {
super._onKeyDown(event);
_onEscape(event) {
super._onEscape(event);
if (event.key === 'Escape' && this.clearButtonVisible && !!this.value) {
if (this.clearButtonVisible && !!this.value) {
event.stopPropagation();

@@ -142,0 +142,0 @@ this.__clear();

@@ -182,3 +182,3 @@ /**

/**
* Override an event listener from `ClearButtonMixin`
* Override an event listener from `InputControlMixin`
* to avoid adding a separate listener.

@@ -185,0 +185,0 @@ * @param {!KeyboardEvent} event

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

import { Constructor } from '@open-wc/dedupe-mixin';
import { SlotMixinClass } from '@vaadin/component-base/src/slot-mixin.js';
import { LabelController } from './label-controller.js';

@@ -14,5 +13,3 @@

*/
export declare function LabelMixin<T extends Constructor<HTMLElement>>(
base: T,
): T & Constructor<LabelMixinClass> & Constructor<SlotMixinClass>;
export declare function LabelMixin<T extends Constructor<HTMLElement>>(base: T): T & Constructor<LabelMixinClass>;

@@ -19,0 +16,0 @@ export declare class LabelMixinClass {

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