UNPKG

@carbon/ibm-products-web-components

Version:
38 lines 1.3 kB
/** * @license * * Copyright IBM Corp. 2025 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { LitElement } from 'lit'; import './big-number-skeleton'; import { BigNumberSizeValues } from './constants'; /** * @element c4p-big-number * @slot label - Header area that displays the label above the value. This slot can be customized to include an info icon and a tooltip for additional context. * @slot trending-icon - Displays an icon indicating trend direction. Can be customized to show a downward arrow when the trend is not upward. * @slot icon-button - Displays an icon button next to `value`. */ declare class CDSBigNumber extends LitElement { fractionDigits: number; label: string | undefined; loading: boolean; locale: string; percentage: boolean; size: BigNumberSizeValues; total?: number; trending: boolean; truncate: boolean; value?: number; private _getSupportedLocale; private _formatValue; private _getTruncatedValue; private _shouldDisplayDenominator; private _getTrendingIcon; render(): import("lit-html").TemplateResult<1>; static styles: any; } export default CDSBigNumber; //# sourceMappingURL=big-number.d.ts.map