@vaadin/vertical-layout 25.0.0-alpha6 → 25.0.0-alpha8

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/vertical-layout",
3
- "version": "25.0.0-alpha6",
3
+ "version": "25.0.0-alpha8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,19 +34,19 @@
34
34
  "web-component"
35
35
  ],
36
36
  "dependencies": {
37
- "@vaadin/component-base": "25.0.0-alpha6",
38
- "@vaadin/vaadin-lumo-styles": "25.0.0-alpha6",
39
- "@vaadin/vaadin-themable-mixin": "25.0.0-alpha6",
37
+ "@vaadin/component-base": "25.0.0-alpha8",
38
+ "@vaadin/vaadin-lumo-styles": "25.0.0-alpha8",
39
+ "@vaadin/vaadin-themable-mixin": "25.0.0-alpha8",
40
40
  "lit": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vaadin/chai-plugins": "25.0.0-alpha6",
44
- "@vaadin/test-runner-commands": "25.0.0-alpha6",
43
+ "@vaadin/chai-plugins": "25.0.0-alpha8",
44
+ "@vaadin/test-runner-commands": "25.0.0-alpha8",
45
45
  "@vaadin/testing-helpers": "^2.0.0"
46
46
  },
47
47
  "web-types": [
48
48
  "web-types.json",
49
49
  "web-types.lit.json"
50
50
  ],
51
- "gitHead": "cd1d084198d2b326c58d44bb39fa4845b71ce551"
51
+ "gitHead": "ebf53673d5f639d2b1b6f2b31f640f530643ee2f"
52
52
  }
@@ -9,7 +9,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
9
9
  /**
10
10
  * `<vaadin-vertical-layout>` provides a simple way to vertically align your HTML elements.
11
11
  *
12
- * ```
12
+ * ```html
13
13
  * <vaadin-vertical-layout>
14
14
  * <div>Item 1</div>
15
15
  * <div>Item 2</div>
@@ -14,7 +14,7 @@ import { verticalLayoutStyles } from './styles/vaadin-vertical-layout-core-style
14
14
  /**
15
15
  * `<vaadin-vertical-layout>` provides a simple way to vertically align your HTML elements.
16
16
  *
17
- * ```
17
+ * ```html
18
18
  * <vaadin-vertical-layout>
19
19
  * <div>Item 1</div>
20
20
  * <div>Item 2</div>
@@ -37,7 +37,7 @@ import { verticalLayoutStyles } from './styles/vaadin-vertical-layout-core-style
37
37
  * @mixes ThemableMixin
38
38
  * @mixes ElementMixin
39
39
  */
40
- class VerticalLayout extends ThemableMixin(ElementMixin(LumoInjectionMixin(PolylitMixin(LitElement)))) {
40
+ class VerticalLayout extends ThemableMixin(ElementMixin(PolylitMixin(LumoInjectionMixin(LitElement)))) {
41
41
  static get is() {
42
42
  return 'vaadin-vertical-layout';
43
43
  }
@@ -46,6 +46,12 @@ class VerticalLayout extends ThemableMixin(ElementMixin(LumoInjectionMixin(Polyl
46
46
  return verticalLayoutStyles;
47
47
  }
48
48
 
49
+ static get lumoInjector() {
50
+ return {
51
+ includeBaseStyles: true,
52
+ };
53
+ }
54
+
49
55
  /** @protected */
50
56
  render() {
51
57
  return html`<slot></slot>`;
package/web-types.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/vertical-layout",
4
- "version": "25.0.0-alpha6",
4
+ "version": "25.0.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "vaadin-vertical-layout",
11
- "description": "`<vaadin-vertical-layout>` provides a simple way to vertically align your HTML elements.\n\n```\n<vaadin-vertical-layout>\n <div>Item 1</div>\n <div>Item 2</div>\n</vaadin-vertical-layout>\n```\n\n### Built-in Theme Variations\n\n`<vaadin-vertical-layout>` supports the following theme variations:\n\nTheme variation | Description\n---|---\n`theme=\"margin\"` | Applies the default amount of CSS margin for the host element (specified by the theme)\n`theme=\"padding\"` | Applies the default amount of CSS padding for the host element (specified by the theme)\n`theme=\"spacing\"` | Applies the default amount of CSS margin between items (specified by the theme)\n`theme=\"wrap\"` | Items wrap to the next row when they exceed the layout height",
11
+ "description": "`<vaadin-vertical-layout>` provides a simple way to vertically align your HTML elements.\n\n```html\n<vaadin-vertical-layout>\n <div>Item 1</div>\n <div>Item 2</div>\n</vaadin-vertical-layout>\n```\n\n### Built-in Theme Variations\n\n`<vaadin-vertical-layout>` supports the following theme variations:\n\nTheme variation | Description\n---|---\n`theme=\"margin\"` | Applies the default amount of CSS margin for the host element (specified by the theme)\n`theme=\"padding\"` | Applies the default amount of CSS padding for the host element (specified by the theme)\n`theme=\"spacing\"` | Applies the default amount of CSS margin between items (specified by the theme)\n`theme=\"wrap\"` | Items wrap to the next row when they exceed the layout height",
12
12
  "attributes": [
13
13
  {
14
14
  "name": "theme",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/vertical-layout",
4
- "version": "25.0.0-alpha6",
4
+ "version": "25.0.0-alpha8",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -16,7 +16,7 @@
16
16
  "elements": [
17
17
  {
18
18
  "name": "vaadin-vertical-layout",
19
- "description": "`<vaadin-vertical-layout>` provides a simple way to vertically align your HTML elements.\n\n```\n<vaadin-vertical-layout>\n <div>Item 1</div>\n <div>Item 2</div>\n</vaadin-vertical-layout>\n```\n\n### Built-in Theme Variations\n\n`<vaadin-vertical-layout>` supports the following theme variations:\n\nTheme variation | Description\n---|---\n`theme=\"margin\"` | Applies the default amount of CSS margin for the host element (specified by the theme)\n`theme=\"padding\"` | Applies the default amount of CSS padding for the host element (specified by the theme)\n`theme=\"spacing\"` | Applies the default amount of CSS margin between items (specified by the theme)\n`theme=\"wrap\"` | Items wrap to the next row when they exceed the layout height",
19
+ "description": "`<vaadin-vertical-layout>` provides a simple way to vertically align your HTML elements.\n\n```html\n<vaadin-vertical-layout>\n <div>Item 1</div>\n <div>Item 2</div>\n</vaadin-vertical-layout>\n```\n\n### Built-in Theme Variations\n\n`<vaadin-vertical-layout>` supports the following theme variations:\n\nTheme variation | Description\n---|---\n`theme=\"margin\"` | Applies the default amount of CSS margin for the host element (specified by the theme)\n`theme=\"padding\"` | Applies the default amount of CSS padding for the host element (specified by the theme)\n`theme=\"spacing\"` | Applies the default amount of CSS margin between items (specified by the theme)\n`theme=\"wrap\"` | Items wrap to the next row when they exceed the layout height",
20
20
  "extension": true,
21
21
  "attributes": []
22
22
  }