Releases: tweag/inputs
Releases · tweag/inputs
Release list
v0.5.0
v0.4.3-beta.1
Add seconds to ISO time values.
v0.4.3
v0.4.3-beta.0
Allow <Select /> to accept null values and enums.
v0.4.2
v0.4.1
v0.4.0
v0.3.1
v0.3.0
With this release, elements won't have any class names by default. In order to apply default class names to elements, you'll need to create a theme.
const theme = createTheme({
field: props => {
return concat(
"field",
props.touched && props.error && "field--invalid",
...props.types.map(type => `field--${type}`),
...props.variants.map(variant => variant && `field--${variant}`)
);
}
});
<ThemeProvider value={theme}>
<App />
</ThemeProvider>