@edugouvfr/ngx-dsfr
Version:
NgxDsfr est un portage Angular des éléments d'interface du Système de Design de l'État Français (DSFR).
45 lines (44 loc) • 1.56 kB
TypeScript
import { DsfrPanelBackground, DsfrPanelBorder } from './base-panel.model';
/** @deprecated @since 1.5.0 use DsfrPanelBackgroundConst instead */
export declare namespace DsfrCardBackgroundConst {
const DEFAULT = "default";
const GREY = "grey";
const TRANSPARENT = "transparent";
}
/** @deprecated @since 1.5.0 use DsfrPanelBackground instead */
export type DsfrCardBackground = DsfrPanelBackground;
/** @deprecated @since 1.5.0 use DsfrPanelBorderConst instead */
export declare namespace DsfrCardBorderConst {
const DEFAULT = "default";
const NO_BORDER = "no-border";
const SHADOW = "shadow";
}
/** @deprecated @since 1.5.0 use DsfrPanelBorder instead */
export type DsfrCardBorder = DsfrPanelBorder;
export declare namespace DsfrImageFitConst {
const FILL = "fill";
const CONTAIN = "contain";
const COVER = "cover";
const NONE = "none";
const SCALE_DOWN = "scale-down";
}
type TypeImageFit = typeof DsfrImageFitConst;
export type DsfrImageFit = TypeImageFit[keyof TypeImageFit];
export declare namespace DsfrImageRatioConst {
const RATIO_32_9 = "16:9/2";
const RATIO_16_9 = "16:9";
const RATIO_3_2 = "3:2";
const RATIO_4_3 = "4:3";
const RATIO_1_1 = "1:1";
const RATIO_3_4 = "3:4";
const RATIO_2_3 = "2:3";
}
type TypeRatio = typeof DsfrImageRatioConst;
export type DsfrImageRatio = TypeRatio[keyof TypeRatio];
export declare namespace DsfrImageTypeConst {
const IMG = "img";
const SVG = "svg";
}
type K = typeof DsfrImageTypeConst;
export type DsfrImageType = K[keyof K];
export {};