3.0.0 • Published 3 years ago

@cley_faye/react-bulma v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@cley_faye/react-bulma

Making React component to leverage the Bulma.io framework. Done as an exercise to learn both, not production ready!

Requirements

This library expect your project to understand ESM files. There's a dependency on core-js@3 for Babel transpiling.

Usage

You can import directly part of the library:

import Box from "@cley_faye/react-bulma/dist/element/box";

ReactDOM.render(<Box>
  Hello
</Box>,
appElem);

Compatibility

The built files target the following browserstring: "last 2 version, > 1%, not dead" using Babel. The files doesn't require extra conversion; no JSX is present in the built files.

Bugs and inconsistencies

Probably a lot. This is a work in progress.

Form input fields

Input (checkbox, input, textarea and select) are designed to "cooperate" with a controller component that holds all their value in its own state. This can be achieved in two ways:

  • provide a controller prop to each input, along with a name property that matches the state property they refer to
  • enclose all inputs with <Controller controller={this}> in the component that holds all the states.

Alternatively, it is possible to simply use onChange on inputs to do things by hand.

2.0.0

3 years ago

3.0.0

3 years ago

0.5.13

4 years ago

0.5.12

4 years ago

0.5.10

4 years ago

0.5.11

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.3

5 years ago

0.1.2-dev

5 years ago