/** * @license * Copyright 2023 Aglyn LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ export interface AspectRatioClasses { /** Styles applied to the root element. */ root: string; /** Styles applied to the content element. */ content: string; /** Styles applied to the content element if `color="primary"`. */ colorPrimary: string; /** Styles applied to the content element if `color="neutral"`. */ colorNeutral: string; /** Styles applied to the content element if `color="danger"`. */ colorDanger: string; /** Styles applied to the content element if `color="info"`. */ colorInfo: string; /** Styles applied to the content element if `color="success"`. */ colorSuccess: string; /** Styles applied to the content element if `color="warning"`. */ colorWarning: string; /** Styles applied to the root element when color inversion is triggered. */ colorContext: string; /** Styles applied to the content element if `variant="plain"`. */ variantPlain: string; /** Styles applied to the content element if `variant="outlined"`. */ variantOutlined: string; /** Styles applied to the content element if `variant="soft"`. */ variantSoft: string; /** Styles applied to the content element if `variant="solid"`. */ variantSolid: string; } export type AspectRatioClassKey = keyof AspectRatioClasses; export declare function getAspectRatioUtilityClass(slot: string): string; type AspectRatioOwnerState = { ratio?: number | string; minHeight?: number | string; maxHeight?: number | string; objectFit?: '-moz-initial' | 'contain' | 'cover' | 'fill' | 'inherit' | 'initial' | 'none' | 'revert-layer' | 'revert' | 'scale-down' | 'unset'; variant?: 'outlined' | 'plain' | 'soft' | 'solid' | string; color?: 'danger' | 'info' | 'neutral' | 'primary' | 'success' | 'warning'; }; export interface AspectRatioProps extends AspectRatioOwnerState { children?: JSX.Children; } export declare const AspectRatio: import("react").ForwardRefExoticComponent>; export default AspectRatio;