Skip to content

1.4.0

Compare
Choose a tag to compare
@sawyerh sawyerh released this 09 Nov 14:39

🚀 Added

  • Added a requirementLabel prop to the FormLabel component
  • Added fieldRef prop to the TextField React component to expose a ref on the input/textarea element #171
  • Added max and min props to TextField component. #183
  • Add ds-c-alert--hide-icon CSS class and hideIcon React prop to hide Alert component's icon #182, #187

    image

  • Added a checkedChildren and uncheckedChildren prop to the Choice component. These props conditionally display content below the Choice field when the field is checked or unchecked, respectively. #173

    checkedchildren

  • Added ds-l-form-row to provide tighter spacing on form fields laid out using grid classes #180

    image

  • Added ds-l-col--auto to allow grid columns to span their content's natural width (useful for form fields) #180

    image

  • Added DateField CSS and React component #183

💅 Changes

  • Removed .ds-c-field--select. We instead look at whether ds-c-field is added to a select element instead. #179

🛠 Fixed

Before After
image image
  • Added padding to the select element so that text doesn't overlap with the icon when the field's width is set to auto #179

    image