Skip to content

Latest commit

 

History

History
111 lines (71 loc) · 4.05 KB

CHANGELOG.md

File metadata and controls

111 lines (71 loc) · 4.05 KB

[8.1]

  • Migrate workflow off travis to github action

[8.0]

  • BREAKING CHANGE Using updated design system components from @meetup/swarm-components in swarm-ui

[7.0]

  • BREAKING CHANGE Dropping support for React <16.8.0.

[6.1]

  • BREAKING CHANGE closeOnBodyClick prop for Dropdown component is deprecated. Continue using manualToggle in conjunction with isActive to manage open/close state of dropdown.

[6.0]

  • BREAKING CHANGE NumberInput's onChange callback will now receive a number | null argument, not a SyntheticInputEvent (or the previous fake event). Consumers should update their onChange handlers to expect only the number value in the callback, not something like { target: { name, value } }.

[5.2]

  • New feature InputTime component that provides all the display logic of the existing TimeInput but does not control the value prop - it should be treated as a direct replacement of a vanilla <input type="time"> component.
  • DEPRECATED TimeInput - parent components should be responsible for supplying the value property or determining whether it should be uncontrolled, and use InputTime instead

[5.1]

  • New feature Select component that provides all the display logic of the existing SelectInput but does not control the value prop - it should be treated as a direct replacement of a vanilla <select> component.
  • DEPRECATED SelectInput - parent components should be responsible for supplying the value property or determining whether it should be uncontrolled, and use Select instead

[5.0]

  • BREAKING CHANGE CalendarComponent now works exclusively with js-joda LocalDate values. When supplying an optional value, it must be a LocalDate, and onChange callbacks will receive a LocalDate instance as the first argument.

    To convert a JS Date object to a LocalDate, use

    LocalDate.from(nativeJs(input.value));

    To convert the LocalDate back to a JS Date object in legacy code, use

    convert(localDate).toDate();

    Better to just convert your implementation full to js-joda, however. API docs are here

[4.13]

  • Change All GridList items constrain their width to obey the grid columns

[4.12]

  • Change Refactored AccordionPanelGroup not to use deprecated lifecycle methods componentWillMount and componentWillReceiveProps. This had a nice side-effect of removing a lot of code and complexity

[4.11]

  • Feature Added the ability to set the close area at the top of a Modal to be sticky using the stickyCloseArea prop

[4.10]

  • Change Reformatted code with Prettier and Stylelint

[4.9]

  • BREAKING CHANGE Nav component now requires media, from connectWithMatchMedia, as a prop.

[4.7]

  • Visual Change Updated TogglePill styles per the design team's specifications. These updates will partially break in mup-web if the original style overrides are not removed

[4.5]

  • Change Replaced flatpickr in CalendarComponent with react-flatpickr

[4.4]

  • Change removed error elements and logic from base form components. Form components are now wrapped by the new withErrorList HOC to handle error rendering

[4.3]

  • BREAKING CHANGE Removed the responsiveVarContext mixin. Usage must be replaced with the customPropertyValue( <property>, var(--responsiveSpace), $space) mixin. - Example usage of customPropertyValue - customPropertyValue documentation
  • Change Upgraded to a version of swarm-sasstools where we replace responsive sizing/spacing mixins with CSS custom properties

[3.3]

  • Feature ReduxFormNumberInput for use with Redux-Form