NoRedInk/noredink-ui/18.2.0

NOTE: the latest version is 35.9.3

Nri.Ui.InputStyles.V3

InputStyles used by the TextInput and TextArea widgets.

label : Theme -> Bool -> Style
type Theme
= ContentCreation
| Standard
| UserGenerated
| Writing
input : Theme -> Style

In order to use these styles in an input module, you will need to add the class "override-sass-styles". This is because sass styles in the monolith have higher precendence than the class styles here.

Shared hardcoded values

errorClass : String
inputClass : String

Changelog

  • patch: expose defaultMarginTop

  • V3: add UserGenerated