@vaadin/vertical-layout 24.6.0-alpha8 → 24.6.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/vertical-layout",
|
|
3
|
-
"version": "24.6.0-
|
|
3
|
+
"version": "24.6.0-beta1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@polymer/polymer": "^3.0.0",
|
|
39
|
-
"@vaadin/component-base": "24.6.0-
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "24.6.0-
|
|
41
|
-
"@vaadin/vaadin-material-styles": "24.6.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "24.6.0-
|
|
39
|
+
"@vaadin/component-base": "24.6.0-beta1",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "24.6.0-beta1",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "24.6.0-beta1",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "24.6.0-beta1",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/chai-plugins": "24.6.0-
|
|
46
|
+
"@vaadin/chai-plugins": "24.6.0-beta1",
|
|
47
47
|
"@vaadin/testing-helpers": "^1.0.0"
|
|
48
48
|
},
|
|
49
49
|
"web-types": [
|
|
50
50
|
"web-types.json",
|
|
51
51
|
"web-types.lit.json"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "ab28efb0dcf2cd1ef72100e2e8f32232fa49aacc"
|
|
54
54
|
}
|
|
@@ -25,6 +25,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
|
|
|
25
25
|
* `theme="margin"` | Applies the default amount of CSS margin for the host element (specified by the theme)
|
|
26
26
|
* `theme="padding"` | Applies the default amount of CSS padding for the host element (specified by the theme)
|
|
27
27
|
* `theme="spacing"` | Applies the default amount of CSS margin between items (specified by the theme)
|
|
28
|
+
* `theme="wrap"` | Items wrap to the next row when they exceed the layout height
|
|
28
29
|
*/
|
|
29
30
|
declare class VerticalLayout extends ThemableMixin(ElementMixin(HTMLElement)) {}
|
|
30
31
|
|
|
@@ -27,6 +27,7 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
|
|
|
27
27
|
* `theme="margin"` | Applies the default amount of CSS margin for the host element (specified by the theme)
|
|
28
28
|
* `theme="padding"` | Applies the default amount of CSS padding for the host element (specified by the theme)
|
|
29
29
|
* `theme="spacing"` | Applies the default amount of CSS margin between items (specified by the theme)
|
|
30
|
+
* `theme="wrap"` | Items wrap to the next row when they exceed the layout height
|
|
30
31
|
*
|
|
31
32
|
* @customElement
|
|
32
33
|
* @extends HTMLElement
|
|
@@ -29,6 +29,10 @@ const verticalLayout = css`
|
|
|
29
29
|
:host([theme~='spacing-xl']) {
|
|
30
30
|
gap: var(--lumo-space-xl);
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
:host([theme~='wrap']) {
|
|
34
|
+
flex-wrap: wrap;
|
|
35
|
+
}
|
|
32
36
|
`;
|
|
33
37
|
|
|
34
38
|
registerStyles('vaadin-vertical-layout', verticalLayout, { moduleId: 'lumo-vertical-layout' });
|
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": "24.6.0-
|
|
4
|
+
"version": "24.6.0-beta1",
|
|
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)",
|
|
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",
|
|
12
12
|
"attributes": [
|
|
13
13
|
{
|
|
14
14
|
"name": "theme",
|
package/web-types.lit.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"name": "@vaadin/vertical-layout",
|
|
4
|
-
"version": "24.6.0-
|
|
4
|
+
"version": "24.6.0-beta1",
|
|
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)",
|
|
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",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": []
|
|
22
22
|
}
|