@vaadin/polymer-legacy-adapter 24.0.0-alpha9 → 24.0.0-beta2

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/polymer-legacy-adapter",
3
- "version": "24.0.0-alpha9",
3
+ "version": "24.0.0-beta2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,16 +32,16 @@
32
32
  ],
33
33
  "dependencies": {
34
34
  "@polymer/polymer": "^3.0.0",
35
- "@vaadin/vaadin-themable-mixin": "24.0.0-alpha9",
35
+ "@vaadin/vaadin-themable-mixin": "24.0.0-beta2",
36
36
  "lit": "^2.0.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@esm-bundle/chai": "^4.3.4",
40
- "@vaadin/checkbox": "24.0.0-alpha9",
41
- "@vaadin/grid": "24.0.0-alpha9",
42
- "@vaadin/grid-pro": "24.0.0-alpha9",
43
- "@vaadin/testing-helpers": "^0.3.2",
40
+ "@vaadin/checkbox": "24.0.0-beta2",
41
+ "@vaadin/grid": "24.0.0-beta2",
42
+ "@vaadin/grid-pro": "24.0.0-beta2",
43
+ "@vaadin/testing-helpers": "^0.4.0",
44
44
  "sinon": "^13.0.2"
45
45
  },
46
- "gitHead": "cc3f747164041566b300bde4b105d2475649e93f"
46
+ "gitHead": "00086f1f6d487f042f189c9b9ecd7ba736960888"
47
47
  }
@@ -13,6 +13,19 @@ export class GridTemplatizer extends Templatizer {
13
13
  return 'vaadin-template-renderer-grid-templatizer';
14
14
  }
15
15
 
16
+ /**
17
+ * Returns a reference to the grid which the templatizer is connected to.
18
+ *
19
+ * @private
20
+ */
21
+ get __grid() {
22
+ if (this.__component.__gridElement) {
23
+ return this.__component;
24
+ }
25
+
26
+ return this.__component._grid;
27
+ }
28
+
16
29
  /**
17
30
  * Updates the grid items once an item's nested property is changed.
18
31
  *
@@ -98,19 +111,6 @@ export class GridTemplatizer extends Templatizer {
98
111
  this.__grid.closeItemDetails(instance.item);
99
112
  }
100
113
  }
101
-
102
- /**
103
- * Returns a reference to the grid which the templatizer is connected to.
104
- *
105
- * @private
106
- */
107
- get __grid() {
108
- if (this.__component.__gridElement) {
109
- return this.__component;
110
- }
111
-
112
- return this.__component._grid;
113
- }
114
114
  }
115
115
 
116
116
  customElements.define(GridTemplatizer.is, GridTemplatizer);
@@ -7,6 +7,10 @@ import { PolymerElement } from '@polymer/polymer';
7
7
  import { templatize } from '@polymer/polymer/lib/utils/templatize.js';
8
8
 
9
9
  export class Templatizer extends PolymerElement {
10
+ static get is() {
11
+ return 'vaadin-template-renderer-templatizer';
12
+ }
13
+
10
14
  static create(component, template) {
11
15
  const templatizer = new this();
12
16
  templatizer.__template = template;
@@ -14,10 +18,6 @@ export class Templatizer extends PolymerElement {
14
18
  return templatizer;
15
19
  }
16
20
 
17
- static get is() {
18
- return 'vaadin-template-renderer-templatizer';
19
- }
20
-
21
21
  constructor() {
22
22
  super();
23
23