@vaadin/custom-field 25.0.0-beta4 → 25.0.0-beta6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/custom-field",
3
- "version": "25.0.0-beta4",
3
+ "version": "25.0.0-beta6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,32 +34,32 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@open-wc/dedupe-mixin": "^1.3.0",
37
- "@vaadin/a11y-base": "25.0.0-beta4",
38
- "@vaadin/component-base": "25.0.0-beta4",
39
- "@vaadin/field-base": "25.0.0-beta4",
40
- "@vaadin/vaadin-themable-mixin": "25.0.0-beta4",
37
+ "@vaadin/a11y-base": "25.0.0-beta6",
38
+ "@vaadin/component-base": "25.0.0-beta6",
39
+ "@vaadin/field-base": "25.0.0-beta6",
40
+ "@vaadin/vaadin-themable-mixin": "25.0.0-beta6",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/chai-plugins": "25.0.0-beta4",
45
- "@vaadin/combo-box": "25.0.0-beta4",
46
- "@vaadin/date-picker": "25.0.0-beta4",
47
- "@vaadin/email-field": "25.0.0-beta4",
48
- "@vaadin/form-layout": "25.0.0-beta4",
49
- "@vaadin/number-field": "25.0.0-beta4",
50
- "@vaadin/password-field": "25.0.0-beta4",
51
- "@vaadin/select": "25.0.0-beta4",
52
- "@vaadin/test-runner-commands": "25.0.0-beta4",
44
+ "@vaadin/chai-plugins": "25.0.0-beta6",
45
+ "@vaadin/combo-box": "25.0.0-beta6",
46
+ "@vaadin/date-picker": "25.0.0-beta6",
47
+ "@vaadin/email-field": "25.0.0-beta6",
48
+ "@vaadin/form-layout": "25.0.0-beta6",
49
+ "@vaadin/number-field": "25.0.0-beta6",
50
+ "@vaadin/password-field": "25.0.0-beta6",
51
+ "@vaadin/select": "25.0.0-beta6",
52
+ "@vaadin/test-runner-commands": "25.0.0-beta6",
53
53
  "@vaadin/testing-helpers": "^2.0.0",
54
- "@vaadin/text-area": "25.0.0-beta4",
55
- "@vaadin/text-field": "25.0.0-beta4",
56
- "@vaadin/time-picker": "25.0.0-beta4",
57
- "@vaadin/vaadin-lumo-styles": "25.0.0-beta4",
54
+ "@vaadin/text-area": "25.0.0-beta6",
55
+ "@vaadin/text-field": "25.0.0-beta6",
56
+ "@vaadin/time-picker": "25.0.0-beta6",
57
+ "@vaadin/vaadin-lumo-styles": "25.0.0-beta6",
58
58
  "sinon": "^21.0.0"
59
59
  },
60
60
  "web-types": [
61
61
  "web-types.json",
62
62
  "web-types.lit.json"
63
63
  ],
64
- "gitHead": "707c30af7ed0afacc13c0afb27d047b043160d1f"
64
+ "gitHead": "b6b638bee18aa62f095e0a0b7bf16a39db756f84"
65
65
  }
@@ -7,9 +7,9 @@ import { html, LitElement } from 'lit';
7
7
  import { defineCustomElement } from '@vaadin/component-base/src/define.js';
8
8
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
9
9
  import { PolylitMixin } from '@vaadin/component-base/src/polylit-mixin.js';
10
+ import { field } from '@vaadin/field-base/src/styles/field-base-styles.js';
10
11
  import { LumoInjectionMixin } from '@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js';
11
12
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
12
- import { customFieldStyles } from './styles/vaadin-custom-field-base-styles.js';
13
13
  import { CustomFieldMixin } from './vaadin-custom-field-mixin.js';
14
14
 
15
15
  /**
@@ -68,7 +68,7 @@ class CustomField extends CustomFieldMixin(ThemableMixin(ElementMixin(PolylitMix
68
68
  }
69
69
 
70
70
  static get styles() {
71
- return customFieldStyles;
71
+ return field;
72
72
  }
73
73
 
74
74
  /** @protected */
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/custom-field",
4
- "version": "25.0.0-beta4",
4
+ "version": "25.0.0-beta6",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -111,7 +111,7 @@
111
111
  },
112
112
  {
113
113
  "name": "value",
114
- "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta4/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta4/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
114
+ "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta6/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta6/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
115
115
  "value": {
116
116
  "type": [
117
117
  "string",
@@ -235,7 +235,7 @@
235
235
  },
236
236
  {
237
237
  "name": "value",
238
- "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta4/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta4/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
238
+ "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta6/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta6/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
239
239
  "value": {
240
240
  "type": [
241
241
  "string",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/custom-field",
4
- "version": "25.0.0-beta4",
4
+ "version": "25.0.0-beta6",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -84,7 +84,7 @@
84
84
  },
85
85
  {
86
86
  "name": ".value",
87
- "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta4/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta4/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
87
+ "description": "The value of the field. When wrapping several inputs, it will contain `\\t`\n(Tab character) as a delimiter indicating parts intended to be used as the\ncorresponding inputs values.\nUse the [`formatValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta6/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/25.0.0-beta6/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
88
88
  "value": {
89
89
  "kind": "expression"
90
90
  }
@@ -1,8 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import type { CSSResult } from 'lit';
7
-
8
- export const customFieldStyles: CSSResult;
@@ -1,20 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (c) 2019 - 2025 Vaadin Ltd.
4
- * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */
6
- import { css } from 'lit';
7
- import { container } from '@vaadin/field-base/src/styles/container-base-styles.js';
8
- import { field } from '@vaadin/field-base/src/styles/field-base-styles.js';
9
-
10
- const customField = css`
11
- .vaadin-custom-field-container {
12
- width: 100%;
13
- }
14
-
15
- .inputs-wrapper {
16
- flex: none;
17
- }
18
- `;
19
-
20
- export const customFieldStyles = [field, container, customField];