UNPKG

@aurigma/design-atoms-interfaces

Version:

30 lines (29 loc) 1.31 kB
/** * A structure containing the configuration of preflight warnings. * @example * ```json * { * "violationWarningsSettings": { * "allowSafetyLines": true, * "allowTextCrop": false * } * } * ``` * @public */ export interface IViolationSettings { /** Enables a warning displayed if an item crosses a safety line. The default value is `true`. */ allowSafetyLines?: boolean; /** Enables a warning displayed if an item goes out of a region. The default value is `true`. */ allowRegion?: boolean; /** Enables a warning displayed if an item crosses the bleed area. The default value is `true`. */ allowBleedArea?: boolean; /** Enables a warning displayed if the Asset Manager can import PDF and SVG graphics only with the loss of colors and raster images. The default value is `true`. */ allowShape?: boolean; /** Enables a warning displayed if the text is too long for the bounding rectangle, and some strings are clipped. The default value is `true`. */ allowTextCrop?: boolean; /** Enables a warning displayed if a selected image has a resolution that is too low. */ allowImageQuality?: boolean; /** Enables a warning displayed if selected text has features that are disallowed at in-place editing mode. */ allowInPlaceText?: boolean; }