@vaadin/board 24.0.0-alpha1 → 24.0.0-alpha11

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 CHANGED
@@ -53,7 +53,7 @@ Read the [contributing guide](https://vaadin.com/docs/latest/contributing/overvi
53
53
 
54
54
  ## License
55
55
 
56
- Commercial Vaadin Developer License 4.0 (CVDLv4). For license terms, see LICENSE.txt.
56
+ This program is available under Vaadin Commercial License and Service Terms. For license terms, see LICENSE.
57
57
 
58
58
  Vaadin collects usage statistics at development time to improve this product.
59
59
  For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/board",
3
- "version": "24.0.0-alpha1",
3
+ "version": "24.0.0-alpha11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -39,7 +39,7 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "@polymer/polymer": "^3.0.0",
42
- "@vaadin/component-base": "24.0.0-alpha1"
42
+ "@vaadin/component-base": "24.0.0-alpha11"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@esm-bundle/chai": "^4.3.4",
@@ -51,5 +51,5 @@
51
51
  "web-types.json",
52
52
  "web-types.lit.json"
53
53
  ],
54
- "gitHead": "427527c27c4b27822d61fd41d38d7b170134770b"
54
+ "gitHead": "641b3d96ceeb3e503a093682ebe686afdd8c3a68"
55
55
  }
@@ -1,7 +1,12 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
- * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
3
+ * Copyright (c) 2000 - 2023 Vaadin Ltd.
4
+ *
5
+ * This program is available under Vaadin Commercial License and Service Terms.
6
+ *
7
+ *
8
+ * See https://vaadin.com/commercial-license-and-service-terms for the full
9
+ * license.
5
10
  */
6
11
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
7
12
  import { ResizeMixin } from '@vaadin/component-base/src/resize-mixin.js';
@@ -1,10 +1,13 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
- * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
3
+ * Copyright (c) 2000 - 2023 Vaadin Ltd.
4
+ *
5
+ * This program is available under Vaadin Commercial License and Service Terms.
6
+ *
7
+ *
8
+ * See https://vaadin.com/commercial-license-and-service-terms for the full
9
+ * license.
5
10
  */
6
- import { DomIf } from '@polymer/polymer/lib/elements/dom-if.js';
7
- import { DomRepeat } from '@polymer/polymer/lib/elements/dom-repeat.js';
8
11
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
9
12
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
13
  import { ResizeMixin } from '@vaadin/component-base/src/resize-mixin.js';
@@ -236,10 +239,7 @@ class BoardRow extends ResizeMixin(ElementMixin(PolymerElement)) {
236
239
  breakpoints.mediumSize !== this._oldBreakpoints.mediumSize
237
240
  ) {
238
241
  const nodes = this.$.insertionPoint.assignedNodes({ flatten: true });
239
- const isElementNode = (node) => {
240
- return !(node.nodeType === node.TEXT_NODE || node instanceof DomRepeat || node instanceof DomIf);
241
- };
242
- const filteredNodes = nodes.filter(isElementNode);
242
+ const filteredNodes = nodes.filter((node) => node.nodeType === Node.ELEMENT_NODE);
243
243
  this._addStyleNames(width, breakpoints);
244
244
  const boardCols = this._parseBoardCols(filteredNodes);
245
245
  const colsInRow = boardCols.reduce((a, b) => a + b, 0);
@@ -1,7 +1,12 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
- * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
3
+ * Copyright (c) 2000 - 2023 Vaadin Ltd.
4
+ *
5
+ * This program is available under Vaadin Commercial License and Service Terms.
6
+ *
7
+ *
8
+ * See https://vaadin.com/commercial-license-and-service-terms for the full
9
+ * license.
5
10
  */
6
11
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
7
12
 
@@ -1,7 +1,12 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2017 - 2022 Vaadin Ltd.
4
- * This program is available under Commercial Vaadin Developer License 4.0, available at https://vaadin.com/license/cvdl-4.0.
3
+ * Copyright (c) 2000 - 2023 Vaadin Ltd.
4
+ *
5
+ * This program is available under Vaadin Commercial License and Service Terms.
6
+ *
7
+ *
8
+ * See https://vaadin.com/commercial-license-and-service-terms for the full
9
+ * license.
5
10
  */
6
11
  import './vaadin-board-row.js';
7
12
  import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/board",
4
- "version": "24.0.0-alpha1",
4
+ "version": "24.0.0-alpha11",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/board",
4
- "version": "24.0.0-alpha1",
4
+ "version": "24.0.0-alpha11",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {