- Migrate workflow off travis to github action
- BREAKING CHANGE Using updated design system components from
@meetup/swarm-components
in swarm-ui
- BREAKING CHANGE Dropping support for React <16.8.0.
- BREAKING CHANGE
closeOnBodyClick
prop forDropdown
component is deprecated. Continue usingmanualToggle
in conjunction withisActive
to manage open/close state of dropdown.
- BREAKING CHANGE
NumberInput
'sonChange
callback will now receive anumber | null
argument, not aSyntheticInputEvent
(or the previous fake event). Consumers should update theironChange
handlers to expect only the number value in the callback, not something like{ target: { name, value } }
.
- New feature
InputTime
component that provides all the display logic of the existingTimeInput
but does not control thevalue
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 thevalue
property or determining whether it should be uncontrolled, and useInputTime
instead
- New feature
Select
component that provides all the display logic of the existingSelectInput
but does not control thevalue
prop - it should be treated as a direct replacement of a vanilla<select>
component. - DEPRECATED
SelectInput
- parent components should be responsible for supplying thevalue
property or determining whether it should be uncontrolled, and useSelect
instead
-
BREAKING CHANGE
CalendarComponent
now works exclusively with js-jodaLocalDate
values. When supplying an optionalvalue
, it must be aLocalDate
, andonChange
callbacks will receive aLocalDate
instance as the first argument.To convert a JS
Date
object to aLocalDate
, useLocalDate.from(nativeJs(input.value));
To convert the
LocalDate
back to a JSDate
object in legacy code, useconvert(localDate).toDate();
Better to just convert your implementation full to js-joda, however. API docs are here
- Change All
GridList
items constrain their width to obey the grid columns
- Change Refactored AccordionPanelGroup not to use deprecated lifecycle methods
componentWillMount
andcomponentWillReceiveProps
. This had a nice side-effect of removing a lot of code and complexity
- Feature Added the ability to set the close area at the top of a Modal to be sticky using the
stickyCloseArea
prop
- Change Reformatted code with Prettier and Stylelint
- BREAKING CHANGE
Nav
component now requiresmedia
, fromconnectWithMatchMedia
, as a prop.
- Visual Change Updated
TogglePill
styles per the design team's specifications. These updates will partially break inmup-web
if the original style overrides are not removed
- Change Replaced
flatpickr
inCalendarComponent
withreact-flatpickr
- Change removed error elements and logic from base form components.
Form components are now wrapped by the new
withErrorList
HOC to handle error rendering
- BREAKING CHANGE Removed the
responsiveVarContext
mixin. Usage must be replaced with thecustomPropertyValue( <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
- Feature
ReduxFormNumberInput
for use with Redux-Form