@vaadin/custom-field 24.9.0-alpha1 → 24.9.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 +20 -20
- package/src/vaadin-custom-field.d.ts +9 -8
- package/src/vaadin-custom-field.js +9 -8
- package/web-types.json +4 -4
- package/web-types.lit.json +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/custom-field",
|
|
3
|
-
"version": "24.9.0-
|
|
3
|
+
"version": "24.9.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,33 +36,33 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/a11y-base": "24.9.0-
|
|
40
|
-
"@vaadin/component-base": "24.9.0-
|
|
41
|
-
"@vaadin/field-base": "24.9.0-
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "24.9.0-
|
|
43
|
-
"@vaadin/vaadin-material-styles": "24.9.0-
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "24.9.0-
|
|
39
|
+
"@vaadin/a11y-base": "24.9.0-beta1",
|
|
40
|
+
"@vaadin/component-base": "24.9.0-beta1",
|
|
41
|
+
"@vaadin/field-base": "24.9.0-beta1",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "24.9.0-beta1",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "24.9.0-beta1",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "24.9.0-beta1",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/chai-plugins": "24.9.0-
|
|
49
|
-
"@vaadin/combo-box": "24.9.0-
|
|
50
|
-
"@vaadin/date-picker": "24.9.0-
|
|
51
|
-
"@vaadin/email-field": "24.9.0-
|
|
52
|
-
"@vaadin/form-layout": "24.9.0-
|
|
53
|
-
"@vaadin/number-field": "24.9.0-
|
|
54
|
-
"@vaadin/password-field": "24.9.0-
|
|
55
|
-
"@vaadin/select": "24.9.0-
|
|
56
|
-
"@vaadin/test-runner-commands": "24.9.0-
|
|
48
|
+
"@vaadin/chai-plugins": "24.9.0-beta1",
|
|
49
|
+
"@vaadin/combo-box": "24.9.0-beta1",
|
|
50
|
+
"@vaadin/date-picker": "24.9.0-beta1",
|
|
51
|
+
"@vaadin/email-field": "24.9.0-beta1",
|
|
52
|
+
"@vaadin/form-layout": "24.9.0-beta1",
|
|
53
|
+
"@vaadin/number-field": "24.9.0-beta1",
|
|
54
|
+
"@vaadin/password-field": "24.9.0-beta1",
|
|
55
|
+
"@vaadin/select": "24.9.0-beta1",
|
|
56
|
+
"@vaadin/test-runner-commands": "24.9.0-beta1",
|
|
57
57
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
58
|
-
"@vaadin/text-area": "24.9.0-
|
|
59
|
-
"@vaadin/text-field": "24.9.0-
|
|
60
|
-
"@vaadin/time-picker": "24.9.0-
|
|
58
|
+
"@vaadin/text-area": "24.9.0-beta1",
|
|
59
|
+
"@vaadin/text-field": "24.9.0-beta1",
|
|
60
|
+
"@vaadin/time-picker": "24.9.0-beta1",
|
|
61
61
|
"sinon": "^18.0.0"
|
|
62
62
|
},
|
|
63
63
|
"web-types": [
|
|
64
64
|
"web-types.json",
|
|
65
65
|
"web-types.lit.json"
|
|
66
66
|
],
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "5f6e6e33217fef06e5d5cc52baa4d760969ef1e4"
|
|
68
68
|
}
|
|
@@ -77,14 +77,15 @@ export interface CustomFieldEventMap extends HTMLElementEventMap, CustomFieldCus
|
|
|
77
77
|
*
|
|
78
78
|
* The following state attributes are available for styling:
|
|
79
79
|
*
|
|
80
|
-
* Attribute | Description
|
|
81
|
-
*
|
|
82
|
-
* `invalid` | Set when the element is invalid
|
|
83
|
-
* `focused` | Set when the element is focused
|
|
84
|
-
* `has-label` | Set when the element has a label
|
|
85
|
-
* `has-value` | Set when the element has a value
|
|
86
|
-
* `has-helper` | Set when the element has helper text
|
|
87
|
-
* `has-error-message` | Set when the element has an error message
|
|
80
|
+
* Attribute | Description
|
|
81
|
+
* --------------------|--------------------------------
|
|
82
|
+
* `invalid` | Set when the element is invalid
|
|
83
|
+
* `focused` | Set when the element is focused
|
|
84
|
+
* `has-label` | Set when the element has a label
|
|
85
|
+
* `has-value` | Set when the element has a value
|
|
86
|
+
* `has-helper` | Set when the element has helper text
|
|
87
|
+
* `has-error-message` | Set when the element has an error message
|
|
88
|
+
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
88
89
|
*
|
|
89
90
|
* You may also manually set `disabled` or `readonly` attribute on this component to make the label
|
|
90
91
|
* part look visually the same as on a `<vaadin-text-field>` when it is disabled or readonly.
|
|
@@ -36,14 +36,15 @@ registerStyles('vaadin-custom-field', customFieldStyles, { moduleId: 'vaadin-cus
|
|
|
36
36
|
*
|
|
37
37
|
* The following state attributes are available for styling:
|
|
38
38
|
*
|
|
39
|
-
* Attribute | Description
|
|
40
|
-
*
|
|
41
|
-
* `invalid` | Set when the element is invalid
|
|
42
|
-
* `focused` | Set when the element is focused
|
|
43
|
-
* `has-label` | Set when the element has a label
|
|
44
|
-
* `has-value` | Set when the element has a value
|
|
45
|
-
* `has-helper` | Set when the element has helper text
|
|
46
|
-
* `has-error-message` | Set when the element has an error message
|
|
39
|
+
* Attribute | Description
|
|
40
|
+
* --------------------|--------------------------------
|
|
41
|
+
* `invalid` | Set when the element is invalid
|
|
42
|
+
* `focused` | Set when the element is focused
|
|
43
|
+
* `has-label` | Set when the element has a label
|
|
44
|
+
* `has-value` | Set when the element has a value
|
|
45
|
+
* `has-helper` | Set when the element has helper text
|
|
46
|
+
* `has-error-message` | Set when the element has an error message
|
|
47
|
+
* `has-tooltip` | Set when the element has a slotted tooltip
|
|
47
48
|
*
|
|
48
49
|
* You may also manually set `disabled` or `readonly` attribute on this component to make the label
|
|
49
50
|
* part look visually the same as on a `<vaadin-text-field>` when it is disabled or readonly.
|
package/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/custom-field",
|
|
4
|
-
"version": "24.9.0-
|
|
4
|
+
"version": "24.9.0-beta1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "vaadin-custom-field",
|
|
11
|
-
"description": "`<vaadin-custom-field>` is a web component for wrapping multiple components as a single field.\n\n```\n<vaadin-custom-field label=\"Appointment time\">\n <vaadin-date-picker></vaadin-date-picker>\n <vaadin-time-picker></vaadin-time-picker>\n</vaadin-custom-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n`input-fields` | The slotted input elements wrapper\n\nThe following state attributes are available for styling:\n\nAttribute | Description
|
|
11
|
+
"description": "`<vaadin-custom-field>` is a web component for wrapping multiple components as a single field.\n\n```\n<vaadin-custom-field label=\"Appointment time\">\n <vaadin-date-picker></vaadin-date-picker>\n <vaadin-time-picker></vaadin-time-picker>\n</vaadin-custom-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n`input-fields` | The slotted input elements wrapper\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n--------------------|--------------------------------\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`has-label` | Set when the element has a label\n`has-value` | Set when the element has a value\n`has-helper` | Set when the element has helper text\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n\nYou may also manually set `disabled` or `readonly` attribute on this component to make the label\npart look visually the same as on a `<vaadin-text-field>` when it is disabled or readonly.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
14
|
"name": "label",
|
|
@@ -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/24.9.0-
|
|
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/24.9.0-beta1/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta1/#/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/24.9.0-
|
|
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/24.9.0-beta1/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta1/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
|
|
239
239
|
"value": {
|
|
240
240
|
"type": [
|
|
241
241
|
"string",
|
package/web-types.lit.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.9.0-
|
|
4
|
+
"version": "24.9.0-beta1",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"elements": [
|
|
17
17
|
{
|
|
18
18
|
"name": "vaadin-custom-field",
|
|
19
|
-
"description": "`<vaadin-custom-field>` is a web component for wrapping multiple components as a single field.\n\n```\n<vaadin-custom-field label=\"Appointment time\">\n <vaadin-date-picker></vaadin-date-picker>\n <vaadin-time-picker></vaadin-time-picker>\n</vaadin-custom-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n`input-fields` | The slotted input elements wrapper\n\nThe following state attributes are available for styling:\n\nAttribute | Description
|
|
19
|
+
"description": "`<vaadin-custom-field>` is a web component for wrapping multiple components as a single field.\n\n```\n<vaadin-custom-field label=\"Appointment time\">\n <vaadin-date-picker></vaadin-date-picker>\n <vaadin-time-picker></vaadin-time-picker>\n</vaadin-custom-field>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n`input-fields` | The slotted input elements wrapper\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n--------------------|--------------------------------\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`has-label` | Set when the element has a label\n`has-value` | Set when the element has a value\n`has-helper` | Set when the element has helper text\n`has-error-message` | Set when the element has an error message\n`has-tooltip` | Set when the element has a slotted tooltip\n\nYou may also manually set `disabled` or `readonly` attribute on this component to make the label\npart look visually the same as on a `<vaadin-text-field>` when it is disabled or readonly.\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": [
|
|
22
22
|
{
|
|
@@ -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.9.0-
|
|
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.9.0-beta1/#/elements/vaadin-custom-field#property-formatValue)\nand [`parseValue`](https://cdn.vaadin.com/vaadin-web-components/24.9.0-beta1/#/elements/vaadin-custom-field#property-parseValue)\nproperties to customize this behavior.",
|
|
88
88
|
"value": {
|
|
89
89
|
"kind": "expression"
|
|
90
90
|
}
|