@cas-smartdesign/field-validation-message
v7.0.10
Published
An inline message box with some predefined modes
Readme
@cas-smartdesign/field-validation-message
This tiny element can be used to add inline validation message for "field" elements with a SmartDesign look and feel.
This element must be used together with the design tokens of SmartDesign. For an independent application, make sure to include the @cas-smartdesign/design-tokens package. For a web app / web widget, refer to the official documentation about design token usage.
CSS Custom Properties
--sd-field-validation-message-warn-color- The color to be used when showing a warning message
--sd-field-validation-message-suggest-color- The color to be used when showing a suggest message
--sd-field-validation-message-error-color- The color to be used when showing a error message
Requirements
The main entry point requires ES6 & support for Custom Elements v1
