Global styles on theme
You can now add global styles with theme.globalStyles
,
this way you will be able to share these styles between different environments (for example, Next.js application and Storybook):
Checkbox, Radio and Switch improvements
Checkbox, Radio and Switch
components now support error
, description
and labelPosition
props:
LabelPosition
Color
Radius
xs
sm
md
lg
xl
Size
xs
sm
md
lg
xl
Inverted Slider
Slider and RangeSlider components now support inverted
prop:
Inline Tooltip and Popover
Tooltip and Popover components now can be used with inline elements:
Stantler’s magnificent antlers were traded at high prices as works of art. As a result, this Pokémon was hunted close to extinction by those who were after the priceless antlers. When visiting a junkyard, you may catch sight of it having an intense fight with Murkrow over shiny objects.Ho-Oh’s feathers glow in seven colors depending on the angle at which they are struck by light. These feathers are said to bring happiness to the bearers. This Pokémon is said to live at the foot of a rainbow.
Stantler’s magnificent antlers were traded at high prices as works of art. As a result, this Pokémon was hunted close to extinction by those who were after the priceless antlers. When visiting a junkyard, you may catch sight of it having an intense fight with Murkrow over shiny objects.Ho-Oh’s feathers glow in seven colors depending on the angle at which they are struck by light. These feathers are said to bring happiness to the bearers. This Pokémon is said to live at the foot of a rainbow.
Autosize Modal
Modal component now supports size="auto"
:
Indeterminate Checkbox
Checkbox indeterminate
state now has separate styles for checked and unchecked states:
form.setValues partial
form.setValues
can now be used to set multiple values at once, payload will be shallow merged with current values state:
Documentation updates
- Polymorphic components now display
polymorphic
badge next to component name (see Text as reference) - New Usage with Storybook guide
- New Usage with TypeScript guide
Other changes
- Table component now supports
withBorder
andwithColumnBorders
props - NumberInput component now supports
removeTrailingZeros
prop - Popover and Menu components now support
disabled
prop - nprogress now supports new
completeNavigationProgress
handler