@vaadin/virtual-list
Advanced tools
Comparing version 23.2.0-dev.8a7678b70 to 23.2.0-rc1
{ | ||
"name": "@vaadin/virtual-list", | ||
"version": "23.2.0-dev.8a7678b70", | ||
"version": "23.2.0-rc1", | ||
"publishConfig": { | ||
@@ -28,3 +28,5 @@ "access": "public" | ||
"vaadin-*.d.ts", | ||
"vaadin-*.js" | ||
"vaadin-*.js", | ||
"web-types.json", | ||
"web-types.lit.json" | ||
], | ||
@@ -40,11 +42,11 @@ "keywords": [ | ||
"@polymer/polymer": "^3.0.0", | ||
"@vaadin/component-base": "23.2.0-dev.8a7678b70", | ||
"@vaadin/lit-renderer": "23.2.0-dev.8a7678b70", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-dev.8a7678b70", | ||
"@vaadin/vaadin-material-styles": "23.2.0-dev.8a7678b70", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-dev.8a7678b70" | ||
"@vaadin/component-base": "23.2.0-rc1", | ||
"@vaadin/lit-renderer": "23.2.0-rc1", | ||
"@vaadin/vaadin-lumo-styles": "23.2.0-rc1", | ||
"@vaadin/vaadin-material-styles": "23.2.0-rc1", | ||
"@vaadin/vaadin-themable-mixin": "23.2.0-rc1" | ||
}, | ||
"devDependencies": { | ||
"@esm-bundle/chai": "^4.3.4", | ||
"@vaadin/polymer-legacy-adapter": "23.2.0-dev.8a7678b70", | ||
"@vaadin/polymer-legacy-adapter": "23.2.0-rc1", | ||
"@vaadin/testing-helpers": "^0.3.2", | ||
@@ -54,3 +56,7 @@ "lit": "^2.0.0", | ||
}, | ||
"gitHead": "85b403f96d8282f262322b56c0ff4289f843d02a" | ||
"web-types": [ | ||
"web-types.json", | ||
"web-types.lit.json" | ||
], | ||
"gitHead": "e78a1f2fe6f42d78cefa3f48085b09a3033c9588" | ||
} |
@@ -6,6 +6,6 @@ /** | ||
*/ | ||
import { TemplateResult } from 'lit'; | ||
import { DirectiveResult } from 'lit/directive.js'; | ||
import type { TemplateResult } from 'lit'; | ||
import type { DirectiveResult } from 'lit/directive.js'; | ||
import { LitRendererDirective } from '@vaadin/lit-renderer'; | ||
import { VirtualList, VirtualListItemModel } from '../vaadin-virtual-list.js'; | ||
import type { VirtualList, VirtualListItemModel } from '../vaadin-virtual-list.js'; | ||
@@ -12,0 +12,0 @@ export type VirtualListLitRenderer<TItem> = ( |
@@ -6,2 +6,3 @@ /** | ||
*/ | ||
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js'; | ||
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; | ||
@@ -38,2 +39,8 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; | ||
* | ||
* The following state attributes are available for styling: | ||
* | ||
* Attribute | Description | ||
* -----------------|-------------------------------------------- | ||
* `overflow` | Set to `top`, `bottom`, both, or none. | ||
* | ||
* See [Virtual List](https://vaadin.com/docs/latest/ds/components/virtual-list) documentation. | ||
@@ -45,3 +52,5 @@ * | ||
*/ | ||
declare class VirtualList<TItem = VirtualListDefaultItem> extends ElementMixin(ThemableMixin(HTMLElement)) { | ||
declare class VirtualList<TItem = VirtualListDefaultItem> extends ElementMixin( | ||
ControllerMixin(ThemableMixin(HTMLElement)), | ||
) { | ||
/** | ||
@@ -48,0 +57,0 @@ * Gets the index of the first visible item in the viewport. |
@@ -7,3 +7,5 @@ /** | ||
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js'; | ||
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js'; | ||
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; | ||
import { OverflowController } from '@vaadin/component-base/src/overflow-controller.js'; | ||
import { processTemplates } from '@vaadin/component-base/src/templates.js'; | ||
@@ -28,9 +30,16 @@ import { Virtualizer } from '@vaadin/component-base/src/virtualizer.js'; | ||
* | ||
* The following state attributes are available for styling: | ||
* | ||
* Attribute | Description | ||
* -----------------|-------------------------------------------- | ||
* `overflow` | Set to `top`, `bottom`, both, or none. | ||
* | ||
* See [Virtual List](https://vaadin.com/docs/latest/ds/components/virtual-list) documentation. | ||
* | ||
* @extends HTMLElement | ||
* @mixes ControllerMixin | ||
* @mixes ElementMixin | ||
* @mixes ThemableMixin | ||
*/ | ||
class VirtualList extends ElementMixin(ThemableMixin(PolymerElement)) { | ||
class VirtualList extends ElementMixin(ControllerMixin(ThemableMixin(PolymerElement))) { | ||
static get template() { | ||
@@ -109,2 +118,5 @@ return html` | ||
this.__overflowController = new OverflowController(this); | ||
this.addController(this.__overflowController); | ||
processTemplates(this); | ||
@@ -111,0 +123,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32708
15
494
29346
10
25
0
130
+ Added@vaadin/component-base@23.2.0-rc1(transitive)
+ Added@vaadin/icon@23.2.0-rc1(transitive)
+ Added@vaadin/lit-renderer@23.2.0-rc1(transitive)
+ Added@vaadin/vaadin-lumo-styles@23.2.0-rc1(transitive)
+ Added@vaadin/vaadin-material-styles@23.2.0-rc1(transitive)
+ Added@vaadin/vaadin-themable-mixin@23.2.0-rc1(transitive)
- Removed@vaadin/component-base@23.2.0-dev.8a7678b70(transitive)
- Removed@vaadin/icon@23.2.0-dev.8a7678b70(transitive)
- Removed@vaadin/lit-renderer@23.2.0-dev.8a7678b70(transitive)
- Removed@vaadin/vaadin-lumo-styles@23.2.0-dev.8a7678b70(transitive)
- Removed@vaadin/vaadin-material-styles@23.2.0-dev.8a7678b70(transitive)
- Removed@vaadin/vaadin-themable-mixin@23.2.0-dev.8a7678b70(transitive)