@vaadin/split-layout 22.0.12 → 22.0.15
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": "22.0.
|
|
3
|
+
"version": "22.0.15",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@polymer/iron-resizable-behavior": "^3.0.0",
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "^22.0.
|
|
38
|
-
"@vaadin/vaadin-lumo-styles": "^22.0.
|
|
39
|
-
"@vaadin/vaadin-material-styles": "^22.0.
|
|
40
|
-
"@vaadin/vaadin-themable-mixin": "^22.0.
|
|
37
|
+
"@vaadin/component-base": "^22.0.15",
|
|
38
|
+
"@vaadin/vaadin-lumo-styles": "^22.0.15",
|
|
39
|
+
"@vaadin/vaadin-material-styles": "^22.0.15",
|
|
40
|
+
"@vaadin/vaadin-themable-mixin": "^22.0.15"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@esm-bundle/chai": "^4.3.4",
|
|
44
44
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
45
45
|
"sinon": "^9.2.1"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "bba021b56ba45da93d2bb980242956ad929ecfe2"
|
|
48
48
|
}
|
|
@@ -173,13 +173,13 @@ declare class SplitLayout extends ElementMixin(ThemableMixin(GestureEventListene
|
|
|
173
173
|
addEventListener<K extends keyof SplitLayoutEventMap>(
|
|
174
174
|
type: K,
|
|
175
175
|
listener: (this: SplitLayout, ev: SplitLayoutEventMap[K]) => void,
|
|
176
|
-
options?: boolean | AddEventListenerOptions
|
|
176
|
+
options?: boolean | AddEventListenerOptions,
|
|
177
177
|
): void;
|
|
178
178
|
|
|
179
179
|
removeEventListener<K extends keyof SplitLayoutEventMap>(
|
|
180
180
|
type: K,
|
|
181
181
|
listener: (this: SplitLayout, ev: SplitLayoutEventMap[K]) => void,
|
|
182
|
-
options?: boolean | EventListenerOptions
|
|
182
|
+
options?: boolean | EventListenerOptions,
|
|
183
183
|
): void;
|
|
184
184
|
}
|
|
185
185
|
|
|
@@ -155,7 +155,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
|
|
|
155
155
|
* @mixes GestureEventListeners
|
|
156
156
|
*/
|
|
157
157
|
class SplitLayout extends ElementMixin(
|
|
158
|
-
ThemableMixin(GestureEventListeners(mixinBehaviors([IronResizableBehavior], PolymerElement)))
|
|
158
|
+
ThemableMixin(GestureEventListeners(mixinBehaviors([IronResizableBehavior], PolymerElement))),
|
|
159
159
|
) {
|
|
160
160
|
static get template() {
|
|
161
161
|
return html`
|
|
@@ -233,14 +233,14 @@ class SplitLayout extends ElementMixin(
|
|
|
233
233
|
orientation: {
|
|
234
234
|
type: String,
|
|
235
235
|
reflectToAttribute: true,
|
|
236
|
-
value: 'horizontal'
|
|
236
|
+
value: 'horizontal',
|
|
237
237
|
},
|
|
238
238
|
|
|
239
239
|
/** @private */
|
|
240
240
|
_previousPrimaryPointerEvents: String,
|
|
241
241
|
|
|
242
242
|
/** @private */
|
|
243
|
-
_previousSecondaryPointerEvents: String
|
|
243
|
+
_previousSecondaryPointerEvents: String,
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
|
|
@@ -318,7 +318,7 @@ class SplitLayout extends ElementMixin(
|
|
|
318
318
|
this._startSize = {
|
|
319
319
|
container: this.getBoundingClientRect()[size] - this.$.splitter.getBoundingClientRect()[size],
|
|
320
320
|
primary: this._primaryChild.getBoundingClientRect()[size],
|
|
321
|
-
secondary: this._secondaryChild.getBoundingClientRect()[size]
|
|
321
|
+
secondary: this._secondaryChild.getBoundingClientRect()[size],
|
|
322
322
|
};
|
|
323
323
|
|
|
324
324
|
return;
|