NoRedInk/noredink-ui/27.12.1

NOTE: the latest version is 35.9.3

Nri.Ui.InputStyles.V4

Changes from V3

- Remove ContentCreation theme

Patch changes

  • expose defaultMarginTop

Changes from V2

  • adds UserGenerated

InputStyles used by the TextInput and TextArea widgets.

label : Theme -> Bool -> Style
type Theme
= 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

Modules