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

@vaadin/field-base

Package Overview
Dependencies
Maintainers
14
Versions
402
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-alpha3 to 23.1.0-alpha4

6

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

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

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.1.0-alpha3",
"@vaadin/component-base": "23.1.0-alpha4",
"lit": "^2.0.0"

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

},
"gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71"
}

@@ -15,3 +15,3 @@ /**

export declare function CheckedMixin<T extends Constructor<object>>(
base: T
base: T,
): T &

@@ -18,0 +18,0 @@ Constructor<CheckedMixinClass> &

@@ -32,4 +32,4 @@ /**

notify: true,
reflectToAttribute: true
}
reflectToAttribute: true,
},
};

@@ -54,3 +54,3 @@ }

}
}
},
);

@@ -15,3 +15,3 @@ /**

export declare function DelegateFocusMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T &

@@ -18,0 +18,0 @@ Constructor<DelegateFocusMixinClass> &

@@ -26,3 +26,3 @@ /**

autofocus: {
type: Boolean
type: Boolean,
},

@@ -45,3 +45,3 @@

readOnly: true,
observer: '_focusElementChanged'
observer: '_focusElementChanged',
},

@@ -58,4 +58,4 @@

_lastTabIndex: {
value: 0
}
value: 0,
},
};

@@ -230,3 +230,3 @@ }

}
}
},
);

@@ -12,3 +12,3 @@ /**

export declare function DelegateStateMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T & Constructor<DelegateStateMixinClass>;

@@ -15,0 +15,0 @@

@@ -24,4 +24,4 @@ /**

type: Object,
observer: '_stateTargetChanged'
}
observer: '_stateTargetChanged',
},
};

@@ -125,3 +125,3 @@ }

}
}
},
);

@@ -21,3 +21,3 @@ /**

this.__updateHasError();
}
},
);

@@ -24,0 +24,0 @@ }

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

export declare function FieldMixin<T extends Constructor<HTMLElement>>(
superclass: T
superclass: T,
): T &

@@ -19,0 +19,0 @@ Constructor<ControllerMixinClass> &

@@ -31,3 +31,3 @@ /**

type: Object,
observer: '_ariaTargetChanged'
observer: '_ariaTargetChanged',
},

@@ -42,3 +42,3 @@

type: String,
observer: '_errorMessageChanged'
observer: '_errorMessageChanged',
},

@@ -52,7 +52,7 @@

type: String,
observer: '_helperTextChanged'
observer: '_helperTextChanged',
},
/** @protected */
_helperId: String
_helperId: String,
};

@@ -59,0 +59,0 @@ }

