12.0.3 • Published 5 years ago

mtsbankui v12.0.3

Weekly downloads
8
License
MPL-2.0
Repository
github
Last release
5 years ago

MTS Bank Logo

Uikit and design guidelines

Installation

npm add mtsbankui

*Aye, capt'n, there's add command in our npm!

Dot env

To start up create an .env file in project's root whit this prerequisites:

PORT=666
DOCZ_PORT=667
APP_ID=mtsb_docz

Getting set up

To start using the components, please follow these steps:

  • Wrap your application in a styled-components <ThemeProvider> and provide it with theme:
import { ThemeProvider } from 'styled-components'
import { theme } from 'mtsbankui'

const Root = () => <ThemeProvider theme={theme}><App/></ThemeProvider>
  • Then start using components. You can access theme from props:
import { Button } from 'mtsbankui'

const App = (props) => <Button style={{color: props.theme.colors.pink}}>PRESS ME!</Button>
  • Or just import it straight from the lib to avoid bloat:
import { Button, theme } from 'mtsbankui'
import styled from 'styled-components'

const App = (props) => <StyledButton>PRESS ME!</StyledButton>

const StyledButton = styled(Button)`
    color: ${theme.colors.pink};
`
// instead of
// const StyledButton = styled(Button)`
//    color: ${({ theme }) => theme.colors.pink};
//`

After work is done

Write a conventional commit with:

npm run commit

Regular git commit with simple message wont cut it, resulting in error of commitlint

Changelog

Authors

  • MTS Bank Frontend team

License

This project is licensed under the Mozilla Public License Version 2.0 - see the LICENSE.md file for details

12.0.3

5 years ago

12.0.1

5 years ago

12.0.0

5 years ago

11.0.2

5 years ago

11.0.1

5 years ago

11.0.0

5 years ago

10.0.0

5 years ago

9.0.0

5 years ago

8.21.0

5 years ago

8.20.0

5 years ago

8.19.0

5 years ago

8.18.1

5 years ago

8.18.0

5 years ago

8.17.0

5 years ago

8.16.1

5 years ago

8.16.0

5 years ago

8.15.1

5 years ago

8.15.0

5 years ago

8.14.1

5 years ago

8.14.0

5 years ago

8.13.0

5 years ago

8.12.8

5 years ago

8.12.7

5 years ago

8.12.6

5 years ago

8.12.5

5 years ago

8.12.4

5 years ago

8.12.3

5 years ago

8.12.2

5 years ago

8.12.1

5 years ago

8.12.0

5 years ago

8.11.1

5 years ago

8.11.0

5 years ago

8.10.2

5 years ago

8.10.1

5 years ago

8.10.0

5 years ago

8.9.0

5 years ago

8.8.2

5 years ago

8.8.1

5 years ago

8.8.0

5 years ago

8.7.2

5 years ago

8.7.1

5 years ago

8.7.0

5 years ago

8.6.1

5 years ago

8.6.0

5 years ago

8.5.3

5 years ago

8.5.2

5 years ago

8.5.1

5 years ago

8.5.0

5 years ago

8.4.8

5 years ago

8.4.7

5 years ago

8.4.6

5 years ago

8.4.5

5 years ago

8.4.4

5 years ago

8.4.3

5 years ago

8.4.2

5 years ago

8.4.1

5 years ago

8.4.0

5 years ago

8.3.1

5 years ago

8.3.0

5 years ago

8.2.0

5 years ago

8.1.2

5 years ago

8.1.1

5 years ago

8.1.0

5 years ago

8.0.5

5 years ago

8.0.4

5 years ago

8.0.3

5 years ago

8.0.2

5 years ago

8.0.1

5 years ago

8.0.0

5 years ago

7.0.0

5 years ago

6.4.0

5 years ago

6.3.0

5 years ago

6.2.0

5 years ago

6.1.2

5 years ago

6.1.1

5 years ago

6.1.0

5 years ago

6.0.4

5 years ago

6.0.3

5 years ago

6.0.2

5 years ago

6.0.1

5 years ago

5.1.2

5 years ago

5.1.1

5 years ago

5.1.0

5 years ago

5.0.0

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.3.0

5 years ago

0.2.5

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago