@vaadin/field-base 23.1.0-beta4 → 23.1.0-rc1
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/field-base",
|
|
3
|
-
"version": "23.1.0-
|
|
3
|
+
"version": "23.1.0-rc1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
34
34
|
"@polymer/polymer": "^3.0.0",
|
|
35
|
-
"@vaadin/component-base": "23.1.0-
|
|
35
|
+
"@vaadin/component-base": "23.1.0-rc1",
|
|
36
36
|
"lit": "^2.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
41
41
|
"sinon": "^13.0.2"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5ecb85e16e938df827fefca4bd2a665a1e29913e"
|
|
44
44
|
}
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
* either the component itself or slotted `<input>` element.
|
|
10
10
|
*/
|
|
11
11
|
export class FieldAriaController {
|
|
12
|
-
constructor(host: HTMLElement);
|
|
13
|
-
|
|
14
12
|
/**
|
|
15
13
|
* The controller host element.
|
|
16
14
|
*/
|
|
17
15
|
host: HTMLElement;
|
|
18
16
|
|
|
17
|
+
constructor(host: HTMLElement);
|
|
18
|
+
|
|
19
19
|
/**
|
|
20
20
|
* Sets a target element to which ARIA attributes are added.
|
|
21
21
|
*/
|
|
@@ -9,6 +9,11 @@ import { SlotController } from '@vaadin/component-base/src/slot-controller.js';
|
|
|
9
9
|
* A controller to manage the label element.
|
|
10
10
|
*/
|
|
11
11
|
export class LabelController extends SlotController {
|
|
12
|
+
/**
|
|
13
|
+
* ID attribute value set on the label element.
|
|
14
|
+
*/
|
|
15
|
+
labelId: string;
|
|
16
|
+
|
|
12
17
|
/**
|
|
13
18
|
* String used for the label.
|
|
14
19
|
*/
|
|
@@ -18,9 +23,4 @@ export class LabelController extends SlotController {
|
|
|
18
23
|
* Set label based on corresponding host property.
|
|
19
24
|
*/
|
|
20
25
|
setLabel(label: string | null | undefined): void;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* ID attribute value set on the label element.
|
|
24
|
-
*/
|
|
25
|
-
labelId: string;
|
|
26
26
|
}
|
|
@@ -6,14 +6,6 @@
|
|
|
6
6
|
import { ReactiveController } from 'lit';
|
|
7
7
|
|
|
8
8
|
export class SlotTargetController implements ReactiveController {
|
|
9
|
-
constructor(
|
|
10
|
-
sourceSlot: HTMLSlotElement,
|
|
11
|
-
targetFactory: () => HTMLElement,
|
|
12
|
-
copyCallback?: (nodes: HTMLElement[]) => void,
|
|
13
|
-
);
|
|
14
|
-
|
|
15
|
-
hostConnected(): void;
|
|
16
|
-
|
|
17
9
|
/**
|
|
18
10
|
* The source `<slot>` element to copy nodes from.
|
|
19
11
|
*/
|
|
@@ -28,4 +20,12 @@ export class SlotTargetController implements ReactiveController {
|
|
|
28
20
|
* Function called after copying nodes to target.
|
|
29
21
|
*/
|
|
30
22
|
protected copyCallback?: (nodes: HTMLElement[]) => void;
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
sourceSlot: HTMLSlotElement,
|
|
26
|
+
targetFactory: () => HTMLElement,
|
|
27
|
+
copyCallback?: (nodes: HTMLElement[]) => void,
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
hostConnected(): void;
|
|
31
31
|
}
|