@vaadin/field-highlighter 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/field-highlighter",
|
|
3
|
-
"version": "24.2.0-
|
|
3
|
+
"version": "24.2.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,30 +34,30 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "24.2.0-
|
|
38
|
-
"@vaadin/overlay": "24.2.0-
|
|
39
|
-
"@vaadin/vaadin-lumo-styles": "24.2.0-
|
|
40
|
-
"@vaadin/vaadin-material-styles": "24.2.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "24.2.0-
|
|
37
|
+
"@vaadin/component-base": "24.2.0-beta1",
|
|
38
|
+
"@vaadin/overlay": "24.2.0-beta1",
|
|
39
|
+
"@vaadin/vaadin-lumo-styles": "24.2.0-beta1",
|
|
40
|
+
"@vaadin/vaadin-material-styles": "24.2.0-beta1",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "24.2.0-beta1",
|
|
42
42
|
"lit": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@esm-bundle/chai": "^4.3.4",
|
|
46
|
-
"@vaadin/a11y-base": "24.2.0-
|
|
47
|
-
"@vaadin/checkbox": "24.2.0-
|
|
48
|
-
"@vaadin/checkbox-group": "24.2.0-
|
|
49
|
-
"@vaadin/combo-box": "24.2.0-
|
|
50
|
-
"@vaadin/date-picker": "24.2.0-
|
|
51
|
-
"@vaadin/date-time-picker": "24.2.0-
|
|
52
|
-
"@vaadin/item": "24.2.0-
|
|
53
|
-
"@vaadin/list-box": "24.2.0-
|
|
54
|
-
"@vaadin/radio-group": "24.2.0-
|
|
55
|
-
"@vaadin/select": "24.2.0-
|
|
46
|
+
"@vaadin/a11y-base": "24.2.0-beta1",
|
|
47
|
+
"@vaadin/checkbox": "24.2.0-beta1",
|
|
48
|
+
"@vaadin/checkbox-group": "24.2.0-beta1",
|
|
49
|
+
"@vaadin/combo-box": "24.2.0-beta1",
|
|
50
|
+
"@vaadin/date-picker": "24.2.0-beta1",
|
|
51
|
+
"@vaadin/date-time-picker": "24.2.0-beta1",
|
|
52
|
+
"@vaadin/item": "24.2.0-beta1",
|
|
53
|
+
"@vaadin/list-box": "24.2.0-beta1",
|
|
54
|
+
"@vaadin/radio-group": "24.2.0-beta1",
|
|
55
|
+
"@vaadin/select": "24.2.0-beta1",
|
|
56
56
|
"@vaadin/testing-helpers": "^0.5.0",
|
|
57
|
-
"@vaadin/text-area": "24.2.0-
|
|
58
|
-
"@vaadin/text-field": "24.2.0-
|
|
59
|
-
"@vaadin/time-picker": "24.2.0-
|
|
57
|
+
"@vaadin/text-area": "24.2.0-beta1",
|
|
58
|
+
"@vaadin/text-field": "24.2.0-beta1",
|
|
59
|
+
"@vaadin/time-picker": "24.2.0-beta1",
|
|
60
60
|
"sinon": "^13.0.2"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "67c8eef57d1c59e7476e29adaf003cf4548878f2"
|
|
63
63
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import './vaadin-field-outline.js';
|
|
7
7
|
import './vaadin-user-tags.js';
|
|
8
8
|
import { announce } from '@vaadin/a11y-base/src/announce.js';
|
|
9
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
9
10
|
import { CheckboxGroupObserver } from './fields/vaadin-checkbox-group-observer.js';
|
|
10
11
|
import { DatePickerObserver } from './fields/vaadin-date-picker-observer.js';
|
|
11
12
|
import { DateTimePickerObserver } from './fields/vaadin-date-time-picker-observer.js';
|
|
@@ -151,8 +152,18 @@ export class FieldHighlighterController {
|
|
|
151
152
|
* by configuring a reactive controller for a field instance.
|
|
152
153
|
*
|
|
153
154
|
* See https://vaadin.com/collaboration for Collaboration Engine documentation.
|
|
155
|
+
*
|
|
156
|
+
* @customElement
|
|
154
157
|
*/
|
|
155
158
|
export class FieldHighlighter extends HTMLElement {
|
|
159
|
+
static get is() {
|
|
160
|
+
return 'vaadin-field-highlighter';
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
static get version() {
|
|
164
|
+
return '24.2.0-beta1';
|
|
165
|
+
}
|
|
166
|
+
|
|
156
167
|
static init(field) {
|
|
157
168
|
if (!field._highlighterController) {
|
|
158
169
|
// Create instance
|
|
@@ -186,4 +197,4 @@ export class FieldHighlighter extends HTMLElement {
|
|
|
186
197
|
}
|
|
187
198
|
}
|
|
188
199
|
|
|
189
|
-
|
|
200
|
+
defineCustomElement(FieldHighlighter);
|
|
@@ -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 { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
|
8
9
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
9
10
|
|
|
@@ -82,4 +83,4 @@ export class FieldOutline extends ThemableMixin(DirMixin(PolymerElement)) {
|
|
|
82
83
|
}
|
|
83
84
|
}
|
|
84
85
|
|
|
85
|
-
|
|
86
|
+
defineCustomElement(FieldOutline);
|
package/src/vaadin-user-tag.js
CHANGED
|
@@ -4,12 +4,14 @@
|
|
|
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 { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
|
8
9
|
import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* An element used internally by `<vaadin-field-highlighter>`. Not intended to be used separately.
|
|
12
13
|
*
|
|
14
|
+
* @customElement
|
|
13
15
|
* @extends HTMLElement
|
|
14
16
|
* @mixes DirMixin
|
|
15
17
|
* @mixes ThemableMixin
|
|
@@ -121,4 +123,4 @@ export class UserTag extends ThemableMixin(DirMixin(PolymerElement)) {
|
|
|
121
123
|
}
|
|
122
124
|
}
|
|
123
125
|
|
|
124
|
-
|
|
126
|
+
defineCustomElement(UserTag);
|
|
@@ -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 { DirMixin } from '@vaadin/component-base/src/dir-mixin.js';
|
|
8
9
|
import { OverlayMixin } from '@vaadin/overlay/src/vaadin-overlay-mixin.js';
|
|
9
10
|
import { PositionMixin } from '@vaadin/overlay/src/vaadin-overlay-position-mixin.js';
|
|
@@ -62,6 +63,7 @@ registerStyles('vaadin-user-tags-overlay', [overlayStyles, userTagsOverlayStyles
|
|
|
62
63
|
/**
|
|
63
64
|
* An element used internally by `<vaadin-field-highlighter>`. Not intended to be used separately.
|
|
64
65
|
*
|
|
66
|
+
* @customElement
|
|
65
67
|
* @extends HTMLElement
|
|
66
68
|
* @mixes PositionMixin
|
|
67
69
|
* @mixes OverlayMixin
|
|
@@ -86,4 +88,4 @@ class UserTagsOverlay extends PositionMixin(OverlayMixin(DirMixin(ThemableMixin(
|
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
|
|
89
|
-
|
|
91
|
+
defineCustomElement(UserTagsOverlay);
|
package/src/vaadin-user-tags.js
CHANGED
|
@@ -9,6 +9,7 @@ import { calculateSplices } from '@polymer/polymer/lib/utils/array-splice.js';
|
|
|
9
9
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
10
10
|
import { timeOut } from '@vaadin/component-base/src/async.js';
|
|
11
11
|
import { Debouncer } from '@vaadin/component-base/src/debounce.js';
|
|
12
|
+
import { defineCustomElement } from '@vaadin/component-base/src/define.js';
|
|
12
13
|
|
|
13
14
|
const listenOnce = (elem, type) => {
|
|
14
15
|
return new Promise((resolve) => {
|
|
@@ -23,6 +24,7 @@ const listenOnce = (elem, type) => {
|
|
|
23
24
|
/**
|
|
24
25
|
* An element used internally by `<vaadin-field-highlighter>`. Not intended to be used separately.
|
|
25
26
|
*
|
|
27
|
+
* @customElement
|
|
26
28
|
* @extends HTMLElement
|
|
27
29
|
* @private
|
|
28
30
|
*/
|
|
@@ -450,4 +452,4 @@ export class UserTags extends PolymerElement {
|
|
|
450
452
|
}
|
|
451
453
|
}
|
|
452
454
|
|
|
453
|
-
|
|
455
|
+
defineCustomElement(UserTags);
|