@vaadin/vertical-layout 25.0.0-beta3 → 25.0.0-beta4
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-
|
|
3
|
+
"version": "25.0.0-beta4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,19 +33,19 @@
|
|
|
33
33
|
"web-component"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@vaadin/component-base": "25.0.0-
|
|
37
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
36
|
+
"@vaadin/component-base": "25.0.0-beta4",
|
|
37
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-beta4",
|
|
38
38
|
"lit": "^3.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
42
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
41
|
+
"@vaadin/chai-plugins": "25.0.0-beta4",
|
|
42
|
+
"@vaadin/test-runner-commands": "25.0.0-beta4",
|
|
43
43
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
44
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
44
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-beta4"
|
|
45
45
|
},
|
|
46
46
|
"web-types": [
|
|
47
47
|
"web-types.json",
|
|
48
48
|
"web-types.lit.json"
|
|
49
49
|
],
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "707c30af7ed0afacc13c0afb27d047b043160d1f"
|
|
51
51
|
}
|
|
@@ -20,12 +20,24 @@ import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mix
|
|
|
20
20
|
*
|
|
21
21
|
* `<vaadin-vertical-layout>` supports the following theme variations:
|
|
22
22
|
*
|
|
23
|
-
* Theme variation
|
|
24
|
-
*
|
|
25
|
-
* `theme="margin"`
|
|
26
|
-
* `theme="padding"`
|
|
27
|
-
* `theme="spacing"`
|
|
28
|
-
* `theme="wrap"`
|
|
23
|
+
* Theme variation | Description
|
|
24
|
+
* -------------------|---------------
|
|
25
|
+
* `theme="margin"` | Applies the default amount of CSS margin for the host element
|
|
26
|
+
* `theme="padding"` | Applies the default amount of CSS padding for the host element
|
|
27
|
+
* `theme="spacing"` | Applies the default amount of CSS margin between items
|
|
28
|
+
* `theme="wrap"` | Items wrap to the next row when they exceed the layout width
|
|
29
|
+
*
|
|
30
|
+
* ### Custom CSS Properties
|
|
31
|
+
*
|
|
32
|
+
* The following custom CSS properties are available for styling:
|
|
33
|
+
*
|
|
34
|
+
* Custom CSS property | Description
|
|
35
|
+
* -----------------------------------|-------------
|
|
36
|
+
* `--vaadin-vertical-layout-margin` | The default CSS margin applied when using `theme="margin"`
|
|
37
|
+
* `--vaadin-vertical-layout-padding` | The default CSS padding applied when using `theme="padding"`
|
|
38
|
+
* `--vaadin-vertical-layout-gap` | The default CSS gap applied when using `theme="spacing"`
|
|
39
|
+
*
|
|
40
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
29
41
|
*/
|
|
30
42
|
declare class VerticalLayout extends ThemableMixin(ElementMixin(HTMLElement)) {}
|
|
31
43
|
|
|
@@ -25,12 +25,24 @@ import { verticalLayoutStyles } from './styles/vaadin-vertical-layout-base-style
|
|
|
25
25
|
*
|
|
26
26
|
* `<vaadin-vertical-layout>` supports the following theme variations:
|
|
27
27
|
*
|
|
28
|
-
* Theme variation
|
|
29
|
-
*
|
|
30
|
-
* `theme="margin"`
|
|
31
|
-
* `theme="padding"`
|
|
32
|
-
* `theme="spacing"`
|
|
33
|
-
* `theme="wrap"`
|
|
28
|
+
* Theme variation | Description
|
|
29
|
+
* -------------------|---------------
|
|
30
|
+
* `theme="margin"` | Applies the default amount of CSS margin for the host element
|
|
31
|
+
* `theme="padding"` | Applies the default amount of CSS padding for the host element
|
|
32
|
+
* `theme="spacing"` | Applies the default amount of CSS margin between items
|
|
33
|
+
* `theme="wrap"` | Items wrap to the next row when they exceed the layout width
|
|
34
|
+
*
|
|
35
|
+
* ### Custom CSS Properties
|
|
36
|
+
*
|
|
37
|
+
* The following custom CSS properties are available for styling:
|
|
38
|
+
*
|
|
39
|
+
* Custom CSS property | Description
|
|
40
|
+
* -----------------------------------|-------------
|
|
41
|
+
* `--vaadin-vertical-layout-margin` | The default CSS margin applied when using `theme="margin"`
|
|
42
|
+
* `--vaadin-vertical-layout-padding` | The default CSS padding applied when using `theme="padding"`
|
|
43
|
+
* `--vaadin-vertical-layout-gap` | The default CSS gap applied when using `theme="spacing"`
|
|
44
|
+
*
|
|
45
|
+
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
34
46
|
*
|
|
35
47
|
* @customElement
|
|
36
48
|
* @extends HTMLElement
|
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-
|
|
4
|
+
"version": "25.0.0-beta4",
|
|
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```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
|
|
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\n`theme=\"padding\"` | Applies the default amount of CSS padding for the host element\n`theme=\"spacing\"` | Applies the default amount of CSS margin between items\n`theme=\"wrap\"` | Items wrap to the next row when they exceed the layout width\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property | Description\n-----------------------------------|-------------\n`--vaadin-vertical-layout-margin` | The default CSS margin applied when using `theme=\"margin\"`\n`--vaadin-vertical-layout-padding` | The default CSS padding applied when using `theme=\"padding\"`\n`--vaadin-vertical-layout-gap` | The default CSS gap applied when using `theme=\"spacing\"`\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
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": "25.0.0-
|
|
4
|
+
"version": "25.0.0-beta4",
|
|
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```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
|
|
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\n`theme=\"padding\"` | Applies the default amount of CSS padding for the host element\n`theme=\"spacing\"` | Applies the default amount of CSS margin between items\n`theme=\"wrap\"` | Items wrap to the next row when they exceed the layout width\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property | Description\n-----------------------------------|-------------\n`--vaadin-vertical-layout-margin` | The default CSS margin applied when using `theme=\"margin\"`\n`--vaadin-vertical-layout-padding` | The default CSS padding applied when using `theme=\"padding\"`\n`--vaadin-vertical-layout-gap` | The default CSS gap applied when using `theme=\"spacing\"`\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
20
20
|
"extension": true,
|
|
21
21
|
"attributes": []
|
|
22
22
|
}
|