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

@vaadin/text-field

Package Overview
Dependencies
Maintainers
12
Versions
417
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/text-field - npm Package Compare versions

Comparing version 24.4.0-alpha1 to 24.4.0-alpha10

theme/lumo/vaadin-lit-text-field.d.ts

18

package.json
{
"name": "@vaadin/text-field",
"version": "24.4.0-alpha1",
"version": "24.4.0-alpha10",
"publishConfig": {

@@ -39,9 +39,9 @@ "access": "public"

"@polymer/polymer": "^3.0.0",
"@vaadin/a11y-base": "24.4.0-alpha1",
"@vaadin/component-base": "24.4.0-alpha1",
"@vaadin/field-base": "24.4.0-alpha1",
"@vaadin/input-container": "24.4.0-alpha1",
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha1",
"@vaadin/vaadin-material-styles": "24.4.0-alpha1",
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha1",
"@vaadin/a11y-base": "24.4.0-alpha10",
"@vaadin/component-base": "24.4.0-alpha10",
"@vaadin/field-base": "24.4.0-alpha10",
"@vaadin/input-container": "24.4.0-alpha10",
"@vaadin/vaadin-lumo-styles": "24.4.0-alpha10",
"@vaadin/vaadin-material-styles": "24.4.0-alpha10",
"@vaadin/vaadin-themable-mixin": "24.4.0-alpha10",
"lit": "^3.0.0"

@@ -58,3 +58,3 @@ },

],
"gitHead": "3e2ed41c99d618ff7def2734fd863c21c85775a3"
"gitHead": "c563c01d6ac5157f5a5885c8f6048d1cf4c727b4"
}
/**
* @license
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* Copyright (c) 2021 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
export * from './vaadin-text-field.js';
/**
* @license
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* Copyright (c) 2021 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import '@vaadin/input-container/src/vaadin-lit-input-container.js';
import { css, html, LitElement } from 'lit';
import { html, LitElement } from 'lit';
import { defineCustomElement } from '@vaadin/component-base/src/define.js';

@@ -21,3 +21,3 @@ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';

*
* This component is an experiment not intended for publishing to npm.
* This component is an experiment and not yet a part of Vaadin platform.
* There is no ETA regarding specific Vaadin version where it'll land.

@@ -32,10 +32,3 @@ * Feel free to try this code in your apps as per Apache 2.0 license.

static get styles() {
return [
inputFieldShared,
css`
[part='input-field'] {
flex-grow: 0;
}
`,
];
return [inputFieldShared];
}

@@ -61,4 +54,3 @@

<slot name="input"></slot>
<slot name="suffix" slot="suffix"></slot>
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
${this._renderSuffix()}
</vaadin-input-container>

@@ -88,4 +80,12 @@

}
/** @protected */
_renderSuffix() {
return html`
<slot name="suffix" slot="suffix"></slot>
<div id="clearButton" part="clear-button" slot="suffix" aria-hidden="true"></div>
`;
}
}
defineCustomElement(TextField);
/**
* @license
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* Copyright (c) 2021 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2021 - 2023 Vaadin Ltd.
* Copyright (c) 2021 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

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

return html`
<style>
[part='input-field'] {
flex-grow: 0;
}
</style>
<div class="vaadin-field-container">

@@ -101,0 +95,0 @@ <div part="label">

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

/**
* @license
* Copyright (c) 2017 - 2023 Vaadin Ltd.
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -5,0 +5,0 @@ */

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/text-field",
"version": "24.4.0-alpha1",
"version": "24.4.0-alpha10",
"description-markup": "markdown",

@@ -6,0 +6,0 @@ "contributions": {

{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/text-field",
"version": "24.4.0-alpha1",
"version": "24.4.0-alpha10",
"description-markup": "markdown",

@@ -6,0 +6,0 @@ "framework": "lit",

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