Skip to content

Releases: tweag/inputs

v0.5.0

10 Sep 19:42
36be071

Choose a tag to compare

This version removes aria-labelledby from inputs because it is not necessary.

v0.4.3-beta.1

30 Sep 18:01

Choose a tag to compare

Add seconds to ISO time values.

v0.4.3

01 Oct 20:09

Choose a tag to compare

See v0.4.3-beta.0 and v0.4.3-beta.1

v0.4.3-beta.0

19 Sep 16:21

Choose a tag to compare

Allow <Select /> to accept null values and enums.

v0.4.2

17 Aug 18:02

Choose a tag to compare

Relaxes version requirement for @stackup/form

v0.4.1

14 Aug 19:51
09c566e

Choose a tag to compare

Components now accept a render function that will allow you to customize the rendering of your inputs.

v0.4.0

14 Aug 17:19
4f375b5

Choose a tag to compare

Add prepend and append to the context for theming.

v0.3.1

12 Aug 05:33

Choose a tag to compare

Bump @stackup/form requirement to v0.2.0.

v0.3.0

05 Aug 15:43
8506d44

Choose a tag to compare

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>

v0.2.0-alpha.1

02 Aug 18:32

Choose a tag to compare

Remove unnecessary concat