@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
127 lines (126 loc) • 2.47 kB
TypeScript
export type DNB = {
readonly tag: 'Colored';
readonly color: string;
} | {
readonly tag: 'Sbanken';
readonly color: string;
};
export declare const DNB: {
Colored: (color: string) => DNB;
Sbanken: (color: string) => DNB;
};
export type Visa = {
readonly tag: 'Colored';
readonly color: string;
} | {
readonly tag: 'Platinum';
};
export declare const Visa: {
Colored: (color: string) => Visa;
Platinum: Visa;
};
export type Mastercard = {
readonly tag: 'Default';
} | {
readonly tag: 'Dark';
};
export declare const Mastercard: {
Default: Mastercard;
Dark: Mastercard;
};
export type CardType = {
readonly tag: 'Visa';
} | {
readonly tag: 'Mastercard';
} | {
readonly tag: 'None';
};
export declare const CardType: {
Visa: CardType;
Mastercard: CardType;
None: CardType;
};
export type BankAxept = {
readonly tag: 'White';
} | {
readonly tag: 'Black';
} | {
readonly tag: 'Gold';
} | {
readonly tag: 'Black20';
} | {
readonly tag: 'Gray';
} | {
readonly tag: 'GrayDark';
};
export declare const BankAxept: {
White: BankAxept;
Black: BankAxept;
Gold: BankAxept;
Black20: BankAxept;
Gray: BankAxept;
GrayDark: BankAxept;
};
export type Saga = {
readonly tag: 'Gold';
} | {
readonly tag: 'Platinum';
} | {
readonly tag: 'None';
};
export declare const Saga: {
Gold: Saga;
Platinum: Saga;
None: Saga;
};
export type PB = {
readonly tag: 'Default';
} | {
readonly tag: 'None';
};
export declare const PB: {
Default: PB;
None: PB;
};
export type ProductType = {
readonly tag: 'Saga';
} | {
readonly tag: 'Pluss';
} | {
readonly tag: 'Intro';
} | {
readonly tag: 'Bedrift';
} | {
readonly tag: 'Business';
} | {
readonly tag: 'PrivateBanking';
} | {
readonly tag: 'Corporate';
} | {
readonly tag: 'WorldElite';
} | {
readonly tag: 'None';
};
export declare const ProductType: {
Saga: ProductType;
Pluss: ProductType;
Intro: ProductType;
Bedrift: ProductType;
Business: ProductType;
PrivateBanking: ProductType;
Corporate: ProductType;
WorldElite: ProductType;
None: ProductType;
};
export type BankAxeptType = {
readonly tag: 'BankAxept';
} | {
readonly tag: 'Credit';
} | {
readonly tag: 'None';
};
export declare const BankAxeptType: {
BankAxept: BankAxeptType;
Credit: BankAxeptType;
None: BankAxeptType;
};