@vaadin/vaadin-ordered-layout
Advanced tools
Comparing version 1.2.0-alpha1 to 1.2.0-alpha2
@@ -13,3 +13,3 @@ { | ||
"name": "@vaadin/vaadin-ordered-layout", | ||
"version": "1.2.0-alpha1", | ||
"version": "1.2.0-alpha2", | ||
"main": "imports.js", | ||
@@ -16,0 +16,0 @@ "author": "Vaadin Ltd", |
@@ -80,3 +80,3 @@ /** | ||
static get version() { | ||
return '1.2.0-alpha1'; | ||
return '1.2.0-alpha2'; | ||
} | ||
@@ -83,0 +83,0 @@ } |
@@ -19,11 +19,3 @@ /** | ||
* ``` | ||
* ### Styling | ||
* | ||
* The following state attributes are available for styling: | ||
* | ||
* Attribute | Description | ||
* -------------|------------- | ||
* `horizontal-scroll-disabled` | Set to disable horizontal scrolling | ||
* `vertical-scroll-disabled` | Set to disable vertical scrolling | ||
* | ||
* @memberof Vaadin | ||
@@ -46,9 +38,13 @@ * @mixes Vaadin.ThemableMixin | ||
:host([horizontal-scroll-disabled]) { | ||
:host([scroll-direction='vertical']) { | ||
overflow-x: hidden; | ||
} | ||
:host([vertical-scroll-disabled]) { | ||
:host([scroll-direction='horizontal']) { | ||
overflow-y: hidden; | ||
} | ||
:host([scroll-direction='none']) { | ||
overflow: hidden; | ||
} | ||
</style> | ||
@@ -64,4 +60,17 @@ | ||
static get properties() { | ||
return { | ||
/** | ||
* This property indicates the scroll direction. Supported values are `vertical`, `horizontal`, `none`. | ||
* When `scrollDirection` is undefined scrollbars will be shown in both directions. | ||
*/ | ||
scrollDirection: { | ||
type: String, | ||
reflectToAttribute: true | ||
} | ||
}; | ||
} | ||
static get version() { | ||
return '1.2.0-alpha1'; | ||
return '1.2.0-alpha2'; | ||
} | ||
@@ -68,0 +77,0 @@ } |
@@ -82,3 +82,3 @@ /** | ||
static get version() { | ||
return '1.2.0-alpha1'; | ||
return '1.2.0-alpha2'; | ||
} | ||
@@ -85,0 +85,0 @@ } |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
31569
458
0