@vaadin/custom-field 24.0.5 → 24.1.0-alpha10

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/README.md CHANGED
@@ -15,7 +15,7 @@ A web component for wrapping multiple components as a single field.
15
15
  </vaadin-custom-field>
16
16
  ```
17
17
 
18
- [<img src="https://raw.githubusercontent.com/vaadin/web-components/master/packages/custom-field/screenshot.png" width="401" alt="Screenshot of vaadin-custom-field">](https://vaadin.com/docs/latest/components/custom-field)
18
+ [<img src="https://raw.githubusercontent.com/vaadin/web-components/main/packages/custom-field/screenshot.png" width="401" alt="Screenshot of vaadin-custom-field">](https://vaadin.com/docs/latest/components/custom-field)
19
19
 
20
20
  ## Installation
21
21
 
@@ -34,7 +34,7 @@ import '@vaadin/custom-field';
34
34
  ## Themes
35
35
 
36
36
  Vaadin components come with two built-in [themes](https://vaadin.com/docs/latest/styling), Lumo and Material.
37
- The [main entrypoint](https://github.com/vaadin/web-components/blob/master/packages/custom-field/vaadin-custom-field.js) of the package uses the Lumo theme.
37
+ The [main entrypoint](https://github.com/vaadin/web-components/blob/main/packages/custom-field/vaadin-custom-field.js) of the package uses the Lumo theme.
38
38
 
39
39
  To use the Material theme, import the component from the `theme/material` folder:
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/custom-field",
3
- "version": "24.0.5",
3
+ "version": "24.1.0-alpha10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,30 +35,31 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@polymer/polymer": "^3.0.0",
38
- "@vaadin/component-base": "~24.0.5",
39
- "@vaadin/field-base": "~24.0.5",
40
- "@vaadin/vaadin-lumo-styles": "~24.0.5",
41
- "@vaadin/vaadin-material-styles": "~24.0.5",
42
- "@vaadin/vaadin-themable-mixin": "~24.0.5"
38
+ "@vaadin/a11y-base": "24.1.0-alpha10",
39
+ "@vaadin/component-base": "24.1.0-alpha10",
40
+ "@vaadin/field-base": "24.1.0-alpha10",
41
+ "@vaadin/vaadin-lumo-styles": "24.1.0-alpha10",
42
+ "@vaadin/vaadin-material-styles": "24.1.0-alpha10",
43
+ "@vaadin/vaadin-themable-mixin": "24.1.0-alpha10"
43
44
  },
44
45
  "devDependencies": {
45
46
  "@esm-bundle/chai": "^4.3.4",
46
- "@vaadin/combo-box": "~24.0.5",
47
- "@vaadin/date-picker": "~24.0.5",
48
- "@vaadin/email-field": "~24.0.5",
49
- "@vaadin/form-layout": "~24.0.5",
50
- "@vaadin/number-field": "~24.0.5",
51
- "@vaadin/password-field": "~24.0.5",
52
- "@vaadin/select": "~24.0.5",
47
+ "@vaadin/combo-box": "24.1.0-alpha10",
48
+ "@vaadin/date-picker": "24.1.0-alpha10",
49
+ "@vaadin/email-field": "24.1.0-alpha10",
50
+ "@vaadin/form-layout": "24.1.0-alpha10",
51
+ "@vaadin/number-field": "24.1.0-alpha10",
52
+ "@vaadin/password-field": "24.1.0-alpha10",
53
+ "@vaadin/select": "24.1.0-alpha10",
53
54
  "@vaadin/testing-helpers": "^0.4.0",
54
- "@vaadin/text-area": "~24.0.5",
55
- "@vaadin/text-field": "~24.0.5",
56
- "@vaadin/time-picker": "~24.0.5",
55
+ "@vaadin/text-area": "24.1.0-alpha10",
56
+ "@vaadin/text-field": "24.1.0-alpha10",
57
+ "@vaadin/time-picker": "24.1.0-alpha10",
57
58
  "sinon": "^13.0.2"
58
59
  },
59
60
  "web-types": [
60
61
  "web-types.json",
61
62
  "web-types.lit.json"
62
63
  ],
63
- "gitHead": "e384c1b5c02e01a4382a433f727d075de9a4ee97"
64
+ "gitHead": "12e39be7eb3b49c68708e8ca3de2fb22e91051a1"
64
65
  }
@@ -3,9 +3,9 @@
3
3
  * Copyright (c) 2019 - 2023 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
5
  */
6
+ import { FocusMixin } from '@vaadin/a11y-base/src/focus-mixin.js';
7
+ import { KeyboardMixin } from '@vaadin/a11y-base/src/keyboard-mixin.js';
6
8
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
7
- import { FocusMixin } from '@vaadin/component-base/src/focus-mixin.js';
8
- import { KeyboardMixin } from '@vaadin/component-base/src/keyboard-mixin.js';
9
9
  import { FieldMixin } from '@vaadin/field-base/src/field-mixin.js';
10
10
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
11
11
 
@@ -5,9 +5,9 @@
5
5
  */
6
6
  import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
7
7
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
8
+ import { FocusMixin } from '@vaadin/a11y-base/src/focus-mixin.js';
9
+ import { KeyboardMixin } from '@vaadin/a11y-base/src/keyboard-mixin.js';
8
10
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
9
- import { FocusMixin } from '@vaadin/component-base/src/focus-mixin.js';
10
- import { KeyboardMixin } from '@vaadin/component-base/src/keyboard-mixin.js';
11
11
  import { TooltipController } from '@vaadin/component-base/src/tooltip-controller.js';
12
12
  import { FieldMixin } from '@vaadin/field-base/src/field-mixin.js';
13
13
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
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.0.5",
4
+ "version": "24.1.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -65,6 +65,28 @@
65
65
  ]
66
66
  }
67
67
  },
68
+ {
69
+ "name": "accessible-name",
70
+ "description": "String used to label the component to screen reader users.",
71
+ "value": {
72
+ "type": [
73
+ "string",
74
+ "null",
75
+ "undefined"
76
+ ]
77
+ }
78
+ },
79
+ {
80
+ "name": "accessible-name-ref",
81
+ "description": "Id of the element used as label of the component to screen reader users.",
82
+ "value": {
83
+ "type": [
84
+ "string",
85
+ "null",
86
+ "undefined"
87
+ ]
88
+ }
89
+ },
68
90
  {
69
91
  "name": "name",
70
92
  "description": "The name of the control, which is submitted with the form data.",
@@ -78,7 +100,7 @@
78
100
  },
79
101
  {
80
102
  "name": "value",
81
- "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.0.5/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.0.5/#/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.1.0-alpha10/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.1.0-alpha10/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
82
104
  "value": {
83
105
  "type": [
84
106
  "string",
@@ -156,6 +178,28 @@
156
178
  ]
157
179
  }
158
180
  },
181
+ {
182
+ "name": "accessibleName",
183
+ "description": "String used to label the component to screen reader users.",
184
+ "value": {
185
+ "type": [
186
+ "string",
187
+ "null",
188
+ "undefined"
189
+ ]
190
+ }
191
+ },
192
+ {
193
+ "name": "accessibleNameRef",
194
+ "description": "Id of the element used as label of the component to screen reader users.",
195
+ "value": {
196
+ "type": [
197
+ "string",
198
+ "null",
199
+ "undefined"
200
+ ]
201
+ }
202
+ },
159
203
  {
160
204
  "name": "name",
161
205
  "description": "The name of the control, which is submitted with the form data.",
@@ -169,7 +213,7 @@
169
213
  },
170
214
  {
171
215
  "name": "value",
172
- "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.0.5/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.0.5/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
216
+ "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.1.0-alpha10/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.1.0-alpha10/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
173
217
  "value": {
174
218
  "type": [
175
219
  "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.0.5",
4
+ "version": "24.1.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -54,6 +54,20 @@
54
54
  "kind": "expression"
55
55
  }
56
56
  },
57
+ {
58
+ "name": ".accessibleName",
59
+ "description": "String used to label the component to screen reader users.",
60
+ "value": {
61
+ "kind": "expression"
62
+ }
63
+ },
64
+ {
65
+ "name": ".accessibleNameRef",
66
+ "description": "Id of the element used as label of the component to screen reader users.",
67
+ "value": {
68
+ "kind": "expression"
69
+ }
70
+ },
57
71
  {
58
72
  "name": ".name",
59
73
  "description": "The name of the control, which is submitted with the form data.",
@@ -63,7 +77,7 @@
63
77
  },
64
78
  {
65
79
  "name": ".value",
66
- "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.0.5/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.0.5/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
80
+ "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.1.0-alpha10/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.1.0-alpha10/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
67
81
  "value": {
68
82
  "kind": "expression"
69
83
  }