@mindly/ui-components 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.tsx CHANGED
@@ -4,6 +4,6 @@ import FloatingButton from './floating-button/floatingButton';
4
4
  import FooterForBooking from './footer-for-booking/FooterForBooking';
5
5
  import ListButton from './list-button/listButton';
6
6
  import NavigationBar from './navigation-bar/NavigationBar';
7
- import {TabBar} from './tab-bar/tabBar';
7
+ import TabBar from './tab-bar/tabBar';
8
8
 
9
9
  export {Button, ConsultationCard, FloatingButton, FooterForBooking, ListButton, NavigationBar, TabBar};
@@ -2,7 +2,7 @@ import styled from 'styled-components';
2
2
  import {IonTabBar} from '@ionic/react';
3
3
 
4
4
  interface ContainerProps {
5
- isIos: boolean
5
+ isIos: boolean
6
6
  }
7
7
 
8
8
  export const Container = styled(IonTabBar)<ContainerProps>`
@@ -3,7 +3,7 @@ import {IonTabButton, IonIcon, IonLabel, IonBadge, isPlatform} from '@ionic/reac
3
3
  import {calendar, personCircle, map, informationCircle} from 'ionicons/icons';
4
4
  import {Container} from './tabBar.style';
5
5
 
6
- export const TabBar: React.FC = () => (
6
+ const TabBar: React.FC = () => (
7
7
  <>
8
8
  <Container isIos={isPlatform('ios')} slot="bottom">
9
9
  <IonTabButton tab="schedule">
@@ -29,3 +29,5 @@ export const TabBar: React.FC = () => (
29
29
  </Container>
30
30
  </>
31
31
  );
32
+
33
+ export default TabBar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "@babel/polyfill": "^7.12.1",
@@ -14,7 +14,25 @@
14
14
  "@types/react": "^17.0.19",
15
15
  "@types/react-dom": "^17.0.9",
16
16
  "auto": "^10.32.0",
17
- "cross-env": "^7.0.3",
17
+ "react": "^17.0.2",
18
+ "react-dom": "^17.0.2",
19
+ "react-scripts": "4.0.3",
20
+ "styled-components": "^5.3.1",
21
+ "web-vitals": "^1.1.2"
22
+ },
23
+
24
+ "peerDependencies": {
25
+ "@babel/polyfill": "^7.12.1",
26
+ "@ionic/react": "^5.8.0",
27
+ "@ionic/react-router": "^5.8.0",
28
+ "@testing-library/jest-dom": "^5.14.1",
29
+ "@testing-library/react": "^11.2.7",
30
+ "@testing-library/user-event": "^12.8.3",
31
+ "@types/jest": "^26.0.24",
32
+ "@types/node": "^12.20.21",
33
+ "@types/react": "^17.0.19",
34
+ "@types/react-dom": "^17.0.9",
35
+ "auto": "^10.32.0",
18
36
  "react": "^17.0.2",
19
37
  "react-dom": "^17.0.2",
20
38
  "react-scripts": "4.0.3",
@@ -23,7 +41,8 @@
23
41
  },
24
42
  "scripts": {
25
43
  "start": "react-scripts start",
26
- "build": "rm -rf dist && NODE_ENV=production babel src/lib --out-dir dist --copy-files",
44
+ "clean": "rimraf dist",
45
+ "build": "npm run clean && cross-env NODE_ENV=production babel src/lib --out-dir dist --copy-files --ignore __tests__,spec.ts,test.ts,stories.ts,__snapshots__",
27
46
  "test": "react-scripts test",
28
47
  "eject": "react-scripts eject"
29
48
  },
@@ -82,6 +101,7 @@
82
101
  "@types/styled-components": "^5.1.13",
83
102
  "@typescript-eslint/parser": "^4.30.0",
84
103
  "babel-cli": "^6.26.0",
104
+ "cross-env": "^7.0.3",
85
105
  "eslint": "^7.32.0",
86
106
  "eslint-config-google": "^0.14.0",
87
107
  "typescript": "^4.4.2"