@vaadin/custom-field 24.2.0-alpha9 → 24.2.0-beta1

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": "24.2.0-alpha9",
3
+ "version": "24.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,31 +38,31 @@
38
38
  "dependencies": {
39
39
  "@open-wc/dedupe-mixin": "^1.3.0",
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/a11y-base": "24.2.0-alpha9",
42
- "@vaadin/component-base": "24.2.0-alpha9",
43
- "@vaadin/field-base": "24.2.0-alpha9",
44
- "@vaadin/vaadin-lumo-styles": "24.2.0-alpha9",
45
- "@vaadin/vaadin-material-styles": "24.2.0-alpha9",
46
- "@vaadin/vaadin-themable-mixin": "24.2.0-alpha9"
41
+ "@vaadin/a11y-base": "24.2.0-beta1",
42
+ "@vaadin/component-base": "24.2.0-beta1",
43
+ "@vaadin/field-base": "24.2.0-beta1",
44
+ "@vaadin/vaadin-lumo-styles": "24.2.0-beta1",
45
+ "@vaadin/vaadin-material-styles": "24.2.0-beta1",
46
+ "@vaadin/vaadin-themable-mixin": "24.2.0-beta1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@esm-bundle/chai": "^4.3.4",
50
- "@vaadin/combo-box": "24.2.0-alpha9",
51
- "@vaadin/date-picker": "24.2.0-alpha9",
52
- "@vaadin/email-field": "24.2.0-alpha9",
53
- "@vaadin/form-layout": "24.2.0-alpha9",
54
- "@vaadin/number-field": "24.2.0-alpha9",
55
- "@vaadin/password-field": "24.2.0-alpha9",
56
- "@vaadin/select": "24.2.0-alpha9",
50
+ "@vaadin/combo-box": "24.2.0-beta1",
51
+ "@vaadin/date-picker": "24.2.0-beta1",
52
+ "@vaadin/email-field": "24.2.0-beta1",
53
+ "@vaadin/form-layout": "24.2.0-beta1",
54
+ "@vaadin/number-field": "24.2.0-beta1",
55
+ "@vaadin/password-field": "24.2.0-beta1",
56
+ "@vaadin/select": "24.2.0-beta1",
57
57
  "@vaadin/testing-helpers": "^0.5.0",
58
- "@vaadin/text-area": "24.2.0-alpha9",
59
- "@vaadin/text-field": "24.2.0-alpha9",
60
- "@vaadin/time-picker": "24.2.0-alpha9",
58
+ "@vaadin/text-area": "24.2.0-beta1",
59
+ "@vaadin/text-field": "24.2.0-beta1",
60
+ "@vaadin/time-picker": "24.2.0-beta1",
61
61
  "sinon": "^13.0.2"
62
62
  },
63
63
  "web-types": [
64
64
  "web-types.json",
65
65
  "web-types.lit.json"
66
66
  ],
67
- "gitHead": "e9765733fea96542e379e02e6f42b07145893140"
67
+ "gitHead": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
68
68
  }
@@ -4,6 +4,7 @@
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
6
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
7
+ import { defineCustomElement } from '@vaadin/component-base/src/define.js';
7
8
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
8
9
  import { registerStyles, ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
9
10
  import { CustomFieldMixin } from './vaadin-custom-field-mixin.js';
@@ -55,6 +56,7 @@ registerStyles('vaadin-custom-field', customFieldStyles, { moduleId: 'vaadin-cus
55
56
  * @fires {CustomEvent} value-changed - Fired when the `value` property changes.
56
57
  * @fires {CustomEvent} validated - Fired whenever the field is validated.
57
58
  *
59
+ * @customElement
58
60
  * @extends HTMLElement
59
61
  * @mixes CustomFieldMixin
60
62
  * @mixes ElementMixin
@@ -97,6 +99,6 @@ class CustomField extends CustomFieldMixin(ThemableMixin(ElementMixin(PolymerEle
97
99
  */
98
100
  }
99
101
 
100
- customElements.define(CustomField.is, CustomField);
102
+ defineCustomElement(CustomField);
101
103
 
102
104
  export { CustomField };
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": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -100,7 +100,7 @@
100
100
  },
101
101
  {
102
102
  "name": "value",
103
- "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/24.2.0-alpha9/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha9/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
103
+ "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/24.2.0-beta1/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta1/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
104
104
  "value": {
105
105
  "type": [
106
106
  "string",
@@ -224,7 +224,7 @@
224
224
  },
225
225
  {
226
226
  "name": "value",
227
- "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/24.2.0-alpha9/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha9/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
227
+ "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/24.2.0-beta1/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta1/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
228
228
  "value": {
229
229
  "type": [
230
230
  "string",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/custom-field",
4
- "version": "24.2.0-alpha9",
4
+ "version": "24.2.0-beta1",
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/24.2.0-alpha9/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-alpha9/#/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/24.2.0-beta1/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.2.0-beta1/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
88
88
  "value": {
89
89
  "kind": "expression"
90
90
  }