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

@vaadin/field-base

Package Overview
Dependencies
Maintainers
12
Versions
397
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.2.0 to 23.3.0-alpha1

6

package.json
{
"name": "@vaadin/field-base",
"version": "23.2.0",
"version": "23.3.0-alpha1",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "^23.2.0",
"@vaadin/component-base": "23.3.0-alpha1",
"lit": "^2.0.0"

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

},
"gitHead": "8b1f5941f26ac41ca038e75e24c8584e331bc7a8"
"gitHead": "beabc527d4b1274eb798ff701d406fed45cfe638"
}

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

import type { LabelMixinClass } from './label-mixin.js';
import type { SlotStylesMixinClass } from './slot-styles-mixin.js';
import type { ValidateMixinClass } from './validate-mixin.js';

@@ -36,2 +37,3 @@

Constructor<LabelMixinClass> &
Constructor<SlotStylesMixinClass> &
Constructor<ValidateMixinClass> &

@@ -51,2 +53,3 @@ T;

* `allowedCharPattern = "[\\d-]"`
* @attr {string} allowed-char-pattern
*/

@@ -53,0 +56,0 @@ allowedCharPattern: string;

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

import { InputConstraintsMixin } from './input-constraints-mixin.js';
import { SlotStylesMixin } from './slot-styles-mixin.js';

@@ -22,6 +23,7 @@ /**

* @mixes KeyboardMixin
* @mixes SlotStylesMixin
*/
export const InputControlMixin = (superclass) =>
class InputControlMixinClass extends DelegateFocusMixin(
InputConstraintsMixin(FieldMixin(KeyboardMixin(superclass))),
class InputControlMixinClass extends SlotStylesMixin(
DelegateFocusMixin(InputConstraintsMixin(FieldMixin(KeyboardMixin(superclass)))),
) {

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

* `allowedCharPattern = "[\\d-]"`
* @attr {string} allowed-char-pattern
*/

@@ -124,2 +127,15 @@ allowedCharPattern: {

/** @protected */
get slotStyles() {
// Needed for Safari, where ::slotted(...)::placeholder does not work
return [
`
:is(input[slot='input'], textarea[slot='textarea'])::placeholder {
font: inherit;
color: inherit;
}
`,
];
}
/** @protected */
ready() {

@@ -126,0 +142,0 @@ super.ready();

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

import type { LabelMixinClass } from './label-mixin.js';
import type { SlotStylesMixinClass } from './slot-styles-mixin.js';
import type { ValidateMixinClass } from './validate-mixin.js';

@@ -38,2 +39,3 @@

Constructor<LabelMixinClass> &
Constructor<SlotStylesMixinClass> &
Constructor<ValidateMixinClass> &

@@ -40,0 +42,0 @@ T;

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