@vaadin/scroller 25.2.0-alpha8 → 25.2.0-beta1

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/scroller",
3
- "version": "25.2.0-alpha8",
3
+ "version": "25.2.0-beta1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,22 +35,22 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@open-wc/dedupe-mixin": "^1.3.0",
38
- "@vaadin/a11y-base": "25.2.0-alpha8",
39
- "@vaadin/component-base": "25.2.0-alpha8",
40
- "@vaadin/vaadin-themable-mixin": "25.2.0-alpha8",
38
+ "@vaadin/a11y-base": "25.2.0-beta1",
39
+ "@vaadin/component-base": "25.2.0-beta1",
40
+ "@vaadin/vaadin-themable-mixin": "25.2.0-beta1",
41
41
  "lit": "^3.0.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@vaadin/aura": "25.2.0-alpha8",
45
- "@vaadin/chai-plugins": "25.2.0-alpha8",
46
- "@vaadin/test-runner-commands": "25.2.0-alpha8",
44
+ "@vaadin/aura": "25.2.0-beta1",
45
+ "@vaadin/chai-plugins": "25.2.0-beta1",
46
+ "@vaadin/test-runner-commands": "25.2.0-beta1",
47
47
  "@vaadin/testing-helpers": "^2.0.0",
48
- "@vaadin/vaadin-lumo-styles": "25.2.0-alpha8"
48
+ "@vaadin/vaadin-lumo-styles": "25.2.0-beta1"
49
49
  },
50
50
  "customElements": "custom-elements.json",
51
51
  "web-types": [
52
52
  "web-types.json",
53
53
  "web-types.lit.json"
54
54
  ],
55
- "gitHead": "2b82e20cdfc605b1187e9a24ae42869e1500ab68"
55
+ "gitHead": "471a23f60d1eb725f98a33f62cb9664d9c0a4163"
56
56
  }
@@ -15,10 +15,11 @@ export const scrollerStyles = css`
15
15
  --vaadin-scroller-overflow-indicator-top-opacity: 0;
16
16
  --vaadin-scroller-overflow-indicator-bottom-opacity: 0;
17
17
  display: block;
18
- overflow: auto;
18
+ overflow: auto !important;
19
19
  outline: none;
20
20
  box-sizing: border-box;
21
21
  padding: var(--vaadin-scroller-padding-block) var(--vaadin-scroller-padding-inline);
22
+ contain: paint;
22
23
  }
23
24
 
24
25
  :host([focus-ring]) {
@@ -30,15 +31,15 @@ export const scrollerStyles = css`
30
31
  }
31
32
 
32
33
  :host([scroll-direction='vertical']) {
33
- overflow-x: hidden;
34
+ overflow-x: hidden !important;
34
35
  }
35
36
 
36
37
  :host([scroll-direction='horizontal']) {
37
- overflow-y: hidden;
38
+ overflow-y: hidden !important;
38
39
  }
39
40
 
40
41
  :host([scroll-direction='none']) {
41
- overflow: hidden;
42
+ overflow: hidden !important;
42
43
  }
43
44
 
44
45
  :host::before,
@@ -5,10 +5,6 @@
5
5
  */
6
6
  import { FocusMixin } from '@vaadin/a11y-base/src/focus-mixin.js';
7
7
 
8
- /**
9
- * @polymerMixin
10
- * @mixes FocusMixin
11
- */
12
8
  export const ScrollerMixin = (superClass) =>
13
9
  class ScrollerMixinClass extends FocusMixin(superClass) {
14
10
  static get properties() {
@@ -55,9 +55,6 @@ import { ScrollerMixin } from './vaadin-scroller-mixin.js';
55
55
  *
56
56
  * @customElement vaadin-scroller
57
57
  * @extends HTMLElement
58
- * @mixes ThemableMixin
59
- * @mixes ElementMixin
60
- * @mixes ScrollerMixin
61
58
  */
62
59
  class Scroller extends ScrollerMixin(ElementMixin(ThemableMixin(PolylitMixin(LumoInjectionMixin(LitElement))))) {
63
60
  static get is() {
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/scroller",
4
- "version": "25.2.0-alpha8",
4
+ "version": "25.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -15,9 +15,7 @@
15
15
  "description": "This property indicates the scroll direction. Supported values are `vertical`, `horizontal`, `none`.\nWhen `scrollDirection` is undefined scrollbars will be shown in both directions.",
16
16
  "value": {
17
17
  "type": [
18
- "string",
19
- "null",
20
- "undefined"
18
+ "string"
21
19
  ]
22
20
  }
23
21
  },
@@ -40,9 +38,7 @@
40
38
  "description": "This property indicates the scroll direction. Supported values are `vertical`, `horizontal`, `none`.\nWhen `scrollDirection` is undefined scrollbars will be shown in both directions.",
41
39
  "value": {
42
40
  "type": [
43
- "string",
44
- "null",
45
- "undefined"
41
+ "string"
46
42
  ]
47
43
  }
48
44
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/scroller",
4
- "version": "25.2.0-alpha8",
4
+ "version": "25.2.0-beta1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {