@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/split-layout",
3
- "version": "23.3.3",
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": "~23.3.3",
40
- "@vaadin/vaadin-lumo-styles": "~23.3.3",
41
- "@vaadin/vaadin-material-styles": "~23.3.3",
42
- "@vaadin/vaadin-themable-mixin": "~23.3.3"
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": "1529ed623e053d28a3c1c66af55ebe402743ddd0"
53
+ "gitHead": "2e04534d8b47bcd216f89b5f849bafef1a73b174"
54
54
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @license
3
- * Copyright (c) 2016 - 2022 Vaadin Ltd.
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 - 2022 Vaadin Ltd.
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.getAttribute('dir') === 'rtl';
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/split-layout",
4
- "version": "23.3.3",
4
+ "version": "24.0.0-alpha10",
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/split-layout",
4
- "version": "23.3.3",
4
+ "version": "24.0.0-alpha10",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {