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

@vaadin/vaadin-login

Package Overview
Dependencies
Maintainers
16
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/vaadin-login - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0-alpha1

src/vaadin-login-form.d.ts

22

package.json

@@ -13,3 +13,3 @@ {

"name": "@vaadin/vaadin-login",
"version": "1.1.0",
"version": "1.2.0-alpha1",
"main": "vaadin-login-overlay.js",

@@ -34,14 +34,14 @@ "author": "Vaadin Ltd",

"@polymer/polymer": "^3.0.0",
"@vaadin/vaadin-themable-mixin": "^1.5.2",
"@vaadin/vaadin-element-mixin": "^2.3.1",
"@vaadin/vaadin-themable-mixin": "^1.6.1",
"@vaadin/vaadin-element-mixin": "^2.4.1",
"@vaadin/vaadin-lumo-styles": "^1.6.0",
"@vaadin/vaadin-material-styles": "^1.3.2",
"@vaadin/vaadin-text-field": "^2.6.0",
"@vaadin/vaadin-button": "^2.3.0",
"@vaadin/vaadin-overlay": "^3.4.0"
"@vaadin/vaadin-text-field": "^2.7.0-alpha1",
"@vaadin/vaadin-button": "^2.4.0-alpha1",
"@vaadin/vaadin-overlay": "^3.5.0"
},
"scripts": {
"generate-typings": "gen-typescript-declarations --outDir . --verify"
},
"devDependencies": {
"generate-typings": "gen-typescript-declarations --outDir . --verify"
},
"devDependencies": {
"@polymer/iron-component-page": "^4.0.0",

@@ -52,6 +52,6 @@ "@polymer/iron-demo-helpers": "^3.0.0",

"@polymer/iron-test-helpers": "^3.0.0",
"@vaadin/vaadin-demo-helpers": "^3.0.0",
"@vaadin/vaadin-demo-helpers": "^3.1.0",
"@vaadin/vaadin-icons": "^4.2.1",
"@vaadin/vaadin-dialog": "^2.2.0"
"@vaadin/vaadin-dialog": "^2.5.0-alpha1"
}
}

@@ -29,3 +29,3 @@ import './vaadin-login-form-wrapper.js';

* @mixes ThemableMixin
* @mixes Login.LoginMixin
* @mixes LoginMixin
* @demo demo/index.html

@@ -61,18 +61,8 @@ */

}
static get version() {
return '1.1.0';
return '1.2.0-alpha1';
}
static get properties() {
return {
/**
* Defines the theme of the element.
* The value is propagated to vaadin-login-form-wrapper element.
*/
theme: {
type: String
}
};
}
/** @protected */
connectedCallback() {

@@ -83,2 +73,7 @@ super.connectedCallback();

/**
* @param {StampedTemplate} dom
* @return {null}
* @protected
*/
_attachDom(dom) {

@@ -94,2 +89,3 @@ this.appendChild(dom);

/** @private */
_errorChanged() {

@@ -124,2 +120,3 @@ if (this.error && !this._preventAutoEnable) {

/** @private */
__isValid(input) {

@@ -129,2 +126,3 @@ return (input.validate && input.validate()) || (input.checkValidity && input.checkValidity());

/** @private */
_isEnterKey(e) {

@@ -134,2 +132,3 @@ return e.key === 'Enter' || e.keyCode === 13;

/** @private */
_handleInputKeydown(e) {

@@ -150,2 +149,3 @@ if (this._isEnterKey(e)) {

/** @private */
_handleInputKeyup(e) {

@@ -152,0 +152,0 @@ const isTab = e.key === 'Tab' || e.keyCode === 9;

@@ -16,3 +16,3 @@ /**

* @event forgot-password
*/
*/

@@ -25,3 +25,3 @@ /**

*
*/
*/

@@ -33,2 +33,3 @@ static get properties() {

* The `login` event is also dispatched, so `event.preventDefault()` can be called to prevent the POST call.
* @type {string | null}
*/

@@ -40,2 +41,3 @@ action: {

},
/**

@@ -45,2 +47,3 @@ * If set, disable the "Log in" button and prevent user from submitting login form.

* after user makes changes.
* @type {boolean}
*/

@@ -52,5 +55,7 @@ disabled: {

},
/**
* If set, the error message is shown. The message is hidden by default.
* When set, it changes the disabled state of the submit button.
* @type {boolean}
*/

@@ -63,4 +68,6 @@ error: {

},
/**
* Whether to hide the forgot password button. The button is visible by default.
* @type {boolean}
*/

@@ -100,3 +107,3 @@ noForgotPassword: {

}
*
* @type {!LoginI18n}
* @default {English/US}

@@ -126,2 +133,3 @@ */

* If set, prevents auto enabling the component when error property is set to true.
* @private
*/

@@ -135,2 +143,6 @@ _preventAutoEnable: {

/**
* @param {!Event} e
* @protected
*/
_retargetEvent(e) {

@@ -137,0 +149,0 @@ e.stopPropagation();

@@ -33,3 +33,3 @@ /**

* @mixes ThemableMixin
* @mixes Login.LoginMixin
* @mixes LoginMixin
* @demo demo/index.html

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

* Defines the application description
* @type {string}
*/

@@ -65,4 +66,6 @@ description: {

},
/**
* True if the overlay is currently displayed.
* @type {boolean}
*/

@@ -74,4 +77,6 @@ opened: {

},
/**
* Defines the application title
* @type {string}
*/

@@ -81,9 +86,2 @@ title: {

value: 'App name'
},
/**
* Defines the theme of the element.
* The value is propagated to vaadin-login-overlay-wrapper element.
*/
theme: {
type: String
}

@@ -99,2 +97,3 @@ };

/** @protected */
ready() {

@@ -106,2 +105,3 @@ super.ready();

/** @protected */
connectedCallback() {

@@ -114,2 +114,3 @@ super.connectedCallback();

/** @protected */
disconnectedCallback() {

@@ -123,2 +124,3 @@ super.disconnectedCallback();

/** @private */
__i18nChanged(i18n) {

@@ -133,2 +135,3 @@ const header = i18n.base;

/** @private */
_preventClosingLogin(e) {

@@ -138,2 +141,3 @@ e.preventDefault();

/** @private */
_onOpenedChange() {

@@ -159,2 +163,3 @@ if (!this.opened) {

/** @private */
_teleport(elements) {

@@ -172,2 +177,3 @@ const teleported = Array.from(elements).map(e => {

/** @private */
_getElementsToTeleport() {

@@ -174,0 +180,0 @@ return this.querySelectorAll('[slot=title]');

import './theme/lumo/vaadin-login-form.js';
export * from './src/vaadin-login-form.js';
import './theme/lumo/vaadin-login-overlay.js';
export * from './src/vaadin-login-overlay.js';
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