Skip to content

Releases: tweag/inputs

v0.5.0

Choose a tag to compare

@rzane rzane released this 10 Sep 19:42
36be071

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

v0.4.3-beta.1

Choose a tag to compare

@rzane rzane released this 30 Sep 18:01

Add seconds to ISO time values.

v0.4.3

Choose a tag to compare

@rzane rzane released this 01 Oct 20:09

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

v0.4.3-beta.0

Choose a tag to compare

@rzane rzane released this 19 Sep 16:21

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

v0.4.2

Choose a tag to compare

@rzane rzane released this 17 Aug 18:02

Relaxes version requirement for @stackup/form

v0.4.1

Choose a tag to compare

@rzane rzane released this 14 Aug 19:51
09c566e

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

v0.4.0

Choose a tag to compare

@rzane rzane released this 14 Aug 17:19
4f375b5

Add prepend and append to the context for theming.

v0.3.1

Choose a tag to compare

@rzane rzane released this 12 Aug 05:33

Bump @stackup/form requirement to v0.2.0.

v0.3.0

Choose a tag to compare

@rzane rzane released this 05 Aug 15:43
8506d44

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

Choose a tag to compare

@rzane rzane released this 02 Aug 18:32
Remove unnecessary concat