2.0.1 • Published 9 months ago

@amsterdam/bmi-component-library v2.0.1

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
9 months ago

BMI Component Library

A React component library based on Amsterdam Styled Components and Material-UI specifically aimed at repurposing and sharing domain specific components across BMI projects.

NOTE: If you are looking for a component library that is primarily focused on providing you with building blocks which are aligned with the Amsterdam Design System, then take a look at Amsterdam Styled Components instead.

Getting started

To import components from this library you will to at least have followed the ASC Getting Started guide.

There are also a number of components that make use of MUI components. You can follow the Installation guide. Make sure to configure a path in your TS config to create an override for styled-components as documented in the MUI getting started guide (it will render de emotion dependency redundant).

With both ASC en MUI configured you will have your application wrapped in 2 theme providers like so:

import { muiTheme } from '@amsterdam/bmi-component-library';
import { ThemeProvider } from '@amsterdam/asc-ui';
import { ThemeProvider as MUIThemeProvider } from '@mui/material';
import theme from '../theme';

<MUIThemeProvider theme={muiTheme}>
	<ThemeProvider overrides={theme}>
		// ... styled ASC/MUI components
	</ThemeProvider>
</MUIThemeProvider>

Unit tests

Unit tests are done with Jest and @testing-library/react.

To run the unit tests:

npm run test

Storybook

To run storybook:

npm run start
2.0.0-alpha.7

9 months ago

2.0.0-alpha.3

9 months ago

2.0.0-alpha.4

9 months ago

2.0.0-alpha.5

9 months ago

2.0.0-alpha.6

9 months ago

2.0.0-alpha.0

9 months ago

2.0.0-alpha.1

9 months ago

2.0.0-alpha.2

9 months ago

2.0.1

9 months ago

2.0.0

9 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.2-alpha.0

2 years ago

0.0.12-alpha.9

2 years ago

0.0.12-alpha.10

2 years ago

0.0.12-alpha.8

2 years ago

0.0.12-alpha.3

2 years ago

0.0.12-alpha.2

2 years ago

0.0.12-alpha.1

2 years ago

0.0.12-alpha.0

2 years ago

0.0.10

2 years ago

0.0.12-alpha.7

2 years ago

0.0.11

2 years ago

0.0.12-alpha.6

2 years ago

0.0.12-alpha.5

2 years ago

0.0.12-alpha.4

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.7-alpha.1

2 years ago

0.0.7-alpha.0

2 years ago

0.0.7-alpha.3

2 years ago

0.0.7-alpha.2

2 years ago

0.0.5-alpha.5

2 years ago

0.0.6

2 years ago

0.0.5-alpha.3

3 years ago

0.0.5-alpha.4

3 years ago

0.0.5-alpha.2

3 years ago

0.0.5-alpha.1

3 years ago

0.0.5-alpha.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.3-alpha.1

3 years ago

0.0.3-alpha.0

3 years ago

0.0.2

3 years ago

0.0.1-alpha.2

3 years ago

0.0.1-alpha.0

3 years ago

0.0.1-alpha.1

3 years ago

0.0.0

3 years ago

0.0.2-canary.8

3 years ago

0.0.2-canary.0

3 years ago