You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
💥 Breaking changes:
ThemeProvider changes name to HalstackProvider, in preparation for receiving not just themes, but also additional configuration that applies globally.
New component Radio Group.
Old Radio component will remain as deprecated during one release before being discontinued.
Button and Text Input components don't send the event parameter to the onClick callback prop.
Textarea and Text Input components' length prop gets replaced by minLength and maxLength props.
onBlur and onChange callback props receive the error parameter as undefined instead of null, when there is no validation error. This change affects Textarea, Select, Date, Text Input, Number Input, and Password components.
Functionality change in how input components handle the error prop:
null or undefined means there is no error in the input.
An empty string also means there is no error, but the component will keep that space in case an error comes up later. This helps avoiding layout shifting and facilitates aligning multiple fields when only some of them have error.
Non-empty strings display the error as usual.
required property has been removed from checkbox and switch components. Instead of using required, use the new optional property in the optional fields.
Changes in the responsive breakpoint values that affect multiple components.
Removed deprecated iconSrc from Button, Toggle Group, Footer, Tabs, Wizard, Tag, Accordion, Accordion Group, Dropdown and Link.
Removed deprecated prefixIconSrc and suffixIconSrc from Chip.
Previously deprecated components are removed in this release.
✨ New features:
Added TypeScript definitions to all components' props.
Added defaultValue prop to the input components that can be used as uncontrolled.
(Experimental) New layout primitive components (stack, row, bleed, inset).