@@ -154,3 +154,3 @@ /**

subtree: true,
characterData: true
characterData: true,
});

@@ -171,5 +171,5 @@ }

hasHelper,
node: this.node
}
})
node: this.node,
},
}),
);

@@ -176,0 +176,0 @@ }

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

export declare function InputConstraintsMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T &

@@ -19,0 +19,0 @@ Constructor<DelegateStateMixinClass> &

@@ -111,7 +111,7 @@ /**

detail: {
sourceEvent: event
sourceEvent: event,
},
bubbles: event.bubbles,
cancelable: event.cancelable
})
cancelable: event.cancelable,
}),
);

@@ -125,3 +125,3 @@ }

}
}
},
);

@@ -23,3 +23,3 @@ /**

export declare function InputControlMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T &

@@ -26,0 +26,0 @@ Constructor<ControllerMixinClass> &

@@ -22,3 +22,3 @@ /**

class InputControlMixinClass extends DelegateFocusMixin(
InputConstraintsMixin(FieldMixin(KeyboardMixin(superclass)))
InputConstraintsMixin(FieldMixin(KeyboardMixin(superclass))),
) {

@@ -32,3 +32,3 @@ static get properties() {

type: Boolean,
value: false
value: false,
},

@@ -43,3 +43,3 @@

reflectToAttribute: true,
value: false
value: false,
},

@@ -52,3 +52,3 @@

type: String,
reflectToAttribute: true
reflectToAttribute: true,
},

@@ -61,3 +61,3 @@

type: String,
reflectToAttribute: true
reflectToAttribute: true,
},

@@ -71,3 +71,3 @@

value: false,
reflectToAttribute: true
reflectToAttribute: true,
},

@@ -80,4 +80,4 @@

type: String,
reflectToAttribute: true
}
reflectToAttribute: true,
},
};

@@ -166,7 +166,7 @@ }

detail: {
sourceEvent: event
sourceEvent: event,
},
bubbles: event.bubbles,
cancelable: event.cancelable
})
cancelable: event.cancelable,
}),
);

@@ -173,0 +173,0 @@ }

@@ -30,8 +30,8 @@ /**

if (typeof callback == 'function') {
if (typeof callback === 'function') {
callback(node);
}
}
},
);
}
}

@@ -24,3 +24,3 @@ /**

export declare function InputFieldMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T &

@@ -27,0 +27,0 @@ Constructor<ControllerMixinClass> &

@@ -24,3 +24,3 @@ /**

autocomplete: {
type: String
type: String,
},

@@ -36,3 +36,3 @@

autocorrect: {
type: String
type: String,
},

@@ -50,3 +50,3 @@

autocapitalize: {
type: String
type: String,
},

@@ -67,4 +67,4 @@

type: String,
observer: '_enabledCharPatternChanged'
}
observer: '_enabledCharPatternChanged',
},
};

@@ -245,6 +245,6 @@ }

if (charPattern) {
this.__enabledCharRegExp = new RegExp('^' + charPattern + '$');
this.__enabledTextRegExp = new RegExp('^' + charPattern + '*$');
this.__enabledCharRegExp = new RegExp(`^${charPattern}$`);
this.__enabledTextRegExp = new RegExp(`^${charPattern}*$`);
}
}
};

@@ -34,3 +34,3 @@ /**

readOnly: true,
observer: '_inputElementChanged'
observer: '_inputElementChanged',
},

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

type: String,
readOnly: true
readOnly: true,
},

@@ -55,4 +55,4 @@

observer: '_valueChanged',
notify: true
}
notify: true,
},
};

@@ -111,3 +111,3 @@ }

if (value != undefined) {
if (value != null) {
this.inputElement.value = value;

@@ -183,3 +183,3 @@ } else {

}
}
},
);

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

this.__observeLabel(node);
}
},
);

@@ -142,3 +142,3 @@ }

subtree: true,
characterData: true
characterData: true,
});

@@ -159,5 +159,5 @@ }

hasLabel,
node: this.node
}
})
node: this.node,
},
}),
);

@@ -164,0 +164,0 @@ }

@@ -14,3 +14,3 @@ /**

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

@@ -17,0 +17,0 @@

@@ -27,4 +27,4 @@ /**

type: String,
observer: '_labelChanged'
}
observer: '_labelChanged',
},
};

@@ -54,3 +54,3 @@ }

}
}
},
);

@@ -17,3 +17,3 @@ /**

export declare function PatternMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T &

@@ -20,0 +20,0 @@ Constructor<DelegateStateMixinClass> &

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

pattern: {
type: String
type: String,
},

@@ -35,4 +35,4 @@

preventInvalidInput: {
type: Boolean
}
type: Boolean,
},
};

@@ -39,0 +39,0 @@ }

@@ -17,3 +17,3 @@ /**

export declare function ShadowFocusMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T &

@@ -20,0 +20,0 @@ Constructor<DelegateFocusMixinClass> &

@@ -28,4 +28,4 @@ /**

type: Number,
value: 0
}
value: 0,
},
};

@@ -32,0 +32,0 @@ }

@@ -13,3 +13,3 @@ /**

export declare function SlotStylesMixin<T extends Constructor<HTMLElement>>(
base: T
base: T,
): T & Constructor<SlotStylesMixinClass>;

@@ -16,0 +16,0 @@

@@ -75,3 +75,3 @@ /**

}
}
},
);

@@ -12,3 +12,3 @@ /**

targetFactory: () => HTMLElement,
copyCallback?: (nodes: HTMLElement[]) => void
copyCallback?: (nodes: HTMLElement[]) => void,
);

@@ -15,0 +15,0 @@

@@ -76,3 +76,3 @@ /**

.assignedNodes({ flatten: true })
.filter((node) => !(node.nodeType == Node.TEXT_NODE && node.textContent.trim() === ''));
.filter((node) => !(node.nodeType === Node.TEXT_NODE && node.textContent.trim() === ''));

@@ -111,3 +111,3 @@ if (nodes.length > 0) {

subtree: true,
characterData: true
characterData: true,
});

@@ -114,0 +114,0 @@ });

@@ -33,8 +33,8 @@ /**

if (typeof callback == 'function') {
if (typeof callback === 'function') {
callback(node);
}
}
},
);
}
}

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

notify: true,
value: false
value: false,
},

@@ -34,4 +34,4 @@

type: Boolean,
reflectToAttribute: true
}
reflectToAttribute: true,
},
};

@@ -57,3 +57,3 @@ }

}
}
},
);
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