/** * @license * Copyright (c) 2017 - 2026 Vaadin Ltd. * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/ */ import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js'; import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; /** * `` provides a simple way to vertically align your HTML elements. * * ```html * *
Item 1
*
Item 2
*
* ``` * * ### Built-in Theme Variations * * `` supports the following theme variations: * * Theme variation | Description * -------------------|--------------- * `theme="margin"` | Applies the default amount of CSS margin for the host element * `theme="padding"` | Applies the default amount of CSS padding for the host element * `theme="spacing"` | Applies the default amount of CSS margin between items * `theme="wrap"` | Items wrap to the next row when they exceed the layout width * * ### Custom CSS Properties * * The following custom CSS properties are available for styling: * * Custom CSS property | Description * -----------------------------------|------------- * `--vaadin-vertical-layout-margin` | The default CSS margin applied when using `theme="margin"` * `--vaadin-vertical-layout-padding` | The default CSS padding applied when using `theme="padding"` * `--vaadin-vertical-layout-gap` | The default CSS gap applied when using `theme="spacing"` * * See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation. */ declare class VerticalLayout extends ThemableMixin(ElementMixin(HTMLElement)) {} declare global { interface HTMLElementTagNameMap { 'vaadin-vertical-layout': VerticalLayout; } } export { VerticalLayout };