@visa/nova-angular
Version:
Visa Product Design System Nova Angular library
63 lines (62 loc) • 2.6 kB
TypeScript
/**
* Copyright (c) 2025 Visa, Inc.
*
* 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.
*
**/
import * as i0 from "@angular/core";
export declare const TypographyType: {
readonly Display1: "display-1";
readonly Display2: "display-2";
readonly Headline1: "headline-1";
readonly Headline2: "headline-2";
readonly Headline3: "headline-3";
readonly Headline4: "headline-4";
readonly Subtitle1: "subtitle-1";
readonly Subtitle2: "subtitle-2";
readonly Subtitle3: "subtitle-3";
readonly Overline: "overline";
readonly Body1: "body-1";
readonly Body2: "body-2";
readonly Body2Bold: "body-2-bold";
readonly Body2Link: "body-2-link";
readonly Body2Medium: "body-2-medium";
readonly Body3: "body-3";
readonly ButtonSmall: "button-small";
readonly ButtonMedium: "button-medium";
readonly ButtonLarge: "button-large";
readonly Label: "label";
readonly LabelSmall: "label-small";
readonly LabelActive: "label-active";
readonly LabelLarge: "label-large";
readonly LabelLargeActive: "label-large-active";
readonly LabelSmallActive: "label-small-active";
};
export type TypographyType = (typeof TypographyType)[keyof typeof TypographyType];
export declare class TypographyDirective {
get hostClasses(): string | void;
/**
* Applies given typography class.
*/
get vTypography(): TypographyType | '' | null;
set vTypography(value: TypographyType | '' | null);
/**
* Applies given typography class. <br>
* Can be used as a more succinct alias for <code>vTypography</code>.
*/
get vFont(): TypographyType | '' | null;
set vFont(value: TypographyType | '' | null);
_vTypography: TypographyType | '' | null;
static ɵfac: i0.ɵɵFactoryDeclaration<TypographyDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<TypographyDirective, "[vTypography], [vFont]", never, { "vTypography": { "alias": "vTypography"; "required": false; }; "vFont": { "alias": "vFont"; "required": false; }; }, {}, never, never, true, never>;
}