Field is a molecule-level component used as a centralised way to create controls. The consumers should use this component when form controls are required.
SD
Refactor current Form element into Field component using this code for reference.
Update SCSS for all Form control atoms to use a set of ct-field-* variables instead of per-control variables: this will centralise how these look and feel is controlled from CSS. Use additional variables for specific controls if required. Use this code for reference (note that the variables there are name-spaced incorrectly).
Update component to correctly use all updated atom components + update storybook.
Update component to use new helpers instead of using its own and decommission existing helpers.
See epic: https://github.com/civictheme/uikit/issues/121
Field
is a molecule-level component used as a centralised way to create controls. The consumers should use this component when form controls are required.SD
Form element
intoField
component using this code for reference.ct-field-*
variables instead of per-control variables: this will centralise how these look and feel is controlled from CSS. Use additional variables for specific controls if required. Use this code for reference (note that the variables there are name-spaced incorrectly).