Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vaadin/split-layout

Package Overview
Dependencies
Maintainers
19
Versions
396
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vaadin/split-layout - npm Package Compare versions

Comparing version 23.0.0-alpha2 to 23.0.0-alpha3

13

package.json
{
"name": "@vaadin/split-layout",
"version": "23.0.0-alpha2",
"version": "23.0.0-alpha3",
"publishConfig": {

@@ -35,8 +35,7 @@ "access": "public"

"dependencies": {
"@polymer/iron-resizable-behavior": "^3.0.0",
"@polymer/polymer": "^3.0.0",
"@vaadin/component-base": "23.0.0-alpha2",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha2",
"@vaadin/vaadin-material-styles": "23.0.0-alpha2",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha2"
"@vaadin/component-base": "23.0.0-alpha3",
"@vaadin/vaadin-lumo-styles": "23.0.0-alpha3",
"@vaadin/vaadin-material-styles": "23.0.0-alpha3",
"@vaadin/vaadin-themable-mixin": "23.0.0-alpha3"
},

@@ -48,3 +47,3 @@ "devDependencies": {

},
"gitHead": "070f586dead02ca41b66717820c647f48bf1665f"
"gitHead": "490037919a9e054cc002c1b3be0c94a1603e1a44"
}
/**
* @license
* Copyright (c) 2021 Vaadin Ltd.
* Copyright (c) 2016 - 2022 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/

@@ -140,9 +140,2 @@ */

*
* ### Resize Notification
*
* This element implements `IronResizableBehavior` to notify the nested resizables
* when the splitter is dragged. In order to define a resizable and receive that
* notification in a nested element, include `IronResizableBehavior` and listen
* for the `iron-resize` event.
*
* ### Styling

@@ -168,4 +161,4 @@ *

/**
* Can be called to manually notify a resizable and its descendant
* resizables of a resize change.
* @deprecated Since Vaadin 23, `notifyResize()` is deprecated. The component uses a
* ResizeObserver internally and doesn't need to be explicitly notified of resizes.
*/

@@ -172,0 +165,0 @@ notifyResize(): void;

/**
* @license
* Copyright (c) 2021 Vaadin Ltd.
* Copyright (c) 2016 - 2022 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import { IronResizableBehavior } from '@polymer/iron-resizable-behavior/iron-resizable-behavior.js';
import { mixinBehaviors } from '@polymer/polymer/lib/legacy/class.js';
import { FlattenedNodesObserver } from '@polymer/polymer/lib/utils/flattened-nodes-observer.js';

@@ -156,3 +154,3 @@ import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';

*/
class SplitLayout extends ElementMixin(ThemableMixin(mixinBehaviors([IronResizableBehavior], PolymerElement))) {
class SplitLayout extends ElementMixin(ThemableMixin(PolymerElement)) {
static get template() {

@@ -252,3 +250,3 @@ return html`

_processChildren() {
this.getEffectiveChildren().forEach((child, i) => {
[...this.children].forEach((child, i) => {
if (i === 0) {

@@ -322,4 +320,2 @@ this._primaryChild = child;

this.notifyResize();
if (event.detail.state === 'end') {

@@ -333,20 +329,12 @@ this.dispatchEvent(new CustomEvent('splitter-dragend'));

/**
* Can be called to manually notify a resizable and its descendant
* resizables of a resize change.
* @deprecated Since Vaadin 23, `notifyResize()` is deprecated. The component uses a
* ResizeObserver internally and doesn't need to be explicitly notified of resizes.
*/
notifyResize() {
// NOTE: we have this method here to include it to the API docs,
// as we do not use `IronResizableBehavior` in type definitions.
super.notifyResize();
console.warn(
`WARNING: Since Vaadin 23, notifyResize() is deprecated. The component uses a ResizeObserver internally and doesn't need to be explicitly notified of resizes.`
);
}
/**
* Fired when the splitter is dragged. Non-bubbling. Fired for the splitter
* element and any nested elements with `IronResizableBehavior`.
*
* DEPRECATED: This event will be dropped in one of the future Vaadin versions. Use a ResizeObserver instead.
* @event iron-resize
*/
/**
* Fired after dragging the splitter have ended.

@@ -353,0 +341,0 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc