@vaadin/polymer-legacy-adapter 22.0.0-alpha9 → 22.0.0

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": "22.0.0-alpha9",
3
+ "version": "22.0.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,13 +31,16 @@
31
31
  ],
32
32
  "dependencies": {
33
33
  "@polymer/polymer": "^3.0.0",
34
- "@vaadin/vaadin-themable-mixin": "22.0.0-alpha9",
34
+ "@vaadin/vaadin-themable-mixin": "^22.0.0",
35
35
  "lit": "^2.0.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@esm-bundle/chai": "^4.3.4",
39
- "@vaadin/testing-helpers": "^0.3.0",
39
+ "@vaadin/checkbox": "^22.0.0",
40
+ "@vaadin/grid": "^22.0.0",
41
+ "@vaadin/grid-pro": "^22.0.0",
42
+ "@vaadin/testing-helpers": "^0.3.2",
40
43
  "sinon": "^9.2.4"
41
44
  },
42
- "gitHead": "6e8c899dc65918f97e3c0acb2076122c4b2ef274"
45
+ "gitHead": "b668e9b1a975227fbe34beb70d1cd5b03dce2348"
43
46
  }
@@ -101,6 +101,10 @@ export class Templatizer extends PolymerElement {
101
101
  }, {});
102
102
 
103
103
  this.__TemplateClass = templatize(this.__template, this, {
104
+ // Events handled by declarative event listeners
105
+ // (`on-event="handler"`) will be decorated with a `model` property pointing
106
+ // to the template instance that stamped it.
107
+ parentModel: true,
104
108
  // This property prevents the template instance properties
105
109
  // from passing into the `forwardHostProp` callback
106
110
  instanceProps,
@@ -1,6 +1,6 @@
1
1
  import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
2
- import { Templatizer } from './template-renderer-templatizer.js';
3
2
  import { GridTemplatizer } from './template-renderer-grid-templatizer.js';
3
+ import { Templatizer } from './template-renderer-templatizer.js';
4
4
 
5
5
  function createRenderer(component, template, TemplatizerClass = Templatizer) {
6
6
  const templatizer = TemplatizerClass.create(component, template);