/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import { LitElement } from 'lit'; import { FlexDirection, FlexWrap, FlexJustify, FlexAlign, Gap } from './flex.types.js'; declare const NrFlexElement_base: (new (...args: any[]) => import("@nuralyui/common/mixins").DependencyAware) & (new (...args: any[]) => import("@nuralyui/common/mixins").ThemeAware) & (new (...args: any[]) => import("@nuralyui/common/mixins").EventHandlerCapable) & (new (...args: any[]) => import("packages/common/src/shared/base-mixin.js").LightDomContent) & typeof LitElement; /** * Flex layout component for flexible box layouts * * @example * ```html * * *
Item 1
*
Item 2
*
Item 3
*
* * * *
Item 1
*
Item 2
*
* * * *
Centered content
*
* * * *
Item 1
*
Item 2
*
* * * *
Item 1
*
Item 2
*
* ``` * * @slot default - Flex items * * @csspart flex - The inner div that applies flexbox direction, wrap, justify, align, and gap */ export declare class NrFlexElement extends NrFlexElement_base { static styles: import("lit").CSSResult; static useShadowDom: boolean; /** Flex direction (shorthand: use vertical prop for column) */ direction: FlexDirection; /** Shorthand for flex-direction: column */ vertical: boolean; /** Flex wrap behavior */ wrap: FlexWrap; /** Justify content alignment */ justify: FlexJustify | ''; /** Align items alignment */ align: FlexAlign | ''; /** Gap between flex items - can be preset string, number (px), or [horizontal, vertical] */ gap: Gap; /** Make flex container inline */ inline: boolean; /** Custom flex CSS value (e.g., "1", "auto", "none") */ flex: string | ''; /** * Get computed flex direction */ private getFlexDirection; /** * Convert gap value to CSS value */ private getGapValue; /** * Get gap styles for flex container */ private getGapStyles; /** * Get all inline styles for flex container */ private getFlexStyles; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'nr-flex': NrFlexElement; } } export {}; //# sourceMappingURL=flex.component.d.ts.map