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.1.7 to 23.1.8

6

package.json
{
"name": "@vaadin/field-base",
"version": "23.1.7",
"version": "23.1.8",
"publishConfig": {

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

"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "~23.1.7",
"@vaadin/component-base": "~23.1.8",
"lit": "^2.0.0"

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

},
"gitHead": "879a4e5e6a245809bafa0ef2b5cdb24aef72565d"
"gitHead": "297e4e51743751bed97f5400e661529a7d550870"
}

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

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

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

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

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

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

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

@@ -20,6 +21,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)))),
) {

@@ -97,2 +99,15 @@ static get properties() {

/** @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() {

@@ -99,0 +114,0 @@ super.ready();

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

import { LabelMixinClass } from './label-mixin.js';
import { SlotStylesMixinClass } from './slot-styles-mixin.js';
import { 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