/* * Copyright (c) 2025, Salesforce, Inc. * All rights reserved. * For full license text, see the LICENSE.txt file */ /** * The `lightning/layoutItem` defines content to display within lightning-layout. * @see {@link https://developer.salesforce.com/docs/component-library/bundle/lightning-layout-item/documentation |Lightning Layout Item Documentation} */ declare module "lightning/layoutItem" { import { LightningElement } from "lwc"; /** * Defines content to display within lightning-layout. */ export default class LightningLayoutItem extends LightningElement { /** Make the item fluid so that it absorbs any extra space in its container or shrinks when there is less space. */ flexibility: string; // Allowed values: 'auto', 'shrink', 'no-shrink', 'grow', 'no-grow', 'no-flex' /** Specifies a direction to bump the alignment of adjacent layout items. */ alignmentBump: "left" | "top" | "right" | "bottom"; /** Sets padding to either the right and left sides of a container, or all sides of a container. */ padding: | "horizontal-small" | "horizontal-medium" | "horizontal-large" | "around-small" | "around-medium" | "around-large"; /** If the viewport is divided into 12 parts, size indicates the relative space the container occupies. */ size: number; // 1 through 12 /** If the viewport is divided into 12 parts, this attribute indicates the relative space the container occupies on device-types larger than mobile. */ smallDeviceSize: number; // 1 through 12 /** If the viewport is divided into 12 parts, this attribute indicates the relative space the container occupies on device-types larger than tablet. */ mediumDeviceSize: number; // 1 through 12 /** If the viewport is divided into 12 parts, this attribute indicates the relative space the container occupies on device-types larger than desktop. */ largeDeviceSize: number; // 1 through 12 } }