@vaadin/horizontal-layout 25.1.0-alpha5 → 25.1.0-alpha7
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/custom-elements.json +100 -0
- package/package.json +10 -8
- package/src/vaadin-horizontal-layout.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"readme": "",
|
|
4
|
+
"modules": [
|
|
5
|
+
{
|
|
6
|
+
"kind": "javascript-module",
|
|
7
|
+
"path": "vaadin-horizontal-layout.js",
|
|
8
|
+
"declarations": [],
|
|
9
|
+
"exports": [
|
|
10
|
+
{
|
|
11
|
+
"kind": "js",
|
|
12
|
+
"name": "*",
|
|
13
|
+
"declaration": {
|
|
14
|
+
"name": "*",
|
|
15
|
+
"module": "src/vaadin-horizontal-layout.js"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"kind": "javascript-module",
|
|
22
|
+
"path": "src/vaadin-horizontal-layout-mixin.js",
|
|
23
|
+
"declarations": [
|
|
24
|
+
{
|
|
25
|
+
"kind": "mixin",
|
|
26
|
+
"description": "",
|
|
27
|
+
"name": "HorizontalLayoutMixin",
|
|
28
|
+
"members": [],
|
|
29
|
+
"parameters": [
|
|
30
|
+
{
|
|
31
|
+
"name": "superClass"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"exports": [
|
|
37
|
+
{
|
|
38
|
+
"kind": "js",
|
|
39
|
+
"name": "HorizontalLayoutMixin",
|
|
40
|
+
"declaration": {
|
|
41
|
+
"name": "HorizontalLayoutMixin",
|
|
42
|
+
"module": "src/vaadin-horizontal-layout-mixin.js"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"kind": "javascript-module",
|
|
49
|
+
"path": "src/vaadin-horizontal-layout.js",
|
|
50
|
+
"declarations": [
|
|
51
|
+
{
|
|
52
|
+
"kind": "class",
|
|
53
|
+
"description": "`<vaadin-horizontal-layout>` provides a simple way to horizontally align your HTML elements.\n\n```html\n<vaadin-horizontal-layout>\n <div>Item 1</div>\n <div>Item 2</div>\n</vaadin-horizontal-layout>\n```\n\n### Built-in Theme Variations\n\n`<vaadin-horizontal-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### Component's slots\n\nThe following slots are available to be set:\n\nSlot name | Description\n-------------------|---------------\nno name | Default slot\n`middle` | Slot for the content placed in the middle\n`end` | Slot for the content placed at the end\n\n### Custom CSS Properties\n\nThe following custom CSS properties are available for styling:\n\nCustom CSS property | Description\n-------------------------------------|-------------\n`--vaadin-horizontal-layout-margin` | The default CSS margin applied when using `theme=\"margin\"`\n`--vaadin-horizontal-layout-padding` | The default CSS padding applied when using `theme=\"padding\"`\n`--vaadin-horizontal-layout-gap` | The default CSS gap applied when using `theme=\"spacing\"`\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
54
|
+
"name": "HorizontalLayout",
|
|
55
|
+
"members": [],
|
|
56
|
+
"mixins": [
|
|
57
|
+
{
|
|
58
|
+
"name": "HorizontalLayoutMixin",
|
|
59
|
+
"module": "src/vaadin-horizontal-layout-mixin.js"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "ThemableMixin",
|
|
63
|
+
"package": "@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "ElementMixin",
|
|
67
|
+
"package": "@vaadin/component-base/src/element-mixin.js"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "PolylitMixin",
|
|
71
|
+
"package": "@vaadin/component-base/src/polylit-mixin.js"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "LumoInjectionMixin",
|
|
75
|
+
"package": "@vaadin/vaadin-themable-mixin/lumo-injection-mixin.js"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"superclass": {
|
|
79
|
+
"name": "LitElement",
|
|
80
|
+
"package": "lit"
|
|
81
|
+
},
|
|
82
|
+
"tagName": "vaadin-horizontal-layout",
|
|
83
|
+
"customElement": true,
|
|
84
|
+
"attributes": [],
|
|
85
|
+
"events": []
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"exports": [
|
|
89
|
+
{
|
|
90
|
+
"kind": "js",
|
|
91
|
+
"name": "HorizontalLayout",
|
|
92
|
+
"declaration": {
|
|
93
|
+
"name": "HorizontalLayout",
|
|
94
|
+
"module": "src/vaadin-horizontal-layout.js"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/horizontal-layout",
|
|
3
|
-
"version": "25.1.0-
|
|
3
|
+
"version": "25.1.0-alpha7",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"src",
|
|
24
24
|
"vaadin-*.d.ts",
|
|
25
25
|
"vaadin-*.js",
|
|
26
|
+
"custom-elements.json",
|
|
26
27
|
"web-types.json",
|
|
27
28
|
"web-types.lit.json"
|
|
28
29
|
],
|
|
@@ -34,20 +35,21 @@
|
|
|
34
35
|
],
|
|
35
36
|
"dependencies": {
|
|
36
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
|
-
"@vaadin/component-base": "25.1.0-
|
|
38
|
-
"@vaadin/vaadin-themable-mixin": "25.1.0-
|
|
38
|
+
"@vaadin/component-base": "25.1.0-alpha7",
|
|
39
|
+
"@vaadin/vaadin-themable-mixin": "25.1.0-alpha7",
|
|
39
40
|
"lit": "^3.0.0"
|
|
40
41
|
},
|
|
41
42
|
"devDependencies": {
|
|
42
|
-
"@vaadin/aura": "25.1.0-
|
|
43
|
-
"@vaadin/chai-plugins": "25.1.0-
|
|
44
|
-
"@vaadin/test-runner-commands": "25.1.0-
|
|
43
|
+
"@vaadin/aura": "25.1.0-alpha7",
|
|
44
|
+
"@vaadin/chai-plugins": "25.1.0-alpha7",
|
|
45
|
+
"@vaadin/test-runner-commands": "25.1.0-alpha7",
|
|
45
46
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
46
|
-
"@vaadin/vaadin-lumo-styles": "25.1.0-
|
|
47
|
+
"@vaadin/vaadin-lumo-styles": "25.1.0-alpha7"
|
|
47
48
|
},
|
|
49
|
+
"customElements": "custom-elements.json",
|
|
48
50
|
"web-types": [
|
|
49
51
|
"web-types.json",
|
|
50
52
|
"web-types.lit.json"
|
|
51
53
|
],
|
|
52
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "98c586125f769c8fefd307536965293668fda81d"
|
|
53
55
|
}
|
|
@@ -55,7 +55,7 @@ import { HorizontalLayoutMixin } from './vaadin-horizontal-layout-mixin.js';
|
|
|
55
55
|
*
|
|
56
56
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
57
57
|
*
|
|
58
|
-
* @customElement
|
|
58
|
+
* @customElement vaadin-horizontal-layout
|
|
59
59
|
* @extends HTMLElement
|
|
60
60
|
* @mixes ThemableMixin
|
|
61
61
|
* @mixes ElementMixin
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED