@vaadin/field-base 24.5.0-alpha7 → 24.5.0-alpha9
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 +1 -1
- package/package.json +7 -7
- package/src/input-controller.js +4 -1
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ A set of mixins and controllers used by Vaadin field components.
|
|
|
4
4
|
|
|
5
5
|
## Contributing
|
|
6
6
|
|
|
7
|
-
Read the [contributing guide](https://vaadin.com/docs/latest/contributing
|
|
7
|
+
Read the [contributing guide](https://vaadin.com/docs/latest/contributing) to learn about our development process, how to propose bugfixes and improvements, and how to test your changes to Vaadin components.
|
|
8
8
|
|
|
9
9
|
## License
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/field-base",
|
|
3
|
-
"version": "24.5.0-
|
|
3
|
+
"version": "24.5.0-alpha9",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
34
34
|
"@polymer/polymer": "^3.0.0",
|
|
35
|
-
"@vaadin/a11y-base": "24.5.0-
|
|
36
|
-
"@vaadin/component-base": "24.5.0-
|
|
35
|
+
"@vaadin/a11y-base": "24.5.0-alpha9",
|
|
36
|
+
"@vaadin/component-base": "24.5.0-alpha9",
|
|
37
37
|
"lit": "^3.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@
|
|
41
|
-
"@vaadin/testing-helpers": "^0.
|
|
42
|
-
"sinon": "^
|
|
40
|
+
"@vaadin/chai-plugins": "24.5.0-alpha9",
|
|
41
|
+
"@vaadin/testing-helpers": "^1.0.0",
|
|
42
|
+
"sinon": "^18.0.0"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "804744762f3bec0a2247c4bbcbbb204dbcd78bc0"
|
|
45
45
|
}
|
package/src/input-controller.js
CHANGED
|
@@ -9,7 +9,9 @@ import { SlotController } from '@vaadin/component-base/src/slot-controller.js';
|
|
|
9
9
|
* A controller to create and initialize slotted `<input>` element.
|
|
10
10
|
*/
|
|
11
11
|
export class InputController extends SlotController {
|
|
12
|
-
constructor(host, callback) {
|
|
12
|
+
constructor(host, callback, options = {}) {
|
|
13
|
+
const { uniqueIdPrefix } = options;
|
|
14
|
+
|
|
13
15
|
super(host, 'input', 'input', {
|
|
14
16
|
initializer: (node, host) => {
|
|
15
17
|
if (host.value) {
|
|
@@ -27,6 +29,7 @@ export class InputController extends SlotController {
|
|
|
27
29
|
}
|
|
28
30
|
},
|
|
29
31
|
useUniqueId: true,
|
|
32
|
+
uniqueIdPrefix,
|
|
30
33
|
});
|
|
31
34
|
}
|
|
32
35
|
}
|