@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/LICENSE +1105 -248
- package/README.md +1 -1
- package/package.json +3 -3
- package/src/vaadin-board-row.d.ts +7 -2
- package/src/vaadin-board-row.js +8 -8
- package/src/vaadin-board.d.ts +7 -2
- package/src/vaadin-board.js +7 -2
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
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
|
-
|
|
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-
|
|
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-
|
|
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": "
|
|
54
|
+
"gitHead": "641b3d96ceeb3e503a093682ebe686afdd8c3a68"
|
|
55
55
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*
|
|
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';
|
package/src/vaadin-board-row.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*
|
|
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
|
|
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);
|
package/src/vaadin-board.d.ts
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*
|
|
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
|
|
package/src/vaadin-board.js
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c)
|
|
4
|
-
*
|
|
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