@vaadin/split-layout 23.3.3 → 24.0.0-alpha10
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 +6 -6
- package/src/vaadin-split-layout.d.ts +1 -7
- package/src/vaadin-split-layout.js +2 -12
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/split-layout",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "24.0.0-alpha10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/component-base": "
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "
|
|
41
|
-
"@vaadin/vaadin-material-styles": "
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "
|
|
39
|
+
"@vaadin/component-base": "24.0.0-alpha10",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "24.0.0-alpha10",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "24.0.0-alpha10",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "24.0.0-alpha10"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@esm-bundle/chai": "^4.3.4",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"web-types.json",
|
|
51
51
|
"web-types.lit.json"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "2e04534d8b47bcd216f89b5f849bafef1a73b174"
|
|
54
54
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
|
@@ -156,12 +156,6 @@ declare class SplitLayout extends ElementMixin(ThemableMixin(HTMLElement)) {
|
|
|
156
156
|
*/
|
|
157
157
|
orientation: 'horizontal' | 'vertical';
|
|
158
158
|
|
|
159
|
-
/**
|
|
160
|
-
* @deprecated Since Vaadin 23, `notifyResize()` is deprecated. The component uses a
|
|
161
|
-
* ResizeObserver internally and doesn't need to be explicitly notified of resizes.
|
|
162
|
-
*/
|
|
163
|
-
notifyResize(): void;
|
|
164
|
-
|
|
165
159
|
addEventListener<K extends keyof SplitLayoutEventMap>(
|
|
166
160
|
type: K,
|
|
167
161
|
listener: (this: SplitLayout, ev: SplitLayoutEventMap[K]) => void,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2016 -
|
|
3
|
+
* Copyright (c) 2016 - 2023 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';
|
|
@@ -321,7 +321,7 @@ class SplitLayout extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
const distance = this.orientation === 'vertical' ? event.detail.dy : event.detail.dx;
|
|
324
|
-
const isRtl = this.orientation !== 'vertical' && this.
|
|
324
|
+
const isRtl = this.orientation !== 'vertical' && this.__isRTL;
|
|
325
325
|
const dirDistance = isRtl ? -distance : distance;
|
|
326
326
|
|
|
327
327
|
this._setFlexBasis(this._primaryChild, this._startSize.primary + dirDistance, this._startSize.container);
|
|
@@ -334,16 +334,6 @@ class SplitLayout extends ElementMixin(ThemableMixin(PolymerElement)) {
|
|
|
334
334
|
}
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
/**
|
|
338
|
-
* @deprecated Since Vaadin 23, `notifyResize()` is deprecated. The component uses a
|
|
339
|
-
* ResizeObserver internally and doesn't need to be explicitly notified of resizes.
|
|
340
|
-
*/
|
|
341
|
-
notifyResize() {
|
|
342
|
-
console.warn(
|
|
343
|
-
`WARNING: Since Vaadin 23, notifyResize() is deprecated. The component uses a ResizeObserver internally and doesn't need to be explicitly notified of resizes.`,
|
|
344
|
-
);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
337
|
/**
|
|
348
338
|
* Fired after dragging the splitter have ended.
|
|
349
339
|
*
|
package/web-types.json
CHANGED