1.6.0 • Published 5 days ago

@widergy/mobile-ui v1.6.0

Weekly downloads
181
License
MIT
Repository
github
Last release
5 days ago

mobile-ui

Widergy mobile team components

Build Status semantic-release

A suitcase of commonly used cross-project UI Components

logo

Usage

  1. react-native-vector-icons is needed as a peer dependency. Please, follow react-native-vector-icons installation guide before installing mobile-ui.
  2. yarn add @widergy/mobile-ui.
  3. There also three other native modules dependencies react-native-image-resizer, react-native-image-picker and react-native-document-picker which you will have to link after installing. To do so, the command react-native link <package-name> should suffice. If not, refer to each library documentation.

Theming

To configure the theming of your app, you must add the ThemeProvider high in your component tree. Check the docs here

import { ThemeProvider } from '@widergy/mobile-ui';

const theme = {
    colors: {
        effect: 'red'
    }
};

const App = () => (
    <ThemeProvider theme={theme}>
      {/** your code here **/}
    </ThemeProvider>
)

export default App;

Features

  • utils: Useful commonly used js functions.
    • scaleUtils: Scaling functions and dimension constants. Check the docs here.
    • platformUtils: Constants related to device platform. Check the docs here.
  • components: Common mobile team components
    • Touchable: A component that provides the capability to capture tapping gestures and displays native feedback when a gesture is recognized. Check the docs here.
    • Icon: Render an icon using react-native-vector-icons. Check the docs here.
    • IconButton: : Render an icon using react-native-vector-icons, wrapped by Touchable. Check the docs here.
    • ActivityIndicator: Displays a loading indicator. Check the docs here.
    • Snackbar: Shows a bottom bar to display notifications. Check the docs here.
    • RadioGroup: Simple and easy to use radio buttons, that allows users to select a specific option among an array of options. Check the docs here.
  • HOCs: mobile team commonly used HOCs
    • withLoading: Displays a view with an activity indicator. Check the docs here.

Publish a new version:

Create a new tag, release branch and push it to github using yarn run release $version

A new version is published on npm using bitrise every time we push commits on master. To publish a new version manually, follow the next steps:

  1. npm adduser
  2. npm login
  3. npm publish
1.6.0

5 days ago

1.5.0

10 days ago

1.4.6

13 days ago

1.4.5

13 days ago

1.4.4

17 days ago

1.4.3

20 days ago

1.4.2

20 days ago

1.4.1

1 month ago

1.4.0

1 month ago

1.3.4

2 months ago

1.3.3

2 months ago

1.3.2

2 months ago

1.3.1

2 months ago

1.3.0

2 months ago

1.2.1

2 months ago

0.41.1

2 months ago

1.2.0

2 months ago

1.1.0

2 months ago

0.40.1

3 months ago

0.40.0

6 months ago

0.37.7

9 months ago

1.0.0

6 months ago

0.38.0

9 months ago

0.39.1

9 months ago

0.39.0

9 months ago

0.39.4

6 months ago

0.39.3

8 months ago

0.39.2

8 months ago

0.37.6

10 months ago

0.37.5

11 months ago

0.37.4

11 months ago

0.37.3

1 year ago

0.37.2

1 year ago

0.37.1

1 year ago

0.36.4

1 year ago

0.36.3

1 year ago

0.36.2

1 year ago

0.36.1

1 year ago

0.36.0

1 year ago

0.32.4

2 years ago

0.36.6

1 year ago

0.36.5

1 year ago

0.33.0

2 years ago

0.34.3

2 years ago

0.34.2

2 years ago

0.34.1

2 years ago

0.34.0

2 years ago

0.35.5

2 years ago

0.35.4

2 years ago

0.35.3

2 years ago

0.35.2

2 years ago

0.35.1

2 years ago

0.35.0

2 years ago

0.35.8

1 year ago

0.35.7

1 year ago

0.35.6

2 years ago

0.32.3

2 years ago

0.32.2

2 years ago

0.32.1

2 years ago

0.32.0

2 years ago

0.31.5

2 years ago

0.31.4

2 years ago

0.31.3

2 years ago

0.31.2

3 years ago

0.31.1

3 years ago

0.30.7

3 years ago

0.31.0

3 years ago

0.30.6

3 years ago

0.30.5

3 years ago

0.30.4

3 years ago

0.30.3

3 years ago

0.30.2

3 years ago

0.30.1

3 years ago

0.29.0

3 years ago

0.30.0

3 years ago

0.28.1

3 years ago

0.27.2

3 years ago

0.27.1

3 years ago

0.28.0

3 years ago

0.27.0

3 years ago

0.25.0

3 years ago

0.26.1

3 years ago

0.26.0

3 years ago

0.23.1

3 years ago

0.24.0

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.0

3 years ago

0.20.2

3 years ago

0.20.1

3 years ago

0.20.0

3 years ago

0.19.10

3 years ago

0.19.9

3 years ago

0.19.8

3 years ago

0.19.5

3 years ago

0.19.6

3 years ago

0.19.7

3 years ago

0.19.3

3 years ago

0.19.4

3 years ago

0.19.2

3 years ago

0.19.1

3 years ago

0.19.0

3 years ago

0.18.0

3 years ago

0.17.0

3 years ago

0.17.1

3 years ago

0.16.0

3 years ago

0.15.0

3 years ago

0.15.1

3 years ago

0.13.1

3 years ago

0.14.0

3 years ago

0.13.0

3 years ago

0.12.4

3 years ago

0.12.2

3 years ago

0.12.3

3 years ago

0.12.1

3 years ago

0.12.0

3 years ago

0.11.2

3 years ago

0.11.1

3 years ago

0.11.0

3 years ago

0.10.4

3 years ago

0.10.3

4 years ago

0.10.2

4 years ago

0.10.1

4 years ago

0.10.0

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.5.0

4 years ago

0.6.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.28

4 years ago

0.0.27

4 years ago

0.0.26

4 years ago

0.0.25

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

5 years ago

0.0.18-beta.2

5 years ago

0.0.18-beta.1

5 years ago

0.0.18-beta.0

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago